/* Hallmark · checked: 2026-11-04 · genre: modern-minimal (inferred) · surface: K1 approved by the owner
 * floor: 0 FAIL except owner decisions 67, 54, 19 below · fixed: 7a, 20, 34, 41, 48, 24b, 26b
 * built: external (K1 "Cobalt, Unbounded + Inter", approved 2026-11-04) · redesign: polish · v2.0.0 */
/* Owner decision (PLAN.md §3.4), not a sloplint waiver (floor gates cannot be waived):
 * 67 · .lab mono labels stay uppercase and tracked: the owner's taste, part of the approved K1 voice
 * 54 · eyebrows above headings stay: same reason; their copy carries no middle-dot strings
 * 19 · "Elevated" stays: it is the name of a risk band in the job score, not a buzzword */
/* Hallmark · dismissed 25 · short captions in the verdict board, the weekly answer and newsletter cards stay under 45ch to fit their tiles */
/* Hallmark · answered F4 · the Save and Share pair are outlined ghost pills on the article head, neither one is filled */
/* gptx.io, K1 "Cobalt, Unbounded + Inter".
   One stylesheet for the whole site. Light theme by default,
   dark from the system setting or the toggle ([data-theme] on <html>). */

/* ---------- Fonts (self-hosted, Latin) ---------- */
@font-face{font-family:"Inter Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(../fonts/inter-latin-wght.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Unbounded Variable";font-style:normal;font-display:swap;font-weight:200 900;src:url(../fonts/unbounded-latin-wght.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"JetBrains Mono Variable";font-style:normal;font-display:swap;font-weight:100 800;src:url(../fonts/jetbrains-mono-latin-wght.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* Fallback fonts with matched metrics, so nothing shifts while the web fonts load (CLS) */
@font-face{font-family:"Inter Fallback";src:local("Arial"),local("Liberation Sans");size-adjust:107%;ascent-override:90.54%;descent-override:22.54%;line-gap-override:0%}
@font-face{font-family:"Unbounded Fallback";src:local("Arial Bold"),local("Arial-BoldMT"),local("Liberation Sans Bold");size-adjust:130%;ascent-override:76%;descent-override:18.8%;line-gap-override:0%}
@font-face{font-family:"Mono Fallback";src:local("Courier New"),local("Liberation Mono");size-adjust:100%;ascent-override:102%;descent-override:30%;line-gap-override:0%}

/* ---------- Tokens ---------- */
:root{
  color-scheme:light;
  --font-body:"Inter Variable","Inter Fallback",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --font-display:"Unbounded Variable","Unbounded Fallback",Arial,sans-serif;
  --font-mono:"JetBrains Mono Variable","Mono Fallback",ui-monospace,SFMono-Regular,Menlo,monospace;

  /* display scale: each size has its own phone minimum */
  --d-xxl:clamp(64px,10vw,160px);
  --d-xl:clamp(44px,4vw + 28px,84px);
  --d-l:clamp(30px,3vw + 18px,62px);
  --d-la:clamp(28px,2.6vw + 18px,54px);
  --d-m:clamp(22px,.8vw + 18px,30px);
  --d-s:clamp(26px,.6vw + 22px,32px);
  --d-xs:clamp(18px,.3vw + 16px,22px);

  /* on the gradient (verdict board, Next up): the same in both themes */
  --grad-base:#23285E; --on-grad:#F6F7FC; --on-grad-ink:#121216;
  --on-grad-92:rgba(246,247,252,.92); --on-grad-90:rgba(246,247,252,.9); --on-grad-88:rgba(246,247,252,.88);
  --on-grad-85:rgba(246,247,252,.85); --on-grad-34:rgba(246,247,252,.34); --on-grad-28:rgba(246,247,252,.28);
  --on-grad-14:rgba(246,247,252,.14); --on-grad-12:rgba(246,247,252,.12);
  --shadow-bar:rgba(3,5,11,.35);

  --r-card:22px; --r-tile:16px; --r-ctl:12px; --r-pill:999px;
  --bp:760px;

  /* light theme */
  --bg:#E4E7EE; --shell:#F2F4F8; --card:#FFFFFF; --soft:#F4F6FA; --chip:#EBEEF5; --hover:#E8EBF2;
  --ink:#0E0F11; --ink-2:#3B3D42; --mute:#5F6168;
  --line:#E5E8EF; --ring:rgba(14,15,17,.09); --bar:#E1E5EE; --mark:#DFE3EC; --input:#FFFFFF;
  --shadow:0 0 0 1px rgba(14,15,17,.05),0 1px 2px rgba(14,15,17,.04);
  --acc:#2F50FF; --on-acc:#FFFFFF; --acc-text:#2F4BE0; --acc-soft:rgba(47,80,255,.09);
  --pill:#0E0F11; --on-pill:#F4F5F0;
  --hl-bg:linear-gradient(transparent 60%,rgba(47,80,255,.2) 60%,rgba(47,80,255,.2) 92%,transparent 92%);
  --hl-ink:var(--ink);
  --grad:radial-gradient(70% 55% at 90% 100%,rgba(255,196,140,.9) 0%,rgba(255,196,140,0) 70%),linear-gradient(165deg,#0B1440 0%,#2340C8 58%,#7FA0FF 100%);
}
:root[data-theme="dark"]{
  color-scheme:dark;
  --bg:#03050B; --shell:#0A0D16; --card:#131724; --soft:#191E2C; --chip:#1E2332; --hover:#1A1F2C;
  --ink:#F2F4FA; --ink-2:#C9CEDC; --mute:#99A0B3;
  --line:#232939; --ring:rgba(255,255,255,.08); --bar:#262C3E; --mark:#141927; --input:#0D111B;
  --shadow:0 0 0 1px rgba(255,255,255,.05);
  --acc:#7B90FF; --on-acc:#0B0D1F; --acc-text:#93A6FF; --acc-soft:rgba(123,144,255,.14);
  --pill:var(--acc); --on-pill:var(--on-acc);
  --hl-bg:none; --hl-ink:var(--acc-text);
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    color-scheme:dark;
    --bg:#03050B; --shell:#0A0D16; --card:#131724; --soft:#191E2C; --chip:#1E2332; --hover:#1A1F2C;
    --ink:#F2F4FA; --ink-2:#C9CEDC; --mute:#99A0B3;
    --line:#232939; --ring:rgba(255,255,255,.08); --bar:#262C3E; --mark:#141927; --input:#0D111B;
    --shadow:0 0 0 1px rgba(255,255,255,.05);
    --acc:#7B90FF; --on-acc:#0B0D1F; --acc-text:#93A6FF; --acc-soft:rgba(123,144,255,.14);
    --pill:var(--acc); --on-pill:var(--on-acc);
    --hl-bg:none; --hl-ink:var(--acc-text);
  }
}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{overflow-x:clip;-webkit-text-size-adjust:100%;scroll-padding-top:24px}
body{overflow-x:clip;margin:0;background:var(--bg);color:var(--ink);font-family:var(--font-body);font-feature-settings:"cv11" 1;font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button,input{font:inherit;color:inherit}
button{cursor:pointer}
input::placeholder{color:var(--mute)}
img,svg{display:block}
h1,h2,h3,p,ol,ul,dl,dd,figure{margin:0}
ol,ul{padding:0;list-style:none}
:focus-visible{outline:2px solid var(--acc-text);outline-offset:2px}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:absolute;left:12px;top:-60px;z-index:50;padding:8px 12px;border-radius:10px;background:var(--pill);color:var(--on-pill);font-weight:700}
.skip-link:focus{top:12px}
.num{font-variant-numeric:tabular-nums}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* ---------- Type voices ---------- */
.disp{font-family:var(--font-display);font-weight:700;letter-spacing:-.035em;line-height:1}
.lab{font-family:var(--font-mono);font-size:11.5px;font-weight:500;line-height:1.45;letter-spacing:.08em;text-transform:uppercase}
.mute{color:var(--mute)}
.acc-text{color:var(--acc-text)}
.hl{background-image:var(--hl-bg);color:var(--hl-ink);padding:0 .04em}
.link-u{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.25em;text-decoration-color:var(--acc-text)}
.more{display:inline-flex;align-items:center;min-height:44px;flex:none;font-weight:650;color:var(--acc-text)}

/* ---------- Layout ---------- */
.page{min-height:100vh;padding:clamp(0px,calc((100vw - 480px) * .05),16px)}
.shell{max-width:1600px;margin:0 auto;background:var(--shell);display:flex;flex-direction:column;gap:16px;
  padding:clamp(8px,calc((100vw - 400px) * .02 + 8px),20px);border-radius:clamp(0px,calc((100vw - 400px) * .03),26px)}
.stack{display:flex;flex-direction:column;gap:16px;min-width:0}
.stack > *,.stack > .card{flex:none}
.row{display:flex;flex-wrap:wrap;gap:16px;align-items:stretch}
.card{flex:1 1 400px;min-width:0;background:var(--card);color:var(--ink);border-radius:var(--r-card);box-shadow:var(--shadow);padding:clamp(20px,2vw,28px);display:flex;flex-direction:column;gap:12px}
.card__head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap}
.card__title{font-size:var(--d-m)}
.card__sub{margin-top:8px;font-size:15px;color:var(--mute)}
.hov:hover{background:var(--hover)}

/* ---------- Header ---------- */
.topbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px;padding:2px 4px 8px}
.logo{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:var(--d-xs)}
.logo__mark{width:32px;height:32px;flex:none}
.topnav{display:flex;gap:2px;flex:1 1 auto;min-width:0;overflow-x:auto;scrollbar-width:none}
.topnav::-webkit-scrollbar{display:none}
.topnav a{flex:none;white-space:nowrap;min-height:42px;display:inline-flex;align-items:center;padding:0 12px;border-radius:var(--r-pill);font-weight:550;font-size:15px}
.topnav a:hover{background:var(--hover)}
.topnav a[aria-current="page"]{background:var(--pill);color:var(--on-pill);font-weight:650}
.topact{display:flex;align-items:center;gap:8px;margin-left:auto}
.icon-btn{width:44px;height:44px;border:0;border-radius:var(--r-pill);background:transparent;box-shadow:inset 0 0 0 1px var(--ring);display:inline-flex;align-items:center;justify-content:center}
.icon-btn:hover{background:var(--hover)}
.pill-btn{min-height:44px;display:inline-flex;align-items:center;gap:8px;padding:0 12px;border:0;border-radius:var(--r-pill);background:transparent;box-shadow:inset 0 0 0 1px var(--ring);font-weight:600;font-size:15px}
.pill-btn:hover{background:var(--hover)}
.count{font-family:var(--font-mono);font-size:11.5px;line-height:1.45;padding:2px 8px;border-radius:4px;background:var(--acc);color:var(--on-acc)}
.theme-btn .i-moon{display:block}.theme-btn .i-sun{display:none}
:root[data-theme="dark"] .theme-btn .i-moon{display:none}
:root[data-theme="dark"] .theme-btn .i-sun{display:block}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .theme-btn .i-moon{display:none}
  :root:not([data-theme="light"]) .theme-btn .i-sun{display:block}
}

