/* Adapted from /home/jeff/cs-dev/k-look/mockups/{home,deal-room}.html,
   session v1/home-mock-1113, Nov 20, 2026 PST. K section only; scoped and responsive.
   `/home/jeff/cs-dev/k-look/mockups/home.html`; session `v1/home-mock-1113`, Nov 20, 2026 PST; sha256 `e93061ad4db9b8777808c85f371b8ce9b6ca881039e33f7324a99f0aae87257e`.
   `/home/jeff/cs-dev/k-look/mockups/deal-room.html`; session `v1/home-mock-1113`, Nov 20, 2026 PST; sha256 `5bc7a95df173bda3ecbbe7f64188daff9871988e7cca8bcd54d3c7de4f63f1dc`.
   Donor bytes: .scratch/v1/k-look/EVIDENCE.toml. Original v1 CSS follows unchanged. */
/* CarScout v1. Tokens from the vault's "Web critique and design system — carscout-web for v1"
   (colour, type, space tables) and the look mock v12. Light theme only (Jeff, Oct 20). */

@font-face { font-family: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/bebas-neue-latin-400-normal.woff2) format("woff2");
  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: "Geist"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/geist-latin-400-normal.woff2) format("woff2");
  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: "Geist"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/geist-latin-600-normal.woff2) format("woff2");
  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: "Geist Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/geist-mono-latin-400-normal.woff2) format("woff2");
  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: "Geist Mono"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/geist-mono-latin-600-normal.woff2) format("woff2");
  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; }

:root {
  /* colour */
  --ground: #f2f1ee;   /* bone, the page ground */
  --paper: #fafaf8;    /* raised blocks */
  --cream: #f5f3ec;    /* text on the ink field only; never a ground */
  --ink: #0d0d0d;
  --ink-2: #595959;
  --rule: #d4d0c4;     /* 1 px rows inside real tables only */
  --amber: #f9c112;    /* Ship, one action per screen, the mark. Fill only. */
  --teal: #1d6b76;     /* Watch */
  --green: #2d6b24;    /* Quoted and Confirmed marks */
  --warn: #8c2f22;
  --warn-soft: #f3e5e1;
  --tint: rgba(13, 13, 13, 0.06);
  --teal-soft: rgba(29, 107, 118, 0.12);
  --green-soft: rgba(74, 160, 65, 0.14);

  /* type: five text sizes, plus 12 px for source marks only */
  --display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --body: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", "SF Mono", ui-monospace, Menlo, monospace;
  --t-mark: 12px; --t-small: 14px; --t-body: 16px; --t-lead: 20px; --t-head: 32px; --t-display: 64px;

  /* space: a 4 px base */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s6: 24px; --s8: 32px; --s12: 48px; --s16: 64px;

  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: var(--t-body); line-height: 1.5; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; max-width: 62ch; text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 0.07em; text-underline-offset: 0.18em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.small { font-size: var(--t-small); }
.muted { color: var(--ink-2); }
.fig { font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 600; }
.disp { font-family: var(--display); font-weight: 400; line-height: 0.9; letter-spacing: 0.01em; margin-left: -0.05em; }

/* frame */
.wrap { width: 100%; max-width: 720px; margin-inline: auto; padding-inline: max(var(--s4), env(safe-area-inset-left, 0px)); }
.top { display: flex; align-items: center; padding-block: var(--s3); }
.home { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--ink); }
.home svg { height: 22px; width: auto; display: block; }
main { display: grid; gap: var(--s8); padding-block: var(--s2) var(--s8); }
.foot { background: var(--paper); }
.foot-in { display: grid; gap: var(--s2); padding-block: var(--s6); }
.foot svg { height: 20px; width: auto; display: block; }

/* groups */
.group { display: grid; gap: var(--s2); }
.headline { font-size: min(var(--t-display), 14.5vw); }
.title { font-size: var(--t-head); }
.h-lead { font-size: var(--t-lead); line-height: 1.3; }
.crumb { font-size: var(--t-small); color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; justify-self: start; }

/* board */
main:has(.models) { gap: var(--s6); }
.models { display: grid; gap: var(--s2); }
.model { background: var(--paper); padding: var(--s2) var(--s3); display: grid; gap: var(--s1); }
.model .pair { gap: var(--s1); }
.model .price { column-gap: var(--s1); }
.model .pair .negotiable-sum { line-height: 1.3; }
.model-top { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); }
.model h2 { font-family: var(--display); font-weight: 400; font-size: var(--t-head); line-height: 0.9; margin-left: -0.05em; }
.model h2 a { display: inline-flex; align-items: center; min-height: 44px; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4); }
.pair > div { display: grid; gap: var(--s1); align-content: start; justify-items: start; }
.pair .k { font-size: var(--t-small); color: var(--ink-2); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s1) var(--s2); }
.price .fig { font-size: var(--t-lead); }
.later { display: grid; gap: var(--s2); }
.later ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px var(--s4); font-size: var(--t-small); color: var(--ink-2); }

/* small recommendation stamps: text face, filled, square */
.stamp { font-size: var(--t-small); font-weight: 600; line-height: 1.2; padding: var(--s1) var(--s2); white-space: nowrap; }
.s-ship { background: var(--amber); color: var(--ink); }
.s-local { background: var(--ink); color: var(--cream); }
.s-watch { background: var(--teal-soft); color: var(--teal); }
.s-none { background: var(--tint); color: var(--ink); }

/* source marks: the only small mono text */
.mk { font-family: var(--mono); font-size: var(--t-mark); line-height: 1.4; padding: 1px 6px; white-space: nowrap; }
.m-listed { background: var(--tint); }
.m-quoted, .m-confirmed { background: var(--green-soft); color: var(--green); }
.m-confirmed::before { content: "✓ "; }
.m-estimated { color: var(--ink-2); padding-inline: 0; }
.m-not-confirmed { background: var(--warn-soft); color: var(--warn); }

