/* The answers: nine cards under a car and under a pair. One question, one figure, a row of small facts, a picture,
   and its source one tap away (src/app/answers/). The card itself, its question and its figure are the
   foundation's (`.answer` in app.css); this sheet adds what each answer draws, and redefines no token. The
   sentence of a card is kept for a screen reader only (`.answer-say.vh`): numbers and pictures carry the meaning.

   Pictures are drawn with the app's own things: a road and its dashes, painted lines of a parking place, a
   till receipt, steps. Yellow stays what it is everywhere: "this one" (the car held, the page you are on).

   Scale. Where a card draws a car, `--mm` is set from the width of the cards (`cqw`), so that a parking place
   is 5,00 m long on every screen and two cars in one card always compare. */

.answers { display: grid; gap: 14px; container-type: inline-size; }
.answers .answer { min-width: 0; outline: none; }
.answers .answer:focus-visible { box-shadow: var(--lift-1), 0 0 0 2.5px var(--ink); }
.answer.a-sources { padding-bottom: 8px; }
.answer.a-sources .a-more { margin-top: 8px; }
.answer.is-compact { padding: 16px 16px 14px; }
.answer.is-compact .answer-q { font-size: 0.9375rem; }
.answer.is-compact .a-figline { margin-top: 8px; }
.answer.is-compact .answer-fig { font-size: 1.625rem; }
.answer.is-compact .a-facts { margin-top: 10px; }

/* The figure and, against the car held, its signed chips beside it (the app's .gap, app.css), on one line while
   there is room. The car held is named once, by the band on top of the page: here only to a screen reader. */
.a-figline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-top: 12px; }
.a-figline:empty { display: none; }
.a-figline > .answer-fig { margin-top: 0; }
.a-face { display: flex; flex-wrap: wrap; gap: 6px; }

/* The facts row is the app's one (.facts, app.css): here only its place. One that is still empty takes none. */
.answer .a-facts { margin-top: 14px; }
.answer .a-facts:empty { display: none; }

/* One short line, only where a verdict cannot be a number. */
.a-line { display: block; margin-top: 12px; font: 400 0.875rem/1.3 var(--voice); text-wrap: pretty; letter-spacing: -0.005em; }

