/* A car's own page (src/app/car/). One page in the order a buyer asks: the head (the car, its version and the way to
   another, its price, six figures placed among the cars of its size class, what the industry map knows, the one act),
   a bar that names the sections and shows where one is, then the six sections: Versions, Coût, Équipements,
   Concurrentes, Fiche technique, Sa carte. It places the app's pieces and redefines no token.

   What a visitor reads without reading (22 November 2026; src/app/car/tint.ts, figures.ts, sections.ts): every figure
   of the head has its mark; the sliders say what they are (their key, once; the stretch from the middle car to this one
   filled; an arrow at the end that is better for whoever would buy); the energy is a sign with its word beside the
   version; each section wears its sign in its head and in the bar, and the bar says where one is with paint. Colour
   says two things and no more. The verdict: where a figure has a better side, the car's dot and the stretch from the
   middle car take the tone of a gap, green on the better side, rust on the other (the place and the arrow say it too);
   ink where no side is better and within a dot's width of the middle. The robe: the ground the car stands on is the
   colour of its own picture, set on the page's root by the server (`--robe-l`, `--robe-d`: the one colour a page
   carries that is not a token, because it is the car's).

   Scale. Every car's page shows its car at one scale: `--span` millimetres take the width of the stage (5,40 m,
   or the car's own length when it is longer). A city car looks small here, a pick-up fills the width. */

/* The dock's height lives on the page's root: the frame's toast, a child of the body, reads it too. */
.app { --dock-h: 68px; --nav-h: 48px; }
/* What is scrolled to (an anchor, a focused control) lands under the bar of the sections, not behind it. */
html:has(.car-nav) { scroll-padding-top: calc(var(--bar-h) + var(--nav-h) + 8px); }
.car { max-width: 1560px; margin: 0 auto; }
/* The robe: the ground its car stands on, by theme. A car without a picture carries none, and stands on the road. */
.car[data-robe] { --robe: var(--robe-l); }
:root[data-theme="dark"] .car[data-robe] { --robe: var(--robe-d); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .car[data-robe] { --robe: var(--robe-d); }
}
.car-first { display: flex; flex-direction: column; padding: 0 var(--pad) 8px; }
/* The foot comes next, and keeps the dock's room itself (app.css): nothing is left empty between the two. */
.car-rest { padding: 0 var(--pad) var(--sp-4); }

/* ── The head ────────────────────────────────────────────────────────────────────────────────────────── */

.car-hero { display: grid; padding-top: 14px; }
/* `--make-h`: the height of the make's row, which the view switch of the car's box shares at its other end (below). */
.car-hero-car { --make-h: 56px; --hero-top: 0px; position: relative; display: grid; container-type: inline-size; }
.car-h { display: grid; gap: 4px; position: relative; z-index: 0; }
/* Its make, by its logo: large enough to be the make's signature over the name (the owner, 25 November 2026: "too small";
   56 px with room, 44 on a phone, two and a third times the 24 px of before), its ink starting where the name starts.
   Every file has its optical box (scripts/logos/box.ts), so one height gives every make about the same area: a round
   emblem tall, a wordmark wide. The box is the stylesheet's, whatever the file: nothing moves when it arrives. A wide
   wordmark leaves the view switch its room on a narrow screen (`--switch-w`, the switch's room by its options). */
.car-make { --switch-w: 0px; justify-self: start; display: inline-flex; align-items: center; min-width: 44px; min-height: var(--make-h); text-decoration: none; }
.car-make .makemark.is-logo { height: var(--make-h); }
.car-make .makemark.is-logo img { width: min(200px, 100cqw - var(--switch-w)); height: var(--make-h); }
.car-make .makemark.is-word { font: 800 1.5rem/1 var(--display); letter-spacing: -0.02em; text-transform: none; color: var(--ink); }
.car-hero-car:has(.cv-switch) .car-make { --switch-w: 176px; }
.car-hero-car:has(.cv-opt:nth-child(3)) .car-make { --switch-w: 244px; }
/* The name: its longest line fills five sixths of the room (its width in ems, measured: `--w`), never larger than a wall. */
.car-name { display: block; justify-self: start; font: 800 1rem/0.88 var(--names); letter-spacing: -0.038em; font-size: clamp(2.25rem, calc((100vw - 2 * var(--pad)) * 0.83 / var(--w)), 4.75rem); text-wrap: balance; }
@supports (width: 1cqw) {
  .car-name { font-size: clamp(2.25rem, calc(100cqw * 0.83 / var(--w)), 5.5rem); }
}

/* The stage: the flat car at true scale, and the 3D that takes its place. It starts under the name's last line, so
   that nothing it shows (a tall car, the 3D, the maker's 360°, a photo) ever covers the name (the site audit of 25
   November 2026, finding 2).
   The flat car is the stage's own poster (src/site/stage-slot.ts), set here at the page's scale and on the page's
   ground: the 3D car arrives exactly where the poster's car stands. The poster's car spans 316 of its 340 units, and
   stands 14 units above its bottom edge: the two numbers below. */
/* Its top clears the name's descenders ("Jogger"), which hang under the name's tight line. */
.car-stagebox { position: relative; z-index: 1; aspect-ratio: 16 / 10; margin: 8px calc(var(--pad) * -1) 0; container-type: inline-size; }
/* The ground: a pool of the car's own colour (the robe; the road without one) that ends inside its box on every side:
   a tint cut by an edge would show. */
.car-stagebox::before { content: ""; position: absolute; inset: auto 0 0; height: 56%; background: radial-gradient(50% 46% at 50% 52%, var(--robe, var(--road)), transparent 100%); pointer-events: none; }
.car-stagebox > * { --mm: calc(90cqw / var(--span)); --ground: calc(12% + 21px); }
.car-stagebox .stage { position: absolute; inset: 0; max-width: none; margin: 0; }
.car-stagebox .stage-view { height: 100%; aspect-ratio: auto; border: 0; background: none; }
/* The car's stage is the first screen: never skipped, so that the car carried from the street lands on its poster (a
   view transition captures nothing a skipped subtree holds: src/app/ui/carry.ts). */