/* where a car is: shape plus colour */
.g { display: inline-block; width: 10px; height: 10px; margin-right: 6px; }
.g-local { background: var(--ink); border-radius: 50%; }
.g-ship { background: var(--amber); outline: 1px solid var(--ink); transform: rotate(45deg) scale(0.82); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* model page */
.answer { display: grid; gap: var(--s2); padding: var(--s6) max(var(--s4), env(safe-area-inset-left, 0px));
  margin-inline: calc(-1 * max(var(--s4), env(safe-area-inset-left, 0px))); }
.a-local :focus-visible { outline-color: var(--cream); }
.answer .word { font-size: var(--t-display); }
.answer .verdict { font-weight: 600; font-size: var(--t-lead); line-height: 1.3; }
.a-local { background: var(--ink); color: var(--cream); }
.a-ship { background: var(--amber); color: var(--ink); }
.a-watch { background: var(--teal-soft); color: var(--teal); }
.a-none { background: var(--tint); color: var(--ink); }
.a-local .mk, .a-ship .mk, .a-watch .mk, .a-none .mk { background: transparent; color: inherit; padding-inline: 0; }
.a-local .mk::before { content: ""; }
.lowest { background: var(--paper); padding: var(--s4); gap: var(--s1); }
/* Ticket 172: compact whitespace keeps the year lists visible within the phone height bound. */
.mark-key { max-width: 62ch; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
/* Q128: the glance row is the trim summary. A hold shares one closed line. */
.held { background: var(--paper); padding-inline: var(--s2); }
.held > summary { min-height: 44px; }
.held .trim { background: none; padding: 0; }
.held .trim + .trim { margin-top: 0; }
.held[open] .trim { padding-top: var(--s2); }
/* The hash scrolls the trim section to the top. A few pixels of margin keep its heading box on screen. */
.held section.trim, .held h2 { scroll-margin-top: 8px; }
.trim-name { font-family: var(--display); font-weight: 400; font-size: var(--t-head); line-height: 0.9; }
.verdict { font-weight: 600; }
.verdict.gap, .verdict.hold { font-size: var(--t-small); }
.verdict .bar { font-weight: 400; }
.tag { font-size: var(--t-mark); font-family: var(--mono); background: var(--tint); padding: 1px 6px; white-space: nowrap; }
.only { display: grid; gap: var(--s2); justify-items: start; }
.only ul { margin: 0; padding-left: var(--s4); display: grid; gap: var(--s1); font-size: var(--t-small); color: var(--ink-2); }
.trim { background: var(--paper); padding: var(--s2) var(--s4); }
.trim + .trim { margin-top: calc(-1 * var(--s6)); }
.trim-detail { border-top: 0; }
.trim-detail > summary { justify-content: start; }
.trim-body { padding-top: var(--s3); }
.leads { display: grid; gap: var(--s4); }
/* Keep the title, contact and confirmation lines together inside the phone page's height bound (ticket 106). */
.lead { display: grid; gap: 2px; padding-top: var(--s3); border-top: 1px solid var(--rule); align-content: start; }
.lead .k { font-size: var(--t-small); color: var(--ink-2); }
.lead-top { display: grid; gap: var(--s3); align-items: start; }
.lead-top.has-photo { grid-template-columns: 96px minmax(0, 1fr); }
.photo { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--tint); display: grid; place-items: center; font-size: var(--t-mark); font-family: var(--mono); color: var(--ink-2); }
.lead-info { display: grid; gap: var(--s1); min-width: 0; }
.lead-price .fig { font-size: var(--t-lead); }
.name { font-weight: 600; overflow-wrap: anywhere; }
a.dealer, a.ask, a.mail { padding-block: 14px; } /* inline: the tap area grows, the line it sits on does not */
/* "Call [dealer] · [number]" (ticket 106): an ink underline, never amber, which is Ship's alone */
a.call { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--ink);
  text-decoration-line: underline; text-decoration-color: var(--ink); }
details { border-top: 1px solid var(--rule); }
summary { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s1) var(--s2); min-height: 44px; cursor: pointer; font-size: var(--t-small); list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "+"; font-family: var(--mono); width: 1ch; }
details[open] > summary::before { content: "\2212"; }
details > :not(summary) { margin-top: var(--s2); }
/* Ticket 414 (D356): a plain word whose note opens in place. No rule above it and no +/- mark: "Why?" is the cue. */
details.note { border-top: 0; }
details.note > summary::before { content: none; }
details.note .why-ask { text-decoration-line: underline; }
.costlines { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); font-size: var(--t-small); }
.costlines li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); }
.costlines li > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.costlines li > span:last-child { text-align: right; }
.costlines .incl { color: var(--ink-2); }
.costlines .tot { font-weight: 600; border-top: 1px solid var(--rule); padding-top: var(--s2); }
/* the first-call script (ticket 105, F4): each number is the question's own text, in a column of its own */
.script-qs { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); font-size: var(--t-small); }
.script-qs li { display: grid; grid-template-columns: 2ch minmax(0, 1fr); gap: var(--s2); }
.script-qs .q-n { font-weight: 600; font-variant-numeric: tabular-nums; }
.script-qs .why { display: block; color: var(--ink-2); }
.vin { font-family: var(--mono); font-size: var(--t-small); overflow-wrap: anywhere; }
table.years { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: var(--t-small); }
table.years th, table.years td { text-align: left; padding: var(--s2) var(--s1); border-bottom: 1px solid var(--rule); vertical-align: top; overflow-wrap: anywhere; font-weight: 400; }
table.years thead th { font-family: var(--mono); font-size: var(--t-mark); color: var(--ink-2); }
table.years th:first-child { width: 34%; }
table.years tbody th { font-weight: 600; }
.cars { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); font-size: var(--t-small); }
.cars li { display: grid; gap: var(--s1); padding-bottom: var(--s3); border-bottom: 1px solid var(--rule); }
.method { background: var(--paper); padding: var(--s2) var(--s4); }
.method-list { margin: 0; padding-left: var(--s4); display: grid; gap: var(--s2); }
main > *, .leads > *, .lead > *, .lead-info, .only > * { min-width: 0; }
.model-top { flex-wrap: wrap; }
[hidden] { display: none !important; }

/* footer links to the static pages */
.foot-nav { display: flex; flex-wrap: wrap; gap: 0 var(--s6); }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--t-small); }

