/* CareTok 리뉴얼 새 화면(_v3.Layout · body.front) 컴포넌트 — PlanManager.Web front.css 복사(26.11.16) 후 정리(Design Ref: §6.1⑤).
   남긴 것: 글꼴 · body.front · 버튼 · 본문 · 공통 컴포넌트(폼·알림·표·로그인·상담 달력) · 홈 섹션 틀·카드 · FAQ · 하위 페이지 틀·가입·로그인·계약 · 모바일.
   뺀 것(PM 전용): 안내 띠 · 헤더 · 언어 메뉴 · 푸터 · Ask Tok · 히어로 슬라이더 · My space · 업체/코디네이터 · 포털.
   헤더·푸터는 두 레이아웃 공용 front.chrome.css. 값은 front.tokens.css 변수만 쓴다. 파일 끝 "CareTok" 구역은 module-1 홈·준비 중 화면. */

/* 글꼴 — IBM Plex Sans KR(26.11.17). @font-face 는 두 레이아웃이 같이 싣는 front.chrome.css 한 곳에만 */

* { box-sizing: border-box; }

body.front {
    margin: 0;
    font-family: var(--pm-font-family);
    font-size: var(--pm-font-size-body);
    line-height: var(--pm-line-height);
    color: var(--pm-color-text);
    background: var(--pm-color-bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.front a { color: var(--pm-color-link); }
.front img { max-width: 100%; }

/* 버튼 — 알약 모양. primary · accent = 노랑(Join · Upload), green = 초록(Talk to a plan manager), outline = 흰 바탕 테두리 */
.front-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--pm-space-2);
    padding: var(--pm-space-2) var(--pm-space-4);
    font: inherit;
    font-weight: var(--pm-font-weight-semibold);
    color: var(--pm-color-text);
    text-decoration: none;
    background: var(--pm-color-bg);
    border: var(--pm-border-width) solid var(--pm-color-border);
    border-radius: var(--pm-radius-round);
    cursor: pointer;
}
.front .front-button { color: var(--pm-color-text); }
.front .front-button-accent,
.front .front-button-primary { background: var(--pm-color-accent); color: var(--pm-color-accent-text); border-color: var(--pm-color-accent); }
.front .front-button-green { background: var(--pm-color-green); color: var(--pm-color-on-dark); border-color: var(--pm-color-green); }
.front .front-button-outline-green { background: var(--pm-color-bg); color: var(--pm-color-green); border-color: var(--pm-color-green); }
.front .front-button-outline { padding: var(--pm-space-1) var(--pm-space-3); font-weight: normal; background: var(--pm-color-bg); }
.front .front-button-store { background: var(--pm-color-black); color: var(--pm-color-on-dark); border-color: var(--pm-color-black); }
.front-button-large { padding: var(--pm-space-3) var(--pm-space-4); font-size: var(--pm-font-size-lead); }
.front-button-phone::before {
    content: "";
    width: var(--pm-icon-small);
    height: var(--pm-icon-small);
    background: url("../img/icon-phone.svg") center / contain no-repeat;
}

/* 본문 */
.front-main { flex: 1; width: 100%; max-width: var(--pm-content-width); margin: 0 auto; padding: var(--pm-space-5) var(--pm-space-3); }
.front-main.front-main-wide { max-width: none; padding: 0; }
.front-title { margin: 0 0 var(--pm-space-3); font-size: var(--pm-font-size-title); line-height: var(--pm-line-height-tight); }
.front-lead { color: var(--pm-color-muted); }

/* ── 2단계 공통 컴포넌트(와이어프레임) ─────────────────────── */

/* hidden 속성이 아래 display 규칙에 지지 않게 */
.front [hidden] { display: none !important; }

.front :focus-visible { outline: var(--pm-focus-width) solid var(--pm-color-focus); outline-offset: var(--pm-focus-width); }

.front-visually-hidden,
.front-hp {
    position: absolute;
    width: var(--pm-hidden-size);
    height: var(--pm-hidden-size);
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* 페이지 틀 */
.front-page { display: flex; flex-direction: column; gap: var(--pm-space-4); }
.front-narrow { width: 100%; max-width: var(--pm-narrow-width); margin: 0 auto; }
.front-split { display: grid; grid-template-columns: minmax(0, 1fr) var(--pm-side-width); gap: var(--pm-space-4); align-items: start; }
.front-split-main,
.front-split-side { display: flex; flex-direction: column; gap: var(--pm-space-4); min-width: 0; }
/* 좁은 폭에서는 옆 칸(고정폭)을 아래로 쌓는다 — 390 가로 스크롤 방지(접수 D1·D4·D5·A1 · C4 공용) */
@media (max-width: 900px) { .front-split { grid-template-columns: minmax(0, 1fr); } }
.front-section { display: flex; flex-direction: column; gap: var(--pm-space-3); }
.front-hero { display: flex; flex-direction: column; align-items: flex-start; gap: var(--pm-space-3); }
.front-breadcrumb { font-size: var(--pm-font-size-small); color: var(--pm-color-muted); }

.front-card {
    display: flex;
    flex-direction: column;
    gap: var(--pm-space-3);
    padding: var(--pm-space-4);
    background: var(--pm-color-bg);
    border: var(--pm-border-width) solid var(--pm-color-border);
    border-radius: var(--pm-radius-card);
}
.front-card > * { margin: 0; }
.front-heading { margin: 0; font-size: var(--pm-font-size-heading); }
.front-subheading { margin: var(--pm-space-2) 0 0; font-size: var(--pm-font-size-subheading); }
.front-note,
.front-help,
.front-optional { color: var(--pm-color-muted); font-size: var(--pm-font-size-small); }
.front-note { margin: 0; }
.front-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--pm-space-3); margin: 0; }
.front-steps,
.front-list { margin: 0; padding-left: var(--pm-space-4); display: flex; flex-direction: column; gap: var(--pm-space-2); }
.front-chips { display: flex; flex-wrap: wrap; gap: var(--pm-space-2); margin: 0; padding: 0; list-style: none; }
.front-chips li { padding: var(--pm-space-2) var(--pm-space-3); background: var(--pm-color-surface); border-radius: var(--pm-radius-round); }
.front-step-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(var(--pm-grid-min), 1fr)); gap: var(--pm-space-3); margin: 0; padding: 0; list-style: none; }
.front-features { display: flex; flex-direction: column; gap: var(--pm-space-3); margin: 0; padding: 0; list-style: none; }
.front-features li { display: flex; flex-direction: column; }
.front-faq { border-top: var(--pm-border-width) solid var(--pm-color-border); padding: var(--pm-space-2) 0; }
.front-faq summary { cursor: pointer; font-weight: bold; }

.front-button-primary { background: var(--pm-color-selected-bg); color: var(--pm-color-selected-text); border-color: var(--pm-color-selected-bg); }
.front-button:disabled { cursor: not-allowed; opacity: var(--pm-opacity-disabled); }

/* 폼 */
.front-form { display: flex; flex-direction: column; gap: var(--pm-space-3); max-width: var(--pm-form-width); }
.front-split-main .front-form,
.front-form .front-form { max-width: none; }
.front-field { display: flex; flex-direction: column; gap: var(--pm-space-1); }
.front-label { font-weight: bold; }
.front-input {
    width: 100%;
    padding: var(--pm-space-2) var(--pm-space-3);
    font: inherit;
    color: var(--pm-color-text);
    background: var(--pm-color-bg);
    border: var(--pm-border-width) solid var(--pm-color-border);
    border-radius: var(--pm-radius);
}
.front-input[aria-invalid="true"] { border-color: var(--pm-color-error); }
.front-input-group { display: flex; align-items: stretch; }
.front-input-prefix {
    display: flex;
    align-items: center;
    padding: 0 var(--pm-space-3);
    background: var(--pm-color-surface);
    border: var(--pm-border-width) solid var(--pm-color-border);
    border-right: 0;
    border-radius: var(--pm-radius) 0 0 var(--pm-radius);
}
.front-input-group .front-input { border-radius: 0 var(--pm-radius) var(--pm-radius) 0; }
/* 코드 입력칸 1개를 6칸처럼 보이게(§12 K23) — 6단계 스킨이 모양을 바꾼다 */
.front-input-code { font-size: var(--pm-font-size-code); letter-spacing: var(--pm-letter-spacing-code); text-align: center; }
.front-field-error { color: var(--pm-color-error); font-size: var(--pm-font-size-small); }
.front-fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: var(--pm-space-2); min-width: 0; }
.front-fieldset-plain { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: var(--pm-space-4); min-width: 0; }
.front-choices { display: flex; flex-direction: column; gap: var(--pm-space-2); }
.front-choices-inline { flex-direction: row; flex-wrap: wrap; gap: var(--pm-space-3); }
.front-choice { display: flex; align-items: flex-start; gap: var(--pm-space-2); cursor: pointer; }
.front-choice input { flex: none; width: var(--pm-checkbox-size); height: var(--pm-checkbox-size); margin: 0; }
.front-choice-strong { font-weight: bold; }
.front-option { padding: var(--pm-space-3); border: var(--pm-border-width) solid var(--pm-color-border); border-radius: var(--pm-radius); }
.front-option-list { display: flex; flex-direction: column; gap: var(--pm-space-2); margin: 0; padding: 0; list-style: none; }
.front-subform { display: flex; flex-direction: column; gap: var(--pm-space-3); padding: var(--pm-space-3); background: var(--pm-color-surface); border-radius: var(--pm-radius); }
.front-help.is-highlighted { color: var(--pm-color-text); font-weight: bold; }
.front-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(var(--pm-grid-min), 1fr)); gap: var(--pm-space-3); }
.front-grid-wide { grid-column: 1 / -1; }

/* 알림 */
.front-alert {
    margin: 0;
    padding: var(--pm-space-3);
    color: var(--pm-color-text);
    background: var(--pm-color-error-bg);
    border-left: var(--pm-space-1) solid var(--pm-color-error);
    border-radius: var(--pm-radius);
}
.front-alert-ok { background: var(--pm-color-ok-bg); border-left-color: var(--pm-color-text); }
.front-alert-title { margin: 0; font-weight: bold; }
.front-alert-list { margin: var(--pm-space-2) 0 0; padding-left: var(--pm-space-4); }
.front-alert p { margin: 0; }

/* 요약 표 */
.front-summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--pm-space-2) var(--pm-space-3); margin: 0; }
.front-summary dt { color: var(--pm-color-muted); }
.front-summary dd { margin: 0; overflow-wrap: anywhere; }
.front-table-wrap { overflow-x: auto; }
.front-table { width: 100%; border-collapse: collapse; }
.front-table th,
.front-table td { padding: var(--pm-space-2); text-align: left; border-bottom: var(--pm-border-width) solid var(--pm-color-border); }

