/* Charger page template: page styles on top of the Best Chargers design system
   (assets/ds/styles.css, vendored from brand/claude-design/best-chargers-design-system).
   Tokens only: no hex values, no new hues, no inline styles in the markup.
   Shares its class names with the EV tariff hub mockup (hub-head, hub-stamp,
   tonight, tn-row, tcard-*) so the two pages port to one set of components.
   Day for reading, night for charging: the hero, the overnight chart, the
   readiness result and the installer band are night; everything read is day. */

/* ── Browser surfaces ─────────────────────────────────────────────────────── */
:root { accent-color: var(--color-accent-ink); caret-color: var(--color-accent-ink); scrollbar-color: var(--color-neutral-400) var(--color-bg); }
[hidden] { display: none !important; }
.night ::selection { background: color-mix(in oklch, var(--color-glow) 32%, transparent); color: var(--color-surface); }
code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.875em; padding: 1px 5px; border-radius: 5px; background: var(--color-surface-2); }

/* ── Mockup bar (not part of the page; ?shot hides it) ────────────────────── */
.mock-bar { background: var(--color-surface-2); border-bottom: 1px dashed var(--color-divider-strong); font-size: var(--text-sm); color: var(--color-text-2); }
.mock-bar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-5); padding-block: var(--space-2); }
.mb-title { margin-right: auto; }
.mb-title strong { display: inline-block; margin-right: var(--space-2); padding: 1px 8px; border-radius: 6px; background: var(--color-night); color: var(--color-surface); font-size: var(--text-xs); letter-spacing: 0.02em; }
.mb-switch { display: flex; align-items: center; gap: var(--space-2); }
.mb-switch label { font-weight: 700; color: var(--color-text); }
.mb-switch select { min-height: 36px; max-width: 15rem; padding: 0 var(--space-2); border: 1px solid var(--color-divider-strong); border-radius: var(--radius-sm); background: var(--color-surface); }
.mb-scores { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); }
.mb-name { font-weight: 700; color: var(--color-text); }
.mb-score { display: inline-flex; align-items: center; gap: var(--space-2); }
.mb-score strong { font-family: var(--font-figure); font-variant-numeric: tabular-nums; }
.mb-score small { color: var(--color-muted); font-weight: 500; }
.mb-label { color: var(--color-muted); }
.mb-track { width: 64px; height: 6px; border-radius: 3px; background: var(--color-divider); overflow: hidden; }
.mb-fill { display: block; height: 100%; width: var(--v, 0%); border-radius: 3px; background: var(--color-neutral-500); }
.mb-score + .mb-score .mb-fill { background: var(--color-accent); }
.mb-delta { font-weight: 700; color: var(--color-accent-ink); }
.mock-bar.is-collapsed .mb-scores, .mock-bar.is-collapsed .mb-switch { display: none; }
html.is-shot .mock-bar { display: none; }

/* ── Hero: night, centred ─────────────────────────────────────────────────── */
.rv-hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(32px, 3vw + 16px, 64px) var(--space-12);
  overflow: hidden;
  background-image:
    linear-gradient(color-mix(in oklch, var(--color-glow) 6%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklch, var(--color-glow) 6%, transparent) 1px, transparent 1px),
    radial-gradient(60% 46% at 50% 0%, color-mix(in oklch, var(--color-accent) 46%, transparent), transparent 72%),
    radial-gradient(40% 32% at 50% 78%, color-mix(in oklch, var(--color-plate-2) 10%, transparent), transparent 70%),
    var(--night-gradient);
  background-size: 48px 48px, 48px 48px, auto, auto, auto;
}
.rv-hero-inner { display: grid; justify-items: center; gap: var(--space-4); max-width: 1020px; text-align: center; }
@media (min-width: 981px) { .rv-hero-inner { gap: var(--space-5); } }
.rv-crumbs ol { justify-content: center; }
.rv-crumbs a { color: var(--color-on-night-muted); text-decoration: none; }
.night .rv-crumbs a:hover { color: var(--color-surface); text-decoration: underline; }
.rv-crumbs [aria-current="page"] { color: var(--color-on-night); }
.rv-crumbs li + li::before { color: var(--color-on-night-muted); }
.rv-crumbs a { display: inline-flex; align-items: center; min-height: var(--target); }
.rv-hero h1 { max-width: 18ch; font-size: clamp(2.125rem, 1.35rem + 3.2vw, 3.75rem); line-height: 1.02; letter-spacing: -0.035em; overflow-wrap: anywhere; }
@media (min-width: 981px) { .rv-hero h1 { max-width: 22ch; } }
.rv-answer { max-width: 64ch; font-size: var(--text-lead); line-height: 1.55; color: var(--color-on-night); }
.rv-answer strong { color: var(--color-surface); font-weight: 700; }

.rv-notice { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--space-3); max-width: 64ch; padding: var(--space-4) var(--space-5); border: 1px solid color-mix(in oklch, var(--color-sun) 60%, transparent); border-radius: var(--radius-md); background: color-mix(in oklch, var(--color-sun) 12%, var(--color-night)); text-align: left; }
.rv-notice .i { color: var(--color-sun); margin-top: 2px; }
.rv-notice p { font-size: 0.9375rem; color: var(--color-on-night); }
.rv-notice strong { color: var(--color-sun-300); }

.rv-standouts { display: grid; justify-items: center; gap: var(--space-2); }
.rv-standouts-label { font-size: var(--text-xs); font-weight: 600; color: var(--color-on-night-muted); }
.rv-standouts ul { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); list-style: none; }
.rv-standouts ul { gap: var(--space-2) 6px; }
.rv-standouts a {
  display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--target); padding: 0 6px 0 var(--space-3);
  border: 1px solid var(--color-night-line); border-radius: var(--radius-pill);
  background: color-mix(in oklch, var(--color-night-deep) 50%, transparent);
  font-size: 0.8125rem; font-weight: 700; color: var(--color-surface); text-decoration: none;
}
@media (min-width: 768px) { .rv-standouts a { padding: 0 var(--space-2) 0 var(--space-4); font-size: var(--text-sm); } }
/* Counts are facts, not energy: on-night text on a raised pill, never glow. */
.rv-standouts a span { padding: 2px 9px; border-radius: var(--radius-pill); background: var(--color-night-raise); font-family: var(--font-figure); font-size: var(--text-xs); font-weight: 700; color: var(--color-on-night); font-variant-numeric: tabular-nums; white-space: nowrap; }
.night .rv-standouts a:hover { border-color: var(--color-accent-2); color: var(--color-surface); }

.hub-stamp { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); list-style: none; }
.hub-stamp li {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 var(--space-4);
  border: 1px solid var(--color-night-line); border-radius: var(--radius-pill);
  background: color-mix(in oklch, var(--color-night-deep) 45%, transparent);
  font-size: var(--text-sm); font-weight: 600; color: var(--color-on-night-muted);
}
.hub-stamp li.is-date { border-color: color-mix(in oklch, var(--color-accent-2) 55%, transparent); color: var(--color-on-night); }
.hub-stamp li.is-date .i { width: 16px; height: 16px; color: var(--color-accent-2); }
.hub-stamp time { font-weight: 800; color: var(--color-surface); }
.hub-stamp li.is-link { border-color: transparent; background: none; padding-inline: var(--space-2); }
.hub-stamp a { display: inline-flex; align-items: center; min-height: var(--target); margin-block: -4px; color: var(--color-on-night); }
.night .hub-stamp a:hover { color: var(--color-accent-2); }