/* search on the board */
.find { display: grid; gap: var(--s1); }
.find label { font-size: var(--t-small); color: var(--ink-2); }
.find input { width: 100%; min-height: 48px; padding: 0 var(--s4); border: 1px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); font: inherit; }

/* how it works, the FAQ and the Nevada guide */
.page { display: grid; gap: var(--s6); }
.page h2 { font-family: var(--display); font-weight: 400; font-size: var(--t-head); line-height: 0.9; margin-left: -0.05em; }
.page h3 { font-size: var(--t-lead); line-height: 1.3; }
.timeline, .nv-facts, .qa { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s4); }
.timeline { font-size: var(--t-small); }
.nv-facts { color: var(--ink-2); }
.step, .fact, .qa > div { background: var(--paper); padding: var(--s4); display: grid; gap: var(--s2); align-content: start; }
.step .when, .qa dt { font-weight: 600; }
.qa { gap: var(--s4); }
.qa dd { margin: 0; display: grid; gap: var(--s2); }
.checks { margin: 0; padding-left: var(--s6); display: grid; gap: var(--s2); }
.roles { display: grid; gap: var(--s4); }
.role { background: var(--paper); padding: var(--s4); display: grid; gap: var(--s2); align-content: start; }
.role ul { margin: 0; padding-left: var(--s6); display: grid; gap: var(--s1); font-size: var(--t-small); }
.role .not { color: var(--ink-2); }
.fact-top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); }
.fact-top .fig { font-size: var(--t-lead); white-space: nowrap; }
.src { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--t-small); overflow-wrap: anywhere; }
.drop { width: 100%; border-collapse: collapse; font-size: var(--t-small); }
.drop th, .drop td { text-align: left; padding: var(--s2) var(--s3); border-bottom: 1px solid var(--rule); font-weight: 400; }
.drop thead th { font-weight: 600; }
.next { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* deal room */
.car-facts { color: var(--ink-2); } /* a paragraph, so its glyph sits inline at the start of its line */
.dealer-link { font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-box { margin: 0; }
.photo-frame { position: relative; aspect-ratio: 4 / 3; max-width: 100%; background: var(--paper); overflow: hidden; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-frame .fallback { position: absolute; inset: 0; display: none; place-items: center; text-align: center; padding: var(--s6); color: var(--ink-2); font-size: var(--t-small); }
.photo-frame.failed img { display: none; }
.photo-frame.failed .fallback { display: grid; }
table.cost { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: var(--t-small); background: var(--paper); }
table.cost caption { text-align: left; font-weight: 600; padding: var(--s3) var(--s2); }
table.cost th, table.cost td { text-align: left; padding: var(--s3) var(--s2); border-bottom: 1px solid var(--rule); vertical-align: top; overflow-wrap: anywhere; font-weight: 400; }
table.cost thead th { font-weight: 600; }
table.cost tbody th { font-size: var(--t-small); }
table.cost th:first-child { width: 32%; }
table.cost .cell { display: grid; gap: var(--s1); justify-items: start; }
table.cost tfoot th, table.cost tfoot td { border-top: 2px solid var(--ink); border-bottom: 0; font-weight: 600; }
table.cost tfoot .fig { font-size: var(--t-lead); }
table.cost tfoot .negotiable-sum { display: block; margin-top: var(--s1); font-weight: 400; }
table.cost tfoot .negotiable-sum .fig { font-size: inherit; }
.cmp { display: grid; gap: var(--s1); }
.block { background: var(--paper); padding: var(--s4); }
.lead-fig { font-size: var(--t-lead); }
.known { gap: var(--s4); }
.kr { display: grid; gap: var(--s1); }
.kr .lbl { font-weight: 600; display: flex; gap: var(--s2); align-items: center; flex-wrap: wrap; }
.charges { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.charges li { background: var(--paper); padding: var(--s4); display: grid; gap: var(--s1); }
main > *, .photo-box, .kr, .charges li { min-width: 0; }
.t-warn { background: var(--warn-soft); color: var(--warn); }
/* Ticket 336 (D257): the model line, the year chips and one card per trim; the card is its trim's summary. */
.model-line { font-size: var(--t-small); }
.chips button { min-height: 44px; padding: 0 var(--s2); font: inherit; background: none; border: 1px solid var(--rule); border-radius: 4px; color: var(--ink); cursor: pointer; }
.chips button[aria-pressed="true"] { border-color: var(--ink); font-weight: 600; }
.cards .card { background: var(--paper); padding: var(--s1) var(--s3); margin-top: var(--s1); scroll-margin-top: 8px; }
.cards .card + .card { margin-top: var(--s1); }
.cards .card > details > summary { display: grid; grid-template-columns: 1ch 1fr; align-items: start; gap: 2px var(--s2); }
.cards .card > details > summary > * { grid-column: 2; min-width: 0; }
.cards .card > details > summary::before { grid-column: 1; grid-row: 1; }
.card-name { font-family: var(--body); font-size: var(--t-small); font-weight: 600; line-height: 1.3; margin: 0; grid-row: 1; }
.for-year { display: grid; gap: 0; font-size: var(--t-small); line-height: 1.35; }
.for-year[hidden] { display: none; }
.for-year > * { min-width: 0; overflow-wrap: anywhere; }
.for-year > .tile-pic, .for-year > .tile-empty { order: 1; }
.for-year > .card-name { order: 2; }
.for-year > .card-call { order: 3; }
.for-year > .tile-price { order: 4; }
.for-year > .tile-detail { order: 5; }
.for-year > .gap-tag { order: 6; }
.for-year > .tile-gap { order: 7; }
.for-year > .tile-drive { order: 8; }
.for-year > .tile-action { order: 9; }
.for-year > .from { order: 10; }
.card-call, .from, .tile-gap, .gap-tag, .tile-price, .tile-action { display: block; overflow-wrap: anywhere; }
.from { color: var(--ink-2); }
.from-way { color: var(--ink); }
.cards .build + .build { border-top: 1px solid var(--rule); padding-top: var(--s3); }
.build-name { margin: 0; }
/* Ticket 382 (D317): photo tiles, three selects, and the two-car comparison. The way lines stay in the face. */
.cards.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); align-items: start; }
.cards.tiles > * { min-width: 0; }
.cards.tiles > :not(section.card), .cards.tiles section.card[data-hero] { grid-column: 1 / -1; }
.cards.tiles .trim + .trim { margin-top: 0; }
.cards.tiles section.card { margin-top: 0; }
.cards .card[data-tile] > details > summary { display: block; }
.cards .card[data-tile] > details > summary::before { content: none; }
.cards.tiles .stamp { white-space: normal; }
.tile-pic { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--tint); }
.cards.tiles > article.name-tile { grid-column: auto; }
/* The closed version card stays a half-width face. Opening it is the comparison, which needs the row:
   a 96px lead photo plus the price does not fit in half a phone column. */
.cards.tiles section.card[data-hero] { grid-column: auto; }
.cards.tiles section.card:has(> details.trim-detail[open]) { grid-column: 1 / -1; }
.hero-slot { grid-column: 1 / -1; }
.hero-photo { margin-inline: calc(-1 * max(var(--s4), env(safe-area-inset-left, 0px))); background: var(--tint); }
.hero-photo img { width: 100%; height: auto; display: block; }
.hero-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s2) var(--s3); margin: var(--s2) 0 0;
  font-family: var(--display); font-weight: 400; font-size: 60px; line-height: 0.9; }