/* 로그인 */
.front-tabs { display: flex; border-bottom: var(--pm-border-width) solid var(--pm-color-border); }
.front-tab {
    flex: 1;
    padding: var(--pm-space-2) var(--pm-space-3);
    font: inherit;
    color: var(--pm-color-muted);
    background: none;
    border: 0;
    border-bottom: var(--pm-focus-width) solid transparent;
    cursor: pointer;
}
.front-tab[aria-selected="true"],
.front-tab[aria-current="page"],
.front-my-tab[aria-current="page"] { color: var(--pm-color-text); font-weight: bold; border-bottom-color: var(--pm-color-text); }
.front-code-area { display: flex; flex-direction: column; gap: var(--pm-space-3); }
.front-status { margin: 0; font-weight: bold; }
.front-login-links { display: flex; flex-direction: column; gap: var(--pm-space-2); }
.front-login-links p { margin: 0; }

/* 온보딩 진행 */
.front-progress { display: flex; flex-wrap: wrap; gap: var(--pm-space-2); margin: 0; padding: 0; list-style: none; }
.front-progress a,
.front-my-step {
    display: flex;
    align-items: center;
    gap: var(--pm-space-2);
    padding: var(--pm-space-2) var(--pm-space-3);
    text-decoration: none;
    border: var(--pm-border-width) solid var(--pm-color-border);
    border-radius: var(--pm-radius-round);
}
.front-progress .is-current a,
.front-progress .is-current .front-my-step { background: var(--pm-color-selected-bg); color: var(--pm-color-selected-text); }
.front-progress .is-done a,
.front-progress .is-done .front-my-step { background: var(--pm-color-surface); }
.front-progress-no { font-weight: bold; }

/* 계약 미리보기 · 서명 */
.front-pdf-scroll { max-height: var(--pm-pdf-height); overflow-y: auto; background: var(--pm-color-surface); border: var(--pm-border-width) solid var(--pm-color-border); border-radius: var(--pm-radius); }
.front-pdf-scroll canvas { display: block; width: 100%; height: auto; margin-bottom: var(--pm-space-2); }
.front-sign-area { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: var(--pm-space-3); min-width: 0; }
.front-sign-area:disabled { opacity: var(--pm-opacity-disabled); }
.front-sign-area:disabled canvas { pointer-events: none; }
.front-signature { display: flex; flex-direction: column; align-items: flex-start; gap: var(--pm-space-2); }
.front-signature canvas {
    width: 100%;
    height: var(--pm-signature-height);
    background: var(--pm-color-bg);
    border: var(--pm-border-width) dashed var(--pm-color-border);
    border-radius: var(--pm-radius);
    touch-action: none;
}
.front-dialog { max-width: var(--pm-narrow-width); padding: var(--pm-space-4); border: var(--pm-border-width) solid var(--pm-color-border); border-radius: var(--pm-radius); box-shadow: var(--pm-shadow); }

/* 상담 달력 */
.front-calendar { display: flex; flex-direction: column; gap: var(--pm-space-3); }
.front-calendar-days,
.front-calendar-times { display: flex; flex-wrap: wrap; gap: var(--pm-space-2); }
.front-day,
.front-slot {
    padding: var(--pm-space-2) var(--pm-space-3);
    font: inherit;
    color: var(--pm-color-text);
    background: var(--pm-color-surface);
    border: var(--pm-border-width) solid var(--pm-color-border);
    border-radius: var(--pm-radius);
    cursor: pointer;
}
.front-day[aria-pressed="true"],
.front-slot[aria-pressed="true"] { background: var(--pm-color-selected-bg); color: var(--pm-color-selected-text); border-color: var(--pm-color-selected-bg); }

/* ── 6단계 홈(Figma 451:1966 데스크톱 · 451:2978 모바일) ─────────────── */

/* 공통 머리글 — 초록 작은 머리말 · 큰 제목 · 보조 글 */
.front-eyebrow,
.front-hero-eyebrow { margin: 0; font-size: var(--pm-font-size-subheading); font-weight: var(--pm-font-weight-semibold); color: var(--pm-color-green); }
.front-section-title { margin: var(--pm-space-2) 0 0; font-size: var(--pm-font-size-section); font-weight: var(--pm-font-weight-bold); line-height: var(--pm-line-height-tight); color: var(--pm-color-text); }
.front-section-lead { margin: var(--pm-space-1) 0 0; font-size: var(--pm-font-size-subheading); color: var(--pm-color-body); }

/* 섹션 틀 — 배경은 화면 끝까지, 내용은 가운데 --pm-home-width(920) */
.front-home { gap: 0; }
.front-home-section {
    display: flex;
    flex-direction: column;
    gap: var(--pm-space-4);
    padding: var(--pm-space-6) max(var(--pm-space-4), calc((100% - var(--pm-home-width)) / 2));
}
.front-home-section > .front-section-title { margin-top: calc(var(--pm-space-4) * -1 + var(--pm-space-2)); }
.front-home-panel {
    display: flex;
    flex-direction: column;
    gap: var(--pm-space-4);
    margin: 0 max(0px, calc((100% - var(--pm-panel-width)) / 2));
    /* % 는 부모(화면) 폭 기준 — 패널 실제 폭 min(100%, 패널 최대폭)으로 계산해야 넓은 화면에서 본문이 줄지 않는다 */
    padding: var(--pm-space-6) max(var(--pm-space-4), calc((min(100%, var(--pm-panel-width)) - var(--pm-home-width)) / 2));
    border-radius: var(--pm-radius-panel);
}
.front-home-panel > .front-section-title { margin-top: calc(var(--pm-space-4) * -1 + var(--pm-space-2)); }
.front-home-panel > .front-section-lead { margin-top: calc(var(--pm-space-4) * -1 + var(--pm-space-1)); }

/* 카드 격자(4칸 · 3칸) — 공통 카드 글자 */
.front-home-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--pm-space-3); margin: 0; padding: 0; list-style: none; }
.front-home-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.front-home-card-title { display: block; font-size: var(--pm-font-size-lead); font-weight: var(--pm-font-weight-bold); line-height: var(--pm-line-height-tight); color: var(--pm-color-text); }
.front-home-card-body { display: block; color: var(--pm-color-body); line-height: var(--pm-line-height-loose); }
.front-home-more { font-weight: var(--pm-font-weight-semibold); color: var(--pm-color-green); text-decoration: none; }

/* 태그(알약) */
.front-tag { display: inline-block; padding: var(--pm-space-1) var(--pm-space-2); font-size: var(--pm-font-size-subheading); font-weight: var(--pm-font-weight-semibold); line-height: var(--pm-line-height-tight); border-radius: var(--pm-radius-round); }
.front-tag-green { background: var(--pm-color-green); color: var(--pm-color-on-dark); }
.front-tag-yellow { background: var(--pm-color-yellow); color: var(--pm-color-text); }
.front-tag-mint { background: var(--pm-color-mint); color: var(--pm-color-green); }
.front-tag-pale-yellow { background: var(--pm-color-yellow-pale); color: var(--pm-color-yellow-text); }

/* 번호 원 — 노란 테두리(기본) · 채움(is-filled) */
.front-step-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: var(--pm-step-no-size);
    height: var(--pm-step-no-size);
    font-weight: var(--pm-font-weight-bold);
    color: var(--pm-color-text);
    border: var(--pm-focus-width) solid var(--pm-color-yellow);
    border-radius: var(--pm-radius-round);
}
.front-step-no.is-filled { background: var(--pm-color-yellow); }

/* #15 FAQ 미리보기 — 문항 앞 초록 Q */
.front-home-faq .front-faq-list { gap: 0; }
.front-home-faq .front-faq-item { border-top: 0; padding: 0 var(--pm-space-3); }
.front-home-faq .front-faq-q button::before { content: "Q"; margin-right: var(--pm-space-3); color: var(--pm-color-green); }
.front-home-faq .front-faq-a { padding-left: 0; }
.front-home-faq-all { margin: 0; text-align: center; }

/* #16 안심 안내 — 회색 둥근 띠 */
.front-home-safety {
    flex-direction: row;
    align-items: center;
    gap: var(--pm-space-4);
    flex-wrap: nowrap;
    margin-bottom: var(--pm-space-4);
    padding-top: var(--pm-space-5);
    padding-bottom: var(--pm-space-5);
    padding-right: var(--pm-space-5);
    background: var(--pm-color-surface);
}
.front-home-safety-title { margin: 0; font-size: var(--pm-font-size-heading); font-weight: var(--pm-font-weight-bold); }
.front-home-safety-list { flex: 1; display: flex; flex-wrap: wrap; gap: var(--pm-space-2) var(--pm-space-5); margin: 0; padding: 0; list-style: none; font-size: var(--pm-font-size-subheading); }

/* FAQ 아코디언(/faq · 홈 미리보기) */
.front-faq-tools { gap: var(--pm-space-3); }
.front-faq-cats { display: flex; flex-wrap: wrap; gap: var(--pm-space-2); }
.front-faq-cat {
    padding: var(--pm-space-2) var(--pm-space-3);
    font: inherit;
    color: var(--pm-color-text);
    background: var(--pm-color-surface);
    border: var(--pm-border-width) solid var(--pm-color-border);
    border-radius: var(--pm-radius-round);
    cursor: pointer;
}
.front-faq-cat[aria-pressed="true"] { background: var(--pm-color-selected-bg); color: var(--pm-color-selected-text); border-color: var(--pm-color-selected-bg); }
.front-faq-list { display: flex; flex-direction: column; gap: var(--pm-space-4); }
.front-faq-group { gap: 0; }
.front-faq-item { border-top: var(--pm-border-width) solid var(--pm-color-border); }
.front-faq-q { margin: 0; font-size: var(--pm-font-size-body); }
.front-faq-q button {
    width: 100%;
    padding: var(--pm-space-3) 0;
    font: inherit;
    font-weight: bold;
    color: var(--pm-color-text);
    text-align: left;
    background: none;
    border: 0;
    cursor: pointer;
}
.front-faq-q button::after { content: "+"; float: right; }
.front-faq-q button[aria-expanded="true"]::after { content: "−"; }
.front-faq-a { display: flex; flex-direction: column; gap: var(--pm-space-2); padding: 0 0 var(--pm-space-3); }
.front-faq-a p { margin: 0; }
.front-faq-helpful { display: flex; flex-wrap: wrap; align-items: center; gap: var(--pm-space-2); font-size: var(--pm-font-size-small); }

/* 정책 */
.front-policy { max-width: var(--pm-form-width); }
.front-policy-toc-list { margin: 0; padding-left: var(--pm-space-4); display: flex; flex-direction: column; gap: var(--pm-space-1); list-style: none; }
.front-policy-section > * { margin: 0; }