.car-stagebox .stage-view { content-visibility: visible; }
.car-stagebox .stage-poster { --pw: calc(var(--L) * var(--mm) * 340 / 316); }
.car-stagebox .stage-poster > svg { left: 50%; top: auto; bottom: calc(var(--ground) - var(--pw) * 14 / 340); width: var(--pw); height: auto; translate: -50% 0; overflow: visible; }
.car-stagebox .stage-poster .car-shadow { fill: var(--ink); opacity: 0.16; filter: blur(3px); }
.car-stagebox .stage-poster .car-body { fill: var(--car); stroke: var(--ink); stroke-width: 1.4px; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.car-stagebox .stage-poster .car-glass { fill: var(--glass); stroke: var(--ink); stroke-width: 0.9px; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.car-stagebox .stage-poster .car-pillar { stroke: var(--car); }
.car-stagebox .stage-poster .car-seam { stroke: var(--ink); stroke-width: 0.7px; opacity: 0.45; vector-effect: non-scaling-stroke; }
.car-stagebox .stage-poster .car-lamp { stroke: var(--ink); stroke-width: 0.8px; vector-effect: non-scaling-stroke; }
.car-stagebox .stage-poster .car-head { fill: var(--card); }
.car-stagebox .stage-poster .car-tail { fill: var(--bad); }
.car-stagebox .stage-poster .car-tyre { fill: var(--tyre); }
.car-stagebox .stage-poster .car-rim { fill: var(--line); }
.car-stagebox .stage-poster .car-hub { fill: var(--tyre); }
.car-len { position: absolute; left: 50%; bottom: 12%; translate: -50% 0; display: block; width: calc(var(--L) * var(--mm)); height: 9px; border: solid var(--edge); border-width: 0 1.5px; transition: opacity 0.2s ease-out 0.2s, visibility 0s; }
.car-len::before { content: ""; position: absolute; inset-inline-start: 0; inset-inline-end: 0; top: 50%; border-top: 1.5px solid var(--edge); }
.car-len i { position: absolute; left: 50%; top: 50%; translate: -50% -50%; padding: 0 7px; background: var(--paper); font: 600 0.75rem/1 var(--label); font-style: normal; color: var(--soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.car-stagebox:has(.stage[data-stage-state="live"]) .car-len { opacity: 0; visibility: hidden; transition: opacity 0.2s ease-out 0.2s, visibility 0s 0.4s; }
.car-stagebox.is-flat { aspect-ratio: auto; padding: 0 0 12px; }
.car-stagebox.is-flat .car-flat { display: grid; justify-items: center; }
.car-turn { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding-block: 0; padding-inline: 11px 14px; border: 1.5px solid var(--edge); border-radius: var(--r-pill); background: none; font: 650 0.8125rem/1 var(--body); position: relative; transition: scale var(--quick), border-color var(--quick); }
.car-turn .ic { width: 18px; height: 18px; }
.car-turn:active { scale: 0.95; }
.car-turn[hidden], .car-hero:has(.stage[data-stage-state="live"]) .car-turn, .car-hero:has(.stage[data-stage-state="flat"]) .car-turn { display: none; }
.car-turn[aria-busy="true"] { color: var(--soft); }
/* Under the car, one quiet line: whose picture it is (and, for a car with its 3D alone, the button that turns it). The
   view switch is not here any more: it stands in the box's top corner (`.cv-switch`, below). */
.car-shown { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 14px; margin-top: 0; }
.car-shown .whence { min-width: 0; font: 500 0.75rem/1.2 var(--label); font-variant-numeric: tabular-nums; }
.car-shown:has(.car-turn) .whence { flex: 0 1 auto; }
.car-shown .stage-credit { margin: 6px 0 0; text-align: start; }

/* What it is, what it costs: the price and the six figures read first (the owner, 24 November 2026: "those info
   related to price and main specs are very important, but they don't seem clear or highlighted"). The price, the
   largest figure of the head, its day at its right on its baseline; the six on a card of their own. */
.car-id { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; gap: 6px 12px; min-width: 0; padding-top: 4px; }
.car-id > * { grid-column: 1 / -1; }
.car-id > .car-price { grid-column: 1; }
.car-id > .car-price-under { grid-column: 2; align-self: end; justify-self: end; justify-content: flex-end; padding-bottom: 5px; text-align: end; }
.car-what { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
/* The version's name; the energy, seen: its sign and its word beside the name; what the version is, under them. */
.car-what p { --k: 1; --kr: 1; flex: 1 1 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-width: 0; }
.car-what b { font: 750 1.25rem/1.15 var(--display); letter-spacing: -0.017em; }
.car-what span { font: 500 0.9375rem/1.3 var(--body); color: var(--soft); }
.car-what .car-energy { display: inline-flex; align-items: center; gap: 5px; font: 650 0.875rem/1.2 var(--body); letter-spacing: -0.005em; color: var(--ink); white-space: nowrap; }
.car-energy > .pi { align-self: center; margin: -3px 0; }
/* Its engine, under the name and the energy: a line of its own while the two hold side by side (the line is at least
   `--need` wide, the server's measure: src/app/car/page.ts, `versionLine`). Where they do not, the energy has gone to
   the second line, and the engine joins it there if it holds whole beside it (`--rest`), else takes the third. The two
   measures are taken at a phone's sizes: `--k` and `--kr` say how much larger, or smaller, the words are set here. */
.car-what .car-rest-w { flex: 1 1 clamp(0px, calc((100% - var(--need, 0) * var(--k) * 1px) * 999), 100%); min-width: min(100%, calc(var(--rest, 9999) * var(--kr) * 1px)); }
/* The versions' control, in the head and in the sections' bar: the count and the word, a chevron that turns as its
   panel opens (the panel itself: further down, `.cvp`). */
.car-switch, .car-nav-switch { padding-block: 0; padding-inline: 14px 11px; }
/* The pill is 40 px tall: its hit area (app.css, `.pick::after`) is taken to 44 here. */
.car-switch::after { inset: -4px 0; }
.car-what .car-switch b { font: 650 0.875rem/1 var(--body); letter-spacing: 0; }
.car-switch > .ic:last-child, .car-nav-switch > .ic:last-child { transition: rotate var(--quick); }
:is(.car-switch, .car-nav-switch)[aria-expanded="true"] { border-color: var(--ink); }
:is(.car-switch, .car-nav-switch)[aria-expanded="true"] > .ic:last-child { rotate: 180deg; color: var(--ink); }
.car-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 6px; }
.car-price .price.is-big b { font-size: 2.75rem; letter-spacing: -0.035em; }
.car-promo { font: 750 0.9375rem/1.2 var(--display); color: var(--good); font-variant-numeric: tabular-nums; }
.car-price-under { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; margin-top: 0; }
.car-month { display: inline-flex; align-items: center; gap: 0.3em; min-height: 40px; font: 500 0.875rem/1.2 var(--body); color: var(--soft); text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: 4px; white-space: nowrap; }
.car-month b { color: var(--ink); font: 750 0.9375rem/1 var(--display); letter-spacing: -0.008em; }
.car-read { margin: 0; }

/* The six figures of the head, three a row (the review of 22 November 2026: no slider, no dot, no key). Each: its icon
   and its label on one line, the figure large with its unit, and under it one plain word of where it stands among the
   cars of its class, green only when it is good news (src/app/car/tint.ts, `verdictOf`). Under the six, once, the class. */
.cf-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 10px 0 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 14px; background: var(--card); box-shadow: var(--lift-1); }
.cf { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 4px; min-width: 0; padding-block: 12px 13px; padding-inline: 16px 10px; }
.cf:not(:nth-child(3n + 1)) { border-inline-start: 1px solid var(--line); }
.cf:nth-child(n + 4) { border-top: 1px solid var(--line); }
.cf-l { display: flex; align-items: center; gap: 7px; min-width: 0; font: 600 0.8125rem/1.2 var(--body); color: var(--soft); }
.cf-l > .ic { flex: none; width: 20px; height: 20px; color: var(--ink); }
.cf-f { font: 800 1.75rem/1.05 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: normal; overflow-wrap: anywhere; }
.cf-f small { font: 650 0.8125rem/1 var(--body); letter-spacing: 0; color: var(--soft); }
.cf-f.is-word { font-size: 1.25rem; letter-spacing: -0.02em; overflow-wrap: normal; hyphens: manual; }
.cf-n { font: 500 0.75rem/1.2 var(--body); color: var(--soft); }
.cf-none { font: 600 0.8125rem/1.2 var(--body); letter-spacing: 0; color: var(--soft); }
/* The verdict: a word, ink; the better quarter's word green on its soft ground. Never red. */
.cf-v { justify-self: start; font: 650 0.75rem/1.2 var(--body); color: var(--ink); }
.cf-v.is-good { padding-block: 3px; padding-inline: 7px 8px; border-radius: var(--r-pill); background: var(--good-soft); color: var(--good); }
.cf-v.is-good::before { content: "✓ "; font-weight: 800; }
/* What a verdict was said among, when it is one energy of the class only ("parmi 14 électriques"): small, soft, under it. */
.cf-k { font: 500 0.6875rem/1.2 var(--body); color: var(--soft); }
/* Over the six, once, the class the words are said among: its own line over the card, at its right end. Set on the card's
   top edge before, it ran into the first figure's label at some widths (the site audit of 25 November 2026, finding 8). */
.cf-among { justify-self: end; margin-block: 4px 0; margin-inline: 0 2px; color: var(--soft); line-height: 16px; }
.cf-among + .cf-list { margin-top: 4px; }

/* One line of what the industry map knows, leading to the face-to-face. */
.car-kin { margin-top: 4px; }
.car-kin a { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--card); color: inherit; text-decoration: none; font: 550 0.875rem/1.25 var(--body); }
.car-kin b { font: 750 0.875rem/1.2 var(--display); font-variant-numeric: tabular-nums; }
.car-kin .ic { width: 16px; height: 16px; margin-inline-start: auto; color: var(--soft); }

/* The one act of the whole product, under the thumb on a phone: the heart of "Ma sélection" with its words (app.css
   `.hrt`): a line while off, ink once the car is in. */
.car-dock { position: fixed; z-index: 15; inset-inline-start: 0; inset-inline-end: 0; bottom: 0; display: flex; justify-content: center; gap: 8px; padding: 18px var(--pad) calc(10px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to top, var(--paper) 58%, transparent); pointer-events: none; }
.car-dock > * { pointer-events: auto; box-shadow: var(--lift-1); }
.car-dock .btn { padding-inline: 16px; white-space: nowrap; }
.car-dock-keep { flex: 1 1 auto; max-width: 340px; }
.car-dock .btn-line { background: var(--paper); }
.car-dock .btn-line[aria-pressed="true"] { background: var(--ink); }
.app:has(.car-dock) .toast { bottom: calc(var(--dock-h) + 16px + env(safe-area-inset-bottom, 0px)); }

/* A phone: the first screen holds the car, its version, its price and its six figures as far as the live page's did,
   above the act's dock: a shorter stage, a tighter rhythm. The picture's caption stands under the stage, off the car's
   reflection and clear of the 3D's hint; the room that takes was found above the make, under the price and between a
   figure's mark and its label (every car's first screen, measured against the live one at 360, 375, 390 and 412 px).
   All of it is the stylesheet's, so nothing moves after the first paint. */
@media (max-width: 999px) {
  .cc-buy .a-drive-away .answer-fig { font-size: clamp(1.75rem, 9.2vw, 2.25rem); }
  .cc-buy .a-month .answer-fig { font-size: clamp(1.5rem, 7.4vw, 1.75rem); }
  .car-hero { padding-top: 2px; }
  .car-hero-car { --make-h: 44px; }
  .car-h { gap: 0; }
  .car-make .makemark.is-logo img { width: min(150px, 100cqw - var(--switch-w)); }
  .car-make .makemark.is-word { font-size: 1.25rem; }
  .car-name { font-size: clamp(2rem, calc((100vw - 2 * var(--pad)) * 0.8 / var(--w)), 3.25rem); }
  @supports (width: 1cqw) {
    .car-name { font-size: clamp(2rem, calc(100cqw * 0.8 / var(--w)), 3.25rem); }
  }
  /* Under the name, a shorter box on a shallower ground: the room the price and the six figures take to read first. */
  .car-stagebox { aspect-ratio: 2.52 / 1; }
  /* The stage runs to the screen's two edges, and so may the pool. */
  .car-stagebox::before { height: 62%; background: radial-gradient(70% 47% at 50% 51%, var(--robe, var(--road)), transparent 100%); }
  .car-stagebox > * { --ground: calc(6% + 14px); }
  .car-len { bottom: 6%; }
  .car-shown { margin-top: -2px; }
  /* The caption is a thin line; a finger has 44 px for it, taken above and under it. */
  .car-shown .whence { position: relative; min-height: 26px; }
  .car-shown .whence::before { content: ""; position: absolute; inset: -9px 0; }
  .car-id { gap: 2px; padding-top: 0; }
  .car-what { flex-wrap: nowrap; align-items: flex-start; }
  .car-what p { row-gap: 0; }
  .car-what b { font-size: 1.0625rem; }
  .car-what span { font-size: 0.8125rem; }
  .car-what .car-energy { font-size: 0.8125rem; line-height: 1; }
  .car-switch { flex: none; }
  .car-price { margin-top: 0; }
  .car-price .price.is-big b { font-size: clamp(2rem, 9.6vw, 2.375rem); }
  .car-price .price.is-big small { font-size: 0.875rem; }
  /* A promotion: the list price struck and what it saves share the line under the price, never two lines more. */
  .car-price { column-gap: 10px; }
  .car-price > .price { display: contents; }
  .car-price > .price > b { flex: 1 0 100%; }
  .car-price .price-list { position: relative; }
  .car-id > .car-price-under { padding-bottom: 3px; }
  .car-month { min-height: 36px; }
  /* The figures, a phone's: the icon beside its label, the figure, the word under it. */
  .cf-list { margin-top: 2px; border-radius: 12px; }
  .cf { gap: 1px; padding-block: 5px 6px; padding-inline: 10px 6px; }
  /* The label flows as text beside its icon, so that a long one wraps under it rather than in a narrow column. */
  .cf-l { display: block; font-size: 0.75rem; line-height: 1.25; }
  .cf-l > .ic { display: inline-block; width: 15px; height: 15px; margin-inline-end: 4px; vertical-align: -3px; }
  .cf-l > span { display: inline; }
  .cf-f { font-size: clamp(1.1875rem, 5.3vw, 1.3125rem); letter-spacing: -0.025em; }
  .cf-f small, .cf-n { font-size: 0.75rem; }
  .cf-f .cf-none { font-size: 0.75rem; }
  .cf-v { font-size: 0.75rem; }
  .cf-v.is-good { padding-block: 2px; padding-inline: 5px 6px; }
  .cf-among { margin-block: 2px 0; margin-inline: 0 2px; font-size: 0.75rem; line-height: 14px; }
  .cf-among + .cf-list { margin-top: 3px; }
  .cf-f.is-word { font-size: clamp(0.875rem, 4.1vw, 1rem); }
}
/* The narrowest phones: the versions' control keeps its word and gives the version's own words a little more of the
   line; the engine's name is set a step smaller, and the server's two measures with it. */
@media (max-width: 380px) {
  .cf { padding-inline: 8px 4px; }
  .cf-v { letter-spacing: -0.01em; }
  .car-what .car-switch { padding-block: 0; padding-inline: 12px 8px; }
  .car-what .car-switch b { font-size: 0.8125rem; }
  .car-what p { --kr: 0.93; }
  .car-what .car-rest-w { font-size: 0.75rem; }
}

/* ── The bar of the sections ─────────────────────────────────────────────────────────────────────────── */

/* Under the app's bar once the head is passed: the six sections as links, each its sign over its word (beside it with
   room), all in view on a phone; the one read is painted, in ink, on the stroke of road paint, as the place one is in
   is everywhere in the app. With room the car's name and price and the two acts join them once the bar is stuck. */
.car-nav { position: sticky; z-index: 6; top: var(--bar-h); margin-top: 8px; background: var(--paper); border-block: 1px solid var(--line); container-type: scroll-state; }
.car-nav-in { display: flex; align-items: center; gap: 12px; max-width: 1560px; height: var(--nav-h); margin: 0 auto; padding: 0 var(--pad); }
.car-nav-car, .car-nav-acts { display: none; }
/* The bar's heart is the heart alone, round: the head's dock says its words, a screen reader hears them here. */
.car-nav-keep.is-small { width: 44px; height: 44px; min-height: 0; padding: 0; border-radius: 50%; grid-template-columns: auto; }
.car-nav-keep :is(.hrt-off, .hrt-on) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.car-nav-links { display: flex; flex: 1 1 auto; justify-content: space-between; gap: 0; min-width: 0; height: 100%; margin: 0 calc(var(--pad) * -1); padding: 0 calc(var(--pad) - 12px); list-style: none; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.car-nav-links::-webkit-scrollbar { display: none; }
.car-nav-links li { flex: 1 0 auto; display: flex; justify-content: center; min-width: 44px; }
/* On a phone the words alone, sliding sideways, the one read underlined (the owner, 24 November 2026: no icon over a
   word); with room each icon stands left of its word. */
.car-nav-links a { position: relative; flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 12px; color: var(--soft); text-decoration: none; font: 650 0.875rem/1 var(--body); letter-spacing: -0.005em; white-space: nowrap; transition: color var(--quick); }
.car-nav-links a > .ic { display: none; width: 18px; height: 18px; }
.car-nav-links a[aria-current] { color: var(--ink); }
.car-nav-links a[aria-current]::after { content: ""; position: absolute; inset-inline-start: 12px; inset-inline-end: 12px; bottom: 4px; height: 4px; border-radius: 2px; background: var(--paint); box-shadow: 0 0 0 1.5px var(--paint-edge); transform: skewX(-20deg); }
.car-nav :is(a, button) { scroll-margin: calc(-1 * (var(--bar-h) + var(--nav-h) + 12px)) 0 calc(var(--dock-h) + 12px); }
/* A phone reading a car's sections (docs/decisions/2026-11-24-phone-friction.md, F04): once the bar of the sections
   sticks (`is-stuck`, app.ts) the trail slides under the app's bar and the sections take its row, and the act's dock
   leaves the foot of the screen: the heart stands in the bar, at the right of the sections, its words kept for a screen
   reader. Nothing floats over the figures any more (the site audit of 25 November 2026, finding 3: the round heart hid
   "Carte grise 2 305 dh" and the card's "i"). 104 px stay at the top, nothing at the foot. */
@media (max-width: 959px) {
  :root:has(.car-nav.is-stuck) { --bar-h: calc(56px + env(safe-area-inset-top, 0px)); }
  body > .trail { transition: translate var(--quick) var(--ease), visibility var(--quick); }
  body:has(.car-nav.is-stuck) > .trail { translate: 0 -100%; visibility: hidden; }
  .car-dock { transition: translate var(--quick) var(--ease), visibility var(--quick); }
  .app:has(.car-nav.is-stuck) .car-dock { translate: 0 100%; visibility: hidden; }
  .car-nav.is-stuck .car-nav-links { margin-inline-end: 0; }
  .car-nav.is-stuck .car-nav-acts { display: flex; flex: none; align-items: center; margin-inline-end: -6px; }
  .car-nav-acts .car-nav-switch { display: none; }
}
/* Six names on the narrowest phones: the bar goes nearer the screen's edges, so that its two long names keep a gap
   between them (2.8 px at 360 px before; 8 now); under 340 px the type is a step smaller, and no two names touch. */
@media (max-width: 380px) { .car-nav-links a { padding-inline: 10px; } .car-nav-links a[aria-current]::after { inset-inline-start: 10px; inset-inline-end: 10px; } }

/* ── The sections ────────────────────────────────────────────────────────────────────────────────────── */

.cs { padding: 30px 0 32px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--bar-h) + var(--nav-h)); }
#concurrentes { scroll-margin-top: calc(var(--bar-h) + var(--nav-h) + 64px); }
.cs-old { display: block; height: 0; scroll-margin-top: calc(var(--bar-h) + var(--nav-h) + 8px); }
.cs-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 12px; }
/* A section's head: its sign, then its name; where it is one a buyer is glad to read, one figure of where the car
   stands among its competitors (src/app/car/tint.ts, `standingOf`). */
