/* 아옴 시안 B: 몰입 (Pine Immersive)
   레몬색은 화면당 한 곳, 견적 요청 버튼에만 쓴다.
   영상과 사진 위 글자는 모두 단색 면 위에 있다.
   .motion 이 없으면(움직임 줄이기, 스크립트 실패, 낮은 화면) 완성 상태가 차례로 쌓인다. */

/* ---------- 토큰 ---------- */
:root {
  --pine: #0C4A3A;
  --pine-deep: #083528;
  --pine-raise: #1B6551;
  --lemon: #EAF45C;
  --lemon-press: #DCE848;
  --on-lemon: #0A2A21;
  --ink: #10211B;
  --ink-2: #3B4C45;
  --mist: #F1F5F1;
  --leaf: #DFEDE5;
  --rule: #B4C2BA;
  --on-pine-2: #D8E7DF;
  --rule-pine: #7FA898;
  --error: #B3261E;

  --r0: 6px;
  --r1: 12px;
  --r2: 24px;

  --vh: 1vh;
  --gutter: 64px;
  --bar-h: 72px;
  --dock-h: 0px;
  --panel-w: clamp(520px, 41.6vw, 800px);
  --ease-out: cubic-bezier(.2, .7, .2, 1);

  /* 글자 단계. 이 값들만 쓴다 */
  --t-note: 14px;
  --t-ui: 16px;
  --t-body: 18px;
  --t-lead: 22px;
  --t-h3: 28px;
  --t-num: 40px;
  --t-h2: 56px;
  --t-h1: 80px;
}
@supports (height: 1svh) { :root { --vh: 1svh; } }

@media (max-width: 899.98px), (max-aspect-ratio: 4/5) {
  :root {
    --gutter: 20px;
    --bar-h: 0px;
    --dock-h: calc(80px + env(safe-area-inset-bottom));
    --t-body: 17px;
    --t-lead: 20px;
    --t-h3: 22px;
    --t-num: 34px;
    --t-h2: 34px;
    --t-h1: 42px;
  }
}
@media (min-width: 600px) and (max-aspect-ratio: 4/5) {
  :root { --gutter: 48px; --t-h1: 64px; --t-h2: 48px; --t-body: 18px; }
}
@media (min-width: 1800px) and (min-height: 1000px) {
  :root { --gutter: 96px; --t-h1: 96px; --t-h2: 64px; --t-body: 20px; --t-lead: 24px; }
}
@media (min-width: 900px) and (min-aspect-ratio: 4/5) and (max-height: 800px) {
  :root { --t-h1: 68px; --t-h2: 48px; --bar-h: 64px; }
}
@media (min-width: 900px) and (min-aspect-ratio: 4/5) and (max-height: 660px) {
  :root { --t-h1: 56px; --t-h2: 40px; --t-body: 17px; --t-h3: 22px; }
}

/* 낮은 폰: 글자 단계를 한 칸씩 내린다. 본문은 16px 아래로 가지 않는다 */
@media (max-width: 899.98px) and (max-height: 700px), (max-aspect-ratio: 4/5) and (max-height: 700px) {
  :root { --t-body: 16px; --t-h3: 20px; --t-num: 28px; --t-h2: 28px; --t-h1: 36px; }
}

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: light only; background: var(--pine-deep); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: var(--t-body);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: -.01em;
  color: var(--ink);
  background: #fff;
  word-break: keep-all;
  overflow-wrap: break-word;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.24; letter-spacing: -.022em; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.3; letter-spacing: -.015em; }
