/* =========================================================
 * apply.css — 고객용 신청서 페이지 (공통은 style.css)
 *
 * 2026-11-03 남색·흰색 시안 (오퍼스 검토판)
 *   - 색은 아래 :root 한 곳에서만 바꿉니다(이 파일은 신청서만 읽음). 공통 style.css 는 손대지 않아서
 *     같은 style.css 를 쓰는 대표 화면(index.html)은 지금 색 그대로입니다.
 *   - 홈페이지 3차(남색 #11294F · 흰 읽는 면)와 같은 값.
 * ========================================================= */

/* ---------- 색 · 글꼴 (apply.css 는 신청서 페이지만 읽으므로 여기 :root 는 이 페이지에만 적용) ---------- */
:root {
  --bg: #EEF1F6;            /* 아주 옅은 남색빛 바탕 */
  --card: #FCFDFE;          /* 흰 종이 (남색 쪽으로 아주 살짝) */
  --paper: #F7F8F9;
  --grey50: #F3F5F9;        /* 한 단 어두운 흰 면 */
  --grey100: #E9EDF3;
  --grey200: #D4D9E1;       /* 괘선 */
  --grey300: #B8C0CC;
  --grey400: #7B8799;       /* 입력 칸 테두리 (흰 바탕 대비 3.6:1) */
  --grey500: #4C596C;       /* 둘째 글자 (흰 바탕 대비 7:1) */
  --grey600: #4C596C;
  --grey700: #3B475A;
  --grey800: #1B2B47;
  --grey900: #0E1E3A;       /* 글자 */
  --blue: #11294F;          --blue-soft: #DFE5EF;   --blue-light: #B8C5D8;
  --navy-dark: #0A192F;
  --script: #4C596C;        --sunday: #4C596C;
  /* 금색·빨강·초록·주황은 쓰지 않음 → 남색 계열로 통일 */
  --gold: #11294F;          --gold-ink: #11294F;    --gold-soft: #DFE5EF;
  --red: #0E1E3A;           --red-soft: #DFE5EF;
  --orange: #11294F;        --orange-soft: #DFE5EF;
  --green: #11294F;         --green-soft: #DFE5EF;
  --rule: #D4D9E1;
  --radius: 8px;

  --navy: #11294F;          /* 단추 · 고른 항목 */
  --navy-hover: #1C3A6B;
  --navy-press: #0A192F;
  --tint: #DFE5EF;          /* 남색의 밝은 단계 */
  --on-navy: #F7F8F9;       /* 남색 위 글자 */
  --field-line: #7B8799;    /* 글 쓰는 칸 테두리 */
  --choice-line: #CDD3DC;   /* 고르기 칸 테두리 (안 고른 상태) */
  --choice-on: #F3F5F9;     /* 고른 칸 바탕 */
  --ring-soft: #11294F1F;
  --toast-bg: #0E1E3AF5;
  --kakao: #FEE500;         /* 카카오 단추는 카카오 색 그대로 */
  --kakao-hover: #FADA00;
  --kakao-ink: #191919;

  --font-body: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-serif: "Gowun Batang", "Noto Serif KR", "Batang", serif;     /* 로고 · 큰 제목 */
  --font-latin: "Bodoni Moda", "Didot", Georgia, serif;               /* 로고 영문만 */
}

html { overflow-x: clip; scroll-padding-top: 132px; scroll-padding-bottom: 96px; }
body { overflow-x: clip; }
/* 한국어 줄바꿈: 낱말(어절) 단위로만 끊고, 너무 긴 주소·영문만 칸 안에서 끊음 */
body.apply-page { font-family: var(--font-body); word-break: keep-all; overflow-wrap: break-word; line-break: strict; }
/* 휴대폰에서만 뜻 단위로 줄을 나누는 표시 (넓은 화면에서는 무시) */
.br-m { display: inline; }
@media (min-width: 600px) { .br-m { display: none; } }
.apply-page ::selection { background: var(--tint); color: var(--grey900); }
.apply-page button, .apply-page .choice, .apply-page a { touch-action: manipulation; }
.apply-page h1, .apply-page h2 { text-wrap: balance; }
.apply-page :focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