.rv-hero .ai-bar { justify-items: center; }
.rv-hero .ai-bar ul { justify-content: center; }
.rv-hero .ai-btn { min-height: var(--target); padding: 0 var(--space-3); gap: 6px; }
@media (min-width: 768px) {
  .rv-hero .ai-bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-2) var(--space-3); width: 100%; }
  .rv-hero .ai-btn { padding: 0 var(--space-4); }
}
.rv-hero .views { justify-items: center; width: 100%; }
.rv-hero .views legend { width: 100%; text-align: center; color: var(--color-on-night-muted); }
.rv-hero .views-track { width: 100%; max-width: 440px; background: color-mix(in oklch, var(--color-night-deep) 60%, transparent); box-shadow: inset 0 0 0 1px var(--color-night-line); }
@media (min-width: 768px) { .rv-hero .views-track { width: max-content; max-width: 100%; } }
.rv-hero .views-opt span { min-height: var(--target); color: var(--color-on-night); }
.rv-hero .views-opt:hover span { background: var(--color-night-raise); color: var(--color-surface); }
.rv-hero .views-opt input:checked + span { background: var(--color-surface); color: var(--color-night); }
.rv-hero .views-opt input:focus-visible + span { outline-color: var(--color-glow); }
.rv-hero .views-hint { color: var(--color-on-night-muted); }
.rv-hero .views-hint button { color: var(--color-accent-2); }

/* The stage: the product on the mint plate, its readings either side */
.rv-stage { display: grid; gap: var(--space-5); margin-top: var(--space-10); align-items: center; }
.rv-plate { order: -1; justify-self: center; width: min(100%, 300px); aspect-ratio: 1; border-radius: var(--radius-xl); box-shadow: 0 30px 60px -30px color-mix(in oklch, var(--color-night-deep) 80%, transparent), inset 0 0 0 1px color-mix(in oklch, var(--color-surface) 40%, transparent); }
.rv-plate img { width: 76%; height: 80%; }
.rv-plate-empty { font-size: var(--text-sm); font-weight: 600; color: var(--color-accent-ink); }
.rv-readings { display: grid; }
.rv-readings > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: var(--space-1) var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--color-night-line); text-align: left; }
.rv-readings dt { font-size: var(--text-sm); font-weight: 600; color: var(--color-on-night-muted); }
.rv-readings dd { display: grid; justify-items: end; text-align: right; font-family: var(--font-figure); font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; color: var(--color-surface); font-variant-numeric: tabular-nums; }
.rv-readings dd small { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 500; letter-spacing: 0; color: var(--color-on-night-muted); }
.rv-readings-a > div:first-child { border-top: 1px solid var(--color-night-line); }
@media (min-width: 768px) {
  .rv-stage { grid-template-columns: minmax(0, 1fr) minmax(240px, 340px) minmax(0, 1fr); gap: var(--space-8); }
  .rv-plate { order: 0; width: 100%; }
  .rv-readings > div { grid-template-columns: 1fr; gap: 2px; padding: var(--space-4) 0; }
  .rv-readings-a > div:first-child { border-top: 0; }
  .rv-readings > div:last-child { border-bottom: 0; }
  .rv-readings dd { justify-items: start; text-align: left; font-size: clamp(1.375rem, 1rem + 1vw, 1.875rem); }
  .rv-readings-a > div { text-align: right; }
  .rv-readings-a dd { justify-items: end; text-align: right; }
}
@media (min-width: 981px) { .rv-stage { gap: var(--space-12); } }

.rv-types { display: grid; justify-items: center; gap: var(--space-2); margin-top: var(--space-8); text-align: center; }
.rv-types p { font-size: var(--text-xs); font-weight: 600; color: var(--color-on-night-muted); }
.rv-types .chips { justify-content: center; }
.rv-types .chip { min-height: var(--target); padding-inline: var(--space-4); text-decoration: none; }
.night .rv-types a.chip:hover { border-color: var(--color-glow); color: var(--color-surface); }
.rv-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-6); }
.rv-hero-actions .btn .i { width: 18px; height: 18px; }
@media (max-width: 479px) { .rv-hero-actions .btn { flex: 1 1 100%; } }

/* ── Body: centred sections on paper ──────────────────────────────────────── */
.hub-body { padding-block: var(--space-6) var(--space-16); }
.hub-toc { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-10); padding-bottom: var(--space-4); border-bottom: 1px solid var(--color-divider); }
.hub-toc h2 { flex: none; }
.hub-toc ol { display: flex; gap: 2px; border-left: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, var(--color-text) 85%, transparent); mask-image: linear-gradient(90deg, var(--color-text) 85%, transparent); }
.hub-toc ol::-webkit-scrollbar { display: none; }
.hub-toc li { flex: none; }
.hub-toc a { display: inline-flex; align-items: center; min-height: var(--target); margin: 0; padding: 0 var(--space-3); border: 0; border-radius: var(--radius-pill); white-space: nowrap; font-weight: 600; }
.hub-toc a:hover { background: var(--color-surface-2); }
@media (min-width: 1100px) { .hub-toc { justify-content: center; } .hub-toc ol { -webkit-mask-image: none; mask-image: none; flex-wrap: wrap; justify-content: center; } }

.hub-sections { display: grid; gap: clamp(72px, 6vw + 32px, 128px); }
.hub-section { display: grid; gap: var(--space-6); min-width: 0; scroll-margin-top: calc(var(--head-h) + 80px); }
.hub-head { display: grid; justify-items: center; gap: var(--space-3); max-width: 64ch; margin-inline: auto; text-align: center; }
.hub-head h2 { font-size: var(--text-h2); }
.hub-head p { font-size: var(--text-lead); line-height: 1.5; color: var(--color-muted); }
.hub-prose { margin-inline: auto; width: 100%; }
.hub-prose h3 { font-size: var(--text-h3); }
.hub-notes { display: grid; gap: 6px; max-width: 96ch; margin-inline: auto; font-size: var(--text-xs); line-height: 1.5; color: var(--color-muted); text-align: center; }
.rv-narrow { width: 100%; max-width: 860px; margin-inline: auto; }

/* ── At a glance ──────────────────────────────────────────────────────────── */
.glance { display: grid; gap: var(--space-5); width: 100%; max-width: 1100px; margin-inline: auto; }
@media (min-width: 981px) { .glance { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } }
.glance-facts h3 { font-size: 1.125rem; }
.glance-facts li { font-size: 1rem; color: var(--color-text-2); }
.glance-lists { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .glance-lists { grid-template-columns: 1fr 1fr; } }
.fit-list.is-not { background: var(--color-surface); }
.fit-list.is-not h3 .i, .fit-list.is-not li .i { color: var(--color-neutral-500); }
.chip-off { background: var(--color-surface-2); color: var(--color-muted); }

/* ── Feature matrix ───────────────────────────────────────────────────────── */
.fm-wrap { width: 100%; max-width: 1100px; margin-inline: auto; }
.fm th, .fm td { white-space: normal; vertical-align: middle; }
.fm thead th { text-transform: none; letter-spacing: 0; font-size: var(--text-sm); color: var(--color-text); }
.fm-more { display: inline; }
.fm-more summary { display: inline; cursor: pointer; color: var(--color-accent-ink); text-decoration: underline; text-decoration-color: color-mix(in oklch, currentColor 40%, transparent); text-underline-offset: 0.22em; }
.fm-more summary::-webkit-details-marker { display: none; }
.fm-more[open] summary { color: var(--color-muted); text-decoration: none; }
.fm-more p { margin-top: var(--space-1); }
.fm thead th:nth-child(2) { white-space: nowrap; }
.fm tbody th { width: 34%; font-weight: 600; font-size: 0.9375rem; }
.fm tbody th a { color: var(--color-text); text-decoration-color: var(--color-divider-strong); }
.fm tbody th a:hover { color: var(--color-accent-ink); }
.fm td:last-child { font-size: var(--text-sm); color: var(--color-text-2); }
.fm td:last-child a { display: inline-block; padding-block: 6px; }
.fm .chip { white-space: nowrap; }
.fm-group th { padding-top: var(--space-5); background: var(--color-bg); font-family: var(--font-heading); font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; color: var(--color-text); text-align: left; }
.fm tbody + tbody .fm-group th { border-top: 2px solid var(--color-divider-strong); }
.fm tr.is-lacks th, .fm tr.is-lacks td:nth-child(2) { color: var(--color-muted); }
.fm-share { display: grid; grid-template-columns: minmax(48px, 1fr) auto; align-items: center; gap: var(--space-3); min-width: 9rem; }
.fm-track { position: relative; height: 10px; border-radius: 3px; background: var(--color-surface-2); overflow: hidden; }
.fm-fill { position: absolute; inset: 0 auto 0 0; width: var(--v, 0%); border-radius: 3px; background: var(--color-accent); }
.is-lacks .fm-fill { background: var(--color-neutral-400); }
.fm-count { font-family: var(--font-figure); font-size: var(--text-sm); font-weight: 700; color: var(--color-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fm-none { color: var(--color-muted); }
@media (max-width: 767px) {
  .fm thead { display: none; }
  .fm tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-2) var(--space-3); padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--color-divider); }
  .fm tr.fm-group { display: block; padding: var(--space-4) var(--space-5) var(--space-2); }
  .fm th, .fm td { display: block; padding: 0; border: 0; }
  .fm tbody th { width: auto; grid-column: 1; }
  .fm td:nth-child(2) { grid-column: 2; grid-row: 1; }
  .fm td:nth-child(3), .fm td:nth-child(4) { grid-column: 1 / -1; }
  .fm td:nth-child(4)::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: var(--text-xs); font-weight: 700; color: var(--color-muted); }
}