/* A section's name and its key figure on one baseline ("Versions 4"): no icon (the owner, 24 November 2026). */
.cs-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; font: 800 1.75rem/1.05 var(--display); letter-spacing: -0.03em; }
.cs-key { font: 800 1.75rem/1.05 var(--display); letter-spacing: -0.02em; color: var(--soft); font-variant-numeric: tabular-nums; }
/* The standing wraps inside the head's column rather than run under the section beside it (the owner, 26 November 2026). */
.cs-stand { max-width: 100%; vertical-align: 1px; white-space: normal; text-wrap: balance; border-radius: 13px; padding-block: 3px; }
.cs-extra { font: 500 0.875rem/1.3 var(--body); color: var(--soft); }
.cs-extra b { font: 800 1.125rem/1 var(--display); color: var(--ink); }
.cs-soft { color: var(--soft); }
.cs-empty { font: 500 0.9375rem/1.4 var(--body); color: var(--soft); }
/* A version whose equipment is not communicated: its versions that list some, each its count and its price's gap. */
.ce-others-h { margin: 14px 0 0; font: 500 0.875rem/1.35 var(--body); }
.ce-others { margin: 6px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.ce-others li { border-bottom: 1px solid var(--line); }
.ce-others a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-height: 44px; padding: 11px 0 9px; color: inherit; text-decoration: none; font: 500 0.875rem/1.35 var(--body); }
.ce-others-n { font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.ce-others b { font: 750 0.9375rem/1.2 var(--display); }
.ce-others-gap { margin-inline-start: auto; font-weight: 650; }

/* A line that needs a word: the energy of a year, the version above, the family. */
.cs-line { margin-top: 14px; font: 500 0.875rem/1.35 var(--body); }
.cs-line > a { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; min-height: 44px; color: inherit; text-decoration: none; }
.cs-line > a > span:first-child, .cs-line.is-plain > span:first-child { font-weight: 650; }
.cs-line b { font: 750 0.9375rem/1.2 var(--display); font-variant-numeric: tabular-nums; }
.cs-line .ic { width: 16px; height: 16px; color: var(--soft); }
.cs-line.is-plain a { color: inherit; text-underline-offset: 3px; }
/* A name in a line of names: its target 44 px high, the line's own height unchanged (D22). */
.cf-also a { position: relative; display: inline-block; padding-block: 3px; }
.cf-also a::after { content: ""; position: absolute; inset: -10px -2px; }

/* A fold: its summary is one line with what it says, and the word that opens it. */
.cs-fold { margin-top: 14px; border-block: 1px solid var(--line); }
.cs-fold > summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; min-height: 44px; padding: 4px 0; cursor: pointer; list-style: none; }
.cs-fold > summary::-webkit-details-marker { display: none; }
.cs-line-in { font: 500 0.875rem/1.3 var(--body); }
.cs-line-in > span:first-child { font-weight: 650; }
.cs-line-in b { font: 700 0.9375rem/1.2 var(--display); }
.cs-sign::after { content: "+"; font: 500 1.125rem/1 var(--body); color: var(--soft); }
.cs-fold[open] > summary .cs-sign::after { content: "−"; }
.cs-more { display: inline-flex; align-items: center; gap: 6px; font: 600 0.8125rem/1 var(--body); color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
.cs-fold[open] > summary .cs-more { text-decoration: none; }
.cs-fold[open] { padding-bottom: 16px; }

.cd-place .a-park { max-width: 560px; margin: 8px auto 0; }


/* Équipements (src/app/car/equip.ts): an item is a control that answers who lists it and how to get it on this car.
   One row for every item wherever it stands: its mark (a tick when its sheet lists it, an empty ring when not: a
   shape, not a colour alone), its name, what it carries (a count drawn), the sign that it opens. */
.ei-list { margin: 0; padding: 0; list-style: none; }
.ei-list > li { border-bottom: 1px solid var(--line); }
.ei-list > li > :first-child { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto 14px; align-items: center; gap: 10px; min-height: 44px; padding: 6px 0; color: inherit; text-decoration: none; font: 550 0.9375rem/1.25 var(--body); }
/* Its mark: a tick when its sheet lists it, an empty ring when not (a shape, not a colour alone); its sign, + or −. */
.ei-list > li > :first-child::before { content: ""; justify-self: center; width: 5px; height: 10px; margin-top: -3px; border: solid var(--ink); border-width: 0 2px 2px 0; rotate: 45deg; }
.ei-list > .is-off > :first-child::before { width: 10px; height: 10px; margin: 0; border: 1.5px solid var(--edge); border-radius: 50%; rotate: none; }
.ei-list > li > a::after { content: "+"; font: 500 1.0625rem/1 var(--body); color: var(--soft); }
.ei-list > li > a[aria-expanded="true"]::after { content: "−"; color: var(--ink); }
.ei-list > .is-off > :first-child { color: var(--soft); font-weight: 500; }
.ei-list > .is-plain > span { grid-template-columns: 18px minmax(0, 1fr); }
/* A count drawn, the same in every place: the count in words at the row's end ("3 sur 15"), its bar under the row's
   name, from the name's left edge to the count's right one (the owner, 24 November 2026: a bar and "27/35" far from
   their name said nothing). The bar's ink is the share counted; its track the rest. */
.em { grid-area: count; justify-self: end; font: 500 0.8125rem/1 var(--body); color: var(--soft); white-space: nowrap; }
.em b { font: 750 0.9375rem/1 var(--display); color: var(--ink); }
.em-bar { grid-area: bar; display: block; height: 4px; margin: 1px 0 2px; border-radius: 2px; background: linear-gradient(to var(--line-end), var(--soft) calc(var(--k) / var(--n) * 100%), var(--line) 0); }
.eip-count > .em-bar { grid-area: auto; }
.ei-list > li > a:has(.em) { grid-template-areas: "pic name count sign" ". bar bar ."; row-gap: 6px; padding-block: 10px 9px; }
.ei-list > li > a:has(.em) > .pi { grid-area: pic; }
.ei-list > li > a:has(.em) > .ei-n { grid-area: name; }
.ei-list > li > a:has(.em)::after { grid-area: sign; }
/* What a touch shows, in place, under the item: who lists it, and how to have it on this car. */
.eip { padding-block: 2px 14px; padding-inline: 28px 0; }
.eip[hidden] { display: none; }
.eip[data-loading] { min-height: 40px; }
/* While its panel is fetched, one quiet line in its place: the wait is said, nothing jumps (no spinner, no skeleton). */
.eip-wait { padding: 10px 0; font: 500 0.8125rem/1.3 var(--body); color: var(--soft); }
.eip-in { display: grid; gap: 12px; }
.eip-count { display: grid; gap: 6px; max-width: 320px; margin: 4px 0 6px; font: 500 0.8125rem/1.3 var(--body); color: var(--soft); }
.eip-cars { margin: 0; padding: 0; list-style: none; }
.eip-cars a { display: flex; align-items: center; gap: 2px 12px; min-height: 44px; padding: 6px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; font: 500 0.875rem/1.3 var(--body); }
.eip-cars b { font-weight: 650; }
.eip-cars .num { margin-inline-start: auto; color: var(--soft); }
.eip-n { display: grid; flex: 1 1 auto; min-width: 0; }
.eip-kin { font: 600 0.75rem/1.2 var(--label); letter-spacing: 0.04em; text-transform: uppercase; color: var(--soft); }
.eip-more { margin-top: 6px; font: 500 0.8125rem/1.3 var(--body); color: var(--soft); }
.eip-how p:last-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: 4px; font: 550 0.875rem/1.3 var(--body); }
.eip-how a { display: inline-flex; align-items: center; min-height: 32px; color: inherit; text-underline-offset: 3px; }
.eip-how b { font: 750 0.9375rem/1.2 var(--display); }
/* Face to its relative of the same mechanics: the relative, the price gap, what each sheet lists alone. */
.ek { margin-bottom: 14px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--card); }
.ek-head { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.ek-who { display: grid; gap: 2px; flex: 1 1 auto; min-width: 0; }
.ek-who b { font: 750 1.0625rem/1.2 var(--display); }
.ek-what { font: 550 0.75rem/1.2 var(--body); color: var(--soft); }
.ek-gap { font: 800 1.125rem/1 var(--display); }
.ek-head .ic { width: 18px; height: 18px; color: var(--soft); }
.ek-cols { display: grid; padding: 0 14px; }
.ek-side + .ek-side { border-top: 1px solid var(--line); }
.ek-h { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; list-style: none; font: 550 0.875rem/1.2 var(--body); }
.ek-h::-webkit-details-marker { display: none; }
.ek-h > span:first-child { flex: 1 1 auto; }
.ek-h b { font: 750 1rem/1 var(--display); }
.ek-side[open] .eg-sign::after { content: "−"; color: var(--ink); }
.ek-side.is-none .ek-h { cursor: default; color: var(--soft); }
.ek-side.is-none .eg-sign::after { content: none; }
.ek-side > .ei-list { padding-bottom: 6px; }
.ek .ei-list > li:last-child { border-bottom: 0; }
/* Face to its direct competitors: its heading, then two short lists, each its own heading and each line its count drawn. */
.ea { margin-bottom: 14px; }
.ea-side { margin-top: 14px; }
/* Everything its sheet lists: its heading, then each group a row, its icon, its name, its count drawn under it. */
.eg { border-bottom: 1px solid var(--line); }
.eg-h { display: grid; grid-template-columns: minmax(0, 1fr) auto 14px; grid-template-areas: "name count sign" "bar bar ."; align-items: center; gap: 6px 12px; min-height: 56px; padding: 10px 0 9px; cursor: pointer; list-style: none; }
.eg-h:has(.eg-name > .pi) > .em-bar { margin-inline-start: 28px; }
.eg-sign { grid-area: sign; }
.eg-h::-webkit-details-marker { display: none; }
.eg-name { grid-area: name; font: 700 0.9375rem/1.2 var(--body); }
.eg-sign::after { content: "+"; font: 500 1.125rem/1 var(--body); color: var(--soft); }
.eg[open] .eg-sign::after { content: "−"; color: var(--ink); }
.eg.is-empty .eg-name { color: var(--soft); }
.eg > .ei-list { padding-block: 0 10px; padding-inline: 12px 0; }
.eg > .ei-list > li > :first-child { min-height: 44px; font-size: 0.875rem; }
.ce-note { margin-top: 8px; font: 500 0.75rem/1.3 var(--body); }
@media (max-width: 639px) {
  .ei-list > li > :first-child { gap: 8px; min-height: 44px; padding: 4px 0; }
  /* The groups one under the other, each its name and its count drawn on one line: opened, a group's line keeps its
     box and its items come under it (D17: a tile that took the whole width when opened moved under the finger). */
  .eg-h { min-height: 46px; }
  .eg > .ei-list { padding-inline-start: 4px; }
  .ek-head { min-height: 44px; padding: 6px 14px; }
  .ek { margin-bottom: 10px; }
  .ea { margin-bottom: 12px; }
}
@media (min-width: 640px) {
  .eip-in { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; }
}
@media (min-width: 1000px) {
  /* With room: the groups one under the other, as on a phone (a group opened keeps its line in place); its items in two columns. */
  .eg[open] > .ei-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; align-items: start; }
  .eg[open] > .ei-list > li:has(a[aria-expanded="true"]) { grid-column: 1 / -1; }
  /* The short lists face to its competitors: each line no wider than a buyer reads, the two lists side by side. */
  .ea { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; column-gap: 40px; }
  .ea > .lh { grid-column: 1 / -1; }
}
@media (hover: hover) {
  .ei-list > li > a:hover, .eg-h:hover .eg-name { text-decoration: underline; text-underline-offset: 3px; }
  .ek-head:hover .ek-who b, .eip-cars a:hover b { text-decoration: underline; text-underline-offset: 3px; }
}

