/* 헬로뉴카 UI 개선안 시제품 — 2026-12-04
   구조와 수치는 참조 서비스 A(금융 앱)의 공개 디자인 체계에서, 색·글·화면은 헬로뉴카 것. */
@font-face {
  font-family: 'Pretendard';
  src: url(assets/fonts/PretendardVariable.woff2) format('woff2');
  font-weight: 45 920;
  font-display: swap;
}

:root {
  --accent: #1f5aff;
  --accent-press: #1748d4;
  --accent-soft: #edf2ff;
  --accent-line: #c7d6ff;
  --ink: #0f1728;
  --body: #3b4558;
  --sub: #5f6b7e;
  --line: #e3e8f0;
  --line-strong: #cbd3e0;
  --fill: #f4f6fa;
  --fill-press: #e9edf4;
  --grey: #f2f4f7;
  --warn: #c8271b;
  --warn-soft: #fdecea;
  --star: #ffb21e;

  --r-s: 6px;
  --r-m: 12px;
  --r-l: 16px;
  --r-xl: 24px;
  --r-sheet: 28px;

  /* 움직임 이름 넷: 스프링 빠름·보통(앱이 시작할 때 linear() 로 바꿔 넣음), 화면 곡선, 숫자 곡선 */
  --sp-fast: cubic-bezier(0.2, 0.9, 0.3, 1);
  --sp-fast-d: 260ms;
  --sp-mid: cubic-bezier(0.2, 0.9, 0.3, 1);
  --sp-mid-d: 320ms;
  --ease-screen: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-num: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in: cubic-bezier(0.55, 0, 0.75, 0.1);

  --demo-h: 0px;
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 15px;
  line-height: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: #fff;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: inherit; }
input, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
img { display: block; max-width: 100%; user-select: none; -webkit-user-drag: none; }
svg { display: block; flex: none; }
::selection { background: rgba(31, 90, 255, 0.16); }
input, textarea { caret-color: var(--accent); }
::placeholder { color: #7b8698; opacity: 1; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-s); }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nb { white-space: nowrap; }
[hidden] { display: none !important; }

/* ───────── 시연 띠(피그마·회의용). ?capture=1 이면 숨김 ───────── */
.demo {
  position: fixed; inset: 0 0 auto 0; height: 36px; z-index: 80;
  display: flex; align-items: center; gap: 6px; padding: 0 8px;
  background: var(--ink); color: #fff; font-size: 12px; line-height: 16px;
}
.demo b { font-weight: 700; padding: 0 6px; opacity: 0.7; }
.demo .seg { display: flex; gap: 2px; background: rgba(255, 255, 255, 0.1); border-radius: 8px; padding: 2px; }
.demo button, .demo .seg button { height: 26px; padding: 0 10px; border-radius: 6px; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.78); white-space: nowrap; }
.demo button[aria-pressed='true'] { background: #fff; color: var(--ink); }
.demo .sp { flex: 1; }
.has-demo { --demo-h: 36px; }

/* ───────── 시연 기기 크기: 넓은 창(피그마 코드 레이어·PC)에서 폰 규격 틀 안에 띄움. 좁은 창에서는 버튼을 숨기고 꽉 채움 ───────── */
.stage { container: stage / inline-size; }
html[data-dev] body { background: #e4e8ee; }
html[data-dev] .stage {
  position: fixed; inset: var(--demo-h) 0 0 0; margin: auto;
  width: min(var(--dev-w), calc(100vw - 32px)); height: min(var(--dev-h), calc(100dvh - var(--demo-h) - 32px));
  border-radius: var(--r-xl); overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(15, 23, 40, 0.06), 0 24px 60px rgba(15, 23, 40, 0.14);
}
html[data-dev] #app { height: 100%; margin-top: 0; }
html[data-dev] #layer { position: absolute; inset: 0; }
html[data-dev] .sheet { max-height: 70%; }
html[data-dev]::view-transition-group(screen) { overflow: clip; border-radius: var(--r-xl); }
@media (max-width: 599px) { .dev-seg { display: none !important; } }

/* ───────── 화면 뼈대 ───────── */
#app { position: relative; height: calc(100dvh - var(--demo-h)); margin-top: var(--demo-h); overflow: hidden; view-transition-name: screen; }
.screen { display: flex; flex-direction: column; height: 100%; background: #fff; }
.screen.grey { background: var(--grey); }
.scroll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: none; }
.scroll::-webkit-scrollbar { display: none; }
.wrap { max-width: 560px; margin: 0 auto; padding: 0 20px 48px; }
.wrap.wide { max-width: 960px; }

.topbar {
  flex: none; position: relative; z-index: 3; height: 56px;
  display: flex; align-items: center; gap: 2px; padding: 0 6px;
  background: inherit; view-transition-name: topbar;
}
.topbar-title { flex: 1; min-width: 0; text-align: center; font-size: 17px; line-height: 25px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-title.left { text-align: left; padding-left: 14px; font-size: 20px; line-height: 28px; }
.topbar-title small { display: block; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--sub); }
.topbar .sp { flex: 1; }
.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink);
  transition: transform var(--sp-fast-d) var(--sp-fast), background-color 0.15s;
}
.icon-btn:active { transform: scale(0.9); background: var(--fill); }
.icon-btn .badge { position: absolute; top: 10px; right: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 2px #fff; }
.grey .icon-btn .badge { box-shadow: 0 0 0 2px var(--grey); }
.wordmark { padding-left: 14px; font-size: 20px; line-height: 28px; font-weight: 800; letter-spacing: -0.03em; display: flex; align-items: center; gap: 6px; }
.wordmark i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* 진행 막대 + 쌓이는 내 조건 */
.progress { flex: none; height: 3px; background: var(--fill); }
.progress i { display: block; height: 100%; background: var(--accent); border-radius: 0 2px 2px 0; view-transition-name: progress-fill; }
.cond {
  flex: none; display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none;
  padding: 10px 20px 2px;
}
.cond::-webkit-scrollbar { display: none; }
.cond .mini-car { width: 46px; height: 30px; object-fit: contain; flex: none; view-transition-name: car-hero; }
.chip {
  flex: none; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--fill);
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  font-size: 13px; line-height: 19px; font-weight: 600; color: var(--body);
  transition: transform var(--sp-fast-d) var(--sp-fast), background-color 0.15s;
}
.chip:active { transform: scale(0.94); background: var(--fill-press); }
.chip-new { animation: chip-in var(--sp-mid-d) var(--sp-mid) 160ms both; background: var(--accent-soft); color: var(--accent); }
@keyframes chip-in { from { transform: translateX(-8px) scale(0.6); opacity: 0; } }

/* 질문 제목 */
.q { padding: 22px 0 8px; font-size: 26px; line-height: 36px; font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
.q-sub { color: var(--sub); margin-bottom: 26px; text-wrap: pretty; }
.h2 { font-size: 22px; line-height: 30px; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
.h3 { font-size: 17px; line-height: 25px; font-weight: 700; }
.sec-title { display: flex; align-items: center; justify-content: space-between; margin: 32px 0 12px; font-size: 17px; line-height: 25px; font-weight: 700; }
.sec-title .more { font-size: 13px; font-weight: 600; color: var(--sub); display: inline-flex; align-items: center; gap: 2px; min-height: 32px; }
.sub { color: var(--sub); }
.s13 { font-size: 13px; line-height: 19px; }
.s12 { font-size: 12px; line-height: 16px; }
.ex { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--sub); background: var(--fill); border-radius: 4px; padding: 1px 5px; margin-left: 4px; white-space: nowrap; }
.grey .ex { background: #e8ebf0; }

/* ───────── 아래 고정 버튼 ───────── */
.cta { flex: none; position: relative; z-index: 2; padding: 0 20px max(20px, env(safe-area-inset-bottom)); background: #fff; view-transition-name: cta; }
.grey .cta { background: var(--grey); }
.cta::before { content: ''; position: absolute; left: 0; right: 0; top: -36px; height: 36px; pointer-events: none; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.grey .cta::before { background: linear-gradient(rgba(242, 244, 247, 0), var(--grey)); }
.cta-in { max-width: 560px; margin: 0 auto; display: flex; gap: 8px; }
.cta-note { max-width: 560px; margin: 0 auto 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cta-note .v { font-size: 20px; line-height: 28px; font-weight: 700; }
.cta-hint { max-width: 560px; margin: 0 auto 10px; text-align: center; font-size: 13px; line-height: 19px; color: var(--sub); }

.btn {
  flex: 1; height: 56px; padding: 0 16px; border-radius: var(--r-l);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 17px; line-height: 25px; font-weight: 600; text-align: center; white-space: nowrap; user-select: none;
  transition: transform var(--sp-fast-d) var(--sp-fast), background-color 0.15s, opacity 0.2s;
}
.btn:active { transform: scale(0.96); }
.cta-in > .btn:only-child:active { transform: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:active { background: var(--accent-press); }
.btn-second { background: var(--fill); color: var(--body); }
.btn-second:active { background: var(--fill-press); }
.btn-danger { background: var(--warn); color: #fff; }
.btn-soft { background: var(--accent-soft); color: var(--accent); }
.btn-soft:active { background: #dfe7ff; }
.btn[disabled] { opacity: 0.32; pointer-events: none; }
.btn.sm { height: 44px; border-radius: var(--r-m); font-size: 15px; flex: none; padding: 0 16px; }
.btn.busy { pointer-events: none; }
.btn .spin { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; line-height: 19px; font-weight: 600; color: var(--sub); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }

/* ───────── 목록 줄(왼쪽·내용·오른쪽) ───────── */
.list { margin: 0 -20px; }
.row {
  position: relative; width: 100%; min-height: 64px; padding: 12px 20px;
  display: flex; align-items: center; gap: 14px; text-align: left;
  transition: transform var(--sp-fast-d) var(--sp-fast);
}
.row::after { content: ''; position: absolute; inset: 2px 8px; border-radius: var(--r-m); background: var(--ink); opacity: 0; transition: opacity 0.15s; pointer-events: none; }
.row:active { transform: scale(0.98); }
.row:active::after { opacity: 0.05; }
.row-main { flex: 1; min-width: 0; }
.row-title { font-size: 17px; line-height: 25px; font-weight: 600; }
.row-sub { font-size: 13px; line-height: 19px; color: var(--sub); margin-top: 1px; }
.row-right { flex: none; text-align: right; color: var(--sub); display: flex; align-items: center; gap: 4px; font-size: 15px; }
.row-right.strong { color: var(--ink); font-weight: 700; }
.chev { color: #9aa4b4; }
.car-thumb { width: 84px; height: 52px; object-fit: contain; flex: none; }
.qrows .car-thumb { width: 72px; height: 45px; }
@container stage (max-width: 400px) { .car-thumb, .qrows .car-thumb { width: 64px; height: 40px; } .row { gap: 12px; } }

/* 고르기 칸(한 개 고르기) */
.opts { display: flex; flex-direction: column; gap: 10px; }
.opt {
  position: relative; width: 100%; min-height: 64px; padding: 16px 18px; border-radius: var(--r-l);
  display: flex; align-items: center; gap: 14px; text-align: left;
  background: var(--fill); box-shadow: inset 0 0 0 1.5px transparent;
  transition: transform var(--sp-fast-d) var(--sp-fast), background-color 0.18s, box-shadow 0.18s;
}
.opt:active { transform: scale(0.98); }
.opt[aria-checked='true'] { background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px var(--accent); }
.opt .o-main { flex: 1; min-width: 0; }
.opt .o-title, .opt .o-sub, .row-title, .row-sub { display: block; }
.sheet .list .row { padding-left: 24px; padding-right: 24px; }
.opt .o-title { font-size: 17px; line-height: 25px; font-weight: 600; }
.opt .o-sub { font-size: 13px; line-height: 19px; color: var(--sub); margin-top: 2px; }
.opt .o-right { flex: none; font-size: 15px; color: var(--body); font-weight: 600; }
.tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px var(--line-strong); color: #fff; transition: background-color 0.15s, box-shadow 0.15s;
}
.tick svg path { stroke-dasharray: 22; stroke-dashoffset: 22; }
[aria-checked='true'] > .tick { background: var(--accent); box-shadow: none; animation: tick-pop var(--sp-fast-d) var(--sp-fast); }
[aria-checked='true'] > .tick svg path { stroke-dashoffset: 0; transition: stroke-dashoffset 0.22s var(--ease-out) 0.05s; }
.tick.box { border-radius: 8px; }
@keyframes tick-pop { 0% { transform: scale(0.7); } }

/* 검색 */
.search {
  display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border-radius: var(--r-l);
  background: var(--fill); color: var(--sub); transition: box-shadow 0.15s, background-color 0.15s;
}
.search:focus-within { background: #fff; box-shadow: inset 0 0 0 1.5px var(--accent); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font-size: 17px; color: var(--ink); }
.search.fake { width: 100%; text-align: left; font-size: 17px; }
.grey .search.fake { background: #fff; }

/* 제조사 줄 */
.brands { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 16px -20px 4px; padding: 0 20px; }
.brands::-webkit-scrollbar { display: none; }
.brand {
  flex: none; height: 40px; padding: 0 14px 0 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 600; color: var(--body);
  transition: transform var(--sp-fast-d) var(--sp-fast), background-color 0.15s, box-shadow 0.15s, color 0.15s;
}
.brand:first-child { padding-left: 14px; }
.brand img { width: 22px; height: 22px; object-fit: contain; }
.brand:active { transform: scale(0.95); }
.brand[aria-pressed='true'] { background: var(--ink); color: #fff; box-shadow: none; }
.brand[aria-pressed='true'] img { filter: brightness(0) invert(1); }

/* 카드(회색 바탕 위 흰 판) */
.card { background: #fff; border-radius: var(--r-xl); padding: 20px; }
.card + .card { margin-top: 12px; }
.press { transition: transform var(--sp-fast-d) var(--sp-fast); }
.press:active { transform: scale(0.98); }
.panel { background: var(--fill); border-radius: var(--r-l); padding: 16px 18px; }

/* 첫 화면 */
.hero-title { padding: 8px 0 0; font-size: 30px; line-height: 40px; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.hero-title em { font-style: normal; color: var(--accent); display: block; }
.my-req { display: flex; gap: 14px; align-items: center; width: 100%; text-align: left; }
.my-req img { width: 96px; height: 60px; object-fit: contain; }
.my-req .live { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; line-height: 19px; font-weight: 700; color: var(--accent); }
.my-req .live i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: live 1.6s ease-in-out infinite; }
@keyframes live { 50% { opacity: 0.25; } }
.shelf { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px 4px; scroll-snap-type: x mandatory; scroll-padding: 0 20px; }
.shelf::-webkit-scrollbar { display: none; }
.car-card { flex: none; width: 168px; scroll-snap-align: start; background: #fff; border-radius: var(--r-xl); padding: 16px 16px 18px; text-align: left; }
.car-card img { width: 100%; height: 84px; object-fit: contain; margin-bottom: 12px; }
.car-card .nm { font-size: 17px; line-height: 25px; font-weight: 700; }
.car-card .pr { font-size: 13px; line-height: 19px; color: var(--sub); }
.promise { display: flex; flex-direction: column; gap: 18px; }
.promise li { list-style: none; display: flex; gap: 14px; align-items: flex-start; }
.promise .pi { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.promise b { display: block; font-size: 15px; line-height: 22px; }
.promise span { display: block; font-size: 13px; line-height: 19px; color: var(--sub); margin-top: 1px; }

/* 차 고르기 → 모델 */
.car-hero-box { margin: 4px 0 0; background: var(--fill); border-radius: var(--r-xl); padding: 18px 20px 16px; display: grid; place-items: center; }
.car-hero { width: 100%; max-width: 360px; aspect-ratio: 16 / 9; object-fit: contain; view-transition-name: car-hero; }
.empty { padding: 48px 0; text-align: center; color: var(--sub); }
.empty b { display: block; color: var(--ink); font-size: 17px; line-height: 25px; margin-bottom: 4px; }

/* 색상 */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px 4px; }
.sw { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 4px 8px; border-radius: var(--r-m); transition: transform var(--sp-fast-d) var(--sp-fast); }
.sw:active { transform: scale(0.95); }
.sw .dot { position: relative; width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(15, 23, 40, 0.12); }
.sw .dot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; box-shadow: 0 0 0 2px var(--accent); opacity: 0; transform: scale(0.85); transition: opacity 0.15s, transform var(--sp-fast-d) var(--sp-fast); }
.sw[aria-checked='true'] .dot::after { opacity: 1; transform: none; }
.sw .dot svg { position: absolute; inset: 0; margin: auto; opacity: 0; transform: scale(0.5); transition: opacity 0.15s, transform var(--sp-fast-d) var(--sp-fast); }
.sw[aria-checked='true'] .dot svg { opacity: 1; transform: none; }
.sw .nm { font-size: 13px; line-height: 17px; font-weight: 600; text-align: center; color: var(--body); }
.sw .pr { font-size: 12px; line-height: 16px; color: var(--sub); }
.group-title { margin: 28px 0 12px; font-size: 15px; font-weight: 700; color: var(--body); display: flex; justify-content: space-between; }
.stack-in { animation: stack-in var(--sp-mid-d) var(--sp-mid) both; }
@keyframes stack-in { from { opacity: 0; transform: translateY(-10px); } }

/* 옵션 */
.opt .o-desc { font-size: 13px; line-height: 19px; color: var(--sub); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.opt.multi { align-items: flex-start; }
.opt.multi .o-right { line-height: 25px; }

/* 굴러가는 숫자 */
.roll { display: inline-flex; white-space: nowrap; }
.rd { display: inline-block; overflow: hidden; vertical-align: top; }
.rd > span { display: inline-block; }
@keyframes roll-in { from { transform: translateY(105%); } }

/* 초기 비용 비율 */
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 4px; background: var(--fill); border-radius: var(--r-l); position: relative; }
.seg button { position: relative; z-index: 1; height: 48px; border-radius: var(--r-m); font-size: 17px; font-weight: 600; text-align: center; color: var(--sub); transition: color 0.2s; }
.seg button[aria-checked='true'] { color: var(--ink); }
.seg .knob { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; border-radius: var(--r-m); background: #fff; box-shadow: 0 1px 3px rgba(15, 23, 40, 0.1); transition: transform var(--sp-mid-d) var(--sp-mid), opacity 0.2s; }

/* 계약 조건 확인 */
.terms .row { min-height: 60px; }
.terms .row-title { font-size: 15px; font-weight: 500; color: var(--body); }
.terms .val { font-size: 17px; font-weight: 600; color: var(--ink); }
.terms .val.unset { color: var(--accent); }
.val.pop { animation: val-pop var(--sp-mid-d) var(--sp-mid); }
@keyframes val-pop { 0% { transform: translateY(6px); opacity: 0; } }
.region-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.region-grid .opt { min-height: 52px; padding: 12px; justify-content: center; font-size: 15px; font-weight: 600; }

/* 견적 범위 */
.range { padding: 6px 0 0; }
.range .ln { display: flex; align-items: baseline; gap: 8px; font-size: 34px; line-height: 44px; font-weight: 800; letter-spacing: -0.03em; }
.range .ln small { font-size: 20px; line-height: 28px; font-weight: 600; color: var(--sub); letter-spacing: -0.01em; }
.range-bar { position: relative; height: 8px; border-radius: 4px; background: var(--fill); margin: 22px 0 8px; overflow: hidden; }
.range-bar i { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: var(--accent); transform-origin: left; animation: bar-in 700ms var(--ease-screen) 350ms both; }
@keyframes bar-in { from { transform: scaleX(0); } }
.kv { display: flex; flex-direction: column; }
.kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; font-size: 15px; line-height: 22px; }
.kv dt { color: var(--sub); flex: none; }
.kv dd { text-align: right; font-weight: 600; white-space: pre-line; }
.fold { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--sp-mid-d) var(--sp-mid); }
.fold > div { overflow: hidden; }
.fold.open { grid-template-rows: 1fr; }
.fold-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-weight: 600; }
.fold-btn svg { transition: transform var(--sp-mid-d) var(--sp-mid); color: var(--sub); }
.fold-btn[aria-expanded='true'] svg { transform: rotate(180deg); }
.note { display: flex; gap: 12px; align-items: flex-start; background: var(--accent-soft); border-radius: var(--r-l); padding: 16px; }
.note svg { color: var(--accent); margin-top: 1px; }
.note svg[width='22'] { margin-top: 0; }
.note b { display: block; font-size: 15px; line-height: 22px; }
.note span { display: block; font-size: 13px; line-height: 19px; color: var(--sub); }

/* 입력 칸 */
.field { display: block; }
.field + .field { margin-top: 20px; }
.field-label { display: block; font-size: 13px; line-height: 19px; font-weight: 600; color: var(--sub); margin-bottom: 8px; }
.input {
  width: 100%; height: 56px; padding: 0 16px; border: 0; border-radius: var(--r-l); background: var(--fill);
  font-size: 20px; font-weight: 600; letter-spacing: 0.01em; transition: box-shadow 0.15s, background-color 0.15s;
}
.input:focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--accent); }
.input.err { box-shadow: inset 0 0 0 1.5px var(--warn); }
.input-wrap { position: relative; }
.input-wrap .unit { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 17px; font-weight: 600; color: var(--sub); pointer-events: none; }
.input-wrap .input { padding-right: 44px; }
textarea.input { height: auto; min-height: 104px; padding: 14px 16px; font-size: 15px; line-height: 22px; font-weight: 500; resize: none; display: block; }
.help { margin-top: 8px; font-size: 13px; line-height: 19px; color: var(--sub); display: flex; justify-content: space-between; gap: 12px; }
.help.err { color: var(--warn); }
.check-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; text-align: left; font-size: 15px; font-weight: 600; }
.check-row .tick { width: 24px; height: 24px; }

/* 요청 완료 표시 */
.scroll:has(> .done) { display: flex; flex-direction: column; }
.done { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 24px 24px; }
.done-mark { width: 76px; height: 76px; margin-bottom: 28px; }
.done-mark circle { fill: var(--accent); transform-origin: 50% 50%; animation: mark-in var(--sp-mid-d) var(--sp-mid) 120ms both; }
.done-mark path { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 360ms var(--ease-out) 380ms forwards; }
@keyframes mark-in { from { transform: scale(0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done .h2 { animation: fade-up 400ms var(--ease-screen) 460ms both; }
.done p { animation: fade-up 400ms var(--ease-screen) 540ms both; }
.done .card, .done .panel { animation: fade-up 480ms var(--ease-screen) 640ms both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } }

/* ───────── 견적함 ───────── */
.req-head { display: flex; gap: 14px; align-items: center; }
.req-head img { width: 88px; height: 56px; object-fit: contain; }
.clock { display: flex; align-items: baseline; justify-content: space-between; margin-top: 18px; }
.clock .t { font-size: 28px; line-height: 36px; font-weight: 800; letter-spacing: -0.01em; }
.timebar { height: 6px; border-radius: 3px; background: var(--fill); margin-top: 10px; overflow: hidden; }
.timebar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; transition: width 1s linear; }
.timebar.warn i { background: var(--warn); }
.qlist { display: flex; flex-direction: column; gap: 12px; }
.qcard { display: block; width: 100%; text-align: left; background: #fff; border-radius: var(--r-xl); padding: 18px 20px 20px; }
.qc-top { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--body); }
.rank { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--fill); color: var(--sub); }
.rank.r1 { background: var(--accent); color: #fff; }
.qc-top .rate { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; font-size: 13px; color: var(--sub); }
.badge-ok { color: var(--accent); }
.qc-amt { display: flex; align-items: baseline; gap: 4px; margin-top: 12px; }
.qc-amt .amt { font-size: 30px; line-height: 40px; font-weight: 800; letter-spacing: -0.02em; }
.qc-amt span { font-size: 15px; color: var(--sub); font-weight: 600; }
.qc-meta { font-size: 13px; line-height: 19px; color: var(--sub); margin-top: 4px; }
.qc-note { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-size: 13px; line-height: 19px; font-weight: 700; }
.qrows { background: #fff; border-radius: var(--r-xl); padding: 6px 0; }
.qrows .row { min-height: 60px; }
.qrows .rank { width: 24px; height: 24px; font-size: 12px; }
.sk-card { background: #fff; border-radius: var(--r-xl); padding: 20px; }
.sk { background: var(--fill); border-radius: 8px; animation: sk 0.6s ease-in-out infinite alternate; }
@keyframes sk { to { opacity: 0.4; } }
.wait-copy { text-align: center; margin: 4px 0 14px; font-size: 13px; color: var(--sub); }

/* 비교 */
.cmp-tools { display: flex; justify-content: space-between; align-items: center; padding: 4px 0 8px; }
.switch { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--body); }
.switch i { position: relative; width: 48px; height: 28px; border-radius: 14px; background: var(--line-strong); transition: background-color 0.2s; }
.switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(15, 23, 40, 0.2); transition: transform var(--sp-fast-d) var(--sp-fast); }
.switch[aria-checked='true'] i { background: var(--accent); }
.switch[aria-checked='true'] i::after { transform: translateX(20px); }
.cmp-head { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 20px 12px; background: #fff; box-shadow: 0 1px 0 var(--line); margin: 0 -20px; }
.cmp-head button { text-align: left; padding: 6px 0; border-radius: var(--r-m); transition: transform var(--sp-fast-d) var(--sp-fast); }
.cmp-head button:active { transform: scale(0.96); }
.cmp-head .rank { margin-bottom: 6px; }
.cmp-head b { display: block; font-size: 15px; line-height: 22px; }
.cmp-head span:not(.rank) { font-size: 12px; line-height: 16px; color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; }
.cmp-row { display: grid; grid-template-rows: 1fr; transition: grid-template-rows var(--sp-mid-d) var(--sp-mid), opacity 0.2s; }
.cmp-row > div { overflow: hidden; }
.cmp-row .in { padding: 14px 0; border-bottom: 1px solid var(--line); }
.cmp-row .lb { font-size: 13px; line-height: 19px; color: var(--sub); margin-bottom: 6px; }
.cmp-row .cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font-size: 15px; line-height: 22px; font-weight: 600; }
.cmp-row .best { color: var(--accent); }
.cmp-row .best::after { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-left: 5px; vertical-align: 3px; }
.only-diff .cmp-row.same { grid-template-rows: 0fr; opacity: 0; }
.cmp-row.big .cells { font-size: 17px; line-height: 25px; font-weight: 800; }
.cmp-row.big .best::after { vertical-align: 4px; }
.legend { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--sub); }
.legend::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* 견적서 상세 */
.qd-top { padding: 12px 0 0; }
.qd-top .who { font-size: 15px; font-weight: 600; color: var(--body); }
.qd-amt { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.qd-amt .amt { font-size: 36px; line-height: 46px; font-weight: 800; letter-spacing: -0.025em; }
.qd-amt span { font-size: 17px; color: var(--sub); font-weight: 600; }
.profile { display: flex; gap: 14px; align-items: center; }
.avatar { flex: none; width: 48px; height: 48px; border-radius: 16px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 17px; font-weight: 800; }
.vbadge { display: inline-flex; align-items: center; gap: 3px; height: 22px; padding: 0 7px 0 5px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; margin-left: 4px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); text-align: center; }
.stats b { display: block; font-size: 17px; line-height: 25px; font-weight: 800; }
.stats span { font-size: 12px; line-height: 16px; color: var(--sub); }
.quote-say { position: relative; padding: 18px 18px 18px 20px; border-radius: var(--r-l); background: var(--fill); font-size: 17px; line-height: 26px; font-weight: 600; }
.quote-say small { display: block; font-size: 12px; line-height: 16px; color: var(--sub); font-weight: 600; margin-bottom: 6px; }
.review { padding: 14px 0; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: 0; }
.stars-s { display: inline-flex; gap: 1px; color: var(--star); vertical-align: -1px; }
.divider { height: 12px; background: var(--grey); margin: 28px -20px; }

/* 상담 진행 */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 28px 0 8px; }
.steps .track { position: absolute; left: 16.66%; right: 16.66%; top: 13px; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.steps .track i { display: block; height: 100%; background: var(--accent); border-radius: 2px; transform-origin: left; transition: transform 700ms var(--ease-screen); }
.steps li { list-style: none; position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--sub); }
.steps li .d { width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--line-strong); display: grid; place-items: center; color: #fff; transition: background-color 0.2s 0.3s, box-shadow 0.2s 0.3s; }
.steps li.on { color: var(--ink); }
.steps li.on .d { background: var(--accent); box-shadow: none; }
.steps li.on .d svg path { stroke-dasharray: 22; stroke-dashoffset: 22; animation: draw 300ms var(--ease-out) 0.45s forwards; }
.steps li.now { color: var(--ink); }
.steps li.now .d { box-shadow: inset 0 0 0 2px var(--accent); background: #fff; }
.steps li.now .d::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: live 1.4s ease-in-out infinite; }

/* 채팅 */
.chat-screen .topbar { box-shadow: 0 1px 0 var(--line); }
.pin { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 20px; background: var(--fill); font-size: 13px; line-height: 19px; }
.pin b { font-size: 15px; }
.pin .sp { flex: 1; }
.msgs { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 12px; max-width: 720px; margin: 0 auto; }
.sys { align-self: center; text-align: center; font-size: 13px; line-height: 19px; color: var(--sub); background: var(--fill); border-radius: 12px; padding: 8px 14px; margin: 4px 0 10px; max-width: 90%; }
.msg { max-width: 78%; padding: 10px 14px; border-radius: 20px; font-size: 15px; line-height: 22px; white-space: pre-wrap; }
.msg.me { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.msg.them { align-self: flex-start; background: var(--fill); border-bottom-left-radius: 6px; }
.msg-in { animation: msg-in var(--sp-mid-d) var(--sp-mid) both; }
.msg.me.msg-in { transform-origin: 100% 100%; }
.msg.them.msg-in { transform-origin: 0 100%; }
@keyframes msg-in { from { opacity: 0; transform: translateY(14px) scale(0.92); } }
.who-line { font-size: 12px; color: var(--sub); margin: 6px 0 0 4px; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa4b4; animation: bounce 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
.quick { flex: none; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px 16px 2px; background: #fff; }
.quick::-webkit-scrollbar { display: none; }
.quick .chip { background: #fff; box-shadow: inset 0 0 0 1px var(--line); height: 36px; font-size: 13px; }
.composer { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 12px max(12px, env(safe-area-inset-bottom)); background: #fff; view-transition-name: cta; }
.composer input { flex: 1; min-width: 0; height: 44px; border-radius: 22px; border: 0; background: var(--fill); padding: 0 18px; font-size: 15px; }
.send { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; transition: transform var(--sp-fast-d) var(--sp-fast), opacity 0.2s; }
.send:active { transform: scale(0.88); }
.send:disabled { opacity: 0.3; }

/* 별점 */
.stars { display: flex; justify-content: center; gap: 6px; margin: 36px 0 10px; }
.stars button { width: 52px; height: 52px; display: grid; place-items: center; color: var(--line); transition: transform var(--sp-fast-d) var(--sp-fast); }
.stars button:active { transform: scale(0.88); }
.stars button.on { color: var(--star); animation: star-pop var(--sp-mid-d) var(--sp-mid) both; }
@keyframes star-pop { 0% { transform: scale(0.6); } 60% { transform: scale(1.12); } }
.star-label { text-align: center; min-height: 25px; font-size: 17px; font-weight: 700; color: var(--body); }

/* ───────── 업체 ───────── */
.todo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.todo .card { margin: 0; padding: 18px; text-align: left; display: flex; flex-direction: column; min-height: 148px; }
.todo .k { font-size: 13px; line-height: 19px; font-weight: 600; color: var(--sub); }
.todo .n { font-size: 28px; line-height: 36px; font-weight: 800; margin-top: 2px; }
.todo .n.accent { color: var(--accent); }
.todo .who { margin-top: auto; font-size: 13px; line-height: 19px; color: var(--body); font-weight: 600; }
.todo .who .num { color: var(--warn); }
.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; white-space: nowrap; }
.due { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 8px; border-radius: 8px; background: var(--fill); font-size: 12px; font-weight: 700; color: var(--body); white-space: nowrap; }
.due.warn { background: var(--warn-soft); color: var(--warn); }
.tabbar { flex: none; display: grid; grid-template-columns: repeat(3, 1fr); height: 64px; padding-bottom: env(safe-area-inset-bottom); background: #fff; box-shadow: 0 -1px 0 var(--line); view-transition-name: cta; }
.tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; line-height: 14px; font-weight: 600; color: #7b8698; transition: transform var(--sp-fast-d) var(--sp-fast), color 0.15s; }
.tabbar button:active { transform: scale(0.9); }
.tabbar button[aria-current='page'] { color: var(--ink); }
.tabs { position: relative; display: flex; gap: 4px; margin: 4px 0 12px; box-shadow: inset 0 -1px 0 var(--line); }
.tabs button { position: relative; height: 44px; padding: 0 12px; font-size: 15px; font-weight: 600; color: var(--sub); transition: color 0.2s; }
.tabs button[aria-selected='true'] { color: var(--ink); }
.tabs .bar { position: absolute; bottom: 0; left: 0; height: 2px; background: var(--ink); border-radius: 1px; transition: transform var(--sp-mid-d) var(--sp-mid), width var(--sp-mid-d) var(--sp-mid); }
.blurred { filter: blur(7px); user-select: none; }
.reveal { animation: reveal 900ms var(--ease-screen) 300ms both; }
@keyframes reveal { from { filter: blur(9px); opacity: 0.5; } }
.contact-amt { font-size: 26px; line-height: 36px; font-weight: 800; letter-spacing: -0.01em; }
.stage-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.stage-chips .chip { height: 36px; font-size: 13px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.stage-chips .chip[aria-checked='true'] { background: var(--ink); color: #fff; box-shadow: none; animation: tick-pop var(--sp-fast-d) var(--sp-fast); }
.preview { border-radius: var(--r-xl); background: var(--grey); padding: 16px; }
.preview .qcard { box-shadow: 0 1px 2px rgba(15, 23, 40, 0.05); }
.stepper { display: flex; align-items: center; gap: 4px; background: var(--fill); border-radius: var(--r-l); height: 56px; padding: 0 6px; }
.stepper .v { flex: 1; text-align: center; font-size: 20px; font-weight: 700; }
.stepper button { width: 44px; height: 44px; border-radius: var(--r-m); display: grid; place-items: center; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 40, 0.08); transition: transform var(--sp-fast-d) var(--sp-fast); }
.stepper button:active { transform: scale(0.9); }
.chips-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-pick .chip { height: 40px; padding: 0 14px; font-size: 15px; background: var(--fill); }
.chips-pick .chip[aria-checked='true'] { background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }

/* ───────── 판·알림 띠 ───────── */
#layer { position: fixed; left: 0; right: 0; bottom: 0; top: var(--demo-h); pointer-events: none; z-index: 60; }
.dim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.2); opacity: 0; transition: opacity 0.22s; pointer-events: auto; }
.dim.on { opacity: 1; }
.sheet {
  position: absolute; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); max-width: 540px; margin: 0 auto;
  max-height: 70vh; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-sheet);
  box-shadow: 0 16px 48px rgba(15, 23, 40, 0.18); pointer-events: auto; will-change: transform;
}
.sheet-grab { flex: none; touch-action: none; cursor: grab; padding: 10px 0 0; }
.sheet-handle { width: 48px; height: 4px; border-radius: 2px; background: var(--line-strong); margin: 0 auto; }
.sheet-head { padding: 18px 24px 4px; }
.sheet-title { font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
.sheet-sub { margin-top: 6px; color: var(--sub); text-wrap: pretty; }
.sheet-body { padding: 14px 24px 4px; overflow-y: auto; overscroll-behavior: contain; }
.sheet-foot { flex: none; display: flex; gap: 8px; padding: 14px 16px 16px; }
.sheet .opts { gap: 8px; }
.sheet .opt { min-height: 56px; padding: 14px 16px; }
.checks { display: flex; flex-direction: column; gap: 12px; }
.checks li { list-style: none; display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 22px; color: var(--body); }
.checks li svg { color: var(--accent); margin-top: 2px; }
.checks li svg[width='22'] { margin-top: 0; }
.code-stack { display: flex; flex-direction: column; gap: 14px; }
.code-in { animation: code-in var(--sp-mid-d) var(--sp-mid) both; }
@keyframes code-in { from { opacity: 0; transform: translateY(-12px); } }
.toast {
  position: absolute; left: 50%; bottom: 17px; transform: translateX(-50%);
  width: max-content; max-width: min(520px, calc(100% - 40px));
  display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: var(--r-l);
  background: rgba(15, 23, 40, 0.94); color: #fff; font-size: 15px; line-height: 22px; font-weight: 600;
  box-shadow: 0 10px 28px rgba(15, 23, 40, 0.22); pointer-events: auto;
}
.toast svg { color: #8fb0ff; }

/* ───────── 화면 사이 움직임(View Transitions) ───────── */
::view-transition-old(root), ::view-transition-new(root) { animation: none; }
::view-transition-group(*) { animation-duration: 320ms; animation-timing-function: var(--ease-screen); }
::view-transition-old(screen) { animation: vt-out-l 200ms var(--ease-out) both; }
::view-transition-new(screen) { animation: vt-in-r 320ms var(--ease-screen) both; }
html[data-dir='back']::view-transition-old(screen) { animation-name: vt-out-r; }
html[data-dir='back']::view-transition-new(screen) { animation-name: vt-in-l; }
html[data-dir='up']::view-transition-old(screen) { animation: vt-fade-out 180ms var(--ease-out) both; }
html[data-dir='up']::view-transition-new(screen) { animation: vt-up 360ms var(--ease-screen) both; }
::view-transition-old(topbar), ::view-transition-new(topbar), ::view-transition-old(cta), ::view-transition-new(cta) { animation-duration: 220ms; }
@keyframes vt-out-l { to { transform: translateX(-40px); opacity: 0; } }
@keyframes vt-out-r { to { transform: translateX(40px); opacity: 0; } }
@keyframes vt-in-r { from { transform: translateX(40px); opacity: 0; } }
@keyframes vt-in-l { from { transform: translateX(-40px); opacity: 0; } }
@keyframes vt-up { from { transform: translateY(24px); opacity: 0; } }
@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-fade-in { from { opacity: 0; } }
html[data-dir='fade']::view-transition-old(screen) { animation: vt-fade-out 140ms var(--ease-out) both; }
html[data-dir='fade']::view-transition-new(screen) { animation: vt-fade-in 220ms var(--ease-out) both; }

/* ───────── 넓은 화면(펼친 폰·태블릿) ───────── */
@container stage (min-width: 690px) {
  .shelf { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; }
  .car-card { width: auto; }
  .top3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
@container stage (max-width: 359px) {
  .q { font-size: 24px; line-height: 33px; }
  .hero-title { font-size: 27px; line-height: 36px; }
  .range .ln { font-size: 30px; line-height: 40px; }
  .qc-amt .amt { font-size: 27px; }
  .todo .card { padding: 16px; }
}

/* ───────── 움직임 줄이기: 밀림·커짐·굴리기를 빼고 짧은 흐려짐만 ───────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation-duration: 160ms !important; animation-delay: 0ms !important; }
  ::view-transition-old(screen), html[data-dir]::view-transition-old(screen) { animation-name: vt-fade-out !important; }
  ::view-transition-new(screen), html[data-dir]::view-transition-new(screen) { animation-name: vt-fade-in !important; }
}

/* ───────── 캡처(피그마 시안): 화면 전체 길이로, 움직임은 끝난 상태로 ───────── */
.capture *, .capture *::before, .capture *::after { animation: none !important; transition: none !important; }
.capture .done-mark path, .capture .steps li.on .d svg path { stroke-dashoffset: 0; }
.capture .cta::before { display: none; }
html.capture, html.capture body { height: auto; overflow: visible; }
.capture #app { height: auto; min-height: 100vh; overflow: visible; }
.capture .screen { height: auto; min-height: 100vh; }
.capture .scroll { overflow: visible; flex: 1 0 auto; }