p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, canvas { display: block; }
a { color: inherit; }
em { font-style: normal; }
.sprite { position: absolute; }
.only-m { display: none; }
@media (max-width: 899.98px), (max-aspect-ratio: 4/5) {
  .only-pc { display: none; }
  .only-m { display: inline; }
}
.on-pine { color: #fff; }
:focus-visible { outline: 3px solid var(--pine); outline-offset: 3px; }
.on-pine :focus-visible, .on-pine:focus-visible { outline-color: #fff; }
::selection { background: var(--pine); color: #fff; }
.skip { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 12px 20px; border-radius: var(--r1); background: #fff; color: var(--ink); font-weight: 700; transform: translateY(-200%); }
.skip:focus { transform: none; }
[tabindex="-1"]:focus { outline: 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- 작은 부품 ---------- */
.logo {
  display: inline-flex; align-items: center; min-height: 44px; min-width: 44px;
  font-size: var(--t-h3); font-weight: 800; letter-spacing: -.02em; line-height: 1.2;
  text-decoration: none; color: inherit;
}
.ico {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.note { font-size: var(--t-note); line-height: 1.6; font-weight: 500; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px;
  border: 0; border-radius: var(--r1); cursor: pointer;
  font: inherit; font-size: var(--t-body); font-weight: 700; line-height: 1.3; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .15s;
}
.btn .ico { transition: transform .2s var(--ease-out); }
.btn:hover .ico { transform: translateX(4px); }
.btn-lemon { background: var(--lemon); color: var(--on-lemon); }
.btn-lemon:hover { background: var(--lemon-press); }
.btn-pine { background: var(--pine); color: #fff; }
.btn-pine:hover { background: var(--pine-deep); }
.btn-lg { min-height: 68px; font-size: var(--t-lead); width: 100%; }
.dots { display: inline-flex; gap: 5px; flex: none; }
.dots u { display: block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; text-decoration: none; }
.dots u.f { background: currentColor; }
.dots-lg { gap: 10px; }
.dots-lg u { width: 28px; height: 28px; border-width: 3px; }

/* ---------- 상단 띠, 하단 고정 버튼 ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--bar-h);
  display: flex; align-items: center; gap: 20px;
  padding: 0 var(--gutter);
  background: var(--pine);
  transform: translateY(-101%);
  transition: transform .35s var(--ease-out);
}
.motion .bar { visibility: hidden; transition: transform .35s var(--ease-out), visibility 0s .35s; }
.motion .bar.is-on { visibility: visible; transform: none; transition: transform .35s var(--ease-out); }
.flow .bar { transform: none; }
.bar-note { font-size: var(--t-note); font-weight: 600; color: var(--on-pine-2); line-height: 1.6; }
.bar-nav { display: flex; gap: 4px; margin: 0 auto; }
.bar-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: var(--t-ui); font-weight: 600; text-decoration: none; color: var(--on-pine-2); border-radius: var(--r1); }
.bar-nav a:hover { color: #fff; }
.bar-nav a[aria-current="true"] { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.bar-cta { min-height: 52px; padding: 0 24px; font-size: var(--t-ui); }

.dock { position: fixed; inset: auto 0 0 0; z-index: 50; display: none; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--pine); }
.dock-cta { width: 100%; min-height: 56px; }
@media (max-width: 899.98px), (max-aspect-ratio: 4/5) {
  .bar { display: none; }
  .dock { display: block; }
}

/* ---------- 장면 공통 ---------- */
.scene { position: relative; }
.motion .stage { position: sticky; top: 0; height: calc(var(--vh) * 100); overflow: hidden; }
.flow main { padding-top: var(--bar-h); }

/* ---------- 1. 히어로 ---------- */
.hero { z-index: 1; background: var(--pine); }
.hero-stage { position: relative; background: var(--pine); }
.hero-media, .final-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img, .final-media img, .seq { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.motion .hero-media { will-change: transform; }
.seq { visibility: hidden; }
.seq.is-ready { visibility: visible; }
.hero-panel { position: relative; background: var(--pine); display: flex; flex-direction: column; }
.hero-track { display: none; }
.hero-copy h1 { font-weight: 800; line-height: 1.2; }
.hero-after { display: none; }
.flow .hero-after { display: block; }
.flow .hero-after img { width: 100%; height: auto; }
.flow .seq { display: none; }
.flow .hero-hint { display: none; }
.hero-foot .note { color: var(--on-pine-2); }
.hero-hint { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: var(--t-ui); font-weight: 600; line-height: 1.5; }
.hero-hint i { flex: 1; height: 4px; background: var(--pine-raise); overflow: hidden; }
.hero-hint b, .hero-track b { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }

@media (min-width: 900px) and (min-aspect-ratio: 4/5) {
  .motion .hero { height: calc(var(--vh) * 400); }
  .hero-panel { padding: 28px 56px 28px var(--gutter); }
  .motion .hero-panel { position: absolute; inset: 0 auto 0 0; width: var(--panel-w); will-change: transform; }
  .hero-copy { margin: auto 0; padding: 24px 0; }
  .hero-copy p { margin: 24px 0 36px; font-size: var(--t-lead); line-height: 1.6; }
  .flow .hero-stage { display: grid; grid-template-columns: var(--panel-w) 1fr; min-height: calc(var(--vh) * 100 - var(--bar-h)); }
  .flow .hero-media { position: relative; inset: auto; order: 2; }
  .flow .hero-panel .logo { display: none; }
}
@media (max-width: 899.98px), (max-aspect-ratio: 4/5) {
  .motion .hero { height: calc(var(--vh) * 300); }
  .hero-panel { padding: 16px var(--gutter) calc(var(--dock-h) + 14px); }
  .motion .hero-panel { position: absolute; inset: auto 0 0 0; will-change: transform; }
  .motion .hero-track { display: block; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--pine-raise); }
  .hero-panel .logo { margin-bottom: 4px; }
  .hero-copy p { margin: 12px 0 10px; }
  .hero-cta, .hero-hint { display: none; }
  .flow .hero-media { position: relative; inset: auto; height: 62vw; }
  .flow .hero-panel { padding-bottom: 32px; }
}

/* ---------- 2. 공간 선택 ---------- */
.spaces { z-index: 2; background: #fff; }
.spaces-stage { background: #fff; }
.spaces-head p { color: var(--ink-2); }
.sp { position: relative; }
.sp-btn {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  font: inherit; color: inherit; text-align: left; cursor: pointer;
  border-radius: var(--r1);
}
/* 칸 전체를 누를 수 있게 버튼의 누름 영역을 사진까지 넓힌다 */
.sp-btn::after { content: ""; position: absolute; inset: 0; border-radius: var(--r1); }
.sp-btn:focus-visible { outline: 0; }
.sp-btn:focus-visible::after { outline: 3px solid var(--pine); outline-offset: 3px; }
.sp-ph { display: block; position: relative; overflow: hidden; border-radius: var(--r1); background: var(--mist); cursor: pointer; }
.sp-ph img { width: 100%; height: auto; }
.sp-lb { display: flex; align-items: center; gap: 16px; }
.sp-lb b { font-weight: 700; white-space: nowrap; }
.sp-go { display: none; align-items: center; gap: 6px; font-size: var(--t-ui); font-weight: 700; color: var(--pine); white-space: nowrap; }

/* 움직임 없을 때는 격자로 모두 보여 준다 */
.flow .spaces { padding: 120px var(--gutter); }
.flow .spaces-head { margin-bottom: 40px; }
.flow .sp-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.flow .sp-lb { min-height: 52px; font-size: var(--t-body); justify-content: space-between; }
.flow .sp-go { display: inline-flex; }

@media (min-width: 900px) and (min-aspect-ratio: 4/5) {
  .motion .spaces { height: calc(var(--vh) * 330); margin-top: calc(var(--vh) * -100); background: transparent; }
  .motion .spaces-stage {
    display: flex; flex-direction: column;
    padding: calc(var(--bar-h) + 32px) var(--gutter) 28px;
    border-radius: var(--r2) var(--r2) 0 0;
  }
  .spaces-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
  .spaces-head p { font-size: var(--t-lead); line-height: 1.6; padding-bottom: 6px; }
  .motion .spaces-head { flex: none; margin-bottom: 24px; }
  .motion .sp-list { flex: 1; min-height: 0; display: flex; gap: 8px; }
  .motion .sp { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; transition: flex-grow .5s var(--ease-out); }
  .motion .sp.is-active { flex-grow: 4.3; }
  .motion .sp-btn { flex: none; }
  .motion .sp-ph { flex: 1; min-height: 0; }
  .motion .sp-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .motion .sp-lb { flex: none; height: 56px; overflow: hidden; font-size: var(--t-body); }
  .motion .sp.is-active .sp-go { display: inline-flex; }
  .motion .sp.is-active .sp-lb b { color: var(--pine); }
  .sp-btn:hover .sp-go .ico { transform: translateX(3px); }
}
@media (max-width: 899.98px), (max-aspect-ratio: 4/5) {
  .flow .spaces { padding: 88px var(--gutter); }
  .flow .sp-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .flow .sp-go { display: none; }
  .spaces-head p { margin-top: 8px; }
  .motion .spaces { height: calc(var(--vh) * 240); }
  .motion .spaces-stage { display: flex; flex-direction: column; padding: 28px 0 calc(var(--dock-h) + 12px); }
  .motion .spaces-head { flex: none; padding: 0 var(--gutter); margin-bottom: 16px; }
  .motion .sp-list {
    --chip: 52px;
    flex: 1; min-height: 0; position: relative;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: var(--chip);
    align-content: end; gap: 8px;
    padding: 0 var(--gutter);
  }
  .motion .sp { position: static; }
  .motion .sp-btn { position: relative; height: var(--chip); }
  .motion .sp-btn::after { display: none; }
  .motion .sp-btn:focus-visible { outline: 3px solid var(--pine); outline-offset: 2px; }
  .motion .sp-ph {
    position: absolute; left: 0; right: 0; top: 0; bottom: calc(var(--chip) * 2 + 8px + 14px);
    border-radius: 0; visibility: hidden; z-index: 1;
  }
  .motion .sp-ph img { width: 100%; height: 100%; object-fit: cover; }
  .motion .sp.was-active .sp-ph { visibility: visible; z-index: 2; }
  .motion .sp.is-active .sp-ph { visibility: visible; z-index: 3; animation: sp-reveal .42s var(--ease-out); }
  .motion .sp-lb { height: 100%; justify-content: center; background: var(--mist); border-radius: var(--r1); }
  .motion .sp-lb b { font-size: var(--t-ui); font-weight: 600; }
  .motion .sp.is-active .sp-lb { background: var(--pine); color: #fff; }
  .motion .sp.is-active .sp-lb b { font-weight: 700; }
}

@keyframes sp-reveal { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }

/* ---------- 3. 세 자리 ---------- */
.seats { z-index: 3; background: var(--pine); }
.seats-stage { background: var(--pine); }
.seats-left p { color: var(--on-pine-2); }
.flow .swap-b { margin-top: 64px; }
.motion .swap { display: grid; }
.motion .swap > * { grid-area: 1 / 1; margin: 0; transition: opacity .25s; }
.motion .swap-b { visibility: hidden; opacity: 0; }
.motion .swap.is-b .swap-a { visibility: hidden; opacity: 0; }
.motion .swap.is-b .swap-b { visibility: visible; opacity: 1; }
.swap p { margin-top: 20px; font-size: var(--t-lead); line-height: 1.6; }
.seat-status { display: flex; align-items: baseline; gap: 12px; margin-top: 36px; color: #fff !important; font-size: var(--t-lead); font-weight: 600; line-height: 1.3; }
.seat-status b { font-size: var(--t-h2); font-weight: 800; letter-spacing: -.02em; line-height: 1.24; }
.flow .seat-status { display: none; }

.board-head { font-size: var(--t-ui); font-weight: 600; line-height: 1.6; color: var(--on-pine-2); margin-bottom: 16px; }
.board { --ring: 68px; --ring-gap: 20px; }
.slots { display: grid; gap: 12px; }
.slot { display: grid; grid-template-columns: var(--ring) minmax(0, 1fr); gap: var(--ring-gap); align-items: center; }
.ring { position: relative; display: block; width: var(--ring); height: var(--ring); border-radius: 50%; border: 3px solid #fff; }
.ring i {
  position: absolute; inset: -3px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--pine);
  font-style: normal; font-size: var(--t-h3); font-weight: 800; line-height: 1;
  transform: scale(0); transition: transform .2s var(--ease-out);
}
.slot.is-taken .ring i { transform: scale(1); }
.slot-body { position: relative; }
.slot-empty { position: absolute; left: 0; top: 50%; transform: translateY(-50%); font-size: var(--t-body); font-weight: 600; color: #fff; }
.slot-empty-b { display: none; }
.slot-empty.is-reopened .slot-empty-a { display: none; }
.slot-empty.is-reopened .slot-empty-b { display: inline; }
.offer { position: relative; background: #fff; color: var(--ink); border-radius: var(--r1); padding: 16px 24px; will-change: transform; }
.flow .slot-empty { display: none; }
.offer-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.offer-top h3 { font-size: var(--t-lead); }
.offer-price { font-size: var(--t-lead); font-weight: 800; letter-spacing: -.02em; line-height: 1.3; white-space: nowrap; }
.offer-meta { font-size: var(--t-ui); color: var(--ink-2); line-height: 1.6; margin-top: 2px; }
.offer-num { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: var(--t-ui); font-weight: 600; line-height: 1.5; white-space: nowrap; }
.offer-num .ico { width: 20px; height: 20px; stroke-width: 2.4; }
.offer .ico-open, .offer .n-clear, .offer .n-open { display: none; }
.offer.is-open .ico-open, .offer.is-open .n-clear, .offer.is-open .n-open { display: inline-block; }
.offer.is-open .ico-lock, .offer.is-open .n-masked, .offer.is-open .n-lock { display: none; }
.n-state { font-size: var(--t-note); font-weight: 700; line-height: 1.4; padding: 2px 8px; border-radius: var(--r0); background: var(--mist); }
.n-open { background: var(--pine); color: #fff; }
.offer-rm {
  position: absolute; right: 16px; top: 14px;
  display: none; padding: 4px 12px; border-radius: var(--r0);
  background: var(--ink); color: #fff; font-size: var(--t-note); font-weight: 700; line-height: 1.5;
}
.offer.is-removing .offer-rm { display: block; }
.offer.is-removing .offer-price { visibility: hidden; }

.slot-x { position: relative; margin: 12px 0 0 calc(var(--ring) + var(--ring-gap)); }
.fourth { background: var(--pine-raise); color: #fff; border-radius: var(--r1); padding: 14px 24px; will-change: transform; }
.fourth-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fourth h3 { font-size: var(--t-lead); }
.fourth-tag { font-size: var(--t-ui); font-weight: 800; line-height: 1.4; padding: 2px 10px; border-radius: var(--r0); background: #fff; color: var(--pine-deep); }
.fourth .offer-num { margin-top: 4px; }
.fourth .n-state { background: var(--pine-deep); }
.closed-row { display: none; }
.motion .closed-row {
  position: absolute; left: calc(-1 * (var(--ring) + var(--ring-gap))); right: 0; top: 50%; transform: translateY(-50%);
  padding-left: calc((var(--ring) - 24px) / 2);
  display: flex; align-items: center; gap: calc((var(--ring) - 24px) / 2 + var(--ring-gap));
  font-size: var(--t-body); font-weight: 600; line-height: 1.5; color: #fff;
  opacity: 0;
}
.closed-b { display: none; }
.closed-row.is-b .closed-a { display: none; }
.closed-row.is-b .closed-b { display: inline; }

@media (min-width: 900px) and (min-aspect-ratio: 4/5) {
  .motion .seats { height: calc(var(--vh) * 390); margin-top: calc(var(--vh) * -100); background: transparent; }
  .motion .seats-grid { height: 100%; padding: calc(var(--bar-h) + 16px) var(--gutter) 24px; }
  .seats-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7.6fr); gap: 72px; align-items: center; }
  .offer-num { font-size: var(--t-body); }
  .flow .seats-grid { padding: 140px var(--gutter); align-items: start; }
}
@media (min-width: 900px) and (min-aspect-ratio: 4/5) and (max-height: 800px) {
  .offer { padding: 10px 20px; }
  .offer-meta { display: none; }
  .offer-num { margin-top: 4px; }
  .board { --ring: 56px; --ring-gap: 16px; }
  .fourth { padding: 10px 20px; }
  .seat-status { margin-top: 20px; }
}
@media (max-width: 899.98px), (max-aspect-ratio: 4/5) {
  .flow .seats-grid { padding: 88px var(--gutter); }
  .flow .board { margin-top: 40px; }
  .motion .seats { height: calc(var(--vh) * 300); }
  .motion .seats-grid { height: 100%; display: flex; flex-direction: column; padding: 24px var(--gutter) calc(var(--dock-h) + 12px); }
  .swap p { margin-top: 8px; font-size: var(--t-body); line-height: 1.65; }
  .motion .seats-left { display: contents; }
  .seat-status { margin-top: auto; padding-top: 12px; font-size: var(--t-body); gap: 8px; }
  .seat-status b { font-size: var(--t-num); }
  .board-head { font-size: var(--t-note); margin-bottom: 8px; }
  .board-time { display: none; }
  .motion .board { flex: none; margin-top: 2px; }
  .slots { gap: 8px; }
  .board { --ring: 44px; --ring-gap: 10px; }
  .ring i { font-size: var(--t-lead); }
  .offer { padding: 10px 14px; }
  .offer-top h3, .offer-price { font-size: var(--t-body); }
  .offer-meta { font-size: var(--t-note); }
  .offer-num { gap: 6px; margin-top: 4px; }
  .offer-rm { right: 10px; top: 8px; }
  .slot-x { margin-top: 8px; min-height: 48px; }
  .fourth { padding: 8px 14px; }
  .fourth h3 { font-size: var(--t-body); }
  .fourth .offer-num { margin-top: 2px; }
  .motion .closed-row { font-size: var(--t-ui); }
}
@media (max-aspect-ratio: 4/5) and (max-height: 760px), (max-width: 899.98px) and (max-height: 760px) {
  .offer-meta { display: none; }
}

@media (max-width: 899.98px) and (max-height: 700px), (max-aspect-ratio: 4/5) and (max-height: 700px) {
  .board-head { margin-bottom: 4px; }
  .seat-status { padding-top: 4px; }
  .swap p { line-height: 1.6; }
  .slots { gap: 6px; }
  .offer { padding: 8px 12px; }
  .slot-x { margin-top: 6px; }
  .fourth { padding: 6px 12px; }
}

/* 태블릿 세로: 묶음을 가운데로 */
@media (min-width: 600px) and (max-width: 899.98px), (min-width: 600px) and (max-aspect-ratio: 4/5) {
  .motion .seats-grid { justify-content: center; padding-left: var(--gutter); padding-right: var(--gutter); }
  .motion .seat-status { margin-top: 40px; }
  .board { --ring: 64px; --ring-gap: 16px; }
  .offer { padding: 16px 20px; }
  .offer-top h3, .offer-price { font-size: var(--t-lead); }
  .offer-meta { font-size: var(--t-ui); }
}

/* ---------- 4. 조건 공개 ---------- */
.terms { z-index: 4; background: #fff; }
.terms-stage { background: #fff; }
.wipe { position: relative; margin: 0; }
.w-img img { width: 100%; height: 100%; object-fit: cover; }
.w-edge { display: none; }
.w-chip { position: absolute; bottom: 16px; z-index: 3; padding: 6px 14px; border-radius: var(--r1); background: #fff; color: var(--ink); font-size: var(--t-ui); font-weight: 700; line-height: 1.5; white-space: nowrap; }
.terms-lead { margin-top: 16px; color: var(--ink-2); font-size: var(--t-lead); line-height: 1.6; }
.terms-sub { margin-top: 28px; font-size: var(--t-ui); font-weight: 600; color: var(--ink-2); line-height: 1.6; }
.t-row { padding: 14px 0; border-top: 1px solid var(--rule); }
.t-row:first-child { border-top: 0; }
.t-row h3 { display: flex; align-items: baseline; justify-content: space-between; font-size: var(--t-lead); margin-bottom: 6px; }
.t-count { font-size: var(--t-note); font-weight: 600; color: var(--ink-2); letter-spacing: 0; display: none; }
.t-row dl > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; align-items: start; }
.t-row dl > div + div { margin-top: 2px; }
.t-row dt { display: flex; align-items: center; gap: 6px; font-size: var(--t-body); font-weight: 700; line-height: 1.6; white-space: nowrap; }
.t-row dt .ico { width: 18px; height: 18px; stroke-width: 2.67; color: var(--pine); }
.t-row dd { font-size: var(--t-body); line-height: 1.6; }

/* 움직임 없을 때: 전후를 나란히 */
.flow .wipes { display: grid; gap: 16px; }
.flow .wipe { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.flow .w-chip { bottom: 12px; }
.flow .w-chip-before { left: 12px; }
.flow .w-chip-after { left: calc(50% + 14px); }
.flow .terms-copy { padding: 0; }

.motion .wipes { position: relative; overflow: hidden; background: var(--mist); }
.motion .wipe { position: absolute; inset: 0; will-change: transform; }
.motion .w-img { position: absolute; inset: 0; }
.motion .w-after { --w: 0; clip-path: polygon(0 0, calc(var(--w) * 1%) 0, calc((var(--w) - 12) * 1%) 100%, 0 100%); }
.motion .w-edge { display: block; position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: #fff; transform-origin: 2px 0; z-index: 2; opacity: 0; }
.motion .w-chip { transition: opacity .15s; }
.motion .w-chip-after { left: 16px; opacity: 0; }
.motion .w-chip-before { right: 16px; }
.motion .w-chip.is-hidden { opacity: 0; }
.motion .w-chip.is-shown { opacity: 1; }
.motion .t-row { transition: opacity .2s; }

@media (min-width: 900px) and (min-aspect-ratio: 4/5) {
  .motion .terms { height: calc(var(--vh) * 390); margin-top: calc(var(--vh) * -100); background: transparent; }
  .motion .terms-stage { border-radius: var(--r2) var(--r2) 0 0; }
  .motion .wipes { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; will-change: width; }
  .motion .terms-copy {
    position: absolute; right: 0; top: 0; bottom: 0; width: 44%;
    display: flex; flex-direction: column; justify-content: center;
    padding: calc(var(--bar-h) + 16px) var(--gutter) 16px 64px;
    background: #fff; will-change: transform;
  }
  .motion .w-chip { bottom: 28px; }
  .motion .w-chip-after { left: 24px; }
  .motion .w-chip-before { right: 24px; }
  .flow .terms-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; padding: 140px var(--gutter); align-items: start; }
  .motion .t-row:not(.is-on) { opacity: 0; }
}
@media (min-width: 900px) and (min-aspect-ratio: 4/5) and (max-height: 800px) {
  .terms-lead { margin-top: 8px; }
  .terms-sub { margin-top: 14px; }
  .t-row { padding: 8px 0; }
  .t-row h3 { margin-bottom: 2px; font-size: var(--t-body); }
  .t-row dt, .t-row dd { font-size: var(--t-ui); }
}
@media (max-width: 899.98px), (max-aspect-ratio: 4/5) {
  .flow .terms-stage { display: grid; gap: 32px; padding: 88px var(--gutter); }
  .flow .wipes { order: 2; }
  .motion .terms { height: calc(var(--vh) * 300); }
  .motion .terms-stage { display: flex; flex-direction: column; padding-bottom: calc(var(--dock-h) + 12px); }
  .motion .wipes { order: 2; flex: 1; min-height: 0; margin-top: 16px; }
  .motion .terms-copy { display: contents; }
  .motion .terms-copy h2 { order: 0; padding: 24px var(--gutter) 0; }
  .terms-lead { font-size: var(--t-body); line-height: 1.65; }
  .motion .terms-lead { order: 1; padding: 0 var(--gutter); margin-top: 8px; }
  .terms-sub { display: none; }
  .motion .t-rows { order: 3; display: grid; padding: 14px var(--gutter) 4px; }
  .motion .t-row { grid-area: 1 / 1; padding: 0; border: 0; opacity: 0; visibility: hidden; }
  .motion .t-row.is-on { opacity: 1; visibility: visible; }
  .t-count { display: inline; }
  .t-row dl > div { grid-template-columns: 92px minmax(0, 1fr); gap: 4px; }
  .t-row dt, .t-row dd { font-size: var(--t-ui); line-height: 1.65; }
}

/* ---------- 5. 진짜 웹 증명 ---------- */
.web { z-index: 5; background: var(--pine); }
.web-stage { background: var(--pine); }
.web-head p { margin-top: 10px; color: var(--on-pine-2); font-size: var(--t-body); line-height: 1.65; }
.vs-wrap { display: flex; flex-direction: column; }
.dim { flex: none; display: flex; align-items: center; gap: 10px; height: 36px; color: #fff; }
.dim i { flex: 1; height: 2px; background: var(--rule-pine); position: relative; }
.dim i::before { content: ""; position: absolute; top: -6px; width: 2px; height: 14px; background: var(--rule-pine); }
.dim i:first-child::before { left: 0; }
.dim i:last-child::before { right: 0; }
.dim output, .readout output { font-size: var(--t-ui); font-weight: 700; line-height: 1.5; white-space: nowrap; }
.readout { display: none; }

.vs { flex: 1; min-height: 0; container: vs / inline-size; background: #fff; color: var(--ink); border-radius: var(--r2) var(--r2) 0 0; overflow: hidden; }
.vs-grid {
  display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "nav" "kpi" "new" "week" "hire";
  align-content: start;
}
.vs-head { grid-area: head; display: flex; align-items: center; gap: 14px; padding: 14px 20px 10px; }
.vs-logo { font-size: var(--t-lead); font-weight: 800; letter-spacing: -.03em; color: var(--pine); }
.vs-who { display: flex; flex-direction: column; min-width: 0; }
.vs-who h3 { font-size: var(--t-ui); font-weight: 700; line-height: 1.4; letter-spacing: -.01em; }
.vs-who span { font-size: var(--t-note); color: var(--ink-2); line-height: 1.4; }
.vs-nav { grid-area: nav; display: flex; gap: 18px; padding: 0 20px; border-bottom: 1px solid var(--rule); }
.vs-nav li { padding: 10px 0; font-size: var(--t-ui); font-weight: 600; line-height: 1.5; color: var(--ink-2); white-space: nowrap; }
.vs-nav li.on { color: var(--pine); font-weight: 800; box-shadow: inset 0 -3px 0 var(--pine); }
.vs-kpi { grid-area: kpi; display: none; }
.vs-kpi div { display: flex; align-items: baseline; gap: 10px; padding: 12px 20px; }
.vs-kpi span { font-size: var(--t-ui); color: var(--ink-2); line-height: 1.5; white-space: nowrap; }
.vs-kpi b { font-size: var(--t-h3); font-weight: 800; line-height: 1.3; }
.vs section { padding: 16px 20px; min-width: 0; }
.vs h4 { font-size: var(--t-body); font-weight: 700; letter-spacing: -.02em; line-height: 1.4; margin-bottom: 8px; }
.vs-new { grid-area: new; }
.vs-detail { grid-area: detail; display: none; }
.vs-week { grid-area: week; }
.vs-hire { grid-area: hire; }
.req { display: grid; gap: 1px; padding: 12px 0; border-top: 1px solid var(--rule); }
.req:first-of-type { border-top: 0; padding-top: 4px; }
.req b { font-size: var(--t-body); font-weight: 700; line-height: 1.45; }
.req > span { font-size: var(--t-ui); color: var(--ink-2); line-height: 1.6; }
.req .req-seat { display: flex; align-items: center; gap: 8px; margin-top: 3px; color: var(--ink); font-size: var(--t-ui); font-weight: 600; }
.req .dots { color: var(--pine); }
.vs-detail dl > div { padding: 8px 0; border-top: 1px solid var(--rule); }
.vs-detail dl > div:first-child { border-top: 0; padding-top: 0; }
.vs-detail dt { font-size: var(--t-note); color: var(--ink-2); line-height: 1.5; }
.vs-detail dd { font-size: var(--t-ui); font-weight: 600; line-height: 1.6; }
.vs-btn { display: flex; align-items: center; justify-content: center; min-height: 52px; margin-top: 12px; border-radius: var(--r1); background: var(--pine); color: #fff; font-size: var(--t-ui); font-weight: 700; }
.vs-week li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; padding: 5px 0; font-size: var(--t-ui); line-height: 1.6; }
.vs-week b { font-weight: 700; }
.vs-hire p { display: grid; gap: 1px; font-size: var(--t-ui); line-height: 1.6; }
.vs-hire b { font-weight: 700; }
.vs-hire span { color: var(--ink-2); }

@container vs (min-width: 600px) {
  .vs-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    grid-template-areas: "head head" "nav nav" "kpi kpi" "new week" "new hire";
  }
  .vs-kpi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--rule); }
  .vs-kpi div { flex-direction: column; gap: 0; padding: 10px 20px; }
  .vs-week, .vs-hire { border-left: 1px solid var(--rule); }
}
@container vs (min-width: 980px) {
  .vs-grid {
    grid-template-columns: 176px minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .9fr);
    grid-template-rows: auto auto auto minmax(0, 1fr);
    grid-template-areas:
      "head head head head"
      "nav kpi kpi kpi"
      "nav new detail week"
      "nav new detail hire";
    height: 100%;
  }
  .vs-head { border-bottom: 1px solid var(--rule); padding: 14px 24px; }
  .vs-nav { flex-direction: column; gap: 4px; padding: 16px 12px; border-bottom: 0; background: var(--mist); }
  .vs-nav li { padding: 10px 12px; border-radius: var(--r0); }
  .vs-nav li.on { background: var(--pine); color: #fff; box-shadow: none; }
  .vs-detail { display: block; border-left: 1px solid var(--rule); }
  .vs-kpi div { flex-direction: row; gap: 10px; padding: 14px 24px; }
  .vs section { padding: 20px 24px; }
  .req.on { background: var(--leaf); margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: var(--r0); border-top-color: transparent; }
  .req.on + .req { border-top-color: transparent; }
}

/* 세로 화면에서 PC 폭을 볼 때: 세 칸을 화면 폭에 맞춰 한 칸씩 멈춰 읽는다 */
@media (max-width: 899.98px), (max-aspect-ratio: 4/5) {
  @container vs (min-width: 980px) {
    .vs-grid { grid-template-columns: 176px repeat(3, minmax(0, 1fr)); }
    .vs-kpi { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .vs-kpi div:nth-child(4) { display: none; }
    .vs-kpi div, .vs section, .vs-head { padding-left: 20px; padding-right: 20px; }
    .req.on { margin: 0 -8px; padding-left: 8px; padding-right: 8px; }
  }
  .vs-head { will-change: transform; }
}

@media (min-width: 900px) and (min-aspect-ratio: 4/5) {
  .motion .web { height: calc(var(--vh) * 340); margin-top: calc(var(--vh) * -100); background: transparent; }
  .web-inner { padding: calc(var(--bar-h) + 28px) var(--gutter) 0; }
  .motion .web-inner { height: 100%; display: flex; flex-direction: column; }
  .motion .vs-bay { flex: 1; min-height: 0; position: relative; margin-top: 12px; }
  .motion .vs-wrap { position: absolute; left: 0; top: 0; bottom: 0; width: 390px; }
  .flow .web-inner { padding-top: 140px; padding-bottom: 140px; }
  .flow .vs-bay { margin-top: 32px; display: grid; grid-template-columns: 390px minmax(0, 1fr); gap: 24px; align-items: start; }
  .flow .vs { border-radius: var(--r2); }
}
@media (max-width: 899.98px), (max-aspect-ratio: 4/5) {
  .web-inner { padding: 24px 0 0; }
  .web-head { padding: 0 var(--gutter); }
  .web-head p { font-size: var(--t-ui); }
  .dim { display: none; }
  .motion .web { height: calc(var(--vh) * 300); }
  .motion .web-inner { height: 100%; display: flex; flex-direction: column; }
  .motion .vs-bay { flex: 1; min-height: 0; display: flex; flex-direction: column; margin-top: 12px; }
  .readout { flex: none; display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 var(--gutter); }
  .flow .readout { display: none; }
  .mini { flex: 1; display: block; height: 16px; position: relative; }
  .mini-frame { position: absolute; left: 0; top: 0; bottom: 0; width: 30%; background: var(--pine-raise); border-radius: var(--r0); }
  .mini-frame b { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: #fff; border-radius: var(--r0); }
  .motion .vs-wrap { flex: 1; min-height: 0; width: 100vw; will-change: transform; }
  .motion .vs { border-radius: 0; padding-bottom: var(--dock-h); }
  .flow .web-inner { padding: 88px 0; }
  .flow .vs-bay { margin: 28px var(--gutter) 0; }
  .flow .vs { border-radius: var(--r1); }
}

/* 태블릿 세로: PC처럼 왼쪽에서 넓어진다. 패닝이 필요 없다 */
@media (min-width: 600px) and (max-width: 899.98px), (min-width: 600px) and (max-aspect-ratio: 4/5) {
  .readout { display: none; }
  .dim { display: flex; }
  .motion .vs-bay { position: relative; margin: 12px var(--gutter) 0; display: block; }
  .motion .vs-wrap { position: absolute; left: 0; top: 0; bottom: 0; width: 390px; display: flex; will-change: auto; }
  .motion .vs { border-radius: var(--r2) var(--r2) 0 0; padding-bottom: var(--dock-h); }
}
@media (max-width: 899.98px) and (max-height: 700px), (max-aspect-ratio: 4/5) and (max-height: 700px) {
  .web-more { display: none; }
}

/* ---------- 6. 일손 ---------- */
.hands { position: relative; z-index: 6; background: #fff; padding: 160px var(--gutter); }
.hands-head p { margin-top: 16px; color: var(--ink-2); }
.hands-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.hand { padding: 40px 48px 44px; border-radius: var(--r2); }
.hand-busy { background: var(--pine); }
.hand-free { background: var(--mist); }
.hand-role { font-size: var(--t-body); font-weight: 700; line-height: 1.5; }
.hand-busy .hand-role { color: var(--on-pine-2); }
.hand-free .hand-role { color: var(--pine); }
.hand-free .hand-role, .hand-free dt, .hand-free dd { font-size: max(17px, var(--t-body)); }
.hand h3 { margin-top: 6px; }
.hand-pay { margin: 20px 0 16px; font-size: var(--t-num); font-weight: 800; letter-spacing: -.02em; line-height: 1.24; }
.hand dl > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); }
.hand-busy dl > div { border-top-color: var(--rule-pine); }
.hand dt { font-weight: 700; font-size: var(--t-body); line-height: 1.6; }
.hand dd { font-size: var(--t-body); line-height: 1.6; }

@media (min-width: 900px) and (min-aspect-ratio: 4/5) {
  .motion .hands { margin-top: calc(var(--vh) * -100); border-radius: var(--r2) var(--r2) 0 0; }
}
@media (max-width: 899.98px), (max-aspect-ratio: 4/5) {
  .hands { padding: 88px var(--gutter) 104px; }
  .hands-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 32px; }
  .hand { padding: 24px 24px 20px; border-radius: var(--r2); }
  .motion .hand { position: sticky; top: 16px; }
  .hand-pay { margin: 12px 0 8px; }
  .hand dl > div { grid-template-columns: 76px minmax(0, 1fr); gap: 8px; }
}

/* ---------- 7. 마지막, 푸터 ---------- */
.final { z-index: 7; background: var(--pine); }
.final-stage { position: relative; background: var(--pine); }
.final-panel { position: relative; background: var(--pine); }
.final-lead { margin-top: 20px; font-size: var(--t-lead); line-height: 1.6; }
.final-seats { display: flex; align-items: center; gap: 10px; font-size: var(--t-ui); font-weight: 600; line-height: 1.5; }
.final-seats .dots u { width: 14px; height: 14px; }
.foot { position: relative; z-index: 8; background: var(--pine-deep); padding: 56px var(--gutter); display: flex; gap: 64px; align-items: flex-start; }
.foot-text { display: grid; gap: 4px; color: var(--on-pine-2); font-size: var(--t-note); line-height: 1.6; }
.foot-law { color: #fff; font-size: var(--t-ui); font-weight: 600; margin-bottom: 8px; line-height: 1.6; }

@media (min-width: 900px) and (min-aspect-ratio: 4/5) {
  .motion .final { height: calc(var(--vh) * 170); }
  .motion .final-panel { position: absolute; inset: 0 auto 0 0; width: var(--panel-w); padding: 40px 56px 40px var(--gutter); display: flex; flex-direction: column; justify-content: center; will-change: transform; }
  .final-cta { margin-top: 36px; }
  .final-seats { margin-top: 24px; }
  .flow .final-stage { display: grid; grid-template-columns: var(--panel-w) 1fr; min-height: calc(var(--vh) * 100); }
  .flow .final-media { position: relative; inset: auto; order: 2; }
  .flow .final-panel { padding: 80px 56px 80px var(--gutter); }
}
@media (max-width: 899.98px), (max-aspect-ratio: 4/5) {
  .motion .final { height: calc(var(--vh) * 160); }
  .motion .final-panel { position: absolute; inset: auto 0 0 0; padding: 24px var(--gutter) calc(var(--dock-h) + 18px); will-change: transform; }
  .final-cta { display: none; }
  .final-lead { margin-top: 10px; font-size: var(--t-body); line-height: 1.65; }
  .final-seats { margin-top: 12px; }
  .flow .final-media { position: relative; inset: auto; height: 62vw; }
  .flow .final-panel { padding: 32px var(--gutter) 40px; }
  .foot { flex-direction: column; gap: 12px; padding: 40px var(--gutter) calc(var(--dock-h) + 32px); }
}

/* 가로로 낮은 폰: 글과 사진을 나란히 놓아 첫 화면에 제목이 보이게 한다 */
@media (max-width: 899.98px) and (max-height: 559px) and (orientation: landscape) {
  :root { --t-h1: 32px; --t-h2: 28px; }
  .flow .hero-stage, .flow .final-stage { display: grid; grid-template-columns: 56% minmax(0, 1fr); }
  .flow .hero-media, .flow .final-media { height: auto; order: 2; }
  .flow .hero-panel, .flow .final-panel { padding-bottom: calc(var(--dock-h) + 12px); }
  .flow .hero-copy p { margin: 8px 0; }
}

/* ---------- 견적 요청 창 ---------- */
.quote {
  border: 0; padding: 0; margin: auto;
  width: min(560px, calc(100vw - 32px));
  max-height: min(820px, calc(var(--vh) * 100 - 32px));
  border-radius: var(--r2);
  background: #fff; color: var(--ink);
  overflow: hidden;
}
.quote:focus, .quote:focus-visible { outline: 0; }
.quote::backdrop { background: rgba(6, 34, 26, .92); }
.quote-form, .quote-done { display: flex; flex-direction: column; max-height: inherit; }
.quote-done[hidden], .quote-form[hidden] { display: none; }
.quote-top { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 12px 28px; }
.quote-top h2 { font-size: var(--t-h3); }
.quote-top h2:focus { outline: 0; }
.quote-x { width: 48px; height: 48px; display: grid; place-items: center; background: none; border: 0; border-radius: var(--r1); cursor: pointer; color: var(--ink); }
.quote-x:hover { background: var(--mist); }
.quote-body { flex: 1; min-height: 0; overflow: auto; padding: 4px 28px 8px; }
.quote fieldset { border: 0; margin: 0; padding: 0; }
.quote legend, .q-field label { display: block; padding: 0; margin-bottom: 8px; font-size: var(--t-ui); font-weight: 700; line-height: 1.5; }
.q-spaces { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.q-spaces label { position: relative; cursor: pointer; }
.q-spaces input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.q-spaces span { display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: var(--r1); background: var(--mist); font-size: var(--t-ui); font-weight: 600; line-height: 1.3; }
.q-spaces input:checked + span { background: var(--pine); color: #fff; font-weight: 700; }
.q-spaces input:focus-visible + span { outline: 3px solid var(--pine); outline-offset: 2px; }
.q-field { margin-top: 18px; }
.q-field input, .q-field select {
  width: 100%; min-height: 56px; padding: 0 16px;
  border: 2px solid #5C6E66; border-radius: var(--r1); background: #fff;
  font: inherit; font-size: var(--t-body); color: var(--ink);
}
.q-field input::placeholder { color: #566860; opacity: 1; }
.q-field input:focus-visible, .q-field select:focus-visible { outline: 3px solid var(--pine); outline-offset: 1px; border-color: var(--pine); }
.q-field input[aria-invalid="true"] { border-color: var(--error); }
.q-err { font-size: var(--t-ui); font-weight: 600; color: var(--error); line-height: 1.5; }
.q-err:not(:empty) { margin-top: 6px; }
.quote-note { margin-top: 14px; color: var(--ink-2); }
.quote-foot { flex: none; padding: 12px 28px 24px; }
.done-seats { display: flex; align-items: center; gap: 16px; padding: 8px 0 16px; color: var(--pine); }
.done-seats b { font-size: var(--t-lead); font-weight: 800; }
.done-text { margin-bottom: 12px; }
html.is-quote-open .dock { visibility: hidden; }
@media (max-width: 899.98px), (max-aspect-ratio: 4/5) {
  .quote { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; border-radius: 0; }
  .quote-form, .quote-done { height: 100%; max-height: none; }
  .quote-top { padding: 12px 8px 8px 20px; }
  .quote-body { padding: 4px 20px 8px; }
  .quote-foot { padding: 10px 16px calc(14px + env(safe-area-inset-bottom)); }
}
