/* autosrabais.ca (the price-drop lot): one stylesheet. Was AutoRabais (2026-10-23), before that DollarAuto.
   2026-11-26: the ink + blue look — the layer at the end of this file (drawn when the site was called eLane;
   renamed AutosRabais 2026-11-28, same look). Ink surfaces, BLUE as the one signal colour (Adam: the original design, "but instead of
   green blue"), Geist + Geist Mono, lane markings as the motif. Same look as the link page (link.css).
   Built on DOLLARAUTO-research/polish/SPEC.md ("clean cut and professional", 2026-10-13).
   Order: tokens, components (spec 3.1-3.24), responsive (1079, 900, 760, 640, 359), reduced motion + print. */

:root {
  /* Brand: ink + blue. Ink is every dark surface; blue is the one signal colour (the "e", the noon
     clock, the buy button, lane markings). Blue has two values because one colour can't do both jobs:
     --blue FILLS buttons, tiles and bands, always with WHITE text on it (5.2:1);
     --sky is blue as TEXT, figures and icons on ink (7.7:1). On light surfaces blue text is --blue-ink. */
  --night: #0A0B0D;       /* the dark surfaces: header, hero, price card, buy bar, footer */
  --night-2: #131519;     /* raised on --night: the board, bands */
  --blue: #2563EB;
  --blue-hi: #1D4ED8;     /* hover of --blue only */
  --blue-deep: #1E40AF;   /* pressed */
  --sky: #60A5FA;         /* blue as text / figures / thin lines on ink */
  --blue-50: #EFF6FF;     /* good-news tints on light: ok circles, "nothing to report", savings */
  --blue-line: #BFDBFE;
  --blue-ink: #1D4ED8;    /* blue as text on light surfaces (6.7:1 on white) */
  /* The base layer's names, mapped onto ink + blue */
  --accent: #0A0B0D;      /* active tab line, selected count, chart line, solid buttons */
  --accent-hi: #24272D;
  --accent-deep: #000000;
  --accent-700: #0A0B0D;  /* links, input focus border */
  --accent-200: #60A5FA;  /* progress lines on dark */
  --accent-100: #EFF6FF;  /* current price step, active drawer link */
  --brand-blue: #2563EB;
  --pop: #60A5FA;         /* money and urgent timers on dark surfaces only (ink text sits on it too) */
  /* Signal: last chance, sold stamp, an hour left */
  --live: #DC2626;        /* white text on it: 4.8:1 (the old orange was 3.1:1) */
  --live-hi: #FF7E61;     /* the same signal on ink */
  --live-ink: #B91C1C;
  --live-100: #FFE9E3;
  --steel: #0A0B0D;
  /* Real problems + damage pins only */
  --red: #D7263D;
  --red-ink: #A8172B;
  --red-100: #FDE8EB;
  --red-50: #FFF5F6;
  /* Neutrals (a touch warm, the link page's family) */
  --ink: #0A0B0D;
  --text: #1E2026;
  --muted: #5D6168;
  --faint: #8F939A;       /* never for readable text */
  --line-strong: #C8CBC3;
  --line: #E0E2DB;
  --line-soft: #ECEEE7;
  --page: #F6F7F3;
  --wash: #EFF1EA;
  --card: #FFFFFF;
  /* On --night */
  --on-night: #FFFFFF;
  --on-night-2: #A9AEB5;
  --on-night-line: rgba(255, 255, 255, 0.1);
  --on-night-fill: rgba(255, 255, 255, 0.05);
  --photo-scrim: rgba(10, 11, 13, 0.64);
  /* Type: Geist for words, Geist Mono for clocks, counts and lot numbers */
  --ui: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  /* Space: use only these */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  /* Shape */
  --r-xs: 6px;    /* tags, photo chips, thumbnails */
  --r-sm: 10px;   /* inputs, chips, nested tiles */
  --r: 16px;      /* panels, media */
  --r-lg: 22px;   /* cards, hero board, price card */
  --pill: 999px;  /* buttons, counts */
  --h-lg: 48px;
  --h: 40px;
  --h-sm: 36px;
  --h-xs: 24px;
  --shadow-1: 0 1px 2px rgba(10, 11, 13, 0.05), 0 8px 24px rgba(10, 11, 13, 0.08);
  --shadow-2: 0 16px 40px rgba(10, 11, 13, 0.18);
  --shadow-up: 0 -6px 20px rgba(10, 11, 13, 0.14);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --fast: 150ms;
  /* A lane marking: blue dashes on ink, as link.css (the header rule, the board, the price card, the footer) */
  --lane: linear-gradient(90deg, var(--blue) 0 55%, transparent 55% 100%);
  /* Layout */
  --top: 64px;
  --wrap: 1280px;
  --gutter: 32px;
}