/* ---------- 글 종류별 크기 · 줄 간격 · 한 줄 길이 (같은 종류는 같게) ----------
 *   안내문(첫 화면·상태 설명) 16px / 1.6
 *   카드 문단(지금 할 일 등)  15px / 1.6
 *   설명 글(질문 도움말·할인 조건·작은 안내) 13.5px / 1.6, 한 줄 최대 36자 폭 */
.apply-page .small, .q .help, .choice.discount small, .apply-page .proof-due, .day-row small, .day-push p,
.consent-text, .c-biz-note, .plan-pick small, .account-who { font-size: 13.5px; line-height: 1.6; }
.apply-page p.small, .q .help, .choice.discount small, .consent-text, .day-push p { max-width: 36em; }
.apply-start .small { margin-left: auto; margin-right: auto; }
.nw { white-space: nowrap; }                                  /* [할인 인증] · (제1조~제15조 · 특약)을 처럼 끊으면 안 되는 묶음 */
@media (max-width: 599px) { .dot-m { display: none; } }       /* 휴대폰: 조건 사이 가운데점 대신 줄바꿈 */

/* ---------- 공통 부품을 이 페이지 색으로 ---------- */
.apply-page .appbar { background: var(--bg); border-bottom: 1px solid var(--grey200); backdrop-filter: none; -webkit-backdrop-filter: none; }
.apply-page .wordmark { color: var(--navy); }
.apply-page .wm-ko { font-family: var(--font-serif); }
.apply-page .wm-en b { font-family: var(--font-latin); }
.apply-page .wm-rule { background: var(--navy); }
.apply-page .app-tag { color: var(--grey500); }

.apply-page .btn.primary { background: var(--navy); color: var(--on-navy); }
.apply-page .btn.primary:hover { background: var(--navy-hover); }
.apply-page .btn.primary:active { background: var(--navy-press); }
.apply-page .btn.secondary { background: var(--tint); color: var(--navy); }
.apply-page .btn.secondary:hover { background: var(--blue-light); }
.apply-page .btn:disabled { opacity: 1; background: var(--grey200); color: var(--grey500); cursor: not-allowed; }
.apply-page .btn.lg { height: 56px; }
.apply-page .btn.sm { height: 44px; padding: 0 16px; font-size: 15px; }   /* 휴대폰 손가락 크기 44px */
.apply-page input[type="url"] { width: 100%; height: 44px; padding: 0 12px; border-radius: var(--radius); font: inherit; font-size: 16px; }
.apply-page .link-sm { display: inline-flex; align-items: center; min-height: 44px; padding: 0; color: var(--grey600); text-decoration: underline; text-decoration-color: var(--grey300); text-underline-offset: 4px; }
.apply-page .link-sm:hover { color: var(--navy); text-decoration-color: var(--navy); }
.apply-page .text-btn { min-height: 44px; }