.hero-price .hero-amount .fig { font-family: var(--display); font-weight: 400; font-size: 60px; line-height: 0.9; }
.hero-price .gap-tag { font-family: var(--mono); font-size: var(--t-mark); }
.hero-price .gap-tag .fig { font-family: var(--mono); font-size: var(--t-mark); font-weight: 600; }
.hero-note, .hero-line { margin: 0; font-size: var(--t-small); }
.name-tile { position: relative; background: var(--paper); min-width: 0; }
.name-tile .for-year { padding: var(--s2) var(--s3); }
.name-hit { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0;
  background: transparent; cursor: pointer; }
.swatch { display: inline-block; width: 14px; height: 14px; margin-right: 6px; border: 1px solid var(--ink);
  border-radius: 50%; vertical-align: -2px; }
.choice-row { grid-column: 1 / -1; display: grid; gap: var(--s2); }
.choice-group { display: grid; gap: var(--s1); }
.choice-label { margin: 0; font-size: var(--t-mark); font-family: var(--mono); color: var(--ink-2); }
.only-choice { margin: 0; min-height: 44px; display: flex; align-items: center; }
.chips button.is-faded { opacity: 0.35; }
.tile-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-empty { margin: 0; padding: var(--s3); background: var(--tint); color: var(--ink-2); }
.tile-price .fig { font-size: var(--t-lead); }
.gap-tag { font-family: var(--mono); font-size: var(--t-mark); }
.tile-gap { color: var(--ink-2); }
.tile-go { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s3); background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; }
.filters { display: grid; gap: var(--s2); }
.filters label { display: grid; gap: var(--s1); font-size: var(--t-small); color: var(--ink-2); }
.filters select { min-height: 44px; width: 100%; font: inherit; background: var(--paper); color: var(--ink); border: 1px solid var(--ink); border-radius: 0; padding: 0 var(--s2); }
/* Ticket 94: the comparison is last in the markup, so each lead's text stays that car's. Paint it first. */
.call-block { display: flex; flex-direction: column; }
.call-block > * { min-width: 0; }
.call-block > .compare { order: -1; }
.compare { display: grid; gap: var(--s3); }
.compare-sides { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.compare-side { min-width: 0; }
.compare-label { font-weight: 600; }
.compare-rows { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: var(--t-small); }
.compare-rows th, .compare-rows td { text-align: left; padding: var(--s2) var(--s1); border-bottom: 1px solid var(--rule); vertical-align: top; overflow-wrap: anywhere; font-weight: 400; }
.compare-rows th { width: 34%; font-weight: 600; }
.cmp-better { font-weight: 600; background: var(--tint); }
/* Ticket 337 (D257): the trim view. Each way to get it lists its cars, top 5 first. */
.picker { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: var(--s2); margin-bottom: var(--s3); padding-bottom: var(--s1); }
.picker .pick { flex: none; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s2); border: 1px solid var(--rule); border-radius: 4px; font-size: var(--t-small); color: var(--ink); text-decoration: none; }
.picker .pick[aria-current] { border-color: var(--ink); font-weight: 600; }
.ways { display: grid; gap: var(--s3); }
.ways .way { display: grid; gap: var(--s2); padding-top: var(--s3); border-top: 1px solid var(--rule); }
.ways .way > * { min-width: 0; }
.way-cars { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); font-size: var(--t-small); }
.way-cars li { display: grid; gap: 2px; padding-bottom: var(--s2); border-bottom: 1px solid var(--rule); }
.way-cars p { margin: 0; }
.sort button { min-height: 44px; padding: 0 var(--s2); font: inherit; background: none; border: 1px solid var(--rule); border-radius: 4px; color: var(--ink); cursor: pointer; }
.sort button[aria-pressed="true"] { border-color: var(--ink); font-weight: 600; }

/* Home (ticket 404). Phone only. The 700px and 1120px layout is ticket 417. */
.headline { overflow-wrap: anywhere; }
.home-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.home-tile { display: grid; gap: var(--s1); min-width: 0; min-height: 44px; color: inherit; text-decoration: none; align-content: start; overflow-wrap: anywhere; }
.home-tile h3 { font-size: var(--t-small); line-height: 1.3; margin: 0; }
.home-pic { aspect-ratio: 4 / 3; background: var(--tint); overflow: hidden; }
.home-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-empty { margin: 0; padding: var(--s2); background: var(--tint); color: var(--ink-2); font-size: var(--t-small); }
.home-chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.home-chips button, .home-see, .home-cta, .home-faq summary {
  min-height: 44px; display: inline-flex; align-items: center;
}
.home-chips button {
  font: inherit; background: var(--paper); color: var(--ink);
  border: 1px solid var(--ink); padding: 0 var(--s3); cursor: pointer; gap: var(--s1);
}
.home-chips button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.home-see, .home-cta {
  font: inherit; background: none; color: var(--ink); border: 0; padding: 0;
  font-weight: 600; text-decoration: none; cursor: pointer;
}
.home-faq { display: grid; gap: var(--s2); }
.home-faq details { background: var(--paper); padding: 0 var(--s3); }
.home-faq summary { cursor: pointer; }
.home-faq p { margin: 0 0 var(--s3); }
.proof { display: grid; gap: var(--s3); }
.proof-pair { display: grid; gap: var(--s4); }
.proof-pair > div { min-width: 0; }
.proof .gap, .home-tile .gap { overflow-wrap: anywhere; min-width: 0; margin: 0; }
.home-steps { margin: 0; padding-left: var(--s4); display: grid; gap: var(--s3); }
.home-steps li { min-width: 0; }
.proof a, .home-steps a { display: inline-flex; align-items: center; min-height: 44px; }

