/* Clearbay AI capability showcase: the custom glider configurator.
   Visual language follows "The exhibit wall" site design: Inter with Barlow Condensed labels,
   the text lockup, ink pills, and the blueprint hall for work built as a sample. */

:root {
  --teal: #0D9488; --teal-ink: #0a7168; --teal-deep: #0a5f58; --mint: #6ef0dc; --ink: #1A1A1A; --paper: #FAFAFA; --gray: #6B7280; --gray-ink: #535b66;
  --border: #E5E7EB; --line: #d5d9de; --navy: #0f1e3a; --blue: #143b78; --blue-deep: #0f3270; --blue-mute: #cbd9f3; --amber: #ffd98a;
  --wrap: 1400px; --pad: clamp(16px, 3.2vw, 40px);
  --disp: 'Barlow Condensed', 'Inter', system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --blueprint: linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px) 0 0 / 120px 120px, linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px) 0 0 / 120px 120px, linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 24px 24px, #143b78;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.5; font-size: 17px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, dt, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, select, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
[tabindex="-1"]:focus { outline: none; }
.intro :focus-visible, .vp :focus-visible, .pricebar :focus-visible, .rail :focus-visible { outline-color: var(--mint); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 12px 16px; z-index: 100; border-radius: 6px; }
.skip:focus { top: 8px; }

