/* ═══════════════════════════════════════════════════════════
   common.css — 공통 스타일 (디자인 토큰 + 기본 스타일 + 공통 부품)
   - 색·간격·반경은 아래 :root 의 CSS 변수만 쓴다. (값을 직접 적지 않는다)
   - 단위는 62.5% rem 기법: html 글자 크기를 10px 로 맞춰 1rem = 10px.
   - 빌드 도구 없이 이 파일을 그대로 <link> 로 불러 쓴다.
   ═══════════════════════════════════════════════════════════ */

/* 프리텐다드 웹폰트: 폐쇄망에서도 보이도록 ../fonts/ 의 파일을 직접 쓴다(외부 CDN 을 쓰지 않는다). 라이선스 SIL OFL 1.1 (fonts/LICENSE-Pretendard.txt)
   쓰는 굵기: 400 보통 · 500 중간 · 600 약간 굵게 · 700 굵게 */
@font-face { font-family: "Pretendard"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/Pretendard-Regular.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/Pretendard-Medium.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/Pretendard-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/Pretendard-Bold.woff2") format("woff2"); }


/* ═══════════════════════════════════════════════════════════
   디자인 토큰 (CSS 변수)
   ═══════════════════════════════════════════════════════════ */
/* ───────────────────────────────────────────────────────────── */
/* 디자인 토큰 (CSS 변수) */
/* 색·간격·반경·높이는 컴포넌트에서 값을 직접 쓰지 않고 이 변수만 쓴다. */
/* 런타임에 바뀔 수 있는 값(테마)은 CSS 변수, 컴파일 타임 도구(믹스인)는 _mixins.scss 로 나눈다. */
/* 색은 설계서에 "홈 활성=빨강 / 방문 보관=짙은 회색" 정도만 있어 임시값이다. 디자인 확정 시 여기만 고친다. */
/* ───────────────────────────────────────────────────────────── */
:root {
  /* Figma(스토리지_원본.fig) 디자인 시스템 확정 색상 */
  --c-primary: #DA291C; /* primary/red/50 */
  --c-primary-hover: #B8000E; /* primary/red/60 */
  --c-primary-dark: #8A000B; /* primary/red/70 */
  --c-primary-light: #FEF2F3; /* primary/red/10 (에러/포인트 배경) */

  --c-primary-card: #E4493D; /* 이용 중 스토리지 카드 상단 띠 (피그마 전체메뉴) */
  --c-primary-badge: #E60012; /* 스토리지 카드 유닛 뱃지 글자·테두리 */
  --c-naver: #03C75A; /* 네이버 로그인 버튼 바탕 */
  --c-kakao: #FEE500; /* 카카오 로그인 버튼 바탕 */
  --c-footer-text: #F3F1F0; /* Footer 글자 */
  --c-footer-point: #D8C19F; /* Footer 강조 링크 */
  --c-footer-line: #6C5E54; /* Footer 구분선 */
  --c-gray-50: #6E7172; /* 보조 설명·안내 글자 (피그마 gray/50) */
  --c-brown: #877669; /* 안내 아이콘·글자, 추천 뱃지 배경 */
  --c-gray-45: #76797B; /* 보조 안내 글자(첨부 안내·개수) */
  --c-search-bg: #F3F1F0; /* 검색 입력칸 바탕(연한 갈색 회색) */
  --c-brown-dark: #6C5E54; /* 갈색 짙은 글자(고객지원 날짜·답변 글) */
  --c-brown-line: #CFC8C3; /* 갈색 계열 연한 선·대기 칩 테두리 */
  --c-brown-soft: #E7E4E1; /* 갈색 계열 연한 배경(대기 칩) */
  --c-chip-line: #E2E2E2; /* 상태 칩 테두리 */
  --c-required: #ED3030; /* 필수 안내 글자 */
  --c-primary-line: #FFC5C5; /* 할인·안내 뱃지 테두리 */
  --c-chip: #F3F3F3; /* 칩·썸네일 배경 */
  --c-line-strong: #A1A4A5; /* 로그아웃 같은 작은 버튼 테두리 */
  --c-dark: #323536; /* gray/80 (본문 짙은 회색) */
  --c-text: #111212; /* gray/90 (헤드라인, 기본 텍스트) */
  --c-ink: #222324; /* 가입 완료 본문·2차 버튼 선·글자 */
  --c-text-70: #434648; /* 안내 문구·3차 버튼 글자 (2026-11-10 시안 갱신) */
  --c-sub: #54585A; /* gray/60 (서브텍스트, 플레이스홀더) */
  --c-disabled: #989B9C; /* gray/40 (비활성 텍스트) */
  --c-line-mid: #BBBCBD; /* 칩·캐러셀 개수·연한 선 버튼의 중간 회색 선 */
  --c-line: #DDDEDE; /* gray/30 (기본 구분선, 테두리) */
  --c-line-light: #EEEEEE; /* gray/20 (연한 구분선) */
  --c-bg: #FFFFFF; /* gray/0  (기본 배경) */
  --c-gray-bg: #F4F4F4; /* gray/10 (섹션 배경, 카드 배경) */
  --c-dim: rgba(0, 0, 0, 0.5); /* 팝업 뒤 딤드 배경 */
  --c-card-text: #333333; /* PC 메인 상담 카드 글자 */

  /* 상태 색상 (시스템 토큰) */
  --c-danger: #EB3341; /* system/danger/50 */
  --c-danger-bg: #FEF2F3;
  --c-warn: #EC8839; /* system/warning/50 */
  --c-warn-light: #FBF7F3; /* 주황 계열 연한 배경 (선택 가이드·배지 L/point, 2026-11-16 시안 갱신) */
  --c-warn-line: #F7CFB0; /* 주황 계열 연한 테두리 */
  --c-notice-bg: #FAEFE7; /* 안내 배너(원형 아이콘 + 글) 배경, 2026-11-16 시안 */
  --c-primary-border: #F599A0; /* 합계 박스 등 붉은 연한 테두리(primary/red/30) */
  --c-bg-soft: #FCFCFC; /* 단계 화면 바탕(gray/5) */
  --c-warn-bg: #FFF7ED;
  --c-warn-line: #FDBA74;
  --c-info: #2768FF; /* system/info/50 */
  --c-info-bg: #E9F0FD;
  --c-success: #008A1E; /* system/success/50 */
  --c-success-bg: #E6F5E8;
  --c-review: #7E22CE; /* 검수 상태 */
  --c-review-bg: #F3E8FF;

  /* 레이아웃 규격 (62.5% rem 표준: 1rem = 10px) */
  --w-mobile-min: 32rem; /* 모바일 최소 지원 너비 (320px) */
  --w-mobile: 36rem; /* 모바일 디자인 작업 기준 너비 (360px) */
  --w-mobile-margin: 2rem; /* 모바일 좌우 고정 여백 (20px) */
  --sp-margin: 2rem; /* 본문 좌우 여백 기본값 (20px) */

  --bp-desktop: 1024px; /* PC/모바일 전환점 (미디어쿼리용 1024px) */
  --w-pc: 128rem; /* PC 기준 너비 (1280px) */
  --w-pc-content: 118rem; /* PC 센터 정렬 콘텐츠 너비 (1180px) */

  --w-modal: 32rem; /* 다이얼로그/팝업 기본 너비 (320px) */

  /* 기본 폰트 크기 규격 */
  --font-size-base: 1.6rem; /* 기본 바디 글자 크기 (16px = 1.6rem) */
  --font-size-input: 1.6rem; /* 인풋 글자 크기 (16px = 1.6rem, 사파리 줌 방지) */

  /* 간격 토큰 (1rem = 10px) */
  --sp-1: 0.4rem; /* 4px */
  --sp-2: 0.8rem; /* 8px */
  --sp-3: 1.2rem; /* 12px */
  --sp-4: 1.6rem; /* 16px */
  --sp-5: 2rem; /* 20px */
  --sp-6: 2.4rem; /* 24px */
  --sp-7: 3.2rem; /* 32px */
  --sp-8: 4rem; /* 40px */

  /* 모서리 반경 (Radius) */
  --radius-xs: 0.4rem; /* 4px */
  --radius-sm: 0.6rem; /* 6px */
  --radius-md: 1rem; /* 10px */
  --radius-lg: 1.4rem; /* 14px */
  --radius-xl: 1.8rem; /* 18px */
  --radius-pill: 99.9rem;

  /* 공통 레이아웃 높이 */
  --h-header: 6rem; /* 60px (피그마 Header) */
  --h-bottom: 6.9rem; /* 69px (피그마 Tab bars 인스턴스: 위 선 1 + 버튼 68) */

  /* 겹침 순서 (Z-index) */
  --z-bar: 4;
  --z-overlay: 100;
  --z-modal: 200;
  --z-toast: 300;
}


/* ═══════════════════════════════════════════════════════════
   전역 기본 스타일
   ═══════════════════════════════════════════════════════════ */
/**
 * PC 전용 스타일 적용 믹스인 (1024px 이상)
 */
/**
 * PC 센터 정렬 콘텐츠 래퍼 믹스인 (1180px 고정 너비)
 */
/**
 * 모바일 전용 스타일 적용 믹스인 (1024px 미만)
 */
/**
 * 모바일 20px 좌우 고정 패딩 믹스인 (콘텐츠 100% 가변)
 */
/**
 * 지정한 폭 이하 미디어쿼리
 * @param $key breakpoints 맵 키
 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}
@media (max-width: 359.98px) {
  html {
    font-size: 55.55%;
  }
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: var(--font-size-base, 1.6rem);
  color: var(--c-text);
  background: var(--c-gray-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  letter-spacing: -0.02rem;
}

/* 링크 기본값 초기화(2026-11-19): a 에 href 가 붙어도 브라우저 기본 파랑·밑줄이 나오지 않게 함 */
a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: var(--font-size-input, 1.6rem);
}