/* ---------- Buttons ---------- */
.btn{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 16px;border:0;border-radius:var(--r-ctl);font-weight:700;font-size:15px;white-space:nowrap}
.btn--acc{background:var(--acc);color:var(--on-acc)}
.btn--pill{background:var(--pill);color:var(--on-pill)}
.btn--ghost{background:transparent;box-shadow:inset 0 0 0 1px var(--ring);font-weight:650}
.btn--ghost:hover{background:var(--hover)}
.btn--round{border-radius:var(--r-pill)}
.btn[aria-pressed="true"].js-save{background:var(--acc);color:var(--on-acc);box-shadow:none}
.btn[aria-pressed="true"].js-save svg{fill:currentColor}

/* ---------- Home: first screen ---------- */
.hero{flex:1.25 1 460px;padding:clamp(20px,3vw,44px);justify-content:space-between;gap:28px}
.hero__title{font-size:var(--d-l);max-width:9em;text-wrap:balance}
.hero__lead{font-size:clamp(17px,.3vw + 16px,20px);color:var(--ink-2);max-width:32em}
.search{display:flex;gap:4px;padding:4px;border-radius:14px;background:var(--soft);box-shadow:inset 0 0 0 1px var(--ring)}
.search input{flex:1;min-width:0;height:52px;padding:0 12px;border:0;outline:none;background:transparent;font-size:17px}
.search .btn{height:52px;border-radius:11px}
.chips{display:flex;gap:8px;align-items:center;overflow-x:auto;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{flex:none;white-space:nowrap;min-height:38px;display:inline-flex;align-items:center;padding:0 12px;border-radius:var(--r-pill);box-shadow:inset 0 0 0 1px var(--ring);font-size:14px;color:var(--ink-2)}
.chip:hover{background:var(--hover)}
.chip[aria-current="true"]{background:var(--acc-soft);color:var(--ink);font-weight:700}

/* Verdict board on the gradient */
.board{flex:1 1 400px;min-width:0;min-height:clamp(400px,20vw + 240px,540px);border-radius:var(--r-card);padding:clamp(20px,2.4vw,32px);color:var(--on-grad);background-color:var(--grad-base);background-image:var(--grad);display:flex;flex-direction:column;gap:12px}
.board__top{display:flex;justify-content:space-between;align-items:center}
.board__tag{padding:4px 12px;border-radius:var(--r-pill);background:var(--on-grad-14);box-shadow:inset 0 0 0 1px var(--on-grad-28)}
.board__q{margin-top:12px;font-size:clamp(22px,.6vw + 20px,28px);font-weight:650;line-height:1.15}
.board__v{font-size:var(--d-xl);text-transform:uppercase}
.board__r{color:var(--on-grad-92);max-width:38ch}
.board__meta{color:var(--on-grad-85)}
.board__switch{margin-top:auto;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.board__switch button{min-height:44px;padding:0 16px;border:0;border-radius:var(--r-pill);background:var(--on-grad-12);box-shadow:inset 0 0 0 1px var(--on-grad-34);color:var(--on-grad);font-weight:550}
.board__switch button[aria-pressed="true"]{background:var(--on-grad);color:var(--on-grad-ink);box-shadow:none;font-weight:650}
.board__switch a{margin-left:auto;min-height:44px;display:inline-flex;align-items:center;font-weight:650;text-decoration:underline;text-underline-offset:.3em}

/* Continue strip */
.continue{flex-direction:row;flex-wrap:wrap;align-items:center;gap:12px 20px;padding:16px 16px}
.continue__title{font-weight:750;font-size:17px}
.continue__list{flex:1 1 400px;min-width:0;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}
.continue__list::-webkit-scrollbar{display:none}
.continue__item{flex:1 0 240px;display:flex;flex-direction:column;gap:8px;padding:12px 12px;border-radius:14px;background:var(--soft)}
.continue__item:hover{background:var(--hover)}
.continue__row{display:flex;justify-content:space-between;gap:8px}
.continue__name{font-size:16px;font-weight:650;line-height:1.3}
.progress{height:4px;border-radius:2px;background:var(--bar);overflow:hidden}
.progress > span{display:block;height:100%;border-radius:2px;background:var(--acc)}

/* Tool tiles */
.tools-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(148px,46%),1fr));gap:8px}
.tool-tile{display:flex;flex-direction:column;justify-content:space-between;gap:16px;min-height:146px;padding:12px;border-radius:var(--r-tile);background:var(--soft)}
.tool-tile:hover{background:var(--hover)}
.tool-tile__top{display:flex;justify-content:space-between}
.tool-tile__code{font-size:var(--d-s)}
.tool-tile__name{font-size:14px;font-weight:650;line-height:1.25}

