/* ============================================================================
   Saving Strat — app styles (2026). Shares the landing's token system:
   OKLCH + warm stone/oat neutrals + light-dark() dark mode, Hanken + Fraunces + mono.
   ========================================================================== */

@font-face{font-family:'Hanken';font-style:normal;font-weight:100 900;font-display:swap;src:url('../fonts/hanken.woff2') format('woff2')}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:300 900;font-display:swap;src:url('../fonts/fraunces.woff2') format('woff2')}
@font-face{font-family:'MonoSS';font-style:normal;font-weight:100 900;font-display:swap;src:url('../fonts/mono.woff2') format('woff2')}

:root{
  color-scheme: light dark;
  --sans:'Hanken',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  --display:'Fraunces','Hanken',Georgia,serif;
  --mono:'MonoSS',ui-monospace,SFMono-Regular,Menlo,monospace;

  /* MERIDIAN palette — EXACT landing tokens (index.html :root) in every light slot;
     OKLCH remains only in app-only dark-mode slots, which the landing doesn't have. */
  --emerald:#2F9F78; --emerald-deep:#217F5E; --emerald-bright:oklch(.74 .1 164);
  --sage:#A9D7C3; --gold:#C8A862; --gold-soft:#E7D9B8; --gold-deep:light-dark(oklch(.5 .085 84), oklch(.78 .09 84)); --clay:oklch(.66 .12 55);

  --canvas:light-dark(#FBFAF6, oklch(.23 .035 255));
  --surface:light-dark(#FFFFFF, oklch(.27 .04 255));
  --surface-2:light-dark(#F7F5EF, oklch(.31 .04 255));
  --ink:light-dark(#15212F, oklch(.95 .01 250));
  --muted:light-dark(#5C6A79, oklch(.76 .02 250));
  --faint:light-dark(oklch(.54 .02 250), oklch(.66 .02 250));
  --line:light-dark(#E9E4D8, oklch(.37 .035 255));
  --brand:light-dark(var(--emerald), var(--emerald-bright));
  --brand-ink:light-dark(var(--emerald-deep), var(--emerald-bright));
  --on-brand:light-dark(#FFFFFF, oklch(.18 .03 255));
  --ring-track:light-dark(#E9E4D8, oklch(.35 .035 255));
  --forest:#0E1A2C; --forest-2:#142539;          /* landing --navy / --navy2 */
  --onnavy:#F3F6F9; --onnavy-mut:#9DAEC2;        /* landing on-navy text */
  --good:var(--brand); --warn:var(--gold-deep); --bad:light-dark(oklch(.55 .15 28), oklch(.66 .15 28));
  --bad-bg:light-dark(oklch(.96 .03 28), oklch(.28 .05 28));

  --ease:cubic-bezier(.2,0,0,1); --ease-enter:cubic-bezier(.05,.7,.1,1);
  --dur-fast:160ms; --dur:240ms; --dur-slow:320ms; --dur-page:420ms;

  /* geometry + shadows — landing literals (--rlg:22px, --sh, --sh-deep) */
  --r:14px; --r-md:18px; --r-lg:22px; --r-xl:30px; --pill:999px;
  --sh-1:0 1px 2px rgba(21,33,47,.05),0 1px 3px rgba(21,33,47,.05);
  --sh-2:0 18px 48px -22px rgba(21,33,47,.16),0 4px 14px -6px rgba(21,33,47,.06);
  --sh-3:0 44px 96px -38px rgba(14,26,44,.5),0 12px 30px -14px rgba(14,26,44,.2);
  /* primary-button elevation tuned for LIGHT card surfaces (a diffuse glow like the
     landing's reads as a smudge on white) — tight neutral drop + restrained emerald lift */
  --sh-brand:0 1px 2px rgba(21,33,47,.16), 0 7px 16px -8px rgba(47,159,120,.45);
  --sh-brand-hover:0 2px 4px rgba(21,33,47,.18), 0 14px 26px -10px rgba(47,159,120,.5);
  --sh-gold:0 1px 2px rgba(21,33,47,.14), 0 7px 16px -8px rgba(200,168,98,.5);
  --maxw:1060px;
  --gutter:clamp(1.4rem,5vw,2.2rem);   /* landing-spec edge spacing */
  --gutter-l:max(env(safe-area-inset-left),var(--gutter));
  --gutter-r:max(env(safe-area-inset-right),var(--gutter));
}
:root[data-theme="light"]{ color-scheme:light }
:root[data-theme="dark"]{ color-scheme:dark }

/* Fallback for browsers without light-dark() (Safari <17.5, Firefox <120, Chrome <123):
   serve the default LIGHT theme so theme-aware colors never collapse to unstyled defaults.
   oklch() is supported far earlier (Safari 15.4+), so light oklch values stay intact. */
@supports not (color: light-dark(#fff, #000)){
  :root,:root[data-theme="dark"]{
    color-scheme:light;
    --gold-deep:oklch(.5 .085 84);
    --canvas:#FBFAF6; --surface:#FFFFFF; --surface-2:#F7F5EF;
    --ink:#15212F; --muted:#5C6A79; --faint:oklch(.54 .02 250); --line:#E9E4D8;
    --brand:var(--emerald); --brand-ink:var(--emerald-deep); --on-brand:#FFFFFF;
    --ring-track:#E9E4D8; --bad:oklch(.55 .15 28); --bad-bg:oklch(.96 .03 28);
  }
}

@view-transition{ navigation: auto }

*{box-sizing:border-box}
html{ -webkit-text-size-adjust:100% }
body{ margin:0; font-family:var(--sans); color:var(--ink); background:var(--canvas); line-height:1.6;
  letter-spacing:-.005em; -webkit-font-smoothing:antialiased; min-height:100vh; position:relative;
  transition:background .4s var(--ease), color .4s var(--ease) }
/* Meridian canvas: soft emerald/gold washes + a faint orbital arc field (theme-aware) */
body::before{ content:""; position:fixed; inset:0; z-index:-1; pointer-events:none;
  background:radial-gradient(1100px 540px at 82% -8%, oklch(.62 .1 163/.07), transparent 60%),
             radial-gradient(760px 400px at 2% 1%, oklch(.76 .09 88/.06), transparent 55%),
             repeating-radial-gradient(circle at 108% -12%, transparent 0 88px,
               color-mix(in oklch, var(--line) 60%, transparent) 88px 89px, transparent 89px 178px) }
h1,h2,h3,h4{ margin:0 0 .4em; line-height:1.12; color:var(--ink); letter-spacing:-.015em }
.display,h1{ font-family:var(--display); font-weight:540 }
p{ margin:0 0 1rem; color:var(--muted) }
a{ color:var(--brand-ink); text-decoration:none }
strong{ color:var(--ink); font-weight:600 }
.num{ font-family:var(--mono); font-variant-numeric:tabular-nums; letter-spacing:-.02em }
/* Meridian micro-label: letterspaced gold, like the landing's .k eyebrow */
.eyebrow{ display:inline-flex; align-items:center; gap:.5rem; font-size:.72rem; font-weight:700;
  letter-spacing:.2em; text-transform:uppercase; color:var(--gold-deep) }
.lede{ font-size:1.1rem; line-height:1.6; color:var(--muted); text-wrap:pretty }
.muted-link{ background:none; border:0; color:var(--muted); font:inherit; cursor:pointer; text-decoration:underline; text-underline-offset:3px; padding:0 }
.muted-link:hover{ color:var(--ink) }
.ico{ width:1.25em; height:1.25em; flex:none; display:inline-block; vertical-align:-.18em }
.logo{ width:1.7rem; height:1.7rem; flex:none }
:where(a,button,input,select,[tabindex]):focus-visible{ outline:3px solid var(--brand); outline-offset:2px; border-radius:8px }
/* programmatic focus target (the question heading) shouldn't show an outline ring */
#qheading:focus{ outline:none }
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0 }

/* ---------------------------------------------------------------- top bar */
/* The landing's ink-navy nav, carried into the app: full-width band, content in a
   centered --maxw container at the landing's 68px height. */
.topbar{ background:rgba(14,26,44,.84);
  -webkit-backdrop-filter:saturate(160%) blur(14px); backdrop-filter:saturate(160%) blur(14px);
  border-bottom:1px solid rgba(255,255,255,.1); position:sticky; top:0; z-index:50 }
.topbar__in{ max-width:var(--maxw); margin:0 auto; display:flex; align-items:center; gap:1rem; height:68px;
  padding-left:var(--gutter-l); padding-right:var(--gutter-r) }
.brand{ display:flex; align-items:center; gap:.65rem; color:var(--onnavy); font-weight:650 }
.brand__name{ font-family:var(--display); font-weight:650; font-size:1.1rem; letter-spacing:-.01em }
.brand .logo{ width:1.8rem; height:1.8rem }
.topbar__tag{ margin-left:auto; font-size:.8rem; color:var(--onnavy-mut) }
.topbar__progress{ margin-left:auto; display:flex; align-items:center; gap:.7rem; min-width:0; flex:1; max-width:340px }
.topbar__pct{ font-size:.74rem; color:var(--onnavy-mut); white-space:nowrap; font-variant-numeric:tabular-nums }
.topbar__score{ display:flex; align-items:baseline; gap:.12rem; background:oklch(1 0 0/.08);
  border:1px solid oklch(1 0 0/.18); padding:.26rem .7rem; border-radius:var(--pill) }
.topbar__score strong{ color:var(--sage); font-size:1rem; font-family:var(--mono); font-variant-numeric:tabular-nums }
.topbar__score span{ color:var(--onnavy-mut); font-size:.72rem }
.topbar__tools{ display:flex; align-items:center; gap:.5rem }
.topbar .pbar{ background:oklch(1 0 0/.14) }
.pbar{ flex:1; height:7px; background:var(--ring-track); border-radius:var(--pill); overflow:hidden }
.pbar>span{ display:block; height:100%; background:linear-gradient(90deg,var(--emerald-bright),var(--gold)); border-radius:var(--pill); transition:width .6s var(--ease) }
.pbar--sm{ background:var(--ring-track) } .pbar--sm>span{ background:linear-gradient(90deg,var(--brand),var(--emerald-bright)) }
.themebtn{ width:38px; height:38px; display:grid; place-items:center; border-radius:50%; border:1px solid var(--line); background:var(--surface); color:var(--ink); cursor:pointer }
.topbar .themebtn{ border-color:oklch(1 0 0/.22); background:oklch(1 0 0/.06); color:var(--onnavy) }
.themebtn:hover{ border-color:color-mix(in oklch,var(--brand) 45%,var(--line)) }
.themebtn .ico{ width:1.15rem; height:1.15rem }
.themebtn .moon{ display:none } :root[data-theme="dark"] .themebtn .sun{ display:none } :root[data-theme="dark"] .themebtn .moon{ display:block }

/* ---------------------------------------------------------------- layout */
.wrap{ max-width:var(--maxw); margin:0 auto; padding-block:clamp(1.4rem,4vw,2.6rem); padding-left:var(--gutter-l); padding-right:var(--gutter-r) }
/* navy footer band, like the landing */
.sitefoot{ margin-top:2.5rem; background:linear-gradient(180deg,var(--forest),var(--forest-2)); color:var(--onnavy-mut);
  border-top:1px solid oklch(1 0 0/.08); padding:1.8rem 0 2.6rem; padding-left:var(--gutter-l); padding-right:var(--gutter-r); font-size:.78rem }
.sitefoot p{ max-width:var(--maxw); margin:.25rem auto }
.sitefoot .muted-link{ color:var(--sage) } .sitefoot .muted-link:hover{ color:#fff }

/* ---------------------------------------------------------------- buttons */
/* Buttons — exact landing anatomy: flat fills, pill, .95/1.75 padding, weight 640 */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:.5rem; border:1px solid transparent; border-radius:var(--pill);
  padding:.95rem 1.75rem; font:inherit; font-weight:640; cursor:pointer; text-decoration:none; letter-spacing:-.01em;
  transition:transform .15s, box-shadow .22s, background .22s, border-color .22s, color .22s; white-space:nowrap }
.btn:active{ transform:translateY(1px) } .btn .ico{ width:1.1em; height:1.1em }
.btn--primary{ background:var(--brand); color:var(--on-brand); box-shadow:inset 0 1px 0 rgba(255,255,255,.22), var(--sh-brand) }
.btn--primary:hover{ transform:translateY(-1px); box-shadow:inset 0 1px 0 rgba(255,255,255,.24), var(--sh-brand-hover);
  background:light-dark(var(--emerald-deep), color-mix(in oklch, var(--emerald-bright) 86%, black)) } /* landing: hover → --em-deep */
.btn--gold{ background:var(--gold); color:oklch(.26 .035 252); box-shadow:inset 0 1px 0 rgba(255,255,255,.3), var(--sh-gold) }
.btn--gold:hover{ transform:translateY(-1px); background:color-mix(in oklch, var(--gold) 84%, oklch(.3 .06 86)) }
.btn--ghost{ background:var(--surface); color:var(--ink); border-color:var(--line); box-shadow:var(--sh-1) }
.btn--ghost:hover{ transform:translateY(-1px); border-color:color-mix(in oklch,var(--brand) 50%,var(--line)); color:var(--brand-ink) }
.btn--lg{ padding:1.05rem 2.05rem; font-size:1.05rem }
.inline-form{ display:inline }

/* ---------------------------------------------------------------- welcome */
.hero{ display:grid; grid-template-columns:1.3fr 1fr; gap:clamp(1.5rem,4vw,3.4rem); align-items:center }
.hero h1{ font-family:var(--display); font-weight:540; font-size:clamp(2rem,4.6vw,3.2rem); line-height:1.05; text-wrap:balance }
.hero h1 em{ font-style:italic; color:var(--brand-ink) }
.hero__cta{ display:flex; align-items:center; gap:1rem; flex-wrap:wrap; margin:1.6rem 0 2rem }
.hero__note{ color:var(--faint); font-size:.86rem; display:inline-flex; align-items:center; gap:.35rem }
.valueprops{ list-style:none; padding:0; margin:0; display:grid; gap:1rem }
.valueprops li{ display:flex; gap:.85rem; align-items:flex-start }
.valueprops .vp__ico{ width:2.5rem; height:2.5rem; flex:none; display:grid; place-items:center; border-radius:12px;
  background:color-mix(in oklch,var(--brand) 12%,transparent); color:var(--brand-ink); border:1px solid color-mix(in oklch,var(--brand) 20%,transparent) }
.valueprops .vp__ico .ico{ width:1.3rem; height:1.3rem }
.valueprops div.vp__txt{ display:flex; flex-direction:column } .valueprops strong{ color:var(--ink) }
.valueprops em{ color:var(--brand-ink); font-style:normal; font-weight:600 }
.explainer{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:1.1rem; box-shadow:var(--sh-3) }
.explainer__video{ position:relative; aspect-ratio:16/10; border-radius:var(--r-md); display:grid; place-items:center;
  background:radial-gradient(120% 120% at 30% 10%, var(--forest), var(--forest-2)); color:#fff; overflow:hidden; margin-bottom:1rem }
.explainer__video::after{ content:""; position:absolute; inset:0; background:radial-gradient(60% 60% at 70% 90%, oklch(.5 .12 162/.4), transparent 70%) }
.explainer__vlabel{ position:absolute; bottom:.7rem; left:.85rem; font-size:.78rem; color:oklch(.85 .02 150); z-index:2 }
.playbtn{ position:relative; z-index:2; width:60px; height:60px; border-radius:50%; border:0; background:var(--canvas); color:var(--brand-ink);
  display:grid; place-items:center; cursor:pointer; box-shadow:0 10px 26px oklch(.2 .03 160/.4); transition:transform .15s }
.playbtn .ico{ width:1.5rem; height:1.5rem; margin-left:2px } .playbtn:hover{ transform:scale(1.06) }
.explainer__steps{ margin:0; padding:0; list-style:none; display:grid; gap:.7rem; font-size:.93rem; color:var(--muted) }
.explainer__steps li{ position:relative; padding-left:1.15rem } .explainer__steps li::before{ content:""; position:absolute; left:0; top:.62rem; width:6px; height:6px; border-radius:50%; background:var(--brand) }
.explainer__steps strong{ color:var(--ink) }
.trustrow{ display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; margin-top:2.6rem; padding-top:1.5rem; border-top:1px solid var(--line) }
.trustrow div{ font-size:.9rem; color:var(--muted) } .trustrow strong{ display:block; color:var(--ink); font-family:var(--display); font-weight:540; font-size:1rem }

/* ---------------------------------------------------------------- chat / wizard */
.chat{ display:grid; grid-template-columns:1fr 310px; gap:clamp(1rem,3vw,2.2rem); align-items:start }
.coach{ display:flex; gap:.8rem; align-items:flex-start; background:linear-gradient(180deg,var(--surface),var(--surface-2));
  border:1px solid var(--line); border-radius:var(--r-md); padding:1rem 1.15rem; margin-bottom:1.1rem; box-shadow:var(--sh-1) }
.coach__avatar{ width:2.2rem; height:2.2rem; flex:none; border-radius:50%; display:grid; place-items:center; color:#fff;
  background:radial-gradient(120% 120% at 30% 20%,var(--emerald-bright),var(--emerald-deep)); box-shadow:var(--sh-brand) }
.coach__avatar .ico{ width:1.25rem; height:1.25rem } .coach p{ margin:0; color:var(--ink) }
.qcard{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:clamp(1.3rem,3vw,2rem); box-shadow:var(--sh-2); view-transition-name:qcard }
/* Meridian gold eyebrow above the question (landing .k language) */
.qcard__stage{ display:inline-flex; align-items:center; gap:.4rem; text-transform:uppercase; letter-spacing:.2em; font-size:.68rem; font-weight:700;
  color:var(--gold-deep); margin-bottom:.9rem }
/* back / resume nav at the top of a question card */
.qcard__top{ display:flex; align-items:center; justify-content:space-between; gap:.8rem; margin-bottom:.9rem }
.backlink{ display:inline-flex; align-items:center; gap:.3rem; font-size:.88rem; font-weight:600; color:var(--muted); padding:.3rem .6rem .3rem .4rem; border-radius:var(--pill); transition:color .15s, background .15s }
.backlink:hover{ color:var(--brand-ink); background:color-mix(in oklch,var(--brand) 8%,transparent) }
.skipahead{ font-size:.82rem; font-weight:600; color:var(--brand-ink) } .skipahead:hover{ text-decoration:underline }
.qcard__editing{ color:var(--gold-deep); -webkit-text-fill-color:initial }
.choice.is-on{ border-color:var(--brand); background:color-mix(in oklch,var(--brand) 10%,var(--surface)) }
.choice__cur{ margin-left:auto; color:var(--brand); display:inline-grid; place-items:center } .choice__cur .ico{ width:1.15rem; height:1.15rem }
.qlabel{ font-family:var(--display); font-weight:540; font-size:clamp(1.35rem,2.7vw,1.75rem); line-height:1.2; margin-bottom:.3rem; color:var(--ink); text-wrap:balance }
.qhelp{ color:var(--muted); font-size:.93rem; margin:.25rem 0 1rem }
.qerror{ color:var(--bad); font-weight:600; font-size:.9rem; background:var(--bad-bg); border:1px solid color-mix(in oklch,var(--bad) 30%,transparent); border-radius:var(--r-sm,10px); padding:.55rem .85rem }
.qform{ margin-top:1.2rem } .qform__actions{ display:flex; gap:.7rem; align-items:center; margin-top:1rem; flex-wrap:wrap }

.field{ margin-bottom:1rem } .field--inline{ display:flex; align-items:center; gap:.6rem }
.input{ width:100%; font:inherit; font-size:1.1rem; padding:.85rem 1rem; border:1.5px solid var(--line); border-radius:12px;
  background:var(--surface); color:var(--ink); transition:border-color .15s, box-shadow .15s }
.input::placeholder{ color:var(--faint) }
.input:focus{ outline:0; border-color:var(--brand); box-shadow:0 0 0 4px color-mix(in oklch,var(--brand) 18%,transparent) }
.input.is-valid{ border-color:color-mix(in oklch,var(--brand) 55%,var(--line)) }
.input--num{ max-width:200px; font-family:var(--mono); font-variant-numeric:tabular-nums }
.suffix{ color:var(--muted) }
.field--money{ position:relative; display:flex; align-items:center; max-width:280px }
.field--money .affix{ position:absolute; left:1rem; font-size:1.1rem; color:var(--muted); font-weight:500 }
.field--money .input{ padding-left:2rem; font-family:var(--mono); font-variant-numeric:tabular-nums }
.field__check{ position:absolute; right:.9rem; color:var(--brand); opacity:0; transform:scale(.6); transition:opacity .2s, transform .2s var(--ease-enter) }
.field--money,.field{ position:relative } .input.is-valid ~ .field__check{ opacity:1; transform:scale(1) }

.choices{ display:grid; gap:.65rem } .choices--bool{ grid-template-columns:1fr 1fr; max-width:360px }
.choice{ display:flex; align-items:center; gap:.85rem; width:100%; text-align:left; cursor:pointer; background:var(--surface);
  border:1.5px solid var(--line); border-radius:var(--r); padding:.9rem 1.05rem; font:inherit; font-size:1rem; color:var(--ink);
  transition:border-color .15s, background .15s, transform .1s, box-shadow .2s }
.choice:hover{ border-color:color-mix(in oklch,var(--brand) 45%,var(--line)); background:color-mix(in oklch,var(--brand) 6%,var(--surface)); transform:translateY(-1px); box-shadow:var(--sh-1) }
.choice:active,.choice.is-picked{ border-color:var(--brand); background:color-mix(in oklch,var(--brand) 12%,var(--surface)); transform:translateY(0) }
.choice__icon{ width:2.3rem; height:2.3rem; display:grid; place-items:center; border-radius:11px; flex:none; font-size:1.1rem;
  background:color-mix(in oklch,var(--brand) 9%,var(--surface-2)); color:var(--brand-ink);
  border:1px solid color-mix(in oklch,var(--brand) 14%,transparent); transition:background .16s, color .16s, border-color .16s, transform .16s }
.choice__icon .ico{ width:1.25rem; height:1.25rem }
.choice:hover .choice__icon{ background:color-mix(in oklch,var(--brand) 15%,var(--surface)); transform:scale(1.04) }
.choice.is-on .choice__icon,.choice.is-picked .choice__icon,.choice.is-suggested .choice__icon{ background:var(--brand); color:var(--on-brand); border-color:transparent }
.choice__label{ font-weight:500 } .choices--bool .choice{ justify-content:center }

.chips{ display:flex; flex-wrap:wrap; gap:.55rem }
.chip{ display:inline-flex; align-items:center; gap:.5rem; border:1.5px solid var(--line); background:var(--surface); border-radius:var(--pill);
  padding:.6rem 1rem; cursor:pointer; user-select:none; transition:border-color .15s, background .15s, color .15s, box-shadow .2s; font-weight:500; color:var(--ink) }
.chip input{ position:absolute; opacity:0; width:0; height:0 }
.chip:hover{ border-color:color-mix(in oklch,var(--brand) 45%,var(--line)); box-shadow:var(--sh-1) }
.chip:has(input:checked){ border-color:var(--brand); background:var(--brand); color:var(--on-brand) }
.chip__icon{ display:inline-flex; color:var(--brand-ink); transition:color .15s } .chip__icon .ico{ width:1.1rem; height:1.1rem }
.chip:has(input:checked) .chip__icon{ color:var(--on-brand) }

.consent{ display:flex; gap:.7rem; align-items:flex-start; cursor:pointer; background:var(--surface-2); border:1px solid var(--line); border-radius:12px; padding:.85rem 1.05rem; margin-bottom:1rem }
.consent input{ margin-top:.2rem; width:1.15rem; height:1.15rem; accent-color:var(--brand); flex:none } .consent span{ color:var(--ink); font-size:.95rem }

.debts{ border:1px solid var(--line); border-radius:12px; overflow:hidden; margin-bottom:.5rem }
.debts__head,.debts__row{ display:grid; grid-template-columns:1.4fr 1fr .7fr .8fr; gap:.5rem; padding:.55rem .65rem }
.debts__head{ background:var(--surface-2); font-size:.72rem; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); font-weight:700 }
.debts__row{ border-top:1px solid var(--line) }
.debts__row input{ width:100%; font:inherit; padding:.55rem; border:1px solid var(--line); border-radius:8px; background:var(--surface); color:var(--ink); font-variant-numeric:tabular-nums }
.debts__row input:focus{ outline:0; border-color:var(--brand) }

.why{ margin-top:1.3rem; border-top:1px dashed var(--line); padding-top:.9rem }
.why summary{ cursor:pointer; color:var(--brand-ink); font-weight:600; font-size:.9rem; list-style:none; display:inline-flex; align-items:center; gap:.4rem }
.why summary::-webkit-details-marker{ display:none } .why summary .ico{ width:1rem; height:1rem }
.why p{ margin:.6rem 0 0; color:var(--muted); font-size:.93rem }
.chat__nav{ display:flex; justify-content:space-between; align-items:center; margin-top:1.1rem; font-size:.85rem; color:var(--muted) }
.stepcount{ font-variant-numeric:tabular-nums; font-family:var(--mono); font-size:.8rem }

/* ---------------------------------------------------- two-level stage stepper */
.stepper{ margin-bottom:1.1rem }
.stepper__top{ display:flex; align-items:baseline; justify-content:space-between; gap:.4rem .9rem; flex-wrap:wrap; margin-bottom:.5rem }
.stepper__count{ white-space:nowrap }
.stepper__title{ font-size:.8rem; font-weight:600; color:var(--ink) }
.stepper__title b{ font-family:var(--display); font-weight:560; font-size:.92rem; color:var(--brand-ink) }
.stepper__count{ font-size:.74rem; color:var(--faint); font-family:var(--mono) }
/* voyage chart — the stages as a route of waypoints with a "you are here" marker */
.stepper__route{ position:relative; display:flex; align-items:center; justify-content:space-between; height:18px }
.stepper__route::before{ content:""; position:absolute; left:8px; right:8px; top:50%; height:2.5px; transform:translateY(-50%); border-radius:var(--pill); background:var(--ring-track) }
.stepper__route::after{ content:""; position:absolute; left:8px; top:50%; height:2.5px; transform:translateY(-50%); border-radius:var(--pill);
  width:calc(var(--f, 0) * (100% - 16px)); background:linear-gradient(90deg,var(--brand),var(--emerald-bright)); transition:width .5s var(--ease) }
.stepper__wp{ position:relative; z-index:1; width:16px; height:16px; flex:none; border-radius:50%; display:grid; place-items:center;
  background:var(--surface); border:2px solid var(--ring-track); color:var(--on-brand); transition:border-color .2s, background .2s, box-shadow .2s }
.stepper__wp .ico{ width:.7rem; height:.7rem }
.stepper__wp--done{ background:var(--brand); border-color:var(--brand) }
.stepper__wp--cur{ border-color:var(--brand); box-shadow:0 0 0 4px color-mix(in oklch,var(--brand) 18%,transparent) }
.stepper__wp--cur::after{ content:""; width:6px; height:6px; border-radius:50%; background:var(--brand) }

/* ---------------------------------------------------------------- score panel + ring */
.ring{ --grad-a:var(--emerald-bright); --grad-b:var(--brand); position:relative; width:150px; aspect-ratio:1; margin:.2rem auto .85rem }
.ring svg{ width:100%; height:100%; transform:rotate(-90deg); overflow:visible }
.ring .ga{ stop-color:var(--grad-a) } .ring .gb{ stop-color:var(--grad-b) }
/* outer ticks = faint texture only; the inner track is the real "channel" */
.ring__tickring{ fill:none; stroke:var(--ring-track); stroke-width:3; stroke-dasharray:.5 2.64; opacity:.5 }
.ring__track{ fill:none; stroke:color-mix(in oklch, var(--ring-track) 78%, var(--surface)); stroke-width:9 }
/* "headroom" — a soft arc to the PROJECTED score, so the gap you could close is visible */
.ring__headroom{ fill:none; stroke:var(--sage); stroke-width:9; stroke-linecap:round; stroke-dasharray:100; opacity:.5;
  transition:stroke-dashoffset 1.1s var(--ease) }
/* seed cap at 12 o'clock so the gauge reads "armed", never empty/broken at zero */
.ring__seed{ fill:var(--grad-b); opacity:.9 }
.ring__fill{ fill:none; stroke:url(#ssGrad); stroke-width:9; stroke-linecap:round; stroke-dasharray:100; stroke-dashoffset:100;
  transition:stroke-dashoffset 1.1s var(--ease); filter:drop-shadow(0 5px 12px oklch(.55 .1 163/.32)) }
.ring--start{ --grad-a:var(--sage); --grad-b:var(--emerald) }   /* inviting zero-state, not a warning */
.ring--good{ --grad-a:var(--emerald-bright); --grad-b:var(--brand) }
.ring--warn{ --grad-a:var(--gold); --grad-b:var(--gold-deep) }
.ring--bad{ --grad-a:oklch(.72 .12 55); --grad-b:var(--clay) }
.ring__center{ position:absolute; inset:0; display:grid; place-content:center; text-align:center }
.ring__center strong{ font-family:var(--display); font-size:2.6rem; font-weight:560; color:var(--ink); font-variant-numeric:tabular-nums; line-height:1; letter-spacing:-.03em }
/* calm de-emphasised zero (a faint "0", not a broken "—") */
.ring__center strong.is-zero{ color:var(--faint); font-weight:500 }
.ring__center small{ color:var(--faint); font-size:.8rem; margin-top:.1rem }
.ring--lg{ width:188px } .ring--lg .ring__center strong{ font-size:3.2rem }

.scorepanel{ position:sticky; top:78px }
.scorepanel__inner{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:1.4rem; box-shadow:var(--sh-2); text-align:center }
.scorepanel__band{ margin:.1rem 0 .7rem; color:var(--muted); font-size:.92rem } .scorepanel__band strong{ color:var(--ink); font-family:var(--display) }
.scorepanel__proj{ font-size:.9rem; color:var(--muted); margin:.2rem 0 1rem } .scorepanel__proj .now{ color:var(--ink); font-weight:700 } .scorepanel__proj .goal{ color:var(--gold-deep); font-weight:700 }
.uplift{ color:var(--brand-ink); font-weight:700 }
.scorepanel__complete{ display:flex; align-items:center; gap:.55rem; font-size:.74rem; color:var(--muted); margin-bottom:1rem; font-variant-numeric:tabular-nums }
.plist{ list-style:none; margin:0; padding:.9rem 0 0; border-top:1px solid var(--line); display:grid; gap:.55rem; text-align:left }
.plist li{ display:grid; grid-template-columns:1fr 74px; align-items:center; gap:.5rem; font-size:.82rem }
.plist__lab{ color:var(--ink) } .plist li.is-unknown .plist__lab{ color:var(--faint) }
.plist__bar{ height:6px; background:color-mix(in oklch, var(--ring-track) 80%, var(--surface)); border-radius:var(--pill); overflow:hidden;
  box-shadow:inset 0 0 0 1px color-mix(in oklch, var(--line) 65%, transparent) }
.plist__bar i{ display:block; height:100%; min-width:6px; background:linear-gradient(90deg,var(--brand),var(--emerald-bright)); border-radius:var(--pill); transition:width .7s var(--ease) }
/* not-measured pillars read as a deliberate dotted baseline, not an unloaded skeleton */
.plist li.is-unknown .plist__bar{ background:none; box-shadow:none; height:0; border-bottom:2px dotted color-mix(in oklch, var(--line) 92%, var(--muted)) }
.plist li.is-unknown .plist__bar i{ display:none }
.scorepanel__hint{ margin:.9rem 0 0; font-size:.74rem; color:var(--faint) }

/* ---------------------------------------------- plan-depth panel (part two) */
/* Part two's reward currency is DEPTH, not health — a champagne meter + chapter list,
   deliberately distinct from part one's emerald readiness ring. */
.depthpanel{ position:sticky; top:78px }
.depthpanel__inner{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:1.4rem; box-shadow:var(--sh-2) }
.depthpanel__k{ font-size:.72rem; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:var(--gold-deep); margin:0 0 .5rem }
.depthpanel__big{ display:flex; align-items:baseline; gap:.1rem }
.depthpanel__big strong{ font-family:var(--display); font-weight:560; font-size:2.6rem; line-height:1; color:var(--ink); font-variant-numeric:tabular-nums; letter-spacing:-.03em }
.depthpanel__big span{ font-family:var(--display); font-size:1.25rem; color:var(--gold-deep) }
.depthbar{ height:8px; background:color-mix(in oklch, var(--ring-track) 80%, var(--surface)); border-radius:var(--pill); overflow:hidden; margin:.7rem 0 .5rem;
  box-shadow:inset 0 0 0 1px color-mix(in oklch,var(--line) 60%,transparent) }
.depthbar>span{ display:block; height:100%; min-width:8px; background:linear-gradient(90deg,var(--gold),var(--gold-deep)); border-radius:var(--pill); transition:width .7s var(--ease) }
.depthpanel__sub{ font-size:.9rem; color:var(--muted); margin:0 0 .2rem } .depthpanel__sub strong{ color:var(--ink); font-family:var(--display) }
.chapters{ list-style:none; margin:0; padding:.9rem 0 0; border-top:1px solid var(--line); display:grid; gap:.1rem }
.chapter{ display:flex; align-items:center; gap:.65rem; padding:.4rem .3rem; font-size:.9rem; border-radius:9px; transition:background .15s }
.chapter__dot{ width:1.2rem; height:1.2rem; flex:none; display:grid; place-items:center; border-radius:50%; border:1.5px solid var(--line); color:oklch(.26 .035 252) }
.chapter__dot .ico{ width:.82rem; height:.82rem }
.chapter__lab{ color:var(--muted) }
.chapter--done .chapter__dot{ background:var(--gold); border-color:var(--gold) }
.chapter--done .chapter__lab{ color:var(--ink) }
.chapter--cur{ background:color-mix(in oklch,var(--gold) 8%,transparent) }
.chapter--cur .chapter__dot{ border-color:var(--gold); box-shadow:inset 0 0 0 3px color-mix(in oklch,var(--gold) 16%,var(--surface)) }
.chapter--cur .chapter__lab{ color:var(--ink); font-weight:600 }
.depthpanel__hint{ margin:.9rem 0 0; font-size:.76rem; color:var(--faint); line-height:1.5 }

/* ---------------------------------------------------------------- dashboard */
.dash__hero{ display:flex; gap:clamp(1.2rem,3vw,2.4rem); align-items:center; background:var(--surface); border:1px solid var(--line);
  border-radius:var(--r-xl); padding:clamp(1.4rem,3vw,2.2rem); box-shadow:var(--sh-3); margin-bottom:1.5rem; position:relative; overflow:hidden }
.dash__hero::before{ content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(60% 120% at 100% 0%, oklch(.62 .1 163/.07), transparent 60%),
             repeating-radial-gradient(circle at 106% -30%, transparent 0 56px,
               color-mix(in oklch, var(--line) 70%, transparent) 56px 57px, transparent 57px 113px) }
.dash__hero h1{ font-family:var(--display); font-weight:540; font-size:clamp(1.6rem,3.6vw,2.4rem); line-height:1.12; text-wrap:balance }
.dash__herocopy{ flex:1; min-width:0; position:relative }
.band-good{ color:var(--brand-ink) } .band-warn{ color:var(--gold-deep) } .band-bad{ color:var(--clay) }
.dash__exports{ display:flex; gap:.7rem; flex-wrap:wrap; margin-top:1.1rem }
.callout{ background:linear-gradient(180deg, color-mix(in oklch,var(--gold) 14%,var(--surface)), var(--surface)); border:1px solid color-mix(in oklch,var(--gold) 35%,var(--line)); border-left:4px solid var(--gold); border-radius:var(--r-md); padding:1.1rem 1.3rem; margin-bottom:1.5rem; box-shadow:var(--sh-1) }
.callout h3{ color:var(--gold-deep); margin-bottom:.35rem; display:flex; align-items:center; gap:.5rem } .callout h3 .ico{ color:var(--gold-deep) }
.callout ul{ margin:.5rem 0 0; padding-left:1.2rem; color:var(--muted) } .callout li{ margin:.15rem 0 }
.dash__grid{ display:grid; grid-template-columns:1fr 330px; gap:1.5rem; align-items:start }
.dash__col{ display:grid; gap:1.5rem; min-width:0 }
.panel{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:clamp(1.2rem,2.5vw,1.7rem); box-shadow:var(--sh-2) }
.panel__title{ font-family:var(--display); font-weight:540; font-size:1.18rem; margin-bottom:1.1rem; padding-bottom:.6rem; border-bottom:1px solid var(--line); position:relative }
.panel__title::after{ content:""; position:absolute; left:0; bottom:-1px; width:42px; height:2.5px; background:var(--gold); border-radius:2px }
.plan{ list-style:none; margin:0; padding:0; display:grid; gap:1rem }
.plan__item{ display:flex; gap:.9rem; align-items:flex-start }
.plan__icon{ width:2.5rem; height:2.5rem; flex:none; display:grid; place-items:center; border-radius:12px; background:color-mix(in oklch,var(--brand) 12%,transparent); color:var(--brand-ink); border:1px solid color-mix(in oklch,var(--brand) 20%,transparent) }
.plan__icon .ico{ width:1.35rem; height:1.35rem }
.plan__item strong{ color:var(--ink) } .plan__item p{ margin:.15rem 0 0; color:var(--muted); font-size:.93rem }
.detail{ padding:.85rem 0; border-top:1px solid var(--line) } .detail:first-of-type{ border-top:0; padding-top:0 }
.detail h3{ display:flex; align-items:center; gap:.55rem; font-size:.95rem; color:var(--brand-ink); margin-bottom:.3rem }
.detail__ico{ width:1.75rem; height:1.75rem; flex:none; display:grid; place-items:center; border-radius:8px;
  background:color-mix(in oklch,var(--brand) 9%,var(--surface-2)); color:var(--brand-ink); border:1px solid color-mix(in oklch,var(--brand) 14%,transparent) }
.detail__ico .ico{ width:1rem; height:1rem }
.detail p{ margin:0; color:var(--ink); font-size:.94rem; padding-left:2.3rem }
.areas{ list-style:none; margin:0; padding:0; display:grid; gap:.8rem }
.areas li{ display:grid; grid-template-columns:1fr 1.25fr 28px; align-items:center; gap:.7rem; font-size:.88rem }
.areas__bar{ height:9px; background:var(--ring-track); border-radius:var(--pill); overflow:hidden }
.areas__bar i{ display:block; height:100%; border-radius:var(--pill); background:linear-gradient(90deg,var(--brand-ink),var(--brand)); transition:width .8s var(--ease) }
.areas__bar--good i{ background:linear-gradient(90deg,var(--brand),var(--emerald-bright)) }
.areas__bar--warn i{ background:linear-gradient(90deg,var(--gold),var(--gold-deep)) }
.areas__bar--bad i{ background:linear-gradient(90deg,oklch(.72 .12 55),var(--clay)) }
.areas__num{ text-align:right; font-weight:700; color:var(--ink); font-family:var(--mono); font-variant-numeric:tabular-nums }
.areas__na{ grid-column:2/4; text-align:right; color:var(--faint); font-style:italic; font-size:.8rem }
.panel--next p{ font-size:.93rem; color:var(--ink) } .contact{ font-size:.9rem; color:var(--muted) } .contact strong{ color:var(--ink) }

/* ---------------------------------------------------------------- motion */
@keyframes rise{ from{ opacity:0; transform:translateY(12px) } to{ opacity:1; transform:none } }
@media (prefers-reduced-motion:no-preference){
  .coach,.qcard,.scorepanel__inner,.hero__copy,.explainer,.dash__hero,.callout,.panel,.stepper{ animation:rise .5s var(--ease-enter) both }
  .scorepanel__inner,.explainer{ animation-delay:.08s } .dash__col--side .panel{ animation-delay:.1s }
  ::view-transition-old(qcard){ animation:vt-out var(--dur-page) var(--ease) both } ::view-transition-new(qcard){ animation:vt-in var(--dur-page) var(--ease-enter) both }
}
@keyframes vt-out{ to{ opacity:0; transform:translateX(-14px) } } @keyframes vt-in{ from{ opacity:0; transform:translateX(16px) } }

/* ---------------------------------------------------------------- responsive */
@media (max-width:900px){
  .hero{ grid-template-columns:1fr } .explainer{ order:-1 }
  /* question first on mobile — the compact topbar score carries the number */
  .chat{ grid-template-columns:1fr } .scorepanel{ position:static; margin-top:1.2rem }
  .chat.chat--adv{ grid-template-columns:1fr } .depthpanel{ position:static; margin-top:1.2rem }
  .scorepanel__inner{ display:grid; grid-template-columns:auto 1fr; gap:.3rem 1.2rem; text-align:left; align-items:center }
  .ring{ margin:0 } .plist{ grid-column:1/3 } .scorepanel__band,.scorepanel__proj,.scorepanel__complete{ grid-column:2 } .scorepanel__hint{ display:none }
  .dash__hero{ flex-direction:column; text-align:center } .dash__exports{ justify-content:center }
  .dash__grid{ grid-template-columns:1fr } .trustrow{ grid-template-columns:1fr 1fr }
}
@media (max-width:560px){
  .topbar__tag{ display:none } .brand__name{ white-space:nowrap }
}
@media (max-width:480px){
  .choices--bool{ grid-template-columns:1fr }
  .debts__head,.debts__row{ grid-template-columns:1.2fr 1fr .7fr } .debts__head span:last-child,.debts__row input:last-child{ display:none }
  .topbar__progress{ max-width:130px } .topbar__pct{ display:none }
  .topbar__score{ padding:.22rem .6rem; font-size:.82rem }   /* stays visible — it's the mobile score chip */
}
@media (prefers-reduced-motion:reduce){ html{ scroll-behavior:auto } *{ transition-duration:.01ms !important } .ring__fill{ transition:none } }

/* ============================================================ ADVANCED WIZARD */
.chat--adv{ grid-template-columns:1fr 300px }
.stepper__badge{ display:inline-block; font-size:.62rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em;
  color:var(--sage); background:linear-gradient(180deg,var(--forest),var(--forest-2)); padding:.18rem .5rem; border-radius:var(--pill); margin-right:.35rem; vertical-align:.06em }
.prefillnote{ display:flex; align-items:center; gap:.45rem; font-size:.85rem; color:var(--brand-ink); font-weight:600;
  background:color-mix(in oklch,var(--brand) 9%,var(--surface)); border:1px solid color-mix(in oklch,var(--brand) 22%,transparent);
  border-radius:10px; padding:.5rem .75rem; margin:.1rem 0 .2rem } .prefillnote .ico{ width:1.05rem; height:1.05rem; flex:none }
.input--area{ resize:vertical; min-height:6.5rem; line-height:1.55 } .input--date{ max-width:18rem }

.choice.is-suggested{ border-color:color-mix(in oklch,var(--brand) 55%,var(--line)); background:color-mix(in oklch,var(--brand) 8%,var(--surface)) }
.choice__sug{ margin-left:auto; font-size:.68rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:var(--brand-ink);
  background:color-mix(in oklch,var(--brand) 15%,transparent); padding:.15rem .5rem; border-radius:var(--pill) }
/* data-selects with no icon tile (advanced wizard) get a radio affordance so they read as
   deliberate option rows, not empty cards */
.choice:not(:has(.choice__icon))::before{ content:""; width:1.2rem; height:1.2rem; flex:none; border-radius:50%;
  border:2px solid color-mix(in oklch,var(--line) 78%,var(--muted)); transition:border-color .15s, background .15s, box-shadow .15s }
.choice:not(:has(.choice__icon)):hover::before{ border-color:var(--brand) }
.choice:not(:has(.choice__icon)).is-suggested::before{ border-color:var(--brand); background:var(--brand);
  box-shadow:inset 0 0 0 3.5px color-mix(in oklch,var(--brand) 8%,var(--surface)) }

/* repeatable groups */
.grp{ display:grid; gap:.7rem; margin-bottom:.4rem }
.grp__row{ position:relative; display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:.6rem;
  border:1px solid var(--line); border-radius:12px; padding:.8rem .9rem .85rem; background:var(--surface-2) }
.grp__cell{ display:flex; flex-direction:column; gap:.3rem; min-width:0 }
.grp__lab{ font-size:.7rem; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); font-weight:700 }
.grp__in{ width:100%; font:inherit; padding:.6rem .7rem; border:1px solid var(--line); border-radius:9px; background:var(--surface);
  color:var(--ink); font-variant-numeric:tabular-nums } .grp__in:focus{ outline:0; border-color:var(--brand) }
.grp__del{ position:absolute; top:.4rem; right:.4rem; width:1.7rem; height:1.7rem; border-radius:50%; border:1px solid var(--line);
  background:var(--surface); color:var(--muted); cursor:pointer; font-size:1.05rem; line-height:1; display:grid; place-items:center }
.grp__del:hover{ border-color:var(--bad); color:var(--bad) }
.grp__hint{ font-size:.82rem; color:var(--muted); margin:.5rem 0 0 }

/* uploads */
.upload{ display:grid; gap:.7rem }
.upload__zone{ display:block; border:1.5px dashed color-mix(in oklch,var(--brand) 35%,var(--line)); border-radius:14px;
  padding:1.4rem 1rem; text-align:center; cursor:pointer; background:color-mix(in oklch,var(--brand) 4%,var(--surface)); transition:border-color .15s, background .15s }
.upload__zone:hover{ border-color:var(--brand); background:color-mix(in oklch,var(--brand) 7%,var(--surface)) }
.upload__zone input[type=file]{ position:absolute; width:1px; height:1px; opacity:0; overflow:hidden }
.upload__inner{ display:flex; flex-direction:column; align-items:center; gap:.25rem; color:var(--muted); font-size:.9rem }
.upload__inner .ico{ width:1.6rem; height:1.6rem; color:var(--brand-ink); margin-bottom:.2rem }
.upload__inner b{ color:var(--ink) } .upload__inner small{ color:var(--muted); font-size:.78rem }
.upload__zone.is-off{ opacity:.5; pointer-events:none; filter:grayscale(.4) }
.upload__list{ list-style:none; margin:0; padding:0; display:grid; gap:.35rem }
.upload__list li{ display:flex; align-items:center; gap:.5rem; font-size:.88rem; color:var(--ink); background:var(--surface-2);
  border:1px solid var(--line); border-radius:9px; padding:.45rem .7rem } .upload__list .ico{ width:1.05rem; height:1.05rem; color:var(--brand) }
.upload__later{ display:flex; align-items:center; gap:.55rem; font-size:.9rem; color:var(--muted); cursor:pointer }
.upload__later input{ width:1.1rem; height:1.1rem; accent-color:var(--brand) }
.upload__selected{ list-style:none; margin:0; padding:0; display:grid; gap:.4rem }
.upload__selected li{ display:flex; align-items:center; gap:.55rem; font-size:.9rem; font-weight:500; color:var(--brand-ink);
  background:color-mix(in oklch,var(--brand) 9%,var(--surface)); border:1px solid color-mix(in oklch,var(--brand) 28%,transparent);
  border-radius:10px; padding:.55rem .75rem; animation:rise .3s var(--ease-enter) both }
.upload__selected .ico{ width:1.15rem; height:1.15rem; color:var(--brand); flex:none }
.upload__nm{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0 }
.upload__sz{ margin-left:auto; font-size:.78rem; color:var(--muted); font-variant-numeric:tabular-nums; flex:none }
.upload__have{ display:flex; align-items:center; gap:.4rem; font-size:.78rem; font-weight:600; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); margin:.2rem 0 -.1rem }
.upload__have .ico{ width:1rem; height:1rem; color:var(--brand) }
.upload.has-files .upload__zone .upload__inner b{ color:var(--brand-ink) }

/* dashboard advanced CTA */
.advcta{ display:flex; align-items:center; gap:1.1rem; background:linear-gradient(120deg, color-mix(in oklch,var(--brand) 12%,var(--surface)), var(--surface) 70%);
  border:1px solid color-mix(in oklch,var(--brand) 32%,var(--line)); border-radius:var(--r-md); padding:1.2rem 1.4rem; margin-bottom:1.5rem; box-shadow:var(--sh-1) }
.advcta__icon{ width:3rem; height:3rem; flex:none; display:grid; place-items:center; border-radius:14px; color:#fff;
  background:linear-gradient(160deg,var(--brand),var(--brand-ink)) } .advcta__icon .ico{ width:1.5rem; height:1.5rem }
.advcta__copy{ flex:1; min-width:0 } .advcta__copy h3{ margin:.1rem 0 .25rem } .advcta__copy p{ margin:0; color:var(--muted); font-size:.92rem }
.advcta .btn{ flex:none } .advcta--done{ background:linear-gradient(120deg, color-mix(in oklch,var(--brand) 9%,var(--surface)), var(--surface) 70%) }
.advcta--done .advcta__icon{ background:linear-gradient(160deg,var(--brand),var(--brand-ink)) }

/* advanced submitted screen */
.advdone{ max-width:640px; margin:1.5rem auto; text-align:center }
.advdone__card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:clamp(1.6rem,4vw,2.6rem); box-shadow:var(--sh-2) }
.advdone__badge{ width:4rem; height:4rem; margin:0 auto 1rem; display:grid; place-items:center; border-radius:50%; color:#fff;
  background:linear-gradient(160deg,var(--brand),var(--brand-ink)); box-shadow:0 14px 30px -14px var(--brand) } .advdone__badge .ico{ width:2rem; height:2rem; stroke-width:2.4 }
.advdone__list{ list-style:none; margin:1.4rem 0; padding:0; display:grid; gap:.6rem; text-align:left }
.advdone__list li{ display:flex; align-items:center; gap:.7rem; background:var(--surface-2); border:1px solid var(--line); border-radius:11px; padding:.7rem .9rem; color:var(--ink); font-size:.92rem }
.advdone__list .ico{ width:1.3rem; height:1.3rem; color:var(--brand-ink); flex:none }
.advdone__actions{ display:flex; gap:.7rem; justify-content:center; flex-wrap:wrap; margin-top:1.4rem }
.advdone__fine{ font-size:.78rem; color:var(--muted); margin-top:1.1rem; line-height:1.5 }

@media (max-width:640px){
  .advcta{ flex-direction:column; align-items:flex-start } .advcta .btn{ width:100% }
  .grp__row{ grid-template-columns:1fr 1fr } .grp__cell--text,.grp__cell--select{ grid-column:1 / -1 }
}

/* Attention loop for the advanced-planning CTA — the key next step we want clicked */
@media (prefers-reduced-motion:no-preference){
  .advcta:not(.advcta--done){ animation:advctaBreath 3.6s var(--ease) infinite }
  .advcta:not(.advcta--done) .advcta__icon{ animation:advctaTwinkle 3.6s var(--ease) infinite; transform-origin:center }
  .advcta:not(.advcta--done) .btn{ position:relative; overflow:hidden; animation:advctaBtnGlow 3.6s var(--ease) infinite }
  .advcta:not(.advcta--done) .btn::after{ content:""; position:absolute; inset:0 auto 0 0; width:55%; height:100%;
    background:linear-gradient(100deg,transparent 20%,rgba(255,255,255,.55) 50%,transparent 80%); transform:translateX(-200%); animation:advctaShimmer 3.6s var(--ease) infinite }
  .advcta:not(.advcta--done) .btn .ico{ position:relative; z-index:1; animation:advctaNudge 1.8s var(--ease) infinite }
  .advcta:not(.advcta--done) .btn:hover{ animation:none }
}
@keyframes advctaBreath{
  0%,100%{ box-shadow:var(--sh-1); border-color:color-mix(in oklch,var(--brand) 32%,var(--line)) }
  50%{ box-shadow:0 12px 36px -12px color-mix(in oklch,var(--brand) 48%,transparent); border-color:color-mix(in oklch,var(--brand) 60%,var(--line)) }
}
@keyframes advctaTwinkle{
  0%,100%{ transform:scale(1) rotate(0); box-shadow:0 0 0 0 color-mix(in oklch,var(--brand) 30%,transparent) }
  50%{ transform:scale(1.08) rotate(5deg); box-shadow:0 0 18px -2px color-mix(in oklch,var(--brand) 55%,transparent) }
}
@keyframes advctaBtnGlow{
  0%,100%{ box-shadow:0 12px 26px -14px oklch(.7 .1 85/.55); transform:translateY(0) }
  50%{ box-shadow:0 16px 32px -10px oklch(.72 .12 85/.9); transform:translateY(-1px) }
}
@keyframes advctaShimmer{ 0%{ transform:translateX(-200%) } 38%,100%{ transform:translateX(330%) } }
@keyframes advctaNudge{ 0%,100%{ transform:translateX(0) } 50%{ transform:translateX(3px) } }

/* Site-wide notice banner (welcome-back, code-sent) */
.flashbar{ display:flex; align-items:center; gap:.6rem; margin:0 0 1.3rem; padding:.8rem 1.1rem; border-radius:var(--r-md); font-weight:600; font-size:.95rem; border:1px solid; box-shadow:var(--sh-1) }
.flashbar .ico{ width:1.25rem; height:1.25rem; flex:none }
.flashbar--ok{ background:color-mix(in oklch,var(--brand) 10%,var(--surface)); border-color:color-mix(in oklch,var(--brand) 30%,transparent); color:var(--brand-ink) }
.flashbar--warn{ background:color-mix(in oklch,var(--gold) 14%,var(--surface)); border-color:color-mix(in oklch,var(--gold) 40%,transparent); color:var(--gold-deep) }

/* Resume (email one-time code) screens */
.resume{ max-width:480px; margin:4vh auto; }
.resume__card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:clamp(1.6rem,4vw,2.6rem); box-shadow:var(--sh-2); text-align:center }
.resume__icon{ width:3.4rem; height:3.4rem; margin:0 auto 1rem; display:grid; place-items:center; border-radius:50%; color:#fff; background:linear-gradient(160deg,var(--brand),var(--brand-ink)); box-shadow:0 12px 28px -14px var(--brand) }
.resume__icon .ico{ width:1.6rem; height:1.6rem; stroke-width:2 }
.resume h1{ font-family:var(--display); font-weight:540; font-size:clamp(1.4rem,3.5vw,1.9rem); margin:.1rem 0 .5rem }
.resume .lede{ font-size:1rem; margin:0 auto 1.4rem; max-width:34ch }
.resume__form{ display:grid; gap:.8rem; text-align:left } .resume__form .btn{ width:100%; justify-content:center }
.resume__form .field{ max-width:none }
.input--code{ text-align:center; font-family:var(--mono); font-size:1.8rem; letter-spacing:.4em; padding-left:.6rem; font-variant-numeric:tabular-nums }
.resume__resend{ margin-top:1rem } .resume__resend .muted-link{ border:0; background:none; cursor:pointer; font:inherit }
.resume__alt{ margin-top:1rem; font-size:.9rem; display:flex; gap:.6rem; justify-content:center; color:var(--muted) }
.resume__notice{ display:flex; align-items:center; gap:.45rem; justify-content:center; color:var(--brand-ink); font-weight:600; font-size:.92rem; background:color-mix(in oklch,var(--brand) 9%,var(--surface)); border:1px solid color-mix(in oklch,var(--brand) 22%,transparent); border-radius:10px; padding:.55rem .8rem; margin:0 0 1rem }
.resume__notice .ico{ width:1.05rem; height:1.05rem }
.resume__fine{ margin:1.3rem 0 0; font-size:.8rem; color:var(--muted); display:flex; align-items:center; gap:.4rem; justify-content:center }
.resume__fine .ico{ width:1rem; height:1rem }

/* "Save & finish later" affordance inside the wizard/dashboard */
.finishlater{ display:inline }
.finishlater button{ border:0; background:none; cursor:pointer; font:inherit; color:var(--muted); display:inline-flex; align-items:center; gap:.35rem }
.finishlater button:hover{ color:var(--brand-ink) } .finishlater .ico{ width:1rem; height:1rem }

/* ====================================================== AAA WIZARD FEEL LAYER */
/* trust chip on sensitive questions */
.securenote{ display:inline-flex; align-items:center; gap:.45rem; font-size:.8rem; font-weight:600; color:var(--brand-ink);
  background:color-mix(in oklch,var(--brand) 8%,transparent); border:1px solid color-mix(in oklch,var(--brand) 20%,transparent);
  border-radius:var(--pill); padding:.35rem .75rem; margin:.1rem 0 .6rem }
.securenote .ico{ width:.95rem; height:.95rem }

/* dropdown select (e.g. state picker) */
.input--select{ appearance:none; -webkit-appearance:none; cursor:pointer; max-width:24rem;
  background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);
  background-position:calc(100% - 1.3rem) 1.35rem,calc(100% - 0.95rem) 1.35rem; background-size:.36rem .36rem; background-repeat:no-repeat }

/* +points gain chip (floats in under the topbar) */
.gainchip{ position:fixed; top:64px; right:max(env(safe-area-inset-right),var(--gutter)); z-index:60;
  display:flex; align-items:center; gap:.45rem; background:linear-gradient(180deg,var(--gold),color-mix(in oklch,var(--gold) 75%,var(--gold-deep)));
  color:oklch(.25 .05 84); font-weight:800; font-size:.92rem; border-radius:var(--pill); padding:.5rem .95rem;
  box-shadow:0 14px 30px -12px color-mix(in oklch,var(--gold) 70%,transparent); pointer-events:none }
.gainchip small{ font-weight:600; font-size:.74rem; opacity:.85 }
.gainchip.saved{ background:var(--surface); color:var(--brand-ink); border:1px solid color-mix(in oklch,var(--brand) 30%,var(--line)); box-shadow:var(--sh-1) }
@media (prefers-reduced-motion:no-preference){
  .gainchip{ animation:gainIn 1.7s var(--ease) both }
  @keyframes gainIn{ 0%{ opacity:0; transform:translateY(-8px) scale(.92) } 12%,78%{ opacity:1; transform:translateY(0) scale(1) } 100%{ opacity:0; transform:translateY(-6px) scale(.96) } }
}
@media (prefers-reduced-motion:reduce){ .gainchip{ opacity:1 } }

/* waypoint-cleared toast (stage transitions) */
.stagetoast{ position:fixed; inset:0; z-index:70; display:grid; place-items:center; pointer-events:none }
.stagetoast__card{ background:linear-gradient(160deg,var(--forest),var(--forest-2)); color:#fff; text-align:center;
  border-radius:var(--r-lg); padding:1.4rem 2.2rem; box-shadow:0 40px 90px -30px oklch(.2 .04 253/.65) }
.stagetoast__k{ font-size:.68rem; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:var(--sage); margin-bottom:.3rem }
.stagetoast__t{ font-family:var(--display); font-weight:540; font-size:1.5rem }
.stagetoast__t .ico{ width:1.2rem; height:1.2rem; color:var(--gold); vertical-align:-.15em; margin-right:.3rem }
@media (prefers-reduced-motion:no-preference){
  .stagetoast__card{ animation:toastIn 1.25s var(--ease) both }
  @keyframes toastIn{ 0%{ opacity:0; transform:scale(.9) } 14%,80%{ opacity:1; transform:scale(1) } 100%{ opacity:0; transform:scale(.97) } }
}

/* band-crossing milestone — a premium centered "level up" beat (part one) */
.milestone{ position:fixed; inset:0; z-index:72; display:grid; place-items:center; pointer-events:none; padding:1rem }
.milestone__card{ background:linear-gradient(160deg,var(--forest),var(--forest-2)); color:#fff; text-align:center;
  border:1px solid oklch(1 0 0/.12); border-radius:var(--r-xl); padding:1.5rem 2.6rem;
  box-shadow:0 44px 96px -34px oklch(.2 .04 253/.7), 0 0 0 6px color-mix(in oklch,var(--gold) 10%,transparent) }
.milestone__k{ font-size:.68rem; font-weight:700; letter-spacing:.22em; text-transform:uppercase; color:var(--sage); margin-bottom:.45rem }
.milestone__band{ font-family:var(--display); font-weight:540; font-size:1.7rem; letter-spacing:-.01em }
.milestone__band em{ font-style:italic; color:var(--gold) }
@media (prefers-reduced-motion:no-preference){
  .milestone__card{ animation:msIn 2.7s var(--ease) both }
  @keyframes msIn{ 0%{ opacity:0; transform:scale(.92) translateY(8px) } 8%,82%{ opacity:1; transform:none } 100%{ opacity:0; transform:scale(.98) translateY(-4px) } }
}

/* question swap animation (fetch layer) */
@media (prefers-reduced-motion:no-preference){
  .chat.qswap-in .qcard, .chat.qswap-in .coach{ animation:qIn .34s var(--ease-enter) both }
  @keyframes qIn{ from{ opacity:0; transform:translateX(26px) } to{ opacity:1; transform:none } }
}
.qbusy .qform button[type=submit]{ opacity:.65; pointer-events:none }

/* upload progress (XHR) */
.upbar{ height:8px; border-radius:var(--pill); background:var(--ring-track); overflow:hidden; margin:.6rem 0 .2rem; display:none }
.upbar.is-on{ display:block }
.upbar i{ display:block; height:100%; width:0; border-radius:var(--pill); background:linear-gradient(90deg,var(--brand),var(--emerald-bright)); transition:width .2s linear }

/* one-time score reveal overlay (dashboard) — the gamified payoff moment */
.reveal-overlay{ position:fixed; inset:0; z-index:200; display:grid; place-content:center; text-align:center; overflow:hidden;
  background:radial-gradient(130% 150% at 50% 0%,var(--forest),var(--forest-2)); color:#fff; transition:opacity .5s var(--ease);
  --grad-a:var(--emerald-bright); --grad-b:var(--sage) }
.reveal-overlay[data-band="warn"]{ --grad-a:var(--gold); --grad-b:var(--gold-soft) }
.reveal-overlay[data-band="bad"]{ --grad-a:oklch(.72 .12 55); --grad-b:oklch(.82 .09 60) }
.reveal-overlay.is-done{ opacity:0; pointer-events:none }
/* centered orbital field, slow drift */
.reveal-overlay__arcs{ position:absolute; inset:0; display:grid; place-content:center; opacity:.7; pointer-events:none }
.reveal-overlay__arcs svg{ width:min(150vh,150vw); height:auto; animation:revSpin 70s linear infinite }
@keyframes revSpin{ to{ transform:rotate(360deg) } }
.reveal-overlay__stage{ position:relative; display:grid; justify-items:center; animation:revRise .7s var(--ease-enter) both }
@keyframes revRise{ from{ opacity:0; transform:translateY(16px) } to{ opacity:1; transform:none } }
.reveal-overlay__k{ font-size:.74rem; font-weight:700; letter-spacing:.22em; text-transform:uppercase; color:var(--sage); margin:0 0 1.1rem }
/* the readiness ring draws around the number as it counts */
.reveal-overlay__gauge{ position:relative; width:clamp(220px,44vh,300px); aspect-ratio:1; display:grid; place-items:center }
.reveal-ring{ position:absolute; inset:0; width:100%; height:100%; transform:rotate(-90deg); overflow:visible }
.reveal-ring .ga{ stop-color:var(--grad-a) } .reveal-ring .gb{ stop-color:var(--grad-b) }
.reveal-ring__track{ fill:none; stroke:rgba(255,255,255,.10); stroke-width:5.5 }
.reveal-ring__fill{ fill:none; stroke:url(#revGrad); stroke-width:5.5; stroke-linecap:round; stroke-dasharray:100;
  filter:drop-shadow(0 0 13px color-mix(in oklch,var(--grad-b) 75%,transparent)) }
.reveal-overlay__num{ position:relative; display:flex; flex-direction:column; align-items:center; line-height:1 }
.reveal-overlay__num b{ font-family:var(--display); font-weight:560; font-size:clamp(3.4rem,15vh,5.6rem); letter-spacing:-.03em;
  font-variant-numeric:tabular-nums; text-shadow:0 0 34px color-mix(in oklch,var(--grad-b) 50%,transparent) }
.reveal-overlay__num span{ font-size:1rem; color:var(--sage); font-family:var(--mono); margin-top:.25rem; letter-spacing:.02em }
.reveal-overlay.is-pop .reveal-overlay__gauge{ animation:revPop .6s var(--ease-enter) }
@keyframes revPop{ 0%{ transform:scale(1) } 36%{ transform:scale(1.05) } 100%{ transform:scale(1) } }
.reveal-overlay__band{ font-family:var(--display); font-size:clamp(1.3rem,4.5vw,1.9rem); color:oklch(.92 .02 250); margin:1.2rem 0 0;
  opacity:0; transform:translateY(9px); transition:opacity .5s var(--ease), transform .5s var(--ease-enter) }
.reveal-overlay__band em{ font-style:italic; color:var(--gold) }
.reveal-overlay.show-band .reveal-overlay__band{ opacity:1; transform:none }
@media (prefers-reduced-motion:reduce){ .reveal-overlay__arcs svg{ animation:none } .reveal-overlay.is-pop .reveal-overlay__gauge{ animation:none } }

/* part-two finale — "plan complete": chapters light up (champagne), no number.
   JS-driven (staggered .is-in / .show-band classes) so it renders reliably and survives
   animation throttling; reduced-motion just snaps the transitions to instant. */
.planchapters{ list-style:none; margin:0; padding:0; display:grid; gap:.55rem; justify-items:start }
.planchapter{ display:flex; align-items:center; gap:.7rem; font-family:var(--display); font-weight:540; font-size:clamp(1.15rem,3.6vw,1.5rem); color:oklch(.92 .02 250);
  opacity:0; transform:translateX(-12px); transition:opacity .5s var(--ease), transform .5s var(--ease-enter) }
.planchapter.is-in{ opacity:1; transform:none }
.planchapter__check{ width:1.7rem; height:1.7rem; flex:none; display:grid; place-items:center; border-radius:50%; background:var(--gold); color:oklch(.26 .035 252);
  box-shadow:0 0 14px color-mix(in oklch,var(--gold) 55%,transparent) }
.planchapter__check .ico{ width:1rem; height:1rem }
.planfinale__head{ font-family:var(--display); font-weight:540; font-size:clamp(1.4rem,4.5vw,2rem); color:oklch(.92 .02 250); margin:1.3rem 0 0; letter-spacing:-.015em;
  opacity:0; transition:opacity .55s var(--ease) }
.planfinale__head em{ font-style:italic; color:var(--gold) }
.planfinale__note{ font-size:.95rem; color:oklch(.76 .02 250); margin:.6rem 0 0; opacity:0; transition:opacity .55s var(--ease) }
.reveal-overlay--plan.show-band .planfinale__head,
.reveal-overlay--plan.show-band .planfinale__note{ opacity:1 }

/* ------------------------------------------------ shareable readiness card */
.cardpage{ margin:0; min-height:100vh; display:grid; place-items:center; padding:2.5rem 1.4rem; position:relative; overflow:hidden;
  background:radial-gradient(130% 150% at 50% 0%, var(--forest), var(--forest-2)); color:#fff; font-family:var(--sans) }
.cardpage__arcs{ position:absolute; inset:0; display:grid; place-content:center; opacity:.6; pointer-events:none }
.cardpage__arcs svg{ width:min(150vh,150vw); height:auto }
.cardpage__back{ position:absolute; top:1.3rem; left:1.5rem; z-index:2; display:inline-flex; align-items:center; gap:.4rem;
  color:var(--onnavy-mut); font-size:.85rem; font-weight:500 } .cardpage__back:hover{ color:#fff }
.cardpage__backico{ width:1rem; height:1rem; transform:rotate(180deg) }
.rcard{ position:relative; z-index:1; text-align:center; display:grid; justify-items:center; max-width:460px }
.rcard__brand{ display:flex; align-items:center; gap:.55rem; color:#fff; font-family:var(--display); font-weight:650; font-size:1.1rem; letter-spacing:-.01em; margin-bottom:1.3rem }
.rcard__brand .logo{ width:1.9rem; height:1.9rem }
.rcard__k{ font-size:.72rem; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:var(--sage); margin:0 0 1rem }
.rcard .ring{ margin:0 0 1.1rem }
.rcard__band{ font-family:var(--display); font-weight:540; font-size:clamp(1.6rem,5vw,2rem); margin:0; color:#fff; letter-spacing:-.015em }
.rcard__band em{ font-style:italic; color:var(--gold) }
.rcard__meta{ color:var(--onnavy-mut); font-size:.95rem; margin:.5rem 0 0 }
.rcard__foot{ color:var(--onnavy-mut); font-size:.8rem; letter-spacing:.05em; margin:1.7rem 0 0; text-transform:uppercase }
.cardpage__hint{ position:absolute; bottom:1.3rem; left:0; right:0; text-align:center; color:var(--onnavy-mut); font-size:.78rem; z-index:2; margin:0 }

/* score journey sparkline (dashboard hero) */
/* ring + "your journey" sparkline form one cohesive score cluster in the hero */
.dash__heroscore{ display:flex; flex-direction:column; align-items:center; gap:.55rem; flex:none }
.spark{ display:flex; flex-direction:column; align-items:center; gap:.2rem; margin:0 }
.spark svg{ width:160px; height:auto }
.spark span{ display:inline-flex; align-items:center; gap:.32rem; font-size:.72rem; color:var(--faint); letter-spacing:.01em }
.spark span .ico{ width:.92rem; height:.92rem; color:var(--gold-deep) }

/* advanced review-before-submit */
.review{ border:1px solid var(--line); border-radius:var(--r-md); background:var(--surface-2); padding:1rem 1.15rem; margin:0 0 1.2rem; max-height:430px; overflow:auto }
.review__head{ display:flex; align-items:center; gap:.45rem; font-weight:700; color:var(--brand-ink); font-size:.92rem; margin-bottom:.4rem }
.review__head .ico{ width:1.05rem; height:1.05rem }
.review__sec{ display:flex; justify-content:space-between; align-items:baseline; font-size:.72rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--gold-deep); border-top:1px dashed var(--line); margin-top:.7rem; padding-top:.7rem }
.review__sec a{ font-size:.78rem; letter-spacing:0; text-transform:none; font-weight:600 }
.review__group{ font-weight:600; font-size:.88rem; margin-top:.4rem }
.review__item{ font-size:.84rem; color:var(--muted); padding-left:.8rem }
.review__kv{ display:flex; justify-content:space-between; gap:1rem; font-size:.86rem; padding:.22rem 0 }
.review__kv span{ color:var(--muted) } .review__kv b{ text-align:right; color:var(--ink); font-weight:600 }

/* email typo hint */
.mailhint{ margin:.45rem 0 0; font-size:.86rem; color:var(--brand-ink) }
.mailhint button{ border:0; background:none; cursor:pointer; font:inherit; font-weight:700; color:var(--brand-ink); text-decoration:underline; text-underline-offset:3px; padding:0 }

/* ===== Phase 1 · FLOW ===== */
/* review mode (edit a finished plan), drag-and-drop upload state, the dashboard's late-question
   card, and the "Edit my answers" control. Tokens only, so both themes follow. */
.reviewbar{ display:flex; align-items:center; justify-content:space-between; gap:.9rem; flex-wrap:wrap;
  background:color-mix(in srgb,var(--gold) 12%,var(--surface)); border:1px solid color-mix(in srgb,var(--gold) 40%,var(--line));
  border-radius:var(--r-md); padding:.75rem .9rem .75rem 1.1rem; margin-bottom:1.1rem; box-shadow:var(--sh-1) }
.reviewbar__txt{ display:flex; align-items:flex-start; gap:.55rem; margin:0; color:var(--ink); font-size:.92rem; line-height:1.45; flex:1 1 16rem; min-width:0 }
.reviewbar__txt .ico{ width:1.15rem; height:1.15rem; color:var(--gold-deep); flex:none; margin-top:.12rem }
.reviewbar__txt b{ font-weight:650 }
.reviewbar__btn{ padding:.6rem 1.1rem; min-height:44px; font-size:.9rem; flex:none }

.upload__zone.is-drag{ border-color:var(--brand); border-style:solid; background:color-mix(in oklch,var(--brand) 12%,var(--surface));
  box-shadow:0 0 0 4px color-mix(in oklch,var(--brand) 16%,transparent) }
.upload__zone.is-drag.is-off{ opacity:1; filter:none }

.latecard{ background:linear-gradient(120deg, color-mix(in srgb,var(--gold) 14%,var(--surface)), var(--surface) 72%);
  border:1px solid color-mix(in srgb,var(--gold) 45%,var(--line)); border-radius:var(--r-md); padding:1.2rem 1.4rem; margin-bottom:1.5rem; box-shadow:var(--sh-1) }
.latecard__head{ display:flex; gap:1rem; align-items:flex-start }
.latecard__icon{ width:2.6rem; height:2.6rem; flex:none; display:grid; place-items:center; border-radius:12px; color:oklch(.26 .035 252);
  background:linear-gradient(160deg,var(--gold-soft),var(--gold)) } .latecard__icon .ico{ width:1.3rem; height:1.3rem }
.latecard__copy{ flex:1; min-width:0 } .latecard__copy h3{ margin:.15rem 0 .2rem; font-size:1.12rem }
.latecard__help{ margin:0; font-size:.9rem; color:var(--muted) }
.latecard .qerror{ margin:.9rem 0 0 }
.latecard__form{ margin-top:1rem }
.latecard__opts{ display:flex; flex-wrap:wrap; gap:.5rem }
.latecard__opt{ min-height:44px; padding:.55rem 1rem; border:1.5px solid var(--line); border-radius:var(--pill); background:var(--surface);
  color:var(--ink); font:inherit; font-size:.93rem; font-weight:560; cursor:pointer; transition:border-color .15s, background .15s, transform .15s }
.latecard__opt:hover{ border-color:color-mix(in oklch,var(--brand) 50%,var(--line)); background:color-mix(in oklch,var(--brand) 7%,var(--surface)); transform:translateY(-1px) }
.latecard__row{ display:flex; gap:.6rem; align-items:center; flex-wrap:wrap; position:relative }
.latecard__row .input{ flex:1 1 12rem; width:auto; min-width:0 }
.latecard__row .btn{ padding:.8rem 1.4rem }
.latecard__affix{ color:var(--muted); font-weight:600 }
.latecard__save{ margin-top:.8rem; padding:.8rem 1.4rem }
.latecard .why{ margin-top:1rem; padding-top:.7rem }

.dash__editrow{ display:flex; align-items:center; gap:.9rem; flex-wrap:wrap }
.dash__editrow form{ margin:0 }
.dash__editbtn{ padding:.6rem 1.1rem; min-height:44px; font-size:.9rem }

.advdone__updated{ display:inline-flex; align-items:center; gap:.45rem; margin:1rem 0 0; font-size:.88rem; color:var(--brand-ink); font-weight:560 }
.advdone__updated .ico{ width:1.05rem; height:1.05rem; flex:none }

@media (max-width:560px){
  .reviewbar__btn{ width:100% }
  .latecard{ padding:1.05rem 1.1rem }
  .latecard__opt{ flex:1 1 calc(50% - .5rem) }
  .latecard__row .btn{ width:100% }
}

/* ===== Phase 1 · PRESENT ===== */
/* Dashboard: the ranked action plan (numbered steps, gold "Start here" on #1, "Then" connectors,
   muted "Later" steps) and the ghosted "How we got this" under each readiness area. Tokens only,
   so light and dark themes both follow; the gold chip/badge text is the fixed deep navy that
   already sits on gold elsewhere (.latecard__icon, .planchapter__check). Gold is mixed in sRGB:
   an OKLCH mix of gold (hue 84) with the dark-theme navy (hue 255) passes through green. */
.plan__lede{ margin:-.3rem 0 1rem; color:var(--muted); font-size:.92rem }
.plan--ranked{ gap:.45rem }
.plan--ranked .plan__item{ position:relative; display:grid; grid-template-columns:2.4rem minmax(0,1fr); gap:.95rem; align-items:start;
  padding:.9rem 1rem; border:1px solid transparent; border-radius:var(--r-md) }
/* the connector rail: from one step's number down to the next one's */
.plan--ranked .plan__item:not(:last-child)::after{ content:""; position:absolute; left:calc(2.2rem - 1px); top:3.6rem; bottom:-1.05rem;
  border-left:2px dashed color-mix(in srgb,var(--gold) 45%,var(--line)); pointer-events:none }
.plan__num{ position:relative; z-index:1; width:2.4rem; height:2.4rem; display:grid; place-items:center; border-radius:50%;
  background:var(--surface); border:1.5px solid color-mix(in oklch,var(--brand) 40%,var(--line)); color:var(--brand-ink);
  font-family:var(--mono); font-weight:700; font-size:1rem; font-variant-numeric:tabular-nums }
.plan__body{ min-width:0 }
.plan__meta{ display:flex; flex-wrap:wrap; align-items:center; gap:.4rem .5rem; margin:0 0 .35rem; min-height:1.5rem }
.plan__chip{ display:inline-flex; align-items:center; gap:.3rem; padding:.24rem .65rem; border-radius:var(--pill);
  font-size:.7rem; font-weight:750; letter-spacing:.09em; text-transform:uppercase; line-height:1.2; white-space:nowrap }
.plan__chip .ico{ width:.9rem; height:.9rem; flex:none }
.plan__chip--start{ background:var(--gold); color:oklch(.26 .035 252); box-shadow:var(--sh-gold) }
.plan__chip--high{ background:var(--bad-bg); color:var(--bad); border:1px solid color-mix(in oklch,var(--bad) 32%,transparent) }
.plan__then{ display:inline-flex; align-items:center; gap:.3rem; font-size:.72rem; font-weight:700; letter-spacing:.09em; text-transform:uppercase; color:var(--faint) }
.plan__then .ico{ width:.9rem; height:.9rem }
.plan__head{ display:flex; align-items:flex-start; justify-content:space-between; gap:.35rem .8rem; flex-wrap:wrap }
.plan__title{ display:flex; align-items:center; gap:.5rem; margin:0; min-width:0; flex:1 1 12rem; font-size:1.04rem; font-weight:700; line-height:1.3; letter-spacing:-.01em; color:var(--ink) }
.plan__ico{ display:inline-flex; flex:none; color:var(--brand-ink) } .plan__ico .ico{ width:1.15rem; height:1.15rem }
.plan__gain{ flex:none; margin-top:.1rem; padding:.16rem .6rem; border-radius:var(--pill); white-space:nowrap;
  font-family:var(--mono); font-size:.78rem; font-weight:700; font-variant-numeric:tabular-nums; color:var(--brand-ink);
  background:color-mix(in oklch,var(--brand) 11%,transparent); border:1px solid color-mix(in oklch,var(--brand) 22%,transparent) }
.plan--ranked .plan__why{ margin:.35rem 0 0; color:var(--ink); font-size:.93rem; font-weight:500; line-height:1.5 }
.plan--ranked .plan__detail{ margin:.3rem 0 0; color:var(--muted); font-size:.92rem; line-height:1.55; overflow-wrap:anywhere }

/* #1 — Start here: a calm gold-washed card with a gold number */
.plan--ranked .plan__item--start_here{ background:linear-gradient(120deg, color-mix(in srgb,var(--gold) 15%,var(--surface)), var(--surface) 78%);
  border-color:color-mix(in srgb,var(--gold) 55%,var(--line)); box-shadow:var(--sh-1) }
.plan__item--start_here .plan__num{ background:linear-gradient(160deg,var(--gold-soft),var(--gold)); border-color:transparent;
  color:oklch(.26 .035 252); font-size:1.1rem; box-shadow:var(--sh-gold) }
.plan--ranked .plan__item--start_here .plan__title{ font-size:1.16rem }

/* Later: same content, quieter */
.plan__item--later .plan__num{ border-style:dashed; border-color:var(--line); color:var(--faint); background:var(--surface) }
.plan--ranked .plan__item--later .plan__title{ font-size:.98rem; font-weight:650; color:var(--muted) }
.plan__item--later .plan__ico{ color:var(--faint) }
.plan--ranked .plan__item--later .plan__why{ color:var(--muted); font-weight:450; font-size:.89rem }
.plan--ranked .plan__item--later .plan__detail{ font-size:.89rem }
.plan__item--later .plan__gain{ color:var(--muted); background:transparent; border-color:var(--line) }

/* "How we got this" — ghosted until opened (the .why look, quieter) */
.areas .areas__how{ grid-column:1/-1; margin:-.4rem 0 0; padding:0; border-top:0 }
.areas__how summary{ color:var(--faint); font-weight:560; font-size:.78rem; gap:.3rem; transition:color var(--dur-fast) var(--ease) }
.areas__how summary .ico{ width:.9rem; height:.9rem }
.areas__how summary:hover,.areas__how[open] summary{ color:var(--brand-ink) }
.areas__how summary:focus-visible{ outline:2px solid var(--brand); outline-offset:2px; border-radius:6px }
.areas__inputs{ margin:.5rem 0 0; padding:.6rem .75rem; display:grid; gap:.45rem; background:var(--surface-2); border:1px solid var(--line); border-radius:12px }
.areas__inputs div{ display:flex; flex-direction:column; gap:.05rem; min-width:0 }
.areas__inputs dt{ font-size:.74rem; color:var(--muted); line-height:1.35 }
.areas__inputs dd{ margin:0; font-size:.86rem; color:var(--ink); line-height:1.4; overflow-wrap:anywhere }
.areas__inputs dd b{ font-weight:650 }
.areas__inputs a{ margin-left:.3rem; font-size:.78rem; font-weight:600; color:var(--brand-ink); text-decoration:underline; text-underline-offset:2px }
.areas__inputs a:hover{ color:var(--ink) }
.areas .areas__how p{ margin:.45rem 0 0; font-size:.83rem; line-height:1.5; color:var(--muted) }
.areas .areas__how .areas__step{ color:var(--ink) }
.areas .areas__how .areas__missing{ color:var(--gold-deep); font-style:italic }
.areas .areas__how .areas__share{ margin-top:.55rem; padding-top:.45rem; border-top:1px dashed var(--line); color:var(--brand-ink); font-weight:600 }
.areas__note{ margin:1.05rem 0 0; padding-top:.8rem; border-top:1px dashed var(--line); color:var(--faint); font-size:.8rem; line-height:1.5 }
.areas__note em{ font-style:italic }
@media (pointer:coarse){
  /* bigger tap targets without moving the layout */
  .areas__how summary{ padding:.55rem 0; margin:-.3rem 0 }
  .areas__inputs a{ display:inline-block; padding:.5rem .4rem; margin:-.5rem -.1rem -.5rem .15rem }
}

@media (max-width:560px){
  .plan--ranked .plan__item{ grid-template-columns:2rem minmax(0,1fr); gap:.7rem; padding:.85rem .75rem }
  .plan--ranked .plan__item:not(:last-child)::after{ left:calc(1.75rem - 1px); top:3.2rem; bottom:-1rem }
  .plan__num{ width:2rem; height:2rem; font-size:.9rem }
  .plan__item--start_here .plan__num{ font-size:1rem }
  .plan--ranked .plan__item--start_here .plan__title{ font-size:1.08rem }
  .plan__title{ flex-basis:100% }
}

/* ===== Phase 2 · OFFERS ===== */
/* One sponsored module (templates/partials/offer.php): placed under its plan step on the dashboard and
   reused verbatim by the admin live preview. Tokens only (light-dark aware); gold mixes in sRGB. */
.offer{ margin:.8rem 0 0; padding:1rem 1.05rem; background:var(--surface); border:1px solid var(--line);
  border-left:3px solid color-mix(in srgb, var(--gold) 70%, var(--line)); border-radius:var(--r-md); box-shadow:var(--sh-1);
  display:grid; gap:.5rem; text-align:left }
.offer p{ margin:0 }
.offer__top{ display:flex; align-items:center; gap:.55rem; flex-wrap:wrap }
.offer__tag{ display:inline-flex; align-items:center; padding:.12rem .5rem; border-radius:var(--pill); font-size:.7rem; font-weight:700;
  letter-spacing:.06em; text-transform:uppercase; color:var(--gold-deep); background:color-mix(in srgb, var(--gold) 16%, transparent);
  border:1px solid color-mix(in srgb, var(--gold) 45%, transparent) }
.offer__partner{ font-size:.85rem; font-weight:600; color:var(--muted) }
.offer__title{ font-family:var(--display); font-size:1.05rem; font-weight:560; margin:0; color:var(--ink); line-height:1.25 }
.offer__body{ font-size:.93rem; color:var(--muted) }
.offer__fit{ display:flex; gap:.45rem; align-items:flex-start; font-size:.92rem; font-weight:600; color:var(--ink) }
.offer__fit .ico{ width:1.05rem; height:1.05rem; flex:none; margin-top:.18rem; color:var(--brand) }
.offer__terms{ background:var(--surface-2); border:1px solid var(--line); border-radius:10px; padding:.6rem .75rem; font-size:.84rem }
.offer__termstext{ white-space:pre-line; color:var(--ink); overflow-wrap:anywhere }
.offer__rates{ display:inline-block; margin-top:.35rem; font-weight:600; color:var(--brand-ink); text-underline-offset:3px }
.offer__caveat, .offer__fine{ font-size:.8rem; color:var(--muted) }
.offer__disc{ font-size:.82rem; color:var(--muted); line-height:1.45 }
.offer__disc a{ color:var(--ink); font-weight:600; text-underline-offset:3px; white-space:nowrap }
.offer__act{ display:flex }
.offer__cta{ display:inline-flex; align-items:center; justify-content:center; gap:.45rem; min-height:44px; padding:.6rem 1.1rem;
  border-radius:var(--pill); font-weight:700; text-decoration:none; color:var(--ink); background:var(--surface);
  border:1.5px solid color-mix(in srgb, var(--brand) 55%, var(--line)) }
.offer__cta:hover{ border-color:var(--brand); color:var(--brand-ink) }
.offer__cta:focus-visible, .offer a:focus-visible{ outline:2px solid var(--brand); outline-offset:2px }
.offer__cta .ico{ width:1rem; height:1rem }
.offers{ display:grid; gap:.6rem }
@media (max-width:560px){
  .offer{ padding:.85rem .85rem }
  .offer__act, .offer__cta{ width:100% }
}
/* Advertiser disclosure page */
.disclose{ max-width:46rem; margin:0 auto; padding:1rem 0 2rem }
.disclose__card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:clamp(1.2rem,3vw,2rem); box-shadow:var(--sh-2) }
.disclose h2{ font-size:1.1rem; margin-top:1.4rem }
.disclose__meta{ font-size:.82rem }

/* ===== Phase 2 · PRESENT ===== */
/* Dashboard, phase 2: the self-reported credit pill, the 0% balance-transfer facts + caveats, the
   credit-building line, sponsored offers under their step, and "Your 10-year illustration" (an
   HTML/SVG hybrid: lines in a stretched 100×100 SVG with non-scaling strokes, every label and dot in
   HTML so text stays crisp and readable at 390px). Tokens only (light-dark aware); gold mixes in sRGB.
   Also the ENGINE2 debts-grid follow-ups (the per-row type select). */
.creditpill{ display:inline-flex; align-items:center; gap:.3rem; padding:.18rem .6rem; border-radius:var(--pill); white-space:nowrap;
  font-size:.74rem; font-weight:600; color:var(--muted); background:var(--surface-2); border:1px solid var(--line); line-height:1.3 }
.creditpill b{ color:var(--ink); font-weight:700 }
.creditpill .ico{ width:.85rem; height:.85rem; flex:none; color:var(--faint) }
.detail .detail__credit{ margin:.5rem 0 0 }

.plan__edu{ display:flex; gap:.55rem; align-items:flex-start; margin:.6rem 0 0; padding:.6rem .75rem; border-radius:12px;
  background:var(--surface-2); border:1px dashed var(--line); color:var(--muted); font-size:.88rem; line-height:1.5 }
.plan__edu b{ color:var(--ink) }
.plan__eduico{ display:inline-flex; flex:none; margin-top:.12rem; color:var(--brand-ink) } .plan__eduico .ico{ width:1.05rem; height:1.05rem }

.btfacts{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.5rem; margin:.75rem 0 0 }
.btfacts__item{ min-width:0; margin:0; padding:.6rem .75rem; border-radius:12px; background:var(--surface); border:1px solid var(--line) }
.btfacts__item dt{ font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--faint); line-height:1.3 }
.btfacts__item dd{ margin:.2rem 0 0; display:flex; flex-direction:column; gap:.1rem }
.btfacts__item dd b{ font-family:var(--mono); font-size:1.08rem; font-weight:700; color:var(--ink); font-variant-numeric:tabular-nums; line-height:1.25 }
.btfacts__item dd small{ font-size:.78rem; color:var(--muted); line-height:1.35 }
.btfacts__item--pace dd b{ font-family:var(--sans); font-size:1rem }
.btfacts__item--good{ border-color:color-mix(in srgb,var(--brand) 38%,var(--line)) } .btfacts__item--good dd b{ color:var(--brand-ink) }
.btfacts__item--warn{ border-color:color-mix(in srgb,var(--gold) 55%,var(--line)) } .btfacts__item--warn dd b{ color:var(--gold-deep) }
.plan--ranked .btfacts__caveats{ margin-top:.7rem; padding-top:.6rem }
.btfacts__caveats summary{ font-size:.86rem }
.btfacts__caveats ul{ margin:.5rem 0 0; padding-left:1.15rem; display:grid; gap:.3rem; color:var(--muted); font-size:.86rem; line-height:1.5 }
.btfacts__issuer{ display:flex; gap:.4rem; align-items:flex-start; margin:.6rem 0 0; font-size:.82rem; color:var(--muted); line-height:1.45 }
.btfacts__issuer .ico{ width:.95rem; height:.95rem; flex:none; margin-top:.15rem; color:var(--faint) }
.plan__offers{ margin-top:.3rem }

/* "Your 10-year illustration" */
.traj{ margin-top:1.5rem }
.traj__head{ display:flex; align-items:flex-start; justify-content:space-between; gap:.5rem 1rem; flex-wrap:wrap }
.traj__head .panel__title{ flex:1 1 16rem; margin-bottom:.8rem }
.traj__badge{ flex:none; margin-top:.15rem; padding:.22rem .65rem; border-radius:var(--pill); font-size:.7rem; font-weight:700; letter-spacing:.08em;
  text-transform:uppercase; color:var(--gold-deep); background:color-mix(in srgb,var(--gold) 14%,transparent); border:1px solid color-mix(in srgb,var(--gold) 45%,transparent) }
.traj__lede{ margin:0 0 1rem; max-width:62ch; color:var(--muted); font-size:.93rem; line-height:1.55 }
.traj__legend{ display:flex; flex-wrap:wrap; gap:.6rem 1.6rem; margin:0 0 .9rem }
.traj__key{ display:flex; align-items:flex-start; gap:.55rem; margin:0; font-size:.86rem; color:var(--muted) }
.traj__key > span:last-child{ display:flex; flex-direction:column }
.traj__key b{ font-family:var(--mono); font-size:1.25rem; font-weight:700; color:var(--ink); font-variant-numeric:tabular-nums; line-height:1.2 }
.traj__key small{ font-size:.76rem; color:var(--faint) }
.traj__swatch{ flex:none; width:1.6rem; height:0; margin-top:.6rem; border-top:3px solid var(--brand); border-radius:2px }
.traj__key--today .traj__swatch{ border-top:2.5px dashed var(--faint) }
.traj__fig{ margin:0 }
.traj__chart{ display:grid; grid-template-columns:3.4rem minmax(0,1fr); grid-template-rows:15rem 1.6rem; padding-right:1.1rem }
.traj__yaxis{ position:relative; grid-row:1 }
.traj__yaxis span{ position:absolute; right:.5rem; transform:translateY(-50%); font-family:var(--mono); font-size:.72rem; color:var(--faint);
  white-space:nowrap; font-variant-numeric:tabular-nums }
.traj__plot{ position:relative; grid-row:1; grid-column:2; min-width:0 }
.traj__plot svg{ position:absolute; inset:0; width:100%; height:100%; overflow:visible }
.traj__grid, .traj__vgrid{ stroke:var(--line); stroke-width:1; vector-effect:non-scaling-stroke }
.traj__vgrid{ stroke-dasharray:2 4; opacity:.7 }
.traj__grid--zero{ stroke:var(--faint); stroke-width:1.25 }
.traj__line{ fill:none; vector-effect:non-scaling-stroke; stroke-linejoin:round; stroke-linecap:round }
.traj__line--plan{ stroke:var(--brand); stroke-width:3 }
.traj__line--today{ stroke:var(--faint); stroke-width:2.25; stroke-dasharray:6 5 }
.traj__dot{ position:absolute; transform:translate(-50%,-50%); width:1.45rem; height:1.45rem; display:grid; place-items:center; border-radius:50%;
  background:var(--gold); color:oklch(.26 .035 252); font-family:var(--mono); font-size:.74rem; font-weight:700; line-height:1;
  border:2px solid var(--surface); box-shadow:var(--sh-gold) }
.traj__xaxis{ position:relative; grid-row:2; grid-column:2 }
.traj__xaxis span{ position:absolute; top:.45rem; transform:translateX(-50%); font-size:.72rem; color:var(--faint); white-space:nowrap }
.traj__miles{ list-style:none; margin:1.1rem 0 0; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(14rem,1fr)); gap:.55rem }
.traj__mile{ display:flex; align-items:flex-start; gap:.6rem; padding:.65rem .8rem; border-radius:12px; background:var(--surface-2); border:1px solid var(--line) }
.traj__mnum{ flex:none; width:1.45rem; height:1.45rem; display:grid; place-items:center; border-radius:50%; background:var(--gold);
  color:oklch(.26 .035 252); font-family:var(--mono); font-size:.74rem; font-weight:700 }
.traj__mnum .ico{ width:.85rem; height:.85rem }
.traj__mile--off .traj__mnum{ background:var(--surface); color:var(--brand-ink); border:1.5px solid color-mix(in srgb,var(--brand) 40%,var(--line)) }
.traj__mtext{ display:flex; flex-direction:column; gap:.1rem; min-width:0; font-size:.86rem; color:var(--muted); line-height:1.4 }
.traj__mtext b{ color:var(--ink); font-weight:650 }
.traj__mtext small{ color:var(--faint); font-size:.78rem }
.traj__fine{ margin-top:1rem; padding-top:.8rem; border-top:1px dashed var(--line); display:grid; gap:.35rem }
.traj__fine p{ margin:0; font-size:.82rem; color:var(--muted); line-height:1.5 }
.traj__fine .traj__assume b{ color:var(--ink) }
.traj__fine .traj__disclaimer{ display:flex; gap:.45rem; align-items:flex-start; margin-top:.35rem; padding:.6rem .75rem; border-radius:10px;
  background:color-mix(in srgb,var(--gold) 9%,var(--surface)); border:1px solid color-mix(in srgb,var(--gold) 38%,var(--line)); color:var(--ink) }
.traj__disclaimer .ico{ width:1rem; height:1rem; flex:none; margin-top:.12rem; color:var(--gold-deep) }
.traj__data{ margin-top:1rem }
.traj__tablewrap{ margin-top:.6rem; overflow-x:auto; -webkit-overflow-scrolling:touch }
.traj__table{ width:100%; border-collapse:collapse; font-size:.84rem; font-variant-numeric:tabular-nums }
.traj__table th, .traj__table td{ padding:.4rem .55rem; text-align:right; white-space:nowrap; border-bottom:1px solid var(--line) }
.traj__table thead th{ font-size:.72rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--faint) }
.traj__table th:first-child{ text-align:left }
.traj__table tbody th{ font-weight:600; color:var(--ink) }
.traj__table td{ color:var(--muted) } .traj__table td b{ color:var(--ink) }
@media (max-width:560px){
  .btfacts__item{ padding:.55rem .6rem }
  .btfacts__item dd b{ font-size:1rem }
  .traj__chart{ grid-template-columns:2.9rem minmax(0,1fr); grid-template-rows:12.5rem 1.5rem; padding-right:.7rem }
  .traj__yaxis span{ font-size:.68rem; right:.35rem }
  .traj__xaxis .traj__odd{ display:none }
  .traj__key b{ font-size:1.1rem }
  .traj__dot{ width:1.3rem; height:1.3rem; font-size:.7rem }
}
@media (pointer:coarse){
  .btfacts__caveats summary, .traj__data summary{ padding:.5rem 0; margin:-.35rem 0 }
}

/* ENGINE2 follow-ups: the debts grid with a per-row type select */
.debts__row{ align-items:start }
.debts__row .debts__type{ font-size:16px; padding:.5rem .45rem; text-overflow:ellipsis }
@media (max-width:480px){
  /* typed rows: name + type share a full-width first line, then balance | APR */
  .debts:has(.debts__name) .debts__head, .debts:has(.debts__name) .debts__row{ grid-template-columns:1fr 1fr }
  .debts:has(.debts__name) .debts__head span:first-child, .debts__row .debts__name{ grid-column:1 / -1 }
  .debts__row .debts__name{ flex-direction:row }
  .debts__row .debts__name > *{ flex:1 1 0; min-width:0 }
}

/* ===== Phase 3 · VAULT ===== */
/* The documents box (dashboard, after the plan; the advanced Assets chapter, above its first question):
   a calm drop zone, one row per file with its own progress bar, Delete in place. Without JS it is a plain
   one-file form (.docs__nojs / .docs__send); app.js adds .is-js and swaps the copy. Tokens only. */
.docs{ margin-top:1.5rem; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg);
  padding:clamp(1.1rem,2.5vw,1.6rem); box-shadow:var(--sh-2); display:grid; gap:.9rem }
.docs--adv{ margin:0 0 1.1rem; border-radius:var(--r-md); box-shadow:var(--sh-1); padding:1rem 1.15rem; gap:.75rem }
.docs__head{ display:flex; gap:.9rem; align-items:flex-start }
.docs__icon{ width:2.6rem; height:2.6rem; flex:none; display:grid; place-items:center; border-radius:13px; color:var(--brand-ink);
  background:color-mix(in oklch,var(--brand) 12%,var(--surface)); border:1px solid color-mix(in oklch,var(--brand) 25%,var(--line)) }
.docs__icon .ico{ width:1.3rem; height:1.3rem }
.docs--adv .docs__icon{ width:2.2rem; height:2.2rem; border-radius:11px }
.docs__copy{ min-width:0 } .docs__copy .eyebrow{ margin:0 0 .15rem }
.docs__title{ margin:0 0 .25rem; font-family:var(--display); font-weight:540; font-size:1.18rem; line-height:1.3 }
.docs--adv .docs__title{ font-size:1.05rem }
.docs__lede{ margin:0; color:var(--ink); font-size:.95rem; line-height:1.5; text-wrap:pretty }
.docs__opt{ margin:.15rem 0 0; color:var(--muted); font-size:.86rem }
.docs__up{ display:grid; gap:.6rem; margin:0 }
.docs__zone{ position:relative; display:block; border:1.5px dashed color-mix(in oklch,var(--brand) 35%,var(--line)); border-radius:14px;
  padding:1.15rem 1rem; text-align:center; cursor:pointer; background:var(--surface-2);
  transition:border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease) }
.docs__zone:hover, .docs__zone:focus-within{ border-color:var(--brand); background:color-mix(in oklch,var(--brand) 7%,var(--surface)) }
.docs__zone:focus-within{ outline:2px solid color-mix(in oklch,var(--brand) 45%,transparent); outline-offset:2px }
.docs__zone.is-drag{ border-style:solid; border-color:var(--brand); background:color-mix(in oklch,var(--brand) 12%,var(--surface)) }
.docs__file{ position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer }
.docs__inner{ display:flex; flex-direction:column; align-items:center; gap:.2rem; color:var(--muted); font-size:.9rem; pointer-events:none }
.docs__inner b{ color:var(--ink); font-size:1rem } .docs__inner u{ color:var(--brand-ink); text-underline-offset:3px }
.docs__inner small{ color:var(--muted); font-size:.78rem; margin-top:.15rem }
.docs__dropico{ width:1.6rem; height:1.6rem; color:var(--brand-ink); margin-bottom:.15rem }
.docs .docs__js{ display:none } .docs.is-js .docs__js{ display:inline } .docs.is-js b.docs__js{ display:block }
.docs.is-js .docs__nojs, .docs.is-js .docs__send{ display:none }
.docs__send{ justify-self:start }
.docs:not(.is-js) .docs__file{ position:static; display:block; opacity:1; width:auto; height:auto; margin:0 auto .5rem; max-width:100%; font-size:1rem } /* no JS: the native picker shows the chosen file */
.docs__safe{ display:flex; align-items:center; gap:.45rem; margin:0; font-size:.82rem; font-weight:600; color:var(--brand-ink) }
.docs__safe .ico{ width:1rem; height:1rem; flex:none }
.docs__paused{ display:flex; gap:.5rem; align-items:flex-start; margin:0; padding:.7rem .85rem; border-radius:12px; font-size:.9rem;
  color:var(--gold-deep); background:color-mix(in srgb,var(--gold) 12%,var(--surface)); border:1px solid color-mix(in srgb,var(--gold) 35%,transparent) }
.docs__paused .ico{ width:1.1rem; height:1.1rem; flex:none; margin-top:.15rem }
.docs__list{ list-style:none; margin:0; padding:0; display:grid; gap:.45rem }
.docs__list[hidden], .docs__count[hidden]{ display:none }
.docs--adv .docs__list{ max-height:13.5rem; overflow-y:auto; overscroll-behavior:contain } /* keeps the chapter's first question close */
.docs__item{ display:flex; align-items:center; gap:.65rem; padding:.55rem .55rem .55rem .75rem; border:1px solid var(--line);
  border-radius:12px; background:var(--surface-2); font-size:.9rem; min-width:0 }
.docs__item.is-new{ border-color:color-mix(in oklch,var(--brand) 35%,var(--line)) }
.docs__item.is-err{ border-color:color-mix(in oklch,var(--bad) 40%,var(--line)); background:var(--bad-bg) }
.docs__ok{ display:inline-flex; flex:none; color:var(--brand) } .docs__ok .ico{ width:1.1rem; height:1.1rem }
.docs__item.is-up .docs__ok{ color:var(--faint) } .docs__item.is-err .docs__ok{ color:var(--bad) }
.docs__nm{ display:grid; gap:.1rem; min-width:0; flex:1 1 auto }
.docs__nm > b{ font-weight:600; color:var(--ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.docs__nm > span{ font-size:.78rem; color:var(--muted); font-variant-numeric:tabular-nums }
.docs__nm > .docs__errmsg{ color:var(--bad); font-size:.82rem; font-weight:600; white-space:normal }
.docs__enc{ display:inline-flex; align-items:center; gap:.2rem; color:var(--brand-ink); font-weight:600 }
.docs__enc .ico{ width:.8rem; height:.8rem }
.docs__bar{ display:block; height:6px; margin-top:.3rem; border-radius:var(--pill); background:var(--ring-track); overflow:hidden }
.docs__bar i{ display:block; height:100%; width:0; border-radius:var(--pill); background:linear-gradient(90deg,var(--brand),var(--emerald-bright)); transition:width .2s linear }
.docs__del{ margin:0; flex:none }
.docs__delbtn{ display:inline-flex; align-items:center; gap:.3rem; border:0; background:none; color:var(--muted); font:600 .82rem var(--sans);
  cursor:pointer; padding:.4rem .55rem; border-radius:9px; min-height:2.25rem }
.docs__delbtn:hover, .docs__delbtn:focus-visible{ color:var(--bad); background:var(--bad-bg) }
.docs__delbtn .ico{ width:.95rem; height:.95rem }
.docs__delbtn:disabled{ opacity:.5; cursor:default }
.docs__count{ margin:0; font-size:.8rem; color:var(--muted) }
.upload__safe{ display:flex; align-items:center; gap:.4rem; margin:0; font-size:.8rem; font-weight:600; color:var(--brand-ink) }
.upload__safe .ico{ width:.95rem; height:.95rem; flex:none }
@media (min-width:900px){
  .docs:not(.docs--adv){ grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); column-gap:1.6rem; align-items:start }
  .docs:not(.docs--adv) > .docs__head, .docs:not(.docs--adv) > .docs__paused{ grid-column:1 }
  .docs:not(.docs--adv) > .docs__up{ grid-column:2; grid-row:1 / span 2 }
  .docs:not(.docs--adv) > .docs__safe{ grid-column:1; grid-row:2 }
  .docs:not(.docs--adv) > .docs__list, .docs:not(.docs--adv) > .docs__count{ grid-column:1 / -1 }
}
@media (max-width:480px){
  .docs__delbtn > span{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap }
  .docs__delbtn{ min-width:2.75rem; justify-content:center }
}
@media (pointer:coarse){
  .docs__delbtn{ min-height:2.75rem; min-width:2.75rem; justify-content:center }
  .docs__zone{ padding:1.4rem 1rem }
}

/* ===== Phase 3 · AI ===== */
/* AI document reading (contract A2): the separate consent box + "How AI document reading works" inside the
   documents box, a status line per file, the "We found these — confirm" panel (Accept / Edit / Skip) and
   the dashboard's nudge to it. Plus the admin card's AI lines (the admin layout loads app.css too).
   Shown only when config.ai.php is set up. Tokens only; works in both themes. */
.docs__ai{ display:grid; gap:.55rem; padding:.8rem .9rem; border-radius:14px; border:1px solid color-mix(in oklch,var(--brand) 22%,var(--line));
  background:color-mix(in oklch,var(--brand) 5%,var(--surface)) }
.docs__consent{ display:grid; gap:.55rem; margin:0 }
.docs__check{ display:flex; gap:.7rem; align-items:flex-start; cursor:pointer; font-size:.9rem; line-height:1.5; color:var(--ink) }
.docs__check input{ flex:none; width:1.25rem; height:1.25rem; margin:.15rem 0 0; accent-color:var(--brand); cursor:pointer }
.docs__checkai{ display:inline-flex; align-items:center; gap:.25rem; margin-right:.2rem; padding:.05rem .45rem; border-radius:var(--pill);
  font-size:.7rem; font-weight:700; letter-spacing:.03em; text-transform:uppercase; vertical-align:.1em; color:var(--brand-ink);
  background:color-mix(in oklch,var(--brand) 12%,var(--surface)) }
.docs__checkai .ico{ width:.8rem; height:.8rem }
.docs__consentsave{ justify-self:start; padding:.55rem 1.1rem; font-size:.88rem }
.docs.is-js .docs__consentsave{ display:none }
.docs__consent.is-busy{ opacity:.6; pointer-events:none }
.docs__how{ font-size:.86rem; color:var(--muted) }
.docs__how summary{ display:inline-flex; align-items:center; gap:.35rem; cursor:pointer; font-weight:600; color:var(--brand-ink); list-style:none;
  min-height:2.25rem; border-radius:8px }
.docs__how summary::-webkit-details-marker{ display:none }
.docs__how summary:focus-visible{ outline:2px solid color-mix(in oklch,var(--brand) 45%,transparent); outline-offset:2px }
.docs__how summary .ico{ width:1rem; height:1rem; flex:none }
.docs__how ul{ margin:.2rem 0 .1rem; padding-left:1.15rem; display:grid; gap:.3rem; line-height:1.5; text-wrap:pretty }
@media (min-width:900px){ .docs:not(.docs--adv) > .docs__ai{ grid-column:1 / -1 } }
.docs__nm > .docs__aist{ display:flex; align-items:flex-start; gap:.3rem; margin-top:.15rem; font-size:.8rem; font-weight:600; white-space:normal;
  color:var(--muted); line-height:1.4 }
.docs__nm > .docs__aist[hidden]{ display:none }
.docs__aist .ico{ width:.85rem; height:.85rem; flex:none; margin-top:.15rem }
.docs__aist--ok{ color:var(--brand-ink) } .docs__aist--warn{ color:var(--warn) } .docs__aist--muted{ color:var(--faint) }
.docs__aist--wait .ico{ animation:ssAiPulse 1.6s var(--ease) infinite }
@keyframes ssAiPulse{ 50%{ opacity:.35 } }
@media (prefers-reduced-motion:reduce){ .docs__aist--wait .ico{ animation:none } }

.suggnudge{ display:flex; align-items:center; gap:.6rem; margin:0 0 1.2rem; padding:.75rem 1rem; border-radius:14px; text-decoration:none;
  color:var(--ink); font-size:.93rem; border:1px solid color-mix(in oklch,var(--brand) 30%,var(--line));
  background:color-mix(in oklch,var(--brand) 8%,var(--surface)); box-shadow:var(--sh-1) }
.suggnudge > .ico{ width:1.1rem; height:1.1rem; flex:none; color:var(--brand-ink) }
.suggnudge > .ico:last-child{ margin-left:auto }
.suggnudge:hover, .suggnudge:focus-visible{ border-color:var(--brand) }
.suggnudge[hidden]{ display:none }

.sugg{ margin-top:1.25rem; background:var(--surface); border:1px solid color-mix(in oklch,var(--brand) 28%,var(--line)); border-radius:var(--r-lg);
  padding:clamp(1.1rem,2.5vw,1.6rem); box-shadow:var(--sh-2); display:grid; gap:1rem; scroll-margin-top:5rem }
.sugg[hidden]{ display:none }
.sugg--adv{ margin:0 0 1.1rem; border-radius:var(--r-md); box-shadow:var(--sh-1); padding:1rem 1.15rem; gap:.8rem }
.sugg__head{ display:flex; gap:.9rem; align-items:flex-start }
.sugg__icon{ width:2.6rem; height:2.6rem; flex:none; display:grid; place-items:center; border-radius:13px; color:var(--on-brand);
  background:linear-gradient(160deg,var(--emerald-bright),var(--brand)) }
.sugg__icon .ico{ width:1.3rem; height:1.3rem }
.sugg--adv .sugg__icon{ width:2.2rem; height:2.2rem; border-radius:11px }
.sugg__copy{ min-width:0 } .sugg__copy .eyebrow{ margin:0 0 .15rem }
.sugg__title{ margin:0 0 .25rem; font-family:var(--display); font-weight:540; font-size:1.18rem; line-height:1.3 }
.sugg--adv .sugg__title{ font-size:1.05rem }
.sugg__lede{ margin:0; color:var(--muted); font-size:.9rem; line-height:1.5; text-wrap:pretty }
.sugg__doc{ display:grid; gap:.5rem }
.sugg__from{ display:flex; align-items:center; gap:.4rem; margin:0; font-size:.82rem; color:var(--muted); min-width:0 }
.sugg__from .ico{ width:.9rem; height:.9rem; flex:none; color:var(--brand-ink) }
.sugg__from span{ overflow-wrap:anywhere }
.sugg__list{ list-style:none; margin:0; padding:0; display:grid; gap:.55rem }
.sugg__item{ display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.6rem 1rem; align-items:center; padding:.8rem .9rem;
  border:1px solid var(--line); border-radius:14px; background:var(--surface-2) }
.sugg__item.is-busy{ opacity:.6 }
.sugg__what{ display:grid; gap:.2rem; min-width:0 }
.sugg__label{ font-weight:650; color:var(--ink); overflow-wrap:anywhere }
.sugg__vals{ display:flex; flex-wrap:wrap; gap:.15rem .9rem; font-size:.88rem; color:var(--muted) }
.sugg__found strong{ color:var(--brand-ink); font-weight:700; font-variant-numeric:tabular-nums; overflow-wrap:anywhere }
.sugg__now{ font-variant-numeric:tabular-nums; overflow-wrap:anywhere }
.sugg__note{ font-size:.8rem; color:var(--faint); line-height:1.45; text-wrap:pretty }
.sugg__acts{ display:flex; align-items:center; gap:.4rem; justify-self:end }
.sugg__form{ margin:0 }
.sugg__btn{ padding:.6rem 1.1rem; font-size:.9rem; min-height:2.5rem }
.sugg__skip{ border:0; background:none; color:var(--muted); font:600 .86rem var(--sans); cursor:pointer; padding:.5rem .7rem; border-radius:10px; min-height:2.5rem }
.sugg__skip:hover, .sugg__skip:focus-visible{ color:var(--ink); background:var(--surface) }
.sugg__edit{ grid-column:1 / -1; font-size:.86rem }
.sugg__edit summary{ display:inline-flex; align-items:center; gap:.35rem; cursor:pointer; font-weight:600; color:var(--brand-ink); list-style:none;
  min-height:2.25rem; border-radius:8px }
.sugg__edit summary::-webkit-details-marker{ display:none }
.sugg__edit summary .ico{ width:.95rem; height:.95rem }
.sugg__edit summary:focus-visible{ outline:2px solid color-mix(in oklch,var(--brand) 45%,transparent); outline-offset:2px }
.sugg__editform{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,11rem),1fr)); gap:.6rem .8rem; align-items:end; margin:.4rem 0 0 }
.sugg__field{ display:grid; gap:.25rem; min-width:0; font-size:.8rem; font-weight:600; color:var(--muted) }
.sugg__field small{ font-weight:500 }
.sugg__field .input{ font-size:1rem; padding:.6rem .75rem; min-width:0 }
.sugg__money{ font-family:var(--mono); font-variant-numeric:tabular-nums }
.sugg__editform .sugg__btn{ justify-self:start }
.sugg__err{ grid-column:1 / -1; margin:0; font-size:.84rem; font-weight:600; color:var(--bad) }
.sugg__err[hidden]{ display:none }
@media (max-width:560px){
  .sugg__item{ grid-template-columns:minmax(0,1fr) }
  .sugg__acts{ justify-self:stretch }
  .sugg__acts .sugg__form:first-child{ flex:1 1 auto } .sugg__acts .sugg__form:first-child .sugg__btn{ width:100% }
}
@media (pointer:coarse){ .sugg__skip, .sugg__btn{ min-height:2.75rem } .docs__how summary, .sugg__edit summary{ min-height:2.75rem } }
@media (max-width:480px){ .docs__check, .docs__how{ font-size:.86rem } }

/* the admin lead card's AI lines (templates/admin/view.php) */
.ad-doc__n .ad-doc__ai{ display:flex; flex-wrap:wrap; align-items:center; gap:.35rem; margin-top:.25rem }
.ad-doc__n .ad-doc__ai .bdg{ font-size:.64rem; color:var(--muted) }
.ad-doc__n .ad-doc__ai .bdg .ico{ width:.8rem; height:.8rem; color:currentColor }
.ad-doc__n .ad-doc__ai .bdg--complete{ color:#fff } .ad-doc__n .ad-doc__ai .bdg--in_progress{ color:var(--gold-deep) }
.ad-doc__n .ad-doc__ai .bdg--flag{ color:var(--bad) }
.ad-doc__n .ad-doc__aierr{ color:var(--warn) }
.ad-doc__n .ad-doc__fact{ display:flex; align-items:flex-start; gap:.3rem; color:var(--brand-ink); font-weight:600 }
.ad-doc__n .ad-doc__fact .ico{ width:.85rem; height:.85rem; flex:none; margin-top:.1rem }


/* ============================================================================
   ===== GAME DAY (2026-11) =====
   The public product's design system. Everything below applies ONLY when the page
   root carries class "gd" (templates/layout.php + templates/card.php set it). The
   admin CRM also loads this file without that class, so it keeps the rules above.

   How it is built:
   1. :root.gd re-points every token the rules above use (colors, type, radii, shadows).
   2. ":where(.gd) .thing" restyles shared components. :where() adds no specificity, so
      a later stylesheet (gd-wizard.css, gd-report.css) wins with a plain ".thing" rule.
   3. New building blocks are prefixed gd- (.gd-bug, .gd-cut, .gd-label ...).
   Reference: do not host/from-financial-onboarding/game-day-2026-11/SYSTEM.md
   ========================================================================== */

@font-face{font-family:'Barlow Condensed';font-style:italic;font-weight:800;font-display:swap;src:url('../fonts/barlowcond-800i.woff2') format('woff2')}
@font-face{font-family:'Barlow Condensed';font-style:italic;font-weight:900;font-display:swap;src:url('../fonts/barlowcond-900i.woff2') format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/barlow-400.woff2') format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/barlow-500.woff2') format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:600 800;font-display:swap;src:url('../fonts/barlow-600.woff2') format('woff2')}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 800;font-display:swap;src:url('../fonts/jbmono.woff2') format('woff2')}