/* ── Supplier list cards ──────────────────────────────────────────────────── */
.lcards { display: grid; gap: var(--space-5); }
@media (min-width: 981px) { .lcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lcard { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); }
.lcard.is-yes { border-color: var(--color-accent-300); }
.lcard.is-no { background: var(--color-surface-2); }
.lcard-why { font-size: 0.9375rem; color: var(--color-text-2); }
.lcard-status .chip { white-space: normal; max-width: 100%; }
.lcard-src { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: var(--space-2); font-size: var(--text-xs); color: var(--color-muted); }
.lcard-src .i { margin-top: 2px; color: var(--color-accent); }
.lcard-src a { color: var(--color-accent-ink); }
.tcard-top { display: flex; align-items: center; gap: var(--space-4); }
.tcard-logo { flex: none; display: grid; place-items: center; width: 88px; height: 52px; padding: 6px; border: 1px solid var(--color-divider); border-radius: var(--radius-sm); background: var(--color-surface); overflow: hidden; }
.tcard-logo img { width: 100%; height: 100%; object-fit: contain; }
.tcard-id { display: grid; gap: 2px; min-width: 0; }
.tcard-sup { font-size: var(--text-sm); font-weight: 600; color: var(--color-muted); }
.tcard-name { font-size: var(--text-h3); }
.tcard-rate { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-1) var(--space-3); }
.tcard-rate-label { font-size: var(--text-sm); font-weight: 600; color: var(--color-muted); }
.tcard-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); margin-top: auto; padding-top: var(--space-4); border-top: 1px solid var(--color-divider); }
.tcard-actions .btn { flex: 1 1 100%; }
.lcard .tcard-actions .aff-note { flex-basis: 100%; margin-top: calc(var(--space-1) * -1); }
.tcard-actions .link-arrow .i { width: 16px; height: 16px; }
.aff-note { margin-top: calc(var(--space-2) * -1); font-size: 0.75rem; line-height: 1.4; color: var(--color-muted); }
.rv-fixed { width: 100%; max-width: 1100px; margin-inline: auto; }

/* ── The overnight chart (the tariff hub's tonight panel, per charger) ────── */
.tonight {
  display: grid; gap: var(--space-6); padding: var(--space-4);
  border: 1px solid var(--color-night-line); border-radius: var(--radius-xl);
  box-shadow: inset 0 1px 0 color-mix(in oklch, var(--color-glow) 10%, transparent);
  text-align: left;
}
@media (min-width: 768px) { .tonight { padding: var(--space-6); } }
@media (min-width: 981px) {
  .tonight { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-10); padding: var(--space-8); }
  .tonight-side { position: sticky; top: calc(var(--head-h) + 80px); align-self: start; }
}
.tonight-side { display: grid; gap: var(--space-4); align-content: start; min-width: 0; }
.on-result { display: grid; gap: var(--space-2); padding-bottom: var(--space-4); border-bottom: 1px solid var(--color-night-line); }
.on-result .stat-label { color: var(--color-on-night-muted); }
.on-sentence { font-size: 1rem; color: var(--color-on-night); }
.tonight-form { display: grid; gap: var(--space-4); }
.tonight-form .field { gap: var(--space-2); }
.tn-mode { min-width: 0; border: 0; display: grid; gap: var(--space-2); }
.tn-legend { padding: 0; font-size: var(--text-sm); font-weight: 600; color: var(--color-on-night); }
.tonight .seg { display: flex; width: 100%; background: color-mix(in oklch, var(--color-night-deep) 70%, transparent); box-shadow: inset 0 0 0 1px var(--color-night-line); }
.tonight .seg label { flex: 1; }
.tonight .seg span { justify-content: center; width: 100%; min-height: var(--target); color: var(--color-on-night); text-align: center; }
.tonight .seg label:hover span { background: var(--color-night-raise); color: var(--color-surface); }
.tonight .seg input:checked + span { background: var(--color-surface); color: var(--color-night); }
.tonight .seg input:focus-visible + span { outline-color: var(--color-glow); }
.tonight .select { background-color: var(--color-night-deep); color: var(--color-on-night); border-color: var(--color-night-line); }
.tonight .select:hover { border-color: var(--color-accent-400); }
.tonight .select:focus-visible { border-color: var(--color-glow); box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-glow) 25%, transparent); }
.tonight .select option, .tonight .select optgroup { color: var(--color-text); background: var(--color-surface); }
.night .range-row label, .night .field > label { color: var(--color-on-night); font-weight: 600; font-size: var(--text-sm); }
.night .range-row output { color: var(--color-surface); font-size: 1.125rem; }
.night .field-help { color: var(--color-on-night-muted); font-size: var(--text-sm); }
.night .range::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--color-glow) var(--fill, 50%), var(--color-night-raise) var(--fill, 50%)); }
.night .range::-moz-range-track { background: var(--color-night-raise); }
.night .range::-moz-range-progress { background: var(--color-glow); }
.night .range::-webkit-slider-thumb { background: var(--color-night); border-color: var(--color-glow); box-shadow: 0 0 12px color-mix(in oklch, var(--color-glow) 70%, transparent); }
.night .range::-moz-range-thumb { background: var(--color-night); border-color: var(--color-glow); }
.tonight .strip-key { gap: var(--space-2) var(--space-4); }