.apply-page input[type="number"], .apply-page input[type="email"], .apply-page input[type="text"], .apply-page input[type="url"],
.apply-page input[type="time"], .apply-page textarea, .apply-page select { border: 1px solid var(--field-line); background-color: var(--card); color: var(--grey900); }
.apply-page input:focus, .apply-page textarea:focus, .apply-page select:focus { outline: none; background-color: var(--card); border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.apply-page input::placeholder, .apply-page textarea::placeholder { color: var(--grey500); }
.apply-page .note-box.warn { color: var(--navy); }
.apply-page .toast { background: var(--toast-bg); color: var(--on-navy); bottom: calc(96px + env(safe-area-inset-bottom)); }

/* ---------- 페이지 틀 ---------- */
.apply-page .tabbar, .apply-page .nav { display: none; }
.apply-main { max-width: 640px; margin: 0 auto; padding-bottom: 120px; }
.save-state { margin-left: auto; font-size: 13px; color: var(--grey500); }

/* ---------- 시작 화면: 옅은 바탕 위 흰 종이 한 장 ---------- */
.apply-start { text-align: center; background: var(--card); border: 1px solid var(--grey200); border-radius: var(--radius); padding: 44px 24px 28px; margin-top: 20px; }
.apply-page .logo-mark.big { display: block; width: 72px; height: auto; border-radius: 0; margin: 0 auto 16px; box-shadow: none; background: none; object-fit: contain; }
.apply-wordmark { display: block; font-family: var(--font-latin); font-weight: 500; font-size: 19px; letter-spacing: .5em; text-indent: .5em; color: var(--navy); margin: 0 0 10px; }
.apply-start .script { display: block; font-size: 15px; color: var(--grey500); margin: 0 0 36px; }
.apply-start h1 { font-family: var(--font-serif); font-weight: 700; font-size: 27px; letter-spacing: -0.01em; margin-bottom: 12px; }
.apply-start .muted { font-size: 16px; line-height: 1.6; margin: 0 0 28px; color: var(--grey700); }
.apply-start .small { margin: 16px 0 0; line-height: 1.6; }
.kakao-btn { background: var(--kakao); color: var(--kakao-ink); display: flex; align-items: center; justify-content: center; gap: 8px; }
.kakao-btn svg { width: 20px; height: 20px; fill: var(--kakao-ink); }
.kakao-btn:hover { background: var(--kakao-hover); }

/* ---------- 단계 표시 ---------- */
.apply-progress { position: sticky; top: var(--appbar-h, 60px); z-index: 5; background: var(--bg); padding: 12px 0 10px; }
@media (max-width: 760px) { .apply-progress { top: 54px; } }   /* 휴대폰 상단 바 높이(54px)에 딱 붙임: 사이로 글이 비치지 않게 */
.apply-steps { display: flex; gap: 16px; overflow-x: auto; font-size: 14px; color: var(--grey500); margin-bottom: 10px; scrollbar-width: none; }
.apply-steps::-webkit-scrollbar { display: none; }
.apply-steps span { white-space: nowrap; font-weight: 600; }
.apply-steps .active { color: var(--navy); font-weight: 800; }
.apply-steps .done { color: var(--grey600); }
.apply-progress .progress { height: 3px; margin: 0; background: var(--grey200); }
.apply-progress .progress span { min-width: 12px; background: var(--navy); }

/* ---------- 질문 ---------- */
.apply-card { padding: 28px 20px 12px; border-color: var(--grey200); }
.apply-card h2 { font-size: 22px; margin: 0 0 12px; letter-spacing: -0.02em; }
.q { padding: 18px 0; border-bottom: 1px solid var(--grey100); }
.q:last-child { border-bottom: 0; }
.q-label { font-size: 16px; font-weight: 700; margin-bottom: 8px; line-height: 1.45; }
.q-label .req { color: var(--grey900); font-weight: 800; font-style: normal; }
.q .help { display: block; color: var(--grey500); margin: -4px 0 10px; }
.q-error { color: var(--navy); font-weight: 800; font-size: 14px; margin: 8px 0 0; min-height: 0; }
.q-error:not(:empty)::before { content: '확인  '; font-weight: 800; border-bottom: 2px solid var(--navy); }
.q.has-error .q-label { color: var(--grey900); font-weight: 800; }
.q.has-error input:not([type="radio"]):not([type="checkbox"]), .q.has-error textarea, .q.has-error select, .q.has-error .date-box { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }

/* 고르기 칸: 평소엔 옅은 회색 테두리, 고르면 남색 테두리 + 아주 옅은 바탕 */
.choice-list { display: flex; flex-direction: column; gap: 8px; }
.choice, .choice.check:last-child { display: flex; align-items: flex-start; gap: 12px; padding: 13px 14px; min-height: 50px; border-radius: var(--radius); background: var(--card); cursor: pointer; line-height: 1.45; font-size: 16px; border: 1px solid var(--choice-line); transition: border-color .15s, background-color .15s; }
.choice:hover { border-color: var(--grey300); }
.choice:active { background: var(--grey50); }
.choice:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 2px; }
.choice input[type="radio"], .choice input[type="checkbox"] { width: 22px; height: 22px; margin: 0; flex-shrink: 0; accent-color: var(--navy); }
/* 체크 칸: 공통 .check 모양(동그라미) 대신 또렷한 네모 칸 */
.choice.check input[type="checkbox"] { appearance: auto; -webkit-appearance: checkbox; background: none; border-radius: 4px; width: 22px; height: 22px; margin-top: 0; }
.choice.check input[type="checkbox"]::after { content: none; }
.choice.on, .choice.check.on:last-child { background: var(--choice-on); border-color: var(--navy); }
.choice.other { align-items: center; }
.choice.other input[type="text"] { flex: 1; padding: 0 12px; height: 44px; }
.agree-all { align-self: flex-start; }