/* ── 6단계 하위 페이지(Figma 428:1082 데스크톱 · 433:* 모바일, 2차 묶음 26.10.27) ─────────────
   위 2~4단계 와이어프레임 규칙을 이 구역이 덮어쓴다(같은 클래스 · 뒤에 둠). 홈(.front-main-wide)은 건드리지 않는다. */

/* 틀 — 회색 본문 바탕은 화면 끝까지(그림자 + clip-path 로 가로만 늘림, 가로 스크롤 없음), 내용은 가운데 */
.front-main:not(.front-main-wide) {
    max-width: calc(var(--pm-sub-width) + 2 * var(--pm-space-4));
    padding: var(--pm-space-5) var(--pm-space-4) var(--pm-space-6);
    background: var(--pm-color-surface);
    box-shadow: 0 0 0 100vmax var(--pm-color-surface);
    clip-path: inset(0 -100vmax);
}
.front-main:not(.front-main-wide) > .front-page { gap: var(--pm-space-4); }
.front-page.front-sub-narrow { max-width: var(--pm-sub-narrow); width: 100%; margin: 0 auto; }

/* 머리 띠(page hero) — 민트 바탕 · 빵부스러기 · 큰 제목 · 보조 글 · 오른쪽 톡이 */
.front-page > .front-hero {
    position: relative;
    gap: var(--pm-space-2);
    min-height: calc(var(--pm-hero-tok) + var(--pm-space-4));
    padding: var(--pm-space-4) calc(var(--pm-hero-tok) + var(--pm-space-5)) var(--pm-space-5) 0;
    margin-bottom: var(--pm-space-2);
    color: var(--pm-color-text);
    background: var(--pm-color-mint);
    box-shadow: 0 0 0 100vmax var(--pm-color-mint);
    clip-path: inset(0 -100vmax);
}
.front-main > .front-page > .front-hero:first-child { margin-top: calc(var(--pm-space-5) * -1); }
/* My space 안에 다시 들어온 페이지(로그인 업체 · 코디네이터)는 띠 없이 — 띠는 _MyLayout 머리가 이미 그렸다 */
.front-my .front-page > .front-hero { min-height: 0; margin: 0; padding: 0; background: none; box-shadow: none; clip-path: none; }
.front-my .front-page > .front-hero .front-hero-tok { display: none; }
.front-hero > * { margin: 0; }
.front-hero .front-title { font-size: var(--pm-font-size-page-title); font-weight: var(--pm-font-weight-bold); line-height: var(--pm-line-height-tight); }
.front-hero .front-lead,
.front-hero .front-list { font-size: var(--pm-font-size-subheading); color: var(--pm-color-body); }
.front-hero .front-list { padding-left: var(--pm-space-4); }
.front-hero-tok {
    position: absolute;
    right: var(--pm-space-4);
    bottom: 0;
    width: var(--pm-hero-tok);
    height: auto;
    mix-blend-mode: multiply;   /* 톡이 에셋의 흰 바탕을 민트 위에서 지운다 */
}
.front-breadcrumb { font-size: var(--pm-font-size-body); color: var(--pm-color-body); }
.front .front-breadcrumb a { color: var(--pm-color-body); text-decoration: none; }
.front-breadcrumb [aria-hidden="true"] { margin: 0 var(--pm-space-1); color: var(--pm-color-faint); }
.front-breadcrumb [aria-current="page"] { color: var(--pm-color-text); font-weight: var(--pm-font-weight-medium); }

/* 카드 · 옆 칸 — 옆 칸 안내 카드는 연노랑(.front-card-pale — Figma "What happens next" · "How sign-up works" · "Your booking") */
.front-main:not(.front-main-wide) .front-card { padding: var(--pm-space-4) calc(var(--pm-space-4) + var(--pm-space-1)); border-color: var(--pm-color-border); }
.front-split { gap: var(--pm-space-4); }
.front-main:not(.front-main-wide) .front-card-pale { background: var(--pm-color-yellow-pale); border-color: transparent; }
.front-heading { font-size: var(--pm-font-size-subheading); font-weight: var(--pm-font-weight-bold); line-height: var(--pm-line-height-tight); }
.front-subheading { font-size: var(--pm-font-size-body); font-weight: var(--pm-font-weight-bold); }
.front-note { color: var(--pm-color-body); }
.front-steps li::marker { font-weight: var(--pm-font-weight-bold); color: var(--pm-color-green); }
.front-list li::marker { color: var(--pm-color-green); }

/* 번호 머리 — 노란 원(업체 1·2·3 · 계약 단계) */
.front-heading-dot { display: flex; align-items: center; gap: var(--pm-space-2); }
.front-heading-dot::before {
    content: "";
    flex: none;
    width: var(--pm-dot-size);
    height: var(--pm-dot-size);
    background: var(--pm-color-yellow);
    border-radius: var(--pm-radius-round);
}

/* 폼 — 입력칸 높이 · 둥근 모서리 · 초록 포커스, 라벨은 보통 굵기 */
.front-label { font-weight: var(--pm-font-weight-medium); color: var(--pm-color-text); }
legend.front-label { margin-bottom: var(--pm-space-1); }
.front-input {
    min-height: var(--pm-input-height);
    padding: var(--pm-space-2) var(--pm-space-3);
    border-color: var(--pm-color-input-border);
    border-radius: var(--pm-radius-input);
}
textarea.front-input { min-height: calc(var(--pm-input-height) * 2); }
.front-input:focus { border-color: var(--pm-color-green); box-shadow: 0 0 0 var(--pm-border-width) var(--pm-color-green); outline: none; }
.front-input::placeholder { color: var(--pm-color-faint); }
input[type="file"].front-input { padding-top: var(--pm-space-3); }
.front-help { color: var(--pm-color-body); }
.front-optional { font-weight: normal; color: var(--pm-color-faint); }
.front-field { gap: var(--pm-space-2); }
.front-form { gap: var(--pm-space-4); }
.front-grid { gap: var(--pm-space-3); }
.front-input-group { gap: var(--pm-space-2); }
.front-input-prefix { border: var(--pm-border-width) solid var(--pm-color-input-border); border-radius: var(--pm-radius-input); }
.front-input-group .front-input { border-radius: var(--pm-radius-input); }
.front-choice { align-items: center; }
.front-choice input { width: calc(var(--pm-checkbox-size) + var(--pm-space-1)); height: calc(var(--pm-checkbox-size) + var(--pm-space-1)); accent-color: var(--pm-color-green); }
.front-form .front-choices { flex-direction: row; flex-wrap: wrap; gap: var(--pm-space-2) var(--pm-space-4); }
.front-option { padding: var(--pm-space-3); background: var(--pm-color-bg); border-color: var(--pm-color-input-border); border-radius: var(--pm-radius); }
.front-option:has(input:checked) { background: var(--pm-color-mint); border-color: var(--pm-color-green); }
.front-subform { background: var(--pm-color-card-head); border-radius: var(--pm-radius); }
/* 카드 모양 fieldset 의 legend 는 테두리 위가 아니라 카드 안 첫 줄로 */
.front-card.front-fieldset > legend { float: left; width: 100%; margin: 0 0 var(--pm-space-2); padding: 0; }
.front-card.front-fieldset > legend + * { clear: both; }
.front-field-error { font-weight: var(--pm-font-weight-medium); }

/* 버튼 — 주 버튼은 화면 어디서나 노랑(Figma 468:2637 · 26.11.17 재대조 §4.1-4, 초록 주 버튼 폐기) */
.front-main:not(.front-main-wide) .front-button-primary { background: var(--pm-color-accent); color: var(--pm-color-accent-text); border-color: var(--pm-color-accent); font-weight: var(--pm-font-weight-bold); }
.front-main:not(.front-main-wide) .front-button { min-height: var(--pm-button-height); }   /* Figma 하위 페이지 버튼 49~50px(4차) */
.front-button-block { width: 100%; padding: var(--pm-space-3) var(--pm-space-4); font-size: var(--pm-font-size-subheading); }
.front .front-button-link { min-height: 0; padding: 0; font-weight: var(--pm-font-weight-bold); color: var(--pm-color-green); background: none; border: 0; }
.front .front-button-link:disabled { color: var(--pm-color-faint); opacity: 1; }

/* 알림 — 오류(빨강) · 확인(민트) · 주의(연노랑: 빨리 쓰는 예산 · 승인 대기) */
.front-alert { border: var(--pm-border-width) solid var(--pm-color-error); border-radius: var(--pm-radius); }
.front-alert-ok { background: var(--pm-color-mint-pale); border-color: var(--pm-color-mint-border); }
.front-alert-warn { color: var(--pm-color-yellow-text); background: var(--pm-color-yellow-pale); border-color: var(--pm-color-yellow); }
.front .front-alert-warn a { font-weight: var(--pm-font-weight-bold); color: var(--pm-color-green); }

/* 배지 — 알약(상태별 색) */
.front-badge { padding: var(--pm-space-1) var(--pm-space-3); font-weight: var(--pm-font-weight-bold); white-space: nowrap; background: var(--pm-color-surface); border: 0; }
.front-badge[data-status="approve"] { background: var(--pm-color-yellow-pale); color: var(--pm-color-yellow-text); }
.front-badge[data-status="processing"] { background: var(--pm-color-info-bg); color: var(--pm-color-info-text); }
.front-badge[data-status="paid"],
.front-badge[data-pace="onTrack"] { background: var(--pm-color-mint); color: var(--pm-color-green); }
.front-badge[data-status="hold"],
.front-badge[data-pace="over"],
.front-badge[data-pace="ahead"] { background: var(--pm-color-error-pale); color: var(--pm-color-error); border: 0; }

/* 표 — 흰 카드 안, 머리행은 옅은 바탕 */
.front-table th { font-size: var(--pm-font-size-small); font-weight: var(--pm-font-weight-medium); color: var(--pm-color-body); background: var(--pm-color-card-head); }
.front-table th,
.front-table td { padding: var(--pm-space-3); vertical-align: middle; }
.front-section > .front-table-wrap,
.front-page > .front-table-wrap {
    padding: var(--pm-space-2) var(--pm-space-4) var(--pm-space-3);
    background: var(--pm-color-bg);
    border: var(--pm-border-width) solid var(--pm-color-border);
    border-radius: var(--pm-radius-card);
}

/* 탭 — 밑줄(초록). 로그인 대상 탭은 아래 로그인 구역에서 알약 둘 */
.front-tabs { gap: var(--pm-space-3); }
.front-tab { flex: none; padding: var(--pm-space-2) var(--pm-space-3); font-weight: var(--pm-font-weight-medium); color: var(--pm-color-text); border-bottom-width: calc(var(--pm-focus-width) + var(--pm-border-width)); }
.front-tab[aria-selected="true"],
.front-tab[aria-current="page"] { color: var(--pm-color-green); font-weight: var(--pm-font-weight-bold); border-bottom-color: var(--pm-color-green); }