/* ── Folded, on a car's own page: closed, the question, the figure and the facts; a tap opens the rest ── */
.answer.is-folded { padding: 0; scroll-margin-top: calc(var(--bar-h) + 8px); }
.a-fold > summary { position: relative; display: block; padding: 16px 18px 14px; border-radius: var(--r-l); list-style: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.a-fold > summary::-webkit-details-marker { display: none; }
.a-fold > summary .answer-q { padding-right: 44px; }
.a-fold > summary .a-figline { margin-top: 6px; }
.a-fold > summary .a-facts { margin-top: 12px; }
/* Opened, a card does not repeat its facts: those its opened content states again step aside (D2 of round 2). */
.a-fold[open] > summary .fact.is-again { display: none; }
.a-fold[open] > summary .a-facts:not(:has(.fact:not(.is-again))) { display: none; }
.a-fold[open] > summary { padding-bottom: 4px; }
.a-fold-mark { position: absolute; top: 11px; right: 12px; display: grid; place-items: center; width: 34px; height: 34px; border: 1.5px solid var(--edge); border-radius: 50%; color: var(--ink); transition: border-color var(--quick), background-color var(--quick); }
.a-fold-mark::before, .a-fold-mark::after { content: ""; grid-area: 1 / 1; width: 12px; height: 1.75px; border-radius: 1px; background: currentColor; transition: rotate var(--calm) var(--ease), opacity var(--calm); }
.a-fold-mark::after { rotate: 90deg; }
.a-fold[open] .a-fold-mark::after { rotate: 0deg; opacity: 0; }
.a-fold > summary:focus-visible { outline: 2.5px solid var(--ink); outline-offset: -2.5px; }
.a-fold-body { padding: 0 18px 6px; }
.a-fold-body > .a-pic:first-child { margin-top: 16px; }

/* The figure: what it counts sits small beside it; an unknown is said in words, smaller, never as a number. */
.answer-fig { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; white-space: normal; }
.answer-fig small { white-space: normal; line-height: 1.25; }
.answer-fig .a-fig-pre { font-weight: 650; }
.answer-fig.is-unknown { font: 750 1.375rem/1.15 var(--display); letter-spacing: -0.017em; color: var(--soft); }
/* A figure said in words ("Pas de vignette"), and one that is two ends ("entre … et …"): a size down, so that each holds on its line. */
.answer-fig .a-fig-words { font: 800 1.625rem/1.1 var(--display); letter-spacing: -0.025em; }
.answer-fig .a-fig-end { font-size: 1.625rem; white-space: nowrap; }
.a-pic { margin-top: 16px; }
.answer-fig + .a-pic { margin-top: 14px; }
.answer.is-fresh [data-slot="fig"] { animation: a-fresh var(--calm) var(--ease); }
@keyframes a-fresh { from { opacity: 0.35; } }

/* One thing worth telling beside the answer: a tax line a step away. A caution, and the words say it. */
.a-aside { margin-top: 14px; padding: 10px 12px 10px 14px; border-left: 3px solid var(--warn); border-radius: 0 var(--r-s) var(--r-s) 0; background: var(--warn-soft); font: 500 0.84rem/1.45 var(--body); }
.a-also { margin-top: 12px; font: 400 0.8125rem/1.45 var(--body); color: var(--soft); }
.a-also a { color: var(--ink); font-weight: 600; }

/* What opens in place under a card: what is not counted, the whole sheet. */
.a-more { margin-top: 4px; }
.a-more > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; cursor: pointer; list-style: none; font: 650 0.875rem/1.2 var(--body); }
.a-more > summary::-webkit-details-marker { display: none; }
.a-more > summary span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.a-more > summary::after { content: "+"; font: 500 1rem/1 var(--label); font-variant-numeric: tabular-nums; }
.a-more[open] > summary::after { content: "−"; }
.a-cite { color: var(--soft); }

/* ── Settings: three ways to pay, and the sliders ────────────────────────────────────────────────────── */

.a-set { display: grid; gap: 10px; margin-top: 18px; }
.a-set .switch { display: grid; width: 100%; }
.a-set .switch span { padding: 0 6px; }
.a-knobs { display: grid; gap: 2px 20px; }
.a-knob { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 12px; padding-top: 6px; }
.a-knob-l { font: 600 0.8125rem/1.2 var(--body); color: var(--soft); }
.a-knob-out { font: 700 0.9375rem/1.2 var(--display); letter-spacing: -0.008em; }
.a-knob input[type="range"] { grid-column: 1 / -1; -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; padding: 0; background: none; cursor: pointer; touch-action: pan-y; }
.a-knob input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--ink) var(--p, 50%), color-mix(in srgb, var(--ink) 16%, transparent) var(--p, 50%)); }
.a-knob input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--ink) var(--p, 50%), color-mix(in srgb, var(--ink) 16%, transparent) var(--p, 50%)); }
.a-knob input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 28px; height: 28px; margin-top: -11px; border: 2px solid var(--ink); border-radius: 50%; background: var(--card); box-shadow: var(--lift-1); transition: scale var(--quick); }
.a-knob input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border: 2px solid var(--ink); border-radius: 50%; background: var(--card); box-shadow: var(--lift-1); }
.a-knob input[type="range"]:active::-webkit-slider-thumb { scale: 1.12; }
.a-knob input[type="range"]:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 2px; border-radius: 22px; }
@container (min-width: 520px) {
  .a-knobs { grid-template-columns: 1fr 1fr; }
}