.ticket-grid { display: grid; gap: 10px; }
.ticket-side { background: var(--grey50); border-radius: var(--radius); padding: 10px 12px; display: grid; grid-template-columns: 60px repeat(3, minmax(0, 1fr)); gap: 8px; align-items: end; }
.ticket-side > b { align-self: center; }
.ticket-side.groom > b { color: var(--blue); }
.ticket-side.bride > b { color: var(--sunday); }
.ticket-side label span { display: block; font-size: 12px; color: var(--grey600); margin-bottom: 3px; }
.ticket-side input { background: var(--card); text-align: right; }

/* 아래 고정 단추 */
.apply-nav { position: fixed; left: 0; right: 0; bottom: 0; background: var(--bg); border-top: 1px solid var(--grey200); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 8px; justify-content: center; z-index: 10; }
.apply-nav .btn { max-width: 300px; flex: 1; }
.apply-nav #prev-btn { flex: 0 0 100px; }

/* 확인 · 제출 */
.review-block { padding: 16px 0; border-bottom: 1px solid var(--grey100); }
.review-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.review-list { margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.review-list div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 10px; }
.review-list dt { color: var(--grey600); font-size: 13.5px; }
.review-list dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .review-list div { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.consent-text { white-space: pre-wrap; font-family: inherit; color: var(--grey700); background: var(--grey50); border-radius: var(--radius); padding: 14px; margin: 0 0 10px; line-height: 1.65; }

/* ---------- 제출 후 상태: 제목 → 설명 → 지금 할 일 → 진행 상황 → 예약 내용 ---------- */
.apply-status { margin-top: 20px; padding: 26px 20px; }
.status-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.status-who { font-size: 14px; color: var(--grey600); font-weight: 600; }
.status-title { font-family: var(--font-serif); font-weight: 700; font-size: 27px; line-height: 1.35; letter-spacing: -0.01em; margin: 16px 0 8px; text-wrap: balance; }
.apply-status .status-msg { color: var(--grey700); font-size: 16px; line-height: 1.6; margin: 0 0 22px; }
.status-sec { font-size: 14px; font-weight: 700; color: var(--grey600); margin: 30px 0 6px; padding-top: 20px; border-top: 1px solid var(--grey200); }
.apply-status .kv-list { margin: 0; }
.status-kv > div { border-bottom: 1px solid var(--grey100); padding: 11px 0; }
.status-kv > div:last-child { border-bottom: 0; }
.status-kv dt { font-size: 14px; }
.status-kv dd small { display: block; font-size: 13px; }
.status-kv dd .link-sm { display: flex; justify-content: flex-end; margin: 0 0 -8px auto; color: var(--grey800); }

/* 지금 할 일 (한 번에 하나만): 남색 얇은 테두리 하나로 */
.todo-card { border: 1px solid var(--navy); border-radius: var(--radius); padding: 18px 16px; background: var(--card); }
.todo-card.is-done { border-color: var(--grey300); }
.todo-card + .todo-card { margin-top: 12px; }
/* 할인 인증 · 현금영수증은 '지금 할 일'보다 한 단 조용하게 */
.apply-page .proof-card, .apply-page .receipt-card { border-color: var(--grey200); }
.apply-page .proof-disc { border-top: 1px solid var(--grey100); }
.apply-page .proof-slot { background: var(--grey50); }
.apply-page .proof-state { border-radius: 4px; }
.apply-page .proof-thumb { background: var(--card); }
.todo-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-bottom: 8px; }
.todo-head span { flex-basis: 100%; font-size: 13px; font-weight: 700; color: var(--grey500); }
.todo-head b { font-size: 19px; }
.todo-head em { font-style: normal; font-size: 13px; color: var(--grey600); margin-left: auto; }
.todo-head em.urgent { color: var(--grey900); font-weight: 800; text-decoration: underline; text-decoration-color: var(--navy); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.todo-card > p { margin: 0 0 16px; font-size: 15px; line-height: 1.6; color: var(--grey700); }
.todo-card > p.small { margin: 10px 0 0; font-size: 13.5px; }
.account { display: flex; flex-direction: column; gap: 2px; background: var(--grey50); border-radius: var(--radius); padding: 12px 14px; }
.account-num { font-size: 20px; font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums; user-select: all; }
.account-who { font-size: 13.5px; color: var(--grey600); }

/* 두 분의 짝꿍코드: 테두리 없이 한 단 어두운 면 */
.pair-box { margin-top: 28px; padding: 20px 16px 16px; border-radius: var(--radius); background: var(--grey50); }
.pair-k { font-size: 13.5px; color: var(--grey500); font-weight: 700; }
.pair-box p.small { color: var(--grey700); margin: 0 0 14px; text-wrap: pretty; line-height: 1.65; }
/* 짝꿍코드가 쓰인 숫자: 문장마다 한 줄, 숫자와 단위는 붙여서 */
.nw { white-space: nowrap; }
.pair-stats { margin: 0 0 16px; padding-top: 14px; border-top: 1px solid var(--grey200); }
.pair-stats p { margin: 0; text-wrap: pretty; }
.pair-stats-lead { font-size: 17px; font-weight: 700; line-height: 1.5; color: var(--grey900); }
.pair-stats-lead b { color: var(--navy); font-weight: 800; }
.pair-stats-sub { margin-top: 2px; font-size: 14.5px; line-height: 1.6; color: var(--grey700); }
.pair-stats-list { margin: 8px 0 0; }
.pair-stats-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 0; font-size: 14.5px; line-height: 1.5; }
.pair-stats-list dt { color: var(--grey600); }
.pair-stats-list dd { margin: 0; font-weight: 700; color: var(--grey900); font-variant-numeric: tabular-nums; }