.page {
  padding-left: var(--w-mobile-margin, 2rem);
  padding-right: var(--w-mobile-margin, 2rem);
  width: 100%;
  padding-top: var(--sp-6);
  padding-bottom: var(--sp-8);
}


/* 아이콘(SVG)은 줄어들지 않게 하고 글자 옆에 정렬 */
svg.icon { flex: none; vertical-align: middle; }
/* 아이콘 자리표시 <i data-icon>: 안에 icons.js 가 SVG 를 채운다. 자리표시 자신은 상자를 만들지 않는다(레이아웃은 SVG 기준) */
[data-icon] { display: contents; }

/* ═══════════════════════════════════════════════════════════
   공통 레이아웃 틀 (.wrap 안에 Header · .container(본문) · Footer · 하단 액션바 · 팝업)
   ═══════════════════════════════════════════════════════════ */
.wrap {
  display: flex;
  flex-direction: column;
  /* 본문이 짧아도 하단바가 화면 아래에 붙도록 최소 높이를 창 높이로 */
  min-height: 100vh;
  background: var(--c-bg);
}
/* 화면마다 코딩하는 자리. 남는 높이를 모두 차지한다 */
.container {
  flex: 1;
}

/* 탭 패널: hidden 이면 어떤 display 규칙이 있어도 숨긴다 */
[data-tab-panel][hidden] { display: none !important; }

/* 계약 유무 분기: 주소에 ?contract=none 이 있으면 <html> 에 no-contract 가 붙어 "계약 없음" 배너가 보인다 */
.no-contract .has-contract { display: none; }
html:not(.no-contract) .no-contract-only { display: none; }

/* 로그인 전/후 분기: <html> 에 is-login 이 붙으면(주소 ?login=1) 로그인 후 영역만 보인다.
   화면 파일은 둘로 나누지 않고 한 파일 안에서 .only-login / .only-logout 으로 나눠 적는다. */
/* 한 화면의 두 상태(예: 가입 완료 ↔ 이미 가입된 회원): 주소 ?state=dup 이 <html> 에 state-dup 을 붙인다 */
html:not(.state-dup) .only-dup { display: none; }
.state-dup .only-done { display: none; }
html:not(.is-login) .only-login { display: none; }
.is-login .only-logout { display: none; }


/* ═══════════════════════════════════════════════════════════
   버튼
   ═══════════════════════════════════════════════════════════ */
.btn {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  background: var(--c-bg);
  color: var(--c-text);
}
.btn:hover {
  background: var(--c-gray-bg);
}
.btn-sm {
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
}
.btn-md {
  height: 4.4rem;
  padding: 0 var(--sp-4);
  font-size: 1.4rem;
}
.btn-lg {
  height: 5.2rem;
  padding: 0 var(--sp-5);
  font-size: 1.5rem;
}
.btn-block {
  display: flex;
  width: 100%;
}
.btn-primary, .btn-primary:hover {
  border-color: var(--c-primary);
  background: var(--c-primary);
  color: #fff;
}
.btn-dark, .btn-dark:hover {
  border-color: var(--c-text);
  background: var(--c-text);
  color: #fff;
}


/* ═══════════════════════════════════════════════════════════
   상태 칩
   ═══════════════════════════════════════════════════════════ */
.chip {
  display: inline-block;
  padding: 0.2rem var(--sp-2);
  border-radius: var(--radius-pill);
  background: var(--c-gray-bg);
  color: var(--c-sub);
  font-size: 1.1rem;
  line-height: 1.5;
}
.chip-info {
  background: var(--c-info-bg);
  color: var(--c-info);
}
.chip-success {
  background: var(--c-success-bg);
  color: var(--c-success);
}
.chip-warn {
  background: var(--c-warn-bg);
  color: var(--c-warn);
}
.chip-review {
  background: var(--c-review-bg);
  color: var(--c-review);
}


/* ═══════════════════════════════════════════════════════════
   Header
   ═══════════════════════════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-bar);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  height: var(--h-header);
  padding: 0 var(--sp-2) 0 var(--w-mobile-margin, 2rem);
  border-bottom: 1px solid var(--c-line-light);
  background: var(--c-bg);
}
.header-simple {
  justify-content: center;
  padding: 0 var(--w-mobile-margin, 2rem);
}
.header-logo {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
}
.header-logo img,
.header-logo svg {
  display: block;
  height: 2rem;
  width: auto;
}
.header-title {
  margin: 0 0 0 0.2rem;
  font-size: 1.6rem;
  font-weight: 700;
}
/* 메인처럼 이미지 위에 겹치는 헤더: 투명, 흰 글자 (.wrap 이 기준) */
.wrap { position: relative; }
.header-over {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 0;
  background: transparent;
  color: #fff;
}
/* 서브 화면 헤더: 높이 55 (상품·전체메뉴 화면) */
.header-compact { height: 5.5rem; }
/* 전체메뉴 보기 화면 헤더(로고 + 닫기): 아래 선 없음 (시안 메뉴열림) */
.header-menu { border-bottom: 0; }
.header-spacer {
  flex: 1;
}
.header-icon {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
}


/* ═══════════════════════════════════════════════════════════
   하단 액션바
   ═══════════════════════════════════════════════════════════ */
.bottom-nav {
  position: sticky;
  bottom: 0;
  z-index: var(--z-bar);
  display: flex;
  height: var(--h-bottom);
  border-top: 1px solid var(--c-line-light);
  background: var(--c-bg);
}
.bottom-nav-item {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 1.6rem;
  gap: var(--sp-1);
  font-size: 1.2rem;
  line-height: 1.2; /* 시안: 글자 줄 높이 1.2 (아이콘 아래 4 에서 시작) */
  letter-spacing: -1px; /* 시안: 자간 -1px */
  color: var(--c-dark); /* 글자는 #323536 (선택돼도 같음) */
}
/* 시안: 아이콘 그림이 24 칸 안에서 3 아래에 그려져 있다 (글자 위치는 그대로) */
.bottom-nav-item svg { margin-top: 0.3rem; margin-bottom: -0.3rem; }
/* 선택된 탭은 아이콘만 빨강 #E60012 (피그마 Tab bars) */
.bottom-nav-item.active svg {
  color: var(--c-primary-badge);
}


/* ═══════════════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════════════ */
.footer {
  padding: 6rem var(--w-mobile-margin, 2rem);
  background: var(--c-dark);
  color: var(--c-footer-text);
}
/* 모바일: 로고줄 → 링크 → 회사 정보 → SNS → 저작권을 세로로 쌓는다 (간격 로고↔링크 30, 링크↔회사 28, 회사↔SNS 28, SNS↔저작권 30) */
.footer-inner { display: flex; flex-direction: column; gap: 2.8rem; }
.footer-top,
.footer-bottom { display: flex; flex-direction: column; gap: 3rem; }
/* 모바일 전용/PC 전용 글자 (같은 자리에 두 가지 문구가 다를 때) */
.only-pc { display: none; }
.footer-company b { font-weight: inherit; }
/* 모바일에서는 Footer 를 숨기는 화면(로그인·회원가입 등)도 PC 시안에는 Footer 가 있다 → PC 에서만 보인다 */
.footer-pc-only { display: none; }
.footer p {
  margin: 0;
}
/* 로고 줄: 롯데물산 CI(104x36) + STORY.G BI(96x16), 간격 14 */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.footer-ci { display: block; width: 10.4rem; height: 3.6rem; filter: brightness(0) invert(1); } /* 빨간 CI 를 흰색으로 */
.footer-bi { display: block; width: 9.6rem; height: 1.6rem; }
/* 약관 링크 줄: 16px, 링크 사이 세로 구분선 */
.footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.6rem;
  line-height: 2.1rem;
}
.footer-links a {
  color: var(--c-footer-text);
  font-weight: 400;
  text-decoration: none;
}
.footer-links a:first-child { font-weight: 500; }
.footer-links a.point {
  color: var(--c-footer-point);
  font-weight: 600;
}
.footer-links i {
  width: 1px;
  height: 1.2rem;
  background: var(--c-footer-line);
}
/* 회사 정보: 14px, 줄 사이 6px */
.footer-company {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 1.4rem;
  line-height: 2.2rem;
}
/* SNS: 흰 동그라미 34 세 개, 간격 10 */
.footer-sns { display: flex; gap: 1rem; }
.footer-sns a { display: block; width: 3.4rem; height: 3.4rem; }
.footer-sns img,
.footer-sns svg { display: block; width: 100%; height: 100%; }
.footer-copy {
  font-size: 1.4rem;
  line-height: 2rem;
}