/* Ticket 385: grouped costs share the deal-room table in a comparison sheet. */
table.cost .cost-group th, table.cost .cost-group td { background: var(--paper-2, var(--paper)); font-weight: 600; border-top: 2px solid var(--ink); }
.cost-sheet { width: min(100% - 24px, 760px); max-height: 90dvh; overflow: auto; padding: var(--s3); border: 1px solid var(--rule); background: var(--paper); color: var(--ink); }
.cost-sheet::backdrop { background: rgb(0 0 0 / 40%); }
.cost-sheet > button { min-height: 44px; margin-bottom: var(--s3); }
.cost-open { min-height: 44px; }

/* K look (ticket 539). Opt in only with <html data-look="k">.
   Token names/values and component shapes follow the Nov 20 K handoff; provenance
   and donor hashes are recorded in .scratch/v1/k-look/t539-sources.md. */
[data-look="k"] {
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px;
  --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px;
  --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: .875rem; --text-sm: .875rem; --text-md: 1rem; --text-lg: 1.25rem;
  --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + .5rem, 3.75rem);
  --text-display: clamp(2.75rem, 4.8vw, 5.5rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem);
  --text-title: clamp(1.25rem, .75vw + .875rem, 1.625rem);
  --text-lead: clamp(1.0625rem, .3vw + 1rem, 1.25rem);
  --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-in: cubic-bezier(.7, 0, .84, 0);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms; --dur-wipe: 400ms;
  --container: 1440px; --gutter: 64px; --gap-columns: 32px;
  --section-gap-s: 96px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200;
  --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --color-paper: #f2f1ee; --color-paper-2: #e9e8e3; --color-paper-3: #dedcd6;
  --color-sheet: #fafaf8; --color-ink: #0d0d0d; --color-ink-2: #2a2a29;
  --color-muted: #595959; --color-rule: #cbc9c2; --color-rule-2: #595959;
  --color-accent: #f9c112; --color-accent-2: #e5b00b; --color-accent-ink: #0d0d0d;
  --color-focus: #0d0d0d; --color-hot: #ff8552; --color-blue: #2743e0; --color-mint: #86e3b6;
  --color-error: oklch(52% .19 27); --color-success: oklch(50% .12 150);
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Geist", ui-sans-serif, system-ui, sans-serif; --font-outlier: var(--font-body);
  --radius-card: 0; --radius-pill: 0; --rule-hair: 1px; --rule-bar: 2px;
  --rule-heavy: 4px; --rule-poster: 3px; --shadow-card: none;
  --tracking-display: .01em; --display-weight: 400;
  scrollbar-color: var(--color-muted) var(--color-paper);
  scroll-padding-top: var(--space-3xl);
}
[data-look="k"] body { background: var(--color-paper); color: var(--color-ink); font: 400 var(--text-md)/1.55 var(--font-body); }
[data-look="k"] h1, [data-look="k"] h2, [data-look="k"] h3,
[data-look="k"] .fig, [data-look="k"] .wordmark, [data-look="k"] .mast {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  line-height: 1; letter-spacing: var(--tracking-display); overflow-wrap: break-word; min-width: 0;
}
[data-look="k"] h1 { font-size: var(--text-display); }
[data-look="k"] h2 { font-size: var(--text-section); }
[data-look="k"] h3 { font-size: var(--text-title); }
[data-look="k"] .lead { font-size: var(--text-lead); line-height: 1.45; max-width: 46ch; }
[data-look="k"] .small { font: 400 var(--text-sm)/1.4 var(--font-body); text-transform: none; letter-spacing: 0; }
[data-look="k"] .muted { color: var(--color-muted); }
/* Secondary text takes the band's own colour (audit P1-1): --color-muted is 4.22:1 on yellow and 2.77:1 on black, so on
   yellow it is ink (11:1) and on a --color-ink band it is #c7c5be (10:1), as the locked mockups draw it. */