/* 상태 표시: 둥근 알약 대신 납작한 표 (색은 남색 한 가지, 반려만 테두리) */
.status-pill { text-decoration: none; display: inline-block; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 4px; white-space: nowrap; }
.status-pill.blue, .status-pill.orange, .status-pill.green { background: var(--tint); color: var(--navy); }
.status-pill.red { background: var(--card); color: var(--grey900); box-shadow: inset 0 0 0 1px var(--grey900); font-weight: 800; }

/* 연락처 칸도 다른 칸과 같은 모양 */
.apply-card input[type="tel"] {
  width: 100%; height: 50px; padding: 0 16px; border: 1px solid var(--field-line); border-radius: var(--radius);
  background: var(--card); color: var(--grey900); font: inherit; font-size: 16px; font-weight: 500;
}
.apply-card input[type="tel"]:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }

/* 예식일: 칸 전체를 누르면 달력이 열리고, 고른 날짜는 "2026.12.20 (일)"로 표시 */
.date-box { position: relative; display: flex; align-items: center; height: 50px; padding: 0 16px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--field-line); font-size: 16px; font-weight: 500; cursor: pointer; }
.date-box span.empty { color: var(--grey500); }
.date-box::after { content: '날짜 선택'; margin-left: auto; font-size: 13.5px; color: var(--grey500); }
.date-box input[type="date"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; }
.date-box input[type="date"]::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.date-box:focus-within { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }

/* 계약 신청 / 사전 설문 표시: 알약 대신 제목 위 작은 글자 */
.form-kind { display: block; font-size: 14px; font-weight: 600; color: var(--grey500); margin-bottom: 4px; }
.survey-card { text-align: left; background: var(--card); border: 1px solid var(--grey200); border-radius: var(--radius); padding: 14px 16px; margin-top: 16px; }
.survey-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.survey-card p { font-size: 15px; line-height: 1.6; }

/* 내 짝꿍코드 · 짝꿍코드 확인 */
.pair-code { margin: 4px 0 8px; font-size: 28px; font-weight: 800; letter-spacing: .12em; color: var(--navy);
  font-variant-numeric: tabular-nums; user-select: all; }
.pair-hint { margin: 6px 0 0; line-height: 1.5; }

