/* SortedEV design system — see Docs/06_design_system.md. Hand-edit that doc, not this file's rules. */
:root{
  color-scheme:light;
  --bg:#fff; --surface:#fbfbf9; --sunken:#f4f4f1;
  --ink:#111214; --ink-2:#54565c; --ink-3:#7c7e85;
  --rule:#e4e4e0; --rule-strong:#c9c9c3;
  --brand:#0d6d75;
  --good:#0f6b3d; --careful:#8a5300; --avoid:#a12028;
  --s1:#2a78d6; --s1-band:rgba(42,120,214,.16); --s2:#eb6834;
  --amber-bg:#fff8e8; --amber-line:#c98b1a;
  --measure:68ch;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  color-scheme:dark;
  --bg:#0b0b0c; --surface:#17181a; --sunken:#202124;
  --ink:#f5f5f4; --ink-2:#b6b8bd; --ink-3:#8b8d94;
  --rule:#2a2b2e; --rule-strong:#3d3e42;
  --brand:#3fb3bd; --good:#3aa869; --careful:#d9a13a; --avoid:#e06b72;
  --s1:#3987e5; --s1-band:rgba(57,135,229,.20); --s2:#d95926;
  --amber-bg:#2a2113; --amber-line:#d9a13a;
}}
:root[data-theme="dark"]{
  color-scheme:dark;
  --bg:#0b0b0c; --surface:#17181a; --sunken:#202124;
  --ink:#f5f5f4; --ink-2:#b6b8bd; --ink-3:#8b8d94;
  --rule:#2a2b2e; --rule-strong:#3d3e42;
  --brand:#3fb3bd; --good:#3aa869; --careful:#d9a13a; --avoid:#e06b72;
  --s1:#3987e5; --s1-band:rgba(57,135,229,.20); --s2:#d95926;
  --amber-bg:#2a2113; --amber-line:#d9a13a;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased}
.wrap{max-width:1080px;margin:0 auto;padding:0 24px}
.measure{max-width:var(--measure)}
h1,h2,h3{line-height:1.2;letter-spacing:-.01em;margin:0}
h2{font-size:1.5rem;font-weight:600;margin-bottom:16px}
h3{font-size:1.125rem;font-weight:600;margin:32px 0 8px}
p{margin:0 0 16px}
a{color:var(--brand);text-underline-offset:3px}
:focus-visible{outline:2px solid var(--brand);outline-offset:2px;border-radius:3px}
section{padding:44px 0;border-top:1px solid var(--rule)}
@media(min-width:800px){section{padding:60px 0}}
.mast{display:flex;align-items:center;justify-content:space-between;padding:20px 0;gap:16px}
.logo{font-size:1.25rem;font-weight:600;letter-spacing:-.02em;text-decoration:none;color:var(--ink)}
.logo .ev{color:var(--brand)}
.tm{font-size:.6em;vertical-align:super;color:var(--ink-3)}
.mast nav{display:flex;gap:20px;font-size:.9375rem;flex-wrap:wrap}
.mast nav a{color:var(--ink-2);text-decoration:none}
.mast nav a:hover{color:var(--ink)}
.themebtn{background:none;border:1px solid var(--rule-strong);color:var(--ink-2);
  border-radius:999px;padding:5px 12px;font:inherit;font-size:.8125rem;cursor:pointer}
@media(max-width:720px){.mast{flex-wrap:wrap;row-gap:12px}
  .mast nav{order:3;width:100%;gap:16px;font-size:.875rem}}
.crumb{font-size:.8125rem;color:var(--ink-3);padding-top:24px}
.crumb a{color:var(--ink-3)}
.title{font-size:clamp(2rem,4.5vw,2.75rem);font-weight:600;margin:8px 0 12px}
.standfirst{font-size:1.1875rem;color:var(--ink-2);max-width:var(--measure)}
.verdict{background:#0b0b0c;color:#f5f5f4;margin-top:32px;border:0}
.verdict .wrap{padding-top:52px;padding-bottom:52px}
.verdict__eyebrow{font-size:.8125rem;letter-spacing:.14em;text-transform:uppercase;color:#8b8d94;margin-bottom:20px}
.verdict__word{font-size:clamp(2.5rem,6vw,4rem);font-weight:600;letter-spacing:-.03em;
  line-height:1.05;display:flex;align-items:center;gap:16px}
.v-good{color:#3aa869}.v-careful{color:#d9a13a}.v-avoid{color:#e06b72}
.verdict__because{font-size:1.25rem;color:#e8e8e6;max-width:56ch;margin-top:20px}
.verdict__meta{margin-top:28px;font-size:.875rem;color:#8b8d94}
.stats{display:grid;gap:1px;background:var(--rule);
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  border:1px solid var(--rule);border-radius:12px;overflow:hidden}
.stat{background:var(--surface);padding:24px}
.stat__k{font-size:.8125rem;color:var(--ink-2);margin-bottom:6px}
.stat__v{font-size:clamp(1.75rem,3vw,2.25rem);font-weight:600;letter-spacing:-.02em;line-height:1.1}
.stat__n{font-size:.8125rem;color:var(--ink-3);margin-top:6px}
.chip{display:inline-flex;align-items:center;gap:6px;font-size:.75rem;padding:3px 9px;
  border-radius:999px;border:1px solid var(--rule-strong);color:var(--ink-2);
  background:var(--surface);max-width:100%}
.chip__i{font-size:.875em;line-height:1}
.chip--unverified{background:var(--amber-bg);border-color:var(--amber-line);
  color:var(--careful);font-weight:600;letter-spacing:.02em}
.chiprow{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0}
figure{margin:32px 0 0}
.chart{width:100%;height:auto;display:block}
.chartcard{background:var(--surface);border:1px solid var(--rule);border-radius:12px;
  padding:20px 12px 8px;overflow-x:auto}
figcaption{font-size:.8125rem;color:var(--ink-2);margin-top:12px;display:flex;
  flex-wrap:wrap;gap:10px;align-items:center}
.grid{stroke:var(--rule);stroke-width:1}
.baseline{stroke:var(--rule-strong);stroke-width:1}
.axis{fill:var(--ink-3);font-size:12px;font-variant-numeric:tabular-nums}
.axis-title{fill:var(--ink-3);font-size:12px}
.line{fill:none;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.s1l{stroke:var(--s1)}.s1b{fill:var(--s1-band)}
.dot{stroke:var(--surface);stroke-width:2}.dot.s1{fill:var(--s1)}
.dlabel{font-size:12.5px;font-weight:600;font-variant-numeric:tabular-nums}
.s1t{fill:var(--s1)}.dlabel.muted{fill:var(--ink-3);font-weight:400}
.bar.s1f{fill:var(--s1)}.bar.s2f{fill:var(--s2)}
.rowlabel{fill:var(--ink-2);font-size:13px}.rowlabel.fw{fill:var(--ink);font-weight:600}
.barval{fill:var(--ink-2);font-size:12.5px;font-variant-numeric:tabular-nums}
.legend{display:flex;gap:18px;font-size:.8125rem;color:var(--ink-2);margin:4px 0 0;flex-wrap:wrap}
.legend span{display:inline-flex;align-items:center;gap:7px}
.sw{width:12px;height:12px;border-radius:3px;display:inline-block}
.tableview{margin-top:12px;font-size:.875rem}
.tableview summary{cursor:pointer;color:var(--brand);font-size:.8125rem}
.tables,.tableview__scroll{overflow-x:auto;margin-top:10px}
table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}
th,td{text-align:left;padding:9px 14px 9px 0;border-bottom:1px solid var(--rule);white-space:nowrap}
th{font-weight:600;color:var(--ink-2);border-bottom:1px solid var(--rule-strong)}
td.num{text-align:right;padding-right:24px}
.tag{font-size:.6875rem;color:var(--brand);border:1px solid var(--rule-strong);
  border-radius:999px;padding:1px 7px;margin-left:6px}
.note{background:var(--sunken);border-left:3px solid var(--brand);padding:20px 24px;
  border-radius:0 8px 8px 0;margin:24px 0}
.note h3{margin-top:0}.note p:last-child{margin-bottom:0}
.warn{background:var(--amber-bg);border-left-color:var(--amber-line)}
.checks{list-style:none;padding:0;margin:0}
.checks li{padding:20px 0;border-bottom:1px solid var(--rule)}
.checks li:first-child{border-top:1px solid var(--rule)}
.checks b{display:block;margin-bottom:4px}.checks span{color:var(--ink-2)}
.cta{background:var(--surface);border:1px solid var(--rule);border-radius:16px;padding:40px;text-align:center}
.cta h2{margin-bottom:8px}.cta p{color:var(--ink-2)}
.regbox{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:24px}
.reg{font-size:1.25rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;
  padding:14px 18px;border:2px solid var(--rule-strong);border-radius:8px;background:var(--bg);
  color:var(--ink);font-family:inherit;width:230px;text-align:center}
.btn{font:inherit;font-size:1.0625rem;font-weight:600;padding:14px 28px;border-radius:8px;
  border:0;background:var(--brand);color:#fff;cursor:pointer;text-decoration:none;display:inline-block}
.priceline{margin-top:20px;font-size:.9375rem;color:var(--ink-2)}
.priceline b{color:var(--ink)}
footer{border-top:1px solid var(--rule);padding:48px 0 72px;color:var(--ink-2);font-size:.875rem}
footer h3{margin-top:0;color:var(--ink)}
footer ul{padding-left:20px;margin:0 0 16px}footer li{margin-bottom:6px}
.cards{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  list-style:none;padding:0;margin:24px 0 0}
.card{background:var(--surface);border:1px solid var(--rule);border-radius:12px;padding:20px}
.card a{text-decoration:none;font-weight:600;font-size:1.0625rem;color:var(--ink)}
.card a:hover{color:var(--brand)}
.card .m{font-size:.8125rem;color:var(--ink-3);margin-top:6px;font-variant-numeric:tabular-nums}
.card .vd{font-size:.75rem;font-weight:600;margin-top:10px;display:inline-flex;
  align-items:center;gap:5px}
.hero{padding:56px 0 40px}
.hero h1{font-size:clamp(2.25rem,5.5vw,3.5rem);font-weight:600;letter-spacing:-.025em;max-width:20ch}
.hero p{font-size:1.25rem;color:var(--ink-2);max-width:56ch;margin-top:20px}
@media print{
  :root{--bg:#fff;--ink:#000}
  .verdict{background:#fff !important;color:#000 !important}
  .verdict__word,.verdict__because{color:#000 !important}
  .themebtn,.cta{display:none}
}

/* ---- example / specimen banding ---------------------------------------- */
/* Loud on purpose. A page showing a made-up vehicle must never be mistakable
   for a real record — see Docs/06_design_system.md and the DMCC rules. */
.specimen{background:repeating-linear-gradient(45deg,var(--amber-bg),var(--amber-bg) 12px,
  transparent 12px,transparent 24px);border-top:2px solid var(--amber-line);
  border-bottom:2px solid var(--amber-line);padding:16px 0;margin:0}
.specimen .wrap{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.specimen b{color:var(--careful);letter-spacing:.04em;text-transform:uppercase;font-size:.8125rem}
.specimen span{color:var(--ink-2);font-size:.9375rem}
/* ---- result blocks ------------------------------------------------------ */
.result{border:1px solid var(--rule);border-radius:12px;overflow:hidden;margin:24px 0}
.result__h{background:var(--surface);padding:14px 20px;border-bottom:1px solid var(--rule);
  display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.result__h h3{margin:0;font-size:1rem}
.result__b{padding:20px}
.kv{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px 24px;margin:0}
.kv div{min-width:0}
.kv dt{font-size:.8125rem;color:var(--ink-2);margin-bottom:2px}
.kv dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums}
.pill{font-size:.75rem;font-weight:600;padding:2px 10px;border-radius:999px;white-space:nowrap}
.pill--ok{background:rgba(15,107,61,.12);color:var(--good)}
.pill--warn{background:var(--amber-bg);color:var(--careful)}
.pill--bad{background:rgba(161,32,40,.12);color:var(--avoid)}
.pill--locked{background:var(--sunken);color:var(--ink-3)}
.mot{list-style:none;padding:0;margin:0}
/* `>` matters: without it this also matches the advisory <li>s inside the nested <ul>,
   which then become grids and get squeezed into the 110px date column. */
.mot>li{padding:14px 0;border-top:1px solid var(--rule);display:grid;
  grid-template-columns:110px minmax(0,1fr) auto;gap:12px;align-items:start}
.mot>li:first-child{border-top:0}
.mot>li>div{min-width:0}
.mot .d{color:var(--ink-2);font-size:.875rem;font-variant-numeric:tabular-nums}
.mot .m{font-weight:600;font-variant-numeric:tabular-nums}
.mot ul{margin:6px 0 0;padding-left:18px;color:var(--ink-2);font-size:.9375rem}
@media(max-width:600px){.mot>li{grid-template-columns:minmax(0,1fr) auto}
  .mot .d{grid-column:1/-1}}
.gauge{height:10px;border-radius:999px;background:var(--sunken);position:relative;margin:10px 0 6px}
.gauge i{position:absolute;top:0;bottom:0;border-radius:999px;background:var(--s1-band)}
.gauge b{position:absolute;top:-4px;width:3px;height:18px;border-radius:2px;background:var(--s1)}
.gauge em{position:absolute;top:-4px;width:3px;height:18px;border-radius:2px;background:var(--avoid)}
.gaugekey{display:flex;justify-content:space-between;font-size:.75rem;color:var(--ink-3);
  font-variant-numeric:tabular-nums}
.mods{list-style:none;padding:0;margin:24px 0 0;display:grid;gap:12px}
.mods li{border:1px solid var(--rule);border-radius:12px;padding:18px 20px;background:var(--surface)}
.mods h3{margin:0 0 6px;font-size:1.0625rem}
.mods p{margin:0 0 8px;color:var(--ink-2);font-size:.9375rem}
.mods .src{font-size:.75rem;color:var(--ink-3)}
.locked{filter:blur(4px);user-select:none;pointer-events:none}
.lockwrap{position:relative}
.lockmsg{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  text-align:center;padding:20px;background:linear-gradient(transparent,var(--bg) 55%)}
.modhead{display:flex;justify-content:space-between;align-items:baseline;gap:16px;flex-wrap:wrap}
.price{font-size:1.25rem;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.price--big{font-size:1.75rem;color:var(--brand)}

/* ---- reports: grouped, scannable, hierarchy by price -------------------- */
.grp{margin:0 0 44px}
.grp__h{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;margin:0 0 6px}
.grp__h h3{font-size:1.25rem;margin:0}
.grp__h span{font-size:.8125rem;color:var(--ink-3)}
.grp p.lede{color:var(--ink-2);margin:0 0 18px;max-width:60ch}
.mods{list-style:none;padding:0;margin:0;display:grid;gap:14px;
  grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}
.mods li{border:1px solid var(--rule);border-radius:12px;padding:20px 22px;background:var(--surface);
  display:flex;flex-direction:column;transition:border-color .12s ease}
.mods li:hover{border-color:var(--rule-strong)}
.mods li a.cardlink{text-decoration:none;color:inherit;display:flex;flex-direction:column;height:100%}
.mods h4{margin:0;font-size:1.0625rem;font-weight:600;letter-spacing:-.01em}
.mods p{margin:8px 0 0;color:var(--ink-2);font-size:.9375rem;flex:1}
.mods .src{font-size:.75rem;color:var(--ink-3);margin-top:14px}
.mods h4{line-height:1.3}
.modfoot{display:flex;justify-content:space-between;align-items:center;gap:12px;
  margin-top:16px;padding-top:14px;border-top:1px solid var(--rule)}
.modfoot .soon{margin:0}
.price{font-size:1.375rem;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap;
  letter-spacing:-.02em}
.soon{font-size:.6875rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;
  color:var(--careful);background:var(--amber-bg);border-radius:999px;padding:2px 9px;
  align-self:flex-start;margin-top:12px}
/* the bundle: unmistakably the main offer */
.bundle{border:2px solid var(--brand);border-radius:16px;padding:32px;background:var(--surface);
  margin:0 0 48px}
.bundle__top{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;
  flex-wrap:wrap}
.bundle h3{margin:0 0 6px;font-size:1.5rem;letter-spacing:-.02em}
.bundle .sub{color:var(--ink-2);margin:0}
.bundle .big{font-size:3rem;font-weight:600;letter-spacing:-.03em;color:var(--brand);
  line-height:1;font-variant-numeric:tabular-nums}
.bundle .was{font-size:.875rem;color:var(--ink-3);text-align:right;margin-top:6px}
.bundle .btn{margin-top:24px}
/* worked report: quieter chrome, stronger numbers */
.result__h h3{font-size:1.0625rem;letter-spacing:-.01em}
.result .own{font-size:.75rem;color:var(--ink-3);margin-top:14px;padding-top:12px;
  border-top:1px solid var(--rule)}


/* ---- review fixes, 2026-09-02 -------------------------------------------
   Written after walking the built site in a browser. Each rule below exists because something
   looked broken or unfinished on screen, not because a token was missing. ---------------- */

/* One verdict scale needs a third band. "Middle of the pack" is the honest answer for most
   models and it must not borrow the amber of a warning. */
.v-mixed{color:var(--ink-2)}
.vd.v-good{color:var(--good)}.vd.v-careful{color:var(--careful)}.vd.v-mixed{color:var(--ink-3)}
.card .g{font-variant-numeric:tabular-nums}
.g-good{color:var(--good)}.g-careful{color:var(--careful)}.g-mixed{color:var(--ink-2)}
.card .m+.m{margin-top:3px}

/* The trend cell holds "81.6% -> 80.8% -> 80.3%", not one number. Giving it the display slot
   wrapped it to three lines inside a four-up strip. */
.stat__v--trend{font-size:1.0625rem;line-height:1.45;font-weight:600;letter-spacing:0}

/* Footer: four columns of links, then the method as a fold-out. The old one had 643px of
   height and not one link in it. */
.footgrid{display:grid;gap:32px 24px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  padding-bottom:32px;border-bottom:1px solid var(--rule)}
.footgrid>div:first-child{grid-column:span 1;min-width:200px}
.footlogo{font-size:1.125rem;font-weight:600;letter-spacing:-.02em;color:var(--ink)}
.footlogo .ev{color:var(--brand)}
.footnote{margin:10px 0 0;color:var(--ink-2);max-width:34ch;font-size:.875rem}
.footgrid h4{margin:0 0 12px;font-size:.75rem;letter-spacing:.1em;text-transform:uppercase;
  color:var(--ink-3);font-weight:600}
.footgrid nav{display:flex;flex-direction:column;gap:9px}
.footgrid nav a{color:var(--ink-2);text-decoration:none;font-size:.9375rem}
.footgrid nav a:hover{color:var(--ink);text-decoration:underline}
.method{margin:28px 0 0}
.method summary{cursor:pointer;color:var(--ink-2);font-size:.9375rem;padding:6px 0}
.method summary:hover{color:var(--ink)}
.methodcols{display:grid;gap:8px 40px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  margin-top:16px}
.methodcols h4{margin:0 0 10px;font-size:.9375rem;color:var(--ink)}
.footbase{margin-top:28px;padding-top:20px;border-top:1px solid var(--rule);
  display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.footbase p{margin:0;max-width:70ch;color:var(--ink-3);font-size:.8125rem}

/* Hero: the registration box is the point of the site, so it goes in the hero and the
   supporting links go under it, not the other way round. */
.hero .regbox{justify-content:flex-start;margin-top:28px}
.hero--tight{padding-bottom:24px}
.regnote{font-size:.875rem;color:var(--ink-3);margin:10px 0 0}
.herolinks{font-size:.9375rem;color:var(--ink-3);margin-top:22px}
.herolinks a{color:var(--ink-2)}

/* Reports: a card you can buy from. The catalogue previously had no purchase control at all. */
.modcard{display:flex;flex-direction:column;height:100%}
.modcard .cardlink{text-decoration:none;color:inherit;display:flex;flex-direction:column;flex:1}
.btn--sm{font-size:.9375rem;padding:9px 16px;white-space:nowrap}
.ghost{font-size:.9375rem;color:var(--ink-2);text-decoration:none;border-bottom:1px solid var(--rule-strong)}
.ghost:hover{color:var(--ink)}
.bundle__act{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-top:24px}
.bundle__fine{margin:14px 0 0;font-size:.8125rem;color:var(--ink-3)}

/* Models index: 81 cards need a way in. */
.browse{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap;
  margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid var(--rule)}
.tabs{display:flex;gap:4px}
.tab{font:inherit;font-size:1rem;font-weight:600;background:none;border:0;cursor:pointer;
  color:var(--ink-3);padding:8px 2px;margin-right:20px;border-bottom:2px solid transparent}
.tab span{font-weight:400;font-size:.8125rem;color:var(--ink-3);margin-left:5px}
.tab.is-on{color:var(--ink);border-bottom-color:var(--brand)}
.browse__ctl{display:flex;gap:10px;flex-wrap:wrap}
.srch input,.srt select{font:inherit;font-size:.9375rem;padding:9px 12px;border-radius:8px;
  border:1px solid var(--rule-strong);background:var(--surface);color:var(--ink);min-width:200px}
.srt select{min-width:auto}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.noresult{color:var(--ink-2);margin-top:24px}
.linkbtn{font:inherit;background:none;border:0;color:var(--brand);cursor:pointer;padding:0;
  text-decoration:underline}
@media(max-width:600px){.browse{flex-direction:column;align-items:stretch}
  .srch input{width:100%}}
.footbase{align-items:flex-start}
.footbase__co{color:var(--ink-2)!important;line-height:1.7}
.footbase__co a{color:var(--ink-2)}