/* ------------------------------------------------------------------ 1. tokens */
:root.gd{
  color-scheme:dark;
  font-size:112.5%;                      /* 1rem = 18px: body copy never drops under 16px */

  /* Game Day palette */
  --black:#050607; --pitch:#0B0D10; --steel:#14181D; --steel2:#1D232A;
  --chalk:#F3F5EF; --chalk-2:#C9CFD3; --mute:#98A2AD; --dim:#7C8792;
  --volt:#C8FF1A; --volt-deep:#9BD600; --on-volt:#06080A;
  --volt-06:rgba(200,255,26,.06); --volt-12:rgba(200,255,26,.12); --volt-20:rgba(200,255,26,.2); --volt-40:rgba(200,255,26,.4);
  --amber:#FFB547; --red:#FF6B5E;         /* status only (caution / needs work). Never decoration. */

  /* type */
  --disp:'Barlow Condensed','Arial Narrow',Impact,sans-serif;       /* italic 800/900, uppercase */
  --sans:'Barlow',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --display:var(--sans);                 /* old "display" slots (card titles, question text) stay calm */
  --mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;

  /* shape */
  --cut:14px;                            /* diagonal corner cut */
  --skew:-10deg;                         /* slab skew */

  /* the tokens the rules above read, re-pointed */
  --emerald:var(--volt); --emerald-deep:var(--volt-deep); --emerald-bright:var(--volt);
  --sage:var(--volt); --gold:var(--volt); --gold-soft:#E2FF85; --gold-deep:var(--volt); --clay:var(--red);
  --canvas:var(--pitch); --surface:var(--steel); --surface-2:var(--steel2);
  --ink:var(--chalk); --muted:var(--mute); --faint:var(--dim); --line:#2B323B;
  --brand:var(--volt); --brand-ink:var(--volt); --on-brand:var(--on-volt);
  --ring-track:#2B323B;
  --forest:var(--black); --forest-2:var(--pitch); --onnavy:var(--chalk); --onnavy-mut:var(--mute);
  --good:var(--volt); --warn:var(--amber); --bad:var(--red); --bad-bg:#2A1614;

  --r:4px; --r-md:6px; --r-lg:8px; --r-xl:8px; --pill:2px;
  --sh-1:none;
  --sh-2:0 24px 48px -28px rgba(0,0,0,.8);
  --sh-3:0 34px 70px -34px rgba(0,0,0,.9);
  --sh-brand:5px 5px 0 var(--volt-20);
  --sh-brand-hover:7px 7px 0 var(--volt-40);
  --sh-gold:none;
  --maxw:1080px;
  --gutter:clamp(16px,4.5vw,40px);
}