/* Jobs index */
.jobs{border-top:1px solid var(--line)}
.jobs li>*{display:grid;grid-template-columns:minmax(0,1fr) minmax(3.5rem,9rem) auto;align-items:center;gap:12px;min-height:58px;padding:8px;margin:0 -8px;border-radius:8px;border-bottom:1px solid var(--line)}
.jobs a:hover{background:var(--hover)}
.jobs__name{font-size:16px;font-weight:600;line-height:1.25}
.jobs__score{min-width:2ch;font-size:var(--d-xs);text-align:right}
.bar{height:8px;border-radius:3px;background:var(--bar);overflow:hidden}
.bar > span{display:block;height:100%;border-radius:3px;background:var(--acc)}
.bar--thin{height:4px;border-radius:0}.bar--thin > span{border-radius:0}

/* Week card */
.week{flex:1 1 320px;min-height:340px;background:var(--acc);color:var(--on-acc);box-shadow:none}
.week__row{display:flex;justify-content:space-between}
.week__big{margin-top:8px;font-size:var(--d-xl)}
.week__title{margin-top:8px;font-size:21px;line-height:1.2;font-weight:750}
.week__text{font-size:15px;max-width:34ch}
.week .btn{margin-top:auto;align-self:flex-start;background:var(--on-acc);color:var(--acc)}

/* Guides list */
.guides{border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));column-gap:28px}
.guides li>*{display:grid;grid-template-columns:2.2rem minmax(0,1fr) auto;gap:12px;align-items:baseline;padding:12px 8px;margin:0 -8px;border-radius:8px;border-bottom:1px solid var(--line)}
.guides a:hover{background:var(--hover)}
.guides__title{display:block;margin-top:2px;font-size:17px;font-weight:650;line-height:1.3}

/* Newsletter (unused) */
.newsletter{border-radius:var(--r-card);padding:clamp(24px,3.4vw,48px);background:var(--pill);color:var(--on-pill);display:flex;flex-wrap:wrap;gap:24px 48px;align-items:flex-end}
.newsletter__copy{flex:1 1 340px;display:flex;flex-direction:column;gap:8px}
.newsletter__title{font-size:var(--d-la)}
.newsletter__copy p{max-width:44ch;opacity:.88}
.newsletter form{flex:1 1 340px;display:flex;flex-direction:column;gap:8px}
.newsletter label{opacity:.82}
.newsletter .field{display:flex;flex-wrap:wrap;gap:8px}
.newsletter input{flex:1 1 200px;min-width:0;height:54px;padding:0 16px;border-radius:var(--r-ctl);border:0;background:var(--card);color:var(--ink);font-size:16px}
.newsletter .btn{height:54px;padding:0 24px;background:var(--on-pill);color:var(--pill)}

/* Footer */
.footer{padding:20px 8px 8px;display:flex;flex-direction:column;gap:16px}
.footer__mark{font-size:var(--d-xxl);line-height:.78;color:var(--mark);user-select:none}
/* Decorative wordmark drawn as generated content, so it is not text for contrast checks. */
.footer__mark::before{content:attr(data-mark)}
.footer__cols{display:flex;flex-wrap:wrap;gap:20px 48px;padding-top:16px;border-top:1px solid var(--line);font-size:15px}
.footer__about{flex:2 1 260px;max-width:34ch;color:var(--ink-2)}
.footer__cols nav{flex:1 1 140px;display:flex;flex-direction:column;gap:8px}
.footer__cols nav a:hover{color:var(--acc-text)}