/* ── Combien par mois ? The plan as a road: today, the months as the dashes of a lane, the end ───────── */

.a-plan { display: grid; grid-template-columns: auto minmax(48px, 1fr) auto; align-items: end; gap: 12px; padding: 14px 14px 13px; border-radius: var(--r-m); background: var(--road); }
.a-plan-stop { display: grid; gap: 3px; min-width: 0; }
.a-plan-stop small { font: 500 0.71875rem/1.2 var(--label); letter-spacing: 0.01em; text-transform: uppercase; color: var(--soft); font-variant-numeric: tabular-nums; }
.a-plan-stop b { font: 700 0.9375rem/1.15 var(--display); letter-spacing: -0.008em; }
.a-plan-stop.is-end { text-align: right; justify-items: end; max-width: 9.5em; }
.a-plan-road { position: relative; height: 30px; display: grid; align-content: start; justify-items: center; }
.a-plan-road::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 3px; border-radius: 2px; background: repeating-linear-gradient(to right, var(--ink) 0 9px, transparent 9px 16px); }
.a-plan.is-cash .a-plan-road::after { background: color-mix(in srgb, var(--ink) 18%, transparent); height: 2px; }
.a-plan-road i { font: 600 0.71875rem/1 var(--label); font-style: normal; color: var(--soft); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ── Combien pour repartir avec ? An addition, read down to its total ────────────────────────────────── */

.a-bill { display: grid; margin-top: 2px; }
.a-bill li { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font: 500 0.9375rem/1.3 var(--body); }
.a-bill li span { flex: 1 1 auto; min-width: 9.5em; }
.a-bill li i { display: inline-block; width: 1.1em; font: 600 1rem/1 var(--label); font-style: normal; color: var(--soft); font-variant-numeric: tabular-nums; }
.a-bill li b { flex: 0 1 auto; max-width: 52%; font: 650 0.9375rem/1.3 var(--body); text-align: right; white-space: normal; text-wrap: balance; }
.a-bill li b small { font-weight: 500; color: var(--soft); }
.a-bill li.is-open b { font-weight: 500; color: var(--soft); }
.a-bill li:last-child { border-bottom: 2px solid var(--ink); }
.a-drive-away .a-pic + .a-figline { justify-content: flex-end; text-align: right; }
.a-notcounted { display: grid; gap: 10px; padding: 2px 0 12px; font: 400 0.8125rem/1.45 var(--body); color: var(--soft); }
.a-notcounted b { color: var(--ink); font-weight: 650; }
.a-notcounted a, .whence-body a, .a-sources a { color: inherit; }

/* ── Et chaque année ? One bar, two parts ────────────────────────────────────────────────────────────── */

.a-year-bar { display: flex; gap: 3px; height: 16px; }
.a-year-bar i { min-width: 5px; border-radius: 5px; }
.a-year-bar i.is-nil { display: none; }
.a-year-bar .is-road { background: var(--s-road); }
.a-year-bar .is-fuel { background: var(--s-fuel); }
/* A part that is not figured: hatched, never empty and never a length. */
.a-year-bar .is-unknown { flex: 0 0 64px; background: repeating-linear-gradient(135deg, var(--edge) 0 1.5px, transparent 1.5px 6px); box-shadow: inset 0 0 0 1px var(--edge); }

/* ── Est-ce qu'elle rentre ? A parking place seen from above, at true scale ──────────────────────────── */

.a-park { --mm: calc((100cqw - 64px) / 5700); display: grid; justify-items: start; gap: 10px; padding: 14px; border-radius: var(--r-m); background: var(--road); overflow: hidden; }
/* The car from the side, standing on a ground as long as the place. */
.a-side { display: block; width: calc(5000 * var(--mm)); border-bottom: 1.5px solid var(--edge); line-height: 0; }
.a-bay { display: grid; gap: 5px; justify-items: start; }
.a-bay-name { display: inline-flex; align-items: center; gap: 7px; font: 700 0.84rem/1.2 var(--display); }
/* The painted lines: the back and the two sides. The open end is where the car comes in. */
.a-bay-place { position: relative; display: block; width: calc(5000 * var(--mm)); height: calc(2500 * var(--mm)); border: 2.5px solid var(--edge); border-right: 0; box-sizing: content-box; }
.a-bay-place::after { content: ""; position: absolute; left: 100%; top: -2.5px; bottom: -2.5px; border-left: 2.5px dotted color-mix(in srgb, var(--edge) 55%, transparent); }
.a-foot { position: absolute; left: 0; top: calc((2500 - var(--W)) / 2 * var(--mm)); width: calc(var(--L) * var(--mm)); height: calc(var(--W) * var(--mm)); }
.a-foot svg { width: 100%; height: 100%; overflow: visible; }
.a-foot.is-over::after { content: ""; position: absolute; left: calc(5000 * var(--mm)); right: -2px; top: -4px; bottom: -4px; border-radius: 4px; background: repeating-linear-gradient(135deg, var(--bad) 0 2px, transparent 2px 6px); opacity: 0.8; }
.a-foot.is-none { inset: 0; width: auto; height: auto; display: grid; place-items: center; }
.a-foot.is-none span { padding: 5px 8px; border: 1px dashed var(--edge); border-radius: var(--r-s); font: 500 0.71875rem/1.25 var(--label); color: var(--soft); font-variant-numeric: tabular-nums; }
.a-foot .tv-body { fill: var(--car); stroke: var(--ink); stroke-width: 1.4px; vector-effect: non-scaling-stroke; }
.a-foot .tv-body.is-a { fill: color-mix(in srgb, var(--paint) 55%, var(--card)); }
.a-foot .tv-body.is-b { fill: color-mix(in srgb, var(--other) 45%, var(--card)); }
.a-foot .tv-glass { fill: var(--glass); stroke: var(--ink); stroke-width: 0.9px; vector-effect: non-scaling-stroke; }
.a-foot .tv-roof { fill: var(--ink); opacity: 0.07; }
.a-foot .tv-bed { fill: var(--road); stroke: var(--ink); stroke-width: 0.9px; vector-effect: non-scaling-stroke; }
.a-foot .tv-seam { fill: none; stroke: var(--ink); stroke-width: 0.8px; opacity: 0.45; vector-effect: non-scaling-stroke; }
.a-park-note { font: 500 0.71875rem/1.3 var(--label); color: var(--soft); font-variant-numeric: tabular-nums; }
.a-park.is-pair { gap: 14px; }
/* The room left, as dimensions on the plan: ahead of the car, and on each side of it. */
.a-dim { position: absolute; color: var(--soft); pointer-events: none; }
.a-dim i { position: absolute; font: 600 0.65625rem/1 var(--label); font-style: normal; white-space: nowrap; font-variant-numeric: tabular-nums; }
.a-dim.is-ahead { left: calc(var(--L) * var(--mm)); top: 50%; width: calc(var(--d) * var(--mm)); border-top: 1px solid currentColor; }
.a-dim.is-ahead::before, .a-dim.is-ahead::after { content: ""; position: absolute; top: -4px; height: 7px; border-left: 1px solid currentColor; }
.a-dim.is-ahead::before { left: 0; }
.a-dim.is-ahead::after { right: 0; }
.a-dim.is-ahead i { left: calc(100% + 7px); top: 0; translate: 0 -50%; }
.a-dim.is-side { left: calc(var(--L) * var(--mm) * 0.42); top: 0; height: calc(var(--d) * var(--mm)); border-left: 1px solid currentColor; }
.a-dim.is-side.is-low { top: auto; bottom: 0; }
.a-dim.is-side::before, .a-dim.is-side::after { content: ""; position: absolute; left: -4px; width: 7px; border-top: 1px solid currentColor; }
.a-dim.is-side::before { top: 0; }
.a-dim.is-side::after { bottom: 0; }
.a-dim.is-side i { left: 6px; top: 50%; translate: 0 -50%; }
.a-dim.is-over { border: 0; color: var(--bad); }
.a-dim.is-over::before, .a-dim.is-over::after { display: none; }
.a-dim.is-ahead.is-over { left: calc(5000 * var(--mm)); width: 0; }
/* What sticks out is said inside the place, at its open end, on the road's ground: right of it there is no room. */
.a-dim.is-ahead.is-over i { left: auto; right: 6px; padding: 2px 5px; border-radius: 4px; background: var(--road); }
.a-dim.is-side.is-over { height: 0; }
@container (min-width: 600px) {
  .a-park { --mm: calc((100cqw - 64px) / 9600); }
  .a-park.is-pair { --mm: calc((100cqw - 64px) / 11400); grid-template-columns: auto auto; column-gap: calc(700 * var(--mm)); }
  .a-park.is-pair .a-park-note { grid-column: 1 / -1; }
}

/* ── Qu'est-ce qu'elle a ? What is asked first, as words one can scan ────────────────────────────────── */

.a-cluster + .a-cluster { margin-top: 14px; }
.a-cluster-h { display: flex; align-items: center; gap: 7px; font: 650 0.8125rem/1.3 var(--body); color: var(--soft); }
.a-cluster-h small { font: 600 0.71875rem/1 var(--label); color: var(--soft); font-variant-numeric: tabular-nums; }
.a-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.a-pill { padding: 6px 11px; border-radius: 16px; background: color-mix(in srgb, var(--ink) 8%, transparent); font: 550 0.84rem/1.25 var(--body); }
.a-pill.is-off { padding: 4.5px 9.5px; border: 1.5px dashed var(--edge); background: none; color: var(--soft); }
.a-differs { display: grid; gap: 5px; margin-top: 8px; font: 500 0.84rem/1.35 var(--body); }
.a-differs small { color: var(--soft); }
.a-sheet { display: grid; gap: 12px; padding: 2px 0 12px; }
.a-sheet dt { font: 700 0.875rem/1.25 var(--display); }
.a-sheet dd { margin-top: 3px; font: 400 0.8125rem/1.5 var(--body); }
.a-sheet-off { color: var(--soft); }
.a-sheet-note { display: block; margin-top: 3px; color: var(--warn); }

/* ── Quelle version choisir ? Steps: each tread a version, each riser what it costs and adds ─────────── */

.a-engine { display: block; font: 600 0.71875rem/1.3 var(--label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); font-variant-numeric: tabular-nums; }
.a-steps { display: grid; margin-top: 10px; border-bottom: 2.5px solid var(--ink); }
/* Each step is its tread (the line above the name) and its riser (the wall on its left, down to the step below). */
.a-step { margin-left: calc(var(--i, 0) * 11px); border-top: 2.5px solid var(--ink); border-left: 2.5px solid var(--ink); }
.a-step-card { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 4px 10px; min-height: 52px; padding: 8px 0 8px 12px; text-decoration: none; transition: background-color var(--quick); }
.a-step-who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.a-step-name { font: 700 1rem/1.2 var(--display); letter-spacing: -0.013em; }
.a-step-card .price { flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.a-step-card .ic { width: 18px; height: 18px; color: var(--soft); }
.a-step-card:active { background: var(--sunk); }
.a-step.is-here .a-step-card { box-shadow: inset 0 -5px 0 var(--paint); padding-right: 6px; }
.a-step-here { font: 650 0.6875rem/1 var(--body); padding: 0.2em 0.45em; white-space: nowrap; }
.a-step-held { display: block; font: 500 0.75rem/1.2 var(--body); color: var(--soft); }
/* What the step costs and lists more than the one below: on the riser. */
.a-rise { padding: 0 0 2px 12px; }
.a-rise > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 0 10px; min-height: 44px; padding: 8px 0 8px; cursor: pointer; list-style: none; }
.a-rise-what { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.a-rise > summary::-webkit-details-marker { display: none; }
.a-rise > summary b { font: 750 0.9375rem/1.2 var(--display); letter-spacing: -0.008em; }
.a-rise > summary span { font: 500 0.8125rem/1.3 var(--body); color: var(--soft); }
.a-rise > summary::after { content: "+"; padding-right: 4px; font: 500 1rem/1 var(--label); color: var(--soft); font-variant-numeric: tabular-nums; }
.a-rise[open] > summary::after { content: "−"; }
.a-rise p { padding: 0 8px 8px 0; font: 400 0.84rem/1.5 var(--body); }
.a-engine-more { margin-top: 16px; border-top: 1px solid var(--line); }
.a-engine-more > summary { display: grid; gap: 4px; min-height: 56px; padding: 12px 28px 10px 0; position: relative; cursor: pointer; list-style: none; }
.a-engine-more > summary::-webkit-details-marker { display: none; }
.a-engine-more > summary small { font: 400 0.8125rem/1.4 var(--body); color: var(--soft); }
.a-engine-more > summary::after { content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%; font: 500 1.0625rem/1 var(--label); color: var(--soft); font-variant-numeric: tabular-nums; }
.a-engine-more[open] > summary::after { content: "−"; }
.a-engine-more .a-steps { margin-top: 0; padding-bottom: 8px; }
.a-twin { color: var(--ink); font-weight: 600; }

/* ── Et ses concurrentes ? The industry map's cars, each a line: why it is here, what differs ─────────────
   Sections in the order a buyer asks: the same car under another badge, its cousins, its direct competitors. A line
   is the app's row (app.css: the car at the row's one scale, its name and price), then the reason in a few words,
   then the signed chips; the rest of a list is named under it, one tap away, each name a way to the face-to-face. */

.a-rail-ref { font: 500 0.8125rem/1.3 var(--body); color: var(--soft); }
.a-rail-ref b { color: var(--ink); font-weight: 650; }
.a-kin-all { display: grid; gap: 16px; margin-top: 14px; }
.a-kin-unknown { padding: 9px 12px 10px; border-radius: var(--r-s); background: var(--sunk); font: 400 0.8125rem/1.45 var(--body); color: var(--soft); }
.a-kin-sec { display: grid; min-width: 0; }
.a-kin-h { display: grid; gap: 3px; padding-bottom: 6px; border-bottom: 1.5px solid var(--ink); font: inherit; }
.a-kin-note { font: 500 0.78rem/1.3 var(--body); color: var(--soft); font-variant-numeric: tabular-nums; }
/* The line itself is the app's (public/app/app.css, "A relative's line"): the favourites show it too. */

/* What stands under a line, and the rest of a list: named, one tap away. */
.a-kins > li > .a-more { margin: -10px 0 0 96px; }
.a-kin-sheets p { padding: 0 0 8px; font: 400 0.8125rem/1.45 var(--body); }
.a-kin-sheets p b { font-weight: 650; }
.a-kin-sheets .num { font-weight: 650; }
.a-kin-sec > .a-more, .a-kin-all > .a-more { margin-top: 2px; }
.a-kin-said { padding: 0 0 6px; font: 400 0.8125rem/1.45 var(--body); color: var(--soft); }
.a-kin-names { display: grid; padding-bottom: 6px; }
.a-kin-names li { min-width: 0; border-top: 1px solid var(--line); }
.a-kin-names a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-height: 44px; padding: 12px 0 10px; text-decoration: none; font: 400 0.875rem/1.3 var(--body); }
.a-kin-names a > span:first-child { min-width: 0; }
.a-kin-names b { font-weight: 650; }
.a-kin-names .num { flex: none; font-weight: 600; color: var(--soft); }
.a-kin-src dd { overflow-wrap: anywhere; }
.a-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.a-neighbours .a-acts { margin: 14px 0 4px; }
@container (min-width: 600px) {
  .a-kin-names { grid-template-columns: 1fr 1fr; column-gap: 28px; }
}

/* ── Et maintenant ? ─────────────────────────────────────────────────────────────────────────────────── */

.a-promo { display: grid; gap: 6px; margin-top: 12px; font: 400 0.875rem/1.45 var(--body); }
.a-maker { display: grid; gap: 0; margin-top: 8px; }
.a-maker .btn { justify-self: start; padding-left: 0; font-weight: 650; }
.a-maker small { font: 400 0.8125rem/1.4 var(--body); color: var(--soft); }

/* ── D'où viennent ces chiffres ? ────────────────────────────────────────────────────────────────────── */

.a-sources { display: grid; gap: 18px; padding: 4px 0 14px; }
.a-sources dt { font: 700 0.9375rem/1.25 var(--display); letter-spacing: -0.008em; }
.a-sources dd { margin-top: 6px; font: 400 0.8125rem/1.5 var(--body); color: var(--soft); }
.a-sources dd b { color: var(--ink); font-weight: 650; }

@media (hover: hover) {
  .a-fold > summary:hover .a-fold-mark { border-color: var(--ink); background-color: color-mix(in srgb, var(--ink) 6%, transparent); }
  .a-step-card:is(a):hover { background-color: color-mix(in srgb, var(--ink) 5%, transparent); }
  .a-more > summary:hover span { text-decoration-thickness: 2px; }
  .a-kin-names a:hover b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .answer.is-fresh [data-slot="fig"] { animation: none; }
  .a-fold-mark, .a-fold-mark::before, .a-fold-mark::after { transition: none; }
  .a-knob input[type="range"]:active::-webkit-slider-thumb { scale: 1; }
}

/* ── Two cars, one answer, two columns (src/app/pair/rows.ts) ────────────────────────────────────────────
   Shared by the pair page and the journey's duels. The left column is the car shown first, the right one the
   car shown second; each figure wears its car's dot. The better figure is in ink and bold: never a colour alone. */

.a2-fig { display: flex; align-items: baseline; gap: 7px; min-width: 0; margin: 0; font: 600 1rem/1.2 var(--display); letter-spacing: -0.008em; color: var(--soft); white-space: normal; }
.a2-fig .dot { flex: none; width: 8px; height: 8px; translate: 0 -0.08em; }
.a2-fig small { display: block; margin-top: 3px; font: 500 0.75rem/1.25 var(--body); letter-spacing: 0; color: var(--soft); }
.a2-fig.is-best { color: var(--ink); font-weight: 800; }

/* A few lines: what each is about, then the two figures. */
.a2-lines { display: grid; border-top: 1px solid var(--line); }
.a2-line { display: grid; grid-template-columns: 1fr 1fr; align-items: baseline; gap: 2px 10px; padding: 7px 0 8px; border-bottom: 1px solid var(--line); }
.a2-line dt { grid-column: 1 / -1; min-width: 0; font: 500 0.75rem/1.25 var(--body); color: var(--soft); }

/* An answer: the question, the two figures, one sentence, its source. */
.a2 { display: grid; gap: 8px; padding: 18px 0 14px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--bar-h) + 8px); }
.a2-q { font: 500 1.125rem/1.15 var(--voice); color: var(--soft); letter-spacing: -0.01em; }
.a2-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: baseline; }
.a2-figs .a2-fig { font-size: 1.3125rem; letter-spacing: -0.017em; }
.a2-say { max-width: 39em; font: 400 0.9375rem/1.28 var(--voice); text-wrap: pretty; letter-spacing: -0.005em; }
.a2-say b { font-weight: 400; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--ink) 14%, transparent) 62%); }
.a2 .whence { margin-top: -2px; }
