/* Autometr — technical look, component layer (loaded after app.css and stk.css).
   Rules: hairlines (1px) instead of thick Swiss bars, mono caps for every label and figure, square corners with tick
   marks on panels, a measuring grid on the page, signal orange only for marks and the key figure. */

/* ==========================================================================
   Page, grid, typography
   ========================================================================== */

body {
    background-color: var(--bg);
    line-height: 1.6;
}

h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.015em; line-height: 1.08; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }

a { text-underline-offset: 3px; }

/* every caps label is mono */
.kicker, .stat__label, .crumbs, .nav__link, .chip, .btn,
.data-table thead th, .site-footer__title, .card__kicker,
.menu__title, .filters label, .pill, .demo-notice,
.search__submit, .hero__hints, .chart__legend, .source,
.more-link, .hero__figure-label, .suggest__meta, .panel__sub,
.tag, .share__label, .radar__legend, .scale-legend, .bars__value, .heat__day, .heat__hour, .grade__text {
    font-family: var(--mono);
    letter-spacing: .04em;
}
.kicker, .stat__label, .crumbs, .nav__link, .chip, .btn, .data-table thead th, .site-footer__title,
.menu__title, .hero__figure-label, .more-link, .search__submit, .share__label {
    font-weight: 500;
    font-size: var(--step--2);
    text-transform: uppercase;
}

/* figures: mono, tabular */
.num, .data-table td.num, .stat__value, .hero__figure-value, .rank-mini strong, .kv dd, .bars__value,
.charge-hero__num, .rank-pos, .grade__letter {
    font-family: var(--mono);
    font-variant-numeric: tabular-nums;
}

.kicker { color: var(--muted); }
.kicker::before { content: "// "; color: var(--accent); }
.lead { color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; }
.note { color: var(--muted); }
.source { color: var(--muted); font-size: var(--step--2); line-height: 1.6; }
.source::before { content: "SRC › "; color: var(--accent); font-weight: 600; }

code, kbd { font-family: var(--mono); }

/* ==========================================================================
   Notice, header, navigation, footer
   ========================================================================== */