/* ═══════════════════════════════════════════════════════════
   오버레이 공통 (어두운 배경 + 패널). 전체메뉴(.popup-full)·상담시트(.popup-bottom)·얼럿(.popup-center)
   ═══════════════════════════════════════════════════════════ */
/* 닫힌 상태: 보이지 않고 클릭도 받지 않는다. 열리면 .is-open 이 붙는다 */
.popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  background: var(--c-dim);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s, visibility 0.2s;
}
.popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.popup-right,
.popup-full { justify-content: flex-end; }
.popup-bottom { align-items: flex-end; }
.popup-center { align-items: center; justify-content: center; padding: var(--sp-6); }

.popup-panel {
  background: var(--c-bg);
  transition: transform 0.2s;
}
.popup-right .popup-panel { width: 86%; height: 100%; }
.popup-full .popup-panel { width: 100%; height: 100%; }
.popup-bottom .popup-panel { width: 100%; border-radius: 2rem 2rem 0 0; }
.popup-center .popup-panel { width: 100%; max-width: var(--w-modal, 32rem); border-radius: var(--radius-lg); }

/* 닫혀 있을 때 패널의 위치 (열리면 제자리로 이동하며 나타난다) */
.popup-right .popup-panel,
.popup-full .popup-panel { transform: translateX(100%); }
.popup-bottom .popup-panel { transform: translateY(100%); }
.popup-center .popup-panel { transform: scale(0.95); }
.popup.is-open .popup-panel { transform: none; }
/* 전체메뉴는 화면을 다 덮는 패널이라 배경 페이드를 빼고 옆에서 밀려 들어오기만 한다 */
.popup-full,
.popup-full.is-open { opacity: 1; }
.popup-full { visibility: hidden; }
.popup-full.is-open { visibility: visible; }
.popup-full .popup-panel { transition: transform 0.25s ease; }


/* ═══════════════════════════════════════════════════════════
   전체메뉴
   ═══════════════════════════════════════════════════════════ */
.all-menu {
  height: 100%;
  overflow-y: auto;
  background: var(--c-line-light);
  letter-spacing: -0.02em;
}
.all-menu-bar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--h-header);
  padding: 0 var(--sp-5);
  background: var(--c-bg);
}
.all-menu-logo { display: block; height: 2rem; width: auto; }
.all-menu-icon {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  color: var(--c-text);
}
.all-menu-close {
  margin-left: auto;
}
.all-menu-title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-text);
}
.all-menu-top {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-6) 0;
  background: var(--c-bg);
}
.all-menu-user {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 3.8rem;
  padding: 0 var(--sp-5);
}
.all-menu-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 50%;
  overflow: hidden; /* 프로필 사진을 넣어도 원 밖으로 안 삐져나오게 */
  background: var(--c-gray-bg);
  color: var(--c-disabled);
}
/* 프로필 사진(<img>)을 넣으면 원을 꽉 채운다. 기본 아이콘(<i>)일 때는 해당 없음 */
.all-menu-profile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.all-menu-name {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 1.6rem;
  line-height: 2.4rem;
  color: var(--c-dark);
  text-align: left;
  cursor: pointer;
}
.all-menu-name b {
  font-weight: 600;
  color: var(--c-text);
}
.all-menu-logout {
  margin-left: auto;
  width: 9.7rem;
  height: 3.8rem;
  padding: 0;
  border: 1px solid var(--c-sub);
  border-radius: var(--radius-xs);
  background: var(--c-bg);
  font: inherit;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 2.4rem;
  color: var(--c-text-70);
  cursor: pointer;
}
.all-menu-login {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--c-text);
}
.all-menu-card-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
}
/* 계약 카드 슬라이드(.slider): 틀은 영역 전체 폭, 카드는 한 장 안에서 좌우 16 띄워 가운데 */
.all-menu-slider {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  width: 100%;
}
.all-menu-card {
  width: calc(100% - 3.2rem);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 1.2rem;
}
.all-menu-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.8rem;
  padding: 0 var(--sp-5);
  background: var(--c-primary-hover);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
}
.all-menu-badge {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  width: 11.6rem;
  height: 2.2rem;
  padding: 0 0.8rem;
  border-radius: var(--radius-xs);
  background: #fff;
  color: var(--c-primary-badge);
}
/* 동·유닛 글자 칸: 52 / 36, 가운데 정렬 (시안) */
.all-menu-badge span { text-align: center; }
.all-menu-badge span:first-child { width: 5.2rem; }
.all-menu-badge span:last-child { width: 3.6rem; }
.all-menu-badge i {
  display: none; /* 시안 새 파일: A-103 · XXS 사이 구분선 없음 */
}
.all-menu-card-body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin: 0;
  padding: var(--sp-5);
  background: var(--c-primary);
  color: #fff;
  font-size: 1.6rem;
}
.all-menu-card-body > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  line-height: 2.7rem;
}
.all-menu-card-body dt {
  font-weight: 400;
}
.all-menu-card-body dd {
  margin: 0;
  font-weight: 500;
}
.all-menu-remain {
  font-weight: 600 !important;
}
/* ── 드롭다운(셀렉트 박스 + 열리는 목록, 시안 Dropdown / Dropdown/open) ──
   닫힘: 높이 50 · 선 #DDDEDE · 안내 글자 gray/40 · 오른쪽 화살표 20.
   열림: 선·글자 #434648, 화살표가 위로 뒤집힘. 목록은 박스 아래 8 간격으로 겹쳐 뜸(선 #434648, 반경 4, 안쪽 위아래 20·좌우 12, 항목 24 · 간격 9). */
.dropdown { position: relative; }
.dropdown-box {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2);
  width: 100%; height: 5rem; padding: 0 1.2rem 0 1.3rem;
  border: 1px solid var(--c-line); border-radius: var(--radius-xs);
  background: var(--c-bg); font: inherit; font-size: 1.6rem; color: var(--c-disabled); text-align: left; cursor: pointer;
}
.dropdown-value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dropdown-box i { display: flex; flex: none; transition: transform 0.15s; }
.dropdown.selected .dropdown-box { color: var(--c-text); }
.dropdown.open .dropdown-box { border-color: var(--c-text-70); color: var(--c-text-70); }
.dropdown.open .dropdown-box i { transform: rotate(180deg); }
.dropdown-list {
  display: none; position: absolute; z-index: 20; top: calc(100% + 0.8rem); left: 0; right: 0;
  flex-direction: column; gap: 0.9rem; margin: 0; padding: 2rem 1.2rem;
  list-style: none; border: 1px solid var(--c-text-70); border-radius: var(--radius-xs);
  background: var(--c-bg); box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.08);
}
.dropdown.open .dropdown-list { display: flex; scroll-margin-bottom: 11rem; } /* 2026-11-20 하단 고정 버튼 줄(약 90) 위로 보이게 */
.dropdown-option { display: block; width: 100%; padding: 0; border: 0; background: none; font: inherit; font-size: 1.6rem; line-height: 2.4rem; color: var(--c-text-70); text-align: left; cursor: pointer; }
.dropdown-option.on { font-weight: 600; color: var(--c-text); }

/* ══════════════════════════════════════════════════════════
   공통 컴포넌트 (시안 "0.2 컴포넌트", 2026-11-13)
   입력(Textarea·Date input)·Stepper·Infobox·Tag·Pagination·Breadcrumb·Step indicator·Calendar·
   Carousel(숫자·화살표)·Contextual help·Link. 색·간격은 :root 변수만 쓰고 레이아웃은 Flexbox 만 쓴다.
   ══════════════════════════════════════════════════════════ */