[data-look="k"] .script .muted, [data-look="k"] .script .why, [data-look="k"] .c-amber .muted,
[data-look="k"] .nv-guide .again .muted { color: var(--color-ink); }
[data-look="k"] .room-more .muted, [data-look="k"] .top .muted, [data-look="k"] .banner .muted, [data-look="k"] .bar .muted,
[data-look="k"] .buybar .muted, [data-look="k"] .room-route .muted, [data-look="k"] .ticket .muted, [data-look="k"] .hero-face .muted,
[data-look="k"] .steps .muted, [data-look="k"] .nv-guide .ink .muted { color: #c7c5be; }
/* The home page's cost sheet is a dialog inside the dark .steps band but draws its own paper and sheet grounds. */
[data-look="k"] .steps #home-costs .muted { color: var(--color-muted); }
[data-look="k"] .wrap, [data-look="k"] .container {
  width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
}
[data-look="k"] .top { max-width: none; background: var(--color-ink); color: var(--color-paper); min-height: 64px; }
[data-look="k"] .home { color: var(--color-accent); }
[data-look="k"] .home svg { height: 28px; max-width: 100%; }
[data-look="k"] .banner { background: var(--color-ink); color: var(--color-paper-3); text-align: center; font-size: var(--text-sm); padding: var(--space-xs) var(--gutter); max-width: none; }
[data-look="k"] .bar { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-ink); color: var(--color-paper); border-top: var(--rule-hair) solid var(--color-ink-2); }
[data-look="k"] .bar .container { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: var(--space-md); }
[data-look="k"] .wordmark { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-2xl); text-decoration: none; color: var(--color-paper); }
/* The logo (ticket 1802): the inline lockup, amber mark and wordmark in currentColor: cream on the ink bar, ink on the footer. */
[data-look="k"] .wordmark svg, [data-look="k"] .mast svg { display: block; height: 32px; width: auto; max-width: 100%; }
@media (max-width: 40rem) { [data-look="k"] .wordmark svg { height: 24px; } }
[data-look="k"] .bar :focus-visible, [data-look="k"] .top :focus-visible { outline-color: var(--color-paper); }
[data-look="k"] .foot { padding-block: var(--space-3xl) var(--space-2xl); background: var(--color-paper-2); border-top: var(--rule-bar) solid var(--color-ink); }
[data-look="k"] .foot-in { display: block; }
[data-look="k"] .mast { font-size: clamp(4rem, 15vw, 15rem); max-width: none; }
[data-look="k"] .foot-nav, [data-look="k"] .foot .links { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-xl); margin: var(--space-xl) 0 var(--space-lg); padding: var(--space-lg) 0 0; list-style: none; border-top: var(--rule-bar) solid var(--color-ink); font-weight: 600; }
[data-look="k"] .foot a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
[data-look="k"] .foot .small a { display: inline; min-height: 0; } /* a link inside a sentence: its tap area is padding, so it never stretches the line (ticket 1685) */
[data-look="k"] .foot .small { margin-top: var(--space-lg); max-width: 75ch; line-height: 24px; }
[data-look="k"] .c-amber { --card: var(--color-accent); --card-ink: var(--color-ink); }
[data-look="k"] .c-hot { --card: var(--color-hot); --card-ink: var(--color-ink); }
[data-look="k"] .c-blue { --card: var(--color-blue); --card-ink: var(--color-paper); }
[data-look="k"] .c-mint { --card: var(--color-mint); --card-ink: var(--color-ink); }
[data-look="k"] .c-sheet { --card: var(--color-sheet); --card-ink: var(--color-ink); }
[data-look="k"] .c-hot p, [data-look="k"] .c-hot li, [data-look="k"] .c-hot a, [data-look="k"] .c-hot .small { font-weight: 500; }
[data-look="k"] .cards { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: var(--space-xl) var(--space-lg); margin: var(--space-xl) 0; padding: 0; list-style: none; }
[data-look="k"] .cards > li { min-width: 0; rotate: var(--tilt, -1deg); transition: rotate var(--dur-long) var(--ease-out), translate var(--dur-long) var(--ease-out); }
[data-look="k"] .cards > li:nth-child(3n+2) { --tilt: .8deg; }
[data-look="k"] .cards > li:nth-child(3n) { --tilt: -.4deg; }
[data-look="k"] .cards > li:hover, [data-look="k"] .cards > li:focus-within { rotate: 0deg; translate: 0 -8px; z-index: 2; }
[data-look="k"] .card, [data-look="k"] .lot { display: flex; flex-direction: column; height: 100%; padding: var(--space-lg); background: var(--card); color: var(--card-ink); border: var(--rule-poster) solid var(--color-ink); box-shadow: 8px 8px 0 var(--color-ink); text-decoration: none; }
[data-look="k"] .btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: var(--space-sm) var(--space-lg); border: var(--rule-bar) solid var(--color-ink); background: var(--color-accent); color: var(--color-accent-ink); font: 600 var(--text-md)/1.2 var(--font-body); text-decoration: none; cursor: pointer; }
[data-look="k"] .btn:hover { background: var(--color-accent-2); }
[data-look="k"] .btn.dark { background: var(--color-ink); color: var(--color-paper); }
[data-look="k"] .c-blue .btn.dark { background: var(--color-paper); color: var(--color-ink); }
[data-look="k"] .c-blue :focus-visible { outline-color: var(--color-paper); }
[data-look="k"] .k-wipe { position: fixed; inset: 0; z-index: 700; display: grid; place-items: center; padding: var(--space-md); background: var(--color-ink); color: var(--color-accent); transform: translateY(-101%); pointer-events: none; }
[data-look="k"] .k-wipe span { font: 400 clamp(3rem, 14vw, 13rem)/1 var(--font-display); text-align: center; text-transform: uppercase; overflow-wrap: anywhere; }
[data-look="k"] .k-wipe.yellow { background: var(--color-accent); color: var(--color-ink); }
[data-look="k"] .buybar { display: none; }
@media (max-width: 60rem) {
  [data-look="k"] { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; }
  [data-look="k"] .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  [data-look="k"] { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; }
  [data-look="k"] .cards { grid-template-columns: minmax(0, 1fr); }
  [data-look="k"].k-has-bar .buybar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); position: fixed; inset: auto 0 0; z-index: var(--z-sticky); padding: var(--space-xs) var(--gutter) max(var(--space-xs), env(safe-area-inset-bottom)); background: var(--color-ink); color: var(--color-paper); border-top: var(--rule-bar) solid var(--color-accent); visibility: hidden; transform: translateY(100%); transition: transform var(--dur-short) var(--ease-out), visibility 0s linear var(--dur-short); }
  [data-look="k"].k-has-bar .buybar.on { visibility: visible; transform: none; transition-delay: 0s; }
  [data-look="k"] .buybar p { min-width: 0; line-height: 1.15; }
  [data-look="k"] .buybar .how { display: block; font: 600 var(--text-sm)/1.4 var(--font-body); }
  [data-look="k"] .buybar .fig { display: inline-block; font-size: 1.75rem; }
  [data-look="k"] .buybar .btn { flex: none; padding-inline: var(--space-md); }
  [data-look="k"] .buybar :focus-visible { outline-color: var(--color-paper); }
}
@media (prefers-reduced-motion: reduce) {
  [data-look="k"], [data-look="k"] *, [data-look="k"] *::before, [data-look="k"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-look="k"] .cards > li { rotate: 0deg; translate: none; }
  [data-look="k"] .k-wipe { display: none; }
}