/* ---------- Article page ---------- */
.sheet{background:var(--card);box-shadow:var(--shadow);padding:clamp(16px,3.4vw,56px);border-radius:clamp(16px,1.6vw,24px);display:flex;flex-direction:column;gap:clamp(20px,2.4vw,32px)}
.article-head{display:flex;flex-direction:column;gap:12px;max-width:980px}
.crumbs ol{display:flex;gap:8px;font-size:14px;color:var(--mute);white-space:nowrap;overflow-x:auto;scrollbar-width:none}
.crumbs li+li::before{content:"/";margin-right:8px}
.crumbs a:hover{color:var(--ink)}
.article-head h1{font-size:var(--d-la);max-width:11em;text-wrap:balance}
.article-head__lead{font-size:clamp(17px,.3vw + 16px,20px);line-height:1.5;color:var(--ink-2);max-width:46ch}
.article-head__meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;padding-top:12px;border-top:1px solid var(--line)}
.byline{display:flex;flex-wrap:wrap;gap:2px 12px;font-size:14px;color:var(--ink-2)}
.actions{display:flex;gap:8px}
.head-art{display:none}
@media (min-width:1100px){
  .article-head--art{position:relative;max-width:none;min-height:228px;padding-right:276px}
  .head-art{display:block;position:absolute;top:0;bottom:0;right:0;width:228px;height:228px;margin:auto 0;border-radius:var(--r-card);color:var(--on-grad);background-color:var(--grad-base);background-image:var(--grad)}
  .head-art svg{display:block;width:100%;height:100%}
}

/* Short answer */
.answer{border-radius:18px;box-shadow:inset 0 0 0 1px var(--line);overflow:hidden}
.answer__bar{height:5px;background:var(--acc)}
.answer__main{display:flex;flex-wrap:wrap}
.answer__verdict{flex:1.6 1 380px;min-width:0;padding:clamp(16px,2.6vw,36px);display:flex;flex-direction:column;gap:12px}
.answer__word{font-size:var(--d-xl);text-transform:uppercase}
.answer__text{margin-top:4px;font-size:clamp(17px,.4vw + 16px,20px);line-height:1.45;max-width:40ch}
.answer__score{flex:1 1 260px;min-width:0;padding:clamp(16px,2.6vw,36px);border-left:1px solid var(--line);display:flex;flex-direction:column;gap:8px;background:var(--soft)}
.answer__num{margin-top:2px;display:flex;align-items:baseline;gap:8px}
.answer__num .disp{font-size:var(--d-xl)}
.badge{align-self:flex-start;padding:4px 8px;border-radius:4px;background:var(--acc);color:var(--on-acc)}
.meter{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:4px;max-width:20rem;margin-top:4px}
.meter span{height:12px;border-radius:2px;background:var(--bar)}
.meter span.on{background:var(--acc)}
.answer__facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(170px,46%),1fr));border-top:1px solid var(--line)}
.answer__facts > div{padding:12px clamp(12px,1.6vw,20px);box-shadow:inset -1px 0 0 var(--line),inset 0 -1px 0 var(--line)}
.answer__facts dd{margin-top:4px;font-size:15px;font-weight:600;line-height:1.35}
.answer__watch{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;padding:12px clamp(12px,1.6vw,20px);background:var(--acc-soft);font-size:15px;font-weight:600}
@media (max-width:760px){.answer__score{border-left:0;border-top:1px solid var(--line)}}

/* Contents chips on phones */
.mtoc{display:none;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 calc(clamp(16px,3.4vw,56px) * -1);padding:0 clamp(16px,3.4vw,56px)}
.mtoc::-webkit-scrollbar{display:none}

/* Article column and rail */
.article-grid{display:flex;flex-wrap:wrap;gap:40px 56px;align-items:flex-start}
.prose{flex:999 1 560px;min-width:0;max-width:740px;display:flex;flex-direction:column;gap:16px;font-size:18px;line-height:1.72;color:var(--ink-2)}
.prose > p{max-width:66ch;text-wrap:pretty}
.prose h2{margin-top:36px;font-size:var(--d-m);color:var(--ink)}
.prose h2.first{margin-top:0}

/* Data tables in page copy: a bordered card, caption as its head, mono column labels like the task table */
.table-wrap{max-width:100%;overflow-x:auto;border:1px solid var(--line);border-radius:var(--r-tile);background:var(--card)}
.table-wrap table{width:100%;border-collapse:collapse;font-size:16px;line-height:1.5;color:var(--ink-2)}
.table-wrap caption{padding:14px 16px 12px;text-align:left;font-size:15px;font-weight:650;line-height:1.4;color:var(--ink);background:var(--soft);border-bottom:1px solid var(--line);text-wrap:pretty}
.table-wrap th,.table-wrap td{padding:12px 16px;text-align:left;vertical-align:top;overflow-wrap:break-word}
.table-wrap thead th{padding-top:10px;padding-bottom:10px;font-family:var(--font-mono);font-size:11.5px;font-weight:500;line-height:1.45;letter-spacing:.08em;text-transform:uppercase;color:var(--mute);border-bottom:1px solid var(--line);vertical-align:bottom}
.table-wrap tbody tr + tr > *{border-top:1px solid var(--line)}
.table-wrap tbody td:first-child,.table-wrap tbody th{font-weight:600;color:var(--ink)}
.table-wrap td > code,.table-wrap td code{font-family:var(--font-mono);font-size:.9em}