/* ── 폼 공통(Textarea·Date input): 레이블 → 입력 → 안내/오류/글자수 ── */
.form-item { display: flex; flex-direction: column; gap: var(--sp-2); }
.form-label { margin: 0; font-size: 1.4rem; font-weight: 500; line-height: 2rem; color: var(--c-text); }
.form-label .req { color: var(--c-primary-badge); }
.form-hint { margin: 0; font-size: 1.4rem; line-height: 2rem; color: #877669; } /* 안내 문구(Hint) */
/* 한 줄 입력(Date input 포함): 기본 = Medium 높이 50·글자 16 / .form-input-lg = Large 높이 56·글자 18 (2026-11-18 시안 확인: 이전엔 Large 5rem·Medium 4rem 으로 잘못 적혀 있었음), 기본·포커스·오류·비활성 */
.form-input-wrap { position: relative; display: block; }
.form-input {
  display: block;
  width: 100%;
  height: 5rem;
  padding: 0 1.2rem;
  border: 1px solid var(--c-line); /* 2026-11-18 시안: 기본 테두리 #989B9C → #DDDEDE */
  border-radius: var(--radius-xs);
  background: var(--c-bg);
  font: inherit;
  font-size: 1.6rem;
  color: var(--c-text);
}
.form-input-lg { height: 5.6rem; font-size: 1.8rem; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--c-disabled); }
.form-input:focus, .form-textarea:focus { border-color: var(--c-text-70); outline: 0; }
.form-input.is-error, .form-textarea.is-error { border-color: #ED3030; }
.form-input:disabled, .form-textarea:disabled { border-color: var(--c-disabled); background: var(--c-line); color: var(--c-sub); }
.form-input-wrap .form-input { padding-right: 4.4rem; }
.form-input-wrap i, .form-input-wrap .icon { position: absolute; top: 50%; right: 1.2rem; transform: translateY(-50%); pointer-events: none; }
/* 여러 줄 입력 */
.form-textarea {
  display: block;
  width: 100%;
  height: 14.4rem;
  padding: 1.2rem;
  border: 1px solid var(--c-line); /* 2026-11-18 시안: 기본 테두리 #989B9C → #DDDEDE */
  border-radius: var(--radius-xs);
  background: var(--c-bg);
  font: inherit;
  font-size: 1.6rem;
  line-height: 2.4rem;
  color: var(--c-text);
  resize: none;
}
/* 아래줄: 오류 문구(왼쪽) + 글자수(오른쪽) */
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); min-height: 2rem; }
.form-foot[hidden], .form-error[hidden] { display: none; } /* 오류 문구는 처음엔 숨겨 두고 개발에서 hidden 을 뗀다 */
.form-error { display: flex; align-items: center; gap: var(--sp-1); margin: 0; font-size: 1.4rem; line-height: 1.8rem; color: #ED3030; }
.form-counter { margin-left: auto; font-size: 1.4rem; line-height: 2rem; color: var(--c-sub); }
.form-counter b { font-weight: 400; color: #000; }
.form-item.is-error .form-counter b { color: #ED3030; }

/* ── Stepper(수량 - / +): Medium 4.6rem · Small 3.8rem, 최소/최대에서 해당 버튼 비활성 ── */
.stepper { display: inline-flex; border: 1px solid var(--c-line); border-radius: var(--radius-xs); background: var(--c-bg); }
.stepper-btn, .stepper-num { display: flex; align-items: center; justify-content: center; width: 4.6rem; height: 4.6rem; padding: 0; background: var(--c-bg); }
.stepper-btn { position: relative; border: 0; border-radius: 0; color: var(--c-text); cursor: pointer; }
.stepper-btn[data-step="minus"] { border-right: 1px solid var(--c-line); }
.stepper-btn[data-step="plus"] { border-left: 1px solid var(--c-line); }
.stepper-btn::before, .stepper-btn[data-step="plus"]::after { content: ''; position: absolute; top: 50%; left: 50%; width: 1rem; height: 0.2rem; border-radius: 1rem; background: currentColor; transform: translate(-50%, -50%); }
.stepper-btn[data-step="plus"]::after { transform: translate(-50%, -50%) rotate(90deg); }
.stepper-btn:disabled { color: var(--c-disabled); cursor: default; }
.stepper-num { border: 0; font: inherit; font-size: 1.6rem; color: var(--c-text); text-align: center; }
.stepper:not(.stepper-sm) .stepper-btn { box-sizing: content-box; } /* 2026-11-18 시안: Medium 은 가운데 칸 46 + 양쪽 버튼 46 + 구분선 1 → 전체 142 */
.stepper-sm .stepper-btn, .stepper-sm .stepper-num { width: 3.8rem; height: 3.8rem; }
.stepper-sm .stepper-num { font-size: 1.3rem; }

/* ── Infobox(안내 상자): 상태 info(회갈 아이콘)·warning(붉은 점) × 구성 text / title+text / title+list ── */
/* 시안(Figma)은 테두리를 안쪽으로 계산하므로 안쪽 여백 16 = 테두리 1 + 여백 15 (전체 높이를 시안과 맞춤, 2026-11-18) */
.infobox { display: flex; align-items: flex-start; gap: var(--sp-2); padding: 1.5rem; border: 1px solid var(--c-line); border-radius: var(--radius-xs); background: var(--c-bg); font-size: 1.4rem; line-height: 2rem; color: var(--c-dark); }
.infobox-icon { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 2rem; height: 2rem; color: #877669; }
.infobox-warning .infobox-icon { color: var(--c-primary-badge); }
.infobox-body { display: flex; flex: 1; flex-direction: column; gap: var(--sp-2); min-width: 0; }
.infobox-title { margin: 0; font-size: 1.6rem; font-weight: 600; line-height: 2rem; color: var(--c-text); } /* 2026-11-16 시안: 제목 줄 높이 24 → 20 */
.infobox-title-row { display: flex; align-items: center; gap: var(--sp-2); }
.infobox-text { margin: 0; color: var(--c-text-70); }
.infobox-list { display: flex; flex-direction: column; gap: var(--sp-2); margin: 0; padding: 0; list-style: none; color: var(--c-text-70); }
.infobox-list li { display: flex; align-items: flex-start; gap: var(--sp-2); }
.infobox-list li::before { content: ''; flex-shrink: 0; width: 0.2rem; height: 0.2rem; margin-top: 0.9rem; border-radius: 50%; background: #76797B; }
/* title 이 있는 구성은 아이콘이 제목 줄에 들어가므로 세로로 쌓는다 */
.infobox-stack { flex-direction: column; gap: var(--sp-2); }
/* 2026-11-18 시안: 경고(warning) + 제목 + 목록 구성만 촘촘하다 — 좌우 안쪽 12, 목록 들여쓰기 2, 줄 간격 4, 글자 13/18 (info 의 제목+목록·경고의 제목+글자는 그대로) */
.infobox-warning.infobox-stack:has(.infobox-list) { padding: 1.5rem 1.1rem; }
.infobox-warning.infobox-stack .infobox-list { gap: 0.4rem; padding-left: 0.2rem; font-size: 1.3rem; line-height: 1.8rem; }
.infobox-warning.infobox-stack .infobox-list li { gap: 0.4rem; min-height: 2rem; }

/* ── Tag(분류 칩 + 지우기 X + 전체 해제) ── */
.tag-list { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); }
.tag-list[hidden] { display: none; } /* 태그를 모두 지우면 JS 가 줄 전체를 숨김 */
.tag { display: inline-flex; align-items: center; gap: var(--sp-1); height: 3.2rem; padding: 0 0.8rem 0 1.2rem; border-radius: var(--radius-pill); background: var(--c-gray-bg); font-size: 1.4rem; color: var(--c-dark); }
.tag-remove { display: flex; align-items: center; justify-content: center; width: 1.6rem; height: 1.6rem; padding: 0; border: 0; background: none; color: var(--c-text); cursor: pointer; }
.tag-clear { margin-left: auto; padding: 0; border: 0; background: none; font: inherit; font-size: 1.4rem; color: var(--c-sub); text-decoration: underline; cursor: pointer; } /* 시안 Tag 컴포넌트의 "해제"는 밑줄 */

/* ── 사진 첨부(2026-11-19 시안 1119): 라벨·안내 + 사진 촬영/앨범 버튼 + (올린 뒤) 썸네일 목록·안내·개수 ── */
.attach-buttons { display: flex; gap: var(--sp-2); margin-top: 1.2rem; }
.attach-buttons .btn-line-dark { flex: 1; display: flex; align-items: center; justify-content: center; gap: var(--sp-2); }
.attach-files { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 0.8rem; }
.attach-files[hidden] { display: none; }
.attach-list { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: 0; padding: 0; list-style: none; }
.attach-item { position: relative; width: 10rem; height: 10rem; overflow: hidden; border-radius: var(--radius-xs); background: var(--c-chip) center / cover no-repeat; }
.attach-remove { position: absolute; top: 1rem; right: 1rem; display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; padding: 0; border: 0; border-radius: 50%; background: rgba(223, 223, 223, 0.6); color: var(--c-text); cursor: pointer; }
.attach-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); }
.attach-help { margin: 0; font-size: 1.3rem; line-height: 1.8rem; color: var(--c-gray-45); }
.attach-count { display: inline-flex; align-items: center; height: 2.4rem; padding: 0 1rem; border: 1px solid var(--c-gray-45); border-radius: var(--radius-pill); font-size: 1.3rem; line-height: 1.8rem; color: var(--c-gray-45); white-space: nowrap; }

/* ── Pagination(이전 · 번호 · … · 다음): 상태 기본/hover/pressed/active/disabled ── */
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--sp-1); }
.page-btn { display: flex; align-items: center; justify-content: center; gap: var(--sp-1); min-width: 4rem; height: 4rem; padding: 0 0.8rem; border: 0; border-radius: var(--radius-xs); background: var(--c-bg); font: inherit; font-size: 1.6rem; color: var(--c-text-70); cursor: pointer; }
.page-btn:hover { background: var(--c-line-light); }
.page-btn:active { background: var(--c-line); }
.page-btn.active { background: var(--c-primary-badge); font-weight: 700; color: #fff; }
.page-btn:disabled { background: var(--c-bg); color: var(--c-disabled); cursor: default; }
.page-ellipsis { display: flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; color: var(--c-text-70); }

/* ── Breadcrumb(홈 > Depth > Depth …): 마지막(현재)은 진하게 ── */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-1); margin: 0; padding: 0; list-style: none; }
.breadcrumb li { display: flex; align-items: center; gap: var(--sp-1); }
.breadcrumb a { display: flex; align-items: center; gap: var(--sp-1); height: 2.4rem; padding: 0 0.4rem; border-radius: var(--radius-xs); font-size: 1.5rem; color: var(--c-ink); text-decoration: none; }
.breadcrumb a:hover { background: var(--c-line-light); }
.breadcrumb li:last-child a { font-weight: 500; color: var(--c-text); }

