:root {
  --bg: #F6F6F4; --surface: #FFFFFF; --surface-2: #FAFAF8; --muted-bg: #F1F1EE;
  --ink: #111113; --ink-2: #4A4A52; --muted: #66666E; --faint: #A1A1A8;
  --line: #E7E7E3; --line-2: #EFEFEC; --line-3: #DCDCD7;
  --accent: #5B21B6; --accent-bg: #F1ECFB; --accent-line: #5B21B6;
  --warn: #9A3412; --warn-bg: #FDF3E7; --run: #1D4ED8; --run-bg: #EAF0FE; --ok: #15803D;
  --btn: #111113; --btn-ink: #FFFFFF; --live-bg: #111113; --live-ink: #FFFFFF; --live-muted: #C9C9CF;
  --hatch-1: #E4E4E0; --hatch-2: #F6F6F4;
  --shadow: 0 1px 2px rgba(17,17,19,.12);
  color-scheme: light;
}
:root { --vA: #2563EB; --vA-bg: #E6EEFD; --vB: #B45309; --vB-bg: #FDF0DC; --vC: #0F766E; --vC-bg: #DDF3F0;
  --vD: #BE185D; --vD-bg: #FCE4EF; --vE: #4D7C0F; --vE-bg: #E9F2DA; --vF: #475569; --vF-bg: #E9EDF2;
  --vG: #6D28D9; --vG-bg: #EEE7FB; --vH: #0E7490; --vH-bg: #DDF1F6; }
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E0E10; --surface: #17171A; --surface-2: #1B1B1F; --muted-bg: #232327;
    --ink: #F2F2F3; --ink-2: #C9C9CF; --muted: #A1A1A8; --faint: #6E6E76;
    --line: #26262B; --line-2: #232327; --line-3: #33333A;
    --accent: #C4B1F7; --accent-bg: #2A2140; --accent-line: #9B7FEA;
    --warn: #F5A97F; --warn-bg: #3A2416; --run: #93B4FA; --run-bg: #172440; --ok: #4ADE80;
    --btn: #F2F2F3; --btn-ink: #0E0E10; --live-bg: #1C1726; --live-ink: #F2F2F3; --live-muted: #A1A1A8;
    --hatch-1: #2A2A2F; --hatch-2: #17171A;
    --shadow: 0 1px 2px rgba(0,0,0,.5);
    --vA: #8AB0FA; --vA-bg: #172440; --vB: #F5B971; --vB-bg: #3A2A12; --vC: #5EC9BC; --vC-bg: #12302D;
    --vD: #F28DBA; --vD-bg: #3A1628; --vE: #A3CF5F; --vE-bg: #24301A; --vF: #A5B4C8; --vF-bg: #242B35;
    --vG: #C4B1F7; --vG-bg: #2A2140; --vH: #67CBE0; --vH-bg: #12303A;
    color-scheme: dark;
  }
}
.v-A { --c: var(--vA); --cb: var(--vA-bg); } .v-B { --c: var(--vB); --cb: var(--vB-bg); }
.v-C { --c: var(--vC); --cb: var(--vC-bg); } .v-D { --c: var(--vD); --cb: var(--vD-bg); }
.v-E { --c: var(--vE); --cb: var(--vE-bg); } .v-F { --c: var(--vF); --cb: var(--vF-bg); }
.v-G { --c: var(--vG); --cb: var(--vG-bg); } .v-H { --c: var(--vH); --cb: var(--vH-bg); }

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font-family: Onest, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 15px; line-height: 1.4;
  -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.015em; }