/* Tool */
.tool{border-radius:18px;box-shadow:inset 0 0 0 1px var(--line);overflow:clip;color:var(--ink);font-size:16px;line-height:1.5}
.tool__head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:8px 20px;padding:16px clamp(12px,1.6vw,20px);background:var(--soft);border-bottom:1px solid var(--line)}
.tool__head h2{margin-top:4px;font-size:var(--d-m)}
.tool__intro{padding:12px clamp(12px,1.6vw,20px) 2px;color:var(--ink-2)}
.tool__tasks{padding:0 clamp(12px,1.6vw,20px) 8px}
.tasks__head{display:flex;justify-content:space-between;gap:20px;padding:14px 0 6px;border-bottom:1px solid var(--line)}
.tasks__head .lab:last-child{width:282px;text-align:center}
.task{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 20px;padding:14px 0;border:0;border-bottom:1px solid var(--line);margin:0;min-inline-size:0}
.task legend{float:left;flex:1 1 220px;padding:0}
.task__name{display:block;font-weight:650}
.task__exp{display:flex;align-items:center;gap:8px;margin-top:2px;color:var(--mute);font-size:14px}
.dot{flex:none;width:9px;height:9px;border-radius:50%;background:var(--acc)}
.dot--e2{opacity:.45}
.dot--e0{background:none;box-shadow:inset 0 0 0 1.5px var(--mute)}
/* Segmented control: a filled track, equal segments, the pick in the accent */
.seg{position:relative;display:inline-grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:3px;padding:3px;border-radius:var(--r-ctl);background:var(--chip)}
.seg--3{width:282px}
.seg input{position:absolute;opacity:0;width:1px;height:1px}
.seg label{min-width:84px;min-height:44px;display:flex;align-items:center;justify-content:center;padding:4px 10px;border-radius:9px;color:var(--ink-2);font-weight:600;font-size:15px;line-height:1.2;text-align:center;cursor:pointer}
.seg label:hover{background:var(--card);color:var(--ink)}
.seg input:checked + label{background:var(--acc);color:var(--on-acc);font-weight:650;box-shadow:0 1px 2px rgba(14,15,17,.12)}
.seg input:focus-visible + label{outline:2px solid var(--acc-text);outline-offset:2px}
/* Controls stacked: the legend over a full-width control (water, API cost) */
.tool__ctls{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));column-gap:24px;padding-top:4px}
.task--ctl{flex-direction:column;align-items:stretch}
.task--ctl legend{float:none;flex:none}
.task--ctl .seg{display:grid;width:100%}
.task--ctl .seg label{min-width:0;padding:4px 6px}
.task--wide{grid-column:1 / -1}
/* Result: pinned to the bottom of the screen while the controls scroll (desktop) */
.tool__result{display:flex;flex-wrap:wrap;align-items:center;gap:14px 24px;margin:12px clamp(12px,1.6vw,20px) 4px;padding:16px 18px;border-radius:14px;background:var(--pill);color:var(--on-pill);box-shadow:0 14px 32px -14px var(--shadow-bar)}
.tool__state{flex:1 1 280px;display:grid;gap:6px}
.tool__score{display:flex;align-items:baseline;gap:8px}
.tool__score .disp{font-size:var(--d-s)}
.tool__bar{height:6px;background:color-mix(in srgb,currentColor 22%,transparent)}
.tool__bar > span{background:currentColor;transition:width .3s ease}
.tool__driver{font-size:15px;opacity:.92;overflow-wrap:anywhere}
.browser-steps > div{display:none}
.tool:has([value=chrome]:checked) [data-steps=chrome],.tool:has([value=edge]:checked) [data-steps=edge],.tool:has([value=firefox]:checked) [data-steps=firefox],.tool:has([value=safari]:checked) [data-steps=safari],.tool:has([value=android]:checked) [data-steps=android],.tool:has([value=iphone]:checked) [data-steps=iphone]{display:block}
/* Pickers of wave 3 guides (data-pick): the same show-the-checked-steps rule as the browser steps above. */
.tool:has([value=gemini]:checked) [data-steps=gemini],.tool:has([value=copilot]:checked) [data-steps=copilot],.tool:has([value=apple]:checked) [data-steps=apple],.tool:has([value=meta]:checked) [data-steps=meta],.tool:has([value=web]:checked) [data-steps=web],.tool:has([value=business]:checked) [data-steps=business],.tool:has([value=claude-code]:checked) [data-steps=claude-code],.tool:has([value=claude-desktop]:checked) [data-steps=claude-desktop],.tool:has([value=cursor]:checked) [data-steps=cursor],.tool:has([value=free]:checked) [data-steps=free],.tool:has([value=memory]:checked) [data-steps=memory],.tool:has([value=voice]:checked) [data-steps=voice],.tool:has([value=mature]:checked) [data-steps=mature],.tool:has([value=solo]:checked) [data-steps=solo],.tool:has([value=couple]:checked) [data-steps=couple],.tool:has([value=family]:checked) [data-steps=family],.tool:has([value=pet]:checked) [data-steps=pet]{display:block}
/* Pickers of wave 3b guides: same rule for their values. */
.tool:has([value=figure]:checked) [data-steps=figure],.tool:has([value=chibi]:checked) [data-steps=chibi],.tool:has([value=tiny]:checked) [data-steps=tiny],.tool:has([value=diorama]:checked) [data-steps=diorama],.tool:has([value=selfie]:checked) [data-steps=selfie],.tool:has([value=edit]:checked) [data-steps=edit],.tool:has([value=product]:checked) [data-steps=product],.tool:has([value=style]:checked) [data-steps=style],.tool:has([value=firefly]:checked) [data-steps=firefly],.tool:has([value=runway]:checked) [data-steps=runway],.tool:has([value=chat]:checked) [data-steps=chat],.tool:has([value=code]:checked) [data-steps=code],.tool:has([value=video]:checked) [data-steps=video],.tool:has([value=local]:checked) [data-steps=local],.tool:has([value=mac]:checked) [data-steps=mac],.tool:has([value=windows]:checked) [data-steps=windows],.tool:has([value=phone]:checked) [data-steps=phone],.tool:has([value=create]:checked) [data-steps=create]{display:block}
/* Pickers of wave 3c pages: same rule for their values. */
.tool:has([value=work]:checked) [data-steps=work],.tool:has([value=write]:checked) [data-steps=write],.tool:has([value=learn]:checked) [data-steps=learn],.tool:has([value=me]:checked) [data-steps=me],.tool:has([value=grad]:checked) [data-steps=grad],.tool:has([value=switch]:checked) [data-steps=switch],.tool:has([value=same]:checked) [data-steps=same],.tool:has([value=image]:checked) [data-steps=image],.tool:has([value=motion]:checked) [data-steps=motion],.tool:has([value=search]:checked) [data-steps=search],.tool:has([value=atlas]:checked) [data-steps=atlas],.tool:has([value=desktop]:checked) [data-steps=desktop],.tool:has([value=home]:checked) [data-steps=home],.tool:has([value=nolicense]:checked) [data-steps=nolicense],.tool:has([value=missing]:checked) [data-steps=missing],.tool:has([value=ram8]:checked) [data-steps=ram8],.tool:has([value=ram16]:checked) [data-steps=ram16],.tool:has([value=ram32]:checked) [data-steps=ram32],.tool:has([value=ram64]:checked) [data-steps=ram64]{display:block}
/* Pickers of wave 3d pages: same rule for their values. */
.tool:has([value=openai]:checked) [data-steps=openai],.tool:has([value=anthropic]:checked) [data-steps=anthropic],.tool:has([value=xai]:checked) [data-steps=xai],.tool:has([value=reason]:checked) [data-steps=reason],.tool:has([value=party]:checked) [data-steps=party],.tool:has([value=game]:checked) [data-steps=game],.tool:has([value=story]:checked) [data-steps=story],.tool:has([value=weird]:checked) [data-steps=weird],.tool:has([value=chatgpt]:checked) [data-steps=chatgpt],.tool:has([value=claude]:checked) [data-steps=claude],.tool:has([value=superbowl]:checked) [data-steps=superbowl],.tool:has([value=us]:checked) [data-steps=us],.tool:has([value=uk]:checked) [data-steps=uk],.tool:has([value=french]:checked) [data-steps=french]{display:block}
/* Pickers of release 0.0.18 pages: same rule for their values. */
.tool:has([value=install]:checked) [data-steps=install],.tool:has([value=use]:checked) [data-steps=use],.tool:has([value=off]:checked) [data-steps=off],.tool:has([value=remove]:checked) [data-steps=remove],.tool:has([value=office]:checked) [data-steps=office],.tool:has([value=coding]:checked) [data-steps=coding],.tool:has([value=try]:checked) [data-steps=try],.tool:has([value=dropin]:checked) [data-steps=dropin],.tool:has([value=private]:checked) [data-steps=private],.tool:has([value=browser]:checked) [data-steps=browser],.tool:has([value=workspace]:checked) [data-steps=workspace],.tool:has([value=large]:checked) [data-steps=large],.tool:has([value=frontline]:checked) [data-steps=frontline],.tool:has([value=user]:checked) [data-steps=user],.tool:has([value=developer]:checked) [data-steps=developer],.tool:has([value=partner]:checked) [data-steps=partner],.tool:has([value=admin]:checked) [data-steps=admin]{display:block}
/* Pickers of wave 4 pages: same rule for their values. */
.tool:has([value=light]:checked) [data-steps=light],.tool:has([value=daily]:checked) [data-steps=daily],.tool:has([value=heavy]:checked) [data-steps=heavy],.tool:has([value=team]:checked) [data-steps=team],.tool:has([value=basic]:checked) [data-steps=basic],.tool:has([value=research]:checked) [data-steps=research],.tool:has([value=google]:checked) [data-steps=google],.tool:has([value=ide]:checked) [data-steps=ide],.tool:has([value=agent]:checked) [data-steps=agent]{display:block}
/* Pickers of release 0.0.14 pages: same rule for their values. */
.tool:has([value=avatar]:checked) [data-steps=avatar],.tool:has([value=chart]:checked) [data-steps=chart],.tool:has([value=student]:checked) [data-steps=student],.tool:has([value=teacher]:checked) [data-steps=teacher],.tool:has([value=writer]:checked) [data-steps=writer]{display:block}
/* Pickers of release 0.0.15 pages. */
.tool:has([value=api]:checked) [data-steps=api],.tool:has([value=app]:checked) [data-steps=app],.tool:has([value=budget]:checked) [data-steps=budget],.tool:has([value=college]:checked) [data-steps=college],.tool:has([value=cool]:checked) [data-steps=cool],.tool:has([value=figma]:checked) [data-steps=figma],.tool:has([value=linux]:checked) [data-steps=linux],.tool:has([value=marketer]:checked) [data-steps=marketer],.tool:has([value=mobile]:checked) [data-steps=mobile],.tool:has([value=neutral]:checked) [data-steps=neutral],.tool:has([value=npm]:checked) [data-steps=npm],.tool:has([value=olive]:checked) [data-steps=olive],.tool:has([value=other]:checked) [data-steps=other],.tool:has([value=paid]:checked) [data-steps=paid],.tool:has([value=privacy]:checked) [data-steps=privacy],.tool:has([value=school]:checked) [data-steps=school],.tool:has([value=warm]:checked) [data-steps=warm]{display:block}
/* Pickers of release 0.0.16 pages. */
.tool:has([value=codex]:checked) [data-steps=codex],.tool:has([value=manual]:checked) [data-steps=manual],.tool:has([value=company]:checked) [data-steps=company],.tool:has([value=small]:checked) [data-steps=small],.tool:has([value=nonprofit]:checked) [data-steps=nonprofit],.tool:has([value=cloud]:checked) [data-steps=cloud],.tool:has([value=cheap]:checked) [data-steps=cheap],.tool:has([value=plus]:checked) [data-steps=plus],.tool:has([value=pro]:checked) [data-steps=pro],.tool:has([value=agents]:checked) [data-steps=agents],.tool:has([value=study]:checked) [data-steps=study],.tool:has([value=container]:checked) [data-steps=container],.tool:has([value=ci]:checked) [data-steps=ci]{display:block}
/* Pickers of release 0.0.17 pages. */
.tool:has([value=srv16]:checked) [data-steps=srv16],.tool:has([value=srv32]:checked) [data-steps=srv32],.tool:has([value=srv96]:checked) [data-steps=srv96],.tool:has([value=srvmac]:checked) [data-steps=srvmac],.tool:has([value=anyone]:checked) [data-steps=anyone],.tool:has([value=guest]:checked) [data-steps=guest],.tool:has([value=builder]:checked) [data-steps=builder],.tool:has([value=lite]:checked) [data-steps=lite],.tool:has([value=max]:checked) [data-steps=max],.tool:has([value=general]:checked) [data-steps=general],.tool:has([value=expert]:checked) [data-steps=expert],.tool:has([value=coder]:checked) [data-steps=coder],.tool:has([value=parent]:checked) [data-steps=parent]{display:block}
.tool__empty{flex:1 1 240px;font-size:15px}
.tool__btns{display:flex;flex-wrap:wrap;gap:8px}
.tool__btns .btn{min-height:44px;font-size:14px;padding:0 16px}
.tool__btns .btn--inv{background:var(--on-pill);color:var(--pill)}
.tool__btns .btn--line{background:transparent;color:inherit;box-shadow:inset 0 0 0 1px currentColor;font-weight:600}
.tool__links{display:flex;flex-wrap:wrap;gap:8px 16px;padding:12px clamp(12px,1.6vw,20px);font-size:14px;font-weight:600}
.tool .task-table{border-top:0}
.tool .task-table .tr{grid-template-columns:minmax(0,1fr) minmax(6.5rem,38%)}
.tool .task-table .tr__exp{align-items:stretch}
.tool .task-table .tr__exp > span:first-child{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:flex-end;gap:2px 8px}
.tool .task-table .tr__name{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.tool .badge{align-self:center}
@media (max-width:560px){
  .tasks__head .lab:first-child{display:none}
  .tasks__head .lab:last-child{width:auto;text-align:left}
  .task .seg{width:100%}
  .seg label{min-width:0}
  .task--wide .seg{grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:761px){.tool__tasks ~ .tool__result{position:sticky;bottom:12px;z-index:2}}
[hidden]{display:none!important}

/* Task table */
.task-table{border-top:1px solid var(--line);font-size:16px;line-height:1.5}
.task-table .tr{display:grid;grid-template-columns:minmax(0,1fr) 6.5rem;gap:4px 16px;padding:12px 0;border-bottom:1px solid var(--line)}
.task-table .tr__name{font-weight:650;color:var(--ink)}
.task-table .tr__exp{grid-row:span 2;display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.task-table .tr__exp .disp{font-size:var(--d-xs);color:var(--ink)}
.task-table .tr__what{color:var(--ink-2);font-size:15px}
.task-table .bar{width:100%}

/* Callout, related card */
.callout{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:baseline;padding:16px 20px;border-radius:14px;background:var(--acc-soft);color:var(--ink);font-size:17px;line-height:1.55}
.callout .badge{flex:none}
.related-inline{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 16px;align-items:center;padding:16px 16px;border-radius:14px;box-shadow:inset 0 0 0 1px var(--line);color:var(--ink);font-size:16px;line-height:1.4}
.related-inline:hover{background:var(--hover)}
.related-inline .disp{grid-row:span 2;font-size:var(--d-s)}
.ad-slot{display:grid;place-items:center;min-height:280px;margin:8px 0;border-radius:14px;border:1px dashed var(--ring);background:var(--soft)}

/* Steps, FAQ, sources */
.steps{border-top:1px solid var(--line)}
.steps li{display:grid;grid-template-columns:2.8rem minmax(0,1fr);gap:8px;align-items:baseline;padding:12px 0;border-bottom:1px solid var(--line);color:var(--ink)}
.steps .disp{font-size:var(--d-xs);color:var(--acc-text)}
.faq{border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line);padding:16px 0}
.faq summary{display:flex;justify-content:space-between;gap:12px;font-weight:650;color:var(--ink);cursor:pointer;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-family:var(--font-mono);color:var(--acc-text)}
.faq details[open] summary::after{content:"−"}
.faq p{margin-top:8px}
.sources{padding-left:20px;list-style:decimal;display:flex;flex-direction:column;gap:8px;font-size:16px}
.sources a{color:var(--ink)}
.report{padding-top:12px;border-top:1px solid var(--line);font-size:15px;color:var(--mute)}
.report a{color:var(--ink)}

/* Next up on the gradient */
.next{margin-top:16px;display:flex;flex-direction:column;gap:12px;padding:clamp(20px,2.4vw,32px);border-radius:20px;color:var(--on-grad);background-color:var(--grad-base);background-image:var(--grad);font-size:16px;line-height:1.4}
.next__row{display:flex;justify-content:space-between;gap:12px;color:var(--on-grad-88)}
.next__main{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}
.next__title{font-size:var(--d-m);max-width:12em}
.next__score{font-size:var(--d-xl)}
.next p,.next__p{display:block;color:var(--on-grad-90)}

/* Rail */
.rail{flex:1 1 260px;min-width:0;position:sticky;top:24px;display:flex;flex-direction:column;gap:12px}
.toc{border-radius:16px;background:var(--soft);padding:16px;display:flex;flex-direction:column;gap:2px}
.toc a{display:grid;grid-template-columns:2rem minmax(0,1fr);gap:8px;align-items:baseline;padding:8px;margin:0 -8px;border-radius:8px;font-size:15px;color:var(--ink-2)}
.toc a:hover{background:var(--hover)}
.toc a .lab{color:var(--mute)}
.toc a[aria-current="true"]{color:var(--ink);font-weight:700}
.toc a[aria-current="true"] .lab{color:var(--acc-text)}
.toc .progress{margin-top:8px;height:5px;border-radius:3px}
.rel-jobs{border-radius:16px;box-shadow:inset 0 0 0 1px var(--line);padding:16px;display:flex;flex-direction:column;gap:8px}
.rel-jobs a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;align-items:center;padding:8px;margin:0 -8px;border-radius:8px}
.rel-jobs a:hover{background:var(--hover)}
.rel-jobs__q{font-size:14px;font-weight:600;line-height:1.3}
.rel-jobs .disp{font-size:var(--d-xs)}
.rel-jobs .bar{grid-column:1 / -1}
.comeback{border-radius:16px;padding:16px;background:var(--pill);color:var(--on-pill);display:flex;flex-direction:column;gap:8px}
.comeback span:last-child{font-size:14px;opacity:.9}

/* «Keep reading» */
.keep{display:flex;flex-direction:column;gap:12px;padding-top:8px}
.keep h2{margin:0 4px;font-size:var(--d-m)}
.keep__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:16px}
.keep__card{display:flex;flex-direction:column;justify-content:space-between;gap:16px;min-height:180px;padding:20px;border-radius:20px;background:var(--card);color:var(--ink);box-shadow:var(--shadow)}
.keep__card:hover{background:var(--hover)}
.keep__card .disp{font-size:var(--d-s)}
.keep__card .keep__t{font-size:17px;font-weight:650;line-height:1.3}