/* ---------- header ---------- */
.top { background: var(--paper); border-bottom: 1px solid var(--border); position: relative; z-index: 30; }
.top__in { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.lockup { font-weight: 700; letter-spacing: -0.025em; font-size: 23px; text-decoration: none; display: inline-flex; align-items: baseline; min-height: 44px; line-height: 44px; white-space: nowrap; }
.lockup--sm { font-size: 19px; }
.lk-c { color: #1d1d1f; } .lk-p { font-weight: 300; opacity: .2; margin: 0 .22em; } .lk-a { color: var(--teal); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 8px; color: #2b2f36; white-space: nowrap; }
.nav a:hover { background: #eef0f2; }
.nav__back::before { content: "\2190"; margin-right: 8px; }
.nav .nav__call { margin-left: 6px; background: var(--ink); color: #fff; font-weight: 600; padding: 0 16px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.nav .nav__call:hover { background: var(--teal-deep); }
.nav__short { display: none; }
@media (max-width: 559px) {
  .lockup { font-size: 20px; }
  .nav a { padding: 0 8px; font-size: 14px; }
  .nav .nav__call { padding: 0 13px; margin-left: 2px; }
  .nav__num { display: none; } .nav__short { display: inline; }
}

/* ---------- type and buttons ---------- */
.eyebrow { font-family: var(--disp); font-weight: 600; font-size: 18px; letter-spacing: .03em; color: var(--teal-ink); }
.h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; text-wrap: balance; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; border: 0; font-size: 16px; white-space: nowrap; }
.btn:hover { background: var(--teal-deep); }
.btn--line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--line:hover { background: rgba(127, 127, 127, .14); }
.btn--teal { background: var(--teal-deep); }
.btn--teal:hover { background: var(--teal-ink); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.arrow::after { content: "\2192"; font-weight: 500; transition: transform .2s; }
.arrow:hover::after { transform: translateX(3px); }
.sample { font-size: 13.5px; color: var(--gray-ink); font-weight: 500; }
.sample::before { content: ""; display: inline-block; width: 9px; height: 9px; border: 2px dashed currentColor; border-radius: 2px; margin-right: 8px; vertical-align: -1px; }

/* ---------- intro strip (the blueprint hall) ---------- */
.intro { background: var(--blueprint); color: #fff; padding: clamp(12px, 1.4vw, 18px) 0; }
.intro__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 40px; align-items: end; }
.intro__head { grid-column: 1 / -1; }
.intro .eyebrow { color: var(--mint); font-size: 17px; line-height: 1.2; }
.intro__h { font-size: clamp(22px, 2.5vw, 34px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 800; text-wrap: balance; margin-top: 2px; }
.intro__p { color: var(--blue-mute); font-size: clamp(14px, 1.1vw, 15.5px); line-height: 1.45; max-width: 86ch; }
.intro__p a { color: #fff; font-weight: 600; white-space: nowrap; text-underline-offset: 3px; display: inline-block; padding: 4px 0; margin: -4px 0; }
.intro__c { color: #fff; font-weight: 600; display: inline-block; }
.steps { display: flex; gap: 6px; }
.steps a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 8px; border: 1px solid rgba(255, 255, 255, .55); color: #fff; text-decoration: none; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.steps a b { font-family: var(--disp); font-weight: 600; font-size: 17px; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .55); }
.steps a:hover { border-color: var(--mint); }
.steps a[aria-current="step"] { background: #fff; color: var(--blue); border-color: #fff; }
.steps a[aria-current="step"] b { border-color: var(--blue); }
@media (max-width: 979px) {
  .intro__in { grid-template-columns: 1fr; }
  .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .steps a { padding: 0 4px; justify-content: center; gap: 5px; font-size: 13px; }
  .steps a b { width: 20px; height: 20px; font-size: 14px; border: 0; }
}
@media (max-width: 399px) { .steps a b { display: none; } }
body:not([data-view="configure"]) .intro__p { display: none; }

/* ---------- configure: layout ---------- */
.view { padding: clamp(14px, 1.6vw, 22px) 0 clamp(36px, 5vw, 72px); }
.cfg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 440px); gap: clamp(18px, 2.2vw, 32px); align-items: start; }
.cfg__left { position: sticky; top: 14px; min-width: 0; }
.vp { position: relative; height: clamp(380px, calc(100vh - 390px), 720px); background: radial-gradient(120% 95% at 50% 30%, #1d4d97, #143b78 52%, #0d2a5a); color: #fff; overflow: hidden; border: 1px solid #0c2a5c; transition: background-color .4s; }
.vp[data-backdrop="studio"] { background: linear-gradient(180deg, #dfe5ea, #f1f3f5 58%, #d6dce3); border-color: #c5ccd4; }
.vp[data-backdrop="sky"] { background: #9cc8ee; border-color: #6c9fd0; }
.vp__canvas { position: absolute; inset: 0; }
.vp__canvas canvas { display: block; width: 100%; height: 100%; touch-action: none; outline-offset: -4px; cursor: grab; }
.vp__canvas canvas:active { cursor: grabbing; }
.vp__tag { position: absolute; left: 14px; top: 12px; display: flex; flex-direction: column; gap: 0; pointer-events: none; text-shadow: 0 1px 8px rgba(8, 22, 52, .55); }
.vp__tag b { font-family: var(--disp); font-weight: 700; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: .03em; line-height: 1; }
.vp__tag span { font-size: 13.5px; font-weight: 500; color: #e3ebfa; }
.vp[data-backdrop="studio"] .vp__tag { color: var(--ink); text-shadow: none; }
.vp[data-backdrop="studio"] .vp__tag span { color: var(--gray-ink); }
.vp__hint { position: absolute; right: 14px; top: 14px; font-size: 13px; font-weight: 500; padding: 5px 11px; border: 1px dashed rgba(255, 255, 255, .6); background: rgba(10, 26, 60, .45); pointer-events: none; transition: opacity .5s; }
.vp.is-touched .vp__hint, .vp.no-gl .vp__hint { opacity: 0; }
.vp__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 6px; padding: 26px 12px 12px; overflow-x: auto; scrollbar-width: none; background: linear-gradient(180deg, transparent, rgba(8, 20, 48, .62)); }
.vp__bar::-webkit-scrollbar { display: none; }
.vp__lab { font-family: var(--disp); font-weight: 600; font-size: 15px; letter-spacing: .05em; color: #dbe5f7; flex: none; margin-right: 2px; }
.vp__sep { width: 1px; height: 26px; background: rgba(255, 255, 255, .4); flex: none; margin: 0 6px; }
.vbtn { flex: none; min-height: 44px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .6); background: rgba(12, 32, 72, .55); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; border-radius: 0; transition: background-color .2s, color .2s; }
.vbtn:hover { border-color: var(--mint); }
.vbtn[aria-pressed="true"] { background: #fff; color: var(--blue); border-color: #fff; }
.vbtn--tog[aria-pressed="true"] { background: var(--mint); border-color: var(--mint); color: #062a26; }
.vp.no-gl .vp__bar, .vp.no-gl .vp__canvas { display: none; }
.vp__fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 70px 24px 24px; }
.vp__fallback svg { width: min(240px, 60%); opacity: .8; }
.vp__fallback h3 { font-size: clamp(19px, 2vw, 26px); letter-spacing: -0.02em; line-height: 1.15; }
.vp__fallback p { color: var(--blue-mute); max-width: 46ch; font-size: 15.5px; }

.specs { margin-top: 12px; }
.specs__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1.5px solid var(--ink); background: #fff; }
.specs__grid div { padding: 10px 12px 11px; min-width: 0; }
.specs__grid div + div { border-left: 1px solid var(--line); }
.specs dt { font-family: var(--disp); font-weight: 600; font-size: 15.5px; letter-spacing: .04em; color: var(--gray-ink); line-height: 1.2; }
.specs dd.v { font-size: clamp(17px, 1.5vw, 21px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.specs dd.n { font-size: 12.5px; color: var(--gray-ink); line-height: 1.3; margin-top: 2px; }
.specs__note { font-size: 12.5px; color: var(--gray-ink); margin-top: 6px; }

/* ---------- configure: options panel ---------- */
.panel { min-width: 0; }
.grp { padding: 0 0 18px; }
.grp + .grp, .lines { border-top: 1.5px solid var(--ink); padding-top: 14px; }
.grp__h { display: flex; align-items: baseline; gap: 10px; font-size: 22px; line-height: 1.1; letter-spacing: -0.025em; font-weight: 800; margin-bottom: 10px; }
.grp__h span { font-family: var(--disp); font-weight: 600; font-size: 19px; letter-spacing: .04em; color: var(--teal-ink); min-width: 22px; }
.fld + .fld { margin-top: 14px; }
.fld__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.fld__l { font-size: 14.5px; font-weight: 700; }
.fld__v { font-size: 13.5px; color: var(--gray-ink); text-align: right; }
.fld__opts { display: flex; flex-wrap: wrap; gap: 6px; }
.opt { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 5px 14px; border-radius: 999px; border: 1px solid #cfd4da; background: #fff; font-size: 14.5px; font-weight: 600; line-height: 1.15; text-align: left; transition: background-color .18s, color .18s, border-color .18s; }
.opt:hover { border-color: var(--ink); }
.opt small { font-size: 12.5px; font-weight: 500; color: var(--gray-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.opt i { font-style: normal; font-family: var(--disp); font-weight: 600; font-size: 15px; letter-spacing: .03em; color: var(--gray-ink); }
.opt[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.opt[aria-pressed="true"] small, .opt[aria-pressed="true"] i { color: #c9ced6; }
.opt[aria-pressed="true"] small::before { content: "\2713"; margin-right: 4px; color: var(--mint); font-weight: 700; }
.fld__opts.is-sw { gap: 4px; }
.sw { width: 48px; height: 48px; border-radius: 50%; border: 0; background: transparent; padding: 0; display: grid; place-items: center; }
.sw span { width: 36px; height: 36px; border-radius: 50%; background: var(--c); border: 1px solid rgba(0, 0, 0, .28); box-shadow: inset 0 2px 3px rgba(255, 255, 255, .35); transition: transform .18s; }
.sw:hover span { transform: scale(1.08); }
.sw[aria-pressed="true"] span { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5.5px var(--ink); }
.fld__note { font-size: 13.5px; color: var(--gray-ink); margin-top: 6px; min-height: 0; }
.fld__note:empty { display: none; }
.acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.acts:empty { display: none; }
.act { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; border: 1.5px solid var(--teal-deep); background: #e9f6f4; color: var(--teal-deep); font-size: 14.5px; font-weight: 700; }
.act:hover { background: #d5efeb; }
.act svg { width: 16px; height: 16px; flex: none; }
.act[aria-pressed="true"] { background: var(--teal-deep); color: #fff; }

.lines { padding-bottom: 18px; }
.lines__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; transition: background-color .6s; }
.lines__list li.is-new { background: #e3f4f1; transition: none; }
.lines__list b { font-weight: 600; }
.lines__list span { color: var(--gray-ink); font-size: 13.5px; grid-column: 1; }
.lines__list em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.lines__list em.is-inc { color: var(--gray-ink); font-weight: 500; }
.lines .sample { margin-top: 10px; }

.pricebar { position: sticky; bottom: 0; z-index: 12; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; background: var(--ink); color: #fff; padding: 12px 14px 10px 18px; margin: 0; box-shadow: 0 -10px 24px rgba(250, 250, 250, .9); }
.pricebar__sum { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.pricebar__lab { font-family: var(--disp); font-weight: 600; font-size: 17px; letter-spacing: .05em; color: #c9ced6; }
.pricebar__total { font-size: clamp(27px, 2.5vw, 34px); font-weight: 800; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.pricebar__note { grid-column: 1 / -1; font-size: 12px; color: #c9ced6; line-height: 1.35; }
.pricebar .btn--teal { background: var(--teal); color: #fff; }
.pricebar .btn--teal:hover { background: #10ab9d; }

@media (max-width: 979px) {
  .view--configure { padding-top: 0; }
  .cfg { display: block; }
  .cfg__left { display: contents; }
  .vp { position: sticky; top: 0; z-index: 14; height: clamp(250px, 41vh, 380px); margin: 0 calc(var(--pad) * -1); border-width: 0 0 1px; }
  .vp__tag { left: 12px; top: 8px; }
  .vp__tag b { font-size: 24px; }
  .vp__tag span { font-size: 12px; }
  .vp__hint { right: 8px; top: 8px; font-size: 11.5px; padding: 3px 8px; max-width: 46%; }
  .vp__bar { padding: 18px 10px 8px; gap: 5px; }
  .vbtn { padding: 0 12px; font-size: 13.5px; }
  .specs { margin: 12px 0 16px; }
  .specs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specs__grid div { border-left: 0 !important; border-bottom: 1px solid var(--line); }
  .specs__grid div:nth-child(even) { border-left: 1px solid var(--line) !important; }
  .specs__grid div:last-child { grid-column: 1 / -1; border-bottom: 0; border-left: 0 !important; }
  .pricebar { margin: 0 calc(var(--pad) * -1); padding: 9px var(--pad) 8px; gap: 2px 10px; }
  .pricebar__sum { gap: 8px; }
  .pricebar__total { font-size: 26px; }
  .pricebar__note { font-size: 11px; }
  .pricebar .btn { min-height: 44px; padding: 0 16px; font-size: 15px; }
}

/* ---------- quote ---------- */
.pagehead { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin: clamp(8px, 1.4vw, 18px) 0 clamp(14px, 1.8vw, 22px); }
.pagehead p { color: var(--gray-ink); font-size: 16px; max-width: 62ch; margin-top: 6px; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; }
.quotegrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: clamp(18px, 2.4vw, 32px); align-items: start; }
.sheet { background: #fff; border: 1px solid #d9dde2; box-shadow: 0 1px 2px rgba(15, 30, 58, .06), 0 14px 34px rgba(15, 30, 58, .1); padding: clamp(16px, 2.6vw, 38px); min-width: 0; }
.sheet__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; align-items: start; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.sheet__head .lockup { font-size: 26px; min-height: 0; line-height: 1.2; }
.sheet__head p { font-size: 13.5px; color: var(--gray-ink); margin-top: 4px; }
.sheet__no { text-align: right; }
.sheet__no b { display: block; font-family: var(--disp); font-weight: 700; font-size: 30px; letter-spacing: .03em; line-height: 1; }
.sheet__no span { font-size: 13.5px; color: var(--gray-ink); display: block; margin-top: 4px; }
.sheet__pic { margin: 16px 0 6px; background: linear-gradient(180deg, #e4e9ee, #f3f5f7 62%, #dfe4ea); aspect-ratio: 16 / 9; position: relative; border: 1px solid var(--border); overflow: hidden; }
.sheet__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sheet__pic p { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gray-ink); font-size: 14px; text-align: center; padding: 20px; }
.sheet__cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; font-size: 13.5px; color: var(--gray-ink); }
.sheet__cap b { color: var(--ink); font-family: var(--disp); font-weight: 600; font-size: 18px; letter-spacing: .04em; }
.sheet__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(16px, 2.4vw, 34px); margin-top: 16px; }
.sheet h3 { font-family: var(--disp); font-weight: 600; font-size: 18px; letter-spacing: .04em; color: var(--teal-ink); margin-bottom: 4px; }
.kv { font-size: 14px; }
.kv div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 10px; padding: 5px 0; border-bottom: 1px solid var(--border); }
.kv dt { color: var(--gray-ink); }
.kv dd { font-weight: 600; }
.qlines { font-size: 14px; width: 100%; border-collapse: collapse; }
.qlines td { padding: 5px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.qlines td span { color: var(--gray-ink); font-size: 13px; display: block; }
.qlines td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; padding-left: 12px; }
.qlines tfoot td { border-bottom: 0; border-top: 2px solid var(--ink); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; padding-top: 8px; }
.sheet .specs { margin-top: 16px; }
.sheet .specs__grid { border-width: 1px; }
.sheet__foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); display: grid; gap: 6px; font-size: 13.5px; color: #3d434b; }
.sheet__foot .sample { font-size: 14px; font-weight: 700; color: var(--ink); }
.side { display: grid; gap: 14px; position: sticky; top: 14px; }
.card { background: #fff; border: 1px solid #d9dde2; padding: 18px; display: grid; gap: 10px; }
.card h3 { font-size: 18px; letter-spacing: -0.015em; line-height: 1.2; }
.card p { font-size: 14.5px; color: #3d434b; }
.card .btn { width: 100%; }
.share { display: flex; gap: 6px; }
.share input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border: 1.5px solid #c3c9d0; border-radius: 8px; background: var(--paper); font-size: 13px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.share button { flex: none; min-height: 44px; padding: 0 14px; border-radius: 8px; border: 1.5px solid var(--ink); background: #fff; font-weight: 700; font-size: 14px; }
.share button:hover { background: #eef0f2; }
.said { font-size: 13.5px; color: var(--teal-ink); font-weight: 600; min-height: 1.4em; }
@media (max-width: 979px) { .quotegrid { grid-template-columns: 1fr; } .side { position: static; } }
@media (max-width: 639px) { .sheet__cols { grid-template-columns: 1fr; } .sheet__no { text-align: left; } .tools .btn { flex: 1 1 auto; } }

/* ---------- order ---------- */
.ordergrid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 48px); align-items: start; max-width: 1120px; }
.plain { border: 1.5px solid var(--ink); background: #fff; }
.plain li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 13px 16px; font-size: 15.5px; align-items: start; }
.plain li + li { border-top: 1px solid var(--line); }
.plain svg { width: 26px; height: 26px; color: var(--teal-deep); margin-top: 1px; }
.plain b { display: block; }
.form { display: grid; gap: 14px; margin-top: 18px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form label span { font-weight: 400; color: var(--gray-ink); font-size: 13.5px; }
.form input { min-height: 48px; padding: 11px 14px; border: 1.5px solid #c3c9d0; border-radius: 8px; background: #fff; font-size: 16px; width: 100%; }
.form input:focus { border-color: var(--teal); }
.osum { background: #fff; border: 1px solid #d9dde2; }
.osum__pic { aspect-ratio: 16 / 9; background: linear-gradient(180deg, #e4e9ee, #f3f5f7 62%, #dfe4ea); border-bottom: 1px solid var(--border); }
.osum__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.osum__body { padding: 16px 18px 18px; display: grid; gap: 10px; }
.osum__reg { font-family: var(--disp); font-weight: 700; font-size: 30px; letter-spacing: .03em; line-height: 1; }
.osum__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; border-top: 2px solid var(--ink); padding-top: 10px; font-variant-numeric: tabular-nums; }
.osum ul { font-size: 14px; color: #3d434b; display: grid; gap: 2px; }
@media (max-width: 859px) { .ordergrid { grid-template-columns: 1fr; } }

/* ---------- track ---------- */
.ctl { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ctl button { min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--ink); background: #fff; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.ctl button:hover { background: #eef0f2; }
.ctl .ctl__play { background: var(--ink); color: #fff; }
.ctl .ctl__play:hover { background: var(--teal-deep); }
.ctl p { font-size: 13.5px; color: var(--gray-ink); flex: 1 1 220px; }
.rail { background: var(--blueprint); color: #fff; padding: 46px clamp(10px, 2vw, 28px) 16px; position: relative; margin-bottom: clamp(16px, 2vw, 26px); border: 1px solid #0c2a5c; }
.rail ol { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); position: relative; }
.rail ol::before { content: ""; position: absolute; left: 7.14%; right: 7.14%; top: 10px; height: 2px; background: rgba(255, 255, 255, .35); }
.rail__fill { position: absolute; left: 7.14%; top: 10px; height: 2px; background: var(--mint); width: calc(85.72% * var(--p, 0)); transition: width .8s cubic-bezier(.3, .7, .2, 1); }
.rail li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; position: relative; min-width: 0; }
.rail button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; min-height: 44px; }
.rail i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); background: var(--blue); display: grid; place-items: center; font-style: normal; font-family: var(--disp); font-weight: 700; font-size: 13px; position: relative; z-index: 1; transition: background-color .3s, border-color .3s; }
.rail li.is-done i { background: var(--mint); border-color: var(--mint); color: #062a26; }
.rail li.is-now i { background: #fff; border-color: #fff; color: var(--blue); box-shadow: 0 0 0 5px rgba(255, 255, 255, .22); }
.rail span { font-size: clamp(11px, 1.05vw, 14.5px); font-weight: 600; line-height: 1.15; color: var(--blue-mute); padding: 0 2px; }
.rail li.is-now span, .rail li.is-done span { color: #fff; }
.rail__plane { position: absolute; top: 12px; left: calc(7.14% + 85.72% * var(--p, 0)); width: 58px; height: 26px; margin-left: -29px; color: #fff; transition: left .8s cubic-bezier(.3, .7, .2, 1); pointer-events: none; }
.rail__plane svg { width: 100%; height: 100%; display: block; overflow: visible; }
.rail__plane .t { fill: var(--plane-trim, #d5252b); }
@media (max-width: 699px) { .rail span { display: none; } .rail li.is-now span { display: block; position: absolute; top: 34px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 13px; } .rail { padding-bottom: 34px; } .rail li:first-child.is-now span { left: 0; transform: none; } .rail li:last-child.is-now span { left: auto; right: 0; transform: none; } }

.trackgrid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 36px); align-items: start; }
.now { background: #fff; color: var(--ink); border: 2px solid var(--ink); padding: clamp(16px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 12px; box-shadow: 0 2px 0 var(--ink), 0 18px 40px rgba(31, 42, 49, .14); }
.now__n { font-family: var(--disp); font-weight: 600; font-size: 19px; letter-spacing: .03em; color: var(--teal-ink); display: flex; justify-content: space-between; gap: 12px; }
.now__title { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; }
.now__bar { height: 4px; background: var(--border); position: relative; overflow: hidden; }
.now__bar i { position: absolute; inset: 0 auto 0 0; width: calc(100% * var(--f, 0)); background: var(--teal); }
.who { display: grid; gap: 8px; }
.who div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15.5px; line-height: 1.45; }
.who b { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--teal); color: #fff; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.who .is-person b { background: var(--amber); color: var(--ink); }
.who .is-person { background: #fdf6e8; margin: 0 -8px; padding: 8px; }
.ticks { display: grid; gap: 5px; font-size: 14.5px; }
.ticks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; align-items: start; color: var(--gray-ink); transition: color .3s; }
.ticks li::before { content: ""; width: 14px; height: 14px; border: 2px solid #b9c0c8; border-radius: 50%; margin-top: 3px; transition: background-color .3s, border-color .3s; }
.ticks li.is-ok { color: var(--ink); }
.ticks li.is-ok::before { background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.2l2.6 2.6L11 4.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--teal); }
.now__note { font-size: 14.5px; padding: 10px 12px; border-left: 4px solid var(--teal); background: #eef7f5; }
.tbb { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 44px; padding: 6px 14px; border: 2px dashed #98a4ad; color: #6b7480; font-weight: 700; font-size: 15px; cursor: not-allowed; text-decoration: none; align-self: flex-start; }
.tbb em { font-style: normal; font-family: var(--disp); font-weight: 600; font-size: 15px; letter-spacing: .05em; padding: 1px 8px; border: 1.5px dashed currentColor; }
.stagelist { display: grid; gap: 8px; counter-reset: st; }
.stagelist li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 2px 12px; padding: 12px 14px; border: 1.5px solid #c5ccd4; background: #f1f3f5; font-size: 14.5px; transition: background-color .3s, border-color .3s; }
.stagelist .n { grid-row: span 4; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-family: var(--disp); font-weight: 700; font-size: 18px; background: #fff; }
.stagelist li.is-done .n { background: #bfe3de; }
.stagelist li.is-now { background: #fff; border-color: var(--teal-deep); box-shadow: inset 5px 0 0 var(--teal); }
.stagelist li.is-now .n { background: var(--teal); color: #fff; border-color: var(--teal-deep); }
.stagelist b { font-size: 17px; letter-spacing: -0.015em; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.stagelist b small { font-family: var(--disp); font-weight: 600; font-size: 14.5px; letter-spacing: .05em; color: var(--gray-ink); white-space: nowrap; }
.stagelist p { color: #3d434b; line-height: 1.4; }
.stagelist p strong { color: var(--ink); }
.tside { display: grid; gap: 14px; }
.empty { max-width: 640px; padding: clamp(20px, 4vw, 60px) 0; display: grid; gap: 14px; justify-items: start; }
@media (max-width: 899px) { .trackgrid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { background: var(--paper); border-top: 1px solid var(--border); padding: 26px 0 40px; font-size: 14.5px; color: var(--gray-ink); }
.foot__in { display: flex; flex-wrap: wrap; gap: 10px 36px; align-items: center; justify-content: space-between; }
.foot a { font-weight: 600; color: #2b2f36; display: inline-flex; align-items: center; min-height: 44px; }
.foot .lockup { min-height: 0; line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- print: the quote sheet on one page ---------- */
@media print {
  @page { size: letter portrait; margin: 11mm 12mm; }
  html, body { background: #fff; font-size: 9.5pt; }
  .top, .intro, .foot, .skip, .noprint, .side, .pagehead { display: none !important; }
  body[data-view="quote"] .view:not(.view--quote) { display: none !important; }
  .view { padding: 0; }
  .wrap { max-width: none; padding: 0; }
  .quotegrid { display: block; }
  .sheet { border: 0; box-shadow: none; padding: 0; }
  .sheet__head { padding-bottom: 6pt; }
  .sheet__head .lockup { font-size: 20pt; }
  .sheet__head p, .sheet__no span, .sheet__cap { font-size: 8.5pt; }
  .sheet__no b { font-size: 20pt; }
  .sheet__pic { margin: 7pt 0 4pt; aspect-ratio: auto; height: 62mm; }
  .sheet__cap b { font-size: 12pt; }
  .sheet h3 { font-size: 11pt; margin-bottom: 1pt; }
  .sheet__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) !important; gap: 18pt; margin-top: 7pt; }
  .kv, .qlines { font-size: 8.4pt; line-height: 1.3; }
  .kv div, .qlines td { padding: 2.2pt 0; }
  .qlines td span { display: inline; font-size: 7.6pt; margin-left: 5pt; }
  .qlines tfoot td { font-size: 12.5pt; padding-top: 4pt; }
  .sheet .specs { margin-top: 8pt; break-inside: avoid; }
  .sheet .specs__grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
  .sheet .specs__grid div { padding: 4pt 6pt; border-bottom: 0 !important; border-left: 1px solid var(--line) !important; grid-column: auto !important; }
  .sheet .specs__grid div:first-child { border-left: 0 !important; }
  .specs dd.v { font-size: 10.5pt; } .specs dt { font-size: 8.6pt; } .specs dd.n { font-size: 7.4pt; }
  .sheet__foot { margin-top: 7pt; padding-top: 5pt; font-size: 8.2pt; gap: 2pt; break-inside: avoid; }
  .sheet__foot .sample { font-size: 9pt; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
