/* Which energy to choose (src/app/choose/page.ts: /guides/essence-ou-diesel, /guides/hybride-ou-diesel). The heading, the verdict's
   cells and the links are a topic's and a comparison's (topics.css, versus.css, app.css `.tp-nav`); here, the models'
   cards and what the figures rest on. After those; it never redefines a token. */
.cz-km .tp-chips { gap: 0 8px; }

/* The models: a card each, one a row on a phone, two then three with room. */
.cz-models { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.cz-models > li { min-width: 0; }
.cz-model { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 10px; height: 100%; padding: 16px; border: 1.5px solid var(--line); border-radius: var(--r-m); background: var(--card); }
.cz-name { margin: 0; font: 800 1.125rem/1.15 var(--display); letter-spacing: -0.015em; text-wrap: balance; }
.cz-name a { color: inherit; text-decoration: none; }
.cz-name a:focus-visible, .cz-t a:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; border-radius: var(--r-s); }
@media (hover: hover) { .cz-name a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.cz-won { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 0; }
.cz-won b { font: 800 1rem/1.2 var(--display); }
.cz-won span { font: 500 0.875rem/1.4 var(--body); color: var(--soft); }

/* Its two versions side by side: the figure's name, then each energy's column, the figures right-aligned. */
.cz-t { width: 100%; border-collapse: collapse; table-layout: fixed; font: 500 0.875rem/1.35 var(--body); font-variant-numeric: tabular-nums; }
.cz-t :is(th, td) { padding: 8px 0; border-top: 1px solid var(--line); vertical-align: top; text-align: end; overflow-wrap: anywhere; }
.cz-t :is(th, td):first-child { width: 37%; padding-inline-end: 8px; text-align: start; overflow-wrap: break-word; }
/* A version's name is words, not a figure: it wraps inside its column (app.css keeps a `.num` on one line). */
.cz-v td { white-space: normal; }
.cz-t :is(th, td) + :is(th, td) { padding-inline-start: 8px; }
.cz-t thead :is(th, td) { border-top: 0; padding-top: 0; font: 600 var(--fs-label)/1.2 var(--label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); }
.cz-t tbody th { font-weight: 600; font-size: 0.8125rem; color: var(--soft); }
.cz-t a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cz-v td { font-weight: 600; }
.cz-v small { display: block; margin-top: 2px; font: 500 0.75rem/1.3 var(--body); color: var(--soft); }
.cz-sum :is(th, td) { border-top-color: var(--ink); }
.cz-sum b { font: 800 0.875rem/1.2 var(--display); letter-spacing: -0.01em; }
.cz-back { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font: 500 0.8125rem/1.45 var(--body); color: var(--soft); text-wrap: pretty; font-variant-numeric: tabular-nums; }

/* What the figures rest on and leave out. */
.cz-rests { display: grid; gap: 6px; max-width: 78ch; }
.cz-rests ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font: 400 0.8125rem/1.45 var(--body); color: var(--soft); text-wrap: pretty; font-variant-numeric: tabular-nums; }