/* Phone bottom bar */
.mbar{display:none;position:sticky;bottom:0;z-index:5;align-items:center;justify-content:space-between;gap:8px;margin:0 -4px;padding:8px 12px;border-radius:16px;background:var(--card);box-shadow:0 0 0 1px var(--ring),0 12px 30px -10px var(--shadow-bar)}
.mbar__score{display:flex;flex-direction:column;line-height:1.25}
.mbar__score strong{font-weight:750}
.mbar__btns{display:flex;gap:8px}
.mbar .icon-btn{border-radius:var(--r-ctl)}
.mbar .icon-btn[aria-pressed="true"]{background:var(--acc);color:var(--on-acc);box-shadow:none}
.mbar .icon-btn[aria-pressed="true"] svg{fill:currentColor}
.mbar .btn{min-height:44px;font-size:14px;padding:0 16px}

/* ---------- Phone ---------- */
@media (max-width:760px){
  .topnav{order:3;flex-basis:100%}
  .topact{order:2}
  .hide-m{display:none!important}
  .mtoc{display:flex}
  .mbar{display:flex}
  .prose{font-size:17px}
  .table-wrap table{font-size:15px}
  .table-wrap caption{padding:12px 12px 10px}
  .table-wrap th,.table-wrap td{padding:10px 12px}
  .table-wrap thead th{padding-top:8px;padding-bottom:8px;letter-spacing:.04em}
  .rail{position:static}
}
/* Phones: each row becomes a card, the first cell its title, the other cells under their column names */
@media (max-width:560px){
  .table-wrap table,.table-wrap tbody,.table-wrap tr,.table-wrap td,.table-wrap tbody th,.table-wrap caption{display:block}
  .table-wrap thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .table-wrap tbody tr{padding:12px}
  .table-wrap tbody tr + tr{border-top:1px solid var(--line)}
  .table-wrap tbody tr + tr > *{border-top:0}
  .table-wrap tbody td,.table-wrap tbody th{padding:0}
  .table-wrap tbody tr > * + *{margin-top:8px}
  .table-wrap tbody tr > :first-child{font-size:16px}
  .table-wrap tbody tr > [data-label]:not(:first-child)::before{content:attr(data-label);display:block;margin-bottom:2px;font-family:var(--font-mono);font-size:11.5px;font-weight:500;line-height:1.45;letter-spacing:.04em;text-transform:uppercase;color:var(--mute)}
}