/* ------------------------------------------------------------------ 2. base */
/* keyboard focus and in-page jumps never land under the sticky top bar */
html.gd{ scroll-padding-top:calc(72px + env(safe-area-inset-top)) }
:where(.gd) body{ background:var(--pitch); color:var(--chalk); font-family:var(--sans); font-size:1rem; line-height:1.55;
  letter-spacing:0; overflow-x:clip; transition:none }
:where(.gd) body::before{ background:
  radial-gradient(900px 420px at 86% -12%, rgba(200,255,26,.055), transparent 62%),
  repeating-linear-gradient(100deg, transparent 0 139px, rgba(243,245,239,.022) 139px 140px) }
:where(.gd) ::selection{ background:var(--volt); color:var(--on-volt) }
:where(.gd) h1,:where(.gd) h2,:where(.gd) h3,:where(.gd) h4{ letter-spacing:0; color:var(--chalk) }
:where(.gd) h1,:where(.gd) .display{ font-family:var(--disp); font-style:italic; font-weight:900; text-transform:uppercase;
  line-height:.92; letter-spacing:.005em; font-size:clamp(2.3rem,9vw,3.6rem); text-wrap:balance }
:where(.gd) h2{ font-family:var(--disp); font-style:italic; font-weight:800; text-transform:uppercase; line-height:1; font-size:clamp(1.5rem,5vw,2rem) }
:where(.gd) h3,:where(.gd) h4{ font-family:var(--sans); font-weight:600; line-height:1.3 }
:where(.gd) h1 em,:where(.gd) h2 em{ font-style:inherit; color:var(--volt) }
:where(.gd) p{ color:var(--mute) }
:where(.gd) strong{ color:var(--chalk); font-weight:600 }
:where(.gd) a{ color:var(--volt) }
:where(.gd) .num{ font-family:var(--mono); letter-spacing:0 }
:where(.gd) .lede{ font-size:1.08rem; line-height:1.55; color:var(--chalk-2) }
:where(.gd) .muted-link{ color:var(--mute); text-decoration-color:rgba(152,162,173,.5) }
:where(.gd) .muted-link:hover{ color:var(--chalk) }
:where(.gd) :where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{ outline:3px solid var(--volt); outline-offset:3px; border-radius:2px }
:where(.gd) #qheading:focus{ outline:none }