/* K10: only the selected car moves; the new document paints immediately underneath. */
[data-look="k"] { view-transition-name: none; }
[data-look="k"]::view-transition-group(*) {
  animation-duration: .4s;
  animation-timing-function: cubic-bezier(.2, .7, .2, 1);
}
[data-look="k"] [hidden] [style*="view-transition-name"] { view-transition-name: none !important; }
@media (prefers-reduced-motion: reduce) {
  [data-look="k"] [style*="view-transition-name"] { view-transition-name: none !important; }
  [data-look="k"]::view-transition-group(*) { animation: none !important; }
}

/* K shared chrome (ticket 1531, P1 ticket 4). Everything below belongs to the K look and is shared by all seven pages:
   the header call, the freshness band, the one footer, the icons, the source marks, the breadcrumb, and the layout
   rules Home, Model and the Deal Room need to match the D531 mock-ups. Per-page styles no longer repeat any of it. */

/* Header call: Home, How it works, Fair questions, Nevada registration and the 404 get the yellow button, one height
   on every page; a model page and a deal room get the quiet text link. */
[data-look="k"] .bar a.btn { min-height: 48px; padding: var(--space-sm) var(--space-lg); font-weight: 600; text-decoration: none; white-space: nowrap; }
[data-look="k"] .bar a.btn:focus-visible { outline-color: var(--color-paper); }
[data-look="k"] .bar a.text-btn { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-paper); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; white-space: nowrap; }
[data-look="k"] .bar a.text-btn:hover { color: var(--color-accent); }
[data-look="k"] .bar a.wordmark { min-height: 44px; }
@media (max-width: 40rem) { [data-look="k"] .bar a.btn { padding-inline: var(--space-md); } }

/* Freshness band: the one line above the header, the same on every K page. */
[data-look="k"] .banner { overflow-wrap: anywhere; }
@media (max-width: 40rem) { [data-look="k"] .banner { padding-inline: var(--gutter); } }

/* The one footer. */
[data-look="k"] .foot-in { padding-block: 0; }
[data-look="k"] .foot .mast { font-size: clamp(5rem, 15vw, 15rem); color: var(--color-ink); }
[data-look="k"] .foot .small { color: var(--color-muted); }
[data-look="k"] .foot .small b { color: var(--color-ink); }
[data-look="k"] .foot .small a { font-weight: 600; }
[data-look="k"] .foot-nav a { color: inherit; font-size: 1rem; }

/* Breadcrumb ("← Home", "All models"): ink on every surface it sits on, never the muted grey that fails on orange. */
[data-look="k"] .crumb { color: var(--color-ink); font: 600 var(--text-md)/1.55 var(--font-body); text-decoration: underline; gap: var(--space-xs); }
[data-look="k"] .crumb:focus-visible { outline-color: var(--color-ink); }

/* Icons. The sprite in `_shared.html` (seven symbols, ticket 1677) is drawn in currentColor; `.ico` sizes and strokes a <use> of it.
   The place marks the pages already carry, <i class="g g-local|g-ship">, draw the same pin and carrier through a mask
   filled with currentColor, so they take the colour of the text beside them: paper on the ink ticket, ink on yellow. */