/* ---------- States ---------- */
.btn:active,.icon-btn:active,.pill-btn:active,.chip:active,.board__switch button:active,.seg label:active{transform:translateY(1px)}
.btn:disabled,.icon-btn:disabled,button:disabled{opacity:.5;cursor:not-allowed}

/* ---------- Theme port: classes that replace K1 inline styles ---------- */
.hero__copy{display:flex;flex-direction:column;gap:16px}
.hero__find{display:flex;flex-direction:column;gap:12px}
.chips__lab{flex:none;margin-right:4px}
.continue__head{display:flex;flex-direction:column}
.btn--sm{font-size:14px;min-height:44px}
.toc__head{padding-bottom:8px}
.comeback__t{font-weight:700}
.prose--solo{max-width:760px}
.sheet > .search{max-width:760px}
.actions-row{display:flex;flex-wrap:wrap;gap:12px}
.saved-empty{color:var(--mute)}
.card--wide{flex:1.1 1 440px} .card--wider{flex:1.6 1 460px}
.answer__note{margin-top:auto}
.callout__t{flex:1 1 260px}
.related-inline__k,.related-inline__t{display:block}
.related-inline__t{margin-top:2px;font-weight:700}
.related-inline__d{font-size:14px}
.tool__band{opacity:.85}
button.link-u{background:none;border:0;padding:0;font:inherit;cursor:pointer}
.status-bars{display:grid;grid-template-columns:repeat(24,1fr);gap:2px;min-height:28px}
.status-bar{border-radius:2px;background:var(--bar)}
.status-bar--ok{background:var(--acc)}
.status-bar--unknown{background:var(--mute)}
.status-bar--fail{background:var(--ink)}
.status-bars--reports{align-items:end}

