/* One stylesheet for ddpricetracker.com.
 *
 * Until 32-one-nav-one-stylesheet every page carried its own <style> and its own nav, copied from
 * whichever file was open, and the four had drifted: different tokens, different footers, a
 * depreciation page whose nav never mentioned the league. What is common lives here - tokens, reset,
 * nav, page head, controls, chips, banners, tables, the "how" section and the footer - and each page
 * keeps only what is unique to it inline. The nav and footer markup that goes with these rules is
 * one template string in scripts/site-chrome.mjs, stamped into every page by
 * scripts/sync-site-chrome.mjs and asserted by api/test/site-chrome.test.mjs.
 *
 * Caddy caches /assets/* for a day, so every page links this file as /assets/site.css?v=<hash of
 * this file>. The hash is computed, not typed: change a rule here, run `node
 * scripts/sync-site-chrome.mjs`, and every page's link moves with it. A page whose link does not
 * match fails `npm test`, so old CSS can never be served for a day against new HTML. */
:root{--ink:#1e293b;--ink-2:#475569;--muted:#64748b;--line:#e5e7eb;--bg:#ffffff;--bg-2:#f8fafc;--red:#ef4a4a;--red-dark:#dc2626;--red-soft:#fee2e2;--yellow:#fee761;--yellow-soft:#fff8c5;--navy:#1e293b;--green:#15803d;--green-soft:#dcfce7;--blue:#2a78d6;--blue-soft:#eff6ff;--band:#fecaca;color-scheme:light}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.55 -apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",Roboto,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased}
h1,h2,h3{margin:0;letter-spacing:-.02em;text-wrap:balance}
a{color:var(--red-dark)}
.wrap{max-width:1140px;margin:0 auto;padding:0 24px}
.num{font-variant-numeric:tabular-nums}
.pill{display:inline-block;background:var(--yellow-soft);color:#7a5a00;font-size:13px;font-weight:600;padding:6px 14px;border-radius:999px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 26px;border-radius:999px;font:600 15px/1 inherit;text-decoration:none;border:1.5px solid transparent;cursor:pointer;transition:transform .12s ease,background .12s ease,box-shadow .12s ease}
.btn:hover{transform:translateY(-1px)}
.btn:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,button:focus-visible{outline:3px solid var(--red);outline-offset:3px}
.btn-red{background:var(--red);color:#fff;box-shadow:0 8px 20px -8px rgba(239,74,74,.6)}
.btn-red:hover{background:var(--red-dark)}
.btn-outline{background:#fff;color:var(--ink);border-color:var(--ink)}
.btn-outline:hover{background:var(--bg-2)}
/* nav: the same five links on every page, aria-current on the one that applies */
.nav{display:flex;align-items:center;gap:32px;padding:18px 0;position:relative;z-index:2}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font-weight:700;font-size:17px;letter-spacing:-.01em}
.mark{width:32px;height:32px;border-radius:9px;background:var(--red);display:grid;place-items:center;flex:none}
.nav .links{display:flex;gap:26px;margin:0 auto;font-weight:500;font-size:15px}
.nav .links a{color:var(--ink-2);text-decoration:none}
.nav .links a:hover,.nav .links a[aria-current]{color:var(--ink)}
.nav .links a[aria-current]{font-weight:600}
.nav .btn{padding:10px 20px;font-size:14px}
/* The menu wrapper is invisible to the desktop layout - logo, links, button are the nav's own flex
 * items exactly as before - and becomes the dropdown panel on a phone. */
.nav-menu{display:contents}
.burger{display:none;background:none;border:0;padding:8px;margin:0;color:var(--ink);border-radius:10px;cursor:pointer}
.burger:hover{background:var(--bg-2)}
.burger .ex{display:none}
.nav.open .burger .bars{display:none}
.nav.open .burger .ex{display:block}
/* page head on the data pages */
.head{padding:34px 0 22px}
.head h1{font-size:clamp(30px,4.2vw,46px);font-weight:800;margin:14px 0 10px}
.head p{color:var(--ink-2);font-size:17px;max-width:46em;margin:0}
/* controls, chips, selects */
.controls{background:var(--bg-2);border:1px solid var(--line);border-radius:16px;padding:16px}
select{padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font:inherit;font-weight:500}
select:disabled{color:var(--muted);background:var(--bg-2)}
.chips{display:flex;gap:8px;flex-wrap:wrap}
.chip{border:1px solid var(--line);background:#fff;color:var(--ink-2);border-radius:999px;padding:8px 16px;font:600 14px/1 inherit;cursor:pointer}
.chip[aria-pressed="true"]{background:var(--ink);color:#fff;border-color:var(--ink)}
/* banners */
.banner{margin:16px 0 0;padding:12px 16px;border-radius:12px;font-size:14px;display:flex;gap:10px;align-items:flex-start}
.banner.example{background:var(--yellow-soft);color:#5c4500}
.banner.error{background:var(--red-soft);color:#7f1d1d}
.banner.thin{background:var(--bg-2);border:1px solid var(--line);color:var(--ink-2)}
.banner[hidden]{display:none}
/* result title */
.title{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 16px;margin:30px 0 6px}
.title h2{font-size:clamp(22px,3vw,30px);font-weight:800}
.title .sub{color:var(--muted);font-size:14px}
/* tables */
.tbl{margin-top:16px;overflow-x:auto;border:1px solid var(--line);border-radius:16px}
table{width:100%;border-collapse:collapse;min-width:720px}
th,td{padding:12px 14px;text-align:right;border-bottom:1px solid var(--line);white-space:nowrap}
th:first-child,td:first-child{text-align:left}
th{font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);background:var(--bg-2);font-weight:600}
tr:last-child td{border-bottom:0}
td.drop{color:var(--red-dark);font-weight:600}td.rise{color:var(--green);font-weight:600}
td .thin,td.thin,span.thin{color:var(--muted);font-weight:400}
td a{font-weight:600;text-decoration:none}td a:hover{text-decoration:underline}
/* the "how it is worked out" section */
.how{max-width:46em;margin:44px auto 0}
.how h2{font-size:22px;font-weight:800;margin-bottom:10px}
.how p{color:var(--ink-2);margin:0 0 12px}
/* footer: one block on every page, the same links as the nav plus the legal pages and the coffee link */
.site-foot{margin-top:56px;padding:26px 0 36px;border-top:1px solid var(--line);color:var(--muted);font-size:13px;text-align:center}
.site-foot .foot-links{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px;margin:0 0 12px;font-size:14px}
.site-foot a{color:var(--ink-2);text-decoration:none}
.site-foot a:hover{color:var(--red-dark)}
.site-foot p{margin:0}
/* "how it is worked out" as a closed disclosure (36): credibility, not a closing argument */
.how summary{font-size:22px;font-weight:800;cursor:pointer;letter-spacing:-.02em}
.how summary::marker{color:var(--red)}
.how[open] summary{margin-bottom:10px}
/* the store links: the home page's download row and the install panel share them */
.stores{display:flex;justify-content:center;gap:16px;flex-wrap:wrap}
.store{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;align-items:center;text-align:left;padding:16px 26px 16px 20px;border-radius:14px;text-decoration:none;min-width:250px}
.store svg{grid-row:1/3}
.store small{font-size:11.5px;font-weight:500;opacity:.8}
.store b{font-size:17px;font-weight:700}
.store.y{background:var(--yellow);color:#1e293b}
.store.w{background:#fff;color:#1e293b}
.store:hover{filter:brightness(1.05)}
/* the row after assets/install.js has picked a store (39c): the two buttons that cannot install
 * anything on this device stop being buttons and become the line under the one that can. Hidden
 * with display:none rather than opacity so they leave the tab order too - the also-line carries the
 * same two links, and a keyboard user should meet each store once, not twice. */
.stores[data-picked] .store.demoted{display:none}
.store-also{margin:12px 0 0;font-size:13.5px;color:inherit;opacity:.78;text-align:center}
.store-also a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.install .store-also{text-align:left;margin:-4px 0 14px}
/* the install panel under every result (36): the home page's vocabulary - accent wash, pill, store
 * buttons, the ad-panel screenshot - on the pages a search engine actually sends people to */
.install{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:28px;align-items:center;margin:28px 0 0;padding:28px;border-radius:22px;border:1px solid var(--line);background:linear-gradient(135deg,var(--red-soft) 0%,#fff 48%,var(--yellow-soft) 100%)}
.install[hidden]{display:none}
.install h2{font-size:clamp(22px,2.8vw,30px);font-weight:800;margin:12px 0 10px;letter-spacing:-.02em}
.install p{color:var(--ink-2);margin:0 0 18px;max-width:40em;font-size:15px}
.install .stores{justify-content:flex-start;gap:10px;margin:0 0 14px}
.install .store{min-width:0;padding:12px 18px 12px 14px}
.install .store.w{border:1px solid var(--line)}
.install .store svg{width:28px;height:28px}
.install .store b{font-size:15px}
.install .fine{font-size:13px;color:var(--muted);margin:0}
.install .fine a{color:inherit}
.install-shot{width:100%;height:auto;border-radius:14px;border:1px solid var(--line);box-shadow:0 24px 44px -28px rgba(30,41,59,.55)}
@media (max-width:920px){.install{grid-template-columns:1fr;padding:22px}.install-shot{order:-1}}
/* On a phone the five links move into a panel the burger opens (assets/nav.js). They used to be
 * hidden outright, which left the footer as the only way from a model page to the league - past the
 * whole table - on the device most of the traffic arrives on. */
@media (max-width:920px){
  .nav{gap:0;justify-content:space-between}
  .burger{display:grid;place-items:center}
  .nav-menu{display:none;position:absolute;top:calc(100% - 6px);left:0;right:0;z-index:3;padding:8px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 22px 44px -26px rgba(30,41,59,.65)}
  .nav.open .nav-menu{display:block}
  .nav .links{display:flex;flex-direction:column;gap:2px;margin:0;font-size:16px}
  .nav .links a{padding:12px 14px;border-radius:10px}
  .nav .links a[aria-current]{background:var(--bg-2)}
  .nav-menu .btn{display:flex;margin:8px 4px 4px;padding:13px 20px;font-size:15px}
}

/* The email sign-up (13b). These rules were inline on site/league.html while the block was on that
 * one page; they are here because the block is now on every data page, the guide, the frozen edition
 * and all 233 model pages. site/_legal.css carries the same rules again in its own tokens, which is
 * the price of the site having two designs: the legal and utility pages are not on this sheet.
 * `[hidden]` is spelled out because `.subbox` sets `display` and would otherwise beat it - that is
 * the depreciation page's deferred block, which must stay invisible until a result renders. */
.subbox{display:block;margin:26px 0 0;padding:20px 22px;border:1px solid var(--line);border-radius:14px;background:var(--bg-2)}
.subbox[hidden]{display:none}
.subbox h2{font-size:19px;font-weight:800;margin-bottom:8px}
.subbox p{color:var(--ink-2);font-size:14px;margin:0;max-width:52em}
.sub-label{display:block;font-size:13px;color:var(--muted);margin:14px 0 6px}
.sub-row{display:flex;flex-wrap:wrap;gap:8px}
.sub-row input{flex:1 1 15em;min-width:0;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);font:15px/1.4 inherit}
.sub-go{padding:10px 20px;border:0;border-radius:10px;background:var(--red);color:#fff;font:700 14px/1.4 inherit;cursor:pointer}
.sub-go:hover{background:var(--red-dark)}
.sub-go[disabled]{opacity:.6;cursor:default}
.sub-said{margin:12px 0 0;color:var(--ink);font-size:14px}
.sub-said[hidden]{display:none}

/* Motion and hover states (2026-09-16). Before this the whole site had two hover rules - a 1px
 * button lift and a brightness filter on the store links - so every state change landed instantly
 * and the pages read flat next to the data in them. What follows is hover, focus and press feedback
 * on everything clickable, plus the reveal-on-scroll utility the home page uses.
 *
 * Two rules hold everywhere below. Only transform, opacity, colour and shadow are animated, so
 * nothing here can trigger a reflow or shift text while someone is reading it. And the whole lot is
 * switched off under prefers-reduced-motion at the end of this block, which is a setting a reader
 * with vestibular trouble has already made and should not have to make twice. */
:root{--ease:cubic-bezier(.4,0,.2,1);--lift:0 18px 34px -20px rgba(30,41,59,.45)}
html{scroll-behavior:smooth}
.btn{transition:transform .18s var(--ease),background .18s var(--ease),box-shadow .18s var(--ease),border-color .18s var(--ease),color .18s var(--ease)}
.btn:hover{transform:translateY(-2px)}
.btn:active{transform:translateY(0);transition-duration:.06s}
.btn-red:hover{box-shadow:0 14px 26px -10px rgba(220,38,38,.65)}
.btn-outline:hover{border-color:var(--red-dark);color:var(--red-dark)}
/* nav: an underline that grows from the left rather than appearing whole. The current page keeps
 * its underline permanently, which is the same signal the bolder weight already gives. */
.nav .links a{position:relative;transition:color .18s var(--ease)}
.nav .links a::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:2px;border-radius:2px;background:var(--red);transform:scaleX(0);transform-origin:left;transition:transform .22s var(--ease)}
.nav .links a:hover::after,.nav .links a[aria-current]::after{transform:scaleX(1)}
.logo .mark{transition:transform .25s var(--ease)}
.logo:hover .mark{transform:rotate(-8deg) scale(1.06)}
.burger{transition:background .16s var(--ease)}
/* store links: brightness(1.05) washed the yellow one out instead of raising it. */
.store{transition:transform .18s var(--ease),box-shadow .18s var(--ease)}
.store:hover{filter:none;transform:translateY(-3px);box-shadow:var(--lift)}
.store:active{transform:translateY(-1px);transition-duration:.06s}
/* tables: a row tint under the cursor, which is most of what makes a long table readable. The
 * selector is `tr:hover td` and not `tbody tr:hover` so a header row of <th> is never tinted,
 * whether or not the source wrote a <thead> around it. */
td,th{transition:background .14s var(--ease)}
tr:hover td{background:var(--bg-2)}
.chip{transition:background .16s var(--ease),color .16s var(--ease),border-color .16s var(--ease),transform .16s var(--ease)}
.chip:hover{border-color:var(--ink-2);color:var(--ink)}
.chip:active{transform:scale(.97)}
.chip[aria-pressed="true"]:hover{background:var(--ink-2);color:#fff;border-color:var(--ink-2)}
select{transition:border-color .16s var(--ease)}
select:hover:not(:disabled){border-color:var(--ink-2)}
.site-foot a{transition:color .16s var(--ease)}
.how summary{transition:color .16s var(--ease)}
.how summary:hover{color:var(--red-dark)}
/* the sign-up, the same vocabulary as the install panel it follows */
.subbox{transition:box-shadow .3s var(--ease),border-color .3s var(--ease)}
.subbox:hover{box-shadow:var(--lift)}
.sub-row input{transition:border-color .16s var(--ease),box-shadow .16s var(--ease)}
.sub-row input:hover{border-color:var(--ink-2)}
.sub-go{transition:transform .18s var(--ease),background .18s var(--ease),box-shadow .18s var(--ease)}
.sub-go:hover{transform:translateY(-2px);box-shadow:0 14px 26px -10px rgba(220,38,38,.65)}
.sub-go:active{transform:translateY(0);transition-duration:.06s}
.sub-go[disabled]:hover{transform:none;box-shadow:none}
/* the install panel answers the cursor as one block, screenshot included */
.install{transition:box-shadow .3s var(--ease)}
.install:hover{box-shadow:var(--lift)}
.install-shot{transition:transform .3s var(--ease)}
.install:hover .install-shot{transform:translateY(-4px)}
/* Reveal on scroll. The hidden state is scoped to html.reveal-on, which the script sets only after
 * it has an IntersectionObserver to clear it with, so a reader with JS off - and every crawler -
 * gets the page fully visible rather than a column of empty boxes. The nth-child delays stagger a
 * row of cards without needing a class or an inline style on each one. */
.reveal-on .reveal{opacity:0;transform:translateY(16px)}
.reveal-on .reveal.shown{opacity:1;transform:none;transition:opacity .55s var(--ease),transform .55s var(--ease)}
.reveal-on .reveal:nth-child(2){transition-delay:.06s}
.reveal-on .reveal:nth-child(3){transition-delay:.12s}
.reveal-on .reveal:nth-child(4){transition-delay:.18s}
/* The phone nav puts the links in a panel as full-width rows, where an underline pinned 6px below
 * the text would sit in the next row's padding. */
@media (max-width:920px){.nav .links a::after{display:none}}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .reveal-on .reveal{opacity:1;transform:none}
}
/* The VRT calculator (site/vrt-calculator.html). A form and a result, on the same tokens as every
 * other data page, so the page reads as part of the site rather than as a tool bolted onto it.
 * `.vf-grid` is auto-fit rather than a fixed column count because the three fieldsets hold two,
 * four and five fields and a phone has to get one column without a breakpoint per fieldset. */
.vrtform{margin:8px 0 28px}
.vrtform fieldset{border:1px solid var(--line);border-radius:14px;padding:16px 18px 6px;margin:0 0 16px}
.vrtform legend{font-weight:700;padding:0 8px}
.vf-modes{display:flex;flex-wrap:wrap;gap:10px 22px;margin-bottom:6px}
.vf-modes label,.vf-check label{display:flex;align-items:flex-start;gap:8px;color:var(--ink-2);max-width:48em}
.vf-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2px 18px}
/* `[hidden]` is spelled out for the reason `.subbox` spells it out above: this rule sets `display`
 * and an author `display` beats the browser's `[hidden]{display:none}`. Without it every `hidden`
 * grid on the VRT form stayed on the page - Revenue's OMSP box and depreciation table sat above the
 * make/model/year dropdowns in estimate mode, where nothing reads either of them, and the four
 * depreciation inputs sat below with their explaining sentence (a `<p>`, which DID hide) gone. */
.vf-grid[hidden]{display:none}
.vf-grid p{margin:0 0 12px}
.vf-grid label{display:block;font-size:13px;font-weight:600;color:var(--ink-2);margin-bottom:4px}
.vf-grid input,.vf-grid select{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:10px;font:inherit;background:#fff;color:var(--ink)}
.vrtform .fine{color:var(--ink-2);font-size:13px;max-width:52em}
/* SHOWING THE LOOKUP REACH DOWN THE FORM. The variant picker sits in the first fieldset and writes
 * fuel, CO2 and NOx into the third, and a reader who cannot see that happen reads the two as
 * unrelated - "the vehicle section does not add a CO2 figure". Three parts: `.vf-from` names, at the
 * top of the fieldset being written into, the variant the figures came from; `.vf-fed` tags the
 * individual field with where its value came from; `.vf-flash` runs once when a value is written, so
 * a change below the fold still announces itself to somebody scrolling down to it. */
.vf-from{margin:0 0 14px;padding:10px 14px;border-left:3px solid var(--red);border-radius:0 10px 10px 0;background:var(--red-soft);font-size:13px;line-height:1.5;color:var(--ink)}
.vf-from[hidden]{display:none}
.vf-from b{font-weight:700}
.vf-from .vf-from-2{display:block;margin-top:4px;color:var(--ink-2)}
.vf-grid p.vf-fed>label::after{content:attr(data-from);margin-left:8px;padding:1px 7px;border-radius:999px;background:var(--red-soft);color:var(--red-dark);font-size:11px;font-weight:700;letter-spacing:0;text-transform:none;vertical-align:1px}
.vf-grid p.vf-fed input,.vf-grid p.vf-fed select{border-color:var(--red);background:#fffafa}
@keyframes vf-flash{from{background:var(--yellow-soft);box-shadow:0 0 0 4px var(--yellow-soft)}to{background:#fffafa;box-shadow:0 0 0 0 transparent}}
.vf-grid p.vf-flash input,.vf-grid p.vf-flash select{animation:vf-flash 1.1s ease-out 1}
.vrtform .vf-empty{color:var(--ink-2);font-size:13px;max-width:52em;margin:0 0 12px;padding-left:12px;border-left:3px solid var(--line)}
.vrtresult:empty,.vrtsources:empty{display:none}
.vrtresult{background:var(--bg-2);border:1px solid var(--line);border-radius:16px;padding:18px 20px;margin:0 0 22px}
.vr-head{font-size:clamp(18px,2.4vw,24px);font-weight:800;margin:0 0 4px}
.vr-sub{font-size:17px;font-weight:700;margin:26px 0 8px}
.vr-total{font-size:clamp(34px,5vw,52px);font-weight:800;color:var(--red);margin:0 0 12px;line-height:1.05}
.vrtresult table.bd{min-width:420px}
.vrtresult table.bd th{text-align:left;font-weight:600;color:var(--ink-2)}
.vrtresult table.bd .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.vrtresult table.bd tr.tot th,.vrtresult table.bd tr.tot .num{font-weight:800;color:var(--ink)}
.vrtresult .cite{display:block;font-size:12px;font-weight:400;color:var(--ink-2)}
.vr-refusal,.vr-ni,.vr-estimate,.vr-stale,.vr-ev{background:var(--yellow-soft);color:#7a5a00;border-radius:12px;padding:12px 14px;margin:14px 0 0;max-width:52em}
.vr-refusal{margin:0}
.vr-co2,.vr-proxy,.vr-widened,.vr-fx,.vr-close,.vr-scope{color:var(--ink-2);max-width:52em;margin:12px 0 0}
.vr-close,.vr-scope{font-weight:600}
.vrtsources{margin:0 0 28px}
.vrtsources h2{font-size:clamp(18px,2.4vw,24px);font-weight:800;margin:0 0 10px}
.vrtsources table.srcs{min-width:760px;font-size:14px}
.vrtsources table.srcs th[scope=row]{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:600;white-space:nowrap}
.vrtsources .fine{color:var(--ink-2);font-size:13px;max-width:52em;margin-top:10px}

/* The VRT calculator as four steps (site/vrt-calculator.html, `.vw`). One step is on screen at a
 * time; the progress rail above names all four and lets a reader jump back to any step they have
 * completed. Motion is short and directional - a step slides in from the side it was reached from,
 * the figure and its rows settle in one after another - and every animation here is switched off
 * under prefers-reduced-motion, because a tax figure is not the place for a page that moves on
 * somebody who has asked pages not to. */
.vw{position:relative;margin:6px 0 30px;padding:22px clamp(16px,3vw,32px) 24px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(180deg,#fff 0%,var(--bg-2) 100%);box-shadow:0 30px 60px -44px rgba(30,41,59,.5)}
.vw::before{content:"";position:absolute;inset:0 0 auto 0;height:4px;border-radius:22px 22px 0 0;background:linear-gradient(90deg,var(--red),#f59e0b 60%,var(--yellow))}
.vw-progress{margin:0 0 22px}
.vw-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.vw-stepbtn{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border:0;border-radius:12px;background:transparent;color:var(--muted);font:inherit;font-size:13px;font-weight:600;text-align:left;cursor:pointer;transition:background .18s var(--ease),color .18s var(--ease)}
.vw-stepbtn:disabled{cursor:default}
.vw-stepbtn:not(:disabled):hover{background:#fff;color:var(--ink)}
.vw-stepbtn[aria-current]{color:var(--ink)}
.vw-n{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;border:2px solid var(--line);background:#fff;font-size:12px;font-weight:800;color:var(--muted);transition:background .25s var(--ease),border-color .25s var(--ease),color .25s var(--ease),transform .25s var(--ease)}
.vw-stepbtn[aria-current] .vw-n{border-color:var(--red);color:var(--red);transform:scale(1.08)}
.vw-stepbtn.is-done .vw-n{background:var(--ink);border-color:var(--ink);color:#fff}
.vw-stepbtn.is-done .vw-n{font-size:0}
.vw-stepbtn.is-done .vw-n::before{content:"✓";font-size:12px}
.vw-l{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vw-bar{height:4px;margin:10px 4px 0;border-radius:4px;background:var(--line);overflow:hidden}
.vw-fill{display:block;height:100%;width:12%;border-radius:4px;background:linear-gradient(90deg,var(--red),var(--red-dark));transition:width .5s var(--ease)}
.vw-track{position:relative}
.vw-step[hidden]{display:none}
.vw-step{animation:vw-in .42s var(--ease) both}
.vw-step.vw-from-right{animation-name:vw-in}
.vw-step.vw-from-left{animation-name:vw-in-back}
@keyframes vw-in{from{opacity:0;transform:translateX(28px)}to{opacity:1;transform:none}}
@keyframes vw-in-back{from{opacity:0;transform:translateX(-28px)}to{opacity:1;transform:none}}
.vw-kicker{margin:0 0 4px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--red-dark)}
.vw-q{margin:0 0 6px;font-size:clamp(22px,3vw,30px);font-weight:800;letter-spacing:-.01em;line-height:1.15}
.vw-sub{margin:0 0 18px;color:var(--ink-2);max-width:52em}
.vw-q2{margin:0 0 10px;font-size:16px;font-weight:700;color:var(--ink)}
.vw-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:0 0 6px}
.vw-card{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;text-align:left;padding:14px 16px;border:1.5px solid var(--line);border-radius:16px;background:#fff;color:var(--ink);font:inherit;cursor:pointer;transition:transform .18s var(--ease),box-shadow .18s var(--ease),border-color .18s var(--ease),background .18s var(--ease)}
.vw-card:hover{transform:translateY(-2px);box-shadow:var(--lift);border-color:var(--ink-2)}
.vw-card .vw-mono{grid-row:1/3;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--bg-2);color:var(--ink-2);font-weight:800;font-size:13px;letter-spacing:.04em;transition:background .18s var(--ease),color .18s var(--ease)}
.vw-card b{font-size:15px;font-weight:700}
.vw-card small{display:block;font-size:12.5px;color:var(--muted);line-height:1.35}
.vw-card[aria-checked="true"]{border-color:var(--red);background:#fffafa;box-shadow:0 0 0 3px var(--red-soft)}
.vw-card[aria-checked="true"] .vw-mono{background:var(--red);color:#fff;animation:vw-pop .32s var(--ease)}
@keyframes vw-pop{0%{transform:scale(.86)}60%{transform:scale(1.08)}100%{transform:none}}
.vw-sr{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.vw-follow{margin:18px 0 0;padding:16px 18px;border:1px solid var(--line);border-radius:16px;background:#fff;animation:vw-drop .36s var(--ease) both}
.vw-follow[hidden]{display:none}
@keyframes vw-drop{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
.vw-seg{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.vw-seg label{position:relative;display:inline-flex;align-items:center;padding:9px 14px;border:1.5px solid var(--line);border-radius:999px;background:#fff;color:var(--ink-2);font-size:14px;font-weight:600;cursor:pointer;transition:border-color .16s var(--ease),background .16s var(--ease),color .16s var(--ease)}
.vw-seg label:hover{border-color:var(--ink-2);color:var(--ink)}
.vw-seg input{position:absolute;opacity:0;width:1px;height:1px}
.vw-seg label:has(input:checked){border-color:var(--ink);background:var(--ink);color:#fff}
.vw-seg label:has(input:focus-visible){outline:3px solid var(--red);outline-offset:3px}
.vw-info p{margin:0 0 10px;color:var(--ink-2);font-size:14px;max-width:56em}
.vw-info p b{color:var(--ink)}
.vw-where{margin:0 0 6px;font-size:14px}
.vw-where summary{cursor:pointer;font-weight:600;color:var(--red-dark);transition:color .16s var(--ease)}
.vw-where summary:hover{color:var(--ink)}
.vw-where ul{margin:8px 0 4px;padding-left:20px;color:var(--ink-2)}
.vw-where li{margin:0 0 8px;max-width:56em}
.vw-where li b{color:var(--ink)}
.vw-warn{margin:8px 0 0;padding:10px 14px;border-radius:12px;background:var(--yellow-soft);color:#7a5a00;font-size:14px;max-width:56em}
.vw-warn[hidden]{display:none}
.vw-modes{gap:12px;margin:0 0 14px}
.vw-mode{flex:1 1 220px;position:relative;display:flex!important;align-items:center!important;gap:12px;padding:14px 16px;border:1.5px solid var(--line);border-radius:16px;background:#fff;cursor:pointer;transition:border-color .18s var(--ease),box-shadow .18s var(--ease),transform .18s var(--ease)}
.vw-mode:hover{border-color:var(--ink-2);transform:translateY(-2px);box-shadow:var(--lift)}
.vw-mode input{accent-color:var(--red);width:18px;height:18px;margin:0;flex:none}
.vw-mode span b{display:block;color:var(--ink);font-size:15px}
.vw-mode span small{display:block;color:var(--muted);font-size:12.5px}
.vw-mode:has(input:checked){border-color:var(--red);background:#fffafa;box-shadow:0 0 0 3px var(--red-soft)}
.vw-lookup{margin:8px 0 0;padding:16px 18px;border-radius:16px;border:1px solid var(--line);background:#fff;animation:vw-drop .36s var(--ease) both}
.vw-lookup[hidden]{display:none}
.vw-lookup-head{margin:0 0 8px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--red-dark)}
.vw-lookup-head::before{content:"";display:inline-block;width:8px;height:8px;margin:0 8px 1px 0;border-radius:50%;background:var(--red);animation:vw-pulse 1.6s var(--ease) infinite}
@keyframes vw-pulse{0%,100%{box-shadow:0 0 0 0 rgba(239,74,74,.45)}60%{box-shadow:0 0 0 7px rgba(239,74,74,0)}}
.vw-lookup #variant-range{margin:0 0 10px;color:var(--ink);font-weight:600}
.vw-lookup #variant-range:empty{display:none}
.vw-badge{display:inline-block;padding:1px 8px;border-radius:999px;font-size:11.5px;font-weight:700;vertical-align:1px}
.vw-badge-fed{background:var(--red-soft);color:var(--red-dark)}
.vw-badge-need{background:var(--yellow-soft);color:#7a5a00}
.vf-grid p.vf-need>label::after{content:attr(data-from);margin-left:8px;padding:1px 7px;border-radius:999px;background:var(--yellow-soft);color:#7a5a00;font-size:11px;font-weight:700;letter-spacing:0;text-transform:none;vertical-align:1px}
.vf-grid p.vf-need input,.vf-grid p.vf-need select{border-color:#f0c93d;background:#fffdf3}
.vw-clear{margin:4px 0 12px}
.vw-clear .btn{padding:9px 16px;font-size:14px}
.vw .vf-grid input,.vw .vf-grid select{transition:border-color .16s var(--ease),box-shadow .16s var(--ease),background .3s var(--ease)}
.vw .vf-grid input:hover,.vw .vf-grid select:hover{border-color:var(--ink-2)}
.vw .vf-grid input:focus,.vw .vf-grid select:focus{outline:none;border-color:var(--red);box-shadow:0 0 0 3px var(--red-soft)}
.vw-foot{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin:22px 0 0;padding-top:18px;border-top:1px solid var(--line)}
.vw-foot .btn{white-space:nowrap}
.vw-foot .vw-back{grid-column:1}
.vw-foot .vw-hint{grid-column:2}
.vw-foot .vw-next,.vw-foot .vw-go,.vw-foot #start-again{grid-column:3;justify-self:end}
.vw-hint{margin:0;text-align:center;font-size:13px;color:var(--red-dark);font-weight:600;min-height:1em}
.vw-shake{animation:vw-shake .4s var(--ease)}
@keyframes vw-shake{0%,100%{transform:none}20%{transform:translateX(-6px)}40%{transform:translateX(6px)}60%{transform:translateX(-4px)}80%{transform:translateX(4px)}}
.vw-go{padding:12px 24px;font-size:16px;box-shadow:0 12px 28px -10px rgba(239,74,74,.7)}
.vw-foot-result{margin-top:0;padding-top:0;border-top:0;margin-bottom:22px}
/* The result step: the figure lands first, then the rows follow it down the page one at a time. */
.vw .vrtresult{background:#fff;border-radius:18px;padding:22px clamp(16px,3vw,28px);margin:0 0 16px;box-shadow:0 22px 44px -36px rgba(30,41,59,.5)}
.vw .vr-head{color:var(--ink-2);font-size:15px;font-weight:600;margin:0 0 6px}
.vw .vr-total{position:relative;display:inline-block;font-size:clamp(40px,6vw,64px);letter-spacing:-.02em;animation:vw-total .6s var(--ease) both}
.vw .vr-total::after{content:"VRT";position:absolute;left:100%;bottom:.28em;margin-left:10px;padding:2px 9px;border-radius:999px;background:var(--red-soft);color:var(--red-dark);font-size:12px;font-weight:800;letter-spacing:.08em}
@keyframes vw-total{from{opacity:0;transform:translateY(10px) scale(.96)}to{opacity:1;transform:none}}
.vw .vrtresult table.bd tr{animation:vw-row .45s var(--ease) both}
.vw .vrtresult table.bd tr:nth-child(1){animation-delay:.08s}.vw .vrtresult table.bd tr:nth-child(2){animation-delay:.14s}.vw .vrtresult table.bd tr:nth-child(3){animation-delay:.2s}.vw .vrtresult table.bd tr:nth-child(4){animation-delay:.26s}.vw .vrtresult table.bd tr:nth-child(5){animation-delay:.32s}.vw .vrtresult table.bd tr:nth-child(6){animation-delay:.38s}.vw .vrtresult table.bd tr:nth-child(7){animation-delay:.44s}.vw .vrtresult table.bd tr:nth-child(n+8){animation-delay:.5s}
@keyframes vw-row{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.vw .vrtresult .scroller{border:1px solid var(--line);border-radius:14px;overflow-x:auto;margin:14px 0 0}
.vw .vrtresult table.bd{width:100%;border-collapse:collapse}
.vw .vrtresult table.bd th[scope=row]{white-space:normal;text-transform:none;letter-spacing:0;font-size:14px;color:var(--ink-2);background:#fff;min-width:14em}
.vw .vrtresult table.bd .num{font-size:15px}
.vw .vrtsources table.srcs{min-width:0;width:100%}
.vw .vrtsources table.srcs th[scope=row]{text-transform:none;letter-spacing:0;font-size:12.5px;background:#fff;color:var(--ink)}
.vw .vrtsources table.srcs td{white-space:normal;text-align:left;font-size:13.5px;min-width:9em}
.vw .vrtsources table.srcs td:nth-child(2){font-weight:600;color:var(--ink)}
.vw .vrtresult table.bd tr:last-child th,.vw .vrtresult table.bd tr:last-child td{border-bottom:0}
.vw .vrtresult table.bd tr.tot th,.vw .vrtresult table.bd tr.tot .num{background:var(--bg-2)}
.vw .vr-sub{display:flex;align-items:center;gap:10px}
.vw .vr-sub::after{content:"";flex:1;height:1px;background:var(--line)}
.vw .vr-ni-asgb{background:var(--yellow-soft);color:#7a5a00;border-radius:12px;padding:12px 14px;margin:14px 0 0;max-width:52em}
.vw .vrtsources{margin:0;padding:18px 0 0;border-top:1px solid var(--line);animation:vw-row .5s var(--ease) .3s both}
.vw .vrtsources h2{font-size:17px}
.vw .vrtsources .scroller{border:1px solid var(--line);border-radius:14px;overflow-x:auto;background:#fff}
@media (max-width:640px){
  .vw-steps{grid-template-columns:repeat(4,auto);justify-content:space-between;gap:2px}
  .vw-stepbtn{padding:6px 4px;gap:0}
  .vw-l{display:none}
  .vw-stepbtn[aria-current] .vw-l{display:block;margin-left:8px}
  .vw-foot{grid-template-columns:1fr 1fr}
  .vw-hint{grid-column:1/-1;order:-1;text-align:left}
  .vw-foot .vw-next,.vw-foot .vw-go,.vw-foot #start-again{grid-column:2}
  .vw-foot .vw-hint{grid-column:1/-1}
  .vw-foot-result{grid-template-columns:1fr 1fr}
  .vw .vr-total::after{display:none}
}
@media (prefers-reduced-motion:reduce){
  .vw-step,.vw-follow,.vw-lookup,.vw .vr-total,.vw .vrtresult table.bd tr,.vw .vrtsources,.vw-card[aria-checked="true"] .vw-mono,.vw-lookup-head::before,.vw-shake{animation:none}
  .vw-fill,.vw-card,.vw-mode,.vw-n{transition:none}
}

/* ---------------------------------------------------------------------------------------------
 * Marketing bands on the two import guides (2026-09-18).
 *
 * Darren's call: the guides "need to not just be knowledge pages like they are now but also at
 * sections marketing pages which show how the extension makes it better", with
 * paypal.com/us/digital-wallet/ways-to-pay/add-payment-method as the bar. What that page does, and
 * what these three components do, is put the product between the explanations rather than after
 * them: a band of copy beside a real capture, a numbered strip of three short steps, and a row of
 * cards out to the next page.
 *
 * They live here rather than in each guide's own <style> because there are two guides saying the
 * same thing about the same panel, and two copies of a component is how the four pages had drifted
 * before 32. Every picture they frame is a real capture out of site/assets/home/, the same crops
 * the home page shows, at the size its figures still read. */
.sell{margin:36px 0;padding:28px;border-radius:22px;border:1px solid var(--line);background:linear-gradient(135deg,var(--red-soft) 0%,#fff 46%,var(--yellow-soft) 100%);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px;align-items:center}
.sell h2{font-size:clamp(22px,2.8vw,30px);font-weight:800;margin:12px 0 10px}
.sell .sell-copy>p{color:var(--ink-2);margin:0 0 16px;max-width:40em;font-size:15px}
.sell .btn{display:inline-block}
.sell .fine{font-size:13px;color:var(--muted);margin:12px 0 0}
.sell .fine a{color:inherit}
/* the claims: a tick each, so three lines of what the panel prints read as three things it does
 * rather than as a paragraph broken up */
.ticks{list-style:none;margin:0 0 20px;padding:0;display:grid;gap:11px}
.ticks li{position:relative;padding-left:30px;color:var(--ink-2);max-width:40em;font-size:15px}
.ticks li b{color:var(--ink)}
.ticks li::before{content:"\2713";position:absolute;left:0;top:3px;width:19px;height:19px;border-radius:50%;background:var(--red);color:#fff;font-size:11px;font-weight:700;display:grid;place-items:center;line-height:1}
/* the capture beside it: the home page's stacked frame, each strip at the width its figures read at */
.sell-shot{margin:0;background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px 22px;box-shadow:0 30px 60px -30px rgba(30,41,59,.45);display:grid;gap:13px;justify-items:start;align-content:center}
.sell-shot img{display:block;width:auto;max-width:100%;height:auto;border-radius:8px}
.sell-shot .price{width:300px}
.sell-shot .median{width:282px}
.sell-shot .go{width:378px}
.sell-shot .jprice{width:340px}
.sell-shot .jmedian{width:350px}
.sell-shot .jgo{width:418px}
/* three steps, numbered, one line of detail each: the whole of what a reader has to do */
.steps3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0 10px;padding:0;list-style:none;counter-reset:t}
.steps3 li{counter-increment:t;background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px}
.steps3 li::before{content:counter(t);display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--navy);color:#fff;font-weight:800;font-size:14px;margin-bottom:12px}
.steps3 b{display:block;font-size:16px;margin-bottom:4px;color:var(--ink)}
.steps3 span{display:block;color:var(--ink-2);font-size:14px}
/* the way out: three cards to the pages this reader asks for next */
.mcards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:18px 0 0}
.mcard{display:block;text-decoration:none;color:inherit;background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;transition:transform .2s var(--ease),box-shadow .2s var(--ease),border-color .2s var(--ease)}
.mcard:hover{transform:translateY(-3px);box-shadow:var(--lift);border-color:#d7dbe2}
.mcard b{display:block;font-size:16px;margin-bottom:4px;color:var(--ink)}
.mcard span{display:block;color:var(--ink-2);font-size:14px}
.mcard .go{display:inline-block;margin-top:10px;color:var(--red-dark);font-weight:600;font-size:14px}
@media (max-width:920px){
  .sell{grid-template-columns:1fr;padding:22px;gap:22px}
  .sell-shot{order:-1;padding:16px}
  .sell-shot img{width:100%}
  .steps3,.mcards{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){.mcard,.mcard:hover{transition:none;transform:none}}