/* mono label (the old gold eyebrow) */
:where(.gd) .eyebrow{ font-family:var(--mono); font-size:.68rem; font-weight:600; letter-spacing:.11em; color:var(--volt); gap:.55rem; margin:0 0 .7rem }
:where(.gd) .eyebrow::before{ content:""; width:.6rem; height:.6rem; flex:none; background:var(--volt); transform:skewX(var(--skew)) }
:where(.gd) .eyebrow--plain::before{ content:none }

/* ---- gd- building blocks -------------------------------------------------- */
.gd-disp{ font-family:var(--disp); font-style:italic; font-weight:900; text-transform:uppercase; line-height:.9; letter-spacing:.005em; margin:0 }
.gd-label{ font-family:var(--mono); font-size:.68rem; font-weight:500; letter-spacing:.1em; text-transform:uppercase; color:var(--mute) }
.gd-num{ font-family:var(--disp); font-style:italic; font-weight:900; line-height:.9; font-variant-numeric:tabular-nums }
.gd-volt{ color:var(--volt) }
/* brand mark (2026-11 logo "Interlock": two leaning hooks), drawn as a mask so it takes any colour */
.gd-mark{ display:block; flex:none; width:1.62rem; height:1.5rem; background:var(--volt);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='4 6 56 52'%3E%3Cpath d='M17%206H60L56%2022H31.5L28%2036H9.5ZM36%2028H54.5L47%2058H4L8%2042H32.5Z'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='4 6 56 52'%3E%3Cpath d='M17%206H60L56%2022H31.5L28%2036H9.5ZM36%2028H54.5L47%2058H4L8%2042H32.5Z'/%3E%3C/svg%3E") center/contain no-repeat }
/* volt slab label (skewed). Use for one highlight per view, e.g. "Start here" */
.gd-slab{ display:inline-block; background:var(--volt); color:var(--on-volt); font-family:var(--mono); font-weight:700; font-size:.66rem;
  letter-spacing:.1em; text-transform:uppercase; line-height:1.2; padding:.3rem .7rem; transform:skewX(var(--skew)) }
.gd-slab--ghost{ background:transparent; color:var(--chalk); box-shadow:inset 0 0 0 1px rgba(243,245,239,.4) }
/* kicker: live dot + mono line on a dark strip */
.gd-kicker{ display:inline-flex; align-items:center; gap:.6rem; background:rgba(5,6,7,.7); border-left:4px solid var(--volt); padding:.45rem .8rem;
  font-family:var(--mono); font-size:.66rem; font-weight:500; letter-spacing:.08em; text-transform:uppercase; color:var(--chalk) }
.gd-kicker::before{ content:""; width:.45rem; height:.45rem; border-radius:50%; background:var(--volt); flex:none }
/* shapes */
.gd-cut{ clip-path:polygon(0 0,100% 0,100% calc(100% - var(--cut)),calc(100% - var(--cut)) 100%,0 100%) }
.gd-rule{ border-top:3px solid var(--volt) }
.gd-panel{ background:var(--steel); border:1px solid var(--line); border-top:3px solid var(--volt); border-radius:0; padding:clamp(1.1rem,3vw,1.6rem) }
/* scorebug: a row of cells behind a volt tag.  <div class="gd-bug"><div class="gd-bug__tag">Readiness<br>Score</div>
   <div class="gd-bug__cell"><span class="gd-label">Today</span><span class="gd-bug__num">72<small>/100</small></span></div>...</div> */
.gd-bug{ display:flex; align-items:stretch; background:var(--steel); border-top:3px solid var(--volt); min-width:0 }
.gd-bug__tag{ display:flex; align-items:center; background:var(--volt); color:var(--on-volt); font-family:var(--disp); font-style:italic; font-weight:900;
  font-size:1.25rem; line-height:.9; text-transform:uppercase; padding:.7rem 1.4rem .7rem 1rem;
  clip-path:polygon(0 0,100% 0,calc(100% - 14px) 100%,0 100%); margin-right:-4px; flex:none }
.gd-bug__cell{ display:flex; flex-direction:column; justify-content:center; gap:.15rem; padding:.6rem 1.1rem; border-right:1px solid var(--line); min-width:0 }
.gd-bug__cell:last-child{ border-right:0; flex:1 }
.gd-bug__num{ font-family:var(--disp); font-style:italic; font-weight:900; font-size:2.6rem; line-height:.9; display:flex; align-items:baseline; gap:.3rem; font-variant-numeric:tabular-nums }
.gd-bug__num small{ font-family:var(--mono); font-style:normal; font-weight:500; font-size:.66rem; color:var(--mute); letter-spacing:.06em }
.gd-bug__txt{ font-family:var(--sans); font-weight:600; font-size:1rem; line-height:1.25; color:var(--chalk) }
/* chyron: two stacked lower-third strips */
.gd-chyron{ display:inline-flex; flex-direction:column; align-items:flex-start }
.gd-chyron b{ background:var(--volt); color:var(--on-volt); font-family:var(--disp); font-style:italic; font-weight:900; font-size:1.6rem; text-transform:uppercase;
  line-height:1; padding:.4rem 1.5rem .45rem 1rem; clip-path:polygon(0 0,100% 0,calc(100% - 12px) 100%,0 100%) }
.gd-chyron span{ background:rgba(29,35,42,.96); color:var(--chalk); font-family:var(--mono); font-size:.66rem; letter-spacing:.1em; text-transform:uppercase; padding:.4rem 1.3rem .4rem 1rem }
/* skewed meter.  <span class="gd-bar" style="--v:48%"><i></i></span>  (+ .gd-bar--volt / --warn / --bad) */
.gd-bar{ display:block; height:10px; background:var(--steel2); position:relative; transform:skewX(-20deg); overflow:hidden }
.gd-bar i{ position:absolute; left:0; top:0; bottom:0; width:var(--v,0%); background:var(--chalk) }
.gd-bar--volt i{ background:var(--volt) } .gd-bar--warn i{ background:var(--amber) } .gd-bar--bad i{ background:var(--red) }
/* ghost numeral behind a section (decorative; aria-hidden) */
.gd-yard{ font-family:var(--disp); font-style:italic; font-weight:900; line-height:.8; color:transparent; -webkit-text-stroke:1.5px rgba(243,245,239,.09);
  pointer-events:none; user-select:none }
/* numbered step tile with a cut corner */
.gd-step{ background:var(--steel); border-top:3px solid var(--line); padding:1.2rem 1.2rem 1.5rem; position:relative;
  clip-path:polygon(0 0,100% 0,100% calc(100% - 20px),calc(100% - 20px) 100%,0 100%) }
.gd-step__n{ font-family:var(--disp); font-style:italic; font-weight:900; font-size:3rem; line-height:.8; color:var(--volt); display:block; margin-bottom:.8rem }
.gd-step h3{ font-family:var(--disp); font-style:italic; font-weight:800; text-transform:uppercase; font-size:1.5rem; line-height:1; margin:0 0 .45rem }
.gd-step p{ margin:0; color:var(--mute); font-size:.95rem }
/* stat: mono label over a display numeral */
.gd-stat{ display:flex; flex-direction:column; gap:.2rem }
.gd-stat b{ font-family:var(--disp); font-style:italic; font-weight:900; font-size:2.4rem; line-height:.9; color:var(--chalk) }

/* ------------------------------------------------------------------ 3. chrome */
:where(.gd) .topbar{ background:rgba(5,6,7,.9); border-bottom:1px solid var(--line); padding-top:env(safe-area-inset-top) }
:where(.gd) .topbar__in{ height:60px; gap:.9rem }
:where(.gd) .brand{ gap:.55rem; color:var(--chalk); min-height:44px }
:where(.gd) .brand__name{ font-family:var(--sans); font-style:normal; font-weight:600; font-size:1.3rem; text-transform:none; letter-spacing:-.02em; line-height:1; white-space:nowrap }
:where(.gd) .topbar__tag{ font-family:var(--mono); font-size:.62rem; letter-spacing:.1em; text-transform:uppercase; color:var(--mute) }
:where(.gd) .topbar__pct{ font-family:var(--mono); font-size:.62rem; letter-spacing:.08em; text-transform:uppercase; color:var(--mute) }
/* the live score, as a scorebug */
:where(.gd) .topbar__score{ align-items:center; gap:.25rem; height:40px; padding:0 .8rem 0 0; background:var(--steel2); border:0; border-radius:0; flex:none }
:where(.gd) .topbar__score::before{ content:attr(data-label); align-self:stretch; display:grid; place-items:center; margin-right:.55rem;
  padding:0 .9rem 0 .6rem; background:var(--volt); color:var(--on-volt); font-family:var(--mono); font-weight:700; font-size:.58rem; letter-spacing:.1em;
  text-transform:uppercase; clip-path:polygon(0 0,100% 0,calc(100% - 9px) 100%,0 100%) }
:where(.gd) .topbar__score:not([data-label])::before{ content:none }
:where(.gd) .topbar__score:not([data-label]){ padding-left:.8rem; border-left:3px solid var(--volt) }
:where(.gd) .topbar__score strong{ font-family:var(--disp); font-style:italic; font-weight:900; font-size:1.75rem; line-height:1; color:var(--chalk) }
:where(.gd) .topbar__score span{ font-family:var(--mono); font-size:.6rem; color:var(--mute) }
/* progress: a segmented, skewed scoreboard strip */
:where(.gd) .pbar{ height:8px; border-radius:0; background:var(--steel2); transform:skewX(-20deg); position:relative }
:where(.gd) .topbar .pbar{ background:#262D35 }
:where(.gd) .pbar>span,:where(.gd) .pbar--sm>span{ background:var(--volt); border-radius:0 }
:where(.gd) .pbar::after{ content:""; position:absolute; inset:0; pointer-events:none;
  background:repeating-linear-gradient(90deg, transparent 0 calc(10% - 2px), var(--black) calc(10% - 2px) 10%) }
:where(.gd) .sitefoot{ margin-top:3rem; background:var(--black); border-top:1px solid var(--line); color:var(--mute); font-size:.8rem; line-height:1.55;
  padding-top:1.6rem; padding-bottom:max(2.2rem, calc(1.2rem + env(safe-area-inset-bottom))) }
:where(.gd) .sitefoot p{ color:var(--mute); max-width:calc(var(--maxw) - 2 * var(--gutter)) }
:where(.gd) .sitefoot .muted-link{ color:var(--chalk-2); display:inline-block; padding:.35rem 0 }
:where(.gd) .sitefoot .muted-link:hover{ color:var(--volt) }

/* ------------------------------------------------------------------ 4. buttons */
/* Volt slab = the one primary action on a view. Ghost = everything else. */
:where(.gd) .btn{ border-radius:0; border:2px solid transparent; min-height:48px; padding:.7rem 1.4rem .75rem; gap:.5rem;
  font-family:var(--disp); font-style:italic; font-weight:900; font-size:1.3rem; line-height:1; letter-spacing:.02em; text-transform:uppercase;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease, color .15s ease }
:where(.gd) .btn .ico{ width:1em; height:1em; stroke-width:2.4 }
:where(.gd) .btn--primary{ background:var(--volt); border-color:var(--volt); color:var(--on-volt); box-shadow:var(--sh-brand) }
:where(.gd) .btn--primary:hover{ background:var(--volt); transform:translate(-2px,-2px); box-shadow:var(--sh-brand-hover) }
:where(.gd) .btn--primary:active{ transform:translate(1px,1px); box-shadow:2px 2px 0 var(--volt-20) }
:where(.gd) .btn--gold{ background:var(--chalk); border-color:var(--chalk); color:var(--on-volt); box-shadow:none }
:where(.gd) .btn--gold:hover{ background:#fff; transform:translate(-1px,-1px) }
:where(.gd) .btn--ghost{ background:transparent; color:var(--chalk); border-color:rgba(243,245,239,.4); box-shadow:none; font-weight:800 }
:where(.gd) .btn--ghost:hover{ border-color:var(--volt); color:var(--volt); transform:none }
:where(.gd) .btn--lg{ min-height:56px; padding:.85rem 1.8rem .9rem; font-size:1.55rem }
:where(.gd) .btn:disabled,:where(.gd) .btn[aria-disabled="true"]{ opacity:.5; cursor:default; transform:none; box-shadow:none }
.gd .btn--sm{ min-height:44px; padding:.5rem 1rem .55rem; font-size:1.05rem; box-shadow:none }
.gd .btn--block{ display:flex; width:100% }
.gd .btn--cut{ clip-path:polygon(0 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%); box-shadow:none }
.gd .btn--skew{ transform:skewX(var(--skew)) } .gd .btn--skew>span{ display:inline-flex; align-items:center; gap:.5rem; transform:skewX(10deg) }
.gd .btn--skew:hover{ transform:skewX(var(--skew)) translate(-2px,-2px) }
@media (max-width:480px){ :where(.gd) .btn{ white-space:normal; text-align:center } }

/* ------------------------------------------------------------------ 5. forms */
:where(.gd) .input{ min-height:54px; font-size:1.1rem; padding:.8rem 1rem; border:1.5px solid #3A434E; border-radius:var(--r); background:var(--pitch);
  color:var(--chalk); caret-color:var(--volt) }
:where(.gd) .input::placeholder{ color:#6B7580 }
:where(.gd) .input:hover{ border-color:#56616D }
:where(.gd) .input:focus{ border-color:var(--volt); box-shadow:0 0 0 4px var(--volt-20) }
:where(.gd) .input.is-valid{ border-color:rgba(200,255,26,.55) }
:where(.gd) .input:-webkit-autofill{ -webkit-text-fill-color:var(--chalk); -webkit-box-shadow:0 0 0 1000px var(--pitch) inset; caret-color:var(--volt) }
:where(.gd) .input--num,:where(.gd) .field--money .input{ font-family:var(--mono); font-weight:500 }
:where(.gd) .field--money .input{ padding-left:2.1rem }
:where(.gd) .input--select{ background-position:calc(100% - 1.35rem) 50%,calc(100% - 1rem) 50% }
:where(.gd) .input--code{ font-family:var(--mono); font-weight:700; font-size:1.7rem; letter-spacing:.35em; min-height:64px; color:var(--volt) }
:where(.gd) .suffix,:where(.gd) .field--money .affix{ color:var(--mute); font-family:var(--mono) }
/* option tiles */
:where(.gd) .choice{ min-height:58px; padding:.8rem 1rem; background:var(--steel2); border:1.5px solid var(--line); border-radius:var(--r); font-size:1rem; color:var(--chalk) }
:where(.gd) .choice:hover{ border-color:rgba(200,255,26,.55); background:#222932; transform:none; box-shadow:none }
:where(.gd) .choice:active,:where(.gd) .choice.is-picked,:where(.gd) .choice.is-on{ border-color:var(--volt); background:#232B1B; box-shadow:inset 4px 0 0 var(--volt) }
:where(.gd) .choice.is-suggested{ border-color:rgba(200,255,26,.6); background:#20261C }
:where(.gd) .choice__label{ font-weight:500 }
:where(.gd) .choice__icon{ border-radius:2px; background:var(--pitch); border-color:var(--line); color:var(--volt) }
:where(.gd) .choice:hover .choice__icon{ background:var(--pitch); transform:none }
:where(.gd) .choice__sug{ font-family:var(--mono); font-size:.6rem; letter-spacing:.08em; background:var(--volt); color:var(--on-volt); border-radius:0 }
/* multi-select chips */
:where(.gd) .chip{ min-height:46px; padding:.55rem .95rem; background:var(--steel2); border:1.5px solid var(--line); border-radius:var(--r); color:var(--chalk); font-weight:500 }
:where(.gd) .chip:hover{ border-color:rgba(200,255,26,.55); box-shadow:none }
:where(.gd) .chip:has(input:checked){ background:var(--volt); border-color:var(--volt); color:var(--on-volt); font-weight:600 }
:where(.gd) .chip:has(input:focus-visible){ outline:3px solid var(--volt); outline-offset:3px }
:where(.gd) .chip__icon{ color:var(--volt) }
/* consent + checkboxes: plain, quiet, no sport */
:where(.gd) .consent{ background:var(--pitch); border:1px solid var(--line); border-radius:var(--r); padding:.9rem 1rem }
:where(.gd) .consent input,:where(.gd) .docs__check input,:where(.gd) .upload__later input{ width:1.35rem; height:1.35rem; accent-color:var(--volt) }
:where(.gd) .consent span{ color:var(--chalk-2); font-size:.92rem; line-height:1.5 }
:where(.gd) .qform__actions{ margin-top:1.4rem; gap:.9rem 1rem }
:where(.gd) .chips{ gap:.6rem }
:where(.gd) .qerror{ border-radius:var(--r); background:var(--bad-bg); color:#FFB3AB; border-color:rgba(255,107,94,.45); font-weight:500; font-size:.92rem }
:where(.gd) .debts,:where(.gd) .grp__row{ border-radius:var(--r) }
:where(.gd) .debts__head,:where(.gd) .grp__lab{ font-family:var(--mono); font-size:.6rem; letter-spacing:.08em; font-weight:500 }
:where(.gd) .debts__row input,:where(.gd) .debts__row select,:where(.gd) .grp__in{ min-height:46px; border-radius:var(--r); background:var(--pitch); border-color:#3A434E; font-size:1rem }
:where(.gd) .debts__row input:focus,:where(.gd) .grp__in:focus{ border-color:var(--volt); box-shadow:0 0 0 3px var(--volt-20) }
:where(.gd) .grp__del{ border-radius:2px; width:2.2rem; height:2.2rem }
:where(.gd) .securenote,:where(.gd) .prefillnote{ border-radius:var(--r); background:var(--volt-06); border-color:var(--volt-20); color:var(--chalk-2); font-weight:500 }
:where(.gd) .securenote .ico,:where(.gd) .prefillnote .ico{ color:var(--volt) }
:where(.gd) .mailhint,:where(.gd) .mailhint button{ color:var(--volt) }

/* ------------------------------------------------------------------ 6. cards, panels, details */
:where(.gd) .qcard,:where(.gd) .scorepanel__inner,:where(.gd) .depthpanel__inner,:where(.gd) .panel,:where(.gd) .resume__card,
:where(.gd) .disclose__card,:where(.gd) .advdone__card,:where(.gd) .docs,:where(.gd) .sugg,:where(.gd) .explainer{
  background:var(--steel); border:1px solid var(--line); border-radius:var(--r-md); box-shadow:none }
:where(.gd) .qcard,:where(.gd) .resume__card,:where(.gd) .advdone__card{ border-top:3px solid var(--volt); border-radius:0 0 var(--r-md) var(--r-md) }
:where(.gd) .qcard__stage,:where(.gd) .depthpanel__k,:where(.gd) .review__sec,:where(.gd) .stagetoast__k,:where(.gd) .milestone__k,
:where(.gd) .reveal-overlay__k,:where(.gd) .rcard__k{ font-family:var(--mono); font-size:.66rem; font-weight:600; letter-spacing:.11em; color:var(--volt) }
:where(.gd) .qcard__editing{ color:var(--amber) }
/* question text: calm sentence case. Never the display face. */
:where(.gd) .qlabel{ font-family:var(--sans); font-style:normal; font-weight:600; text-transform:none; font-size:clamp(1.3rem,5.2vw,1.65rem); line-height:1.22; letter-spacing:-.005em }
:where(.gd) .qhelp{ color:var(--mute); font-size:.95rem; line-height:1.5 }
:where(.gd) .coach{ background:var(--steel2); border:0; border-left:3px solid var(--volt); border-radius:0 var(--r) var(--r) 0; box-shadow:none }
:where(.gd) .coach p{ color:var(--chalk-2) }
:where(.gd) .coach__avatar{ border-radius:2px; background:var(--volt); color:var(--on-volt); box-shadow:none; transform:skewX(var(--skew)) }
:where(.gd) .coach__avatar .ico{ transform:skewX(10deg) }
:where(.gd) .backlink{ color:var(--mute); border-radius:2px; min-height:44px; font-size:.9rem }
:where(.gd) .backlink:hover{ color:var(--volt); background:var(--volt-06) }
:where(.gd) .skipahead{ color:var(--volt) }
:where(.gd) .why{ border-top:1px solid var(--line) }
:where(.gd) .why summary{ color:var(--chalk-2); font-weight:500; min-height:44px; font-size:.92rem }
:where(.gd) .why summary .ico{ color:var(--volt) }
:where(.gd) .why[open] summary,:where(.gd) .why summary:hover{ color:var(--volt) }
:where(.gd) .why p{ font-size:.95rem; line-height:1.55 }
:where(.gd) .stepcount,:where(.gd) .stepper__count{ font-family:var(--mono); font-size:.64rem; letter-spacing:.08em; text-transform:uppercase; color:var(--mute) }
:where(.gd) .panel__title{ font-family:var(--disp); font-style:italic; font-weight:800; text-transform:uppercase; font-size:1.5rem; line-height:1; letter-spacing:.01em;
  padding-bottom:.7rem; border-bottom:1px solid var(--line) }
:where(.gd) .panel__title::after{ width:46px; height:3px; border-radius:0; background:var(--volt); transform:skewX(-30deg); transform-origin:left bottom }
:where(.gd) .flashbar{ border-radius:0; border-width:0 0 0 4px; font-weight:500; box-shadow:none }
:where(.gd) .flashbar--ok{ background:var(--steel2); border-color:var(--volt); color:var(--chalk) } :where(.gd) .flashbar--ok .ico{ color:var(--volt) }
:where(.gd) .flashbar--warn{ background:#2A2112; border-color:var(--amber); color:#FFD9A0 }

/* stage stepper: waypoints become scoreboard blocks */
:where(.gd) .stepper__title{ font-size:.9rem; color:var(--chalk-2) }
:where(.gd) .stepper__title b{ font-family:var(--sans); font-weight:600; font-size:.95rem; color:var(--chalk) }
:where(.gd) .stepper__badge{ font-family:var(--mono); font-size:.58rem; background:var(--volt); color:var(--on-volt); border-radius:0 }
:where(.gd) .stepper__route::before,:where(.gd) .stepper__route::after{ height:3px; border-radius:0 }
:where(.gd) .stepper__route::after{ background:var(--volt) }
:where(.gd) .stepper__wp{ border-radius:0; transform:skewX(var(--skew)); background:var(--pitch); border-color:#3A434E }
:where(.gd) .stepper__wp--done{ background:var(--volt); border-color:var(--volt) }
:where(.gd) .stepper__wp--cur{ border-color:var(--volt); box-shadow:0 0 0 4px var(--volt-20) }
:where(.gd) .stepper__wp--cur::after{ border-radius:0; background:var(--volt) }

/* ------------------------------------------------------------------ 7. score ring, meters */
:where(.gd) .ring{ --grad-a:var(--volt); --grad-b:var(--volt) }
:where(.gd) .ring--start{ --grad-a:var(--chalk); --grad-b:var(--chalk) }
:where(.gd) .ring--good{ --grad-a:var(--volt); --grad-b:var(--volt) }
:where(.gd) .ring--warn{ --grad-a:var(--amber); --grad-b:var(--amber) }
:where(.gd) .ring--bad{ --grad-a:var(--red); --grad-b:var(--red) }
:where(.gd) .ring__tickring{ stroke:#3A434E; opacity:.9 }
:where(.gd) .ring__track{ stroke:#232A32 }
:where(.gd) .ring__headroom{ stroke:var(--chalk); opacity:.22 }
:where(.gd) .ring__fill{ stroke-linecap:butt; filter:none }
:where(.gd) .ring__center strong{ font-family:var(--disp); font-style:italic; font-weight:900; font-size:3.4rem; letter-spacing:0; color:var(--chalk) }
:where(.gd) .ring__center strong.is-zero{ color:var(--dim); font-weight:800 }
:where(.gd) .ring__center small{ font-family:var(--mono); font-size:.62rem; letter-spacing:.08em; color:var(--mute) }
:where(.gd) .ring--lg .ring__center strong{ font-size:4.2rem }
:where(.gd) .scorepanel__band strong,:where(.gd) .depthpanel__sub strong{ font-family:var(--sans) }
:where(.gd) .scorepanel__proj .goal,:where(.gd) .uplift{ color:var(--volt) }
:where(.gd) .scorepanel__hint,:where(.gd) .depthpanel__hint{ font-size:.8rem; color:var(--dim) }
:where(.gd) .plist li{ font-size:.86rem }
:where(.gd) .plist__bar,:where(.gd) .areas__bar,:where(.gd) .depthbar,:where(.gd) .upbar,:where(.gd) .docs__bar{ border-radius:0; background:#262D35; box-shadow:none; transform:skewX(-20deg) }
:where(.gd) .plist__bar i,:where(.gd) .areas__bar i{ border-radius:0; background:var(--chalk) }
:where(.gd) .depthbar>span,:where(.gd) .upbar i,:where(.gd) .docs__bar i{ border-radius:0; background:var(--volt) }
:where(.gd) .areas__bar--good i{ background:var(--volt) }
:where(.gd) .areas__bar--warn i{ background:var(--amber) }
:where(.gd) .areas__bar--bad i{ background:var(--red) }
:where(.gd) .plist li.is-unknown .plist__bar{ transform:none; background:none }
:where(.gd) .areas__num{ font-family:var(--disp); font-style:italic; font-weight:900; font-size:1.35rem; line-height:1 }
:where(.gd) .band-good{ color:var(--volt) } :where(.gd) .band-warn{ color:var(--amber) } :where(.gd) .band-bad{ color:var(--red) }
:where(.gd) .depthpanel__big strong{ font-family:var(--disp); font-style:italic; font-weight:900; font-size:3.2rem; letter-spacing:0 }
:where(.gd) .depthpanel__big span{ font-family:var(--mono); font-size:.8rem; color:var(--mute) }
:where(.gd) .chapter{ border-radius:2px } :where(.gd) .chapter__dot{ border-radius:2px; color:var(--on-volt) }
:where(.gd) .chapter--cur{ background:var(--volt-06) }

/* ------------------------------------------------------------------ 8. report base (gd-report.css finishes it) */
:where(.gd) .dash__hero{ background:var(--steel); border:1px solid var(--line); border-top:3px solid var(--volt); border-radius:0 0 var(--r-md) var(--r-md); box-shadow:none }
:where(.gd) .dash__hero::before{ background:linear-gradient(115deg, transparent 0 62%, rgba(200,255,26,.05) 62% 100%) }
:where(.gd) .dash__hero h1{ font-family:var(--disp); font-weight:900; font-size:clamp(2rem,7.5vw,3rem); line-height:.95 }
:where(.gd) .callout{ background:var(--steel2); border:0; border-left:4px solid var(--volt); border-radius:0; box-shadow:none }
:where(.gd) .callout h3,:where(.gd) .callout h3 .ico{ color:var(--chalk) }
:where(.gd) .plan__icon,:where(.gd) .detail__ico,:where(.gd) .valueprops .vp__ico,:where(.gd) .docs__icon,:where(.gd) .sugg__icon,:where(.gd) .latecard__icon,:where(.gd) .advcta__icon{ border-radius:2px }
:where(.gd) .plan__icon,:where(.gd) .detail__ico,:where(.gd) .valueprops .vp__ico,:where(.gd) .docs__icon{ background:var(--pitch); border-color:var(--line); color:var(--volt) }
:where(.gd) .detail h3{ color:var(--chalk) }
:where(.gd) .detail p{ color:var(--chalk-2) }
:where(.gd) .plan__num{ border-radius:2px; background:var(--pitch); border-color:#3A434E; color:var(--chalk); font-family:var(--disp); font-style:italic; font-weight:900; font-size:1.35rem }
:where(.gd) .plan__item--start_here .plan__num{ background:var(--volt); color:var(--on-volt); font-size:1.5rem; box-shadow:none }
:where(.gd) .plan--ranked .plan__item{ border-radius:var(--r) }
:where(.gd) .plan--ranked .plan__item--start_here{ background:#1B2118; border-color:rgba(200,255,26,.45); box-shadow:inset 4px 0 0 var(--volt) }
:where(.gd) .plan--ranked .plan__item:not(:last-child)::after{ border-left:2px dashed #3A434E }
:where(.gd) .plan__chip,:where(.gd) .plan__then,:where(.gd) .traj__badge,:where(.gd) .offer__tag,:where(.gd) .btfacts__item dt,:where(.gd) .traj__table thead th{
  font-family:var(--mono); font-size:.6rem; font-weight:600; letter-spacing:.09em }
:where(.gd) .plan__chip{ border-radius:0 }
:where(.gd) .plan__chip--start{ background:var(--volt); color:var(--on-volt); box-shadow:none }
:where(.gd) .plan__chip--high{ background:var(--bad-bg); color:#FFB3AB; border-color:rgba(255,107,94,.4) }
:where(.gd) .plan__title{ font-family:var(--sans); font-weight:600 }
:where(.gd) .plan__gain{ border-radius:0; font-family:var(--mono); background:transparent; border-color:#3A434E; color:var(--chalk) }
:where(.gd) .plan__item--start_here .plan__gain{ border-color:var(--volt); color:var(--volt) }
:where(.gd) .plan--ranked .plan__why{ color:var(--chalk-2) }
:where(.gd) .advcta,:where(.gd) .latecard,:where(.gd) .reviewbar,:where(.gd) .suggnudge{ background:var(--steel2); border:1px solid var(--line); border-left:4px solid var(--volt); border-radius:0; box-shadow:none }
:where(.gd) .advcta__icon,:where(.gd) .advdone__badge,:where(.gd) .resume__icon,:where(.gd) .latecard__icon,:where(.gd) .sugg__icon{ background:var(--volt); color:var(--on-volt); box-shadow:none }
:where(.gd) .advdone__badge,:where(.gd) .resume__icon{ border-radius:2px; transform:skewX(var(--skew)) }
:where(.gd) .advdone__badge .ico,:where(.gd) .resume__icon .ico{ transform:skewX(10deg) }
:where(.gd) .latecard__opt{ border-radius:var(--r); background:var(--pitch); border-color:#3A434E; font-weight:500 }
:where(.gd) .latecard__opt:hover{ border-color:var(--volt); background:var(--pitch); transform:none }
:where(.gd) .reviewbar__txt .ico{ color:var(--volt) }
:where(.gd) .reviewbar__btn,:where(.gd) .dash__editbtn,:where(.gd) .sugg__btn,:where(.gd) .docs__consentsave,:where(.gd) .latecard__row .btn,:where(.gd) .latecard__save{ font-size:1.1rem; min-height:44px; padding:.5rem 1rem .55rem }
/* sponsored + legal blocks stay plain: no volt, no display type */
:where(.gd) .offer{ background:var(--pitch); border:1px solid var(--line); border-left:3px solid #56616D; border-radius:var(--r); box-shadow:none }
:where(.gd) .offer__tag{ border-radius:0; background:transparent; color:var(--chalk-2); border-color:#56616D }
:where(.gd) .offer__title{ font-family:var(--sans); font-weight:600 }
:where(.gd) .offer__cta{ border-radius:0; background:transparent; border-color:rgba(243,245,239,.4); color:var(--chalk); font-weight:600 }
:where(.gd) .offer__cta:hover{ border-color:var(--volt); color:var(--volt) }
:where(.gd) .offer__rates,:where(.gd) .offer__disc a{ color:var(--chalk) }
:where(.gd) .offer__fit .ico{ color:var(--chalk-2) }
:where(.gd) .btfacts__item,:where(.gd) .traj__mile,:where(.gd) .areas__inputs,:where(.gd) .plan__edu,:where(.gd) .offer__terms,:where(.gd) .docs__item,
:where(.gd) .sugg__item,:where(.gd) .docs__zone,:where(.gd) .upload__zone,:where(.gd) .docs__ai,:where(.gd) .review,:where(.gd) .advdone__list li,
:where(.gd) .upload__list li,:where(.gd) .upload__selected li,:where(.gd) .docs__paused,:where(.gd) .resume__notice,:where(.gd) .creditpill{ border-radius:var(--r) }
:where(.gd) .btfacts__item{ background:var(--pitch) }
:where(.gd) .btfacts__item--warn{ border-color:rgba(255,181,71,.5) } :where(.gd) .btfacts__item--warn dd b{ color:var(--amber) }
:where(.gd) .docs__paused{ color:#FFD9A0; background:#2A2112; border-color:rgba(255,181,71,.4) }
:where(.gd) .areas .areas__how .areas__missing{ color:var(--amber) }
:where(.gd) .traj__dot,:where(.gd) .traj__mnum{ border-radius:2px; color:var(--on-volt); box-shadow:none }
:where(.gd) .traj__dot{ border-color:var(--steel) }
:where(.gd) .traj__key b,:where(.gd) .btfacts__item dd b{ font-family:var(--mono) }
:where(.gd) .traj__fine .traj__disclaimer{ background:var(--pitch); border-color:var(--line); color:var(--chalk-2) }
:where(.gd) .traj__disclaimer .ico{ color:var(--mute) }
:where(.gd) .docs__title,:where(.gd) .sugg__title{ font-family:var(--sans); font-style:normal; font-weight:600; text-transform:none; line-height:1.3 }
:where(.gd) .docs__safe,:where(.gd) .upload__safe,:where(.gd) .docs__enc{ color:var(--chalk-2); font-weight:500 }
:where(.gd) .docs__safe .ico,:where(.gd) .upload__safe .ico,:where(.gd) .docs__enc .ico{ color:var(--volt) }
:where(.gd) .plan__meta .creditpill{ white-space:normal }
:where(.gd) .docs__zone,:where(.gd) .upload__zone{ background:var(--pitch); border-color:#3A434E }
:where(.gd) .docs__zone:hover,:where(.gd) .docs__zone:focus-within,:where(.gd) .upload__zone:hover{ border-color:var(--volt); background:var(--pitch) }
:where(.gd) .docs__delbtn,:where(.gd) .sugg__skip{ border-radius:2px }
:where(.gd) .spark span .ico{ color:var(--volt) }
@media (prefers-reduced-motion:no-preference){
  :where(.gd) .advcta:not(.advcta--done){ animation:none }
  :where(.gd) .advcta:not(.advcta--done) .advcta__icon{ animation:none }
  :where(.gd) .advcta:not(.advcta--done) .btn{ animation:none }
  :where(.gd) .advcta:not(.advcta--done) .btn::after{ background:linear-gradient(100deg,transparent 20%,rgba(255,255,255,.5) 50%,transparent 80%) }
}

/* ------------------------------------------------------------------ 9. moments (toasts, reveal) */
:where(.gd) .gainchip{ top:calc(70px + env(safe-area-inset-top)); background:var(--volt); color:var(--on-volt); border-radius:0; box-shadow:5px 5px 0 rgba(0,0,0,.5);
  font-family:var(--disp); font-style:italic; font-weight:900; font-size:1.3rem; line-height:1; padding:.5rem 1.2rem .55rem .9rem;
  clip-path:polygon(0 0,100% 0,calc(100% - 10px) 100%,0 100%) }
:where(.gd) .gainchip small{ font-family:var(--mono); font-style:normal; font-size:.58rem; letter-spacing:.08em; text-transform:uppercase; opacity:1 }
:where(.gd) .gainchip.saved{ background:var(--steel2); color:var(--chalk); border:0; border-left:3px solid var(--volt); clip-path:none;
  font-family:var(--sans); font-style:normal; font-weight:600; font-size:.9rem }
:where(.gd) .stagetoast__card,:where(.gd) .milestone__card{ background:var(--black); border:1px solid var(--line); border-top:3px solid var(--volt); border-radius:0;
  box-shadow:0 40px 90px -20px rgba(0,0,0,.9); padding:1.3rem 2rem 1.4rem }
:where(.gd) .stagetoast__t,:where(.gd) .milestone__band{ font-family:var(--disp); font-style:italic; font-weight:900; text-transform:uppercase; font-size:2rem; line-height:1; letter-spacing:.01em }
:where(.gd) .stagetoast__t .ico{ color:var(--volt) }
:where(.gd) .milestone__band em,:where(.gd) .reveal-overlay__band em,:where(.gd) .planfinale__head em,:where(.gd) .rcard__band em{ font-style:inherit; color:var(--volt) }
:where(.gd) .reveal-overlay{ background:radial-gradient(90% 60% at 50% 0%, #161B12 0%, var(--black) 62%); --grad-a:var(--volt); --grad-b:var(--volt) }
:where(.gd) .reveal-overlay[data-band="warn"]{ --grad-a:var(--amber); --grad-b:var(--amber) }
:where(.gd) .reveal-overlay[data-band="bad"]{ --grad-a:var(--red); --grad-b:var(--red) }
:where(.gd) .reveal-overlay__arcs{ opacity:.35 }
:where(.gd) .reveal-ring__track{ stroke:#232A32 }
:where(.gd) .reveal-ring__fill{ stroke-linecap:butt }
:where(.gd) .reveal-overlay__num b{ font-family:var(--disp); font-style:italic; font-weight:900; font-size:clamp(4.6rem,20vh,7.4rem); letter-spacing:0; padding-right:.06em }
:where(.gd) .reveal-overlay__num span{ color:var(--mute); font-size:.8rem; letter-spacing:.08em }
:where(.gd) .reveal-overlay__band,:where(.gd) .planfinale__head{ font-family:var(--disp); font-style:italic; font-weight:900; text-transform:uppercase; color:var(--chalk);
  font-size:clamp(1.8rem,7vw,2.6rem); line-height:1; letter-spacing:.01em }
:where(.gd) .planchapter{ font-family:var(--sans); font-weight:600; color:var(--chalk) }
:where(.gd) .planchapter__check{ border-radius:2px; color:var(--on-volt); box-shadow:none }
:where(.gd) .planfinale__note{ color:var(--mute) }

/* ------------------------------------------------------------------ 10. small pages */
/* welcome (in-app home) */
:where(.gd) .hero{ grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:clamp(1.6rem,4vw,3rem); align-items:start; padding-top:clamp(.4rem,3vw,2rem) }
:where(.gd) .hero h1{ font-family:var(--disp); font-weight:900; font-size:clamp(3.2rem,15vw,5.6rem); line-height:.86; margin:1rem 0 1.1rem }
:where(.gd) .hero h1 em{ display:block; font-style:inherit; color:var(--volt) }
:where(.gd) .hero .lede{ max-width:34rem }
:where(.gd) .hero__cta{ gap:1rem 1.2rem; margin:1.6rem 0 1rem }
:where(.gd) .hero__note{ font-family:var(--mono); font-size:.64rem; letter-spacing:.07em; text-transform:uppercase; color:var(--mute); gap:.45rem }
:where(.gd) .hero__note .ico{ color:var(--volt) }
:where(.gd) .hero__resume{ margin:0 0 .4rem } :where(.gd) .hero__resume .muted-link{ display:inline-flex; align-items:center; gap:.4rem; min-height:44px; font-size:.95rem }
:where(.gd) .gd-welcome__side{ display:grid; gap:1rem; min-width:0 }
:where(.gd) .gd-welcome__bug{ display:grid; grid-template-columns:auto minmax(0,1fr) minmax(0,1fr) }
:where(.gd) .gd-welcome__bug .gd-bug__cell:nth-child(3){ border-right:0 }
:where(.gd) .gd-welcome__bug .gd-bug__cell--wide{ grid-column:1 / -1; border-top:1px solid var(--line); border-right:0 }
:where(.gd) .gd-welcome__eg{ margin:.5rem 0 0; text-align:right }
:where(.gd) .explainer{ padding:0; background:none; border:0 }
:where(.gd) .explainer__steps{ gap:.75rem; font-size:1rem; counter-reset:gdstep }
:where(.gd) .explainer__steps li{ counter-increment:gdstep; background:var(--steel); border-top:3px solid var(--line); padding:1rem 1.1rem 1.2rem 4rem; color:var(--mute); min-height:4.6rem;
  clip-path:polygon(0 0,100% 0,100% calc(100% - 16px),calc(100% - 16px) 100%,0 100%) }
:where(.gd) .explainer__steps li::before{ content:counter(gdstep,decimal-leading-zero); left:1rem; top:.95rem; width:auto; height:auto; border-radius:0; background:none;
  font-family:var(--disp); font-style:italic; font-weight:900; font-size:2.3rem; line-height:.9; color:var(--volt) }
:where(.gd) .explainer__steps strong{ display:block; font-weight:600; color:var(--chalk) }
:where(.gd) .valueprops{ margin-top:1.6rem; padding-top:1.4rem; border-top:1px solid var(--line); gap:.9rem }
:where(.gd) .valueprops li{ align-items:center }
:where(.gd) .valueprops span{ color:var(--mute) } :where(.gd) .valueprops em{ color:var(--chalk); font-weight:600 }
:where(.gd) .trustrow{ margin-top:2.4rem; padding-top:0; border-top:3px solid var(--chalk); gap:0 }
:where(.gd) .trustrow div{ padding:1rem 1rem 1rem 0; border-bottom:1px solid var(--line); font-size:.92rem; color:var(--mute) }
:where(.gd) .trustrow strong{ font-family:var(--disp); font-style:italic; font-weight:800; text-transform:uppercase; font-size:1.5rem; line-height:1; margin-bottom:.25rem }
.gd-facts{ display:flex; gap:1.6rem; flex-wrap:wrap; margin:1.4rem 0 0 }

/* resume by email code */
:where(.gd) .resume{ max-width:30rem; margin:clamp(.5rem,4vh,3rem) auto }
:where(.gd) .resume__card{ text-align:left; padding:clamp(1.3rem,5vw,2.2rem) }
:where(.gd) .resume__icon{ margin:0 0 1.1rem .2rem; width:3rem; height:3rem }
:where(.gd) .resume h1{ font-family:var(--disp); font-weight:900; font-size:clamp(2.1rem,9vw,2.8rem); line-height:.95; margin:.1rem 0 .7rem }
:where(.gd) .resume .lede{ margin:0 0 1.4rem; max-width:none; font-size:1rem; color:var(--chalk-2) }
:where(.gd) .resume__form .btn{ margin-top:.2rem; margin-right:6px; width:calc(100% - 6px) }
:where(.gd) .resume__notice{ justify-content:flex-start; background:var(--steel2); border:0; border-left:3px solid var(--volt); color:var(--chalk); font-weight:500; border-radius:0 }
:where(.gd) .resume__notice .ico{ color:var(--volt) }
:where(.gd) .resume__resend,:where(.gd) .resume__alt{ margin-top:.6rem; justify-content:flex-start; align-items:center }
:where(.gd) .resume__resend .muted-link,:where(.gd) .resume__alt .muted-link{ display:inline-flex; align-items:center; min-height:44px }
:where(.gd) .resume__fine{ justify-content:flex-start; margin-top:1rem; padding-top:1rem; border-top:1px solid var(--line); font-size:.82rem; color:var(--mute) }
:where(.gd) .resume__fine .ico{ color:var(--volt) }

/* advertiser disclosure: a reading page. Plain on purpose. */
:where(.gd) .disclose{ max-width:44rem }
:where(.gd) .disclose__card{ padding:clamp(1.2rem,5vw,2.4rem) }
:where(.gd) .disclose h1{ font-size:clamp(2.1rem,9vw,3rem); margin:.2rem 0 .9rem }
:where(.gd) .disclose h2{ font-family:var(--sans); font-style:normal; font-weight:600; text-transform:none; font-size:1.2rem; line-height:1.3; margin:1.9rem 0 .5rem; padding-top:1.1rem; border-top:1px solid var(--line) }
:where(.gd) .disclose p{ color:var(--chalk-2); line-height:1.65; max-width:66ch }
:where(.gd) .disclose .lede{ color:var(--chalk) }
:where(.gd) .disclose__meta{ color:var(--mute); font-size:.85rem }
:where(.gd) .disclose a:not(.btn){ text-decoration:underline; text-underline-offset:3px }

/* shareable readiness card */
:where(.gd) .cardpage{ background:radial-gradient(80% 50% at 50% 0%, #171D12 0%, var(--black) 60%); font-family:var(--sans); overflow-x:clip;
  padding:calc(4.2rem + env(safe-area-inset-top)) 16px calc(4rem + env(safe-area-inset-bottom)) }
:where(.gd) .cardpage::before{ background:repeating-linear-gradient(100deg, transparent 0 139px, rgba(243,245,239,.03) 139px 140px) }
:where(.gd) .cardpage__back{ top:calc(.6rem + env(safe-area-inset-top)); left:16px; min-height:44px; font-family:var(--mono); font-size:.64rem; letter-spacing:.08em; text-transform:uppercase; color:var(--mute) }
:where(.gd) .cardpage__back:hover{ color:var(--volt) }
:where(.gd) .rcard{ width:100%; max-width:24rem; justify-items:stretch; text-align:left; background:var(--steel); border:1px solid var(--line); border-top:4px solid var(--volt);
  box-shadow:0 50px 100px -30px #000; overflow:hidden }
:where(.gd) .rcard__brand{ margin:0; padding:1rem 1.2rem; border-bottom:1px solid var(--line); font-family:var(--sans); font-style:normal; font-weight:600; font-size:1.35rem;
  text-transform:none; letter-spacing:-.02em; line-height:1; color:var(--chalk) }
:where(.gd) .rcard__k{ margin:1.2rem 1.2rem 0; display:flex; justify-content:space-between; gap:1rem }
:where(.gd) .rcard__k span{ color:var(--mute) }
:where(.gd) .rcard .ring{ margin:1rem auto 1.3rem; width:min(13rem,62vw) }
:where(.gd) .rcard .ring .ring__center strong{ font-size:5.4rem; padding-right:.05em }
:where(.gd) .rcard__band{ margin:0; align-self:start; justify-self:start; background:var(--volt); color:var(--on-volt); font-family:var(--disp); font-style:italic; font-weight:900;
  text-transform:uppercase; font-size:clamp(1.7rem,8vw,2.1rem); line-height:1; letter-spacing:.01em; padding:.5rem 1.8rem .55rem 1.2rem;
  clip-path:polygon(0 0,100% 0,calc(100% - 14px) 100%,0 100%) }
:where(.gd) .rcard__band em{ color:inherit }
:where(.gd) .rcard__meta{ margin:0; padding:.6rem 1.2rem; background:var(--steel2); color:var(--chalk); font-family:var(--mono); font-size:.64rem; letter-spacing:.08em; text-transform:uppercase; line-height:1.6 }
:where(.gd) .rcard__foot{ margin:0; padding:.9rem 1.2rem 1rem; font-family:var(--mono); font-size:.64rem; letter-spacing:.1em; color:var(--mute); display:flex; justify-content:space-between; gap:1rem }
:where(.gd) .cardpage__hint{ bottom:calc(1rem + env(safe-area-inset-bottom)); font-family:var(--mono); font-size:.62rem; letter-spacing:.08em; text-transform:uppercase; color:var(--dim) }

/* ------------------------------------------------------------------ 11. phone */
@media (max-width:900px){
  :where(.gd) .hero{ grid-template-columns:minmax(0,1fr) }
  :where(.gd) .explainer{ order:0 }
  :where(.gd) .scorepanel__inner{ text-align:left }
}
@media (max-width:560px){
  :where(.gd) .topbar__in{ height:56px; gap:.7rem }
  :where(.gd) .brand__name{ font-size:1.18rem }
  :where(.gd) .gd-mark{ width:1.4rem; height:1.3rem }
  :where(.gd) .gd-kicker{ font-size:.6rem; letter-spacing:.04em; padding:.45rem .65rem; gap:.5rem }
  :where(.gd) .wrap{ padding-block:1.2rem 1.6rem }
  :where(.gd) .qcard{ padding:1.15rem 1rem 1.3rem }
  :where(.gd) .hero__cta .btn{ flex:1 1 100%; margin-right:6px }
  :where(.gd) .hero__cta .inline-form,:where(.gd) .hero__cta .inline-form .btn{ display:flex; flex:1 1 100%; width:100% }
  :where(.gd) .trustrow{ grid-template-columns:1fr 1fr }
  :where(.gd) .gd-bug__tag{ font-size:1.05rem; padding:.6rem 1.1rem .6rem .8rem }
  :where(.gd) .gd-bug__cell{ padding:.55rem .8rem } :where(.gd) .gd-bug__num{ font-size:2.2rem }
  :where(.gd) .gainchip{ top:calc(64px + env(safe-area-inset-top)) }
  :where(.gd) .stagetoast__t,:where(.gd) .milestone__band{ font-size:1.7rem }
}
@media (max-width:480px){
  :where(.gd) .topbar__progress{ max-width:none }
  :where(.gd) .topbar__score{ height:36px; padding:0 .6rem; border-left:3px solid var(--volt); font-size:1rem }
  :where(.gd) .topbar__score::before{ content:none }
  :where(.gd) .topbar__score strong{ font-size:1.55rem }
}
@media (prefers-reduced-motion:reduce){
  :where(.gd) .btn,:where(.gd) .btn:hover{ transform:none }
  .gd .btn--skew,.gd .btn--skew:hover{ transform:skewX(var(--skew)) }
}