/* ── Accordion(시안 0.2 컴포넌트 > Accordion, 2026-11-18 가이드·공통 반영): 질문 줄(Q + 제목 + 화살표) 아래 연한 선, 펼치면 회색 상자 ──
   <div class="accordion-item [is-open]"><button class="accordion-trigger" data-action="toggle-accordion" aria-expanded="false">
     <span class="acc-q">Q</span><span class="acc-title">…</span><i data-icon="arrow-down" …></i></button>
   <div class="accordion-content"><p class="acc-text">…</p></div></div>
   항목 사이 간격 12, 마지막 항목은 아래 여백·선 없음 */
.accordion-item + .accordion-item { margin-top: 1.2rem; }
.accordion-trigger { display: flex; align-items: flex-start; gap: 1rem; width: 100%; margin: 0; padding: 0 0.2rem 1.2rem; border: 0; border-bottom: 1px solid var(--c-line-light); background: none; font: inherit; color: var(--c-text); text-align: left; cursor: pointer; }
.accordion-item:last-child .accordion-trigger { padding-bottom: 0; border-bottom: 0; }
.acc-q { flex-shrink: 0; width: 1.2rem; font-size: 1.6rem; font-weight: 600; line-height: 2.4rem; color: var(--c-primary-badge); }
.acc-title { flex: 1; min-width: 0; font-size: 1.6rem; font-weight: 400; line-height: 2.4rem; color: var(--c-text); }
.acc-arrow { flex-shrink: 0; margin-top: 0.2rem; color: var(--c-text); transition: transform 0.2s; }
.accordion-item.is-open .acc-arrow { transform: rotate(180deg); }
.accordion-content { display: none; padding: 1.6rem; background: var(--c-gray-bg); }
.accordion-item.is-open .accordion-content { display: block; }
.acc-text { margin: 0; font-size: 1.6rem; line-height: 2.4rem; color: var(--c-dark); }