/* 승인 후 진행 단계 */
.progress-steps { list-style: none; margin: 14px 0 6px; padding: 0; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.progress-steps li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--grey500); }
.progress-steps i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--card); color: var(--grey500); box-shadow: inset 0 0 0 1px var(--grey300); font-size: 12px; font-weight: 800; flex-shrink: 0; }
.progress-steps li.done { color: var(--grey800); }
.progress-steps li.done i { background: var(--navy); color: var(--on-navy); box-shadow: none; }
.progress-steps li.now { color: var(--navy); font-weight: 700; }
.progress-steps li.now i { background: var(--tint); color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.next-guide { text-align: left; background: var(--grey50); color: var(--grey800); border-radius: var(--radius); padding: 10px 12px; line-height: 1.6; }

/* ---------- 선할인 · 최종 견적 ---------- */
.choice.discount > span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; width: 100%; }
.choice.discount b { font-weight: 700; }
.choice.discount em { font-style: normal; font-weight: 700; color: var(--grey600); font-variant-numeric: tabular-nums; margin-left: auto; white-space: nowrap; }
.choice.discount.on em { color: var(--navy); font-weight: 800; }
.choice.discount small { flex-basis: 100%; color: var(--grey600); margin-top: 2px; }
.choice.discount input:disabled { cursor: default; }
.choice.discount:has(input:disabled) { cursor: default; background: var(--grey50); }
.choice.discount.partner { background: var(--card); }
.choice.discount.partner.on { background: var(--choice-on); }
.partner-note { background: var(--tint); color: var(--navy); font-weight: 700; font-size: 13.5px; border-radius: var(--radius); padding: 8px 12px; margin: 0 0 8px; }
/* 최종 견적: 상자 대신 장부처럼 괘선만, 합계 위만 진한 줄 */
.quote { background: var(--grey50); border-radius: var(--radius); padding: 16px; }
.quote-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 5px 0; font-size: 15px; font-variant-numeric: tabular-nums; }
.quote-row.minus { color: var(--grey700); font-weight: 600; font-size: 14.5px; }
.quote-row.minus b { color: var(--grey900); font-weight: 700; }
.quote-row.total { border-top: 1px solid var(--navy); margin-top: 10px; padding-top: 14px; font-size: 16px; font-weight: 700; }
.quote-row.total b { color: var(--navy); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.quote-row.sub { font-size: 14px; color: var(--grey600); }
.quote p { margin: 10px 0 0; }
.quote-q { border-bottom: 0; }

/* 자동 선택된 상품 */
.plan-pick { background: var(--grey50); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.plan-pick b { color: var(--navy); font-size: 17px; }
.plan-pick small { color: var(--grey600); font-size: 13.5px; }

/* ---------- 계약서 ---------- */
.contract-card { margin-top: 14px; border: 1px solid var(--navy); }
.contract-card.done { border-color: var(--grey300); }
.contract-summary h2, .contract-sign h2 { font-size: 20px; margin: 4px 0 10px; }
.contract-summary .kv-list > div { border-bottom: 1px solid var(--grey100); padding: 10px 0; }
.contract-summary .kv-list > div:last-child { border-bottom: 0; }
.contract-summary .kv-list dd { }
#contract-view { padding-top: 16px; }
.contract-full { max-height: 60vh; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--grey300) transparent; }
.c-doc { font-size: 14px; line-height: 1.8; color: var(--grey800); }
.c-doc .c-title { text-align: center; font-family: var(--font-serif); font-weight: 700; font-size: 21px; margin: 4px 0 16px; }
.c-doc h3 { font-size: 15px; margin: 18px 0 4px; color: var(--grey900); }
.c-doc h4 { font-size: 14.5px; margin: 12px 0 4px; }
.c-doc p { margin: 2px 0; }
.c-doc ul { margin: 2px 0 6px 18px; padding: 0; }
.c-doc .c-strong { font-weight: 700; color: var(--grey900); }
.c-signs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 18px; }
.c-sign { border: 1px solid var(--grey200); border-radius: var(--radius); padding: 10px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.c-sign img { height: 70px; object-fit: contain; align-self: flex-start; max-width: 100%; }
.c-seal { width: 70px; height: 70px; }
.c-sign-empty { height: 70px; display: flex; align-items: center; color: var(--grey500); }
.c-sign small { color: var(--grey500); font-size: 12px; }
.sign-pad { position: relative; background: var(--card); border: 1px dashed var(--field-line); border-radius: var(--radius); height: 180px; touch-action: none; }
.sign-pad canvas { width: 100%; height: 100%; display: block; touch-action: none; }
.sign-hint { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--grey500); font-size: 20px; pointer-events: none; }
.contract-sign .btn.block { margin-top: 8px; }
.contract-sign .btn.primary.block { margin-top: 18px; }
.c-biz { margin-top: 18px; }
.c-biz table { width: 100%; border-collapse: collapse; font-size: 13px; }
.c-biz th, .c-biz td { border: 1px solid var(--grey200); padding: 6px 8px; text-align: left; vertical-align: top; }
.c-biz th { width: 110px; background: var(--grey50); color: var(--grey600); font-weight: 600; }
.c-biz-img { max-width: 100%; margin-top: 10px; border-radius: var(--radius); border: 1px solid var(--grey200); }
.c-biz-note { font-size: 12.5px; color: var(--grey500); margin-top: 6px; }
.c-sign img.c-seal { width: 70px; height: 70px; object-fit: contain; }
.consent-more { margin: -2px 0 4px 4px; font-size: 14px; }
.consent-more summary { cursor: pointer; color: var(--navy); font-weight: 600; padding: 10px 0; }
.consent-more .consent-text { margin-top: 6px; }
.apply-footer { text-align: center; font-size: 13px; color: var(--grey500); padding: 0 16px 110px; }
.apply-footer a { color: var(--grey600); font-weight: 600; text-decoration: underline; text-decoration-color: var(--grey300); text-underline-offset: 3px; }