/* Versions (the owner, 24 November 2026: "overwhelming text, tiny unclear pictures"): each engine group its one picture
   at a real size and its line; each version a row of 64 px, its name and its price on the first line, what it adds as
   chips and its gap to this page's version as a signed chip on the second; this version marked by the paint stroke at
   its left; the whole row the link (its name's ::after), the fold of what it adds above it. The panel the head's control
   opens is a copy of this list (`.cvp`): the layout reads its own width (a container), never the screen's. */
.cv { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; container: cv / inline-size; }
.cv-g { min-width: 0; }
.cv-gh { display: flex; align-items: flex-end; gap: 14px; padding: 0 0 10px; border-bottom: 1px solid var(--edge); }
.cv-gpic { flex: none; display: flex; justify-content: center; align-items: flex-end; width: 124px; min-height: 48px; }
.cv-gpic .carfig { display: block; }
.cv-gl { display: grid; gap: 3px; min-width: 0; padding-bottom: 2px; }
.cv-gl b { font: 700 0.9375rem/1.25 var(--display); letter-spacing: -0.01em; text-wrap: balance; }
.cv-gl span { font: 500 0.8125rem/1.25 var(--body); color: var(--soft); }
.cv-list { margin: 0; padding: 0; list-style: none; }
.cv-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "name gap price" "adds adds adds"; align-items: center; gap: 6px 10px; min-height: 64px; padding-block: 10px; padding-inline: 16px 0; border-bottom: 1px solid var(--line); }
.cv-row.is-here::before { content: ""; position: absolute; inset-inline-start: 2px; top: 12px; bottom: 12px; width: 5px; border-radius: 3px; background: var(--paint); box-shadow: 0 0 0 1.5px var(--paint-edge); transform: skewX(-8deg); }
.cv-link { grid-area: name; min-width: 0; color: inherit; text-decoration: none; }
a.cv-link::after { content: ""; position: absolute; inset: 0; }
a.cv-link:focus-visible { outline: 0; }
a.cv-link:focus-visible::after { outline: 2px solid var(--ink); outline-offset: -2px; border-radius: var(--r-s); }
.cv-name { font: 700 1.0625rem/1.2 var(--display); letter-spacing: -0.012em; }
.cv-name::first-letter { text-transform: uppercase; }
.cv-link mark { padding: 0.2em 0.45em; font: 650 0.75rem/1 var(--body); white-space: nowrap; vertical-align: 2px; }
.cv-price { grid-area: price; justify-self: end; text-align: end; }
.cv-price .price { justify-content: flex-end; }
.cv-price .price b { font: 800 1.0625rem/1.2 var(--display); letter-spacing: -0.015em; }
.cv-gap { grid-area: gap; justify-self: end; }
.cv-adds { grid-area: adds; min-width: 0; }
.cv-adds .gap { max-width: 100%; min-height: 24px; padding: 2px 9px; font: 600 0.75rem/1.2 var(--body); letter-spacing: 0; }
.cv-adds .gap.is-flat { color: var(--ink); }
.cv-add { display: inline-flex; align-items: center; gap: 5px; }
.cv-add > .pi { flex: none; margin: -2px 0; }
.cv-adds .gap > span[aria-hidden] { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.cv-adds-fold > summary { position: relative; z-index: 1; display: flex; padding-block: 10px; margin-block: -10px; flex-wrap: wrap; align-items: center; gap: 6px; cursor: pointer; list-style: none; }
.cv-adds-fold > summary::-webkit-details-marker { display: none; }
.cv-more { position: relative; display: inline-flex; align-items: center; gap: 4px; min-height: 24px; padding: 2px 4px; font: 650 0.75rem/1.2 var(--body); color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; white-space: nowrap; }
.cv-more::after { content: ""; position: absolute; inset: -10px -6px; }
.cv-adds-fold[open] .cv-more { text-decoration-style: dotted; color: var(--soft); }
.cv-rest { position: relative; z-index: 1; margin-top: 6px; }
.cv-compare { margin-top: 18px; }
.cv-compare .btn { min-height: 44px; padding-inline: 18px 14px; font-size: 0.875rem; }
.cv-compare .btn .ic { width: 16px; height: 16px; color: inherit; }
/* With room (the section's own width, not the panel's): one line a version, its name, what it adds, its price, its gap. */
@container cv (min-width: 640px) {
  .cv-gh { gap: 20px; }
  .cv-gpic { width: 168px; }
  .cv-gpic .carfig { --mm: 0.034px; }
  .cv-gl b { font-size: 1.0625rem; }
  /* On their first line's baseline: what a version adds, opened, grows the row downwards and moves nothing. */
  .cv-row { grid-template-columns: minmax(150px, 0.9fr) minmax(0, 2fr) auto 128px; grid-template-areas: "name adds price gap"; align-items: baseline; gap: 6px 20px; min-height: 64px; padding-block: 20px 14px; padding-inline-start: 18px; }
  .cv-gap { justify-self: end; }
}
@media (hover: hover) {
  .cv-row:has(> a.cv-link:hover) .cv-name { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
  .cv-row:has(> a.cv-link:hover) { background: color-mix(in srgb, var(--ink) 3%, transparent); }
  .cv-adds-fold > summary:hover .cv-more { color: var(--soft); }
}
/* The other names of its family: a card each, its picture, its name, its first price. */
.cv-family { margin-top: 18px; }
.cv-family ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.cv-family :is(a, li > span) { --mm: 0.022px; display: flex; align-items: center; gap: 12px; min-height: 64px; padding-block: 8px; padding-inline: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--card); color: inherit; text-decoration: none; }
.cv-family-pic { flex: none; }
.cv-family-n { display: grid; gap: 2px; flex: 1 1 auto; min-width: 0; font: 500 0.8125rem/1.25 var(--body); color: var(--soft); }
.cv-family-n b { font: 700 0.9375rem/1.2 var(--display); color: var(--ink); }
.cv-family .ic { flex: none; width: 18px; height: 18px; color: var(--soft); }
@media (hover: hover) {
  .cv-family a:hover { border-color: var(--edge); }
  .cv-family a:hover b { text-decoration: underline; text-underline-offset: 3px; }
}


/* Coût: two halves, what is paid to buy it and what it costs to drive; the answers of before re-housed without their
   questions (a screen reader keeps them), then the engine's figures for a distance. */
/* Each half on a card of its own, as the competitors' card: what is paid to have it, what it takes to drive it. Inside,
   one figure leads; the rest is quieter. */
.cc { display: grid; gap: 28px; }
.cc-half { display: grid; align-content: start; gap: 10px; min-width: 0; }
/* With room for it: each half on its card (on a phone its three parts need the card's gutters). */
@media (min-width: 640px) {
  .cc { gap: 20px; }
  .cc-half { padding: 22px 24px 16px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--card); box-shadow: var(--lift-1); }
}
/* "Équipements": its two lists, each on such a card. */
:is(.ea, .eg-list) { padding: 16px 16px 6px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--card); box-shadow: var(--lift-1); }
.eg-list .eg:last-child { border-bottom: 0; }
.cc-h { font: 700 1rem/1.2 var(--body); padding-bottom: 6px; border-bottom: 1.5px solid var(--ink); }
/* The two heroes of what it costs to buy: a quiet label over the figure, which is the largest thing of the section. */
.cc-h.is-hero { padding: 0; border: 0; font: 650 0.75rem/1.2 var(--label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); }
.cc-h.is-hero + .answers { margin-top: -6px; }
.cc-buy .answers + .cc-h.is-hero { margin-top: 14px; }
.cc-buy .a-drive-away .answer-fig { font-size: 2.75rem; letter-spacing: -0.035em; }
.cc-buy .a-month .answer-fig { font-size: 2.125rem; letter-spacing: -0.03em; }
.cc-buy .answer-fig .a-fig-pre { font-size: 0.875rem; letter-spacing: 0; }
/* Under each of the two figures, its parts, quiet (the owner, 24 November 2026: "too many equal-weight numbers"): small
   labels in soft, the amounts a step under the figure they add up to, no rule between them. */