/* ── 3.1 Base ── */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + 56px); }
body { margin: 0; background: var(--page); color: var(--text); font-family: var(--ui); font-size: 16px; line-height: 1.5; font-weight: 400; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-700); }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
.sr-only, .seg small { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: var(--r-xs); }
.hero :focus-visible, .pricecard :focus-visible, .buybar :focus-visible, .lb :focus-visible { outline-color: #FFFFFF; }
svg.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.num { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -64px; z-index: 100; background: var(--ink); color: #FFFFFF; padding: 8px 16px; border-radius: var(--r-sm); font-weight: 700; text-decoration: none; }
.skip:focus { top: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── 3.2 Header, logo, search, suggestions ── */
.top { position: sticky; top: 0; z-index: 40; background: #FFFFFF; border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 16px; height: var(--top); max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.burger { display: inline-flex; flex: none; width: 40px; height: 40px; margin-left: -8px; border: 0; border-radius: var(--r-sm); background: none; align-items: center; justify-content: center; color: var(--ink); }
.burger svg.i { width: 22px; height: 22px; }
.burger:hover { background: var(--line-soft); }
/* Logo: the AR mark (charcoal tile, blue bar) + AUTO RABAIS wordmark */
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; height: 40px; text-decoration: none; color: var(--ink); }
.mark { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--night); color: #FFFFFF; font-weight: 800; font-size: 16px; line-height: 1; letter-spacing: 0.02em; padding-bottom: 4px; }
.mark::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 8px; height: 2px; background: var(--brand-blue); }
.logo-word { font-weight: 800; font-size: 16px; line-height: 16px; letter-spacing: 0.14em; color: var(--ink); white-space: nowrap; }
.logo-word b { font-weight: 800; color: var(--brand-blue); }
/* Search */
.search { position: relative; flex: 1 1 auto; min-width: 0; max-width: 560px; }
.search label { display: flex; align-items: center; gap: 8px; height: var(--h); padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--wash); color: var(--muted); transition: border-color var(--fast), background var(--fast); }
.search label:focus-within { border-color: var(--accent-700); background: var(--card); }
.search input { flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 16px; line-height: 24px; }
.search input::-webkit-search-cancel-button { display: none; }
.search .clear { display: none; width: 24px; height: 24px; border: 0; border-radius: 50%; background: var(--line); color: var(--ink); align-items: center; justify-content: center; padding: 0; }
.search.has .clear { display: inline-flex; }
.search .clear svg.i { width: 14px; height: 14px; }
.hero-search { display: none; max-width: none; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 45; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-2); padding: 8px; max-height: 70vh; overflow: auto; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r-sm); text-decoration: none; color: var(--text); }
.suggest a:hover, .suggest a.on { background: var(--wash); }
.suggest img, .suggest .ph-mini { flex: none; width: 72px; height: 54px; border-radius: var(--r-xs); object-fit: cover; background: var(--line-soft); }
.suggest b { display: block; color: var(--ink); font-size: 14px; line-height: 20px; font-weight: 600; }
.suggest small { color: var(--muted); font-size: 12px; line-height: 16px; }
.suggest .sp { margin-left: auto; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.suggest .none { padding: 12px; color: var(--muted); font-size: 14px; line-height: 20px; }
/* Actions: phone pill is a white outline; the solid blue Call lives in the page */
.top-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: var(--h); padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 600; font-size: 14px; line-height: 20px; text-decoration: none; white-space: nowrap; }
.pill:hover { border-color: var(--line-strong); background: var(--wash); }
.pill-call svg.i { color: var(--accent); }
.pill-call span { font-variant-numeric: tabular-nums; }
.pill-watch .n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--pill); background: var(--line-soft); color: var(--text); font-size: 12px; line-height: 16px; font-weight: 600; font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; justify-content: center; }
.pill-watch.has .n { background: var(--accent); color: #FFFFFF; }
.lang { display: inline-flex; align-items: center; justify-content: center; min-height: var(--h); padding: 0 8px; font-weight: 600; font-size: 14px; line-height: 20px; color: var(--ink); text-decoration: none; }
.lang:hover { text-decoration: underline; }
.lang .short { display: none; }

/* ── 3.3 Drawer (the old side nav) and page frame ── */
.frame { display: block; min-height: calc(100vh - var(--top)); }
.side { position: fixed; z-index: 50; top: 0; left: 0; bottom: 0; width: min(320px, 86vw); overflow-y: auto; background: var(--card); padding: 16px 12px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow-2); transform: translateX(-105%); visibility: hidden; transition: transform 220ms var(--ease), visibility 0s linear 220ms; }
.side.on { transform: none; visibility: visible; transition: transform 220ms var(--ease); }
.side h2 { margin: 24px 12px 8px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.side h2:first-child { margin-top: 8px; }
.side a { display: flex; align-items: center; gap: 12px; min-height: var(--h); padding: 0 12px; border-radius: var(--r-sm); color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px; line-height: 20px; }
.side a svg.i { color: var(--muted); }
.side a:hover { background: var(--line-soft); }
.side a.on { background: var(--accent-100); color: var(--accent); }
.side a.on svg.i, .side a.on .c { color: var(--accent); }
.side a .c { margin-left: auto; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.main { min-width: 0; padding: 32px var(--gutter) 64px; }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.scrim { position: fixed; inset: 0; z-index: 48; background: rgba(23, 23, 23, 0.5); opacity: 0; pointer-events: none; transition: opacity var(--fast); }
.scrim.on { opacity: 1; pointer-events: auto; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }

/* ── 3.4 Buttons, Call/Text pair, icon buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--h-lg); padding: 0 20px; border-radius: var(--r-sm); border: 1px solid transparent; font-weight: 700; font-size: 16px; line-height: 24px; text-decoration: none; white-space: nowrap; transition: background var(--fast), border-color var(--fast), color var(--fast); }
.btn-call { background: var(--accent); color: #FFFFFF; }
.btn-call:hover { background: var(--accent-hi); }
.btn-call:active { background: var(--accent-deep); }
.btn-text { background: var(--accent); color: #FFFFFF; }
.btn-text:hover { background: var(--accent-hi); }
.btn-call + .btn-text { background: var(--card); color: var(--accent); border-color: var(--line-strong); }
.btn-call + .btn-text:hover { background: var(--accent-100); border-color: var(--accent); }
.btn-line { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--line-strong); background: var(--wash); }
.link-btn { border: 0; background: none; padding: 0; color: var(--accent-700); font-weight: 600; font-size: 14px; line-height: 20px; text-decoration: underline; text-underline-offset: 3px; }
#fcount:not(:empty) { min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--pill); background: var(--accent); color: #FFFFFF; font-size: 12px; line-height: 16px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.link-btn:disabled { color: var(--faint); text-decoration: none; cursor: default; }
.split { display: flex; gap: 8px; }
.split .btn { flex: 1 1 0; min-width: 0; padding: 0 16px; }
.icon-btn { width: var(--h); height: var(--h); border-radius: 50%; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.icon-btn:hover { background: var(--line-soft); color: var(--ink); }
.icon-btn.on svg.i, .watch.on svg.i { fill: var(--red); stroke: var(--red); }

/* ── 3.5 Hero (browse) ── */
.hero { border-radius: var(--r); padding: 32px; background: var(--night); color: var(--on-night-2); }
.hero-kicker { margin: 0; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-night-2); }
.hero h1 { margin: 12px 0 0; max-width: 760px; font-size: 36px; line-height: 40px; font-weight: 800; letter-spacing: -0.02em; color: var(--on-night); }
.hero h1 em { font-style: normal; color: var(--pop); }
@media (min-width: 641px) { .hero h1 .hl { display: block; } } /* one sentence per line */
.hero p.sub { margin: 8px 0 0; max-width: 640px; font-size: 16px; line-height: 24px; color: var(--on-night-2); }
.hero-clock { display: inline-flex; align-items: center; gap: 8px; margin: 24px 0 0; height: var(--h); padding: 0 16px; border-radius: var(--r-sm); background: var(--on-night-fill); border: 1px solid var(--on-night-line); font-size: 14px; line-height: 20px; color: var(--on-night-2); }
.hero-clock svg.i { width: 16px; height: 16px; color: var(--accent-200); }
.hero-clock b { font-size: 18px; line-height: 24px; font-weight: 700; color: var(--on-night); font-variant-numeric: tabular-nums; }

/* ── 3.6 Tabs (En vente / Dernière chance / Vendues) and the tab note ── */
.segbar { display: flex; align-items: flex-end; gap: 16px; margin-top: 24px; border-bottom: 1px solid var(--line); }
.segs { display: flex; gap: 24px; margin-bottom: -1px; overflow-x: auto; scrollbar-width: none; }
.segs::-webkit-scrollbar { display: none; }
.seg { position: relative; flex: none; display: inline-flex; align-items: center; height: 44px; padding: 0; border: 0; border-radius: 0; background: none; color: var(--muted); box-shadow: inset 0 -2px 0 transparent; transition: color var(--fast), box-shadow var(--fast); }
.seg:hover { color: var(--ink); }
.seg b { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; line-height: 24px; font-weight: 600; color: inherit; }
.seg .n { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.seg.on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.seg.on .n { color: var(--accent); }
.seg-note { margin: 0 0 0 auto; padding-bottom: 12px; font-size: 14px; line-height: 20px; color: var(--muted); white-space: nowrap; }
.seg-note:empty { display: none; }

/* ── 3.7 Quick chips ── */
.quick { display: flex; gap: 8px; margin: 16px 0 0; overflow-x: auto; scrollbar-width: none; }
.quick::-webkit-scrollbar { display: none; }
.quick:empty { display: none; }
.qchip { flex: none; display: inline-flex; align-items: center; gap: 8px; height: var(--h-sm); padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--card); font-weight: 600; font-size: 14px; line-height: 20px; color: var(--ink); white-space: nowrap; }
.qchip svg.i { width: 16px; height: 16px; }
.qchip:hover { border-color: var(--line-strong); }
.qchip .n { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.qchip.on { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.qchip.on .n { color: rgba(255, 255, 255, 0.7); }

/* ── 3.8 Results header (count, "prix à jour", active chips, sort, view toggle) ── */
.rhead { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 24px 0 16px; }
.rhead h2 { margin: 0; font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -0.01em; }
.fresh { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; line-height: 16px; color: var(--muted); }
.fresh b { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.fresh button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; }
.fresh button:hover { background: var(--line-soft); color: var(--ink); }
.fresh button svg.i { width: 16px; height: 16px; }
.fresh button.spin svg { animation: spin 0.8s linear infinite; }
.achips { order: 3; flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.achips:empty { display: none; }
.achip { display: inline-flex; align-items: center; gap: 4px; height: var(--h-sm); padding: 0 4px 0 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--card); font-size: 14px; line-height: 20px; font-weight: 600; }
.achip button { width: 28px; height: 28px; border: 0; border-radius: var(--r-xs); background: none; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.achip button:hover { background: var(--line-soft); color: var(--ink); }
.achip button svg.i { width: 14px; height: 14px; }
.clear-all { height: var(--h-sm); border: 0; background: none; padding: 0 8px; color: var(--accent-700); font-weight: 600; font-size: 14px; line-height: 20px; }
.clear-all:hover { text-decoration: underline; }
.tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.select { height: var(--h); padding: 0 32px 0 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171717' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 12px; -webkit-appearance: none; appearance: none; font-weight: 600; font-size: 14px; line-height: 20px; color: var(--ink); }
.views { display: inline-flex; padding: 2px; gap: 2px; border-radius: var(--r-sm); background: var(--line-soft); }
.views button { width: 36px; height: 36px; border: 0; border-radius: var(--r-xs); background: transparent; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.views button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(23, 23, 23, 0.08); }

/* ── 3.9 Filters panel and phone filter sheet ── */
.layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 24px; align-items: start; }
.filters { position: sticky; top: calc(var(--top) + 16px); max-height: calc(100vh - var(--top) - 32px); overflow-y: auto; padding: 0 16px 16px; scrollbar-width: thin; }
.fhead { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.fhead h2 { margin: 0; font-size: 18px; line-height: 24px; font-weight: 700; }
.fgroup { padding: 16px 0; border-top: 1px solid var(--line-soft); }
.fgroup h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 0 0 8px; font-size: 14px; line-height: 20px; font-weight: 700; }
.fgroup h3 span { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.opt { display: flex; align-items: center; gap: 12px; min-height: var(--h-sm); font-size: 14px; line-height: 20px; cursor: pointer; border-radius: var(--r-xs); }
.opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); flex: none; }
.opt .c { margin-left: auto; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.opt .only { display: none; margin-left: auto; border: 0; background: none; padding: 0 4px; color: var(--accent-700); font-weight: 600; font-size: 12px; line-height: 16px; }
@media (hover: hover) { .opt:hover .only { display: inline; } .opt:hover .c { display: none; } }
.opt.zero { color: var(--muted); }
.pchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pchips button { height: var(--h-sm); padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--card); font-size: 14px; line-height: 20px; font-weight: 600; }
.pchips button.on { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.dual { --t: 20px; position: relative; height: 32px; margin: 0 2px; }
.dual input[type=range] { position: absolute; left: 0; right: 0; top: 7px; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; height: 18px; }
.dual input[type=range]::-webkit-slider-thumb { pointer-events: auto; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; border: 2px solid var(--accent); cursor: pointer; position: relative; z-index: 2; box-shadow: 0 1px 3px rgba(23, 23, 23, 0.2); }
.dual input[type=range]::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: #FFFFFF; border: 2px solid var(--accent); cursor: pointer; }
.dual input[type=range]::-webkit-slider-runnable-track { background: none; }
.dual input[type=range]::-moz-range-track { background: none; }
.dual .track { position: absolute; left: calc(var(--t) / 2); right: calc(var(--t) / 2); top: 14px; height: 4px; border-radius: var(--pill); background: var(--line); }
.dual .fill { position: absolute; top: 14px; height: 4px; background: var(--accent); border-radius: var(--pill); }
.fnote { margin: 8px 0 0; font-size: 12px; line-height: 16px; color: var(--muted); }
.sheet { position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; background: var(--card); transform: translateY(100%); transition: transform 250ms var(--ease), visibility 0s linear 250ms; visibility: hidden; }
.sheet.on { transform: none; visibility: visible; transition: transform 250ms var(--ease); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 8px 0 16px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { margin: 0; font-size: 18px; line-height: 24px; }
.sheet-body { flex: 1 1 auto; overflow-y: auto; padding: 0 16px 16px; }
.sheet-body .fhead { display: none; } /* the sheet has its own title and Tout effacer */
.sheet-body .fhead + .fgroup { border-top: 0; }
.sheet .opt { min-height: 44px; }
.sheet .dual { --t: 44px; height: 44px; margin: 0 -10px; } /* -10px keeps the visible thumb on the gutter */
.sheet .dual input[type=range] { top: 0; height: 44px; }
.sheet .dual input[type=range]::-webkit-slider-thumb { width: 44px; height: 44px; border: 10px solid transparent; background: #FFFFFF padding-box; box-shadow: inset 0 0 0 2px var(--accent); } /* 24px seen, 44px to touch */
.sheet .dual input[type=range]::-moz-range-thumb { box-sizing: border-box; width: 44px; height: 44px; border: 10px solid transparent; background: #FFFFFF padding-box; box-shadow: inset 0 0 0 2px var(--accent); }
.sheet .dual .track, .sheet .dual .fill { top: 20px; }
.sheet-foot { display: flex; align-items: center; gap: 16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.sheet-foot .link-btn { min-height: 44px; }
.sheet-foot .btn { flex: 1 1 auto; }

/* ── 3.10 Car card: list, grid, rail, phone ── */
.results { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.results.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 16px; }
.card { position: relative; display: grid; grid-template-columns: 300px minmax(0, 1fr); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow var(--fast), border-color var(--fast); }
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.results.grid .card, .rail .card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
.card .cover { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card .cover:focus-visible { outline-offset: -3px; }
/* Photo */
.ph { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--line-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 32' fill='%23C9CDD2'%3E%3Cpath d='M10 22c0-2 1-3 3-3l6-7c1-1 3-2 5-2h15c2 0 4 1 5 2l6 7h2c3 0 5 2 5 5v3c0 1-1 2-2 2h-3a5 5 0 0 1-10 0H23a5 5 0 0 1-10 0h-1c-1 0-2-1-2-2z'/%3E%3C/svg%3E") no-repeat center / 34% auto; overflow: hidden; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; opacity: 0; transition: opacity 200ms; }
.ph img.ok { opacity: 1; }
.ph .nop { position: absolute; left: 0; right: 0; bottom: 20%; text-align: center; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--muted); }
.ph.fill { aspect-ratio: auto; height: 100%; }
.carousel .ph.fill { flex: 0 0 100%; }
.card.sold .ph img { filter: grayscale(1); }
/* Photo overlays */
.ph-chip { position: absolute; top: 14px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; height: var(--h-xs); padding: 0 8px; border-radius: var(--r-xs); background: #FFFFFF; color: var(--ink); font-size: 12px; line-height: 16px; font-weight: 600; }
.ph-chip.last { background: var(--pop); color: var(--night); }
.ph-chip.sold { background: var(--ink); color: #FFFFFF; }
.ph .cicons { position: absolute; top: 8px; right: 12px; z-index: 3; display: flex; gap: 8px; }
.ph .icon-btn { position: relative; width: 36px; height: 36px; background: rgba(255, 255, 255, 0.92); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16); }
.ph .icon-btn:hover { background: #FFFFFF; }
.ph .icon-btn::after { content: ""; position: absolute; inset: -4px; }
.ph-count { position: absolute; right: 12px; bottom: 40px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: var(--h-xs); padding: 0 8px; border-radius: var(--r-xs); background: var(--photo-scrim); color: #FFFFFF; font-size: 12px; line-height: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ph.nostrip .ph-count { bottom: 12px; }
.ph-count span { display: inline-flex; align-items: center; gap: 4px; }
.ph-count svg.i { width: 14px; height: 14px; }
/* Body */
.card-body { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "main" "money"; padding: 24px; min-width: 0; }
.results.grid .card-body, .rail .card-body { padding: 16px; }
.cmain { grid-area: main; min-width: 0; }
.ctitle { margin: 0; font-size: 18px; line-height: 24px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.ctitle a { color: inherit; text-decoration: none; }
.ctitle .trim { font-weight: 400; color: var(--muted); }
.results.grid .ctitle, .rail .ctitle { font-size: 16px; line-height: 24px; }
.specs { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.results.grid .specs .lot, .rail .specs .lot { display: none; } /* narrow cards: never a cut-off lot number */
.rail .cicons, .rail .card .money .split { display: none; }
.timerbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 28px; background: var(--night); color: #FFFFFF; font-size: 12px; line-height: 16px; font-weight: 600; font-variant-numeric: tabular-nums; overflow: hidden; }
.timerbar .fill { position: absolute; left: 0; top: 0; height: 2px; background: var(--accent-200); transition: width 1s linear; }
.timerbar .txt { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 100%; padding: 0 12px; white-space: nowrap; }
.timerbar .txt span { display: inline-flex; align-items: center; gap: 4px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.timerbar .txt span:last-child { color: var(--on-night-2); }
.timerbar svg.i { width: 14px; height: 14px; }
.timerbar.hour .fill, .timerbar.soon .fill { background: var(--pop); }
.timerbar.hour .txt span:first-child, .timerbar.soon .txt span:first-child { color: var(--pop); }
.timerbar.fresh-drop { background: var(--pop); color: var(--night); }
.timerbar.fresh-drop .txt span:last-child { color: var(--night); }
.timerbar.fresh-drop .fill { display: none; }
.tags { display: flex; flex-wrap: nowrap; gap: 8px; margin-top: 12px; overflow: hidden; }
.tags:empty { display: none; }
.tag { display: inline-flex; align-items: center; gap: 4px; flex: none; height: var(--h-xs); padding: 0 8px; border-radius: var(--r-xs); background: var(--line-soft); color: var(--text); font-size: 12px; line-height: 16px; font-weight: 600; white-space: nowrap; }
.tag svg.i { width: 14px; height: 14px; color: var(--muted); }
.tag.ok svg.i { color: var(--accent-700); }
.tag.warn { background: var(--red-50); color: var(--red-ink); }
.tag.warn svg.i { color: var(--red); }
.tag.bad { background: var(--red); color: #FFFFFF; }
.tag.bad svg.i { color: #FFFFFF; }
.money { grid-area: money; align-self: end; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.pricebox { display: grid; grid-template-columns: auto auto; justify-content: start; align-items: baseline; column-gap: 8px; }
.pricebox small { grid-column: 1 / -1; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--muted); }
.pricebox .p { margin-top: 4px; font-size: 28px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.pricebox .was, .pricebox .was s { font-size: 12px; line-height: 16px; color: var(--muted); }
.results.grid .pricebox .p, .rail .pricebox .p { font-size: 22px; }
.money .split { position: relative; z-index: 2; min-width: 240px; }
.results:not(.grid) .money .split { margin-left: auto; }
.money .split .btn { min-height: var(--h); font-size: 14px; line-height: 20px; }
.results.grid .money, .rail .money { flex-direction: column; align-items: stretch; gap: 12px; }
.results.grid .money .split { min-width: 0; }
.card.sold .money .split { display: none; }
.sold-note { position: relative; z-index: 5; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); }
.money .similar-btn { position: relative; z-index: 5; min-height: var(--h); font-size: 14px; line-height: 20px; }

/* ── 3.11 Rolling price (the dark boxes are fixed) ── */
.roll { display: inline-flex; align-items: flex-start; line-height: 1.1; height: 1.1em; overflow: hidden; font-variant-numeric: tabular-nums; }
.roll .d { display: inline-block; height: 1.1em; overflow: hidden; }
.roll .d > span { display: flex; flex-direction: column; transition: transform 600ms var(--ease); }
.roll .d > span > i { font-style: normal; height: 1.1em; line-height: 1.1; text-align: center; }
.roll .s { display: inline-block; height: 1.1em; line-height: 1.1; white-space: pre; }
.rollwrap { position: relative; display: inline-block; }
.bulge { animation: bulge 900ms var(--ease); }
@keyframes bulge { 40% { transform: scale(1.06); } }
.dropchip { position: absolute; z-index: 6; left: 100%; top: -8px; margin-left: 8px; display: inline-flex; align-items: center; height: var(--h-xs); padding: 0 8px; border-radius: var(--pill); background: var(--pop); color: var(--night); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0; white-space: nowrap; pointer-events: none; animation: floatup 1.4s var(--ease) forwards; }
@keyframes floatup { from { opacity: 0; transform: translateY(6px); } 20% { opacity: 1; } to { opacity: 0; transform: translateY(-24px); } }

/* ── 3.12 Skeleton and empty states ── */
.skel .ph { background-image: none; }
.skel .bar { height: 16px; border-radius: var(--r-xs); background: var(--line-soft); margin: 8px 0; }
.skel .bar.w60 { width: 60%; height: 24px; }
.skel .bar.w40 { width: 40%; }
.skel .bar.w30 { width: 30%; height: 32px; margin-top: 16px; }
.skel .ph, .skel .bar { animation: skel 1.4s ease-in-out infinite; }
@keyframes skel { 50% { opacity: 0.55; } }
.empty { padding: 48px 24px; text-align: center; }
.empty svg.big { width: 48px; height: 48px; color: var(--muted); stroke-width: 1.5; }
.empty h3 { margin: 12px 0 4px; font-size: 18px; line-height: 24px; }
.empty p { margin: 0 auto; max-width: 460px; color: var(--muted); font-size: 16px; line-height: 24px; }
.empty .acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.empty.nf { margin-top: 12px; }

/* ── 3.13 How it works, trust panel, footer ── */
.sec-title { margin: 48px 0 16px; font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -0.01em; }
.how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; }
.step { padding: 24px; border-left: 1px solid var(--line-soft); }
.step:first-child { border-left: 0; }
.step .ic { width: 40px; height: 40px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; background: var(--accent-100); color: var(--accent); margin-bottom: 16px; }
.step .ic svg.i { width: 20px; height: 20px; stroke-width: 1.75; } /* keeps the UI stroke; .ic svg.i (status icons, 3.19) would set 2.5 */
.step b { display: block; font-size: 16px; line-height: 24px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.step > span { display: block; font-size: 14px; line-height: 20px; color: var(--muted); }
.trust { display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; margin-top: 16px; }
.trust .l { padding: 24px; }
.trust .l h3 { margin: 0 0 4px; font-size: 18px; line-height: 24px; }
.trust .l p { margin: 0 0 16px; color: var(--muted); font-size: 16px; line-height: 24px; }
.trust ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.trust li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 24px; }
.trust li svg.i { color: var(--accent-700); margin-top: 3px; }
.trust .r { padding: 24px; background: var(--accent-100); color: var(--text); display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.trust .r b { font-size: 18px; line-height: 24px; font-weight: 700; color: var(--ink); }
.trust .r > span { font-size: 16px; line-height: 24px; }
.trust .r .split { margin-top: 8px; }
.trust .r small { font-size: 14px; line-height: 20px; color: var(--muted); }
.foot { margin-top: 48px; padding: 24px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 12px; line-height: 16px; }
.foot a { color: var(--muted); }
.foot span { text-wrap: pretty; }

/* ── 3.14 Phone browse bar, toast, banners ── */
.mbar { display: none; }
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 90; background: var(--ink); color: #FFFFFF; padding: 12px 16px; border-radius: var(--r-sm); font-size: 14px; line-height: 20px; font-weight: 600; box-shadow: var(--shadow-2); }
.banner { position: sticky; top: var(--top); z-index: 35; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 16px; font-size: 14px; line-height: 20px; font-weight: 600; text-align: center; }
.banner.offline { background: var(--ink); color: #FFFFFF; }
.banner.drop { background: var(--accent); color: #FFFFFF; }
.banner button { height: var(--h-sm); padding: 0 12px; border: 0; border-radius: var(--r-sm); background: #FFFFFF; color: var(--accent); font-weight: 600; font-size: 14px; line-height: 20px; }

/* ── 3.15 Car page: top bar and layout ── */
.vdp-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: var(--h); font-weight: 600; font-size: 14px; line-height: 20px; color: var(--accent-700); text-decoration: none; }
.back:hover { text-decoration: underline; }
.vdp-actions { display: flex; gap: 4px; }
.vdp-actions button, .vdp-actions a { display: inline-flex; align-items: center; gap: 8px; min-height: var(--h); padding: 0 12px; border: 0; border-radius: var(--r-sm); background: none; font-weight: 600; font-size: 14px; line-height: 20px; color: var(--ink); text-decoration: none; }
.vdp-actions button:hover, .vdp-actions a:hover { background: var(--line-soft); }
.vdp { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.vdp-main { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.vdp-side { position: sticky; top: calc(var(--top) + 16px); }

/* ── 3.16 Car page: media (desktop mosaic, phone carousel, overlays) ── */
.media { position: relative; overflow: hidden; border-radius: var(--r); background: var(--line-soft); }
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 176px 176px; gap: 4px; }
.mosaic button { position: relative; padding: 0; border: 0; background: var(--line-soft); overflow: hidden; cursor: zoom-in; }
.mosaic button:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; display: block; transition: transform 300ms var(--ease); }
.mosaic button:hover img { transform: scale(1.03); }
.mosaic .more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(10, 11, 13, 0.6); color: #FFFFFF; font-weight: 700; font-size: 18px; line-height: 24px; font-variant-numeric: tabular-nums; }
.mosaic.few { grid-template-columns: 2fr 1fr; }
.mosaic.one { grid-template-columns: 1fr; grid-template-rows: 356px; }
.carousel { display: none; }
.carousel-n { display: none; } /* phone counter "1 / 39": shown by the 760 block only; without this it prints as a stray line under the desktop mosaic */
.media .chip-l { position: absolute; top: 12px; left: 12px; z-index: 3; }
.media .counters { position: absolute; top: 12px; right: 12px; z-index: 3; display: flex; gap: 4px; padding: 4px; border-radius: var(--r-sm); background: var(--photo-scrim); }
.counters button { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px; border: 0; border-radius: var(--r-xs); background: transparent; color: #FFFFFF; font-size: 14px; line-height: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.counters button:hover { background: rgba(255, 255, 255, 0.14); }
.counters svg.i { width: 16px; height: 16px; }

/* ── 3.17 Car page: title and facts ── */
.titleblock h1 { margin: 0; font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: -0.02em; }
.titleblock h1 .trim { font-weight: 400; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; background: var(--line-soft); overflow: hidden; }
.facts > div { min-width: 0; padding: 12px 16px; background: var(--card); }
.facts > .wide { grid-column: span 2; }
.facts dt { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.facts dd small { display: flex; align-items: center; gap: 4px; margin-top: 2px; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--accent-700); }
.facts dd small svg.i { width: 12px; height: 12px; stroke-width: 2.5; }
.facts dd small.plain { color: var(--muted); font-weight: 500; }

/* Included with the car (0343 H1): only when the CRM sends the list. */
.included { margin: 0; padding: 12px 16px; }
.included h3 { margin: 0; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--muted); }
.included ul { margin: 4px 0 0; padding: 0; list-style: none; }
.included li { padding: 2px 0; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--ink); }
.vin { font-size: 14px; line-height: 20px; font-weight: 400; letter-spacing: 0.03em; color: var(--muted); font-variant-numeric: tabular-nums; }
.vin b { color: var(--ink); font-weight: 700; }
.copy { position: relative; z-index: 2; width: 32px; height: 32px; margin: -6px 0 -6px 2px; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; border: 0; background: none; color: var(--muted); border-radius: var(--r-xs); }
.copy:hover { color: var(--ink); background: var(--line-soft); }
.copy svg.i { width: 16px; height: 16px; }

/* ── 3.18 Car page: glance tiles and sticky section nav ── */
.glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gtile { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); text-decoration: none; color: var(--text); transition: border-color var(--fast); }
.gtile:hover { border-color: var(--line-strong); }
.gtile small { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--muted); }
.gtile small svg.i { width: 16px; height: 16px; }
.gtile b { font-size: 18px; line-height: 24px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.gtile span { font-size: 14px; line-height: 20px; color: var(--muted); }
.gtile span:empty { display: none; }
.gtile.ok b { color: var(--accent); }
.gtile.ok small svg.i { color: var(--accent-700); }
.gtile.warn b { color: var(--red-ink); }
.gtile.warn small svg.i { color: var(--red); }
.gtile.na b { color: var(--muted); }
.secnav { position: sticky; top: var(--top); z-index: 20; display: flex; gap: 24px; overflow-x: auto; margin: 0; padding: 0; background: var(--page); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.secnav::-webkit-scrollbar { display: none; }
.secnav a { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0; color: var(--muted); font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: none; box-shadow: inset 0 -2px 0 transparent; }
.secnav a:hover { color: var(--ink); }
.secnav a .c { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.secnav a.on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }

/* ── 3.19 Car page: inspection report ── */
.report-head { padding: 24px 24px 16px; border-bottom: 1px solid var(--line); }
.report-head h2 { margin: 0; font-size: 22px; line-height: 28px; letter-spacing: -0.01em; }
.report-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 20px; }
.report-head .tag { margin-top: 8px; }
.rsec { padding: 24px; border-bottom: 1px solid var(--line-soft); scroll-margin-top: calc(var(--top) + 56px); }
.rsec:last-child { border-bottom: 0; }
.panel.rsec { border-bottom: 1px solid var(--line); }
.rsec > h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 18px; line-height: 24px; letter-spacing: -0.01em; }
.rsec > h3 .cnt { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 8px; border-radius: var(--pill); background: var(--line-soft); color: var(--muted); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.rsec > p.lead { margin: 4px 0 16px; color: var(--muted); font-size: 14px; line-height: 20px; }
.rsec > h3 + :not(.lead) { margin-top: 16px; }
.nothing { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: var(--r-sm); background: var(--accent-100); color: var(--accent); font-size: 14px; line-height: 20px; font-weight: 600; }
.report .split { max-width: 360px; }
/* Status icons (SVG, no typed ✓ ! –) */
.ic { flex: none; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.ic svg.i { width: 14px; height: 14px; stroke-width: 2.5; }
.ic.ok { background: var(--accent-100); color: var(--accent); }
.ic.warn { background: var(--red-100); color: var(--red); }
.ic.na { background: var(--line-soft); color: var(--muted); }
.vtabs { display: flex; gap: 8px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.vtabs::-webkit-scrollbar { display: none; }
.vtabs button { flex: none; display: inline-flex; align-items: center; gap: 8px; height: var(--h-sm); padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); font-weight: 600; font-size: 14px; line-height: 20px; color: var(--ink); }
.vtabs button:hover { border-color: var(--line-strong); }
.vtabs button .n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--pill); background: var(--line-soft); color: var(--text); font-size: 12px; line-height: 16px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.vtabs button.on { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.vtabs button.on .n { background: rgba(255, 255, 255, 0.18); color: #FFFFFF; }
.dmg { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; align-items: start; }
.stage-frame { display: flex; justify-content: center; background: var(--wash); border-radius: var(--r-sm); overflow: hidden; }
.stage { position: relative; width: fit-content; max-width: 100%; }
.stage img { display: block; width: auto; max-width: 100%; height: auto; max-height: 480px; }
.pin { position: absolute; z-index: 2; transform: translate(-50%, -50%); width: 28px; height: 28px; border-radius: 50%; border: 2px solid #FFFFFF; background: var(--red); color: #FFFFFF; font-size: 12px; line-height: 16px; font-weight: 700; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); display: flex; align-items: center; justify-content: center; padding: 0; transition: transform var(--fast), background var(--fast); }
.pin::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; }
.pin:hover, .pin.on { transform: translate(-50%, -50%) scale(1.12); background: var(--ink); }
.stage.nopins .pin { display: none; }
.stage-tools { display: flex; justify-content: flex-end; margin-top: 8px; }
.stage-tools .link-btn { min-height: 32px; color: var(--muted); text-decoration: none; }
.stage-tools .link-btn:hover { color: var(--ink); text-decoration: underline; }
.dlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dlist.loose { margin-top: 16px; }
.dlist.print-only { display: none; }
.dlist li button { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); }
.dlist li button:hover { border-color: var(--line-strong); background: var(--wash); }
.dlist li button.on { border-color: var(--ink); background: var(--wash); }
.dlist .no { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #FFFFFF; font-size: 12px; line-height: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.dlist img { width: 64px; height: 48px; object-fit: cover; border-radius: var(--r-xs); flex: none; }
.dlist b { display: block; color: var(--ink); font-size: 14px; line-height: 20px; font-weight: 600; }
.dlist small { color: var(--muted); font-size: 12px; line-height: 16px; }
.tires-wrap { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; align-items: center; }
.cartop { display: block; width: 100%; max-width: 140px; height: auto; }
.cartop .body { fill: var(--wash); stroke: var(--line); stroke-width: 1.5; }
.cartop .glass { fill: var(--line); }
.cartop .w { stroke: #FFFFFF; stroke-width: 2; }
.cartop .w.ok { fill: var(--accent-700); }
.cartop .w.bad { fill: var(--red); }
.cartop .w.na { fill: var(--faint); }
.cartop text { font-family: var(--ui); font-size: 10px; font-weight: 600; fill: var(--muted); }
.tires { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tire { display: flex; gap: 12px; align-items: stretch; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: var(--card); }
.tire button { position: relative; flex: none; width: 96px; min-height: 88px; padding: 0; border: 0; background: var(--line-soft); cursor: zoom-in; }
.tire img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.tire .t { padding: 12px 12px 12px 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 20px; }
.tire .t b { color: var(--ink); font-size: 14px; line-height: 20px; font-weight: 600; }
.state { display: inline-flex; align-items: flex-start; gap: 8px; font-weight: 600; text-wrap: balance; }
.state i { width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; display: inline-block; flex: none; }
.state.ok { color: var(--accent); } .state.ok i { background: var(--accent-700); }
.state.bad { color: var(--red-ink); } .state.bad i { background: var(--red); }
.state.na { color: var(--muted); } .state.na i { background: var(--faint); }
.mech { display: grid; gap: 8px; }
.mrow { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: var(--r-sm); background: var(--wash); }
.mrow b { display: block; color: var(--ink); font-size: 16px; line-height: 24px; font-weight: 600; }
.mrow p { margin: 0; color: var(--text); white-space: pre-wrap; font-size: 14px; line-height: 20px; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 600; font-size: 14px; background: var(--card); padding: 0 4px; border-radius: var(--r-xs); }
.htiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.htile { padding: 12px 16px; border-radius: var(--r-sm); background: var(--wash); }
.htile small { display: block; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--muted); }
.htile b { display: block; margin-top: 4px; font-size: 18px; line-height: 24px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.htile span { display: block; font-size: 12px; line-height: 16px; color: var(--muted); }
.htile.warn { background: var(--red-50); }
.htile.warn b { color: var(--red-ink); }
.htile.ok b { color: var(--accent); }
.claims { margin: 16px 0 0; padding: 0; list-style: none; }
.claims li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; line-height: 20px; }
.claims li b { font-weight: 600; font-variant-numeric: tabular-nums; }
.checklist { margin: 16px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 4px 24px; }
.checklist li { display: flex; align-items: center; gap: 8px; min-height: 32px; font-size: 14px; line-height: 20px; }
.checklist .ic { width: 20px; height: 20px; }
.checklist .ic svg.i { width: 12px; height: 12px; }
.carfax-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 12px 16px; border-radius: var(--r-sm); background: var(--wash); }
.carfax-cta span { font-size: 14px; line-height: 20px; color: var(--muted); }
.carfax-cta b { color: var(--ink); font-weight: 600; }
.carfax-cta .btn { min-height: var(--h); font-size: 14px; line-height: 20px; }
.video-box { border-radius: var(--r-sm); overflow: hidden; background: #000000; }
.video-box + .video-box { margin-top: 12px; }
.video-box video { display: block; width: 100%; max-height: 520px; background: #000000; }
.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; }
.album { display: flex; flex-direction: column; padding: 0; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: var(--card); text-align: left; cursor: zoom-in; transition: border-color var(--fast); }
.album:hover { border-color: var(--line-strong); }
.album .acov { display: block; aspect-ratio: 4 / 3; background: var(--line-soft); overflow: hidden; }
.album img { display: block; width: 100%; height: 100%; object-fit: cover; }
.album .atxt { display: block; padding: 8px 12px; }
.album b { display: block; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); }
.album small { display: block; font-size: 12px; line-height: 16px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ── 3.20 Car page: price history ── */
.pchart { width: 100%; height: auto; display: block; margin-top: 8px; }
.pchart .grid { stroke: var(--line-soft); stroke-width: 1; }
.pchart .past { fill: none; stroke: var(--accent); stroke-width: 2.5; }
.pchart .future { fill: none; stroke: var(--faint); stroke-width: 2; stroke-dasharray: 4 5; }
.pchart circle.past-dot { fill: var(--accent); }
.pchart circle.now-dot { fill: var(--accent); stroke: #FFFFFF; stroke-width: 3; }
.pchart circle.next-dot { fill: #FFFFFF; stroke: var(--faint); stroke-width: 2; }
.pchart text { font-family: var(--ui); font-size: 12px; font-weight: 600; fill: var(--muted); font-variant-numeric: tabular-nums; }
.pchart text.v { fill: var(--ink); font-weight: 700; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; font-size: 12px; line-height: 16px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 24px; height: 0; border-top: 2.5px solid var(--accent); }
.legend i.f { border-top: 2px dashed var(--faint); }
.steps { margin: 16px 0 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 8em minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 40px; padding: 0 12px; border-bottom: 1px solid var(--line-soft); font-size: 14px; line-height: 20px; }
.steps li:last-child { border-bottom: 0; }
.steps .when { color: var(--muted); font-variant-numeric: tabular-nums; }
.steps li b { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.steps li.now { background: var(--accent-100); color: var(--accent); font-weight: 700; border-radius: var(--r-sm); border-bottom-color: transparent; }
.steps li.now .when { color: var(--accent); }
.steps li.now b { font-weight: 700; }
.steps li.next { color: var(--muted); }
.steps li.gap { display: block; min-height: 24px; color: var(--muted); }
.fine { margin: 16px 0 0; max-width: 720px; color: var(--muted); font-size: 12px; line-height: 16px; }

/* ── 3.21 Desktop price card (the money module) ── */
.pricecard { padding: 24px; border-radius: var(--r); background: var(--night); color: var(--on-night-2); }
.pricecard .label { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--on-night-2); }
.pricecard.final .label { color: var(--pop); }
.pricecard .big { margin-top: 4px; font-size: 36px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; color: var(--pop); font-variant-numeric: tabular-nums; }
.pricecard .was { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--on-night-2); }
.pricecard .was s { color: var(--on-night-2); }
.cd { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--on-night-line); }
.cd .row1 { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 14px; line-height: 20px; color: var(--on-night-2); }
.cd .row1 b { color: var(--on-night); font-weight: 700; font-variant-numeric: tabular-nums; }
.cd .drain + .row1 { margin-top: 12px; }
.cd .clock { margin-top: 4px; font-size: 22px; line-height: 28px; font-weight: 700; color: var(--on-night); font-variant-numeric: tabular-nums; }
.cd .drain { position: relative; height: 4px; margin-top: 12px; border-radius: var(--pill); background: var(--on-night-line); overflow: hidden; }
.cd .drain i { position: absolute; inset: 0 auto 0 0; border-radius: var(--pill); background: var(--accent-200); }
.cd .clock-note { font-size: 14px; line-height: 20px; color: var(--on-night-2); }
.pricecard .split { margin-top: 24px; }
.pricecard .split .btn { min-height: var(--h-lg); }
.pricecard .btn-call + .btn-text, .buybar .btn-call + .btn-text { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, 0.32); }
.pricecard .btn-call + .btn-text:hover, .buybar .btn-call + .btn-text:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.5); }
.pricecard .lot { display: flex; justify-content: space-between; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--on-night-line); font-size: 12px; line-height: 16px; color: var(--on-night-2); }
.pricecard .lot a { color: var(--on-night); font-weight: 600; text-decoration: none; }

/* ── 3.22 Phone and tablet buy bar (≤1079) ── */
.buybar { display: none; }
.drainline { position: absolute; left: 0; top: 0; height: 2px; background: var(--accent-200); }

/* ── 3.23 Similar rail ── */
#similar .sec-title { margin: 48px 0 16px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(264px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.rail > * { scroll-snap-align: start; }

/* ── 3.24 Lightbox chrome ── */
.lb { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; background: #0A0A0A; color: #FFFFFF; }
.lb-head { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; }
.lb-head h2 { margin: 0; font-size: 16px; line-height: 24px; font-weight: 600; color: #FFFFFF; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-head .cnt { margin-left: auto; font-size: 14px; line-height: 20px; font-weight: 600; color: rgba(255, 255, 255, 0.7); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lb-btn { width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.lb-btn:hover { background: rgba(255, 255, 255, 0.22); }
.lb-btn svg.i { width: 22px; height: 22px; }
.lb-groups { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 12px; scrollbar-width: none; }
.lb-groups button { flex: none; display: inline-flex; align-items: center; gap: 8px; height: var(--h-sm); padding: 0 12px; border-radius: var(--r-sm); border: 1px solid rgba(255, 255, 255, 0.2); background: transparent; color: #FFFFFF; font-weight: 600; font-size: 14px; line-height: 20px; }
.lb-groups button.on { background: #FFFFFF; border-color: #FFFFFF; color: var(--ink); }
.lb-groups button .n { font-size: 12px; line-height: 16px; font-weight: 600; color: rgba(255, 255, 255, 0.6); font-variant-numeric: tabular-nums; }
.lb-groups button.on .n { color: var(--muted); }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: pan-y; container-type: size; }
.lb-frame { position: relative; max-width: 100%; max-height: 100%; }
.lb-frame img { display: block; max-width: calc(100vw - 140px); max-height: calc(100vh - 220px); max-width: calc(100cqw - 140px); max-height: 100cqh; object-fit: contain; user-select: none; -webkit-user-drag: none; transition: transform 200ms var(--ease); }
.lb-frame.zoom { cursor: zoom-out; }
.lb-frame img.zoomed { transform: scale(2); cursor: move; }
.lb-frame video { display: block; max-width: calc(100vw - 140px); max-height: calc(100vh - 220px); max-width: calc(100cqw - 140px); max-height: 100cqh; background: #000000; }
.lb-frame .pin { width: 28px; height: 28px; font-size: 12px; }
.lb-frame.zoom .pin { display: none; }
.lb-cap { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 3; max-width: calc(100% - 24px); padding: 4px 12px; border-radius: var(--r-xs); background: var(--photo-scrim); font-size: 14px; line-height: 20px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-cap.dmg { background: var(--red); }
.lb .prev, .lb .next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; }
.lb .prev { left: 16px; }
.lb .next { right: 16px; }
.lb-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); scrollbar-width: thin; }
.lb-thumbs button { position: relative; flex: none; width: 76px; height: 57px; padding: 0; border: 2px solid transparent; border-radius: var(--r-xs); overflow: hidden; background: #262626; opacity: 0.6; }
.lb-thumbs button.on { border-color: #FFFFFF; opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-thumbs .pn { position: absolute; top: 4px; right: 4px; min-width: 20px; height: 20px; padding: 0 4px; border-radius: var(--pill); background: var(--red); color: #FFFFFF; font-size: 12px; line-height: 16px; font-weight: 600; display: flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.lb-thumbs .vplay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #FFFFFF; }

/* ── Responsive (spec 5): 1079, 900, 760, 640, 359 ── */
@media (max-width: 1079px) {
  .hero h1 { font-size: 28px; line-height: 34px; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .filters { display: none; }
  .tools .views { display: none; }
  .vdp { grid-template-columns: minmax(0, 1fr); }
  .vdp-side { display: none; }
  .buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); background: var(--night); color: var(--on-night-2); box-shadow: var(--shadow-up); }
  .buybar .bp { min-width: 0; }
  .buybar small { display: block; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--on-night-2); }
  .buybar .big { font-size: 28px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; color: var(--pop); font-variant-numeric: tabular-nums; }
  .buybar .nx { display: block; font-size: 12px; line-height: 16px; color: var(--on-night-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
  .buybar .nx b { color: var(--on-night); font-weight: 600; }
  .buybar .split .btn { min-height: var(--h-lg); padding: 0 16px; flex: 0 0 auto; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; display: flex; gap: 8px; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); background: #FFFFFF; border-top: 1px solid var(--line); box-shadow: var(--shadow-up); }
  .mbar .btn { flex: 1 1 0; min-height: var(--h-lg); }
  body[data-page=browse] .main { padding-bottom: 96px; }
  body[data-page=car] .main { padding-bottom: 112px; }
}
@media (max-width: 900px) {
  .how { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .trust { grid-template-columns: minmax(0, 1fr); }
  .glance, .htiles, .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dmg { grid-template-columns: minmax(0, 1fr); }
  .tires-wrap { grid-template-columns: 120px minmax(0, 1fr); }
  .cartop { max-width: 120px; }
  .cartop text { font-size: 12px; }
  .tires { grid-template-columns: minmax(0, 1fr); }
  .money { flex-direction: column; align-items: stretch; gap: 12px; }
  .money .split { min-width: 0; }
  .results:not(.grid) .money .split { margin-left: 0; }
}
@media (max-width: 760px) {
  .search-top { display: none; }
  .hero-search { display: block; margin: 12px 0 0; }
  .hero-search label { height: var(--h-lg); padding: 0 16px; background: var(--card); }
  .card { grid-template-columns: minmax(0, 1fr); }
  .results.grid { grid-template-columns: minmax(0, 1fr); }
  .results.grid .ctitle { font-size: 18px; }
  .results.grid .pricebox .p { font-size: 28px; }
  .mosaic { display: none; }
  .carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 3; max-height: 70vh; }
  .carousel::-webkit-scrollbar { display: none; }
  .carousel button { flex: 0 0 100%; scroll-snap-align: center; padding: 0; border: 0; background: var(--line-soft); }
  .carousel img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; display: block; }
  .carousel-n { position: absolute; right: 12px; bottom: 12px; z-index: 3; display: inline-flex; align-items: center; height: var(--h-xs); padding: 0 8px; border-radius: var(--r-xs); background: var(--photo-scrim); color: #FFFFFF; font-size: 12px; line-height: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
  .media .counters { display: none; }
}
@media (max-width: 640px) {
  :root { --top: 56px; --gutter: 16px; }
  /* Header */
  .top-row { gap: 8px; }
  .logo { height: 36px; gap: 8px; }
  .mark { width: 36px; height: 36px; font-size: 14px; }
  .mark::after { left: 9px; right: 9px; bottom: 7px; }
  .logo-word { font-size: 14px; line-height: 14px; letter-spacing: 0.1em; }
  .pill { position: relative; width: var(--h); padding: 0; justify-content: center; border-radius: 50%; }
  .pill-call span, .pill-watch .t { display: none; }
  .pill-watch .n { position: absolute; top: -6px; right: -6px; }
  .pill-watch:not(.has) .n { display: none; }
  .lang { min-width: 44px; min-height: 44px; padding: 0; margin-right: -8px; }
  .lang .long { display: none; }
  .lang .short { display: inline; }
  .main { padding: 16px var(--gutter) 48px; }
  /* Hero: ≤210 px */
  .hero { padding: 20px 16px; }
  .hero h1 { margin-top: 8px; font-size: 22px; line-height: 28px; letter-spacing: -0.01em; }
  .hero p.sub { display: none; }
  .hero-clock { display: flex; width: 100%; height: 44px; margin-top: 16px; padding: 0 12px; }
  .hero-clock span { flex: 1 1 auto; min-width: 0; }
  /* Tabs, chips, results header (one row: "4 autos … Trier : Prix le plus bas") */
  .segbar { margin-top: 16px; }
  .segs { gap: 20px; }
  .seg b { font-size: 14px; line-height: 20px; gap: 4px; }
  .seg-note { display: none; }
  .quick { margin: 12px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter); }
  .rhead { margin: 16px 0 12px; gap: 8px; }
  .rhead h2 { flex: 1 1 auto; min-width: 0; font-size: 18px; line-height: 24px; }
  .rhead h2 .rh-tail, .fresh { display: none; }
  .tools { flex: none; margin-left: auto; }
  .tools .select { height: var(--h-sm); padding: 0 24px 0 8px; border: 0; background-color: transparent; background-position: right 4px center; font-size: 16px; line-height: 24px; text-align-last: right; }
  /* Cards: ~490 px tall with a photo */
  .card .ph { aspect-ratio: 3 / 2; }
  .results .card .ph:has(.nop) { aspect-ratio: 2 / 1; background-size: 22% auto; background-position: center 35%; }
  .ph .nop { bottom: 40px; font-size: 12px; line-height: 16px; }
  .card-body, .results.grid .card-body { padding: 16px; }
  .specs .lot { display: none; }
  .money .split .btn { min-height: 44px; font-size: 16px; line-height: 24px; }
  /* Browse sections */
  .sec-title { margin: 32px 0 12px; font-size: 18px; line-height: 24px; }
  .how { grid-template-columns: minmax(0, 1fr); }
  .step { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; padding: 16px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line-soft); }
  .step .ic { grid-row: span 2; margin: 0; }
  .step b { margin: 0 0 4px; }
  .trust .l, .trust .r { padding: 16px; }
  .foot { flex-direction: column; }
  .side a { min-height: 44px; }
  /* Car page */
  .vdp-actions .t { display: none; }
  .vdp-actions { gap: 0; margin-right: -12px; }
  .vdp-actions button, .vdp-actions a { min-width: 44px; min-height: 44px; padding: 0; justify-content: center; }
  .carfax-cta .btn { min-height: 44px; }
  .titleblock h1 { font-size: 22px; line-height: 28px; }
  .facts > div { padding: 12px; }
  .facts dd { font-size: 14px; line-height: 20px; }
  .glance { gap: 8px; }
  .gtile { padding: 12px; }
  .gtile b { font-size: 16px; line-height: 24px; }
  .gtile span { font-size: 12px; line-height: 16px; }
  .secnav { gap: 20px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .report-head { padding: 16px 16px 12px; }
  .report-head h2 { font-size: 18px; line-height: 24px; }
  .rsec { padding: 16px; }
  .rsec > h3 { font-size: 16px; line-height: 24px; }
  .vtabs { margin: 0 -16px 12px; padding: 0 16px; }
  .stage img { max-height: 420px; }
  .stage-tools .link-btn { min-height: 44px; }
  .dlist img { width: 56px; height: 42px; }
  .tires-wrap { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
  .cartop { max-width: 72px; }
  .cartop text { display: none; }
  .tires { gap: 8px; }
  .tire { align-items: center; }
  .tire button { width: 56px; height: 56px; min-height: 0; margin: 8px 0 8px 8px; border-radius: var(--r-xs); overflow: hidden; }
  .tire .state i { margin-top: 4px; }
  .tire .t { padding: 8px 8px 8px 0; gap: 2px; font-size: 12px; line-height: 16px; }
  .mrow { padding: 12px; }
  .mrow b { font-size: 14px; line-height: 20px; }
  .htile b { font-size: 16px; line-height: 24px; }
  .checklist { grid-template-columns: minmax(0, 1fr); }
  .albums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pchart text { font-size: 13px; }
  .steps li { grid-template-columns: 7em minmax(0, 1fr) auto; padding: 0 8px; }
  .rail { margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scroll-padding-left: var(--gutter); grid-auto-columns: 80%; }
  /* Buy bar: "4 799 $ dans 16 h 28" must fit beside the buttons */
  .buybar .big { font-size: 22px; }
  .buybar .split .btn { flex: none; padding: 0 12px; }
  .buybar .btn-call { gap: 6px; }
  .buybar .btn-text svg.i { display: none; }
  /* Lightbox */
  .lb-frame img, .lb-frame video { max-width: 100vw; max-height: calc(100vh - 200px); max-width: 100cqw; max-height: 100cqh; }
  .lb .prev, .lb .next { display: none; }
}
@media (max-width: 359px) {
  .logo-word { font-size: 12px; line-height: 12px; letter-spacing: 0.06em; }
  .seg .n { display: none; }
  .buybar .btn-text { font-size: 0; gap: 0; }
  .buybar .btn-text svg.i { display: block; width: 20px; height: 20px; }
}

/* ── Reduced motion and print (spec 3.30) ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
@media print {
  @page { margin: 14mm; }
  body { background: #FFFFFF; font-size: 11pt; }
  .top, .side, .scrim, .vdp-top, .vdp-side, .buybar, .mbar, .secnav, .carousel, .carousel-n, .counters, .rail, #similar, .foot, .banner, .toast, .stage-tools, .vtabs, .no-print { display: none !important; }
  .frame, .vdp { display: block; }
  .main { padding: 0; }
  .media { border-radius: 0; background: none; }
  .mosaic { display: grid !important; grid-template-rows: 150px 150px; }
  .panel, .gtile, .mrow, .htile, .album { break-inside: avoid; }
  .rsec { break-inside: avoid-page; }
  .albums { grid-template-columns: repeat(5, 1fr); }
  .print-only { display: block !important; }
  .dmg { display: block; }
  .dmg .dlist, .dlist.loose { display: none !important; }
  .dlist.print-only { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
  .dlist.print-only li { display: flex; align-items: center; gap: 8px; break-inside: avoid; }
}
.print-only { display: none; }

/* ═══════════════════════════════════════════════════════════════════
   2026-11-26 — THE AUTOSRABAIS LOOK
   e = digital, lane = the cars running down the lane. One dark top
   (strip, header, hero) in ink; light, airy pages below. Blue is the one
   signal: the "e", the noon clock, the buy button, the lane markings.
   Geist for words, Geist Mono for clocks, counts and lot numbers.
   Honest urgency only: the real noon clock, last chance, sold this week.
   Still not an auction: no bids, one price for everyone.
   ═══════════════════════════════════════════════════════════════════ */
.dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.55); } 70% { box-shadow: 0 0 0 9px rgba(96, 165, 250, 0); } 100% { box-shadow: 0 0 0 0 rgba(96, 165, 250, 0); } }
@keyframes lane { to { background-position-x: -40px; } }
body { letter-spacing: -0.006em; }
h1, h2, h3, .ctitle, .sec-title { font-family: var(--ui); }
[data-clock] { font-family: var(--mono); letter-spacing: -0.04em; }
.btn { border-radius: var(--pill); font-weight: 600; letter-spacing: -0.01em; }

/* Strip: live, the next drop, the phone */
.strip { background: var(--night); color: #A9AEB5; font-size: 13px; line-height: 16px; }
.strip-row { display: flex; align-items: center; gap: 16px; height: 34px; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); white-space: nowrap; }
.live { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.live b { color: var(--sky); font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.strip-sale { padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, 0.14); overflow: hidden; text-overflow: ellipsis; }
.strip-clock { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.strip-clock svg.i { width: 14px; height: 14px; color: var(--sky); stroke-width: 2.25; }
.strip-clock b { color: #FFFFFF; font-weight: 500; font-size: 13px; }
.strip-tel { display: inline-flex; align-items: center; gap: 6px; padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, 0.14); color: #FFFFFF; font-weight: 500; text-decoration: none; font-variant-numeric: tabular-nums; }
.strip-tel svg.i { width: 14px; height: 14px; }
.strip-tel:hover { text-decoration: underline; }

/* Header: ink, a blue lane marking underneath */
.top { background: rgba(10, 11, 13, 0.94); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 0; }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--lane) 0 0 / 40px 2px repeat-x; opacity: 0.85; }
.top :focus-visible, .strip :focus-visible, .site-foot :focus-visible, .ticker :focus-visible, .board :focus-visible, .bands :focus-visible { outline-color: #FFFFFF; }
.burger { color: #FFFFFF; }
.burger:hover { background: rgba(255, 255, 255, 0.1); }
/* Logo: the blue tile IS the first letter — [A]utosRabais, "Rabais" in the light blue */
.logo { gap: 3px; color: #FFFFFF; }
.mark { width: 34px; height: 34px; padding: 0; border-radius: 10px; background: var(--blue); color: #FFFFFF; font-family: var(--ui); font-weight: 800; font-size: 27px; line-height: 1; letter-spacing: -0.05em; }
.mark::after { content: none; }
.logo-word { color: #FFFFFF; font-weight: 700; font-size: 25px; line-height: 1; letter-spacing: -0.05em; }
.logo-word b { font-weight: inherit; color: #60A5FA; }
.tnav { display: flex; align-self: stretch; gap: 2px; margin-left: 24px; }
.tnav a { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; color: #B4B9C0; text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
.tnav a:hover { color: #FFFFFF; }
.tnav a.on { color: #FFFFFF; box-shadow: inset 0 -2px 0 var(--sky); }
.tnav .c { font-family: var(--mono); font-size: 12px; font-weight: 500; color: #7D838B; font-variant-numeric: tabular-nums; }
.tnav a.on .c { color: var(--sky); }
.pill { border-radius: var(--pill); background: transparent; border-color: rgba(255, 255, 255, 0.16); color: #FFFFFF; font-weight: 500; }
.pill:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.32); }
.pill-call svg.i { color: var(--sky); }
.pill-watch .n { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; font-family: var(--mono); font-weight: 500; }
.pill-watch.has .n { background: var(--blue); color: #FFFFFF; }
.lang { color: #FFFFFF; font-weight: 500; }
.top .search label { border-radius: var(--pill); background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.14); color: #A9AEB5; }
.top .search input { color: #FFFFFF; }
.top .search input::placeholder { color: #8E949B; }
.top .search label:focus-within { background: #FFFFFF; border-color: #FFFFFF; color: var(--muted); }
.top .search label:focus-within input { color: var(--text); }
@media (min-width: 1080px) { body:not([data-page=car]) .burger { display: none; } }
.side a.on, .side a.on svg.i, .side a.on .c { color: var(--ink); }
.side a.on { box-shadow: inset 3px 0 0 var(--blue); }

/* Page frame: the hero is full width; .wrap holds the rest */
.main { padding: 0; }
body[data-page] .main { padding-bottom: 0; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 40px var(--gutter) 0; }
body[data-page=car] .wrap { padding-top: 24px; }

/* Hero: the lane. Three rows of lane markings roll left under the words */
.hero { position: relative; overflow: hidden; border-radius: 0; padding: 0; background: var(--night); color: #A9AEB5; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 55%, transparent 55%), linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 55%, transparent 55%), linear-gradient(90deg, rgba(96, 165, 250, 0.5) 0 55%, transparent 55%);
  background-size: 40px 2px; background-repeat: repeat-x; background-position: 0 33%, 0 66%, 0 calc(100% - 1px);
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.35), #000000 60%); mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.35), #000000 60%);
  animation: lane 1.8s linear infinite; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(340px, 0.9fr); gap: 56px; align-items: center; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 56px var(--gutter) 36px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 6px 14px 6px 12px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--pill); background: rgba(255, 255, 255, 0.04); color: #FFFFFF; font-family: var(--mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.hero h1 { margin: 24px 0 0; max-width: none; color: #FFFFFF; font-size: 70px; line-height: 0.98; font-weight: 700; letter-spacing: -0.05em; }
.hero h1 .hl { display: block; }
.hero h1 em { font-style: normal; color: var(--sky); }
.hero p.sub { margin: 22px 0 0; max-width: 540px; color: #A9AEB5; font-size: 18px; line-height: 28px; }
.hero-search { display: block; max-width: 580px; margin: 30px 0 0; }
.hero-search label { height: 58px; padding: 0 22px; gap: 12px; border: 0; border-radius: var(--pill); background: #FFFFFF; color: var(--muted); }
.hero-search label:focus-within { box-shadow: 0 0 0 3px var(--sky); }
.hero-search input { font-size: 17px; }
.hero-search svg.i { width: 20px; height: 20px; }
/* The board: a digital display of the noon clock and the lot's numbers */
.board { position: relative; overflow: hidden; padding: 26px 26px 0; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--r-lg); background: var(--night-2); }
.board::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--lane) 0 0 / 40px 3px repeat-x; animation: lane 1.2s linear infinite; }
.board-t { display: flex; align-items: center; gap: 9px; margin: 0; color: var(--sky); font-family: var(--mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.board-t::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); animation: pulse 1.8s ease-out infinite; }
.board-clock { margin: 14px 0 0; color: #FFFFFF; font-size: 82px; line-height: 0.95; font-weight: 500; letter-spacing: -0.07em; }
.board-s { margin: 14px 0 0; color: #8E949B; font-size: 14px; line-height: 20px; }
.board-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 24px -26px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.board-stats div { display: flex; flex-direction: column; justify-content: space-between; padding: 14px 12px 18px 26px; border-left: 1px solid rgba(255, 255, 255, 0.08); }
.board-stats div:first-child { border-left: 0; }
.board-stats dt { color: #8E949B; font-size: 12px; line-height: 16px; font-weight: 500; }
.board-stats dd { margin: 8px 0 0; color: #FFFFFF; font-family: var(--mono); font-size: 34px; line-height: 1; font-weight: 500; letter-spacing: -0.05em; }
/* Budget ranges */
.bands-wrap { position: relative; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) 40px; }
.bands-t { margin: 0 0 12px; color: #8E949B; font-family: var(--mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.bands { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.band { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 10px; min-height: 84px; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--r); background: rgba(255, 255, 255, 0.035); color: #FFFFFF; text-align: left; transition: background var(--fast), border-color var(--fast); }
.band:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.26); }
.band.on { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
.band-l { font-size: 20px; line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; }
.band-n { color: #8E949B; font-family: var(--mono); font-size: 12px; line-height: 16px; font-weight: 400; }
.band-n b { color: #FFFFFF; font-weight: 500; }
.band.on .band-n, .band.on .band-n b { color: #FFFFFF; }

/* Ticker: the lane itself — every car rolling past */
.ticker { position: relative; height: 46px; overflow: hidden; background: var(--blue); color: #FFFFFF; }
.ticker-track { display: flex; width: max-content; height: 100%; animation: tick var(--tk-dur, 60s) linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tk-run { display: flex; align-items: center; }
.ticker a { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; border-right: 1px solid rgba(255, 255, 255, 0.22); color: #FFFFFF; text-decoration: none; font-size: 14px; line-height: 20px; white-space: nowrap; }
.ticker a:hover .tk-n { text-decoration: underline; }
.tk-lot { padding: 3px 7px; border-radius: var(--r-xs); background: var(--night); color: var(--sky); font-family: var(--mono); font-size: 11px; line-height: 14px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.tk-n { font-weight: 600; letter-spacing: -0.02em; }
.ticker b { font-weight: 700; letter-spacing: -0.02em; }
.ticker em { font-style: normal; color: #FFFFFF; font-family: var(--mono); font-size: 12px; font-weight: 500; }
.ticker em.tk-last { color: #FFFFFF; background: var(--live); padding: 2px 7px; border-radius: var(--r-xs); text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px; }
.ticker em.tk-sold { color: var(--sky); background: var(--night); padding: 2px 7px; border-radius: var(--r-xs); text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Tabs, chips, results header */
.segbar { margin-top: 0; border-bottom: 1px solid var(--line); }
.segs { gap: 28px; margin-bottom: -1px; }
.seg { height: 54px; color: var(--muted); }
.seg b { gap: 10px; font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -0.025em; }
.seg .n { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 22px; padding: 0 7px; border-radius: var(--pill); background: var(--line-soft); color: var(--ink); font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.seg.on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.seg.on .n { background: var(--blue); color: #FFFFFF; }
.seg-note { padding-bottom: 16px; }
.qchip, .pchips button, .achip, .vtabs button, .select { border-radius: var(--pill); }
.qchip { border-color: var(--line); }
.qchip.on, .pchips button.on, .vtabs button.on { background: var(--ink); border-color: var(--ink); }
.views { border-radius: var(--pill); }
.views button { border-radius: var(--pill); }
.rhead h2 { font-size: 28px; line-height: 32px; font-weight: 700; letter-spacing: -0.04em; }
.rhead h2 .rh-tail { color: var(--muted); font-weight: 500; }
.fhead h2 { font-size: 18px; font-weight: 700; letter-spacing: -0.025em; }
.fgroup h3 { font-size: 13px; line-height: 16px; font-weight: 600; flex-wrap: wrap; }
.fgroup h3 span { font-family: var(--mono); font-weight: 400; }
.panel { border-color: var(--line); }
.opt input { accent-color: var(--ink); }

/* Lot cards */
.results.grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.card { border-color: var(--line); border-radius: var(--r-lg); transition: box-shadow var(--fast), border-color var(--fast), transform var(--fast); }
.card:hover { border-color: var(--ink); box-shadow: 0 16px 36px rgba(10, 11, 13, 0.12); }
.results.grid .card:hover { transform: translateY(-3px); }
.card.last { border-color: rgba(255, 90, 54, 0.55); }
.ph-tl { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; pointer-events: none; }
.lotnum { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: var(--r-xs); background: var(--night); color: var(--sky); font-family: var(--mono); font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ph-chip { position: static; height: 24px; border-radius: var(--r-xs); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.ph-chip.last { background: var(--live); color: #FFFFFF; }
.ph-chip.new { background: var(--blue); color: #FFFFFF; }
.ph-chip.sold { background: var(--night); color: #FFFFFF; }
.stamp { position: absolute; top: 50%; left: 50%; z-index: 2; transform: translate(-50%, -50%) rotate(-6deg); padding: 6px 18px; border: 2px solid var(--sky); border-radius: var(--r-sm); background: rgba(10, 11, 13, 0.9); color: var(--sky); font-family: var(--mono); font-size: 24px; line-height: 1.1; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; pointer-events: none; }
.card.sold .ph img { filter: grayscale(1) brightness(0.8); }
.timerbar { height: 30px; background: rgba(10, 11, 13, 0.86); font-family: var(--mono); font-weight: 500; }
.timerbar .fill { background: var(--sky); }
.timerbar.hour .fill, .timerbar.soon .fill { background: var(--live-hi); }
.timerbar.hour .txt span:first-child, .timerbar.soon .txt span:first-child { color: var(--live-hi); }
.timerbar.fresh-drop { background: var(--blue); color: #FFFFFF; }
.timerbar.fresh-drop .txt span:last-child { color: #FFFFFF; }
.ctitle { font-size: 19px; line-height: 24px; font-weight: 650; letter-spacing: -0.03em; }
.ctitle .trim { font-size: 15px; font-weight: 400; letter-spacing: -0.01em; }
.results.grid .ctitle, .rail .ctitle { font-size: 18px; line-height: 24px; }
.specs { font-size: 14px; }
.tag { border-radius: var(--r-xs); }
.money { border-top: 1px dashed var(--line-strong); }
.pricebox { grid-template-columns: auto; row-gap: 2px; }
.pricebox small { font-family: var(--mono); font-size: 11px; line-height: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.pricebox .p { margin-top: 4px; font-size: 36px; line-height: 1; font-weight: 700; letter-spacing: -0.05em; }
.results.grid .pricebox .p, .rail .pricebox .p { font-size: 34px; }
.card.last .pricebox .p { color: var(--live-ink); }
.pricebox .was { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; }
.off { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: var(--pill); background: var(--blue-50); color: var(--blue-ink); font-family: var(--mono); font-size: 12px; line-height: 16px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.btn-buy { position: relative; z-index: 2; gap: 8px; background: var(--blue); color: #FFFFFF; font-weight: 600; }
.btn-buy:hover { background: var(--blue-hi); }
.btn-buy:active { background: var(--blue-deep); }
.btn-buy svg.i { width: 18px; height: 18px; stroke-width: 2.25; transition: transform var(--fast); }
.btn-buy:hover svg.i { transform: translateX(3px); }
.money .btn-buy { min-height: 44px; padding: 0 20px; font-size: 15px; }
.results.grid .money, .rail .money { flex-direction: row; align-items: flex-end; gap: 12px; }
.results.grid .money .btn-buy, .rail .money .btn-buy { flex: none; }
.rail .money .btn-buy { display: none; }
.results:not(.grid) .money .btn-buy { min-width: 200px; }

/* Good news reads blue */
.ic.ok, .nothing { background: var(--blue-50); color: var(--blue-ink); }
.state.ok, .gtile.ok b, .htile.ok b { color: var(--blue-ink); }
.state.ok i { background: var(--blue); }
.tag.ok svg.i, .gtile.ok small svg.i, .facts dd small { color: var(--blue-ink); }
.cartop .w.ok { fill: var(--blue); }
.steps li.now { background: var(--blue-50); color: var(--ink); }
.steps li.now .when { color: var(--ink); }
.pchart circle.now-dot { fill: var(--blue); stroke: #FFFFFF; stroke-width: 3; }

/* How it works: four stops on one lane */
.sec-title { margin: 80px 0 28px; font-size: 42px; line-height: 1.05; font-weight: 700; letter-spacing: -0.05em; }
.how.panel { position: relative; counter-reset: step; gap: 20px; overflow: visible; border: 0; background: none; }
.how.panel::before { content: ""; position: absolute; left: 24px; right: 24px; top: 23px; height: 2px; background: linear-gradient(90deg, var(--ink) 0 50%, transparent 50%) 0 0 / 16px 2px repeat-x; }
.how .step { counter-increment: step; position: relative; padding: 70px 8px 0 0; border: 0; background: none; }
.how .step::before { content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: #FFFFFF; font-family: var(--mono); font-size: 15px; font-weight: 600; box-shadow: 0 0 0 8px var(--page); }
.how .step .ic { display: none; }
.how .step b { font-size: 20px; line-height: 26px; font-weight: 650; letter-spacing: -0.03em; margin-bottom: 6px; }
.how .step > span { font-size: 15px; line-height: 22px; }

/* Trust: ink + blue */
.trust.panel { margin-top: 64px; border: 0; border-radius: var(--r-lg); background: var(--night); color: #A9AEB5; }
.trust .l { padding: 44px; }
.trust .l h3 { margin: 0 0 10px; color: #FFFFFF; font-size: 34px; line-height: 1.05; font-weight: 700; letter-spacing: -0.045em; }
.trust .l p { color: #A9AEB5; }
.trust li { color: #E4E6EA; }
.trust li svg.i { color: var(--sky); }
.trust .r { padding: 44px; background: var(--blue); color: #FFFFFF; }
.trust .r b { color: #FFFFFF; font-size: 28px; line-height: 1.1; font-weight: 700; letter-spacing: -0.04em; }
.trust .r > span { color: #FFFFFF; }
.trust .r small { color: #FFFFFF; font-family: var(--mono); }
.trust .r .btn-call { background: var(--night); color: #FFFFFF; }
.trust .r .btn-call:hover { background: #24272D; }
.trust .r .btn-call + .btn-text { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, 0.55); }
.trust .r .btn-call + .btn-text:hover { background: rgba(255, 255, 255, 0.12); border-color: #FFFFFF; }

/* Footer: ink, a lane marking on top */
.site-foot { position: relative; margin-top: 96px; background: var(--night); color: #8E949B; }
.site-foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--lane) 0 0 / 40px 2px repeat-x; }
.sf-in { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 56px var(--gutter) 36px; }
.sf-brand p { max-width: 340px; margin: 16px 0 0; font-size: 14px; line-height: 20px; }
.sf-tel { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: #FFFFFF; font-size: 24px; line-height: 28px; font-weight: 600; letter-spacing: -0.03em; text-decoration: none; font-variant-numeric: tabular-nums; }
.sf-tel svg.i { width: 20px; height: 20px; color: var(--sky); }
.sf-tel:hover { text-decoration: underline; }
.sf-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 20px; }
.sf-col h2 { margin: 4px 0 6px; color: #FFFFFF; font-family: var(--mono); font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.sf-col h2.sf-name { font-family: var(--ui); font-size: 15px; font-weight: 700; letter-spacing: -0.03em; text-transform: none; }
.sf-col a { color: #C4C8CE; text-decoration: none; }
.sf-col a:hover { color: #FFFFFF; text-decoration: underline; }
.sf-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 16px var(--gutter) 24px; background: linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)) no-repeat center top / calc(100% - 2 * var(--gutter)) 1px; font-size: 12px; line-height: 16px; }
.sf-base a { color: #8E949B; }
.sf-base a:hover { color: #FFFFFF; }

/* Car page: lot header, title, report */
.back { color: var(--ink); }
.lotline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.st { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: var(--pill); font-family: var(--mono); font-size: 11px; line-height: 14px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.st .dot { width: 7px; height: 7px; }
.st.live { background: var(--night); color: var(--sky); }
.st.last { background: var(--live); color: #FFFFFF; }
.st.sold { background: var(--ink); color: #FFFFFF; }
.titleblock h1 { font-size: 46px; line-height: 1.02; font-weight: 700; letter-spacing: -0.05em; }
.titleblock h1 .trim { font-size: 22px; font-weight: 400; letter-spacing: -0.02em; }
.media, .facts, .panel.rsec, .report { border-radius: var(--r-lg); }
.facts dt, .gtile small, .htile small, .included h3 { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.gtile { border-radius: var(--r); }
.report-head h2 { font-size: 30px; line-height: 34px; font-weight: 700; letter-spacing: -0.045em; }
.rsec > h3 { font-size: 21px; font-weight: 650; letter-spacing: -0.03em; }
.rsec > h3 .cnt { font-family: var(--mono); font-weight: 500; }
.secnav a { font-weight: 500; }
.secnav a.on { box-shadow: inset 0 -2px 0 var(--ink); }
.vin, .code { font-family: var(--mono); }
/* The price card: ink, lane marking rolling along the top */
.pricecard { position: relative; overflow: hidden; padding: 26px 24px 24px; border-radius: var(--r-lg); background: var(--night); }
.pricecard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--lane) 0 0 / 40px 3px repeat-x; animation: lane 1.2s linear infinite; }
.pricecard.final::before { animation: none; }
.pc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 18px; }
.pricecard .st.live { background: rgba(96, 165, 250, 0.12); color: var(--sky); }
.pricecard .lotnum { background: rgba(255, 255, 255, 0.08); }
.pricecard .label { color: #8E949B; font-family: var(--mono); font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.pricecard.final .label { color: var(--live-hi); }
.pricecard .big { margin-top: 8px; color: #FFFFFF; font-size: 64px; line-height: 1; font-weight: 700; letter-spacing: -0.06em; }
.pricecard .was { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.pricecard .off { background: rgba(96, 165, 250, 0.14); color: var(--sky); }
.cd .clock { margin-top: 8px; color: var(--sky); font-family: var(--mono); font-size: 34px; line-height: 1; font-weight: 500; letter-spacing: -0.06em; }
.cd .drain i { background: var(--sky); }
.big-buy { width: 100%; min-height: 56px; margin-top: 22px; font-size: 17px; }
.pricecard .split { margin-top: 10px; }
.pricecard .split .btn { min-height: 44px; font-size: 15px; }
.pricecard .split .btn-call { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, 0.24); }
.pricecard .split .btn-call:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.45); }
.buybar .big { color: #FFFFFF; font-weight: 700; letter-spacing: -0.05em; }
.buybar .bb-call { width: 48px; padding: 0; background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, 0.24); }
.buybar .bb-call:hover { background: rgba(255, 255, 255, 0.08); }
.buybar .btn-buy { min-height: var(--h-lg); padding: 0 20px; font-size: 16px; }
.drainline { background: var(--sky); }

/* Buy panel */
.buy { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(10, 11, 13, 0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity var(--fast); }
.buy.on { opacity: 1; }
.buy-card { position: relative; width: min(480px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 28px 24px 24px; border-radius: var(--r-lg); background: var(--card); box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35); outline: none; transform: translateY(10px); transition: transform 200ms var(--ease); }
.buy-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--ink) 0 55%, transparent 55%) 0 0 / 40px 3px repeat-x; }
.buy.on .buy-card { transform: none; }
.buy-x { position: absolute; top: 12px; right: 12px; }
.buy-head { display: flex; align-items: center; gap: 14px; padding-right: 40px; }
.buy-im { flex: none; width: 104px; height: 78px; overflow: hidden; border-radius: var(--r-sm); background: var(--line-soft); }
.buy-im img { display: block; width: 100%; height: 100%; object-fit: cover; }
.buy-lot { display: inline-flex; margin: 0; padding: 3px 7px; border-radius: var(--r-xs); background: var(--night); color: var(--sky); font-family: var(--mono); font-size: 11px; line-height: 14px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.buy-head h2 { margin: 8px 0 0; font-size: 24px; line-height: 1.1; font-weight: 700; letter-spacing: -0.04em; }
.buy-price { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 4px 12px; margin: 18px 0 0; padding: 16px 18px; border-radius: var(--r); background: var(--night); color: #A9AEB5; }
.buy-price small { grid-column: 1 / -1; color: #8E949B; font-family: var(--mono); font-size: 11px; line-height: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.buy-price > b { color: #FFFFFF; font-size: 44px; line-height: 1; font-weight: 700; letter-spacing: -0.06em; }
.buy-price > span { font-size: 13px; line-height: 18px; text-align: right; }
.buy-price > span b { color: var(--sky); font-family: var(--mono); font-weight: 500; }
.buy-card h3 { margin: 22px 0 10px; color: var(--muted); font-family: var(--mono); font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.buy-steps { counter-reset: s; display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.buy-steps li { counter-increment: s; display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: start; gap: 12px; color: var(--text); font-size: 15px; line-height: 22px; }
.buy-steps li::before { content: counter(s); display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #FFFFFF; font-family: var(--mono); font-size: 13px; font-weight: 600; }
.buy-note { margin: 16px 0 0; color: var(--ink); font-weight: 600; }
.buy-card .split { margin-top: 16px; }
.buy-tel { margin: 10px 0 0; text-align: center; font-size: 13px; line-height: 18px; }
.buy-tel a { color: var(--muted); text-decoration: none; font-variant-numeric: tabular-nums; }

/* Responsive for this layer */
@media (max-width: 1240px) {
  .tnav a { padding: 0 9px; }
  .tnav .c { display: none; }
  .pill-call span { display: none; }
  .pill-call { width: var(--h); padding: 0; justify-content: center; }
}
@media (max-width: 1079px) {
  .tnav { display: none; }
  .hero h1 { font-size: 56px; }
  .board-clock { font-size: 68px; }
  body[data-page=browse] .site-foot, body[data-page=car] .site-foot { padding-bottom: 80px; }
}
@media (max-width: 900px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 44px; }
  .bands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how.panel { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .how.panel::before { display: none; }
  .sf-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sf-brand { grid-column: 1 / -1; }
  .results.grid .money, .rail .money { flex-direction: row; }
}
@media (max-width: 760px) {
  .results.grid .ctitle { font-size: 21px; line-height: 26px; }
  .results.grid .pricebox .p { font-size: 38px; }
  .titleblock h1 { font-size: 36px; }
}
@media (max-width: 640px) {
  .strip-row { gap: 10px; height: 32px; font-size: 12px; }
  .strip-sale, .strip-tel, .strip-clock svg.i { display: none; }
  .strip-clock b { font-size: 13px; }
  .mark { width: 30px; height: 30px; font-size: 24px; border-radius: 9px; }
  .logo-word { font-size: 22px; }
  .pill { color: #FFFFFF; }
  .wrap { padding-top: 24px; }
  body[data-page=car] .wrap { padding-top: 16px; }
  .hero-in { gap: 20px; padding: 28px var(--gutter) 20px; }
  .hero-kicker { padding: 4px 10px; font-size: 11px; letter-spacing: 0.06em; }
  .hero h1 { margin-top: 16px; font-size: 39px; line-height: 1.02; letter-spacing: -0.05em; }
  .hero h1 em::before { content: "\A"; white-space: pre; } /* "chaque jour à midi." on a line of its own */
  .hero p.sub { display: none; }
  .hero-search { margin-top: 18px; }
  .hero-search label { height: 52px; padding: 0 18px; }
  .board { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 14px 16px 0; }
  .board-t { font-size: 11px; letter-spacing: 0.06em; }
  .board-clock { margin: 0; font-size: 40px; }
  .board-s { display: none; }
  .board-stats { grid-column: 1 / -1; margin: 14px -16px 0; }
  .board-stats div { padding: 10px 8px 12px 16px; }
  .board-stats dt { font-size: 11px; }
  .board-stats dd { font-size: 26px; }
  .bands-wrap { padding-bottom: 24px; }
  .bands-t { margin-bottom: 8px; font-size: 11px; }
  .bands { gap: 8px; }
  .band { min-height: 0; padding: 12px 14px; gap: 6px; border-radius: var(--r-sm); }
  .band-l { font-size: 17px; }
  .ticker, .ticker a { height: 40px; }
  .ticker a { padding: 0 16px; font-size: 13px; }
  .segs { gap: 22px; }
  .seg { height: 48px; }
  .seg b { font-size: 16px; line-height: 20px; gap: 6px; }
  .seg .n { min-width: 22px; height: 20px; font-size: 11px; }
  .rhead h2 { font-size: 22px; line-height: 26px; }
  .sec-title { margin: 56px 0 20px; font-size: 32px; }
  .how.panel { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .how.panel::before { display: block; left: 23px; right: auto; top: 24px; bottom: 24px; width: 2px; height: auto; background: linear-gradient(180deg, var(--ink) 0 50%, transparent 50%) 0 0 / 2px 16px repeat-y; }
  .how .step { display: block; min-height: 48px; padding: 10px 0 28px 68px; }
  .how .step:last-child { padding-bottom: 0; }
  .how .step::before { box-shadow: 0 0 0 6px var(--page); }
  .how .step b { font-size: 18px; line-height: 24px; }
  .trust.panel { margin-top: 48px; }
  .trust .l, .trust .r { padding: 24px 20px; }
  .trust .l h3 { font-size: 28px; }
  .site-foot { margin-top: 56px; }
  .sf-in { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; padding: 40px var(--gutter) 24px; }
  .sf-in > .sf-col:last-child { grid-column: 1 / -1; }
  .sf-base { flex-direction: column; }
  .titleblock h1 { font-size: 32px; }
  .titleblock h1 .trim { font-size: 18px; }
  .buybar .big { font-size: 30px; }
  .buybar .split .btn.btn-buy { padding: 0 16px; }
  .buy { align-items: flex-end; padding: 0; }
  .buy-card { width: 100%; max-height: 92vh; padding: 24px 16px calc(16px + env(safe-area-inset-bottom)); border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .buy-im { width: 84px; height: 63px; }
  .buy-head h2 { font-size: 22px; }
  .buy-price > b { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track, .hero::before, .board::before, .pricecard::before { animation: none; }
  .ticker { overflow-x: auto; scrollbar-width: none; }
  .dot, .board-t::before { animation: none; }
}
@media print {
  .strip, .ticker, .site-foot, .buy { display: none !important; }
  .titleblock h1 { font-size: 24pt; }
}
.pricecard .lot { display: none; } /* the lot number is in the box header now */
.results.grid > .empty, .results.grid > .panel { grid-column: 1 / -1; }
.lot-empty .bands-wrap, .lot-none .board-stats { display: none; }
.lot-none .board { padding-bottom: 26px; }
.lot-empty .hero-in { padding-bottom: 56px; }

/* 0419 — "Ask a question" / "Book a visit": the car's own chat and booking pages, above call and text. */
.buyer-acts { margin: 0 0 8px; flex-direction: column; }
.buyer-acts .btn { flex: none; width: 100%; white-space: nowrap; }
/* One bright button per card: "Buy" is blue; "Ask a question" is the sky outline under it */
.pricecard .buyer-acts .btn-buy { background: transparent; color: var(--sky); border-color: rgba(96, 165, 250, 0.5); }
.pricecard .buyer-acts .btn-buy:hover { background: rgba(96, 165, 250, 0.1); border-color: var(--sky); }
.pricecard .buyer-acts .btn-line { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, 0.24); }
.pricecard .buyer-acts .btn-line:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.45); }

/* 0420 — a car held for a buyer who left a deposit. */
.ph-chip.reserved { background: var(--night); color: #FFFFFF; }
.reserved-note { margin: 0 0 4px; font-weight: 600; }

/* 2026-11-28 — AutosRabais is a longer word than the one this header was drawn for:
   on the smallest phones the logo steps down so the language switch stays on screen. */
@media (max-width: 380px) {
  .mark { width: 26px; height: 26px; font-size: 21px; border-radius: 8px; }
  .logo-word { font-size: 19px; }
  .strip .live b { display: none; } /* the dot stays; the words ran under the clock at 320px */
}