/* ---------- Editorial visuals & interactive widgets (K1-native) ---------- */
.gx-fig{margin:8px 0;border:1px solid var(--line);border-radius:var(--r-tile);background:var(--soft);overflow:hidden}
.gx-fig img{width:100%;height:auto;display:block}
.gx-fig--diagram{padding:clamp(12px,2vw,20px);background:var(--soft)}
.gx-fig--diagram svg{width:100%;height:auto;display:block}
.gx-fig figcaption{padding:12px 16px;border-top:1px solid var(--line);background:var(--card);font-size:14px;line-height:1.45;color:var(--mute)}
.gx-fig--diagram figcaption{margin:16px calc(clamp(12px,2vw,20px) * -1) calc(clamp(12px,2vw,20px) * -1)}
.gx-fig-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:12px;margin:8px 0}
.gx-fig-grid .gx-fig{margin:0}

/* Copyable prompt / command snippet (no <pre>, wraps cleanly at 320px) */
.gx-snippet{border:1px solid var(--line);border-radius:var(--r-tile);background:var(--soft);overflow:hidden}
.gx-snippet__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px 8px 16px;border-bottom:1px solid var(--line);background:var(--card)}
.gx-snippet__body{padding:12px 16px;font-family:var(--font-mono);font-size:14px;line-height:1.55;color:var(--ink);overflow-wrap:anywhere}
.gx-snippet__body code{font-family:inherit;font-size:inherit}

/* Interactive diagnostic checklist */
.gx-checks{border:1px solid var(--line);border-radius:var(--r-tile);background:var(--card);overflow:hidden}
.gx-checks__head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;padding:12px 16px;background:var(--soft);border-bottom:1px solid var(--line)}
.gx-checks__list{display:flex;flex-direction:column}
.gx-check{display:flex;align-items:flex-start;gap:12px;padding:12px 16px;min-height:48px;border-bottom:1px solid var(--line);cursor:pointer;font-size:16px;line-height:1.45;color:var(--ink)}
.gx-check:last-child{border-bottom:0}
.gx-check:hover{background:var(--hover)}
.gx-check input{flex:none;width:20px;height:20px;margin:2px 0 0;accent-color:var(--acc);cursor:pointer}
.gx-check__body{display:flex;flex-direction:column;gap:4px;min-width:0}
.gx-check__note{font-size:14px;color:var(--mute)}
.gx-check:has(input:checked) .gx-check__title{text-decoration:line-through;color:var(--mute)}
.gx-checks__foot{padding:12px 16px;background:var(--acc-soft);font-size:15px;font-weight:600;color:var(--ink);border-top:1px solid var(--line)}

/* Interactive table filter pills */
.gx-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px}
.gx-filter{min-height:44px;padding:0 16px;border:0;border-radius:var(--r-pill);background:var(--chip);color:var(--ink-2);font-size:14px;font-weight:600}
.gx-filter:hover{background:var(--hover);color:var(--ink)}
.gx-filter[aria-pressed="true"]{background:var(--acc);color:var(--on-acc);font-weight:650}
.gx-filter-count{margin-left:auto;font-family:var(--font-mono);font-size:12px;color:var(--mute)}

/* Visual comparison bars & interactive estimator */
.gx-bars{border:1px solid var(--line);border-radius:var(--r-tile);padding:16px;background:var(--card);display:flex;flex-direction:column;gap:12px}
.gx-bar-row{display:flex;flex-direction:column;gap:4px}
.gx-bar-row__top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:15px}
.gx-bar-row__name{font-weight:650;color:var(--ink)}
.gx-bar-row__val{font-family:var(--font-mono);font-size:13px;color:var(--acc-text);font-weight:600}
.gx-est__out{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr));gap:12px;margin:12px clamp(12px,1.6vw,20px) 16px}
.gx-est__stat{padding:12px 16px;border-radius:12px;background:var(--soft);border:1px solid var(--line);display:flex;flex-direction:column;gap:4px}
.gx-est__stat strong{font-family:var(--font-display);font-size:var(--d-xs);color:var(--ink);font-variant-numeric:tabular-nums}
.gx-est__verdict{margin:0 clamp(12px,1.6vw,20px) 16px;padding:16px 16px;border-radius:12px;background:var(--pill);color:var(--on-pill);font-size:15px;line-height:1.45}
.gx-range{width:100%;height:36px;accent-color:var(--acc);cursor:pointer}
.gx-range-row{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:4px}