.demo-notice {
    padding: 7px 0;
    border-bottom: 1px solid rgb(255 176 32 / .35);
    background: repeating-linear-gradient(-45deg, #15120a 0 12px, #1a160b 12px 24px);
    color: #e9c46a;
    font-size: var(--step--2);
    letter-spacing: .03em;
}
.demo-notice .wrap::before { content: "⚠ MVP "; font-weight: 700; }
.demo-notice a { color: #ffd27a; }

.site-header {
    background: light-dark(rgb(255 255 255 / .92), rgb(10 13 17 / .92));
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line-strong);
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .site-header { border-bottom-width: 1px; }
}
.site-header__inner { min-height: 64px; }

.brand__mark { color: var(--ink); }
.brand__name { font-family: var(--mono); font-size: .86rem; font-weight: 600; letter-spacing: .12em; }
.brand__name em { color: var(--accent); font-weight: 600; }
.brand__mark { width: 32px; height: 32px; }

.nav__link { padding: 6px 2px; border-bottom: 1px solid transparent; letter-spacing: .06em; }
.nav__link[aria-current="page"] { border-bottom-color: var(--accent); color: var(--ink); }
.nav__link[aria-current="page"]::before { content: "▸ "; color: var(--accent); }

.search__field { height: 36px; padding: 0 10px; border: 1px solid var(--line-strong); border-bottom-width: 1px; background: var(--surface); }
.search__field:focus-within { border-color: var(--accent); }
.search__input { font-family: var(--mono); font-size: var(--step--1); }
.search--hero .search__field { height: 58px; padding: 0 0 0 16px; background: rgb(255 255 255 / .03); }
.search--hero .search__input { font-family: var(--sans); }
.search__submit { height: 100%; border: 0; border-left: 1px solid currentColor; letter-spacing: .08em; }
.search__submit::after { content: " ↵"; }
.suggest { border: 1px solid var(--accent); box-shadow: 0 12px 32px rgb(0 0 0 / .25); }
.suggest__name { font-weight: 500; }

.menu { border-left: 1px solid var(--accent); }
.menu__link { font-family: var(--mono); font-size: var(--step-1); font-weight: 500; letter-spacing: 0; }
.menu__link::before { content: "› "; color: var(--accent); }

.site-footer {
    border-top: 1px solid var(--noir-line);
    background-color: var(--noir);
}
.site-footer__title::before { content: "[ "; color: var(--accent); }
.site-footer__title::after { content: " ]"; color: var(--accent); }
.site-footer__bottom { font-family: var(--mono); font-size: var(--step--2); }

/* ==========================================================================
   Hero and page heads
   ========================================================================== */

.hero {
    position: relative;
    border-top: 0;
    border-bottom: 1px solid var(--noir-line);
    background-color: var(--noir);
    background-image:
        radial-gradient(1200px 400px at 85% 0%, rgb(255 122 31 / .10), transparent 60%);
}
.hero::after {
    /* scale ruler along the bottom edge */
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0; height: 10px;
    background: repeating-linear-gradient(90deg, rgb(170 190 210 / .35) 0 1px, transparent 1px 12px);
    -webkit-mask: linear-gradient(transparent 40%, #000 40%);
    mask: linear-gradient(transparent 40%, #000 40%);
    pointer-events: none;
}
.hero h1 { font-weight: 600; letter-spacing: -.03em; line-height: 1; font-size: var(--step-5); }
.hero h1 em { color: var(--accent); }
.hero .kicker { color: var(--on-noir-muted); }
.hero .lead { color: var(--on-noir-muted); }
.hero .search__field { border-color: var(--noir-line); }
.hero .search__field:focus-within { border-color: var(--accent); }
.hero__figure {
    position: relative;
    padding: var(--s-5);
    border: 1px solid var(--noir-line);
    border-left: 1px solid var(--noir-line);
    background: rgb(255 255 255 / .02);
}
.hero__figure-label { color: var(--on-noir-muted); }
.hero__figure-label::before { content: "● "; color: var(--good); }
.hero__figure-value { font-weight: 600; letter-spacing: -.04em; color: var(--accent); }
.hero__figure-value span { font-family: var(--mono); }
.hero__hints a { font-family: var(--mono); font-weight: 500; text-transform: none; letter-spacing: 0; }

.page-head { border-bottom: 1px solid var(--line-strong); background: linear-gradient(var(--surface), transparent); }
.page-head h1 { font-weight: 600; }

/* ==========================================================================
   Corner ticks: panels, cards, KPI blocks, CTA, figures
   ========================================================================== */

.panel, .card, .kpis, .cta, .empty, .hero__figure, .grade, .chart, .charge-map, .finder .search__field {
    --tick: var(--accent);
    background-image:
        linear-gradient(var(--tick), var(--tick)), linear-gradient(var(--tick), var(--tick)),
        linear-gradient(var(--tick), var(--tick)), linear-gradient(var(--tick), var(--tick)),
        linear-gradient(var(--tick), var(--tick)), linear-gradient(var(--tick), var(--tick)),
        linear-gradient(var(--tick), var(--tick)), linear-gradient(var(--tick), var(--tick));
    background-repeat: no-repeat;
    background-size: 10px 1px, 1px 10px, 10px 1px, 1px 10px, 10px 1px, 1px 10px, 10px 1px, 1px 10px;
    background-position: 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%;
}

/* ==========================================================================
   Section heads (numbered), panels, KPIs
   ========================================================================== */

main { counter-reset: section; }
.section-head {
    counter-increment: section;
    padding: var(--s-4) 0 var(--s-3);
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px dashed var(--line);
}
.section-head .kicker { color: var(--accent); }
.section-head .kicker::before { content: counter(section, decimal-leading-zero) " // "; color: var(--muted); }
.section-head h2 { font-size: var(--step-2); }

.more-link { border-bottom: 1px solid transparent; }
.more-link::after { content: " →"; }
.more-link span[aria-hidden] { display: none; }

.panel { padding: var(--s-5); border: 1px solid var(--line-strong); background-color: var(--surface); }
.panel__title { font-size: var(--step-1); font-weight: 600; }
.panel__sub { font-size: var(--step--2); }

.card { border: 1px solid var(--line-strong); background-color: var(--surface); }
a.card:hover { border-color: var(--accent); }
.card--region { padding: var(--s-4); border: 1px solid var(--line); margin: -1px 0 0 -1px; }
.card--region .card__title { font-size: var(--step-0); font-weight: 600; }
.card--region .card__text { font-family: var(--mono); font-size: var(--step--2); }
.grid--4 { gap: 0; }

.kpis {
    border: 1px solid var(--line-strong);
    background-color: var(--surface);
}
.stat { padding: var(--s-4) var(--s-5); }
.stat + .stat { padding-left: var(--s-5); border-left: 1px solid var(--line); }
.stat__label::before { content: "▪ "; color: var(--accent); }
.stat__value { font-weight: 600; letter-spacing: -.02em; font-size: clamp(1.35rem, 1.05rem + .7vw, 1.8rem); }
.stat__unit { font-family: var(--mono); font-size: var(--step--2); text-transform: uppercase; }
.stat__sub { font-family: var(--mono); font-size: var(--step--2); line-height: 1.5; }
@media (max-width: 620px) {
    .stat, .stat + .stat { padding: var(--s-3) var(--s-4); }
    .stat:nth-child(even) { border-left: 1px solid var(--line); }
}

.kv { font-family: var(--mono); font-size: var(--step--1); }
.kv dt { text-transform: uppercase; font-size: var(--step--2); letter-spacing: .05em; }
.kv dd { font-weight: 500; }

.empty { border: 1px dashed var(--line-strong); background-color: var(--surface); }
.empty__title { font-weight: 600; font-size: var(--step-1); }

.crumbs ol { gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--accent); }
.columns { font-family: var(--mono); }
.columns li { font-size: var(--step--2); }
.columns a { font-family: var(--sans); font-size: var(--step--1); }

/* ==========================================================================
   Buttons, chips, tags
   ========================================================================== */

.btn {
    min-height: 42px; padding: 0 20px;
    border: 1px solid var(--ink);
    letter-spacing: .08em;
}
.btn:hover { border-color: var(--accent); background: var(--accent); color: #0a0d11; }
.btn--ghost { background: transparent; border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }

.chips { gap: 0; }
.chip { padding: 6px 12px; border: 1px solid var(--line); margin: -1px 0 0 -1px; letter-spacing: .04em; }
.chip:hover { border-color: var(--line-strong); }
.chip[aria-current="page"] { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }

.tag { padding: 2px 7px; border-radius: 0; font-size: .7rem; font-weight: 600; letter-spacing: .03em; }

/* ==========================================================================
   Tables and rankings
   ========================================================================== */

.data-table { font-size: var(--step--1); }
.data-table thead th { border-bottom: 1px solid var(--ink); font-size: .68rem; color: var(--muted); }
.data-table th, .data-table td { padding: 9px 12px 9px 0; }
.data-table .num + :not(.num) { padding-left: 28px; } /* text after a right-aligned number must not touch it */
.data-table tbody tr:nth-child(even) { background: light-dark(rgb(14 20 27 / .02), rgb(170 190 210 / .025)); }
.data-table tbody tr:hover { background: var(--accent-soft); }
.data-table td.num { font-size: var(--step--1); }
.data-table a { font-weight: 500; }
.table-wrap { border-top: 1px solid var(--line-strong); }

.rank-pos { font-size: .95rem; font-weight: 600; }
.rank-mini li { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.rank-mini li::before { font-family: var(--mono); font-size: .78rem; font-weight: 500; }
.rank-mini strong { font-weight: 600; }

.delta--up, .delta--down, .delta--flat { font-family: var(--mono); font-size: .92em; }

/* ==========================================================================
   Charts, bars, scales
   ========================================================================== */

.chart { padding: var(--s-5); border: 1px solid var(--line); background-color: var(--surface); }
.chart__title { font-family: var(--mono); font-size: var(--step--1); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
.chart__label { font: 500 11px var(--mono); }
.chart__line { stroke-width: 1.75; }

.bars__track { height: 8px; background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 10%), var(--line); }
.bars__fill { background: var(--ink); }
.bars__mark { background: var(--accent); }
.bars__label { font-size: var(--step--1); }

.scale { height: 10px; background: linear-gradient(90deg, var(--good), var(--line-strong) 50%, var(--bad)); }
.scale__mark { background: var(--accent); width: 3px; }

.heat__cell { height: 22px; background: color-mix(in srgb, var(--accent) calc(var(--v) * 100%), var(--line)); }

.warn { border-left-color: var(--accent); font-family: var(--sans); }
.cta { border: 1px solid var(--line-strong); background-color: var(--surface); }
.cta__title { font-weight: 600; }
.cta__title::before { content: "› "; color: var(--accent); }

/* ==========================================================================
   Charger finder
   ========================================================================== */

.charge-hero__num { font-weight: 600; letter-spacing: -.06em; }
.charge-hero__unit { font-family: var(--mono); font-weight: 500; }
.grade { border-color: var(--noir-line); background-color: rgb(255 255 255 / .02); }
.grade__letter { font-weight: 700; }
.grade__text { font-size: var(--step--2); }

.radar__disc { fill: #0e1319; }
.radar__ring { stroke: rgb(120 160 200 / .22); stroke-dasharray: 2 4; }
.radar__label, .radar__compass, .radar__out { font-family: var(--mono); font-weight: 500; }
.radar__dot { fill: #3b82f6; }
.radar__dot--dc { fill: var(--accent); stroke: #0a0d11; }
.radar__dot--hpc { fill: var(--accent); stroke: #ffffff; }
.radar__home-dot { fill: var(--accent); }
.radar__link { stroke: var(--accent); }
.radar__key { border-radius: 0; }
.radar__key--dc, .radar__key--hpc { background: var(--accent); }

.tag--hpc { border-color: var(--accent); background: var(--accent); color: #0a0d11; box-shadow: none; }
.tag--dc { border-color: var(--accent); color: var(--accent); background: transparent; }

.charge-map { border: 1px solid var(--line-strong); }
.charge-map .leaflet-tile-pane { filter: grayscale(1) contrast(1.05) brightness(1.02); }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .charge-map .leaflet-tile-pane { filter: grayscale(1) invert(1) brightness(.85) contrast(.9); }
}
:root[data-theme="dark"] .charge-map .leaflet-tile-pane { filter: grayscale(1) invert(1) brightness(.85) contrast(.9); }
.leaflet-container { font-family: var(--mono); font-size: 12px; background: var(--surface); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { border-radius: 0; }

.share .btn { min-height: 38px; }

/* axis titles of the line charts */
.chart__axis-title { fill: var(--muted); font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.bars__head { color: var(--muted); font: 500 .68rem var(--mono); letter-spacing: .06em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid var(--line-strong); }
.bars__head:last-of-type { text-align: right; }
.bars__axis { display: flex; justify-content: space-between; gap: 8px; }
@media (max-width: 620px) { .bars__head { font-size: .6rem; } .bars__axis span:nth-child(2) { display: none; } }

/* a heading right after a block of panels, a table or a source note needs air above it */
.grid + h2, .grid + h3, .table-wrap + h2, .table-wrap + h3, .source + h2, .source + h3, .bars + h2, .chart + h2 {
    margin-top: var(--s-7);
}
.cta .search { max-width: 640px; }
.cta .search__input { width: 100%; }

/* Home hero: charger finder teaser on the right */
.hero__inner:has(.hero-promo) { align-items: start; }
.hero-promo {
    position: relative;
    display: grid; gap: var(--s-4);
    padding: var(--s-5);
    border: 1px solid rgb(255 122 31 / .45);
    background-color: rgb(255 122 31 / .04);
    background-image:
        linear-gradient(var(--accent), var(--accent)), linear-gradient(var(--accent), var(--accent)),
        linear-gradient(var(--accent), var(--accent)), linear-gradient(var(--accent), var(--accent));
    background-repeat: no-repeat;
    background-size: 14px 2px, 2px 14px, 14px 2px, 2px 14px;
    background-position: 0 0, 0 0, 100% 100%, 100% 100%;
    color: var(--on-noir-muted);
}
.hero-promo__badge {
    display: inline-flex; align-items: center; gap: 8px; justify-self: start; margin: 0;
    padding: 4px 10px; border: 1px solid var(--accent);
    color: var(--accent); font: 600 var(--step--2) var(--mono); letter-spacing: .08em; text-transform: uppercase;
}
.hero-promo__led { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 8px var(--good); animation: led 2s ease-in-out infinite; }
@keyframes led { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .hero-promo__led { animation: none; } }
.hero-promo__title { margin: 0; color: var(--on-noir); font-size: var(--step-2); line-height: 1.1; }
.hero-promo__title em { color: var(--accent); font-style: normal; }
.hero-promo__text { margin: 0; font-size: var(--step--1); line-height: 1.55; }
.hero-promo__text strong { color: var(--on-noir); font-weight: 600; }
.hero-promo__radar { display: block; color: inherit; text-decoration: none; }
.hero-promo__radar .radar__svg { max-width: 340px; }
.hero-promo__radar .radar__legend { display: none; }
.hero-promo__radar:hover .radar__ring { stroke: rgb(255 122 31 / .45); }
.hero-promo__sample { display: block; margin-top: 6px; color: var(--on-noir-muted); font: 500 var(--step--2) var(--mono); text-align: center; letter-spacing: .04em; }
.hero-promo .finder { gap: var(--s-3); }
.hero-promo .search--hero .search__field { height: 48px; }
.hero-promo .search--hero .search__input, .hero-promo .search--hero .search__input::placeholder { font-size: var(--step-0); }
.hero-promo .finder__locate { width: 100%; justify-self: stretch; border-color: var(--accent); background: var(--accent); color: #0a0d11; }
.hero-promo .finder__locate:hover { background: transparent; color: var(--accent); }
.hero-promo__more { margin: 0; font: 500 var(--step--2) var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.hero-promo__more a { color: var(--on-noir); }
.hero-promo__more a::after { content: " →"; color: var(--accent); }

/* clickable KPI tile: the label link covers the whole tile */
.stat--link { position: relative; transition: background .15s; }
.stat--link:hover { background: var(--accent-soft); }
.stat__link { color: inherit; text-decoration: none; }
.stat__link::after { content: ""; position: absolute; inset: 0; }
.stat--link .stat__sub::after { content: " →"; color: var(--accent); }
.stat--link:hover .stat__sub { color: var(--ink); }

/* ==========================================================================
   Phones
   ========================================================================== */

/* tables: secondary columns marked on the table (m-hide-N) disappear; what still does not fit scrolls, with a shadow
   at the edge that hints at it */
.table-wrap {
    background:
        linear-gradient(to right, var(--bg) 30%, transparent) left / 32px 100% no-repeat local,
        linear-gradient(to left, var(--bg) 30%, transparent) right / 32px 100% no-repeat local,
        radial-gradient(farthest-side at 0 50%, rgb(0 0 0 / .22), transparent) left / 12px 100% no-repeat scroll,
        radial-gradient(farthest-side at 100% 50%, rgb(0 0 0 / .22), transparent) right / 12px 100% no-repeat scroll;
}
@media (max-width: 620px) {
    .m-hide-1 tr > :nth-child(1), .m-hide-2 tr > :nth-child(2), .m-hide-3 tr > :nth-child(3), .m-hide-4 tr > :nth-child(4),
    .m-hide-5 tr > :nth-child(5), .m-hide-6 tr > :nth-child(6), .m-hide-7 tr > :nth-child(7), .m-hide-8 tr > :nth-child(8) { display: none; }
    .data-table { font-size: var(--step--2); }
    .data-table thead th, .data-table thead th.num { white-space: normal; vertical-align: bottom; }
    .data-table th, .data-table td { padding-right: 8px; }
    .data-table td.num, .data-table th.num { padding-left: 8px; }
    .data-table .num + :not(.num) { padding-left: 16px; }

    /* line charts keep a readable size and scroll sideways */
    .chart { padding: var(--s-4) var(--s-3); }
    .chart__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .chart__scroll .chart__svg { min-width: 560px; }
    .chart__label, .chart__axis-title { font-size: 13px; }

    /* ranked lists: the figure keeps its width, the name wraps */
    .rank-mini li { gap: 10px; }
    .rank-mini a { min-width: 0; overflow-wrap: anywhere; }

    .panel { padding: var(--s-4); }
    .section-head { flex-wrap: wrap; gap: var(--s-3); }
    .hero h1 { font-size: clamp(2.3rem, 11vw, 3rem); }
    .page-head h1 { font-size: clamp(1.9rem, 9vw, 2.6rem); overflow-wrap: anywhere; }
    .kv { font-size: var(--step--2); }
    .share .btn { flex: 1 1 auto; padding: 0 12px; }
}
.m-only { display: none; }
@media (max-width: 620px) { .m-only { display: inline; } }
@media (max-width: 620px) {
    .d-only { display: none; }
    .charge-list .more-link::after { content: none; }
    .nav-arrow { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--accent); color: var(--accent); font-size: 1rem; }
}
@media (max-width: 620px) { .charge-list td:first-child .nav-arrow { float: right; margin: 0 0 4px 8px; text-decoration: none; } }

/* cookie consent bar (public/js/consent.js) in the technical look */
.consent { border-top: 1px solid var(--accent); box-shadow: 0 -12px 32px rgb(0 0 0 / .18); }
.consent__title { font-family: var(--mono); font-weight: 600; letter-spacing: .08em; }
.consent__title::before { content: "// "; color: var(--accent); }
.consent__text { font-size: var(--step--1); }
.consent__actions .btn { min-height: 42px; }

/* rankings: a two-column mini list (countries) */
.rank-mini--wide { columns: 2; column-gap: var(--s-6); }
.rank-mini--wide li { break-inside: avoid; }
@media (max-width: 620px) { .rank-mini--wide { columns: 1; } }

/* station: position in the strictness ranking */
.rank-line { margin: var(--s-3) 0 0; font-family: var(--mono); font-size: var(--step--1); color: var(--muted); }
.rank-line strong { color: var(--ink); }

/* electric against combustion: home page and /elektroauta */
.versus { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-6); align-items: start; padding: var(--s-5); border: 1px solid var(--line-strong); background: var(--surface, transparent); position: relative; }
.versus::before { content: ""; position: absolute; inset: -1px auto auto -1px; width: 72px; height: 3px; background: var(--accent); }
.versus__title { margin: var(--s-2) 0 var(--s-3); font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.08; letter-spacing: -.02em; }
.versus__text { color: var(--muted); max-width: 52ch; }
.versus__text strong { color: var(--ink); }
.versus .share { margin-top: var(--s-4); }
.versus__more { margin: var(--s-4) 0 0; font-family: var(--mono); font-size: var(--step--1); }
.versus__caption { margin: 0 0 var(--s-3); color: var(--muted); font: 500 .7rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.versus__caption:not(:first-child) { margin-top: var(--s-5); }
.versus__row { display: grid; grid-template-columns: 9.5rem 1fr 4.2rem; gap: 12px; align-items: center; padding: 7px 0; }
.versus__label { font-size: var(--step--1); }
.versus__track { height: 14px; background: var(--line); }
.versus__fill { display: block; height: 100%; background: var(--muted); }
.versus__value { text-align: right; font: 600 var(--step--1) var(--mono); }
.versus__row--ev .versus__label { font-weight: 700; }
.versus__row--ev .versus__fill { background: var(--accent); }
.versus__row--ev .versus__value { color: var(--accent); }
.versus__defects { margin: 0; padding: 0; list-style: none; font-size: var(--step--1); }
.versus__defects li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.versus__defects strong { font-family: var(--mono); white-space: nowrap; }
.versus__note { margin: var(--s-4) 0 0; color: var(--muted); font-size: .78rem; }
@media (max-width: 860px) {
    .versus { grid-template-columns: 1fr; gap: var(--s-5); padding: var(--s-4); }
    .versus__row { grid-template-columns: 7.5rem 1fr 3.8rem; gap: 8px; }
}
.rank-mini strong.delta--up { color: var(--bad); }
.rank-mini strong.delta--down { color: var(--good); }