.cc .fact-l > .ic { flex: none; width: 15px; height: 15px; color: var(--soft); }
.cc .fact-l { font-size: 0.75rem; color: var(--soft); }
.cc .fact-f { font: 650 0.9375rem/1.2 var(--display); letter-spacing: -0.005em; }
.cc-buy .a-facts > .fact { border-inline-start-color: transparent; }
/* A word the card explains when it opens: a small "?" beside it (the whole line opens it). */
.fact-q { flex: none; display: inline-grid; place-items: center; width: 14px; height: 14px; margin-inline-start: 2px; border: 1.2px solid currentColor; border-radius: 50%; font: 700 0.75rem/1 var(--body); font-style: normal; }
.a-help { display: grid; gap: 8px; margin: 4px 0 14px; padding: 12px 14px; border-radius: var(--r-m); background: var(--sunk); font: 450 0.84375rem/1.4 var(--body); }
.a-help dt { font-weight: 700; }
.a-help dd { margin: 1px 0 0; color: var(--soft); }
/* "À l'usage" leads with one figure, the energy of a year at the settings' distance; under it what it rests on. */
.cc-lead { display: grid; gap: 2px; margin-top: -6px; }
.cc-lead-l { display: flex; align-items: center; gap: 6px; font: 650 0.875rem/1.2 var(--body); color: var(--soft); }
.cc-lead-l > .ic { width: 18px; height: 18px; color: var(--ink); }
.cc-lead-f b { font: 800 2.125rem/1.05 var(--display); letter-spacing: -0.03em; }
.cc-lead-f small { font: 600 0.875rem/1 var(--body); color: var(--soft); }
.cc-lead-n { font: 500 0.8125rem/1.3 var(--body); color: var(--soft); }
.cc-quiet .cc-cell dd b { font: 700 1rem/1.2 var(--display); }
.cc-quiet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cc-trips-said { margin: 2px 0 6px; font: 500 0.75rem/1.3 var(--body); }
.cc-trips > summary .ic { width: 18px; height: 18px; }
.cc-trips > summary .cs-line-in { display: inline-flex; align-items: center; gap: 8px; }
/* "Consommation", the line under the lead: the icon, the word, the figure, its word among its class. */
.cc-cons { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 4px 0 10px; border-bottom: 1px solid var(--line); }
.cc-cons > .ic { flex: none; width: 18px; height: 18px; }
.cc-cons-l { font: 600 0.875rem/1.2 var(--body); }
.cc-cons-l small { font-weight: 500; color: var(--soft); }
.cc-cons > b { margin-inline-start: auto; font: 750 1.125rem/1.1 var(--display); letter-spacing: -0.015em; }
.cc-cons > b small { font: 600 0.8125rem/1 var(--body); letter-spacing: 0; color: var(--soft); }
.cc-cell dt { display: flex; align-items: center; flex-wrap: wrap; gap: 0 5px; }
.cc-cell dt > .ic { flex: none; width: 16px; height: 16px; color: var(--ink); }
.cc-sub { margin-top: 4px; }
.cc .answers { gap: 0; }
.cc .answer { background: none; box-shadow: none; border: 0; border-radius: 0; padding: 0; }
/* A flat answer's keyboard ring stands clear of its figures, rounded like the card it sits in. */
.cc .answer:has(> .a-fold > summary:focus-visible) { box-shadow: none; outline: 2.5px solid var(--ink); outline-offset: 10px; border-radius: var(--r-m); }
.cc .answer-q { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cc .a-fold-head { padding: 0; }
.cc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-block: 1px solid var(--line); }
.cc-cell { display: grid; align-content: start; gap: 3px; min-width: 0; padding-block: 9px 10px; padding-inline: 0 10px; }
.cc-cell + .cc-cell { padding-inline-start: 12px; border-inline-start: 1px solid var(--line); }
.cc-cell dt { font: 550 0.75rem/1.25 var(--body); color: var(--soft); }
.cc-cell dd { margin: 0; }
.cc-cell dd b { font: 800 1.125rem/1.15 var(--display); letter-spacing: -0.015em; }
.cc-cell.is-lead dd b { font-size: 1.625rem; letter-spacing: -0.025em; }
.cc-cell dd small { font: 600 0.75rem/1 var(--body); color: var(--soft); white-space: nowrap; }
/* The narrowest phones: a unit ("par an") under its figure, never beside it past the cell (D5). */
@media (max-width: 399px) {
  .cc-cell dd small { display: block; margin-top: 2px; }
  .cc-cell { padding-inline-end: 6px; }
  .cc-cell + .cc-cell { padding-inline-start: 8px; }
}
/* The two figures of the purchase stand clear of the fold's round sign, a seven-figure price too (D4). */
.cc .a-fold > summary .a-figline { padding-inline-end: 46px; }
@media (max-width: 479px) {
  .cc .answer-fig .a-fig-pre { flex-basis: 100%; }
}
/* A trip: a road sign with its two cities (ink, the paper's letters), under it the road at the trip's length against
   the longest one, its centre line in road paint; its cost large at the right. A row opens on the same trip by its
   direct competitors, each its cost and its signed gap, a link to the two face to face. */
.cc-trips > ul { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.cc-trip { border-bottom: 1px solid var(--line); }
.cc-trip-h { display: grid; grid-template-columns: minmax(0, 1fr) auto 18px; grid-template-areas: "route cost sign" "note note note"; align-items: center; gap: 2px 12px; min-height: 56px; padding: 9px 0; cursor: pointer; list-style: none; }
.cc-trip.is-plain .cc-trip-h { grid-template-columns: minmax(0, 1fr) auto; cursor: default; }
.cc-trip-h::-webkit-details-marker { display: none; }
.cc-route { grid-area: route; display: grid; gap: 6px; min-width: 0; }
.cc-sign { justify-self: start; display: inline-flex; align-items: center; max-width: 100%; padding-block: 5px; padding-inline: 9px 10px; border-radius: 7px; background: var(--ink); color: var(--paper); font: 700 0.8125rem/1.1 var(--body); letter-spacing: 0.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: inset 0 0 0 1.5px var(--ink), inset 0 0 0 3px var(--paper); }
.cc-sign .cc-to { margin: 0 6px; font-weight: 800; opacity: 0.75; }
/* The arrow between two cities points from the first to the second: right to left, it turns (an arrow is not mirrored by
   the text's own rules). */
.cc-sign .cc-to:dir(rtl) { display: inline-block; scale: -1 1; }
.cc-way { display: flex; align-items: center; gap: 8px; min-width: 0; }
.cc-road { position: relative; flex: none; width: calc(var(--k) * min(160px, 45%)); min-width: 12px; height: 6px; border-radius: 3px; background: var(--edge); }
.cc-road::after { content: ""; position: absolute; inset-inline-start: 3px; inset-inline-end: 3px; top: 2px; height: 2px; background: linear-gradient(to right, var(--paint) 6px, transparent 6px) 0 0 / 10px 100% repeat-x; }
.cc-km { font: 600 0.75rem/1 var(--body); color: var(--soft); white-space: nowrap; }
.cc-cost { grid-area: cost; justify-self: end; font: 800 1.25rem/1.1 var(--display); letter-spacing: -0.015em; }
.cc-trip-h > .cs-sign { grid-area: sign; justify-self: end; }
.cc-trip details[open] > .cc-trip-h .cs-sign::after { content: "−"; }
.cc-trip-h > small { grid-area: note; font: 500 0.75rem/1.2 var(--body); }
.cc-trip-h > small.is-good { color: var(--good); }
.cc-trip-vs-h { margin: 2px 0 4px; }
.cc-trip-vs { margin: 0 0 12px; padding: 0; list-style: none; }
.cc-trip-vs a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 4px 10px; min-height: 44px; padding: 6px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; font: 500 0.8125rem/1.3 var(--body); }
.cc-trip-vs a > span:nth-child(2) b { font-weight: 650; }
.cc-trip-vs a > b { font: 750 0.9375rem/1.2 var(--display); }
@media (hover: hover) {
  .cc-trip-h:hover .cc-cost, .cc-trip-vs a:hover > span:nth-child(2) b { text-decoration: underline; text-underline-offset: 3px; }
}
.cc-home { display: grid; gap: 6px; }
.cc-full { font: 500 0.875rem/1.35 var(--body); }
.cc-full > span:first-child { font-weight: 650; }
.cc-full b { font: 750 0.9375rem/1.2 var(--display); }

/* "Chaque mois" (src/app/car/month.ts; F68): the whole month, one figure, one bar of its parts in the slabs' tokens, its
   legend, the plan's two ends. A part set aside keeps its place, outlined: nothing moves. Its tooltip floats above the
   bar, over the figure, and never pushes anything. */