.tonight-chart { display: grid; gap: var(--space-2); align-content: start; min-width: 0; --tn-cols: minmax(0, 11rem) minmax(0, 1fr) 7.5rem; }
.tn-head { display: none; }
@media (min-width: 640px) {
  .tn-head { display: grid; grid-template-columns: var(--tn-cols); gap: var(--space-4); align-items: end; padding: 0 var(--space-3) var(--space-2); border-bottom: 1px solid var(--color-night-line); font-size: var(--text-xs); font-weight: 700; color: var(--color-on-night-muted); }
  .tn-head > span:last-child { text-align: right; }
}
.tn-group { margin-top: var(--space-4); padding: 0 var(--space-3); font-family: var(--font-body); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.02em; color: var(--color-on-night-muted); }
.tn-more { justify-self: center; color: var(--color-accent-2); }
@media (max-width: 767px) { .tn-rows.is-collapsed .tn-row:nth-child(n+4):not(.is-best) { display: none; } }
@media (min-width: 768px) { .tn-more { display: none !important; } }
.tn-group:first-of-type { margin-top: var(--space-2); }
.noon-ticks { font-size: var(--text-xs); font-weight: 600; color: var(--color-muted); }
.noon-ticks span:nth-child(3) { color: var(--color-text); }
.night .noon-ticks { color: var(--color-on-night-muted); }
.night .noon-ticks span:nth-child(3) { color: var(--color-on-night); }
.tn-rows { list-style: none; display: grid; gap: 2px; }
.tn-row {
  position: relative; display: grid; gap: 6px var(--space-4); padding: var(--space-2) var(--space-3);
  grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name cost" "strip strip" "note note";
  border-radius: var(--radius-md); transition: background-color var(--dur-state) var(--ease-out), opacity var(--dur-state) var(--ease-out);
}
@media (min-width: 640px) { .tn-row { grid-template-columns: var(--tn-cols); grid-template-areas: "name strip cost" "name note cost"; align-items: center; row-gap: 4px; } }
.tn-row:hover, .tn-row:focus-within { background: color-mix(in oklch, var(--color-night-raise) 70%, transparent); }
.tn-name { grid-area: name; display: grid; gap: 1px; align-self: center; min-height: var(--target); align-content: center; text-decoration: none; }
.tn-sup { font-size: var(--text-xs); color: var(--color-on-night-muted); }
.tn-tariff { font-weight: 700; color: var(--color-surface); line-height: 1.25; }
.tn-name:hover .tn-tariff { color: var(--color-accent-2); text-decoration: underline; text-underline-offset: 0.2em; }
.night a.tn-name:not(.btn) { color: var(--color-on-night); }
.tn-strip { grid-area: strip; }
.tn-strip svg { height: 18px; }
.tn-cost { grid-area: cost; display: grid; justify-items: end; align-content: center; text-align: right; }
.tn-cost .reading { color: var(--color-surface); font-size: 1.25rem; }
.tn-cost .reading .unit { font-size: 0.7em; color: var(--color-on-night-muted); }
.tn-cost .reading.is-partial { color: var(--color-on-night-muted); }
.tn-note { grid-area: note; font-size: var(--text-xs); font-weight: 600; color: var(--color-on-night-muted); }
.tn-row[data-state="fit"] .tn-note { color: var(--color-accent-2); }
.tn-row[data-state="over"] .tn-note { color: var(--color-rose-300); }
.tn-row[data-state="smart"] .tn-note { color: var(--color-glow); }
.tn-row[data-state="car"] { opacity: 0.62; }
.tn-row[data-state="car"]:hover, .tn-row[data-state="car"]:focus-within { opacity: 0.9; }
.tn-row.is-best { background: color-mix(in oklch, var(--color-accent-2) 11%, transparent); outline: 1px solid color-mix(in oklch, var(--color-accent-2) 50%, transparent); outline-offset: -1px; }
.tn-badge { justify-self: end; max-width: 8rem; margin-top: 3px; padding: 2px 8px; border-radius: 9px; background: var(--color-accent-2); color: var(--color-night); font-size: 0.6875rem; font-weight: 800; line-height: 1.25; text-align: center; }
.strip .s-mid { stroke: var(--color-divider-strong); stroke-dasharray: 2 2; }
.night .strip .s-mid { stroke: color-mix(in oklch, var(--color-glow) 40%, transparent); }
.strip .s-smart, .strip .s-smart-over { fill: url(#hatch-day); }
.night .strip .s-smart, .night .strip .s-smart-over { fill: url(#hatch-night); }
.hatch-day { fill: var(--color-accent); }
.hatch-night { fill: var(--color-glow); fill-opacity: 0.75; }
.night .strip .s-charge { fill: var(--color-accent-2); }
@media (prefers-reduced-motion: no-preference) {
  .tonight.is-lit .s-window { animation: win-on 900ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * var(--stagger)); }
  .tonight.is-lit .s-charge, .tonight.is-lit .s-over, .tonight.is-lit .s-smart-over { animation: strip-fill var(--dur-fill) var(--ease-expo) both; transform-box: fill-box; transform-origin: left center; animation-delay: calc(var(--i, 0) * var(--stagger) + 360ms); }
  .tonight.is-lit .s-over, .tonight.is-lit .s-smart-over { animation-delay: calc(var(--i, 0) * var(--stagger) + 360ms + var(--dur-fill) * 0.55); }
}
@keyframes win-on { from { fill-opacity: 0.06; } to { fill-opacity: 0.32; } }

/* ── Specs ────────────────────────────────────────────────────────────────── */
.spec-wrap { width: 100%; max-width: 860px; margin-inline: auto; }
.spec-table tbody th { width: 36%; font-weight: 600; color: var(--color-muted); vertical-align: top; }
@media (max-width: 559px) { .spec-table tbody th { width: auto; } }
.spec-table td { font-weight: 600; color: var(--color-text); }
.spec-table td small { display: block; margin-top: 2px; font-size: var(--text-sm); font-weight: 400; color: var(--color-muted); }
@media (max-width: 559px) {
  .spec-table tr { display: grid; gap: 2px; padding: var(--space-3) var(--space-5); border-bottom: 1px solid var(--color-divider); }
  .spec-table th, .spec-table td { display: block; width: auto; padding: 0; border: 0; }
}

/* ── Chargers to compare ──────────────────────────────────────────────────── */
.scards { display: grid; gap: var(--space-5); }
@media (min-width: 981px) { .scards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.scard { grid-template-columns: 88px minmax(0, 1fr); gap: var(--space-4); padding: var(--space-6); }
.scard-plate { grid-row: span 1; max-width: 88px; }
.scard-id { align-self: center; display: grid; gap: 2px; }
.scard-name { font-size: var(--text-h3); }
.scard-name a { display: inline-block; padding-block: 11px; margin-block: -11px; color: var(--color-text); text-decoration: none; }
.scard-name a:hover { color: var(--color-accent-ink); text-decoration: underline; }
.scard-block, .scard > .link-arrow { grid-column: 1 / -1; }
.scard-block { display: grid; gap: var(--space-2); padding-top: var(--space-3); border-top: 1px solid var(--color-divider); }
.scard-block h4 { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.02em; color: var(--color-muted); }
.scard-block .chip { white-space: normal; }
.scard-diffs { display: grid; gap: var(--space-2); }
.scard-diffs > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 var(--space-3); align-items: baseline; }
.scard-diffs dt { font-size: var(--text-sm); color: var(--color-text-2); }
.scard-diffs dd { display: grid; justify-items: end; text-align: right; font-family: var(--font-figure); font-size: 0.9375rem; font-weight: 700; color: var(--color-text); }
.scard-diffs dd small { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 500; color: var(--color-muted); }
.cmp-table { min-width: 760px; }
.cmp-table th, .cmp-table td { white-space: normal; vertical-align: top; font-size: var(--text-sm); }
.cmp-table tbody th { min-width: 10rem; }
.cmp-table thead th { text-transform: none; letter-spacing: 0; font-size: var(--text-sm); color: var(--color-text); }
.cmp-table thead th a { color: var(--color-text); }
.cmp-table .is-this { background: var(--color-accent-100); }
.cmp-table thead .is-this { background: var(--color-accent-200); }
.cmp-pick { display: grid; gap: var(--space-2); width: 100%; max-width: 560px; margin-inline: auto; }
.cmp-pick label { font-weight: 700; color: var(--color-text); }
.cmp-pick-row { display: flex; gap: var(--space-2); }
.cmp-pick-row .select { flex: 1; min-width: 0; }
.cmp-pick-row .btn .i { width: 18px; height: 18px; }

/* ── How it works (the review body) ───────────────────────────────────────── */
.rv-prose { max-width: var(--measure); }
.rv-prose h3 { margin-top: 1.6em; padding-top: var(--space-4); border-top: 1px solid var(--color-divider); scroll-margin-top: calc(var(--head-h) + 80px); }
.rv-prose > h3:first-child { padding-top: 0; border-top: 0; }

/* ── Installation ─────────────────────────────────────────────────────────── */
.ifacts { display: grid; width: 100%; max-width: 1100px; margin-inline: auto; border-top: 2px solid var(--color-text); }
@media (min-width: 768px) { .ifacts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-10); } }
.ifacts > div { display: grid; gap: 4px; align-content: start; padding: var(--space-4) 0; border-bottom: 1px solid var(--color-divider); }
.ifacts dt { font-size: var(--text-xs); font-weight: 700; color: var(--color-muted); }
.ifacts dd { font-weight: 600; color: var(--color-text); }
.steps { list-style: none; counter-reset: step; display: grid; gap: var(--space-5); width: 100%; max-width: 760px; margin-inline: auto; }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: none; gap: var(--space-6); } }
.steps li { position: relative; counter-increment: step; display: grid; align-content: start; grid-template-columns: 40px minmax(0, 1fr); gap: var(--space-1) var(--space-4); scroll-margin-top: calc(var(--head-h) + 96px); }
.steps li::before { content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-night); color: var(--color-surface); font-family: var(--font-figure); font-weight: 800; }
.steps h3 { align-self: center; font-size: 1.0625rem; }
.steps p { font-size: 0.9375rem; color: var(--color-text-2); }
@media (min-width: 1100px) {
  .steps li { grid-template-columns: 1fr; }
  .steps li::before { grid-row: auto; margin-bottom: var(--space-2); }
  .steps li:not(:last-child)::after { content: ""; position: absolute; top: 19px; left: 52px; right: calc(var(--space-3) * -1); height: 2px; background: var(--color-divider-strong); }
}
.rv-ba { width: 100%; max-width: 860px; margin-inline: auto; --ratio: 16 / 10; }