button, input, select { font: inherit; color: inherit; }
.tn { font-variant-numeric: tabular-nums; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.muted { color: var(--muted); }
.hidden { display: none !important; }

/* шапка */
.top { height: 60px; display: flex; align-items: center; gap: 32px; padding: 0 48px; background: var(--surface);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: var(--bg);
  display: flex; align-items: center; justify-content: center; }
.brand b { font-size: 16px; }
.brand small { white-space: nowrap; font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; }
.nav { display: flex; gap: 4px; }
.nav a { font-size: 14px; font-weight: 500; text-decoration: none; padding: 8px 12px; border-radius: 8px; color: var(--muted); }
.nav a.on { background: var(--muted-bg); color: var(--ink); }
.nav a:hover { color: var(--ink); }
.grow { flex-grow: 1; }
.api-state { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 4px; background: var(--faint); flex-shrink: 0; }
.dot.ok { background: var(--ok); } .dot.bad { background: var(--warn); }
.dry { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--warn-bg); color: var(--warn); }

.page { max-width: 1440px; margin: 0 auto; padding: 32px 48px 64px; display: flex; flex-direction: column; gap: 24px; }
.page-head { display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.page-head h1 { font-size: 32px; font-weight: 700; letter-spacing: -0.025em; }
.page-head p { margin: 6px 0 0; color: var(--muted); }
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs a { text-decoration: none; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: 10px; border: 0; background: var(--btn); color: var(--btn-ink); font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { opacity: .88; }
.btn.ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line-3); }
.btn.small { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn.big { min-height: 52px; font-size: 15px; border-radius: 12px; width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn:focus-visible, .seg button:focus-visible, .tab:focus-visible, input:focus-visible { outline: 2px solid var(--accent-line); outline-offset: 2px; }

.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--muted-bg); flex-wrap: wrap; }
.seg button { min-height: 36px; padding: 0 14px; border-radius: 8px; border: 0; background: transparent;
  color: var(--ink-2); font-size: 13px; font-weight: 600; cursor: pointer; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.pad { padding: 20px 24px; }
.card h2 { font-size: 17px; font-weight: 600; }
.card h3 { font-size: 15px; font-weight: 600; }
.sub { font-size: 13px; color: var(--muted); margin-top: 2px; }

.pill { display: inline-flex; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill-run { background: var(--run-bg); color: var(--run); }
.pill-win { background: var(--accent-bg); color: var(--accent); }
.pill-low { background: var(--warn-bg); color: var(--warn); }
.pill-done, .pill-plan { background: var(--muted-bg); color: var(--ink-2); }

.badge { display: inline-flex; font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 6px; }
.badge.leader { background: var(--accent-bg); color: var(--accent); }
.badge.worse { background: var(--warn-bg); color: var(--warn); }
.badge.same, .badge.nodata { background: var(--muted-bg); color: var(--ink-2); }

/* список тестов */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kpi { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.kpi .v { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.kpi .l, .kpi .n { font-size: 13px; color: var(--muted); }
.two { display: flex; gap: 24px; align-items: flex-start; }
.two > .main { flex-grow: 1; min-width: 0; }
.two > .side { width: 340px; flex-shrink: 0; }
.meta.mono { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tabs { display: flex; gap: 6px; padding: 14px 20px; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.tab { min-height: 36px; padding: 0 12px; border-radius: 8px; border: 0; background: transparent; font-size: 13px;
  font-weight: 600; cursor: pointer; }
.tab span { color: var(--muted); font-weight: 500; }
.tab.on { background: var(--btn); color: var(--btn-ink); }
.tab.on span { color: inherit; opacity: .7; }
.trow { display: grid; grid-template-columns: 188px minmax(180px, 1fr) 150px 170px 130px; gap: 18px; align-items: center;
  padding: 16px 20px; border-bottom: 1px solid var(--line-2); text-decoration: none; }
a.trow:hover { background: var(--surface-2); }
.trow.head { padding: 10px 20px; font-size: 12px; color: var(--muted); }
.thumbs { display: flex; gap: 6px; }
.thumb { width: 32px; height: 42px; border-radius: 6px; overflow: hidden; background: var(--cb); position: relative; flex-shrink: 0; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb b { position: absolute; left: 2px; bottom: 2px; font-size: 9px; line-height: 1; padding: 2px 3px; border-radius: 3px;
  background: var(--surface); color: var(--c); font-family: 'JetBrains Mono', monospace; }
.thumb.lead { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }
.ttl { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta { font-size: 12px; color: var(--muted); margin-top: 4px; }
.bar { height: 6px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 3px; background: var(--ink); }
.bar.gray > i { background: var(--faint); }
.up { color: var(--accent); font-weight: 600; font-size: 13px; }
.up.neg { color: var(--warn); }
.empty { padding: 56px 24px; text-align: center; color: var(--muted); display: flex; flex-direction: column; gap: 16px; align-items: center; }

.feed { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.ev { display: flex; gap: 12px; }
.ev .t { font-size: 12px; color: var(--muted); width: 74px; flex-shrink: 0; padding-top: 2px; }
.ev .dot { margin-top: 6px; background: var(--ink); }
.ev .dot.ok { background: var(--ink); } .ev .dot.info { background: var(--faint); } .ev .dot.warn,
.ev .dot.error { background: var(--warn); } .ev .dot.win { background: var(--accent-line); }
.ev .x { font-size: 14px; line-height: 1.35; }
.ev .s { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* страница теста */
.head-test { display: flex; gap: 20px; align-items: center; flex-grow: 1; min-width: 0; }
.cover { width: 64px; height: 84px; border-radius: 10px; overflow: hidden; background: var(--muted-bg); flex-shrink: 0; }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chips { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); flex-wrap: wrap; margin-top: 6px; }
.verdict { display: flex; gap: 20px; align-items: center; padding: 22px 24px; }
.verdict .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-bg); color: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.verdict .t { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.verdict .x { color: var(--ink-2); margin-top: 4px; }
.verdict .more { padding-left: 24px; border-left: 1px solid var(--line-2); text-align: right; flex-shrink: 0; }
.verdict .more b { font-size: 20px; display: block; margin: 4px 0; }
.verdict .more small { font-size: 12px; color: var(--muted); }

.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.vcard { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.vcard.lead { border: 2px solid var(--accent-line); }
.vcard .img { height: 220px; background: var(--cb); position: relative; display: block; }
.vcard .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vcard .tags { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; gap: 6px; }
.tag { font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 6px; background: var(--surface); color: var(--c); }
.tag.dark { background: #111113; color: #FFFFFF; display: inline-flex; align-items: center; gap: 6px; }
.tag.dark::before { content: ''; width: 6px; height: 6px; border-radius: 3px; background: #4ADE80; }
.tag.lead { background: #5B21B6; color: #FFFFFF; }
.vcard .body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.vcard .rate { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.vcard .rate b { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.vcard .ci { font-size: 12px; color: var(--muted); }
.mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-top: 10px; border-top: 1px solid var(--line-2); }
.mini div { font-size: 11px; color: var(--muted); }
.mini b { display: block; font-size: 13px; color: var(--ink); margin-top: 2px; }

.plot { position: relative; }
.prow { display: flex; align-items: center; height: 46px; gap: 16px; }
.prow .l { width: 32px; font-size: 13px; font-weight: 600; color: var(--c); }
.prow .track { position: relative; flex-grow: 1; height: 46px; border-bottom: 1px solid var(--line-2); }
.prow .ci-bar { position: absolute; top: 20px; height: 6px; border-radius: 3px; background: var(--c); opacity: .35; }
.prow .pt { position: absolute; top: 16px; width: 14px; height: 14px; border-radius: 7px; transform: translateX(-7px);
  border: 2px solid var(--surface); background: var(--c); }
.prow .pt.lead { box-shadow: 0 0 0 2px var(--accent-line); }
.prow .val { width: 150px; text-align: right; font-size: 13px; }
.plot .refl { position: absolute; top: 0; bottom: 26px; left: 48px; right: 166px; pointer-events: none; }
.plot .refl i { position: absolute; top: 0; bottom: 0; border-left: 1.5px dashed var(--faint); }
.plot .refl span { position: absolute; top: -18px; font-size: 11px; color: var(--ink-2); white-space: nowrap; transform: translateX(-50%); }
.plot .axis { position: relative; height: 26px; margin: 0 166px 0 48px; }
.plot .axis span { position: absolute; top: 6px; font-size: 11px; color: var(--muted); transform: translateX(-50%); }

.live { background: var(--live-bg); color: var(--live-ink); border-radius: 16px; padding: 20px; display: flex; gap: 16px; }
.live .img { width: 88px; height: 116px; border-radius: 10px; overflow: hidden; background: var(--cb); flex-shrink: 0; }
.live .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.live .k { font-size: 12px; color: var(--live-muted); display: flex; gap: 8px; align-items: center; }
.live .k::before { content: ''; width: 6px; height: 6px; border-radius: 3px; background: #4ADE80; }
.live.paused .k::before { background: #F5A97F; }
.live b { font-size: 22px; display: block; margin: 6px 0 8px; }
.live .pb { height: 4px; border-radius: 2px; background: rgba(255,255,255,.15); overflow: hidden; }
.live .pb i { display: block; height: 100%; background: currentColor; }
.live small { display: block; font-size: 13px; color: var(--live-muted); margin-top: 8px; }
.params { display: flex; flex-direction: column; gap: 10px; }
.params div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.params div span:first-child { color: var(--muted); }
.params div span:last-child { text-align: right; font-weight: 500; }

.sched { display: grid; gap: 6px; }
.sched .h { font-size: 11px; color: var(--muted); text-align: center; }
.sched .d { font-size: 13px; color: var(--ink-2); display: flex; align-items: center; }
.sched .d.today { font-weight: 700; color: var(--ink); }
.cell { height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 12px;
  font-weight: 600; color: var(--c); font-family: 'JetBrains Mono', monospace; }
.sched.dense .cell { height: 30px; border-radius: 5px; font-size: 10px; }
.cell.done { background: var(--cb); }
.cell.future { border: 1px dashed var(--line-3); background: var(--surface); }
.cell.live { background: var(--c); color: var(--surface); box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }
.cell.dirty { background: repeating-linear-gradient(135deg, var(--hatch-1) 0 3px, var(--hatch-2) 3px 6px); color: var(--muted); text-decoration: line-through; }
.legend { display: flex; gap: 20px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }

.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { font-size: 12px; font-weight: 500; color: var(--muted); text-align: right; padding: 10px 12px; background: var(--surface-2);
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.tbl td { text-align: right; padding: 14px 12px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.tbl th:first-child, .tbl td:first-child { text-align: left; padding-left: 24px; }
.tbl th:last-child, .tbl td:last-child { padding-right: 24px; }
.tbl tr.lead td { background: var(--accent-bg); }
.tbl tr.base td { color: var(--ink-2); border-bottom: 0; }
.tbl td.l { font-weight: 600; color: var(--c); font-family: 'JetBrains Mono', monospace; }
.scroll-x { overflow-x: auto; }

.finish { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.notice { font-size: 13px; line-height: 1.45; padding: 12px 14px; border-radius: 10px; background: var(--warn-bg); color: var(--warn); }
.notice.info { background: var(--muted-bg); color: var(--ink-2); }

/* новый тест */
.step { display: flex; align-items: center; gap: 12px; }
.step .n { width: 26px; height: 26px; border-radius: 13px; background: var(--ink); color: var(--bg); font-size: 12px;
  font-weight: 600; display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; }
.input { height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-3); background: var(--surface); font-size: 15px; }
.product { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2); }
.product img { width: 54px; height: 72px; border-radius: 8px; object-fit: cover; background: var(--muted-bg); }
.product .nums { display: flex; gap: 24px; }
.product .nums div { text-align: right; font-size: 12px; color: var(--muted); }
.product .nums b { display: block; font-size: 16px; color: var(--ink); margin-top: 2px; }
.upgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.up-tile { display: flex; flex-direction: column; gap: 8px; }
.up-tile .img { height: 164px; border-radius: 12px; overflow: hidden; background: var(--cb); position: relative; }
.up-tile .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.up-tile .img.ctl { box-shadow: inset 0 0 0 2px var(--ink); }
.up-tile .tag { position: absolute; top: 8px; left: 8px; font-family: 'JetBrains Mono', monospace; }
.up-tile .rm { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 8px; border: 0;
  background: var(--surface); color: var(--ink-2); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.up-tile .cap { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up-tile .ctl-tag { position: absolute; bottom: 8px; left: 8px; font-size: 11px; font-weight: 600; padding: 3px 7px;
  border-radius: 6px; background: #111113; color: #FFFFFF; }
.drop { height: 164px; border-radius: 12px; border: 1.5px dashed var(--line-3); background: var(--surface-2); color: var(--ink-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; text-align: center; }
.drop.over { border-color: var(--accent-line); background: var(--accent-bg); }
.drop small { font-size: 12px; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: center; font-size: 14px; cursor: pointer; flex-wrap: wrap; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.preview { display: flex; gap: 4px; }
.preview div { flex: 1 1 0; min-width: 0; height: 48px; border-radius: 8px; background: var(--cb); color: var(--c);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 12px; font-weight: 600; }
.preview div small { font-size: 10px; color: var(--ink-2); font-weight: 400; }
.preview.dense div { border-radius: 5px; font-size: 10px; }
.big-num { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; }
.hbar { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.hbar .lbl { width: 60px; color: var(--ink-2); }
.hbar .lbl.on { font-weight: 700; color: var(--ink); }
.hbar .trk { flex-grow: 1; height: 8px; border-radius: 4px; background: var(--muted-bg); overflow: hidden; }
.hbar .trk i { display: block; height: 100%; border-radius: 4px; background: #C9C9C4; }
.hbar .trk i.on { background: var(--ink); } .hbar .trk i.bad { background: #E8B98A; }
.hbar .v { width: 48px; text-align: right; font-weight: 600; }
.hbar .v.bad { color: var(--warn); }
.kv { display: flex; justify-content: space-between; font-size: 14px; gap: 12px; }
.kv span:first-child { color: var(--muted); }
.spinner { width: 16px; height: 16px; border-radius: 8px; border: 2px solid var(--line-3); border-top-color: var(--ink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.col { display: flex; flex-direction: column; }
.gap8 { gap: 8px; } .gap12 { gap: 12px; } .gap16 { gap: 16px; } .gap20 { gap: 20px; } .gap24 { gap: 24px; }
.row { display: flex; align-items: center; } .wrap { flex-wrap: wrap; }

/* вход */
.login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px; }
.login form { width: 100%; max-width: 380px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.err { color: var(--warn); font-size: 14px; }

@media (max-width: 1100px) {
  .two { flex-direction: column; }
  .two > .side { width: 100%; }
  .trow { grid-template-columns: 150px minmax(0, 1fr) 150px; }
  .trow > :nth-child(4), .trow > :nth-child(5) { display: none; }
}
@media (max-width: 720px) {
  .top { padding: 0 16px; gap: 8px; }
  .top .api-state, .brand small, .brand b, .top .dry { display: none; }
  .kpi { padding: 14px 16px; }
  .kpi .row { flex-wrap: wrap; }
  .kpi .v { font-size: 26px; }
  html, body { overflow-x: hidden; }
  .page { padding: 20px 16px 96px; gap: 16px; }
  .page-head h1 { font-size: 26px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trow { grid-template-columns: minmax(0, 1fr) auto; }
  .trow > :first-child, .trow.head { display: none; }
  .verdict { flex-direction: column; align-items: flex-start; }
  .verdict .more { border-left: 0; padding-left: 0; text-align: left; }
  .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vcard .img { height: 150px; }
  .prow .val { width: 96px; } .plot .refl, .plot .axis { right: 112px; margin-right: 112px; }
  .product { flex-wrap: wrap; }
  .head-test .cover { display: none; }
  .pad { padding: 16px; }
}