[data-look="k"] .ico { flex: none; width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
/* A back link ("← All models") uses the arrow mirrored. With motion allowed, a link's arrow moves 4px right on hover:
   `translate` is applied outside `transform`, so the mirror does not flip it. Only the arrow moves, not a pin or truck in a link. */
[data-look="k"] .ico.back { transform: scaleX(-1); }
@media (prefers-reduced-motion: no-preference) {
  [data-look="k"] a .ico:has(use[href='#i-arrow']) { transition: translate var(--dur-short) var(--ease-out); }
  [data-look="k"] a:hover .ico:has(use[href='#i-arrow']) { translate: 4px 0; }
}
[data-look="k"] .g {
  --g-local: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11a7 7 0 0 1 14 0c0 4.8-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
  --g-ship: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 7h11v9H2zM13 10h4l4 3v3h-8'/%3E%3Ccircle cx='6' cy='17.5' r='1.75'/%3E%3Ccircle cx='17' cy='17.5' r='1.75'/%3E%3C/svg%3E");
  width: 1.25em; height: 1.25em; margin-right: 6px; vertical-align: -.3em; background: currentColor; border-radius: 0; outline: 0; transform: none;
  -webkit-mask: var(--g-icon) center / contain no-repeat; mask: var(--g-icon) center / contain no-repeat;
}
[data-look="k"] .g-local { --g-icon: var(--g-local); background: currentColor; }
[data-look="k"] .g-ship { --g-icon: var(--g-ship); background: currentColor; outline: 0; transform: none; }

/* Source marks, one family for every surface: outlined, the surface's own text colour, and no pink. Ink on bone,
   yellow, orange, mint and sheet (7:1 or better); paper on the ink ticket, the ink phone bar, the blue cards and the
   ink road band and hero face (6:1 or better). A card's own ink (`--card-ink`) wins, so a mark is always as readable as its card. */
[data-look="k"] .mk { color: var(--mk-ink, var(--card-ink, var(--color-ink))); background: transparent; border: 1px solid currentColor; font-weight: 600; padding: 0 6px; }
[data-look="k"] .m-listed { border-style: solid; }
[data-look="k"] .m-quoted, [data-look="k"] .m-confirmed { border-width: 2px; padding-inline: 5px; }
[data-look="k"] .m-estimated { border-style: dotted; padding-inline: 6px; }
[data-look="k"] .m-not-confirmed { border-style: dashed; }
[data-look="k"] .ticket, [data-look="k"] .buybar, [data-look="k"] .room-route, [data-look="k"] .room-more, [data-look="k"] .hero-face, [data-look="k"] .steps, [data-look="k"] .c-blue { --mk-ink: var(--color-paper); }
/* A bone card inside a dark or blue surface (the deal room's Las Vegas comparison) takes ink back for its own marks. */
[data-look="k"] .room-local { --mk-ink: var(--color-ink); --card-ink: var(--color-ink); }
[data-look="k"] .ticket .mk, [data-look="k"] .buybar .mk, [data-look="k"] .room-route .mk, [data-look="k"] .room-more .mk, [data-look="k"] .hero-face .mk, [data-look="k"] .steps .mk { color: var(--color-paper); }

/* Model: the year filter shows no native radio dot. The input stays in the page, hidden but focusable, and its
   label shows both states (chosen: ink fill; keyboard focus: a ring), so keyboard and screen reader use are unchanged. */
[data-look="k"] [data-k-years] label { position: relative; cursor: pointer; }
[data-look="k"] [data-k-years] input[type="radio"] { appearance: none; -webkit-appearance: none; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
[data-look="k"] [data-k-years] label:has(input:checked) { background: var(--color-ink); color: var(--color-paper); }
[data-look="k"] [data-k-years] label:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* Model: a trim's name breaks between words, never inside one ("85TH ANNIVERSARY", not "ANNIVERSAR / Y"). */
[data-look="k"] .name-tile h2, [data-look="k"] .name-tile h3, [data-look="k"] .name-tile .card-name { hyphens: none; overflow-wrap: normal; word-break: normal; }

/* Deal Room, phone: air above the warranty line under the route. */
@media (max-width: 40rem) {
  [data-look="k"] .room-route .road-facts { margin-top: var(--space-lg); gap: var(--space-lg); }
}

/* Home: the proof ticket keeps its photo, both prices and its call to action inside a 900 px desktop fold. These
   selectors carry `.k-home` so they outrank the board's own later rules at the same weight. */
@media (min-width: 60.0625rem) {
  [data-look="k"] .k-home .hero > .container { padding-block: 32px 40px; }
  [data-look="k"] .k-home .hero .hero-photo { width: 58%; margin-left: 12%; }
  [data-look="k"] .k-home .hero .ticket { margin-top: -6%; padding: 16px 24px; }
  [data-look="k"] .k-home .ticket .name { margin-bottom: 8px; font-size: 1.125rem; }
  [data-look="k"] .k-home .ticket .proof-pair { gap: 16px; }
  [data-look="k"] .k-home .ticket .price { margin: 0 0 4px; }
  [data-look="k"] .k-home .ticket .price .fig { font-size: clamp(2.5rem, 10cqi, 3.75rem); }
  [data-look="k"] .k-home .ticket .way-value + .way-value .fig { font-size: clamp(2rem, 6.5cqi, 2.75rem); }
  [data-look="k"] .k-home .ticket .then .price .fig { font-size: 2rem; }
  [data-look="k"] .k-home .ticket .gap { margin-top: 8px; }
}

/* Ticket 1677. Fold-open rows: the inherited "+" of `details summary::before` is off under K. Each page draws its own
   round "+" at the right with ::after, and the question starts at the row's left edge. */
[data-look="k"] details summary::before, [data-look="k"] details[open] > summary::before { content: none; }
[data-look="k"] .home-faq summary, [data-look="k"] .k-method .more summary { justify-content: space-between; flex-wrap: nowrap; text-align: left; }
[data-look="k"] .k-method .more summary { font-size: var(--text-md); }

/* The big dark button ("Find my car →", "Nevada registration guide →"): 20px type, 64px tall, 56px on a phone, with room
   for the arrow icon. */
[data-look="k"] .btn.big { min-height: 64px; padding: var(--space-sm) var(--space-xl); font-size: 1.25rem; gap: var(--space-sm); }
@media (max-width: 40rem) { [data-look="k"] .btn.big { min-height: 56px; padding-inline: var(--space-lg); } }

/* Cards on a phone take 16px of padding, not 24px. */
@media (max-width: 40rem) { [data-look="k"] .card, [data-look="k"] .lot, [data-look="k"] .nv-guide .card.card { padding: var(--space-md); } }

/* Ticket 1765: the card that takes a shopper's email for a car or a trim (`_save_card.html`). Paper ground, ink text,
   so it reads at AA with no help; it sits below the Deal Room's first screen and between the Model page's trim grid and
   its fine print. */
[data-look="k"] .save-card { grid-template-columns: minmax(0, 1fr); background: var(--color-paper-2); color: var(--color-ink); }
[data-look="k"] .save-card h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: .95; max-width: 22ch; }
[data-look="k"] .save-card p { max-width: 60ch; margin: 0; }
[data-look="k"] .save-card form { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: var(--space-md); align-items: end; max-width: 64rem; }
[data-look="k"] .save-card .save-field { display: grid; gap: var(--space-2xs); min-width: 0; }
[data-look="k"] .save-card label { font: 600 var(--text-md)/1.3 var(--font-body); }
[data-look="k"] .save-card input[type="email"], [data-look="k"] .save-card input[type="tel"], [data-look="k"] .save-card input[type="text"], [data-look="k"] .save-card select {
  width: 100%; min-height: 48px; padding: 0 var(--space-sm); border: var(--rule-bar) solid var(--color-ink); border-radius: 0;
  background: var(--color-sheet); color: var(--color-ink); font: 400 var(--text-md)/1.3 var(--font-body); }
[data-look="k"] .save-card :focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
[data-look="k"] .save-card button.btn { min-height: 56px; cursor: pointer; }
[data-look="k"] .save-card button.btn:disabled { cursor: progress; }
[data-look="k"] .save-card [role="status"] { font: 600 var(--text-lg)/1.3 var(--font-body); }
[data-look="k"] .save-card .save-error a { text-decoration: underline; }

@media (max-width: 40rem) { [data-look="k"] .foot .small { margin-top: var(--space-sm); } } /* the footer's two count lines fit the model page's height cap */

/* Ticket 1685. The skip link is the first stop of the Tab order; it stays off screen until it has focus, then sits top left
   over the header. `main` takes the focus the link sends it, with no ring of its own. */
.skip { position: absolute; left: 16px; top: 8px; z-index: 1000; padding: 12px 16px; background: var(--ink, #111); color: var(--paper, #fff); font-weight: 600; text-decoration: none; transform: translateY(-200%); }
.skip:focus { transform: none; outline: 3px solid var(--paper, #fff); outline-offset: 2px; }
[data-look="k"] .skip { background: var(--color-accent); color: var(--color-ink); border: var(--rule-bar) solid var(--color-ink); outline-color: var(--color-paper); }
#main:focus { outline: 0; }