/* ── Readiness check ──────────────────────────────────────────────────────── */
.rd { display: grid; gap: var(--space-5); width: 100%; max-width: 1100px; margin-inline: auto; }
@media (min-width: 981px) { .rd { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } }
.rd-form { display: grid; gap: var(--space-5); }
.rd-q { min-width: 0; border: 0; }
.rd-q .choice span { min-height: var(--target); }
@media (min-width: 640px) { .rd-q { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); } .rd-q legend { grid-column: 1 / -1; } }
.rd-result { display: grid; gap: var(--space-4); padding: var(--space-6); border-radius: var(--radius-xl); }
@media (min-width: 981px) { .rd-result { position: sticky; top: calc(var(--head-h) + 80px); } }
.rd-meter { display: grid; gap: var(--space-2); }
.rd-meter .stat-label { color: var(--color-on-night-muted); }
.rd-bar { position: relative; height: 10px; border-radius: 4px; background: var(--color-night-raise); overflow: hidden; }
.rd-fill { position: absolute; inset: 0 auto 0 0; width: var(--v, 0%); border-radius: 4px; background: var(--color-accent-2); transition: width var(--dur-reveal) var(--ease-expo); }
.rd-result h3 { font-size: 1.125rem; }
.rd-list { display: grid; gap: var(--space-3); padding-left: 1.2em; color: var(--color-on-night); }
.rd-list li::marker { color: var(--color-accent-2); }
.rd-list li.is-flag::marker { color: var(--color-sun); }
.rd-list a { color: var(--color-accent-2); }

/* ── Installer band ───────────────────────────────────────────────────────── */
/* Centred, like the rest of the page: heading, line, postcode, cities. */
.rv-band { width: 100%; grid-template-columns: 1fr; justify-items: center; text-align: center; }
@media (min-width: 981px) { .rv-band { grid-template-columns: 1fr; padding: var(--space-12); } }
.rv-band .stack { align-items: center; max-width: 64ch; }
.rv-band p { color: var(--color-on-night); }
.rv-cities { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 var(--space-3); font-size: var(--text-sm); }
.rv-cities a { display: inline-flex; align-items: center; min-height: var(--target); }
.rv-band .postcode { width: min(100%, 460px); }

/* ── Questions: quick answers and FAQs ────────────────────────────────────── */
.qa-block { display: grid; gap: var(--space-4); width: 100%; max-width: 1040px; margin-inline: auto; }
.qa-title { font-size: 1.125rem; text-align: center; }
.qa { display: grid; border-top: 1px solid var(--color-divider); }
@media (min-width: 768px) { .qa { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-10); } }
.qa > div { display: grid; gap: 4px; align-content: start; padding: var(--space-4) 0; border-bottom: 1px solid var(--color-divider); }
.qa dt { font-size: var(--text-sm); font-weight: 700; color: var(--color-accent-ink); }
.qa dd { font-size: 1rem; line-height: 1.5; color: var(--color-text); }
#faq .faq { width: 100%; max-width: 860px; margin-inline: auto; }

/* ── Terms, guides, sources ───────────────────────────────────────────────── */
.terms { display: grid; width: 100%; max-width: 1040px; margin-inline: auto; border-top: 1px solid var(--color-divider); }
@media (min-width: 768px) { .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-10); } }
.terms > div { display: grid; gap: 4px; align-content: start; padding: var(--space-4) 0; border-bottom: 1px solid var(--color-divider); }
.terms dt { font-weight: 700; color: var(--color-text); }
.terms dd { font-size: 0.9375rem; color: var(--color-text-2); }
.rv-guides .card-title { font-size: 1.125rem; }
.rv-guides .link-arrow { margin-top: auto; }
.sources-grid { display: grid; gap: var(--space-8); width: 100%; max-width: 1040px; margin-inline: auto; }
@media (min-width: 981px) { .sources-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-12); } }
.method { font-size: 1rem; }
.cite { padding: var(--space-4); border-radius: var(--radius-md); background: var(--color-surface-2); font-size: var(--text-sm); }
.resources { list-style: none; display: grid; align-content: start; border-top: 1px solid var(--color-divider); }
.resources li { display: grid; gap: 2px; padding: var(--space-3) 0; border-bottom: 1px solid var(--color-divider); }
.res-source { font-size: var(--text-xs); font-weight: 700; color: var(--color-muted); }
.resources a { display: inline-flex; align-items: center; gap: 6px; min-height: var(--target); font-weight: 700; }
.more-on-page { width: 100%; max-width: 860px; margin-inline: auto; }

/* ── Footer, dock, cookies ────────────────────────────────────────────────── */
.footer-disclaimer { max-width: 110ch; margin-top: var(--space-10); font-size: var(--text-xs); line-height: 1.6; color: var(--color-on-night-muted); }
.site-footer .footer-disclaimer a { text-decoration: underline; text-underline-offset: 0.2em; }
.footer-disclaimer strong { color: var(--color-on-night); }
.site-footer .footer-legal a { display: inline-flex; align-items: center; min-height: var(--target); }
.dock-name { gap: var(--space-3); }
.dock-ic { width: 24px; height: 24px; color: var(--color-accent); }
.dock-meta { display: block; font-size: var(--text-xs); color: var(--color-muted); white-space: nowrap; }
.dock-view .i { width: 16px; height: 16px; color: var(--color-accent); }
.cookie-bar .btn-row { gap: var(--space-2); }

/* ── Mockup index and the AIO report ──────────────────────────────────────── */
.ix-hero { padding-block: var(--space-16) var(--space-12); text-align: center; }
.ix-hero .container { display: grid; justify-items: center; gap: var(--space-4); }
.ix-hero p { max-width: 64ch; color: var(--color-on-night); }
.ix-grid { list-style: none; display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); padding-block: var(--space-12) var(--space-16); }
.ix-grid > li { display: grid; }
.ix-card { grid-template-columns: 64px minmax(0, 1fr); align-items: center; padding: var(--space-4); }
.ix-card .plate { max-width: 64px; }
.ix-card .card-title { font-size: 1rem; }
.ix-card .card-meta { grid-column: 1 / -1; }
.report { padding-block: var(--space-10) var(--space-16); }
.report-prose { max-width: 84ch; }
.report-prose h1 { font-size: var(--text-h2); }
.report-prose .table-wrap { margin-block: var(--space-4); }
.report-prose table { min-width: 560px; }

/* ══ The "with ad packages" version (sponsored.html) ═══════════════════════════
   Plan 17, section 3: every paid unit sits outside the editorial lists and
   tables, in its own frame (stone ground and a strong border), in the same
   place on every page, with a visible "Ad" or "Sponsored" label. Ads never use
   the green action colour, so the one green action per view stays ours. */