/* 진행 칩(인보이스 단계 · 의뢰 단계) */
.front-progress a,
.front-my-step { background: var(--pm-color-bg); border-color: var(--pm-color-border); }
.front-progress .is-current a,
.front-progress .is-current .front-my-step { background: var(--pm-color-green); color: var(--pm-color-on-dark); border-color: var(--pm-color-green); }
.front-progress .is-done a,
.front-progress .is-done .front-my-step { background: var(--pm-color-mint); color: var(--pm-color-green); border-color: var(--pm-color-mint); }

/* 대화상자 */
.front-dialog { border-radius: var(--pm-radius-card); border-color: var(--pm-color-border); }

/* 켜기/끄기 스위치 — 체크박스 그대로(이름 · 값 · JS 동일), 겉모습만 */
.front-toggles { display: flex; flex-direction: column; gap: 0; }
.front-form .front-toggles { flex-direction: column; flex-wrap: nowrap; gap: 0; }
.front-toggles .front-choice {
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: var(--pm-space-3);
    padding: var(--pm-space-3) 0;
    border-bottom: var(--pm-border-width) solid var(--pm-color-border);
}
.front-toggles .front-choice:last-child { border-bottom: 0; }
.front-toggles input[type="checkbox"] {
    position: relative;
    flex: none;
    width: var(--pm-toggle-width);
    height: var(--pm-toggle-height);
    margin: 0;
    appearance: none;
    background: var(--pm-color-meter-track);
    border-radius: var(--pm-radius-round);
    cursor: pointer;
    transition: background var(--pm-toggle-speed) ease;
}
.front-toggles input[type="checkbox"]::before {
    content: "";
    position: absolute;
    top: calc((var(--pm-toggle-height) - var(--pm-toggle-knob)) / 2);
    left: calc((var(--pm-toggle-height) - var(--pm-toggle-knob)) / 2);
    width: var(--pm-toggle-knob);
    height: var(--pm-toggle-knob);
    background: var(--pm-color-bg);
    border-radius: var(--pm-radius-round);
    transition: transform var(--pm-toggle-speed) ease;
}
.front-toggles input[type="checkbox"]:checked { background: var(--pm-color-green); }
.front-toggles input[type="checkbox"]:checked::before { transform: translateX(calc(var(--pm-toggle-width) - var(--pm-toggle-height))); }
.front-toggles input[type="checkbox"]:disabled { cursor: not-allowed; opacity: var(--pm-opacity-disabled); }
@media (prefers-reduced-motion: reduce) {
    .front-toggles input[type="checkbox"],
    .front-toggles input[type="checkbox"]::before { transition: none; }
}

/* ── 가입 · 옮기기 ── */
.front-signup-links { display: flex; flex-direction: column; gap: var(--pm-space-2); margin: 0; }
.front-signup-links > * { margin: 0; }
.front .front-signup-links a { font-weight: var(--pm-font-weight-medium); text-decoration: none; }
.front-side-tok { width: var(--pm-hero-tok-small); height: auto; mix-blend-mode: multiply; }
.front-switch-reasons {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: var(--pm-space-5);
    padding: var(--pm-space-5);
    background: var(--pm-color-mint);
    border: var(--pm-border-width) solid var(--pm-color-mint-border);
    border-radius: var(--pm-radius-card);
}
.front-switch-reasons-side { display: flex; flex-direction: column; gap: var(--pm-space-4); }
.front-switch-reasons-side .front-heading { font-size: var(--pm-font-size-section); }
.front-switch-reasons-main { display: flex; flex-direction: column; gap: var(--pm-space-3); }
.front-switch-reasons-main > * { margin: 0; }
.front-switch-reasons .front-chips { flex-direction: column; flex-wrap: nowrap; }
.front-switch-reasons .front-chips li { display: flex; align-items: flex-start; gap: var(--pm-space-2); padding: var(--pm-space-3); background: var(--pm-color-bg); border-radius: var(--pm-radius); }
.front-switch-reasons .front-chips li::before {
    content: "✓";
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--pm-checkbox-size);
    height: var(--pm-checkbox-size);
    margin-top: var(--pm-space-1);
    font-size: var(--pm-font-size-small);
    font-weight: var(--pm-font-weight-bold);
    color: var(--pm-color-on-dark);
    background: var(--pm-color-green);
    border-radius: var(--pm-space-1);
}
.front .front-switch-reasons .front-button:first-child { color: var(--pm-color-on-dark); background: var(--pm-color-green); border-color: var(--pm-color-green); }
.front .front-switch-reasons .front-button + .front-button { color: var(--pm-color-green); border-color: var(--pm-color-green); }
.front-main:not(.front-main-wide) .front-step-cards > .front-card { background: transparent; border-color: transparent; }
.front-main:not(.front-main-wide) .front-step-cards > .front-card:first-child { background: var(--pm-color-yellow-pale); }
.front-step-cards .front-subheading { margin: 0; }

/* ── 로그인(/login · /login/choose · /login/participant · /login/password) ── */
.front-page.front-login {
    position: relative;
    grid-template-columns: minmax(0, var(--pm-login-card-width)) minmax(0, 1fr);
    gap: var(--pm-space-5);
    max-width: var(--pm-sub-narrow);
    width: 100%;
    margin: 0 auto;
}
.front-main:not(.front-main-wide) .front-login .front-card,
.front-main:not(.front-main-wide) .front-login-single .front-card {
    gap: var(--pm-space-4);
    padding: var(--pm-space-5) calc(var(--pm-space-5) - var(--pm-space-2));
    border: 0;
    border-radius: var(--pm-radius-login);
}
.front-login .front-title,
.front-login-single .front-title { margin: 0; font-size: var(--pm-font-size-section); }
.front-login .front-lead,
.front-login-single .front-lead { margin: 0; color: var(--pm-color-body); }
.front-login .front-form { gap: var(--pm-space-3); }
.front-login .front-tabs {
    gap: 0;
    padding: var(--pm-space-1);
    background: var(--pm-color-segment);
    border: 0;
    border-radius: var(--pm-radius-round);
}
.front-login .front-tab { flex: 1; padding: var(--pm-space-2); border: 0; border-radius: var(--pm-radius-round); color: var(--pm-color-body); }
.front-login .front-tab[aria-selected="true"] { color: var(--pm-color-text); background: var(--pm-color-bg); box-shadow: var(--pm-shadow-card); }
/* 문자 · 이메일 고르기 = 라디오 그대로, 밑줄 탭 모양 */
.front-login-channel > legend { position: absolute; width: var(--pm-hidden-size); height: var(--pm-hidden-size); overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.front-form .front-login-channel .front-choices { gap: var(--pm-space-4); }
.front-login-channel .front-choice { position: relative; padding: var(--pm-space-1) 0; color: var(--pm-color-body); border-bottom: calc(var(--pm-focus-width) + var(--pm-border-width)) solid transparent; }
.front-login-channel .front-choice input { position: absolute; width: var(--pm-hidden-size); height: var(--pm-hidden-size); opacity: 0; }
.front-login-channel .front-choice:has(input:checked) { color: var(--pm-color-text); font-weight: var(--pm-font-weight-bold); border-bottom-color: var(--pm-color-green); }
.front-login-channel .front-choice:has(input:focus-visible) { outline: var(--pm-focus-width) solid var(--pm-color-focus); outline-offset: var(--pm-focus-width); }
.front-login .front-input-prefix { padding: 0 var(--pm-space-3); background: var(--pm-color-bg); }
.front-login .front-input-code { min-height: var(--pm-input-height-large); }
.front-login .front-status { font-weight: var(--pm-font-weight-medium); color: var(--pm-color-green); }
.front-login-codehead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--pm-space-2); }
.front-login-codehead > * { margin: 0; }
.front-login-links { gap: var(--pm-space-3); }
.front-login-or { display: flex; align-items: center; gap: var(--pm-space-3); margin: 0; color: var(--pm-color-faint); font-size: var(--pm-font-size-small); }
.front-login-or::before,
.front-login-or::after { content: ""; flex: 1; border-top: var(--pm-border-width) solid var(--pm-color-border); }
.front-login-nominee { display: flex; flex-direction: column; gap: var(--pm-space-3); margin: 0; }
.front-login-new {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--pm-space-2) var(--pm-space-3);
    padding: var(--pm-space-3);
    background: var(--pm-color-yellow-pale);
    border-radius: var(--pm-radius);
}
.front-login-new p { display: flex; flex-direction: column; margin: 0; }
.front-login-trouble,
.front-login-password { margin: 0; text-align: center; }
.front-login-password { font-size: var(--pm-font-size-small); }
.front .front-login-trouble a,
.front .front-login-password a { font-weight: var(--pm-font-weight-bold); text-decoration: none; }
.front-login-tok { position: absolute; left: calc(var(--pm-hero-tok-small) * -1.5); bottom: var(--pm-space-3); width: var(--pm-hero-tok-small); height: auto; mix-blend-mode: multiply; }
/* 오른쪽 안내 — 카드가 아닌 글 + 아이콘 목록 + 앱 안내 상자 */
.front-main:not(.front-main-wide) .front-login .front-login-welcome { gap: var(--pm-space-4); padding: var(--pm-space-4) 0 0; background: none; border: 0; }
.front-login-welcome .front-heading { font-size: var(--pm-font-size-section); line-height: var(--pm-line-height-tight); }
.front-login-welcome .front-features { gap: var(--pm-space-3); }
.front-login-welcome .front-features li {
    display: grid;
    grid-template-columns: var(--pm-feature-icon) minmax(0, 1fr);
    column-gap: var(--pm-space-3);
    align-items: center;
}
.front-login-welcome .front-features li::before {
    content: "";
    grid-row: span 2;
    width: var(--pm-feature-icon);
    height: var(--pm-feature-icon);
    background: var(--pm-color-bg) url("../img/icon-check.svg") center / 55% no-repeat;
    border-radius: var(--pm-radius);
}
.front-login-welcome .front-features li.front-login-feature-budget::before { background-image: url("../img/icon-budget.svg"); }
.front-login-welcome .front-features li.front-login-feature-family::before { background-image: url("../img/icon-contact.svg"); }
.front-login-welcome .front-features li.front-login-feature-secure::before { background-image: url("../img/icon-statements.svg"); }
.front-login-welcome .front-features span { color: var(--pm-color-body); }
.front-login-welcome .front-note { padding: var(--pm-space-4); font-weight: var(--pm-font-weight-semibold); color: var(--pm-color-text); background: var(--pm-color-bg); border-radius: var(--pm-radius-card); }
.front-login-single { max-width: var(--pm-login-card-width); width: 100%; margin: 0 auto; }