/* ── Step indicator(1 ─ 2 ─ 3 … 단계): 지금 단계는 붉은 원, 나머지는 회색 원 ── */
.steps { display: flex; margin: 0; padding: 0; list-style: none; }
.step { display: flex; flex: 1; flex-direction: column; gap: 1.2rem; min-width: 0; }
.step-head { display: flex; align-items: center; }
.step-mark { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: #BBBCBD; font-size: 1.2rem; font-weight: 600; line-height: 1; color: #fff; }
.step.active .step-mark { background: var(--c-primary-badge); }
.step-line { flex: 1; height: 0; margin: 0 0.4rem 0 0.7rem; border-top: 1.6px solid #BBBCBD; }
.step:last-child .step-line { display: none; }
.step-title { display: flex; flex-direction: column; gap: 0.2rem; }
.step-title small { font-size: 1.2rem; line-height: 0.8rem; color: #434648; }
.step.active .step-title small { color: var(--c-primary-badge); } /* 2026-11-16 시안: 지금 단계 이름은 붉은색 */
.step-title b { font-size: 1.5rem; font-weight: 700; line-height: 2.2rem; color: var(--c-ink); }

/* Step indicator 가운데 정렬형(Type=center, 2026-11-18 시안: 이전 Type=fixed 대체): 칸 폭 80 × 4칸 = 320,
   번호 원이 칸 가운데, 원 사이를 1px 회색 선이 잇고, 단계 이름은 원 아래 가운데. 마크업은 기본 단계 표시기와 같고 .steps 에 .steps-center 만 더한다. */
.steps-center { width: 32rem; max-width: 100%; }
.steps-center .step { position: relative; align-items: center; gap: 1.2rem; }
.steps-center .step-head { justify-content: center; width: 100%; }
.steps-center .step-mark { position: relative; z-index: 1; } /* 선 위에 원이 얹힌다 */
.steps-center .step-line { position: absolute; top: 1rem; left: 50%; width: 100%; margin: 0; border-top-width: 1px; } /* 이 칸 가운데 → 다음 칸 가운데 */
.steps-center .step-title { align-items: center; text-align: center; }
.steps-center .step-title small { font-size: 1.3rem; line-height: 1.8rem; }

/* ── Table(표, 시안 0.2 컴포넌트 > table / base_table-head · base_table-body, 2026-11-18 가이드 추가) ──
   마크업은 <table class="table"> thead th / tbody td 를 쓴다. 높이·글자는 시안 값:
   기본(Medium) 머리 18/700·칸 18/400, 안쪽 위아래 18·좌우 20  /  .table-sm(Small) 머리 16/600·칸 16/400, 위아래 14·좌우 12
   머리는 바탕 #FCFCFC·위 1px 진한 선·아래 1px #EEEEEE, 칸은 아래 1px #EEEEEE. 정렬은 .t-center / .t-right(기본 왼쪽).
   .table-left : 왼쪽 첫 칸이 머리(th scope="row", 폭 200)인 세로형  /  .table-sub : 칸 안의 보조 글자(13/18, #6C5E54) */
.table { width: 100%; border-collapse: collapse; table-layout: fixed; background: var(--c-bg); }
.table th, .table td { padding: 1.8rem 2rem; border-bottom: 1px solid var(--c-line-light); text-align: left; vertical-align: middle; word-break: keep-all; }
.table thead th { border-top: 1px solid var(--c-text); background: var(--c-bg-soft); font-size: 1.8rem; font-weight: 700; line-height: 2.7rem; color: var(--c-text); }
.table td { font-size: 1.8rem; font-weight: 400; line-height: 2.7rem; color: var(--c-dark); }
.table .t-center { text-align: center; }
.table .t-right { text-align: right; }
.table-sub { display: block; margin-top: 0.8rem; font-size: 1.3rem; line-height: 1.8rem; color: var(--c-brown-dark); }
.table-sm th, .table-sm td { padding: 1.4rem 1.2rem; }
.table-sm thead th { font-size: 1.6rem; font-weight: 600; line-height: 2.4rem; }
.table-sm td { font-size: 1.6rem; line-height: 2.4rem; }
.table-left tbody th { width: 20rem; border-top: 0; background: var(--c-bg-soft); font-size: 1.8rem; font-weight: 700; line-height: 2.7rem; color: var(--c-text); }
.table-left.table-sm tbody th { font-size: 1.6rem; font-weight: 600; line-height: 2.4rem; }
/* 목록형 표(공지 목록 등): 칸 전체가 눌리는 줄 .table-link, 고정 공지 줄 .table-pin(연회색 바탕 · 위 진한 선 · 제목 굵게 + 앞에 배지) */
.table-link { display: block; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.table-title-row { display: flex; align-items: center; gap: 0.8rem; }
.table-pin td { border-top: 1px solid var(--c-text); background: var(--c-bg-soft); font-weight: 600; color: var(--c-text); }

/* ── Calendar(연·월 선택 + 요일 + 날짜): 날짜 상태 선택가능(붉은 테두리)·선택(붉은 채움)·비활성(회색) ── */
.calendar { width: 32rem; max-width: 100%; border: 1px solid var(--c-line); border-radius: var(--radius-xs); background: var(--c-bg); overflow: hidden; }
.calendar-head { display: flex; align-items: center; justify-content: center; gap: var(--sp-2); height: 6.4rem; border-bottom: 1px solid var(--c-line); }
.calendar-select { display: flex; align-items: center; height: 4rem; padding: 0 1.2rem; border: 0; border-radius: var(--radius-sm); background: var(--c-gray-bg); font: inherit; font-size: 1.9rem; color: var(--c-text); cursor: pointer; }
.calendar-move:first-child { margin-right: 1.6rem; }
.calendar-move:last-child { margin-left: 1.6rem; }
.calendar-move { display: flex; align-items: center; justify-content: center; width: 3.2rem; height: 4rem; padding: 0; border: 0; background: none; color: var(--c-text); cursor: pointer; }
.calendar-week { display: flex; padding: 0 0.4rem; }
.calendar-days { display: flex; flex-direction: column; gap: 0.4rem; padding-bottom: 0.6rem; } /* 2026-11-18 시안: 테두리 포함 전체 높이 396 */
.calendar-week-name { padding: 0 0.4rem 0 0.4rem; }
.calendar-week-name span, .calendar-day { display: flex; flex: 1; align-items: center; justify-content: center; height: 4rem; }
.calendar-week-name span { font-size: 1.5rem; color: var(--c-ink); }
.calendar-day { height: 4.4rem; padding: 0; border: 0; background: none; }
.calendar-date { display: flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border: 1px solid transparent; border-radius: 50%; font: inherit; font-size: 1.6rem; color: var(--c-disabled); background: none; }
/* 연·월 고르는 목록(달력 머리 아래에 덮임) */
.calendar { position: relative; }
.calendar-picker { position: absolute; top: 6.4rem; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-wrap: wrap; align-content: flex-start; gap: var(--sp-1); padding: var(--sp-2); background: var(--c-bg); overflow-y: auto; }
.calendar-picker[hidden] { display: none; }
.calendar-picker-item { width: calc((100% - var(--sp-1) * 2) / 3); height: 4rem; border: 1px solid var(--c-line); border-radius: var(--radius-sm); background: none; font: inherit; font-size: 1.5rem; color: var(--c-text); cursor: pointer; }
.calendar-picker-item.active { border-color: var(--c-primary-badge); background: var(--c-primary-badge); color: #fff; }
.calendar-picker-item:disabled { color: var(--c-disabled); cursor: default; }
.calendar-move:disabled { color: var(--c-disabled); cursor: default; }
.calendar-date:disabled { cursor: default; }
.calendar-date.available { border-color: var(--c-primary-badge); color: var(--c-primary-badge); cursor: pointer; }
.calendar-date.selected { border-color: var(--c-primary-badge); background: var(--c-primary-badge); color: #fff; }
/* 오늘(2026-11-16 시안): 붉은 테두리 + 아래쪽 '오늘' 붉은 알약 */
.calendar-date.today { position: relative; border-color: var(--c-primary-badge); color: var(--c-primary-badge); cursor: pointer; }
/* 2026-11-20: 오늘이 선택된 경우 빨간 글자가 빨간 배경에 묻혀 날짜가 안 보이던 것 → 선택 글자색(흰색) 유지 */
.calendar-date.today.selected { background: var(--c-primary-badge); color: #fff; }
.calendar-today { position: absolute; top: 3rem; left: 50%; display: flex; align-items: center; justify-content: center; width: 3.2rem; height: 1.4rem; border-radius: var(--radius-pill); background: var(--c-primary-badge); font-size: 1rem; line-height: 1; color: #fff; transform: translateX(-50%); }
/* 2026-11-20 시안: 오늘 날짜 아래 '오늘' 알약. 날짜 칸을 그리는 JS 가 요소를 만들지 않아 안 나오던 것 → HTML·JS 변경 없이 ::after 로 표시 */
.calendar-date.today::after { content: '오늘'; position: absolute; top: 3.2rem; left: 50%; display: flex; align-items: center; justify-content: center; width: 3.2rem; height: 1.4rem; border-radius: var(--radius-pill); background: var(--c-primary-badge); font-size: 1rem; line-height: 1; color: #fff; transform: translateX(-50%); }
.calendar-date.today.selected::after { box-shadow: 0 0 0 0.2rem var(--c-bg); } /* 오늘이 선택된 경우 빨간 원과 구분되게 흰 테두리(알약은 시안과 같은 빨강 유지) */
.calendar-legend { display: flex; align-items: center; justify-content: center; gap: var(--sp-2); margin-top: var(--sp-2); font-size: 1.4rem; color: var(--c-text-70); }
.calendar-legend i { display: inline-block; width: 2rem; height: 2rem; margin-right: 0.4rem; border: 1px solid var(--c-primary-badge); border-radius: 50%; vertical-align: middle; }
.calendar-legend i.selected { background: var(--c-primary-badge); }
/* 달력 아래 범례를 테두리 상자로 보일 때(2026-11-16 시안): 높이 46 */
.calendar-legend-box { width: 32rem; max-width: 100%; height: 4.6rem; margin-top: 0; border: 1px solid var(--c-line); border-radius: var(--radius-xs); background: var(--c-bg); box-sizing: border-box; }
.calendar-legend-box span:last-child { font-weight: 600; }

/* ── Carousel 보조: 숫자(1 / 8) · 화살표(크게 6.4 / 보통 4.8 / 작게 3.2) · 점은 .slider-dots ── */
.carousel-count { display: inline-flex; align-items: center; gap: 0.4rem; height: 4rem; padding: 0 1.6rem; border: 1px solid var(--c-line-mid); border-radius: var(--radius-pill); background: var(--c-bg); font-size: 1.4rem; font-weight: 600; color: var(--c-disabled); } /* 2026-11-18 시안: 높이 40 · 안쪽 16 · 선 #BBBCBD (폭 62) */
.carousel-count b { color: var(--c-ink); }
.carousel-arrow { display: flex; align-items: center; justify-content: center; width: 6.4rem; height: 6.4rem; padding: 0; border: 1px solid var(--c-line-strong); border-radius: 50%; background: var(--c-bg); color: var(--c-text); cursor: pointer; }
.carousel-arrow-md { width: 4.8rem; height: 4.8rem; }
.carousel-arrow-sm { width: 3.2rem; height: 3.2rem; }

/* ── 배지 Badge (피그마 0.2 컴포넌트 > Badge, 2026-11-16): s = 높이 20 · L = 높이 30 ──
   s: .badge-primary(갈색 채움) / .badge-secondary(연회색) / .badge-point(붉은 연한 배경 + 테두리)
   L: .badge-lg + .badge-outline(흰 바탕 회색 테두리) / .badge-lg + .badge-warm(연한 주황) */
.badge { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; height: 2rem; padding: 0 0.8rem; border: 1px solid transparent; border-radius: 0.2rem; font-size: 1.2rem; font-weight: 400; line-height: 1.6rem; white-space: nowrap; }
.badge-primary { background: var(--c-brown); font-weight: 500; color: #fff; }
.badge-secondary { background: #EEEEEE; color: var(--c-dark); }
.badge-point { border-color: #FACCD0; background: var(--c-primary-light); color: var(--c-primary-badge); }
.badge-lg { height: 3rem; border-radius: var(--radius-xs); font-size: 1.3rem; line-height: 2rem; }
.badge-outline { border-color: var(--c-line); background: var(--c-bg); color: var(--c-dark); }
.badge-warm { border-color: #F0A061; background: var(--c-warn-light); color: var(--c-warn); }

/* ── 줄 탭(시안 Tab type=primary, 2026-11-18 공통으로 이동): 칸이 반반(.tab-box), 높이 50 ── */
.tab-box { display: flex; }
/* 줄 탭(시안 Tab__atomic): 상자 없이 아래 선만. 선택=굵은 선 2 #323536 · 글자 #434648 굵게 / 나머지=선 1 #DDDEDE · 글자 #989B9C */
.tab-box-item {
  flex: 1;
  height: 5rem;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--c-line);
  background: none;
  font: inherit;
  font-size: 1.6rem;
  line-height: 2.4rem;
  color: var(--c-disabled);
  cursor: pointer;
}
.tab-box-item.active {
  border-bottom: 2px solid var(--c-dark);
  color: var(--c-text-70);
  font-weight: 600;
}
/* ── 알약 탭(피그마 Tab type=secondary): 높이 38 · 안쪽 16 · 선택은 짙은 배경 흰 글자 600 ── */
.chip-tabs { display: flex; gap: var(--sp-2); padding: 0 2rem; overflow-x: auto; }
.chip-tab { flex: none; height: 3.8rem; padding: 0 1.6rem; border: 1px solid var(--c-line); border-radius: var(--radius-pill); background: var(--c-bg); font: inherit; font-size: 1.4rem; line-height: 2rem; color: #666; cursor: pointer; }
.chip-tab.active { border-color: var(--c-dark); background: var(--c-dark); color: #fff; font-weight: 600; }

/* ── Contextual help(도움말 말풍선): 화살표 위/아래 × 왼쪽/가운데/오른쪽 ── */
.help-pop { position: relative; display: flex; flex-direction: column; gap: var(--sp-2); width: 100%; max-width: 36rem; padding: 2.4rem; border: 1px solid #BBBCBD; border-radius: var(--radius-md); background: var(--c-bg); }
.help-pop[hidden] { display: none; }
.help-pop-head { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; }
.help-pop-title { margin: 0; font-size: 1.7rem; font-weight: 700; line-height: 2.4rem; color: var(--c-text); }
.help-pop-close { display: flex; flex-shrink: 0; padding: 0; border: 0; background: none; color: var(--c-text); cursor: pointer; }
.help-pop-text { margin: 0; font-size: 1.5rem; line-height: 2.4rem; color: var(--c-text); }
.help-pop::before { content: ''; position: absolute; width: 1.2rem; height: 1.2rem; border: solid #BBBCBD; border-width: 0 1px 1px 0; background: var(--c-bg); transform: rotate(45deg); }
.help-arrow-bottom::before { bottom: -0.7rem; }
.help-arrow-top::before { top: -0.7rem; transform: rotate(225deg); }
.help-arrow-left::before { left: 2.4rem; }
.help-arrow-center::before { left: calc(50% - 0.6rem); }
.help-arrow-right::before { right: 2.4rem; }

/* ── Link(더보기형 화살표 링크): 크게 / 보통 / 작게 ── */
.link-more { display: inline-flex; align-items: center; gap: var(--sp-1); font-size: 1.4rem; line-height: 2rem; color: var(--c-sub); text-decoration: none; cursor: pointer; }
button.link-more { padding: 0; border: 0; background: none; font-family: inherit; } /* 버튼 태그로 쓸 때(이동은 개발에서 연결) 기본 테두리·배경 제거 */
.link-more-lg { line-height: 2.7rem; }

/* ── 가로 슬라이드 (공통: 메인 배너 등) ─────────────────────
   마크업: .slider > .slider-track[data-slider] > .slider-slide ×N  +  .slider-dots[data-slider-dots] > button ×N
   밀어 넘기기는 CSS(scroll-snap), 현재 장 점 표시·점 클릭 이동은 common.js. 장 높이·점 위치는 쓰는 영역 css 에서 정한다 */
.slider {
  position: relative;
  overflow: hidden;
}
.slider-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track { cursor: grab; user-select: none; }
.slider-track.dragging { cursor: grabbing; }
.slider-track img { -webkit-user-drag: none; }
.slider-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
/* 페이지 점: 현재 장은 길쭉한 알약, 나머지는 회색 점 */
.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
}
.slider-dots[hidden] { display: none; } /* 점 숨김 옵션(data-slider-indicator="false") */
.slider-dots button {
  width: 0.8rem;
  height: 0.8rem;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--c-disabled);
  cursor: pointer;
}
.slider-dots button.on {
  width: 2rem;
  background: var(--c-text);
}
.all-menu-promo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 9.6rem;
  margin: 0 var(--sp-4);
  border-radius: 1.2rem;
  background: var(--c-gray-bg);
  color: var(--c-sub);
  font-size: 1.4rem;
}
.all-menu-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-8) var(--sp-4);
}
.all-menu-box {
  padding: var(--sp-6) var(--sp-4) var(--sp-3);
  border-radius: 1.2rem;
  background: var(--c-bg);
}
.all-menu-box h2 {
  margin: 0 0 var(--sp-3);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-text);
}
.all-menu-items {
  display: flex;
  flex-wrap: wrap;
}
.all-menu-item {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  width: 100%;
  height: 4.2rem;
  padding: 0 0.2rem;
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--c-dark);
  text-align: left;
}
.all-menu-item.half {
  width: 50%;
}


/* ═══════════════════════════════════════════════════════════
   상담 채널 선택 시트
   ═══════════════════════════════════════════════════════════ */
.consult-sheet { display: flex; flex-direction: column; }
/* 머리: 제목 20 굵게 + 설명 14, 오른쪽에 닫기(24). 위 24 · 아래 16 */
.consult-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 2.4rem var(--sp-5) 1.6rem; }
.consult-title { margin: 0; font-size: 2rem; font-weight: 700; line-height: 2.8rem; color: var(--c-ink); }
.consult-sub { margin: 0.6rem 0 0; font-size: 1.4rem; line-height: 2.2rem; color: var(--c-dark); }
.consult-close { display: flex; flex: none; padding: 0; border: 0; background: none; color: var(--c-text); cursor: pointer; }
/* 상담 방법 3칸: 회색 상자(반경 8, 안쪽 12, 칸 사이 12), 왼쪽 아이콘 40 */
.consult-list { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-3) var(--sp-5); }
.consult-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
  padding: var(--sp-3);
  border: 0;
  border-radius: 0.8rem;
  background: var(--c-gray-bg);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.consult-icon { display: flex; align-items: center; justify-content: center; flex: none; width: 4rem; height: 4rem; border-radius: 0.8rem; }
.consult-icon img { display: block; max-width: 3.2rem; max-height: 3.2rem; }
.consult-icon-kakao { background: #FAE001; }
.consult-icon-inquiry { background: #F5C199; }
.consult-icon-inquiry img { max-width: 3rem; max-height: 3rem; }
.consult-icon-call { background: #CFC8C3; }
.consult-icon-call img { max-width: 2.9rem; max-height: 2.9rem; }
.consult-text { display: flex; flex-direction: column; }
.consult-name { display: flex; align-items: center; gap: 0.4rem; font-size: 1.6rem; font-weight: 600; line-height: 2.2rem; color: var(--c-text); }
.consult-tel { margin: 0.2rem 0; font-size: 1.8rem; font-weight: 700; line-height: 2.7rem; color: var(--c-text); }
.consult-desc { font-size: 1.3rem; line-height: 1.8rem; color: var(--c-sub); }


/* ═══════════════════════════════════════════════════════════
   확인/취소 얼럿
   ═══════════════════════════════════════════════════════════ */
.dialog {
  padding: var(--sp-6) var(--sp-5) var(--sp-4);
  text-align: center;
}
.dialog-message {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
}
.dialog-sub {
  margin: 0.6rem 0 0;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--c-sub);
}
.dialog-buttons {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
}

/* ═══════════════════════════════════════════════════════════
   폼 공통 — 큰 버튼(빨강/선) · 체크박스 (회원·상품 화면에서 같이 쓴다)
   ═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════
   폼 공통 — 큰 버튼(빨강/선) · 체크박스 (회원·상품 화면에서 같이 쓴다)
   ═══════════════════════════════════════════════════════════ */
/* 큰 버튼: 높이 50, 반경 4, 16px 600. 빨강(btn-red) / 선(btn-line) */
.btn-red, .btn-line, .btn-line-dark, .btn-red-line, .btn-dark-fill, .btn-line-light, .btn-gray, .btn-point, .btn-text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 5rem;
  border-radius: var(--radius-xs);
  font: inherit;
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-red { border: 0; background: var(--c-primary-badge); color: #fff; }
.btn-line { border: 1px solid var(--c-sub); background: var(--c-bg); color: var(--c-sub); }
/* 아이디로 시작하기: 흰 바탕 + 진한 선(#222324) + 검정 글자 */
.btn-line-dark { border: 1px solid #222324; background: var(--c-bg); color: var(--c-text); }
/* ── 시안 Button 전체(0.2 컴포넌트, 2026-11-18 가이드 반영): 종류 × 크기 ──
   종류  빨강: .btn-red(주) · .btn-red-line(보조, 빨간 선·글자)   짙은색: .btn-dark-fill(주, #222324) · .btn-line-dark(보조)
         연한 선: .btn-line-light(3차, 회색 #BBBCBD 선) / 32 전용 .btn-gray(회색 채움) · .btn-point(연한 붉은 채움·붉은 글자) · .btn-text(바탕 없음)
   크기  기본 50 / .btn-h56 / .btn-h38 / .btn-h32(글자 14, 안쪽 10)   폭: 기본 100%, .btn-fit 은 글자 폭 + 안쪽 20 */
.btn-red-line { border: 1px solid var(--c-primary-badge); background: var(--c-bg); color: var(--c-primary-badge); font-weight: 400; }
.btn-dark-fill { border: 0; background: var(--c-ink); color: var(--c-bg); }
.btn-line-light { border: 1px solid var(--c-line-mid); background: var(--c-bg); color: var(--c-text-70); font-weight: 400; }
.btn-gray { border: 0; background: var(--c-gray-bg); color: var(--c-text-70); font-weight: 400; }
.btn-point { border: 0; background: var(--c-primary-light); color: var(--c-primary-badge); font-weight: 400; }
.btn-text { border: 0; background: none; color: var(--c-text-70); font-weight: 400; }
.btn-h56 { height: 5.6rem; }
.btn-h38 { height: 3.8rem; }
.btn-h32 { height: 3.2rem; padding: 0 1rem; font-size: 1.4rem; }
.btn-fit { width: auto; padding: 0 2rem; }
.btn-h32.btn-fit { padding: 0 1rem; }
/* 비활성(disabled): 시안에 비활성 상태는 없어 회색 처리(임시, 시안 확정 시 교체) — "필수값 입력 시 활성화" 버튼에 쓴다 */
.btn-red:disabled, .btn-dark-fill:disabled { background: var(--c-line); color: var(--c-disabled); cursor: not-allowed; }
.btn-red-line:disabled, .btn-line-dark:disabled, .btn-line-light:disabled, .btn-line:disabled { border-color: var(--c-line); color: var(--c-disabled); cursor: not-allowed; }

/* 체크박스: 18x18 반경 2, 꺼짐=회색 테두리 / 켜짐=짙은 회색 + 흰 체크. 글자 15px */
.check { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: 1.5rem; line-height: 2.4rem; color: var(--c-dark); cursor: pointer; }
.check input {
  appearance: none;
  position: relative;
  flex: none;
  width: 1.8rem;
  height: 1.8rem;
  margin: 0 0.3rem;
  border: 1px solid #989B9C;
  border-radius: 0.2rem;
  background: var(--c-bg);
  cursor: pointer;
}
.check input:checked { border-color: var(--c-dark); background: var(--c-dark); }
.check input:checked::after {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0.2rem;
  width: 0.5rem;
  height: 0.9rem;
  border: solid #fff;
  border-width: 0 0.2rem 0.2rem 0;
  transform: rotate(45deg);
}

/* ═══════════════════════════════════════════════════════════
   자리표시 카드 — 아직 퍼블리싱 전인 화면의 본문 자리. 실제 화면을 만들 때 이 블록을 지우고 본문을 쓴다
   ═══════════════════════════════════════════════════════════ */
.empty-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: var(--sp-6);
  background-color: var(--c-bg);
  border: 1px dashed var(--c-line);
  border-radius: var(--radius-lg);
  text-align: center;
}
.empty-card .screen-id {
  display: inline-block;
  padding: 4px 8px;
  margin-bottom: var(--sp-2);
  background-color: var(--c-gray-bg);
  border-radius: var(--radius-sm);
  font-family: ui-monospace, monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-primary);
}
.empty-card .screen-title {
  margin: 0 0 var(--sp-1);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-text);
}
.empty-card .screen-path {
  margin: 0 0 var(--sp-4);
  font-size: 13px;
  color: var(--c-sub);
}
.empty-card .screen-desc {
  margin: 0;
  font-size: 14px;
  color: var(--c-disabled);
}

/* 전체메뉴 보기 화면(FO-CM-01-04-M)은 팝업이 아니라 페이지: 같은 내용을 본문에 그대로 놓는다 */
.all-menu-container { background: var(--c-gray-bg); }
.all-menu-page { height: auto; overflow: visible; }
@media (min-width: 1024px) {
  /* PC 에는 전체메뉴가 따로 없다(GNB). 이 화면을 열면 가운데 780 폭으로 */
  .all-menu-page { max-width: 78rem; margin: 0 auto; }
}


/* ═══════════════════════════════════════════════════════════
   PC (적응형, 1024px 이상) — 피그마 0.3 레이아웃_가이드 > pc_layout / PC_GNB·Footer 기준
   - 모바일은 위쪽 규칙 그대로(최소 320), 1024px 이상에서만 아래가 덮어쓴다.
   - 컬럼 1280(좌우 여백 50 → 본문 1180). GNB 높이 100, Footer 높이 220.
   - 하단 액션바·전체메뉴(햄버거)는 PC 에 없다. 대신 GNB 가 위에 붙는다.
   ═══════════════════════════════════════════════════════════ */
/* GNB 는 모바일에서 숨긴다 */
.gnb { display: none; }

/* PC 화면 틀(시안 1119): main[data-pc-title] = 회색 바탕 + 위 큰 제목(40/700, 높이 146) + 아래 흰 카드는 화면별 css 가 만든다 */
@media (min-width: 1024px) {
  main.container[data-pc-title] { padding-bottom: 10rem; background: var(--c-gray-bg);
    /* 카드(좌우 -50)가 좁은 창(1280 이하)에서 화면 끝에 붙지 않게 양옆 20 남김 */
    padding-left: max(7rem, calc((100% - var(--w-pc-content)) / 2)); padding-right: max(7rem, calc((100% - var(--w-pc-content)) / 2)); }
  main.container[data-pc-title]::before { content: attr(data-pc-title); display: block; padding: 5rem 0 4rem; font-size: 4rem; font-weight: 700; line-height: 5.6rem; text-align: center; color: var(--c-text); }
}

@media (min-width: 1024px) {
  .only-mo { display: none; }
  .only-pc { display: inline; }
  /* 본문 좌우 가운데 정렬: 컬럼 1180. 영역별 css(main·member …)가 필요하면 다시 덮어쓴다 */
  .container {
    padding-left: max(5rem, calc((100% - var(--w-pc-content)) / 2));
    padding-right: max(5rem, calc((100% - var(--w-pc-content)) / 2));
  }

  /* ── Header → PC GNB: 모바일 헤더 요소는 숨기고 GNB 만 보인다 ── */
  .header,
  .header-over {
    position: sticky;
    top: 0;
    height: 10rem;
    padding: 0;
    border-bottom: 0; /* 시안 GNB 에는 아래 선이 없다 */
    background: var(--c-bg);
    color: var(--c-text);
  }
  .header > *:not(.gnb) { display: none; }
  .gnb {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: var(--w-pc);
    height: 100%;
    margin: 0 auto;
    padding: 0 5rem;
  }
  .gnb-logo {
    display: flex;
    flex: none;
    width: 17.4rem;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  /* 시안: PC 로고 인스턴스는 174x30 (원본 115x20 을 크기에 맞춰 늘린 것, 위 35 = 가운데) */
  .gnb-logo img,
  .gnb-logo svg { display: block; width: 17.4rem; height: 3rem; }
  /* 1depth: 글자 19 볼드, 칸 높이 60, 좌우 안쪽 16, 칸 사이 16 */
  .gnb-menu {
    display: flex;
    gap: clamp(0.2rem, 1.2vw, 1.6rem); /* 1280 이상은 16, 좁아지면 줄어든다 */
    margin: 0 0 0 clamp(1.6rem, 6vw, 10.3rem); /* 1280 이상은 103 */
    padding: 0;
    list-style: none;
  }
  .gnb-item {
    height: 6rem;
    padding: 0 clamp(0.8rem, 1.2vw, 1.6rem);
    border: 0;
    background: none;
    white-space: nowrap;
    font: inherit;
    font-size: clamp(1.6rem, 1.5vw, 1.9rem);
    font-weight: 700;
    color: var(--c-sub);
    cursor: pointer;
  }
  .gnb-item:hover,
  .gnb-item.active { color: var(--c-text); }
  /* 로그인(글자) + 회원가입(어두운 알약 111x50) */
  .gnb-user { display: flex; align-items: center; gap: 1.3rem; margin-left: auto; }
  .gnb-login {
    white-space: nowrap;
    height: 6rem;
    padding: 0 1.1rem;
    border: 0;
    background: none;
    font: inherit;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--c-sub);
    cursor: pointer;
  }
  .gnb-join {
    width: 11.1rem;
    height: 5rem;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--c-dark);
    font: inherit;
    font-size: 1.6rem;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
  }

  /* ── 하단 액션바·전체메뉴는 PC 에 없다 ── */
  .bottom-nav,
  #popup-menu { display: none; }

  /* ── Footer: 전체 폭 어두운 띠. 안쪽은 1280 상자(높이 220) 안에 본문 1180 (피그마 pc/footer) ──
     1줄 로고(CI 104x36 · BI 115x20) + 약관 링크(17px) / 2줄 회사 정보(17px, 박스 높이 12) / 3줄 저작권(15px) + SNS(30px) 칸(테두리 1px, 높이 46) */
  .footer,
  .footer-pc-only { display: block; padding: 0; }
  .footer-inner {
    width: 100%;
    max-width: var(--w-pc);
    min-height: 22rem;
    margin: 0 auto;
    gap: 3rem;
    padding: 3.3rem 5rem;
  }
  .footer-top { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; height: 3.6rem; }
  .footer-logo { gap: 2.5rem; }
  .footer-bi { width: 11.5rem; height: 2rem; }
  .footer-links { gap: 1rem; font-size: 1.7rem; line-height: 2.4rem; }
  .footer-links a { padding: 0 0.2rem; font-weight: 400; }
  .footer-links a:first-child { font-weight: 400; }
  .footer-links a.point { font-weight: 700; }
  .footer-company {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0 3rem;
    height: 1.2rem;
    font-size: 1.7rem;
    line-height: 1.2rem;
    color: #BBBCBD;
  }
  .footer-company p { white-space: nowrap; }
  .footer-company b { font-weight: 700; }
  .footer-company p:nth-child(2) b { margin-right: 0.8rem; } /* 사업자등록번호 ↔ 번호 12 (공백 4 포함) */
  .footer-company p:nth-child(3) b { margin-right: 0.2rem; } /* 고객센터 번호 ↔ 운영시간 6 */
  .footer-company p:nth-child(1) { order: 1; margin-right: -1.8rem; font-weight: 700; }
  .footer-company p:nth-child(4) { order: 2; }
  .footer-company p:nth-child(2) { order: 3; }
  .footer-company p:nth-child(3) { order: 4; margin-left: auto; color: #fff; }
  .footer-bottom {
    position: relative;
    flex-direction: row-reverse;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    height: 4.6rem;
    padding: 0;
  }
  .footer-sns { margin: 1.5rem -1px 0 0; gap: 1rem; }
  /* SNS: 흰 동그라미 30(시안은 완전한 흰색). 이미지는 34 라 가운데만 보이게 잘라 쓴다 */
  .footer-sns a { display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 50%; background: #fff; overflow: hidden; }
  .footer-sns img,
  .footer-sns svg { flex: none; width: 3.4rem; height: 3.4rem; }
  .footer .footer-copy { margin: 2.5rem 0 0 -1px; font-size: 1.5rem; line-height: 1.1rem; color: #BBBCBD; }

  /* ── 팝업: 가운데 모달. 상담 시트는 아래에서 올라오는 대신 가운데 560, 얼럿은 320 ── */
  .popup-bottom { align-items: center; justify-content: center; }
  .popup-bottom .popup-panel { width: 100%; max-width: 56rem; border-radius: var(--radius-lg); transform: scale(0.95); }
  .popup.is-open .popup-panel { transform: none; }
}