.ad, .buy, .ad-open { width: 100%; max-width: 1100px; margin-inline: auto; }
.ad-frame {
  position: relative; display: grid; gap: var(--space-2) var(--space-4); align-items: center;
  grid-template-columns: 56px minmax(0, 1fr);
  padding: var(--space-5) var(--space-5) var(--space-4);
  border: 1px solid var(--color-divider-strong); border-radius: var(--radius-lg);
  background: var(--color-surface-2);
}
@media (min-width: 768px) { .ad-frame { grid-template-columns: 72px minmax(0, 1fr) auto; padding: var(--space-5) var(--space-6) var(--space-4); } }
.ad-label {
  position: absolute; top: -11px; left: var(--space-5);
  padding: 2px 10px; border-radius: var(--radius-pill);
  background: var(--color-text); color: var(--color-surface);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.02em; line-height: 1.5;
}
.ad-label.is-night { position: static; background: var(--color-surface); color: var(--color-night); }
.ad-plate { max-width: 72px; background: var(--color-surface); }
.ad-logo { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius-md); background: var(--color-surface); border: 1px solid var(--color-divider); overflow: hidden; }
@media (min-width: 768px) { .ad-logo { width: 72px; height: 72px; } }
.ad-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.ad-logo.is-initials { font-family: var(--font-heading); font-weight: 800; font-size: 1.125rem; color: var(--color-muted); letter-spacing: -0.02em; }
.ad-body { display: grid; gap: 2px; min-width: 0; }
.ad-kicker { font-size: var(--text-xs); font-weight: 700; color: var(--color-muted); }
.ad-title { font-family: var(--font-heading); font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; }
.ad-title a { display: inline-block; padding-block: 11px; margin-block: -11px; color: var(--color-text); text-decoration: none; }
.ad-title a:hover { color: var(--color-accent-ink); text-decoration: underline; }
.ad-line { font-size: 0.9375rem; color: var(--color-text-2); }
.ad-cta { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 768px) { .ad-cta { grid-column: auto; justify-self: end; } }
.ad-cta .i { width: 16px; height: 16px; }
.ad-why { grid-column: 1 / -1; font-size: var(--text-xs); color: var(--color-muted); }
.ad-why summary { display: inline-flex; align-items: center; gap: 4px; min-height: var(--target); cursor: pointer; list-style: none; font-weight: 600; }
.ad-why summary::-webkit-details-marker { display: none; }
.ad-why[open] summary .i { transform: rotate(180deg); }
.ad-why p { max-width: 80ch; padding-bottom: var(--space-1); }

/* Tool title sponsorship: one line across the top of the night chart. */
.ad-tool { grid-column: 1 / -1; max-width: none; }
.ad-tool-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); padding-bottom: var(--space-4); border-bottom: 1px solid var(--color-night-line); font-size: var(--text-sm); color: var(--color-on-night-muted); }
.ad-tool-brand { display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--target); font-weight: 700; text-decoration: none; }
.night .ad-tool-brand { color: var(--color-surface); }
.night .ad-tool-brand:hover { color: var(--color-accent-2); }
.ad-tool-brand .ad-logo { width: 64px; height: 32px; border-radius: var(--radius-sm); border: 0; }
.ad-tool-brand .ad-logo img { padding: 3px; }
.ad-tool .ad-why { flex-basis: 100%; color: var(--color-on-night-muted); }
@media (min-width: 768px) { .ad-tool .ad-why { flex-basis: auto; margin-left: auto; } }

/* Where to buy: affiliate buttons, "Affiliate link" under each, no prices. */
.buy-frame { display: grid; gap: var(--space-3); justify-items: center; padding: var(--space-6); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); background: var(--color-surface); text-align: center; }
.buy-title { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; color: var(--color-text); }
.buy-intro { max-width: 60ch; font-size: var(--text-sm); color: var(--color-muted); }
.buy-actions { display: grid; justify-items: center; gap: var(--space-2); }
.buy-actions .btn .i { width: 16px; height: 16px; }
.buy-actions .aff-note { margin-top: 0; }

/* Mockup-only package notes and open slots. */
.ad-note {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-3);
  margin-bottom: var(--space-4); padding: var(--space-2) var(--space-3);
  border: 1px dashed var(--color-divider-strong); border-radius: var(--radius-sm);
  background: var(--color-bg); font-size: var(--text-xs); color: var(--color-text-2);
}
.ad-note strong { color: var(--color-text); }
.night .ad-note { background: color-mix(in oklch, var(--color-night-deep) 70%, transparent); border-color: var(--color-night-line); color: var(--color-on-night-muted); }
.night .ad-note strong { color: var(--color-surface); }
.ad-note-tag { flex: none; padding: 1px 7px; border-radius: 5px; background: var(--color-night); color: var(--color-surface); font-size: 0.6875rem; font-weight: 700; }
.night .ad-note-tag { background: var(--color-surface); color: var(--color-night); }
.ad-status { margin-left: auto; padding: 1px 8px; border-radius: var(--radius-pill); font-weight: 700; }
.ad-status.is-ok { background: var(--color-accent-100); color: var(--color-accent-ink); }
.ad-status.is-later { background: var(--color-sun-100); color: var(--color-sun-800); }
.ad-status.is-b2 { background: var(--color-rose-100); color: var(--color-rose-700); }
.ad-open { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); padding: var(--space-4) var(--space-5); border: 2px dashed var(--color-divider-strong); border-radius: var(--radius-lg); font-size: var(--text-sm); color: var(--color-muted); }
.ad-open p { flex: 1 1 20rem; }
.ad-open strong { color: var(--color-text-2); }
.night .ad-open { border-color: var(--color-night-line); color: var(--color-on-night-muted); }

/* The mockup controls: which packages show, and the notes. The page sets
   data-ads and data-ad-notes on <html>; the notes of a hidden unit hide with it. */
html[data-ad-notes="off"] .ad-note, html[data-ad-notes="off"] .ad-open { display: none; }
html[data-ads="norival"] [data-ad-kind][data-ad-status="b2"] { display: none; }
html[data-ads="launch"] [data-ad-kind]:not([data-ad-status="ok"]) { display: none; }
.mb-versions { display: inline-flex; gap: 2px; padding: 2px; border-radius: var(--radius-pill); background: var(--color-surface); border: 1px solid var(--color-divider); }
.mb-versions a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 var(--space-3); border-radius: var(--radius-pill); font-weight: 700; color: var(--color-text-2); text-decoration: none; }
.mb-versions a[aria-current="page"] { background: var(--color-night); color: var(--color-surface); }
.mb-ads { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); }
.mb-ads label { font-weight: 700; color: var(--color-text); }
.mb-ads select { min-height: 32px; padding: 0 var(--space-2); border: 1px solid var(--color-divider-strong); border-radius: var(--radius-sm); background: var(--color-surface); }
.mb-check { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.mock-bar.is-collapsed .mb-ads { display: none; }

/* The slot map (advertise.html). */
.sm-hero { padding-block: var(--space-12) var(--space-10); text-align: center; }
.sm-hero .container { display: grid; justify-items: center; gap: var(--space-4); }
.sm-hero p { max-width: 70ch; color: var(--color-on-night); }
.sm-body { display: grid; gap: var(--space-16); padding-block: var(--space-12) var(--space-16); }
/* Grid items default to min-width: auto, which let a wide table stretch its section past a phone screen. */
.sm-body > * { min-width: 0; }
.sm-grid { display: grid; gap: var(--space-6); }
.sm-card { display: grid; gap: var(--space-5); padding: var(--space-6); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); background: var(--color-surface); scroll-margin-top: calc(var(--head-h) + 24px); }
.sm-card > .stack { display: contents; }
.sm-card h3 { order: -2; font-size: var(--text-h3); }
.sm-card .sm-shot { order: -1; }
.sm-card .facts > div { grid-template-columns: 8rem minmax(0, 1fr); }
.sm-card .facts dd { text-align: left; font-weight: 600; }
@media (min-width: 981px) { .sm-card .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-10); } }
.night code { background: var(--color-night-raise); color: var(--color-on-night); }
.sm-shot { border: 1px solid var(--color-divider); border-radius: var(--radius-md); overflow: hidden; background: var(--color-bg); }
.sm-shot img { width: 100%; }
.sm-shot-empty { display: grid; place-items: center; min-height: 160px; padding: var(--space-6); font-size: var(--text-sm); color: var(--color-muted); text-align: center; }
.sm-rules { display: grid; gap: var(--space-6); }
@media (min-width: 981px) { .sm-rules { grid-template-columns: 1fr 1fr; } }
.sm-rules ol, .sm-rules ul { display: grid; gap: var(--space-2); padding-left: 1.2em; }
.sm-table { min-width: 720px; }
.sm-table td, .sm-table th { white-space: normal; vertical-align: top; }
/* Extra space above a paid unit, so it never reads as the end of the table or list above it. */
.hub-section > .ad, .hub-section > .buy, .hub-section > .ad-open { margin-top: var(--space-6); }