/* ── 계약 · 상담 · 완료 ── */
.front-agreement .front-pdf-scroll { background: var(--pm-color-card-head); border-style: dashed; border-radius: var(--pm-radius-card); }
.front-agreement .front-choice-strong { padding-bottom: var(--pm-space-3); border-bottom: var(--pm-border-width) solid var(--pm-color-border); }
.front-help-box { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.front-main:not(.front-main-wide) .front-help-box { background: var(--pm-color-yellow-pale); border-color: transparent; }
.front-help-box > .front-heading { flex-basis: 100%; }
.front .front-help-box .front-button { color: var(--pm-color-green); border-color: var(--pm-color-green); }
.front-done { max-width: var(--pm-done-width); width: 100%; margin: 0 auto; }
.front-done-tok { display: block; width: var(--pm-hero-tok); height: auto; margin: 0 auto; mix-blend-mode: multiply; }
.front-main:not(.front-main-wide) .front-done > .front-card { align-items: center; padding: var(--pm-space-5); text-align: center; border: 0; border-radius: var(--pm-radius-login); }
.front-done > .front-card:first-of-type::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--pm-done-check);
    height: var(--pm-done-check);
    font-size: var(--pm-font-size-section);
    font-weight: var(--pm-font-weight-bold);
    color: var(--pm-color-on-dark);
    background: var(--pm-color-green);
    border-radius: var(--pm-radius-round);
}
.front-done .front-title { margin: 0; }
.front-done .front-steps { align-self: stretch; padding: var(--pm-space-4) var(--pm-space-4) var(--pm-space-4) calc(var(--pm-space-4) * 2); text-align: left; background: var(--pm-color-mint-pale); border-radius: var(--pm-radius-card); }
.front-done .front-heading { align-self: stretch; text-align: left; }
.front-done .front-steps span { display: block; color: var(--pm-color-body); }
.front-done .front-steps li + li { margin-top: var(--pm-space-2); }
.front-done .front-actions { justify-content: center; }
.front-contact > .front-form { max-width: none; }
.front-contact .front-form .front-choices { flex-direction: row; flex-wrap: wrap; }
.front-contact .front-option { padding: var(--pm-space-2) var(--pm-space-4); border-radius: var(--pm-radius-round); }
.front-contact .front-option:has(input:checked) { background: var(--pm-color-bg); border-color: var(--pm-color-green); box-shadow: 0 0 0 var(--pm-border-width) var(--pm-color-green); }
.front-day,
.front-slot { background: var(--pm-color-bg); border-color: var(--pm-color-input-border); }
.front-day { min-width: var(--pm-touch-size); min-height: var(--pm-touch-size); font-weight: var(--pm-font-weight-bold); color: var(--pm-color-green); background: var(--pm-color-mint-pale); border-color: transparent; border-radius: var(--pm-radius-round); }
.front-slot { min-width: calc(var(--pm-grid-min) / 1.75); }
.front-day[aria-pressed="true"] { color: var(--pm-color-on-dark); background: var(--pm-color-green); border-color: var(--pm-color-green); }
.front-slot[aria-pressed="true"] { color: var(--pm-color-green); font-weight: var(--pm-font-weight-bold); background: var(--pm-color-mint-pale); border-color: var(--pm-color-green); }

/* ── FAQ — 왼쪽 분류 · 오른쪽 질문 카드, 검색은 머리 띠 ── */
.front-hero .front-faq-search { width: 100%; max-width: var(--pm-done-width); }
.front-hero .front-faq-search .front-input { border-color: transparent; border-radius: var(--pm-radius-round); }
.front-faq-layout { display: grid; grid-template-columns: var(--pm-faq-side-width) minmax(0, 1fr); gap: var(--pm-space-5); align-items: start; }
.front-faq-main { display: flex; flex-direction: column; gap: var(--pm-space-4); min-width: 0; }
.front-main:not(.front-main-wide) .front-faq-tools { position: sticky; top: var(--pm-space-3); gap: var(--pm-space-2); padding: 0; background: none; border: 0; }
.front-faq-tools .front-faq-cats { flex-direction: column; flex-wrap: nowrap; gap: var(--pm-space-1); }
.front-faq-cat { padding: var(--pm-space-2) var(--pm-space-3); text-align: left; background: none; border: 0; border-radius: var(--pm-radius); }
.front-faq-cat[aria-pressed="true"] { color: var(--pm-color-green); font-weight: var(--pm-font-weight-bold); background: var(--pm-color-mint); }
.front-faq-page .front-faq-group { gap: var(--pm-space-2); }
.front-faq-page .front-faq-item { padding: 0 var(--pm-space-4); background: var(--pm-color-bg); border: var(--pm-border-width) solid var(--pm-color-border); border-radius: var(--pm-radius); }
.front-faq-page .front-faq-q button { font-weight: var(--pm-font-weight-medium); }
.front-faq-page .front-faq-q button::before { content: "Q"; margin-right: var(--pm-space-3); font-weight: var(--pm-font-weight-bold); color: var(--pm-color-green); }
.front-faq-page .front-faq-q button::after { color: var(--pm-color-muted); }
.front-main:not(.front-main-wide) .front-faq-helpful .front-button { min-height: 0; padding: 0 var(--pm-space-3); font-weight: normal; }

/* ── 피드백 — 고르기는 알약(검정 = 선택) ── */
.front-feedback .front-option { padding: var(--pm-space-2) var(--pm-space-3); border-radius: var(--pm-radius-round); }
.front-feedback .front-option input { position: absolute; width: var(--pm-hidden-size); height: var(--pm-hidden-size); opacity: 0; }
.front-feedback .front-option:has(input:checked) { color: var(--pm-color-on-dark); font-weight: var(--pm-font-weight-bold); background: var(--pm-color-text); border-color: var(--pm-color-text); }
.front-feedback .front-option:has(input:focus-visible) { outline: var(--pm-focus-width) solid var(--pm-color-focus); outline-offset: var(--pm-focus-width); }

/* ── 정책 — 왼쪽 목차 · 오른쪽 본문 ── */
.front-page.front-policy { max-width: none; }
.front-policy-body { display: grid; grid-template-columns: var(--pm-policy-toc-width) minmax(0, 1fr); gap: var(--pm-space-4); align-items: start; }
.front-policy-content { display: flex; flex-direction: column; gap: var(--pm-space-4); min-width: 0; }
.front-main:not(.front-main-wide) .front-policy-toc { position: sticky; top: var(--pm-space-3); padding: var(--pm-space-3); background: var(--pm-color-card-head); border: 0; }
.front-policy-toc-list { padding-left: 0; }
.front .front-policy-toc-list a { display: block; padding: var(--pm-space-2); color: var(--pm-color-text); text-decoration: none; border-radius: var(--pm-radius); }
.front .front-policy-toc-list a:hover { color: var(--pm-color-green); background: var(--pm-color-bg); }
.front-policy-section .front-heading { font-size: var(--pm-font-size-heading); }
.front-policy-section p,
.front-policy-section li { font-size: var(--pm-font-size-subheading); line-height: var(--pm-line-height-loose); }
.front-policy-section .front-alert-ok { background: var(--pm-color-yellow-pale); border-color: transparent; }

/* 하위 페이지 모바일(390). ★ 미디어 쿼리 안에서는 CSS 변수를 쓸 수 없어 폭만 숫자로 둔다. */
@media (max-width: 768px) {
    .front-main:not(.front-main-wide) { padding: var(--pm-space-4) var(--pm-space-2) var(--pm-space-5); }
    .front-page > .front-hero { min-height: 0; padding: var(--pm-space-4) var(--pm-space-2); }
    .front-main > .front-page > .front-hero:first-child { margin-top: calc(var(--pm-space-4) * -1); }
    .front-my .front-page > .front-hero { padding: 0; }
    .front-hero .front-title { font-size: var(--pm-font-size-page-title-mobile); }
    .front-hero-tok,
    .front-login-tok { display: none; }
    .front-main:not(.front-main-wide) .front-card { padding: var(--pm-space-4) var(--pm-space-3); }
    .front-page.front-login { grid-template-columns: minmax(0, 1fr); gap: var(--pm-space-4); }
    .front-main:not(.front-main-wide) .front-login .front-card,
    .front-main:not(.front-main-wide) .front-login-single .front-card { padding: var(--pm-space-4) var(--pm-space-3); }
    .front-login-welcome .front-heading { font-size: var(--pm-font-size-section-mobile); }
    .front-switch-reasons { grid-template-columns: minmax(0, 1fr); gap: var(--pm-space-4); padding: var(--pm-space-4); }
    .front-faq-layout,
    .front-policy-body { grid-template-columns: minmax(0, 1fr); gap: var(--pm-space-3); }
    .front-main:not(.front-main-wide) .front-faq-tools,
    .front-main:not(.front-main-wide) .front-policy-toc { position: static; }
    .front-faq-tools .front-faq-cats { flex-direction: row; overflow-x: auto; }
    .front-faq-cat { flex: none; }
    .front-tabs { gap: 0; }
    .front-tabs > .front-tab { flex: 1 1 0; min-width: 0; padding: var(--pm-space-2); text-align: center; }
    .front-my-tab-list,
    .front-my-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: var(--pm-space-1); }
    .front-my-tab-list li,
    .front .front-my-filter { flex: none; }
    .front-section > .front-table-wrap,
    .front-page > .front-table-wrap { padding: 0 var(--pm-space-3); }
    .front-my .front-summary { grid-template-columns: minmax(0, 1fr); }
    .front-my .front-summary dd { text-align: left; }
    .front-main:not(.front-main-wide) .front-done > .front-card { padding: var(--pm-space-4) var(--pm-space-3); }
    .front-help-box { flex-direction: column; align-items: stretch; }
}


/* ══ CareTok(module-1) ══════════════════════════════════════════════════ */

/* 레이아웃 계약 3·4 — 로딩 막 · 공용 알림창(_v3.Layout 에는 v2.Layout/v2.Header CSS 가 없음) */
.front .loading,
.front .bloading { position: fixed; inset: 0; z-index: 1001; background: var(--pm-color-text); opacity: 0.2; cursor: pointer; }
.front .bloading .square { position: fixed; left: calc(50% - var(--pm-icon-size) / 2); top: calc(50% - var(--pm-icon-size)); }
.front .bloading .spin { width: var(--pm-icon-size); height: var(--pm-icon-size); border: var(--pm-space-1) dashed var(--pm-color-bg); border-radius: var(--pm-radius-round); animation: ctf-spin 1.5s linear infinite; }
@keyframes ctf-spin { to { transform: rotate(360deg); } }
.front div.popAlertArea {
    display: none;
    position: fixed;
    top: 30%;
    left: var(--pm-space-3);
    right: var(--pm-space-3);
    z-index: 1002;
    max-width: var(--pm-narrow-width);
    margin: 0 auto;
    padding: var(--pm-space-4);
    background: var(--pm-color-bg);
    border-radius: var(--pm-radius-card);
    box-shadow: var(--pm-shadow);
}
.front div.popAlert { display: grid; justify-items: center; gap: var(--pm-space-2); margin-bottom: var(--pm-space-4); text-align: center; }
.front div.popAlert label { font-size: var(--pm-font-size-heading); font-weight: var(--pm-font-weight-bold); }
.front div.popAlert span { color: var(--pm-color-body); }
.front div.popAlertArea button {
    width: 100%;
    min-height: var(--pm-button-small);
    font: inherit;
    font-weight: var(--pm-font-weight-bold);
    color: var(--pm-color-on-dark);
    background: var(--pm-color-green);
    border: 0;
    border-radius: var(--pm-radius-round);
    cursor: pointer;
}
/* 서포터 모바일 앱 바는 스타일만 화면 전용(v2.Header.css) — 새 화면에서는 숨김 */
.front AppfooterSection { display: none; }