/* ---------- 예식 당일 담당자 현황 카드 (day-status.js) ---------- */
.day-card { margin-top: 0; }
.todo-card > p.day-summary { margin: 2px 0 14px; padding: 0 0 12px; border-bottom: 1px solid var(--rule); font-size: 18px; font-weight: 700; line-height: 1.45; color: var(--grey900); }
.day-steps { list-style: none; margin: 0; padding: 0; }
.day-steps li { position: relative; display: flex; gap: 14px; padding: 12px 12px 14px; margin: 0 -12px; border-radius: var(--radius); }
/* 단계 사이 줄: 끝낸 구간은 남색, 남은 구간은 연하게 */
.day-steps li:not(:last-child)::before { content: ''; position: absolute; left: 21.5px; top: 36px; bottom: -12px; width: 2px; background: var(--grey200); z-index: 0; }
.day-steps li.done:not(:last-child)::before { background: var(--navy); }
.day-mark { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; border: 1.5px solid var(--grey400); border-radius: 50%; background: var(--card); position: relative; z-index: 1; box-sizing: border-box; }
.day-steps li.done .day-mark { background: var(--navy); border-color: var(--navy); }
.day-steps li.done .day-mark::after { content: ''; position: absolute; left: 5.5px; top: 2px; width: 4px; height: 8px; border: solid var(--on-navy); border-width: 0 2px 2px 0; transform: rotate(45deg); }
/* 절반쯤 한 단계: 반 칠한 동그라미 (경계가 또렷한 두 색 나눔) */
.day-steps li.mid .day-mark { border-color: var(--navy); background: linear-gradient(90deg, var(--navy) 50%, var(--card) 50%); }
/* 지금 단계: 옅은 바탕 + 남색 고리 */
.day-steps li.now { background: var(--grey100); }
.day-steps li.now .day-mark { border-color: var(--navy); border-width: 2px; box-shadow: 0 0 0 4px var(--ring-soft); }
.day-row { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.day-row b { font-size: 16px; color: var(--grey500); font-weight: 700; }
.day-steps li.done b, .day-steps li.mid b, .day-steps li.now b { color: var(--grey900); }
.day-steps li.now b { font-size: 17px; }
.day-tag { margin-left: auto; font-size: 13.5px; font-weight: 700; color: var(--navy); }
.day-row small { flex-basis: 100%; color: var(--grey700); }
.day-row small.wait { color: var(--grey600); }
.day-steps li.now small.wait { color: var(--grey700); }
.day-names { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.day-names em { font-style: normal; font-size: 13.5px; font-weight: 600; color: var(--grey800); padding: 2px 9px; border: 1px solid var(--grey300); border-radius: 4px; background: var(--card); }
@media (prefers-reduced-motion: no-preference) { .day-steps li, .day-mark { transition: background-color .2s ease, border-color .2s ease; } }
@media (prefers-reduced-motion: reduce) { .choice { transition: none; } }
.day-push { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.day-push p { margin: 0; }
.day-install { margin: 0; padding-left: 18px; line-height: 1.7; }
.day-demo { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--grey300); }
.day-demo p { margin: 0 0 8px; }
.day-demo-row { display: flex; flex-wrap: wrap; gap: 6px; }