/* ══ The simple version (simple.html) ═══════════════════════════════════════════
   For people new to electric cars: six sections, bigger body text, one card
   per question, and one green action (find an installer). Same tokens. */
.sv-checked { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; font-size: var(--text-sm); color: var(--color-on-night-muted); }
.sv-checked .i { color: var(--color-accent-2); }
.sv-checked time { font-weight: 700; color: var(--color-on-night); }
.sv-hero .rv-answer { font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem); }
.sv-body { display: grid; gap: clamp(64px, 5vw + 32px, 112px); padding-block: var(--space-16); }
.sv-body .hub-head p { font-size: 1.125rem; }

/* Will it suit you? One card per question, the answer in plain words. */
.sv-suits { display: grid; gap: var(--space-4); width: 100%; max-width: 1100px; margin-inline: auto; }
@media (min-width: 981px) { .sv-suits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); } }
.sv-suit { display: grid; gap: var(--space-3); align-content: start; padding: var(--space-5) var(--space-6); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); background: var(--color-surface); }
.sv-suit dt { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: var(--space-3); align-items: center; font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; color: var(--color-text); }
.sv-suit dt .i { width: 22px; height: 22px; }
.sv-suit dd { font-size: 1.0625rem; line-height: 1.6; color: var(--color-text-2); }
.sv-state { padding: 2px 10px; border-radius: var(--radius-pill); font-family: var(--font-body); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0; white-space: nowrap; }
.sv-suit.is-yes dt .i { color: var(--color-accent); }
.sv-suit.is-yes .sv-state { background: var(--color-accent-100); color: var(--color-accent-ink); }
.sv-suit.is-part dt .i { color: var(--color-sun-700); }
.sv-suit.is-part .sv-state { background: var(--color-sun-100); color: var(--color-sun-800); }
.sv-suit.is-no dt .i, .sv-suit.is-info dt .i { color: var(--color-neutral-600); }
.sv-suit.is-no .sv-state, .sv-suit.is-info .sv-state { background: var(--color-surface-2); color: var(--color-text-2); }

/* Similar chargers: two cards, the differences in plain words. */
.sv-sims { display: grid; gap: var(--space-5); width: 100%; max-width: 1100px; margin-inline: auto; }
@media (min-width: 768px) { .sv-sims { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sv-sim { grid-template-columns: 88px minmax(0, 1fr); gap: var(--space-3) var(--space-4); padding: var(--space-6); }
.sv-sim .plate-sm { max-width: 88px; }
.sv-sim-id { align-self: center; display: grid; gap: 2px; }
.sv-sim-id h3 { font-size: var(--text-h3); }
.sv-sim-id h3 a { display: inline-block; padding-block: 11px; margin-block: -11px; color: var(--color-text); text-decoration: none; }
.sv-sim-id h3 a:hover { color: var(--color-accent-ink); text-decoration: underline; }
.sv-sim-both, .sv-sim-diffs, .sv-sim > .small { grid-column: 1 / -1; }
.sv-sim-both { font-size: 1rem; color: var(--color-text-2); }
.sv-sim-diffs { list-style: none; display: grid; gap: var(--space-2); padding-top: var(--space-3); border-top: 1px solid var(--color-divider); }
.sv-sim-diffs li { font-weight: 600; color: var(--color-text); }
.sv-sim-diffs li span { display: block; font-weight: 400; font-size: var(--text-sm); color: var(--color-muted); }
.sv-more-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-2) var(--space-6); }
.sv-more-links .link-arrow .i { width: 16px; height: 16px; }

/* What charging costs: three readings. */
.sv-costs { display: grid; gap: var(--space-4); width: 100%; max-width: 1000px; margin-inline: auto; }
@media (min-width: 768px) { .sv-costs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sv-costs > div { display: grid; gap: var(--space-2); align-content: start; padding: var(--space-5) var(--space-6); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); background: var(--color-surface); text-align: center; }
.sv-costs dt { font-size: var(--text-sm); font-weight: 700; color: var(--color-muted); }
.sv-costs dd { display: grid; gap: 4px; font-family: var(--font-figure); font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.375rem); font-weight: 800; letter-spacing: -0.03em; color: var(--color-text); font-variant-numeric: tabular-nums; }
.sv-costs dd small { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500; letter-spacing: 0; color: var(--color-muted); }
.sv-costs .is-good { border-color: var(--color-accent-300); background: var(--color-accent-100); }
.sv-costs .is-good dd { color: var(--color-accent-ink); }

/* Getting it installed: three steps, then the postcode band. */
@media (min-width: 981px) { .sv-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1100px; gap: var(--space-8); } }
@media (min-width: 981px) and (max-width: 1099px) { .sv-steps li { grid-template-columns: 1fr; } .sv-steps li::before { grid-row: auto; margin-bottom: var(--space-2); } }
.sv-steps p { font-size: 1rem; }
.sv-band-h { font-size: var(--text-h2); }

/* Want every detail? */
.sv-more { display: grid; justify-items: center; gap: var(--space-4); width: 100%; max-width: 860px; margin-inline: auto; padding: var(--space-8) var(--space-6); border-radius: var(--radius-xl); background: var(--color-surface-2); text-align: center; }
.sv-more h2 { font-size: var(--text-h3); }
.sv-more p { max-width: 60ch; color: var(--color-text-2); }
.sv-ai { justify-items: center; padding-top: var(--space-4); border-top: 1px solid var(--color-divider-strong); width: 100%; }
.sv-ai ul { justify-content: center; }
.sv-ai .ai-btn { min-height: var(--target); padding: 0 var(--space-4); }
/* The checked line flows as one sentence on phones. */
.sv-checked { display: block; max-width: 60ch; text-align: center; }
.sv-checked .i { display: inline-block; vertical-align: -2px; margin-right: 4px; }

/* ══ The hybrid version (hybrid.html) ══════════════════════════════════════════
   The simple page's cards and plain words, with the depth back: 3D icons and
   small data graphics on "Will it suit you?", the full review behind "Read
   more", the specs, the standard comparison cards and a spec table picker. */