/* 공통 */
.front .ctf-wrap { width: 100%; max-width: var(--pm-header-width); margin: 0 auto; padding: 0 var(--pm-space-3); }
.front .ctf-lead { margin: 0; font-size: var(--pm-font-size-lead); color: var(--pm-color-body); }
/* 섹션 머리글(eyebrow) — Figma 하위 468:2652(20px · 자간 0.4px) · 홈 468:111(18px) */
.front .ctf-eyebrow { display: block; margin-bottom: 0.75rem; font-size: 1.25rem; font-weight: var(--pm-font-weight-bold); line-height: 1.55; letter-spacing: 0.025rem; text-transform: uppercase; color: var(--pm-color-green); }
.front .front-main-wide .ctf-eyebrow { margin-bottom: 0.5rem; font-size: 1.125rem; line-height: 1.45; letter-spacing: 0; }
.front .ctf-pill { display: inline-block; padding: var(--pm-space-1) var(--pm-space-3); font-size: var(--pm-font-size-small); font-weight: var(--pm-font-weight-bold); color: var(--pm-color-green); background: var(--pm-color-bg); border-radius: var(--pm-radius-round); }
.front .ctf-actions { display: flex; flex-wrap: wrap; gap: var(--pm-space-3); align-items: center; }
.front .ctf-note { margin: 0; font-size: var(--pm-font-size-small); color: var(--pm-color-muted); }

/* 섹션 */
.front .ctf-section { padding: var(--pm-space-6) 0; }
.front .ctf-section-warm { background: var(--pm-color-surface-warm); }
.front .ctf-section-green { color: var(--pm-color-on-dark); background: var(--pm-color-green); }
.front .ctf-section-green .ctf-eyebrow,
.front .ctf-section-green .ctf-section-lead { color: var(--pm-color-on-dark); }
/* 섹션 제목 · 보조 글 — Figma 하위 468:2653(36px · 1.3) · 468:2654(22px Medium #2E2A26), 홈 468:112(40px) */
.front .ctf-section-title { margin: 0 0 0.75rem; font-size: 2.25rem; font-weight: var(--pm-font-weight-bold); line-height: 1.3; }
.front .front-main-wide .ctf-section-title { font-size: 2.5rem; line-height: 1.45; }
.front .ctf-section-lead { margin: 0 0 var(--pm-space-4); font-size: 1.375rem; font-weight: var(--pm-font-weight-medium); line-height: 1.55; color: var(--wd-text-strong); }

/* 히어로 */
.front .ctf-home-hero { padding: var(--pm-space-6) 0; background: var(--pm-color-mint); }
.front .ctf-home-hero-inner { display: flex; flex-direction: column; align-items: flex-start; gap: var(--pm-space-3); }
.front .ctf-home-title { max-width: 48rem; margin: 0; font-size: var(--pm-font-size-display); line-height: var(--pm-line-height-tight); }
.front .ctf-home-trust { margin: 0; font-size: var(--pm-font-size-small); font-weight: var(--pm-font-weight-semibold); color: var(--pm-color-green); }

/* 버튼(front.chrome.css 의 .ctf-button) — 새 화면은 토큰 높이 */
.front .ctf-button { min-height: var(--pm-button-small); }

/* 바로가기 띠 */
.front .ctf-shortcuts { background: var(--pm-color-bg); border-bottom: var(--pm-border-width) solid var(--pm-color-border); }
.front .ctf-shortcuts-inner { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--pm-space-2); padding-top: var(--pm-space-3); padding-bottom: var(--pm-space-3); }
.front .ctf-shortcuts a { display: flex; align-items: center; justify-content: center; min-height: var(--pm-button-small); padding: var(--pm-space-2); font-weight: var(--pm-font-weight-semibold); color: var(--pm-color-text); text-align: center; text-decoration: none; background: var(--pm-color-surface-warm); border-radius: var(--pm-radius); }
.front .ctf-shortcuts a:hover { background: var(--pm-color-mint); }

/* 격자 · 카드 */
.front .ctf-grid { display: grid; gap: var(--pm-space-4); }
.front .ctf-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.front .ctf-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.front .ctf-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.front .ctf-card { display: flex; flex-direction: column; gap: var(--pm-space-2); padding: var(--pm-space-4); color: var(--pm-color-text); background: var(--pm-color-bg); border: var(--pm-border-width) solid var(--pm-color-border); border-radius: var(--pm-radius-card); }
.front .ctf-card h3 { margin: 0; font-size: var(--pm-font-size-heading); line-height: var(--pm-line-height-tight); }
.front .ctf-card p { margin: 0; color: var(--pm-color-body); }
.front .ctf-card-accent { border: var(--pm-focus-width) solid var(--pm-color-accent); }
.front .ctf-card-green { border: var(--pm-focus-width) solid var(--pm-color-green); }
.front .ctf-card-lead { font-size: var(--pm-font-size-small); font-weight: var(--pm-font-weight-bold); color: var(--pm-color-green); }
.front .ctf-card-sub { font-weight: var(--pm-font-weight-semibold); }
.front .ctf-card .ctf-card-fee { padding: var(--pm-space-2) var(--pm-space-3); font-weight: var(--pm-font-weight-semibold); color: var(--pm-color-yellow-text); background: var(--pm-color-yellow-pale); border-radius: var(--pm-radius); }
.front .ctf-card-note { font-size: var(--pm-font-size-small); }
.front .ctf-card-link { margin-top: auto; font-weight: var(--pm-font-weight-bold); color: var(--pm-color-green); text-decoration: none; }
.front .ctf-figure { font-size: var(--pm-font-size-figure); font-weight: var(--pm-font-weight-bold); color: var(--pm-color-green); }
.front .ctf-callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--pm-space-3); margin-top: var(--pm-space-4); padding: var(--pm-space-4); background: var(--pm-color-mint); border-radius: var(--pm-radius-card); }
.front .ctf-callout p { margin: 0; font-weight: var(--pm-font-weight-semibold); }
.front .ctf-box { display: flex; flex-direction: column; align-items: flex-start; gap: var(--pm-space-3); padding: var(--pm-space-5); background: var(--pm-color-mint); border-radius: var(--pm-radius-panel); }

/* 체크 목록 · 칩 */
.front .ctf-checks { display: flex; flex-direction: column; gap: var(--pm-space-2); margin: 0; padding: 0; list-style: none; }
.front .ctf-checks li { position: relative; padding-left: var(--pm-space-4); }
.front .ctf-checks li::before { content: "✓"; position: absolute; left: 0; font-weight: var(--pm-font-weight-bold); color: var(--pm-color-green); }
.front .ctf-section-green .ctf-checks li::before { color: var(--pm-color-accent); }
.front .ctf-checks-row { flex-direction: row; flex-wrap: wrap; gap: var(--pm-space-2) var(--pm-space-5); margin: var(--pm-space-4) 0; }
.front .ctf-chips { display: flex; flex-wrap: wrap; gap: var(--pm-space-2); margin: 0; padding: 0; list-style: none; }
.front .ctf-chips li { padding: var(--pm-space-2) var(--pm-space-3); background: var(--pm-color-bg); border: var(--pm-border-width) solid var(--pm-color-border); border-radius: var(--pm-radius-round); }

/* 계산기 */
.front .ctf-calc { display: flex; flex-direction: column; gap: var(--pm-space-3); margin-top: var(--pm-space-5); padding: var(--pm-space-4); background: var(--pm-color-surface-warm); border-radius: var(--pm-radius-card); }
.front .ctf-calc h3 { margin: 0; font-size: var(--pm-font-size-heading); }
.front .ctf-calc-inputs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--pm-space-3); }
.front .ctf-calc-inputs label,
.front .ctf-consult-form label { display: flex; flex-direction: column; gap: var(--pm-space-1); font-weight: var(--pm-font-weight-semibold); }
.front .ctf-calc input,
.front .ctf-consult-form input[type="text"],
.front .ctf-consult-form input[type="tel"],
.front .ctf-consult-form select { min-height: var(--pm-input-height); padding: 0 var(--pm-space-3); font: inherit; font-weight: normal; color: var(--pm-color-text); background: var(--pm-color-bg); border: var(--pm-border-width) solid var(--pm-color-input-border); border-radius: var(--pm-radius-input); }
.front .ctf-calc-result { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--pm-space-2); margin: 0; }
.front .ctf-calc-result div { padding: var(--pm-space-3); background: var(--pm-color-bg); border-radius: var(--pm-radius); }
.front .ctf-calc-result dt { font-size: var(--pm-font-size-small); color: var(--pm-color-muted); }
.front .ctf-calc-result dd { margin: 0; font-size: var(--pm-font-size-heading); font-weight: var(--pm-font-weight-bold); }
.front .ctf-calc-strong dd { color: var(--pm-color-green); }
.front .ctf-calc-extra { background: var(--pm-color-mint) !important; }
.front .ctf-calc-extra dd { color: var(--pm-color-green); }

/* 비교 표 */
.front .ctf-table-wrap { overflow-x: auto; }
.front .ctf-table { width: 100%; border-collapse: collapse; background: var(--pm-color-bg); border-radius: var(--pm-radius-card); }
.front .ctf-table th,
.front .ctf-table td { padding: var(--pm-space-3); text-align: left; vertical-align: top; border-bottom: var(--pm-border-width) solid var(--pm-color-border); }
.front .ctf-table thead th { background: var(--pm-color-mint); }
.front .ctf-table td:last-child { font-weight: var(--pm-font-weight-semibold); color: var(--pm-color-green); }