.cm { grid-column: 1 / -1; display: grid; gap: 14px; min-width: 0; }
.cm .is-credit { --seg: var(--s-financing); }
.cm .is-energy { --seg: var(--s-fuel); }
.cm .is-road { --seg: var(--s-road); }
.cm-l { display: flex; align-items: center; gap: 6px; font: 650 0.75rem/1.2 var(--label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); }
.cm-l > .ic { width: 16px; height: 16px; color: var(--ink); }
.cm-fig { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.cm-approx { font: 700 1.625rem/1 var(--display); color: var(--soft); }
.cm-fig b { font: 800 clamp(2.5rem, 12.5vw, 3.375rem)/1 var(--display); letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.cm-fig small { font: 600 0.9375rem/1 var(--body); color: var(--soft); white-space: nowrap; }
.cm-note { margin-top: 6px; font: 500 0.8125rem/1.35 var(--body); color: var(--soft); }
.cm-chart { position: relative; }
.cm-bar { display: flex; gap: 3px; height: 30px; }
.cm-seg { flex: var(--g, 0) 1 0; min-width: var(--seg-min, 8px); height: 100%; margin: 0; padding: 0; border: 0; border-radius: 7px; background: var(--seg); cursor: pointer;
  transition: flex-grow var(--settle) var(--ease), background-color var(--quick), box-shadow var(--quick), transform var(--quick) var(--ease); }
.cm-seg.is-nil { display: none; }
.cm-seg[aria-pressed="false"] { background: transparent; box-shadow: inset 0 0 0 2px var(--seg); }
.cm-seg:is(.is-none, .is-open) { flex: 0 0 48px; cursor: help; background: repeating-linear-gradient(135deg, var(--edge) 0 1.5px, transparent 1.5px 6px); box-shadow: inset 0 0 0 1px var(--edge); }
.cm-seg.is-lit { transform: scaleY(1.14); }
.cm-seg:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cm-tip { position: absolute; left: 0; bottom: calc(100% + 12px); z-index: 4; display: grid; gap: 1px; width: max-content; max-width: min(260px, 100%); padding: 9px 12px 10px;
  border-radius: var(--r-m); background: var(--ink); color: var(--paper); box-shadow: var(--lift-2); opacity: 0; pointer-events: none;
  transform: translate(var(--x, 0px), 4px); transition: opacity 90ms linear, transform var(--quick) var(--ease); }
.cm-tip.is-on { opacity: 1; transform: translate(var(--x, 0px), 0); }
.cm-tip::after { content: ""; position: absolute; left: var(--arrow, 50%); bottom: -5px; width: 10px; height: 10px; margin-left: -5px; rotate: 45deg; border-radius: 2px; background: inherit; }
.cm-tip b { font: 650 0.8125rem/1.25 var(--body); }
.cm-tip-f { font: 800 1.25rem/1.15 var(--display); letter-spacing: -0.015em; }
.cm-tip small { font: 500 0.75rem/1.35 var(--body); opacity: 0.8; }
.cm-tip .cm-tip-act { margin-top: 4px; font-weight: 700; opacity: 1; }
.cm-tip.is-off .cm-tip-f { text-decoration: line-through; }
.cm-keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; margin: -4px 0 0; padding: 0; list-style: none; }
.cm-key { display: grid; grid-template-columns: 12px minmax(0, 1fr); grid-template-areas: "sw n" ". f" ". w"; column-gap: 8px; align-content: start; width: 100%; min-height: 44px; margin: 0;
  padding: 6px 0; border: 0; border-radius: var(--r-s); background: none; color: inherit; font: inherit; text-align: start; }
button.cm-key { cursor: pointer; }
button.cm-key:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.cm-sw { grid-area: sw; align-self: center; width: 12px; height: 12px; border-radius: 3px; background: var(--seg); transition: background-color var(--quick), box-shadow var(--quick); }
.cm-sw:is(.is-none, .is-open) { background: repeating-linear-gradient(135deg, var(--edge) 0 1.2px, transparent 1.2px 4px); box-shadow: inset 0 0 0 1px var(--edge); }
.cm-key-n { grid-area: n; font: 600 0.8125rem/1.3 var(--body); color: var(--soft); }
.cm-key-f { grid-area: f; font: 750 1.0625rem/1.25 var(--display); letter-spacing: -0.01em; }
.cm-key.is-still .cm-key-f { font: 600 0.875rem/1.3 var(--body); color: var(--soft); }
.cm-key-w { grid-area: w; font: 500 0.75rem/1.3 var(--body); color: var(--soft); }
.is-off .cm-key-f { color: var(--soft); text-decoration: line-through; }
.is-off .cm-sw { background: transparent; box-shadow: inset 0 0 0 2px var(--seg); }
/* Two of the owner's pending decisions (src/app/options.ts; src/app/car/month.ts): the loan's line that opens "À crédit"
   (`creditLine` c), and the estimate of insurance and upkeep the visitor turns on (`upkeep` c), dashed: not a figure. */
.cm-key-more { display: grid; align-content: start; }
.cm-more { justify-self: start; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin: -10px 0 0; padding-block: 0; padding-inline: 20px 4px; border: 0; background: none; color: var(--ink); font: 650 0.8125rem/1 var(--body); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; cursor: pointer; }
.cm-more .ic { width: 14px; height: 14px; }
.cm-seg.is-est { flex: 0 0 64px; cursor: help; background: none; box-shadow: none; outline: 1.5px dashed var(--soft); outline-offset: -1.5px; }
.cm-sw.is-est { background: none; outline: 1.5px dashed var(--soft); outline-offset: -1.5px; }
.cm-key.is-est[aria-pressed="false"] .cm-key-f { color: var(--soft); }
.cm-key.is-est[aria-pressed="true"] .cm-sw { outline-color: var(--ink); }
/* `creditLine` b: "À crédit" said once, on the bar's line; under the bar only its settings, its card's head and plan aside. */
.cc-credit-set { grid-column: 1 / -1; display: grid; gap: 4px; min-width: 0; }
.cc-credit-h { font: 650 0.75rem/1.2 var(--label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); }
.cc-credit-set :is(.answer-q, .a-figline, .a-facts, .a-pic, .a-help) { display: none; }
.cm-ends { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.cm-end { display: grid; align-content: start; gap: 2px; min-width: 0; }
.cm-end-l { display: flex; align-items: center; gap: 6px; font: 600 0.75rem/1.25 var(--body); color: var(--soft); }
.cm-end-l > .ic { flex: none; width: 15px; height: 15px; color: var(--ink); }
.cm-end b { font: 750 1.0625rem/1.25 var(--display); letter-spacing: -0.01em; }
.cm-end small { font: 500 0.75rem/1.3 var(--body); color: var(--soft); }
@media (hover: hover) {
  button.cm-key:hover .cm-key-n { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
}
@media (min-width: 640px) {
  .cm { padding: 22px 24px 20px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--card); box-shadow: var(--lift-1); }
  .cm-keys { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cm-ends { grid-template-columns: repeat(2, max-content); column-gap: 48px; }
}

/* "À l'usage" leads with its month (F69), its year beside it; the distance is a control in place. A figure that moves
   with the settings shows it changed. */
.cc-lead-f { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 4px; }
.cc-lead-y { margin-inline-start: 8px; font: 650 0.875rem/1.2 var(--body); color: var(--soft); }
.cc-cell-y { display: block; margin-top: 2px; }
.cc-km { margin: 4px 0 -6px; }
.cc-km .a-knob-l { display: inline-flex; align-items: center; gap: 6px; }
.cc-km .a-knob-l > .ic { width: 15px; height: 15px; color: var(--ink); }
.cc .is-fresh { animation: cc-fresh var(--settle) var(--ease); }
@keyframes cc-fresh { from { opacity: 0.3; } }
.cc-vs { display: grid; gap: 4px; margin-top: 4px; }

/* A car among a few others on one figure (src/app/car/rank.ts): rows, the picture, the name, a bar from zero, the
   figure, the gap; this car the yellow row. Its month of energy (F69) and its price among its competitors (F74). */
.rk { display: grid; margin: 0; padding: 0; list-style: none; }
.rk-row > :is(a, .rk-in) { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; grid-template-areas: "pic n f" "pic bar gap"; align-items: center; gap: 4px 10px;
  min-height: 56px; padding: 6px 8px; border-radius: var(--r-s); color: inherit; text-decoration: none; }
.rk-row + .rk-row { border-top: 1px solid var(--line); }
.rk-row.is-here > * { background: var(--paint-soft); }
.rk-row.is-here + .rk-row, .rk-row:has(+ .rk-row.is-here) { border-color: transparent; }
.rk .pic-s { grid-area: pic; }
.rk-n { grid-area: n; min-width: 0; font: 500 0.8125rem/1.25 var(--body); overflow-wrap: anywhere; }
.rk-n b { font-weight: 650; }
.rk-bar { grid-area: bar; height: 8px; border-radius: 4px; background: var(--sunk); overflow: hidden; }
.rk-bar i { display: block; width: calc(var(--r) * 100%); height: 100%; border-radius: 4px; background: var(--edge); transition: width var(--settle) var(--ease); }
.rk-row.is-here .rk-bar i { background: var(--paint); box-shadow: inset 0 0 0 1px var(--paint-edge); }
.rk-f { grid-area: f; justify-self: end; font: 750 0.9375rem/1.2 var(--display); letter-spacing: -0.008em; white-space: nowrap; }
.rk-gap { grid-area: gap; justify-self: end; min-height: 1px; }
.rk-skip { padding-block: 3px; padding-inline: 86px 8px; border-top: 1px dashed var(--line); font: 500 0.75rem/1.2 var(--body); color: var(--soft); }
.rk-skip + .rk-row { border-top: 0; }
@media (hover: hover) {
  .rk-row > a:hover .rk-n b { text-decoration: underline; text-underline-offset: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .cm-seg, .cm-tip, .rk-bar i { transition: none; }
  .cc .is-fresh { animation: none; }
}
.cc-line { font: 500 0.875rem/1.4 var(--body); }

/* An electric car's charge (src/app/car/charging.ts): one small table, home and fast charger side by side, the window
   of 10 → 80 % its lead row; the kilometres it gives back under it; the fast column an estimate, "≈" in soft. */
.cc-ch { display: grid; gap: 8px; }
.cc-ch-t { width: 100%; border-collapse: collapse; table-layout: fixed; font: 500 0.875rem/1.3 var(--body); }
.cc-ch-t th, .cc-ch-t td { padding: 8px 0; border-bottom: 1px solid var(--line); text-align: end; vertical-align: top; }
.cc-ch-t th:first-child { width: 42%; text-align: start; }
.cc-ch-t thead th { padding: 0 0 7px; border-bottom-color: var(--edge); font: 550 0.75rem/1.25 var(--body); color: var(--soft); vertical-align: bottom; }
.cc-ch-t thead .cc-ch-h .t-label { color: var(--ink); }
.cc-ch-t tbody th { font-weight: 600; }
.cc-ch-t tbody th small { display: block; margin-top: 2px; font: 500 0.75rem/1.2 var(--body); color: var(--soft); }
.cc-ch-t td b { font: 750 0.9375rem/1.2 var(--display); white-space: nowrap; }
.cc-ch-t tr.is-window td b { font-size: 1.25rem; letter-spacing: -0.015em; }
.cc-ch-t td .cf-none { font-size: 0.75rem; }
.cc-ch-time { display: flex; justify-content: flex-end; align-items: center; gap: 3px; margin-top: 3px; font: 600 0.75rem/1.2 var(--body); color: var(--soft); white-space: nowrap; }
.cc-ch-time .ic { width: 13px; height: 13px; flex: none; }
.cc-ch-time.cf-none { font-weight: 500; white-space: normal; }
.cc-ch-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; font: 500 0.875rem/1.3 var(--body); }
.cc-ch-foot b { font: 800 1.125rem/1.15 var(--display); letter-spacing: -0.015em; }
.cc-ch-foot small { font: 500 0.75rem/1.25 var(--body); }
.cc-ch-all { position: relative; margin-top: 6px; display: inline-flex; align-items: center; gap: 2px; justify-self: start; font: 600 0.8125rem/1.2 var(--body); color: inherit; text-underline-offset: 3px; }
.cc-ch-all::after { content: ""; position: absolute; inset: -12px -4px; }
.cc-ch-all .ic { width: 16px; height: 16px; }

/* What it saves against its thermal direct competitors: a line each, a link to the two cars' comparison; four figures
   in a row with room, two by two in a narrow column. */
.cc-vs { display: grid; gap: 6px; container-type: inline-size; }
.cc-vs-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.cc-vs-line { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 10px; padding: 10px 0 11px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.cc-vs-line:hover .cc-vs-name b { text-decoration: underline; text-underline-offset: 3px; }
.cc-vs-pic { grid-column: 1; grid-row: 1 / span 2; align-self: start; padding-top: 2px; }
.cc-vs-name { grid-column: 2; font: 500 0.8125rem/1.3 var(--body); }
.cc-vs-name b { font: 700 0.9375rem/1.2 var(--body); }
.cc-vs-fuel { display: inline-block; padding: 1px 6px; border: 1px solid var(--line); border-radius: var(--r-s); font: 600 0.75rem/1.3 var(--body); color: var(--soft); white-space: nowrap; }
.cc-vs-go { grid-column: 3; grid-row: 1 / span 2; align-self: center; color: var(--soft); }
.cc-vs-go .ic { width: 18px; height: 18px; }
.cc-vs-figs { grid-column: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 12px; }
.cc-vs-fig { display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; min-width: 0; }
.cc-vs-fig small { font: 550 0.75rem/1.2 var(--body); color: var(--soft); }
.cc-vs-fig b { font: 750 0.9375rem/1.2 var(--display); white-space: nowrap; }
.cc-vs-fig.is-saves b { color: var(--good); }
@container (max-width: 459px) {
  .cc-vs-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* The sheet: each group a fold, its icon, its name and how many lines; inside, its lines: the icon, the label and its
   "?", the value aligned at the right, larger, its word among its class, the car's drawing on a dimension. */
.cf-groups { display: grid; }
.cf-groups .cs-fold { margin-top: -1px; }
.cf-group > summary .cs-line-in { display: inline-flex; align-items: center; gap: 10px; font-size: 1rem; }
.cf-group > summary .cs-line-in > span:first-of-type { font-weight: 700; }
.cf-group > summary .ic { width: 22px; height: 22px; }
.sf { display: grid; max-width: 760px; margin: 0 0 8px; }
.sf-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: 6px 16px; min-height: 46px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.sf-row dt { display: flex; align-items: center; gap: 10px; min-width: 0; font: 500 0.9375rem/1.3 var(--body); color: var(--soft); }
.sf-row dt > .ic { flex: none; width: 20px; height: 20px; color: var(--ink); }
.sf-row dt .hint { margin-inline-start: 0; }
.sf-row dd { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 10px; margin: 0; text-align: end; }
.sf-row dd > b { font: 750 1rem/1.25 var(--display); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; text-wrap: balance; overflow-wrap: anywhere; }
.sf-row dd .cf-mk { order: -1; }
@media (max-width: 599px) {
  .sf-row { gap: 2px 10px; }
  .sf-row dt { font-size: 0.875rem; gap: 8px; }
  .sf-row dt > .ic { width: 18px; height: 18px; }
  .sf-row dd > b { font-size: 0.9375rem; }
  .sf-row dd .cf-mk { display: none; }
}
.cd-place > summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; font: 600 0.8125rem/1 var(--body); color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
.cd-place .a-park { max-width: 560px; margin: 8px 0 0; }

/* After the sections: one closing line of what the figures rest on. */
.cs-close { padding: 16px 0 8px; }
.cs-close-list { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 8px 0 0; padding: 0; list-style: none; font: 500 0.8125rem/1.35 var(--body); color: var(--soft); }
.cs-close-list b { color: var(--ink); font-weight: 650; }
/* "Signaler une erreur" at the end of the notes: a link's look, 44 px to the thumb (F16: a browser's button, 24 px). */
.cs-close-list .rp-way { position: relative; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 650; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; }
.cs-close-list .rp-way::after { content: ""; position: absolute; inset: min(0px, calc((100% - 44px) / 2)) -4px; }

/* ── With room ───────────────────────────────────────────────────────────────────────────────────────── */

@media (min-width: 640px) {
  .cs-kin { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

@media (min-width: 1000px) {
  .car { padding: 0 32px; }
  /* The version's words are set larger: the server's two measures grow with them. */
  .car-what p { --k: 1.18; --kr: 1.18; }
  .car-first { padding: 0; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(400px, 1fr); grid-template-areas: "car id" "car dock"; grid-template-rows: auto 1fr; gap: 0 48px; align-items: start; }
  .car-hero { display: contents; }
  .car-hero-car { --hero-top: 14px; grid-area: car; padding-top: var(--hero-top); }
  /* The line under the car keeps its distance from the bar of the sections. */
  .car-shown { padding-bottom: 10px; }
  .car-id { grid-area: id; padding-top: 38px; }
  .car-stagebox { aspect-ratio: 16 / 9; margin: 20px 0 0; }
  /* The act stands under what the car is, in the head; the bar takes it once the head is passed. */
  .car-dock { grid-area: dock; position: static; justify-content: flex-start; padding: 14px 0 0; background: none; pointer-events: auto; }
  .car-dock > * { box-shadow: none; }
  .app:has(.car-dock) .toast { bottom: 14px; }

  .car-nav { margin-top: 10px; }
  .car-nav-in { padding: 0 32px; gap: 20px; }
  /* The sections never scroll here: their names keep their width, and the car's name gives way (the site audit of 25
     November 2026, finding 25: stuck, the bar scrolled "Versions" to "ns"). */
  .car-nav-links { flex: none; justify-content: flex-start; gap: 6px; margin: 0; padding: 0; }
  .car-nav-links li { flex: none; }
  .car-nav-links a { padding: 0 11px; font: 600 0.875rem/1 var(--body); }
  .car-nav-links a > .ic { display: block; }
  .car-nav-links a[aria-current]::after { inset-inline-start: 36px; inset-inline-end: 11px; bottom: 8px; }
  .car-nav-car { display: flex; align-items: baseline; gap: 10px; flex: 0 1 auto; min-width: 0; overflow: hidden; visibility: hidden; font: 500 0.875rem/1 var(--body); white-space: nowrap; }
  .car-nav-car b { overflow: hidden; text-overflow: ellipsis; }
  .car-nav-car b { font: 750 1rem/1 var(--display); letter-spacing: -0.015em; }
  .car-nav-car .num { color: var(--soft); }
  .car-nav-acts { display: flex; flex: none; gap: 6px; margin-inline-start: auto; visibility: hidden; }
  @container scroll-state(stuck: top) {
    .car-nav-car, .car-nav-acts { visibility: visible; }
  }

  .car-rest { padding: 0 0 var(--sp-7); }
  /* A section: its name on the left, what it holds on the right, using the width. */
  .cs { display: grid; grid-template-columns: 240px minmax(0, 1fr); column-gap: 40px; padding: 26px 0 28px; }
  .cs > * { grid-column: 2; }
  .cs > .cs-head { grid-column: 1; grid-row: 1 / span 6; align-self: start; flex-direction: column; justify-content: flex-start; position: sticky; top: calc(var(--bar-h) + var(--nav-h) + 24px); }
  .cs > .cs-old { grid-row: 1; }
  /* A section's name stands in its own column, its key figure on its baseline. */
  .cs-h, .cs-key { font-size: 1.75rem; }
  .cc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :is(.ea, .eg-list) { padding: 20px 24px 8px; }
  /* A group's count stays within a reading's reach of its name: the list no wider than the sheet's lines. */
  .eg-list { max-width: 760px; }
  .cs-close { margin-inline-start: 280px; }
}

@media (hover: hover) {
  .car-turn:hover { border-color: var(--ink); }
  .car-month:hover, .car-make:hover { color: var(--ink); }
  .car-nav-links a:hover { color: var(--ink); }
  .car-kin a:hover, .cs-cars a:hover { border-color: var(--edge); }
  .cs-fold > summary:hover .cs-more { color: var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
  .car-len, .car-turn, .car-nav-links a, .car-dock { transition: none; }
  .car-turn:active { scale: 1; }
}

/* ── Its photos, in the place of its 3D (src/app/car/gallery.ts, lightbox.ts) ───────────────────────────────────
   One switch under the car, "3D · Photos": two radios the box reads. In photos the 3D leaves the box (its stage is
   no more drawn: src/stage/live.ts pauses what cannot be seen) and the photos take the same box, so nothing moves. The
   side view stands where the poster stood, at the page's scale. */
/* The switch stands in the top corner of the car's box, at the end of the make's row and centred on it (the owner, 25
   November 2026: under the car it was "cluttered and too close to the tabs under it and to the media"): one compact
   pill, each view its icon and its word, away from the bar of the sections and from the car. Placed by the box (the
   hero's column is a container: its edges are the switch's), so it takes no room and nothing moves when a view is
   chosen: the options keep their widths, only the mark of the one chosen changes. */
.cv-switch { position: absolute; z-index: 3; inset-block-start: calc(var(--hero-top) + (var(--make-h) - 42px) / 2); inset-inline-end: 0; display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--r-pill); background: var(--sunk); box-shadow: inset 0 0 0 1px var(--line); }
.cv-opt { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding-block: 0; padding-inline: 10px 13px; border-radius: var(--r-pill); font: 650 0.8125rem/1 var(--body); color: var(--soft); white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color var(--quick), color var(--quick), box-shadow var(--quick); }
/* 44 px under a finger: the pill is 42, its options take the rest above and under them. */
.cv-opt::after { content: ""; position: absolute; inset: -4px 0; }
.cv-opt .ic { width: 18px; height: 18px; }
@media (max-width: 999px) {
  .cv-opt { gap: 5px; padding-inline: 8px 10px; }
  .cv-opt .ic { width: 16px; height: 16px; }
}
.cv-n { min-width: 18px; padding: 2px 5px; border-radius: var(--r-pill); background: var(--line); color: var(--ink); font: 700 0.75rem/1 var(--label); text-align: center; }
.car-hero-car:has(#cv-3d:checked) [for="cv-3d"], .car-hero-car:has(#cv-photos:checked) [for="cv-photos"], .car-hero-car:has(#cv-360:checked) [for="cv-360"] { background: var(--card); color: var(--ink); box-shadow: var(--lift-1), inset 0 0 0 1px var(--line); }
.car-hero-car:has(#cv-3d:focus-visible) [for="cv-3d"], .car-hero-car:has(#cv-photos:focus-visible) [for="cv-photos"], .car-hero-car:has(#cv-360:focus-visible) [for="cv-360"] { outline: 2px solid var(--ink); outline-offset: 1px; }
.car-hero-car:has(#cv-photos:checked) .car-stagebox .stage, .car-hero-car:has(#cv-photos:checked) .car-len,
.car-hero-car:has(#cv-360:checked) .car-stagebox .stage, .car-hero-car:has(#cv-360:checked) .car-len { display: none; }

.car-photos { position: absolute; inset: 0; z-index: 2; display: none; }
.car-hero-car:has(#cv-photos:checked) .car-photos { display: block; }
.cp-track { display: flex; height: 100%; margin: 0; padding: 0; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cp-track::-webkit-scrollbar { display: none; }
.cp-slide { position: relative; flex: 0 0 100%; scroll-snap-align: center; }
.cp-open { position: absolute; inset: 64px 5% 18px; display: grid; place-items: center; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.cp-open img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
/* The side view at the page's scale, standing on the ground: where the poster stood, the same size. */
.cp-slide.is-scaled .cp-open { inset: 0; display: block; }
.cp-slide.is-scaled img { position: absolute; left: 50%; bottom: calc(var(--ground) - var(--down) * var(--mm)); width: calc(var(--L) * var(--mm)); max-width: none; max-height: none; height: auto; translate: -50% 0; }
.cp-open:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; border-radius: var(--r-m); }
/* The photo is opened large: said at rest by a sign in the box's corner, not only under a pointer. */
.cp-zoom { position: absolute; inset-inline-end: 12px; bottom: 4px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: color-mix(in srgb, var(--card) 88%, transparent); box-shadow: var(--lift-1), inset 0 0 0 1px var(--line); pointer-events: none; }
.cp-zoom .ic { width: 18px; height: 18px; }
.cp-count { position: absolute; inset-inline-start: 12px; bottom: 14px; padding: 4px 9px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--card) 88%, transparent); font: 700 0.75rem/1 var(--label); pointer-events: none; }
.cp-strip { position: absolute; left: 50%; bottom: 8px; translate: -50% 0; display: flex; gap: 6px; max-width: calc(100% - 140px); margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.cp-thumb { display: grid; place-items: center; width: 48px; height: 34px; border-radius: var(--r-s); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); opacity: 0.7; transition: opacity var(--quick), box-shadow var(--quick); }
.cp-thumb[aria-current="true"] { opacity: 1; box-shadow: inset 0 0 0 2px var(--ink); }
.cp-thumb img { max-width: 42px; max-height: 28px; object-fit: contain; }

/* Its maker's 360° (src/app/car/spin.ts, turntable.ts): the frames stacked in one place in the same box, one shown, so
   the box keeps its size whatever has arrived. Its credit, the hint that a hand turns it and the button that pauses
   it stand on one line under the car. */
.car-spin { position: absolute; inset: 0; z-index: 2; display: none; }
.car-hero-car:has(#cv-360:checked) .car-spin { display: block; }
.sp-view { position: absolute; inset: 0 2% 44px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.car-spin.is-held .sp-view { cursor: grabbing; }
.sp-view:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: var(--r-m); }
/* Each frame its own size, fitted whole and centred: a frame on the maker's white or in a scene is a picture with its corners. */
.sp-frame { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: 100%; max-height: 100%; visibility: hidden; pointer-events: none; -webkit-user-drag: none; }
.sp-frame.is-on { visibility: visible; }
.car-spin:is(.is-white, .is-scene) .sp-frame { border-radius: var(--r-m); box-shadow: inset 0 0 0 1px var(--line); }
.sp-credit, .sp-hint, .sp-load { position: absolute; bottom: 8px; display: inline-flex; align-items: center; gap: 6px; min-height: 28px; margin: 0; padding: 0 10px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--card) 88%, transparent); box-shadow: inset 0 0 0 1px var(--line); font: 600 0.75rem/1.2 var(--label); color: var(--soft); pointer-events: none; white-space: nowrap; }
.sp-credit { inset-inline-start: 12px; max-width: calc(100% - 172px); overflow: hidden; text-overflow: ellipsis; }
.sp-hint { inset-inline-end: 62px; color: var(--ink); }
.sp-hint .ic { width: 16px; height: 16px; }
/* The hint says what a hand does once it can: not before the frames are asked for, nor without scripts. */
.car-spin:not([data-phase]) .sp-hint, .car-spin[data-phase="loading"] .sp-hint { visibility: hidden; }
.sp-load { inset-inline-end: 62px; color: var(--ink); }
.sp-load[hidden] { display: none; }
.sp-bar { position: relative; width: 56px; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.sp-bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: var(--line-start) center; scale: var(--done, 0) 1; transition: scale var(--quick); }
.sp-play { position: absolute; inset-inline-end: 12px; bottom: 0; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--card); color: var(--ink); box-shadow: var(--lift-1), inset 0 0 0 1px var(--line); transition: scale var(--quick); }
.sp-play[hidden] { display: none; }
.sp-play:active { scale: 0.92; }
.sp-play:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sp-ic { display: none; grid-area: 1 / 1; }
.sp-play.is-playing .sp-ic.is-pause, .sp-play:not(.is-playing) .sp-ic.is-play { display: grid; }
.sp-ic .ic { width: 22px; height: 22px; }
/* A narrow phone: the hint is its sign alone, the credit keeps its words. */
@media (max-width: 480px) {
  .sp-hint > span { display: none; }
  .sp-credit { max-width: calc(100% - 130px); }
}

/* The lens: what is under the pointer, two to three times larger (a laptop only: src/app/car/lightbox.ts). */
.lens { position: absolute; left: 0; top: 0; z-index: 3; width: 176px; height: 176px; margin: -88px 0 0 -88px; border-radius: 50%; translate: var(--gx, 0) var(--gy, 0);
  background-color: var(--card); background-repeat: no-repeat; background-position: calc(88px - var(--bx, 0px)) calc(88px - var(--by, 0px));
  box-shadow: var(--lift-2), 0 0 0 3px var(--card), 0 0 0 4px var(--edge); pointer-events: none; opacity: 0; transition: opacity var(--quick); }
.lens.is-on { opacity: 1; }
/* At rest it takes no room: right to left, a box past the page's left edge makes the page scroll sideways (it did by 88 px). */
.lens:not(.is-on) { scale: 0; transition: opacity var(--quick), scale 0s var(--quick); }
.car-photos:has(.lens.is-on) .cp-open { cursor: none; }

/* The large view: the photo alone on the page's paper, its count, whose it is, the two ways to the next. */
.lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: var(--paper); color: var(--ink); overscroll-behavior: contain; }
.lb:not([open]) { display: none; }
.lb::backdrop { background: var(--paper); }
.lb-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: max(6px, env(safe-area-inset-top)) var(--pad) 6px; }
.lb-count { font: 800 1rem/1 var(--display); letter-spacing: -0.01em; }
.lb-name { font: 800 1rem/1.2 var(--display); letter-spacing: -0.015em; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-close { justify-self: end; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.lb-close .ic { width: 22px; height: 22px; }
.lb-stage { position: relative; overflow: hidden; display: grid; place-items: center; touch-action: none; cursor: zoom-in; user-select: none; -webkit-user-select: none; }
.lb.is-zoomed .lb-stage { cursor: zoom-out; }
.lb-img { max-width: calc(100% - 2 * var(--pad)); max-height: calc(100% - 16px); object-fit: contain; transform-origin: center; transition: transform var(--calm) var(--ease); will-change: transform; -webkit-user-drag: none; }
.lb.is-held .lb-img, .lb.is-still .lb-img { transition: none; }
.lb-nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; padding: 0; border: 0; border-radius: 50%; background: var(--card); color: var(--ink); box-shadow: var(--lift-1), inset 0 0 0 1px var(--line); transition: scale var(--quick); }
.lb-nav.is-prev { inset-inline-start: 8px; }
.lb-nav.is-next { inset-inline-end: 8px; }
.lb-nav:active { scale: 0.92; }
.lb-nav:focus-visible, .lb-close:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.lb.is-one .lb-nav, .lb.is-one .lb-count { visibility: hidden; }
.lb.is-zoomed .lb-nav { opacity: 0; pointer-events: none; }
.lb-cap { max-width: 46em; margin: 0 auto; padding: 8px var(--pad) max(14px, env(safe-area-inset-bottom)); text-align: center; text-wrap: pretty; font: 500 0.75rem/1.45 var(--label); color: var(--soft); font-variant-numeric: tabular-nums; }
@media (min-width: 760px) {
  .lb-nav { width: 52px; height: 52px; margin-top: -26px; }
  .lb-nav.is-prev { inset-inline-start: 24px; }
  .lb-nav.is-next { inset-inline-end: 24px; }
  .lb-img { max-width: min(100% - 176px, 1400px); }
}
@media (hover: hover) {
  .cv-opt:hover { color: var(--ink); }
  .sp-play:hover { box-shadow: var(--lift-1), inset 0 0 0 1px var(--edge); }
  .lb-nav:hover, .lb-close:hover { box-shadow: var(--lift-1), inset 0 0 0 1px var(--edge); }
}
@media (prefers-reduced-motion: reduce) {
  .cv-opt, .cp-thumb, .lens, .lb-nav, .sp-bar i, .sp-play { transition: none; }
}

/* Peinture (its pen: app.css, `.pi`). "Not listed" is one rule: the same drawing, hollow and pale (the paint, and what
   stands on it, set to none on it alone). */
.is-off .pi { --paint: none; --paint-edge: none; color: var(--faint); }

/* Équipements: every item one mark in one box, its picture or the box with its tick, where the tick was drawn. */
.ei-list > li > :first-child { grid-template-columns: 20px minmax(0, 1fr) auto 14px; }
.ei-list > li > a:not(:has(.em)) { grid-template-columns: 20px minmax(0, 1fr) 14px; }
.ei-n { min-width: 0; }
.ei-list > .is-plain > span { grid-template-columns: 20px minmax(0, 1fr); }
.ei-list > li > :first-child::before { content: none; }
.eg-name { display: inline-flex; align-items: center; gap: 8px; }
.eg-name > .pi { margin: -3px 0; }

/* Coût: the lines that deserve one; the trips' cities, an arrow between them. */
.fact-l > .pi { margin: -3px 0; }
.cc-ch-t thead th > .pi { margin-block: -3px; margin-inline: 0 5px; vertical-align: -3px; }
.a-neighbours .fact-l > .ic { flex: none; width: 24px; height: 24px; margin: -4px 0; color: var(--ink); }
/* A narrow phone: the charge's two heads stand their mark above their word, so that the two never touch. */
@media (max-width: 420px) {
  .cc-ch-t thead th > .pi { display: block; margin-block: 0 3px; margin-inline: auto 0; }
}

/* La voiture se montre ─────────────────────────────────────────────────────────────────────────────────────────────
   The marks of a car's figures (src/app/ui/marks.ts, DESIGN.md "Icons"): the page's own car, the part a figure speaks
   of painted in road paint. Its drawing is in the page once (`.mk-defs`); each mark is its box and its paint. */
.mk-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.mk { display: block; flex: none; overflow: visible; color: var(--ink); }
.mk-body { fill: none; stroke: currentColor; stroke-width: 1.4px; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.mk-glass { fill: currentColor; fill-opacity: 0.16; }
.mk.is-top .mk-glass { fill-opacity: 0.22; }
.mk-tyre { fill: currentColor; }
.mk-ground { stroke: currentColor; stroke-width: 1px; stroke-opacity: 0.35; vector-effect: non-scaling-stroke; }
.mk-paint { fill: var(--paint); }
.mk-road { fill: var(--paint); stroke: var(--paint-edge); stroke-width: 1px; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.mk-tick { stroke: currentColor; stroke-width: 1.4px; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.mk-dot { fill: var(--paint); stroke: var(--paint-edge); stroke-width: 1.2px; vector-effect: non-scaling-stroke; }
.cf-mk { display: block; flex: none; line-height: 0; }
/* A figure's mark in the bird's hand (what it burns, its gearbox), in the room of the car's own marks. */
.cf-mk > .pi { display: block; }


/* The sheet: each group's head and each dimension's row, its mark in a column of its own. */
.cd-place > summary .cf-mk { margin-inline-start: 10px; }

/* "Voir dans une place": the place is measured against its own fold, never against the page (it overflowed at 1024 px and wider). */
.cd-place { container-type: inline-size; }
.cd-place .a-park { --mm: calc((min(100cqw, 560px) - 100px) / 5000); }

/* ── The version, chosen where it is named; "Sa carte", the sixth section (22 November 2026) ─────────────────────────
   The control of the head and of the sections' bar says the count and the word ("9 versions", the app's pill,
   `.pick`) and opens the versions in place: `.cvp`, a `.pop` of app.css (a sheet at the foot of a phone, a panel
   under its control with room), its head in place, its rows scrolling under it. The rows are the versions' section's
   own (`.cv`), copied by the page's script (src/app/car/app.ts): the same groups, pictures, rows and chips. */

.cvp { padding: 0; overflow: hidden; }
/* A version taken: the panel and the shade behind it leave at once, before the passage to the version's page. */
.cvp.is-gone, .cvp.is-gone::backdrop { transition: none; }
.cvp:popover-open { display: flex; flex-direction: column; }
.cvp-head { position: relative; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 8px; padding-inline: var(--pad) 6px; border-bottom: 1px solid var(--line); }
.cvp-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); outline: 0; }
/* The rows, the section's own, at the panel's width: its gutter, the groups closer. */
.cvp .cv { gap: 8px; padding: 6px var(--pad) 12px; }
.cvp .cv-gh { padding-top: 10px; }
.cvp .cv-row[aria-current]:focus-visible { outline-offset: -3px; }
/* Under the rows, two quiet lines: the comparison of the versions, the way to their table. */
.cvp-more { margin: 0; padding: 4px 0 0; list-style: none; border-top: 1px solid var(--edge); }
.cvp-more > li + li { border-top: 1px solid var(--line); }
.cvp-more a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; padding: 0 var(--pad); color: inherit; text-decoration: none; font: 600 0.8125rem/1.25 var(--body); }
.cvp-more a:focus-visible { outline-offset: -3px; }
.cvp-more .ic { flex: none; width: 16px; height: 16px; color: var(--soft); }


/* Concurrentes: the card's question and its count repeat the section's head (its name, its count; the line of their
   prices says the span): kept for a screen reader and a search engine, not shown twice. */
.cs[data-section="concurrentes"] :is(.answer-q, .a-neighbours > .a-figline) { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cs[data-section="concurrentes"] .a-kin-all { gap: 26px; margin-top: 0; }
/* A card whose facts all repeat the head has none left: no empty row of rules. */
.cs[data-section="concurrentes"] .a-neighbours .facts:not(:has(.fact)) { display: none; }
/* Concurrentes: each car larger (the review: "make these bigger"), at one scale; the three kinds' icons at 24 px. */
.cs[data-section="concurrentes"] .a-kins .row { grid-template-columns: 124px minmax(0, 1fr); gap: 14px; }
.cs[data-section="concurrentes"] .a-kins .row-pic { --mm: 0.026px; }
.cs[data-section="concurrentes"] .a-neighbours .fact-l { font-size: 0.8125rem; gap: 7px; }
.cs[data-section="concurrentes"] .a-neighbours .fact-f { font-size: 1.125rem; }
/* On a phone the four counts stand two by two, each its icon over its words: never three and one alone. */
@media (max-width: 599px) {
  .cs[data-section="concurrentes"] .a-neighbours .facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .cs[data-section="concurrentes"] .a-kins .row { grid-template-columns: 180px minmax(0, 1fr); gap: 20px; min-height: 96px; }
  .cs[data-section="concurrentes"] .a-kins .row-pic { --mm: 0.0375px; }
}

/* "Sa carte", the sixth section: the card in the section's column, in its middle on a phone. */
.cs[data-section="sa-carte"] > .pc { justify-self: center; margin-inline: auto; }

@media (min-width: 760px) {
  /* With room: a panel under its control, wide enough for a name, a price and a gap on one line each. */
  .cvp { width: 400px; max-width: calc(100vw - 24px); max-height: calc(100dvh - var(--pop-y, 64px) - 16px); padding: 0; }
  .cvp-head { padding-block: 4px; padding-inline: 18px 4px; }
  .cvp-body { padding-bottom: 4px; }
  .cvp .cv { padding-inline: 18px; }
  .cvp-more a { min-height: 42px; padding: 0 18px; }
}

@media (min-width: 1000px) {
  .cs[data-section="sa-carte"] > .pc { justify-self: start; margin-inline: 0; }
  /* The bar of the sections, once stuck: the same control beside the heart, with the acts (they show together). */
  .car-nav-acts { align-items: center; }
}

/* With room beside the card, its notes stand there, each on its scale: the rows of the card's method ("i"), shown in
   place while the method's sheet is closed (the sheet, opened, is whole: among whom, the rows, the rules). */
@media (min-width: 1240px) {
  .cs[data-section="sa-carte"] .pc-how-slot { position: absolute; inset-inline-start: calc(100% + 56px); top: 6px; width: calc(min(100vw, 1560px) - 760px); }
  .cs[data-section="sa-carte"] .pc-how:not(:popover-open) { display: block; position: static; width: auto; max-height: none; margin: 0; padding: 0; overflow: visible; border-radius: 0; background: none; box-shadow: none; }
  .cs[data-section="sa-carte"] .pc-how:not(:popover-open) > :not(.pc-how-rows) { display: none; }
  .cs[data-section="sa-carte"] .pc-how:not(:popover-open) > .pc-how-rows { margin: 0; }
  .cs[data-section="sa-carte"] .pc-how:not(:popover-open) .pc-how-row { padding: 13px 0 12px; }
}

@media (hover: hover) {
  .cvp-more a:hover > span { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .car-switch > .ic:last-child, .car-nav-switch > .ic:last-child { transition: none; }
}

/* Coût's two folds: opened, the summary keeps its box, its facts included (D17: it shrank under the finger). */
.cc .cc-buy .a-fold[open] > summary.a-fold-head { padding-bottom: 0; }
.cc .cc-buy .a-fold[open] > summary .facts.a-facts { display: flex; }
.cc .cc-buy .a-fold[open] > summary .facts .fact.is-again { display: grid; }

/* A version's name as printed by its source ("equilibre", "techno"), shown with its capital: display only (D36). */
.car-what p > b::first-letter { text-transform: uppercase; }

/* Concurrentes: each picture's slot at its final height before the picture comes (a lazy picture never moves a row). */
.cs[data-section="concurrentes"] .a-kins .row-pic { min-height: 52px; }
@media (min-width: 1000px) {
  .cs[data-section="concurrentes"] .a-kins .row-pic { min-height: 74px; }
}