/* Will it suit you?, with graphics: the icon sits on a soft mint disc. */
.hv-suit dt { grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: var(--space-4); row-gap: 6px; align-items: center; }
.hv-3d {
  grid-row: 1 / span 2; width: 72px; height: 72px; object-fit: contain; padding: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 62%, var(--color-plate-2) 0 52%, var(--color-plate-1) 53% 70%, transparent 71%);
}
@media (min-width: 768px) { .hv-suit dt { grid-template-columns: 84px minmax(0, 1fr); } .hv-3d { width: 84px; height: 84px; } }
.hv-q { align-self: end; }
.hv-suit .sv-state { display: inline-flex; align-items: center; gap: 4px; justify-self: start; align-self: start; }
.hv-suit .sv-state .i { width: 14px; height: 14px; }
.hv-suit dd { display: grid; gap: var(--space-3); }
.hv-logos { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
.hv-logos li { display: grid; justify-items: center; gap: 4px; padding: var(--space-2); border: 1px solid var(--color-divider); border-radius: var(--radius-md); text-align: center; font-size: var(--text-xs); font-weight: 600; color: var(--color-text-2); }
.hv-logo { display: grid; place-items: center; width: 72px; height: 36px; }
.hv-logo img { width: 100%; height: 100%; object-fit: contain; }
.hv-mark { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; }
.hv-logos .is-on { border-color: var(--color-accent-300); background: var(--color-accent-100); }
.hv-logos .is-on .hv-mark { color: var(--color-accent-ink); }
.hv-logos .is-off { background: var(--color-surface-2); }
.hv-logos .is-off .hv-logo { filter: grayscale(1); opacity: 0.5; }
.hv-logos .is-off .hv-mark { color: var(--color-muted); }
.hv-chips .chip { white-space: normal; }
.hv-years { display: grid; gap: 4px; }
.hv-years-track { position: relative; height: 10px; border-radius: 4px; background: var(--color-surface-2); overflow: hidden; }
.hv-years-fill { position: absolute; inset: 0 auto 0 0; width: var(--v, 0%); border-radius: 4px; background: var(--color-accent); }
.hv-years-scale { display: flex; justify-content: space-between; gap: var(--space-3); font-size: var(--text-xs); color: var(--color-muted); }

/* In detail: the first paragraph, then "Read more". */
.hv-rest[hidden="until-found"] { display: block !important; content-visibility: hidden; }
.hv-review.is-collapsed .hv-lead { position: relative; }
.hv-review.is-collapsed .hv-lead::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 32px; background: linear-gradient(transparent, var(--color-bg)); pointer-events: none; }
.hv-reveal-row { display: grid; justify-items: center; gap: var(--space-2); text-align: center; }
.hv-reveal .i { width: 18px; height: 18px; transition: transform var(--dur-state) var(--ease-out); }
.hv-reveal[aria-expanded="true"] .i { transform: rotate(180deg); }
.hv-reveal-meta { font-size: var(--text-sm); color: var(--color-muted); }

/* Compare by specification. */
.hv-cmp { display: grid; gap: var(--space-5); margin-top: var(--space-6); }
.hv-cmp-h { text-align: center; font-size: var(--text-h3); }
.hv-picks { display: grid; gap: var(--space-4); width: 100%; max-width: 1100px; margin-inline: auto; padding: var(--space-5); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); background: var(--color-surface); }
.hv-picks-intro { text-align: center; color: var(--color-text-2); }
.hv-picks-row { display: grid; gap: var(--space-3); }
@media (min-width: 768px) { .hv-picks-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hv-pick-field label { font-size: var(--text-sm); font-weight: 700; color: var(--color-text); }
.hv-picks-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-2) var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--color-divider); }
.hv-diff { min-height: var(--target); color: var(--color-text); }
.hv-diff input { width: 20px; height: 20px; }
.hv-picks-foot .link-arrow .i { width: 16px; height: 16px; }
.hv-sources { width: 100%; max-width: 860px; margin-inline: auto; }
/* Supplier logos sit on a white tile, whatever the card behind them. */
.hv-logo { padding: 3px; border-radius: 6px; background: var(--color-surface); }

/* ══ Keyword-led headings (keywords.mjs) ═════════════════════════════════════
   The H1 is "{name} EV charger review" on every version; other names a charger
   is sold under sit just below it, and the simple version keeps its tone in a
   kicker above. Comparison cards and tables say "{name} vs ..." in words. */
.rv-kicker { font-size: var(--text-sm); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent-2); }
.rv-aka { margin-top: calc(var(--space-2) * -1); font-size: var(--text-sm); font-weight: 600; color: var(--color-on-night-muted); }
.scard-vs { display: block; margin-bottom: 2px; font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0; color: var(--color-muted); }
.cmp-vs-h { margin-top: var(--space-8); text-align: center; font-size: var(--text-h3); }
.cmp-vs-note { max-width: 70ch; margin: var(--space-2) auto var(--space-4); text-align: center; color: var(--color-text-2); }

/* Hybrid "Is it right for you?": the questions are real headings now. */
.hv-suit-top { display: grid; grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: var(--space-4); row-gap: 6px; align-items: center; }
@media (min-width: 768px) { .hv-suit-top { grid-template-columns: 84px minmax(0, 1fr); } }
.hv-suit-top .hv-q { margin: 0; font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; color: var(--color-text); }
.hv-suit-body { display: grid; gap: var(--space-3); font-size: 1.0625rem; line-height: 1.6; color: var(--color-text-2); }

/* ══ The site's own header and footer (assets/site-chrome) ═══════════════════
   Its navigation scrolls away, as on the live site, so the dock and anchor
   offsets stop leaving room for a sticky header. Long charger names in the
   mega menu wrap instead of running into the next column (the feature branch's
   "Hive EV Charger (Sync Energy Wall Charger 2)" would overflow on the site too). */
html:has(header.site-chrome) { --head-h: 0px; }
.site-chrome .mega-group a { white-space: normal; overflow-wrap: anywhere; }

/* ══ Owner changes, 11 October 2026 (evening) ════════════════════════════════
   "Is it right for you?" as three by three; the installer band's single
   button to the directory; the homepage charger slider at the foot. */
@media (min-width: 768px) { .hv-suits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .hv-suits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); max-width: 1180px; }
  .hv-suits .sv-suit { padding: var(--space-5); }
  .hv-suit-top { grid-template-columns: 64px minmax(0, 1fr); }
  .hv-suits .hv-3d { width: 64px; height: 64px; padding: 4px; }
  .hv-suit-top .hv-q { font-size: 1.0625rem; }
  .hv-suit-body { font-size: 1rem; }
  .hv-logos { gap: 6px; }
  .hv-logo { width: 60px; height: 30px; }
}
.rv-band-btn { justify-self: center; align-self: center; }
.tp-section { width: 100%; max-width: 1240px; margin-inline: auto; }
.tp-section .tp-card.is-current { border-color: var(--teal); }
.tp-section { grid-template-columns: minmax(0, 1fr); }
.tp-section .tp-slider { min-width: 0; }
/* The slider's card names: 44 px tap areas without changing the look. */
.tp-section .tp-name a { display: inline-block; padding-block: 11px; margin-block: -11px; }

/* ══ Owner changes, 24 October 2026 ══════════════════════════════════════════
   The review text runs the full width of the tables above it; similar chargers
   use the standard charger card in a grid; the cost calculator's time line. */
.hv-review.rv-prose { max-width: none; }
.tp-grid { list-style: none; display: grid; gap: 16px; margin: 0; padding: 0; }
@media (min-width: 768px) { .tp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tp-grid .tp-card { flex: none; }
.hv-cost-time { padding-top: var(--space-4); border-top: 1px solid var(--color-night-line); }
.hv-cost-time dt { font-size: var(--text-sm); color: var(--color-on-night-muted); }
.hv-cost-time dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2); }
.hv-cost-time small, .hv-cost-note { font-size: var(--text-xs); color: var(--color-on-night-muted); }

/* ══ One width all the way down (owner, 24 October 2026) ═════════════════════
   Every section on the hybrid page lines up with the "Is it right for you?"
   cards: 1180 px wide, centred. Headings keep their own reading width. */
[data-page-type="charger-hybrid"] .hub-section > :not(.hub-head),
[data-page-type="charger-hybrid"] .hv-picks,
[data-page-type="charger-hybrid"] .hv-sources,
[data-page-type="charger-hybrid"] .faq,
[data-page-type="charger-hybrid"] .sv-steps,
[data-page-type="charger-hybrid"] .tp-section,
[data-page-type="charger-hybrid"] .rv-band { width: 100%; max-width: 1180px; margin-inline: auto; }
[data-page-type="charger-hybrid"] .hv-cmp > *:not(.hv-cmp-h) { width: 100%; max-width: 1180px; margin-inline: auto; }
[data-page-type="charger-hybrid"] #faq .faq { max-width: 1180px !important; }