/* 4단계 */
.front .ctf-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--pm-space-4); margin: 0; padding: 0; list-style: none; counter-reset: ctf-step; }
.front .ctf-steps li { position: relative; padding-top: calc(var(--pm-step-no-size) + var(--pm-space-2)); counter-increment: ctf-step; }
.front .ctf-steps li::before { content: counter(ctf-step); position: absolute; top: 0; left: 0; display: flex; align-items: center; justify-content: center; width: var(--pm-step-no-size); height: var(--pm-step-no-size); font-weight: var(--pm-font-weight-bold); background: var(--pm-color-accent); border-radius: var(--pm-radius-round); }
.front .ctf-steps h3 { margin: 0 0 var(--pm-space-1); font-size: var(--pm-font-size-heading); }
.front .ctf-steps p { margin: 0; color: var(--pm-color-body); }

/* FAQ */
.front .ctf-faq { display: flex; flex-direction: column; gap: var(--pm-space-2); margin-bottom: var(--pm-space-3); }
.front .ctf-faq details { padding: var(--pm-space-3) var(--pm-space-4); background: var(--pm-color-bg); border: var(--pm-border-width) solid var(--pm-color-border); border-radius: var(--pm-radius-faq); }
.front .ctf-faq summary { font-weight: var(--pm-font-weight-bold); cursor: pointer; }
.front .ctf-faq summary::marker { color: var(--pm-color-green); }
.front .ctf-faq p { margin: var(--pm-space-2) 0 0; color: var(--pm-color-body); }

/* C15 무료 상담 */
.front .ctf-consult { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--pm-space-5); align-items: start; }
.front .ctf-consult-intro { display: flex; flex-direction: column; align-items: flex-start; gap: var(--pm-space-3); }
.front .ctf-consult-form { gap: var(--pm-space-3); }
.front .ctf-consult-form .ctf-check { flex-direction: row; align-items: flex-start; gap: var(--pm-space-2); font-weight: normal; }
.front .ctf-consult-form .ctf-check input { width: var(--pm-checkbox-size); height: var(--pm-checkbox-size); margin-top: var(--pm-space-1); }

/* 안전 안내 */
.front .ctf-safe { padding: var(--pm-space-5) 0; background: var(--pm-color-surface); }
.front .ctf-safe-title { margin: 0 0 var(--pm-space-2); font-size: var(--pm-font-size-heading); }
.front .ctf-safe-list { display: flex; flex-wrap: wrap; gap: var(--pm-space-2) var(--pm-space-5); margin: 0; padding: 0; list-style: none; }

/* 준비 중 */
.front .ctf-soon { display: flex; flex-direction: column; align-items: flex-start; gap: var(--pm-space-3); max-width: var(--pm-form-width); margin: 0 auto; padding: var(--pm-space-5) 0; }
.front .ctf-soon-title { margin: 0; font-size: var(--pm-font-size-title); line-height: var(--pm-line-height-tight); }

/* 모바일(390) */
@media (max-width: 768px) {
    .front .ctf-section { padding: 3rem 0; }
    .front .ctf-home-hero { padding: 3rem 0; }
    .front .ctf-home-title { font-size: var(--pm-font-size-display-mobile); }
    .front .ctf-section-title { font-size: var(--pm-font-size-section-mobile); }
    .front .ctf-shortcuts-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .front .ctf-grid-2,
    .front .ctf-grid-3,
    .front .ctf-grid-4,
    .front .ctf-steps,
    .front .ctf-consult,
    .front .ctf-calc-inputs { grid-template-columns: minmax(0, 1fr); }
    .front .ctf-calc-result { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .front .ctf-box { padding: var(--pm-space-4); }
    .front .ctf-actions .ctf-button { width: 100%; }
}

/* ══ module-2·3 — 공개 하위 화면(M1 · M5 · M2 · 서비스 · 소개 · FAQ · 채용 · 약관) · 계정 화면(A0 · A2 · A3 · 계정 7) ══ */
/* 하위 화면 머리 띠 — 홈 히어로 틀 + 빵부스러기 + 오른쪽 안내 카드 */
.front .ctf-page-hero .front-breadcrumb { margin: 0; }
.front .ctf-page-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--pm-space-5); align-items: end; }
.front .ctf-hero-badge { display: flex; flex-direction: column; gap: var(--pm-space-1); max-width: 20rem; padding: var(--pm-space-3) var(--pm-space-4); background: var(--pm-color-bg); border-radius: var(--pm-radius-card); box-shadow: var(--pm-shadow-card); }
.front .ctf-hero-badge span { color: var(--pm-color-body); }
.front .ctf-head-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--pm-space-2) var(--pm-space-3); margin-bottom: var(--pm-space-2); }
.front .ctf-head-row .ctf-section-title { margin: 0; }
.front .ctf-tag-soon { display: inline-block; padding: var(--pm-space-1) var(--pm-space-3); font-size: var(--pm-font-size-small); font-weight: var(--pm-font-weight-bold); color: var(--pm-color-yellow-text); background: var(--pm-color-yellow-pale); border-radius: var(--pm-radius-round); }
.front .ctf-figure-unit { font-size: var(--pm-font-size-body); font-weight: normal; color: var(--pm-color-muted); }
.front .ctf-grid-gap { margin-top: var(--pm-space-4); }
.front .ctf-ways-note { margin-top: var(--pm-space-3); }

/* 두 방식 비교 표 · 요금표(준비 중) — 표 안 visually-hidden(absolute)이 가로 스크롤 상자 밖으로 새지 않게 */
.front .ctf-table-wrap { position: relative; }
.front .ctf-ways thead a { color: inherit; }
.front .ctf-table.ctf-ways td { text-align: center; vertical-align: middle; }
.front .ctf-ways-yes { font-weight: var(--pm-font-weight-bold); color: var(--pm-color-green); }
.front .ctf-table .ctf-ways-no { font-weight: normal; color: var(--pm-color-faint); }
.front .ctf-table.ctf-price td { font-weight: normal; color: var(--pm-color-faint); text-align: center; white-space: nowrap; }
.front .ctf-price-group th { font-weight: var(--pm-font-weight-bold); background: var(--pm-color-surface-warm); }

/* 예산이 쓰이는 순서 막대 */
.front .ctf-split-total { margin: 0 0 var(--pm-space-2); font-weight: var(--pm-font-weight-bold); }
.front .ctf-split { display: flex; height: var(--pm-budget-bar-height); overflow: hidden; border-radius: var(--pm-radius-round); }
.front .ctf-split span { flex-grow: 0; flex-shrink: 0; }
.front .ctf-split .ctf-split-care,
.front .ctf-split-legend .ctf-split-care::before { background: var(--pm-color-muted); }
.front .ctf-split .ctf-split-services,
.front .ctf-split-legend .ctf-split-services::before { background: var(--pm-color-green); }
.front .ctf-split .ctf-split-admin,
.front .ctf-split-legend .ctf-split-admin::before { background: var(--pm-color-accent); }
.front .ctf-split-legend { display: flex; flex-wrap: wrap; gap: var(--pm-space-2) var(--pm-space-4); margin: var(--pm-space-3) 0 var(--pm-space-4); padding: 0; list-style: none; }
.front .ctf-split-legend li { display: flex; align-items: center; gap: var(--pm-space-2); }
.front .ctf-split-legend li::before { content: ""; width: var(--pm-space-3); height: var(--pm-space-3); border-radius: var(--pm-radius-round); }

/* 계산기(요금) · 짧은 폼 */
.front .ctf-calc select { min-height: var(--pm-input-height); padding: 0 var(--pm-space-3); font: inherit; font-weight: normal; color: var(--pm-color-text); background: var(--pm-color-bg); border: var(--pm-border-width) solid var(--pm-color-input-border); border-radius: var(--pm-radius-input); }
.front .ctf-calc-plain { margin-top: 0; background: var(--pm-color-bg); }
.front .ctf-consult-form h3 { margin: 0; font-size: var(--pm-font-size-heading); }
.front .ctf-consult-form input[type="file"] { font: inherit; font-weight: normal; }
.front .ctf-fieldset { display: flex; flex-direction: column; gap: var(--pm-space-2); min-width: 0; margin: 0; padding: 0; border: 0; }
.front .ctf-fieldset legend { margin-bottom: var(--pm-space-1); padding: 0; font-weight: var(--pm-font-weight-semibold); }

/* 서비스 바로 가기 · 소개 등록 정보 */
.front .ctf-jump { display: flex; flex-wrap: wrap; align-items: center; gap: var(--pm-space-2); padding-top: var(--pm-space-3); padding-bottom: var(--pm-space-3); }
.front .ctf-jump-label { margin-right: var(--pm-space-2); font-weight: var(--pm-font-weight-bold); color: var(--pm-color-muted); }
.front .ctf-shortcuts .ctf-jump a { padding: var(--pm-space-2) var(--pm-space-3); }
.front .ctf-facts { display: flex; flex-direction: column; gap: var(--pm-space-2); margin: 0; }
.front .ctf-facts div { padding: var(--pm-space-3); background: var(--pm-color-bg); border-radius: var(--pm-radius); }
.front .ctf-facts dt { font-size: var(--pm-font-size-small); color: var(--pm-color-muted); }
.front .ctf-facts dd { margin: 0; font-weight: var(--pm-font-weight-bold); }

/* FAQ 검색 · 분류 칩 */
.front .ctf-search { width: 100%; max-width: 40rem; min-height: var(--pm-input-height-large); padding: 0 var(--pm-space-4); font: inherit; color: var(--pm-color-text); background: var(--pm-color-bg); border: var(--pm-border-width) solid var(--pm-color-input-border); border-radius: var(--pm-radius-round); }
.front .ctf-faq-cats { display: flex; flex-wrap: wrap; gap: var(--pm-space-2); margin-bottom: var(--pm-space-4); }
.front .ctf-faq-cats button { min-height: var(--pm-touch-size); padding: 0 var(--pm-space-3); font: inherit; color: var(--pm-color-text); background: var(--pm-color-bg); border: var(--pm-border-width) solid var(--pm-color-border); border-radius: var(--pm-radius-round); cursor: pointer; }
.front .ctf-faq-cats button[aria-pressed="true"] { color: var(--pm-color-on-dark); background: var(--pm-color-green); border-color: var(--pm-color-green); }

/* A0 가입 방식 카드 */
.front .ctf-ways-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--pm-space-3); min-width: 0; margin: 0; padding: 0; border: 0; }
.front .ctf-way-card { position: relative; display: flex; flex-direction: column; gap: var(--pm-space-2); padding: var(--pm-space-4); background: var(--pm-color-bg); border: calc(var(--pm-border-width) * 2) solid var(--pm-color-border); border-radius: var(--pm-radius-card); cursor: pointer; }
.front .ctf-way-card:has(input:checked) { background: var(--pm-color-mint-pale); border-color: var(--pm-color-green); }
.front .ctf-way-card input { position: absolute; top: var(--pm-space-3); right: var(--pm-space-3); width: var(--pm-checkbox-size); height: var(--pm-checkbox-size); margin: 0; accent-color: var(--pm-color-green); }
.front .ctf-way-name { font-size: var(--pm-font-size-heading); }
.front .ctf-way-card .ctf-card-fee { margin-top: auto; padding: var(--pm-space-2) var(--pm-space-3); font-size: var(--pm-font-size-small); color: var(--pm-color-yellow-text); background: var(--pm-color-yellow-pale); border-radius: var(--pm-radius); }
.front .ctf-signup-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--pm-space-3); }
.front .ctf-signup-next [aria-disabled="true"] { opacity: var(--pm-opacity-disabled); cursor: not-allowed; }

/* 계정 화면 — 기존 JS 계약(.active · .eyes · .iCheck · .iRadio · .dropbox)을 새 모양으로 */
.front .ctf-pw { position: relative; display: block; }
.front .ctf-pw .front-input { padding-right: calc(var(--pm-touch-size) + var(--pm-space-2)); }
.front .ctf-pw .ctf-eye,
.front .ctf-pw b.eyes { position: absolute; top: 50%; right: var(--pm-space-1); display: flex; width: var(--pm-touch-size); height: var(--pm-touch-size); padding: 0; background: none; border: 0; transform: translateY(-50%); cursor: pointer; }
.front .ctf-pw .ctf-eye::before,
.front .ctf-pw b.eyes::before {
    content: "";
    width: var(--pm-icon-small);
    height: var(--pm-icon-small);
    margin: auto;
    background: var(--pm-color-muted);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5C6 5 2 12 2 12s4 7 10 7 10-7 10-7-4-7-10-7zm0 11a4 4 0 1 1 0-8 4 4 0 0 1 0 8z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5C6 5 2 12 2 12s4 7 10 7 10-7 10-7-4-7-10-7zm0 11a4 4 0 1 1 0-8 4 4 0 0 1 0 8z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.front .ctf-pw .ctf-eye[aria-pressed="true"]::before,
.front .ctf-pw b.eyes.active::before { background: var(--pm-color-green); }
.front .ctf-or { display: flex; align-items: center; gap: var(--pm-space-3); margin: 0; color: var(--pm-color-muted); }
.front .ctf-or::before,
.front .ctf-or::after { content: ""; flex: 1; height: var(--pm-border-width); background: var(--pm-color-border); }
.front .ctf-acct-alt { display: flex; flex-direction: column; gap: var(--pm-space-2); }
.front .ctf-acct-new { margin: 0; font-weight: var(--pm-font-weight-bold); text-align: center; }
.front .ctf-acct-new a,
.front .ctf-acct .front-help a,
.front .ctf-back { font-weight: var(--pm-font-weight-bold); color: var(--pm-color-green); }
.front .ctf-back { align-self: flex-start; cursor: pointer; }
.front .ctf-gated:not(.active) { opacity: var(--pm-opacity-disabled); cursor: not-allowed; }
.front .ctf-acct label.error { display: none !important; }
.front .ctf-acct .Regist-Form,
.front .ctf-acct .Myself-Area { display: flex; flex-direction: column; gap: var(--pm-space-4); }
.front .ctf-acct .dropbox-Area { padding: var(--pm-space-3); background: var(--pm-color-surface); border-radius: var(--pm-radius); cursor: pointer; }
.front .ctf-acct .dropbox-Area .front-label::after { content: " ▾"; }
.front .ctf-acct .dropbox { display: none; margin-top: var(--pm-space-2); }
.front .ctf-acct .dropbox.active { display: block; }
.front .ctf-choose { display: flex; flex-direction: column; gap: var(--pm-space-2); }
.front .ctf-choose p { display: flex; flex-direction: column; gap: var(--pm-space-1); margin: 0; padding: var(--pm-space-3) var(--pm-space-4); background: var(--pm-color-bg); border: calc(var(--pm-border-width) * 2) solid var(--pm-color-border); border-radius: var(--pm-radius-card); cursor: pointer; }
.front .ctf-choose p.active { background: var(--pm-color-mint-pale); border-color: var(--pm-color-green); }
.front .ctf-choose small { color: var(--pm-color-body); }
.front .ctf-agree { display: flex; align-items: flex-start; gap: var(--pm-space-2); }
.front .ctf-acct span.iCheck,
.front .ctf-acct span.iRadio { flex: none; display: inline-block; width: calc(var(--pm-checkbox-size) + var(--pm-space-1)); height: calc(var(--pm-checkbox-size) + var(--pm-space-1)); vertical-align: middle; background: var(--pm-color-bg); border: calc(var(--pm-border-width) * 2) solid var(--pm-color-input-border); border-radius: var(--pm-radius); cursor: pointer; }
.front .ctf-acct span.iRadio { border-radius: var(--pm-radius-round); }
.front .ctf-acct span.iCheck.active,
.front .ctf-acct span.iRadio.active { background: var(--pm-color-green); border-color: var(--pm-color-green); box-shadow: inset 0 0 0 var(--pm-space-1) var(--pm-color-bg); }
.front .ctf-radios { display: flex; flex-wrap: wrap; gap: var(--pm-space-4); }
.front .ctf-radios b { display: inline-flex; align-items: center; gap: var(--pm-space-2); font-weight: normal; }
.front .ctf-policy .front-policy-section p { color: var(--pm-color-body); line-height: var(--pm-line-height-loose); }

@media (max-width: 768px) {
    .front .ctf-page-hero-inner,
    .front .ctf-ways-pick { grid-template-columns: minmax(0, 1fr); }
    .front .ctf-hero-badge { max-width: none; }
    .front .ctf-signup-next .front-button { width: 100%; }
}

/* ── 공통 부품(26.11.17 Figma 재대조 1단계) — 화면 본문 에이전트가 쓰는 클래스. 사용법은 각 줄 주석 ───────── */

/* 배지 — 번호 알약(Figma 468:116 "1 If you'd like to choose" 연초록 · 468:136 "2 …" 초록) */
.front .ctf-badge { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.3125rem 0.75rem; font-size: 1.125rem; font-weight: var(--pm-font-weight-bold); line-height: 1.45; color: var(--wd-green-dark); background: var(--wd-green-light); border-radius: var(--pm-radius-round); }
.front .ctf-badge-green { color: var(--pm-color-on-dark); background: var(--wd-green); }

/* 노란 원 체크(Figma 468:2717) — <span class="ctf-check-circle"><img src="/front/img/icon-check-dark.svg" width="18" height="18" alt=""></span> */
.front .ctf-check-circle { display: inline-flex; align-items: center; justify-content: center; padding: 0.375rem; background: var(--wd-yellow-bright); border-radius: var(--pm-radius-round); box-shadow: 0 2px 8px rgba(255, 204, 0, 0.35); }
.front .ctf-check-circle img { display: block; }

/* 금색 체크 줄(Figma 468:2662) — <ul class="ctf-checklist"><li><img src="/front/img/icon-check-gold.svg" width="20" height="20" alt=""><span>글</span></li></ul> */
.front .ctf-checklist { display: flex; flex-direction: column; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.front .ctf-checklist li { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 1.3125rem; font-weight: var(--pm-font-weight-medium); line-height: 1.55; color: var(--wd-text-strong); }
.front .ctf-checklist img { flex: none; margin-top: 0.3125rem; }

/* 아이콘 카드(Figma 468:2883) — <article class="ctf-icon-card"><span class="ctf-icon-badge"><img … width="26" height="26" alt=""></span><h3>제목</h3><p>설명</p></article> */
.front .ctf-icon-card { display: flex; flex-direction: column; align-items: flex-start; gap: 0.875rem; padding: 1.75rem 1.5rem; color: var(--wd-text); background: var(--wd-white); border: 1px solid var(--wd-pop-border); border-radius: 1.5rem; }
.front .ctf-icon-badge { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem; background: var(--wd-green-light); border-radius: 1rem; }
.front .ctf-icon-badge img { display: block; }
.front .ctf-icon-card h3 { margin: 0; font-size: 1.5rem; font-weight: var(--pm-font-weight-bold); line-height: 1.35; }
.front .ctf-icon-card p { margin: 0; font-size: 1.25rem; font-weight: var(--pm-font-weight-medium); line-height: 1.55; color: var(--wd-text-strong); }

/* 진초록 상담 띠(Figma C99 468:2907) — Views/Shared/Front/_TalkBand.cshtml 이 그린다 */
.front .ctf-talk { padding: 0 0 6rem; background: var(--wd-white); }
.front .ctf-talk-card { position: relative; display: flex; align-items: center; gap: 2rem; padding: 3.5rem; overflow: hidden; color: var(--pm-color-on-dark); background: linear-gradient(162.9deg, var(--wd-band-from) 0%, var(--wd-band-to) 71.4%); border: 1px solid var(--wd-band-border); border-radius: 2rem; }
.front .ctf-talk-deco { position: absolute; pointer-events: none; }
.front .ctf-talk-deco-1 { top: -4.3125rem; right: -5.25rem; }     /* 340 원 — Figma left 944 / 카드 1200 */
.front .ctf-talk-deco-2 { top: -11.4375rem; right: -14.5625rem; } /* 520 원 — Figma left 913 */
.front .ctf-talk-body { position: relative; display: flex; flex: 1; flex-direction: column; gap: 0.625rem; min-width: 0; }
.front .ctf-talk-kicker { display: flex; align-items: center; gap: 0.625rem; font-size: 1.25rem; font-weight: var(--pm-font-weight-bold); letter-spacing: 0.05rem; color: var(--wd-accent); }
.front .ctf-talk-kicker::before { content: ""; width: 1.75rem; height: 2px; background: var(--wd-accent); }
.front .ctf-talk-title { margin: 0; font-size: 1.875rem; font-weight: var(--pm-font-weight-bold); line-height: 1.35; color: var(--pm-color-on-dark); }
.front .ctf-talk-sub { margin: 0; font-size: 1.25rem; line-height: 1.55; color: var(--wd-band-sub); }
.front .ctf-talk-actions { position: relative; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.front a.ctf-button.ctf-button-ghost-light,
.front a.ctf-button.ctf-button-ghost-light:hover { color: var(--pm-color-on-dark); background: rgba(255, 255, 255, 0.06); border: 2px solid rgba(255, 255, 255, 0.45); }

@media (max-width: 768px) {
    .front .front-main-wide .ctf-section-title { font-size: var(--pm-font-size-section-mobile); line-height: 1.3; }
    .front .ctf-section-lead { font-size: 1.125rem; }
    .front .ctf-talk { padding-bottom: 3rem; }
    .front .ctf-talk-card { flex-direction: column; align-items: stretch; padding: 1.75rem 1.25rem; border-radius: 1.5rem; }
    .front .ctf-talk-title { font-size: 1.5rem; }
    .front .ctf-talk-actions .ctf-button { width: 100%; }
}
