/* Components used by more than one page: KPI ledger, chips, charts, tooltips, legends, tables, forms, empty states, the mascot. */
/* ============ KPI ledger: one panel, cells divided by rules ============ */
.kpis, .stat-strip { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.kpis { --n: 5; }
.kpi, .stat { display: grid; gap: 5px; align-content: start; min-width: 0; padding: 14px 16px 13px; border-left: 1px solid var(--line); text-decoration: none; color: inherit; }
.kpi:first-child, .stat:first-child { border-left: 0; }
a.kpi { transition: background .15s; }
a.kpi:hover { background: var(--raised); }
.kpi-top, .stat small { display: flex; align-items: center; gap: 7px; color: var(--ink-2); font-weight: 700; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-top i, .stat small i { width: 8px; height: 8px; border-radius: 2px; background: var(--sw, var(--ink)); flex: none; }
.kpi-top svg { width: 14px; height: 14px; margin-left: auto; color: var(--muted); transition: transform .2s var(--ease); }
a.kpi:hover .kpi-top svg { transform: translateX(3px); color: var(--primary-ink); }
.kpi-val { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; min-height: 36px; }
.kpi-val b, .stat b { font: 700 30px/1.15 var(--display); letter-spacing: -0.02em; white-space: nowrap; }
.stat b { display: block; font-size: 24px; overflow: hidden; text-overflow: ellipsis; }
.stat b small { display: inline; font: 500 13px var(--font); color: var(--muted); letter-spacing: 0; text-transform: none; }
.kpi-of { color: var(--muted); font-weight: 600; font-size: 13px; margin-left: -4px; }
.kpi > small { color: var(--muted); font-size: 12px; min-height: 17px; }
.stat-strip:empty { display: none; }
.pill { font-size: 12px; font-weight: 700; border-radius: 4px; padding: 1px 7px; background: color-mix(in srgb, var(--tc, var(--muted)) 18%, transparent); color: var(--ti, var(--ink-2)); white-space: nowrap; }
.pill:empty { display: none; }
.delta { font-size: 12px; font-weight: 700; border-radius: 4px; padding: 1px 6px; display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.delta.up { background: var(--good-soft); color: var(--good); }
.delta.down { background: var(--bad-soft); color: var(--bad); }
.delta svg { width: 12px; height: 12px; stroke-width: 2.2; }
.sk { display: inline-block; width: 96px; height: 28px; border-radius: 4px; vertical-align: middle; }
.sk, .sk-line, .skel td span, .chart-skel, .pod.sk-pod i { background: linear-gradient(90deg, var(--grid) 25%, var(--line) 50%, var(--grid) 75%); background-size: 200% 100%; animation: shine 1.2s linear infinite; }
.sk-line { display: block; height: 10px; border-radius: 3px; }
.stack { display: flex; gap: 2px; height: 8px; border-radius: 2px; overflow: hidden; background: var(--grid); }
.stack i { display: block; min-width: 3px; animation: grow .7s var(--ease) both; }
.stack.wide { flex: 1; min-width: 120px; max-width: 300px; }
.kpi .stack, .kpi .rail, .kpi .scale { margin: 5px 0 1px; }
.scale { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; }
.scale i { height: 8px; border-radius: 2px; }
.scale .t0 { background: var(--t0); } .scale .t1 { background: var(--t1); } .scale .t2 { background: var(--t2); } .scale .t3 { background: var(--t3); } .scale .t4 { background: var(--t4); }
.scale span, .rail span, .meter span { position: absolute; top: -4px; bottom: -4px; left: 0; width: 4px; margin-left: -2px; border-radius: 2px; background: var(--ink); box-shadow: 0 0 0 2px var(--surface); transition: left .8s var(--ease); }
.rail { position: relative; height: 8px; border-radius: 2px; background: var(--grid); }
.rail i { display: block; height: 100%; width: 0; border-radius: 2px; background: var(--c3); transition: width .8s var(--ease); }
.spark { height: 28px; }
.spark svg { width: 100%; height: 28px; display: block; overflow: visible; }
.spark .line { fill: none; stroke: var(--c4); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s cubic-bezier(.65, 0, .35, 1) forwards; }

/* verdict chips: used for spam verdicts, flags and source states */
.vchip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; border-radius: 4px; padding: 1px 7px; white-space: nowrap; background: color-mix(in srgb, var(--vc) 18%, var(--surface)); color: var(--vi); }
.vchip::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--vc); }
.vchip.plain::before { display: none; }
.v-ok { --vc: var(--v-ok); --vi: var(--vi-ok); --von: var(--von-ok); }
.v-warn { --vc: var(--v-warn); --vi: var(--vi-warn); --von: var(--von-warn); }
.v-risk { --vc: var(--v-risk); --vi: var(--vi-risk); --von: var(--von-risk); }
.v-spam { --vc: var(--v-spam); --vi: var(--vi-spam); --von: var(--von-spam); }
.v-none { --vc: var(--t0); --vi: var(--ti0); --von: var(--ink); }
.v-info { --vc: var(--c2); --vi: var(--c2-ink); --von: var(--ink); }

/* ============ charts ============ */
.chart { position: relative; min-height: 190px; }
.chart svg { display: block; width: 100%; stroke: none; overflow: visible; }
.chart.fill { flex: 1; min-height: 270px; }
.chart.fill > svg, .chart.fill > .chart-skel, .chart.fill > .chart-msg { position: absolute; inset: 0; height: 100%; }
.chart text { fill: var(--muted); font-size: 12px; }
.chart .gridline { stroke: var(--grid); stroke-width: 1; }
.chart .gridline.base { stroke: var(--line-strong); }
.chart .line { fill: none; stroke: var(--c4); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s cubic-bezier(.65, 0, .35, 1) forwards; }
.chart .area-fill { fill: var(--c4); opacity: .1; animation: fade .8s .4s both; }
.chart .dot { fill: var(--surface); stroke: var(--c4); stroke-width: 2.4; }
.chart .cross { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 3; opacity: .5; }
.chart .end-dot { fill: var(--c4); stroke: var(--surface); stroke-width: 2.5; animation: pop .35s 1s var(--spring) both; transform-box: fill-box; transform-origin: center; }
.chart .end-label { fill: var(--ink); font-size: 12px; font-weight: 700; animation: fade .3s 1.1s both; }
.chart .best-dot { fill: var(--surface); stroke: var(--t4); stroke-width: 2.4; animation: pop .35s 1.1s var(--spring) both; transform-box: fill-box; transform-origin: center; }
.chart .best-label { fill: var(--good); font-size: 11.5px; font-weight: 700; animation: fade .3s 1.2s both; }
.chart .axis-title { fill: var(--ink-2); font-size: 12px; font-weight: 600; }
.chart .pt { fill: var(--c2); stroke: var(--surface); stroke-width: 1.5; }
.chart .pt.api { fill: var(--c3); }
.chart .fit { fill: none; stroke: var(--primary); stroke-width: 2.4; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .9s .2s var(--ease) forwards; }
.chart .diag { stroke: var(--line-strong); stroke-width: 1.2; stroke-dasharray: 4 4; }
.chart .ring { fill: none; stroke: var(--line); stroke-width: 1; }
.chart .axis { stroke: var(--line); stroke-width: 1; }
.chart .radar-label { fill: var(--ink-2); font-size: 12px; font-weight: 700; }
.chart .radar-shape { transform-origin: 160px 146px; animation: pop .6s var(--ease) both; }
.chart .radar-dot, .chart .pt { transform-box: fill-box; transform-origin: center; animation: pop .35s .4s var(--spring) both; transition: r .15s; }
.chart .radar-dot:hover, .chart .pt:hover { r: 7; }
.chart .seg { fill: none; stroke-width: 26; cursor: default; transition: opacity .2s; animation: sweep .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms); }
.chart .seg.dim { opacity: .25; }
.chart .donut-num { fill: var(--ink); font: 700 28px var(--display); letter-spacing: -0.02em; }
.chart .donut-sub { fill: var(--muted); font-size: 12px; }
.chart .bar-total { fill: var(--line-strong); }
.chart .bar-flag { fill: var(--v-spam); }
.chart .bar-total, .chart .bar-flag { transform-box: fill-box; transform-origin: bottom; animation: growY .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 25ms); }
.chart .bar-hit { fill: transparent; }
.chart .bar-hit:hover { fill: color-mix(in srgb, var(--ink) 6%, transparent); }
.chart .bar-pct { fill: var(--vi-spam); font-size: 11px; font-weight: 700; }
.chart-msg { display: grid; place-items: center; align-content: center; gap: 8px; min-height: 190px; color: var(--muted); text-align: center; padding: 0 16px; font-size: 13px; }
.chart-msg svg { width: 22px; height: 22px; }
.chart-skel { border-radius: 4px; opacity: .7; }
.chart-skel.round { width: 190px; border-radius: 50%; mask-image: radial-gradient(circle, transparent 52%, #000 53%); }
.no-anim *, .no-anim { animation: none !important; }
.no-anim .line, .no-anim .fit { stroke-dashoffset: 0; }
.radar-wrap { max-width: 420px; margin: 0 auto; }
.donut-row { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 24px; align-items: center; }
.chart.donut { min-height: 190px; }

.tip { position: fixed; z-index: 50; left: 0; top: 0; pointer-events: none; background: var(--ink); color: var(--bg); padding: 6px 9px; border-radius: 4px; font-size: 12px; line-height: 1.35; white-space: nowrap; opacity: 0; transform: translate(-50%, calc(-100% - 6px)); transition: opacity .12s, transform .15s var(--ease), left .08s linear, top .08s linear; }
.tip.on { opacity: 1; transform: translate(-50%, calc(-100% - 11px)); }
.tip.below { transform: translate(-50%, 8px); }
.tip.below.on { transform: translate(-50%, 13px); }
.tip b { font-weight: 700; }
.tip small { display: block; font-size: 11px; opacity: .75; }
.toast { position: fixed; z-index: 70; left: 50%; bottom: 24px; display: flex; align-items: center; gap: 8px; background: var(--ink); color: var(--bg); padding: 9px 14px; border-radius: 6px; font-weight: 600; font-size: 13px; opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity .2s, transform .3s var(--ease); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 15px; height: 15px; color: #4cc764; stroke-width: 2.4; }

.legend-rows { display: grid; }
.legend-rows li { display: grid; grid-template-columns: 8px minmax(0, 1.3fr) minmax(40px, 1fr) auto 4ch; gap: 10px; align-items: center; font-size: 13px; padding: 6px 0; border-bottom: 1px solid var(--line); transition: background .15s; }
.legend-rows li:last-child { border-bottom: 0; }
.legend-rows li:hover { background: var(--raised); }
.legend-rows i, .legend-inline i { width: 8px; height: 8px; border-radius: 2px; background: var(--sw); flex: none; }
.legend-rows span { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.legend-rows u { display: block; height: 6px; border-radius: 2px; background: var(--grid); overflow: hidden; }
.legend-rows u::after { content: ""; display: block; height: 100%; width: var(--w); background: var(--sw); animation: grow .8s var(--ease) both; }
.legend-rows b { font-weight: 700; text-align: right; }
.legend-rows small { color: var(--muted); text-align: right; }
.legend-inline { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; margin-top: 10px; }
.legend-inline li { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); }
.legend-inline i.dot { border-radius: 50%; }
.legend-inline i.ln { width: 16px; height: 3px; }
.legend-inline i.ln.dash { background: repeating-linear-gradient(90deg, var(--muted) 0 4px, transparent 4px 8px); height: 2px; }

.bars { display: grid; }
.bars li { display: grid; grid-template-columns: 64px minmax(0, 1fr) 84px; gap: 12px; align-items: center; font-size: 13px; padding: 7px 0; border-bottom: 1px solid var(--line); transition: background .15s; }
.bars li:last-child { border-bottom: 0; }
.bars li:hover { background: var(--raised); }
.bars span { color: var(--ink); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bars div { height: 10px; border-radius: 2px; background: var(--grid); overflow: hidden; }
.bars div i { display: block; height: 100%; background: var(--sw, var(--c2)); width: var(--w, 0%); animation: grow .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
.bars b { font-weight: 700; text-align: right; }
.bars b small { color: var(--muted); font-weight: 400; margin-left: 6px; display: inline-block; min-width: 3.5ch; }
.bars li.hint { display: block; }
/* ============ tables ============ */
.table-wrap { overflow: auto; }
.table-wrap.tall { max-height: calc(100vh - 300px); min-height: 280px; }
table { border-collapse: separate; border-spacing: 0; width: 100%; }
th, td { padding: 8px 18px; text-align: left; white-space: nowrap; border-top: 1px solid var(--line); }
thead th { position: sticky; top: 0; z-index: 2; background: var(--raised); font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); border-top: 0; border-bottom: 1px solid var(--line-strong); }
tbody tr:first-child td { border-top: 0; }
th.num, td.num { text-align: right; }
th.idx, td.idx { width: 1%; padding-right: 0; color: var(--muted); text-align: right; font-size: 12px; }
th.grow, td.grow { width: 38%; }
th button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; border-radius: 3px; }
th button:hover { color: var(--ink); }
th button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
th button::after { content: ""; width: 0; height: 0; border: 4px solid transparent; border-top-color: currentColor; opacity: 0; transform: translateY(2px); transition: opacity .15s, transform .25s var(--ease); }
th button:hover::after { opacity: .4; }
th[aria-sort] button { color: var(--primary-ink); }
th[aria-sort] button::after { opacity: 1; }
th[aria-sort="ascending"] button::after { transform: translateY(-2px) rotate(180deg); }
tbody tr { transition: background .1s; }
tbody tr:hover { background: var(--raised); }
table.fresh tbody tr { animation: rise .35s var(--ease) both; animation-delay: calc(var(--r, 0) * 22ms); }
table.fresh .scorecell i::after { animation: grow .7s var(--ease) both; animation-delay: calc(var(--r, 0) * 22ms); }
.dom { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; color: var(--ink); font-weight: 600; cursor: pointer; background: none; border: 0; padding: 0; text-align: left; border-radius: 4px; }
.dom > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.dom:hover, tr:hover .dom { color: var(--primary-ink); }
.dom:hover > span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.av { position: relative; overflow: hidden; width: 22px; height: 22px; border-radius: 4px; display: grid; place-items: center; font-size: 11px; font-weight: 700; text-transform: uppercase; background: var(--avb); color: var(--avc); flex: none; }
.av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 12%; background: #fff; border-radius: inherit; }
td .sub { color: var(--muted); font-weight: 600; margin-left: 8px; font-size: 11.5px; background: var(--raised); border: 1px solid var(--line); border-radius: 4px; padding: 0 6px; }
td .dom + .vchip { margin-left: 8px; }
.scorecell { display: inline-flex; align-items: center; gap: 10px; justify-content: flex-end; }
.scorecell i { display: block; width: 88px; height: 6px; border-radius: 2px; background: var(--grid); overflow: hidden; }
.scorecell i::after { content: ""; display: block; height: 100%; width: var(--w, 0%); background: var(--tc); }
.scorecell b { font-weight: 700; min-width: 34px; text-align: center; border-radius: 4px; padding: 1px 5px; background: color-mix(in srgb, var(--tc) 18%, transparent); color: var(--ti); }
td.msg { color: var(--muted); white-space: normal; padding: 32px 18px; text-align: center; }
td .del { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 2px 8px; border-radius: 4px; font-weight: 600; }
td .del:hover { color: var(--bad); background: var(--bad-soft); }
.skel td span { display: block; height: 10px; border-radius: 3px; }
.skel td:first-child span { height: 22px; }
.skel tr:hover { background: none; }
table.matrix th:not(:first-child), table.matrix td:not(:first-child) { text-align: right; }
table.matrix thead th { text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--ink); }
table.matrix thead th i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--sw); margin-right: 7px; }
table.matrix td:first-child { color: var(--ink-2); font-weight: 500; }
table.matrix td.best b { display: inline-flex; align-items: center; gap: 5px; background: var(--good-soft); color: var(--good); border-radius: 4px; padding: 1px 7px; font-weight: 700; }
table.matrix td.best svg { width: 12px; height: 12px; stroke-width: 2.6; }
table.matrix tr.group td { background: var(--raised); font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); padding-top: 6px; padding-bottom: 6px; }
td.url { white-space: normal; min-width: 280px; max-width: 560px; }
.url a, .ex a { color: var(--c2-ink); text-decoration: none; overflow-wrap: anywhere; font-size: 12.5px; }
.url a:hover, .ex a:hover { text-decoration: underline; text-underline-offset: 3px; }
.url b { display: block; font-weight: 600; overflow-wrap: anywhere; }
.flags { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }

.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.toolbar .count { color: var(--muted); font-size: 12.5px; margin-left: auto; }
.input-ico { position: relative; }
.input-ico svg { position: absolute; left: 10px; top: 50%; width: 15px; height: 15px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-ico input { width: 220px; }
.toolbar input, .inline-form input, .cmp-inputs input, textarea, select { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 6px; padding: 6px 10px; outline: 0; transition: border-color .15s; }
.toolbar .input-ico input { padding-left: 32px; }
.toolbar input:focus, .inline-form input:focus, .cmp-inputs input:focus, textarea:focus, select:focus { border-color: var(--ink); }
.toolbar input:focus-visible, .inline-form input:focus-visible, .cmp-inputs input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }
.select { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.seg { position: relative; display: inline-flex; background: var(--raised); border: 1px solid var(--line-strong); border-radius: 6px; padding: 2px; }
.seg::before { content: ""; position: absolute; top: 2px; bottom: 2px; left: 0; width: var(--w, 0); transform: translateX(var(--x, 0)); border-radius: 4px; background: var(--ink); opacity: 0; transition: transform .25s var(--ease), width .25s var(--ease); }
.seg.ready::before { opacity: 1; }
.seg button { position: relative; z-index: 1; border: 0; background: none; padding: 4px 11px; border-radius: 4px; cursor: pointer; font-weight: 600; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; transition: color .15s, transform .12s; }
.seg button:hover { color: var(--ink); }
.seg button:active { transform: scale(.95); }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { color: var(--surface); }
.seg:not(.ready) button[aria-pressed="true"], .seg:not(.ready) button[aria-selected="true"] { background: var(--ink); }
.seg button:disabled { opacity: .45; cursor: default; }
.field-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.field-label { font-weight: 700; margin-right: auto; }
textarea { width: 100%; resize: vertical; line-height: 1.55; display: block; }
.card > .hint { margin: 8px 0 12px; }
.form-error { color: var(--bad); font-size: 13px; margin-top: 8px; }
.view > .form-error { margin: 0; background: var(--bad-soft); border-radius: 6px; padding: 8px 12px; }
.hbar { height: 8px; border-radius: 2px; background: var(--grid); overflow: hidden; }
.hbar i { display: block; height: 100%; width: var(--w); background: var(--sw); animation: grow .8s var(--ease) both; }
.pbar { height: 8px; border-radius: 2px; background: var(--grid); overflow: hidden; }
.pbar i { display: block; height: 100%; width: 0; background: var(--primary); transition: width .3s linear; }
.blank { display: grid; justify-items: center; gap: 6px; text-align: center; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 48px 24px; }
.blank > svg { width: 28px; height: 28px; color: var(--muted); margin-bottom: 6px; }
.blank b { font: 700 16px var(--display); }
.blank p { color: var(--muted); max-width: 52ch; }
.blank .chips { justify-content: center; margin-top: 10px; }
.blank .btn { margin-top: 10px; }
.blank.inner { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 36px 24px; }

/* Kosto the mole: a small pose with one dry line. Never inside tables, charts, filters or forms. */
.kosto { display: flex; align-items: center; gap: 14px; margin: 0; max-width: 100%; }
.kosto img { width: var(--ks, 96px); height: var(--ks, 96px); object-fit: contain; flex: none; }
.kosto figcaption { color: var(--ink-2); font: 600 14px/1.4 var(--display); max-width: 34ch; text-align: left; }
.kosto.on-color { margin-top: 6px; }
.kosto.on-color img { background: color-mix(in srgb, #fff 90%, transparent); border-radius: 50%; padding: 4px; --ks: 64px; }
.kosto.on-color figcaption { color: inherit; font-size: 13px; opacity: .95; }
.blank-art:empty { display: none; }
.blank-art { display: grid; justify-items: center; margin-bottom: 4px; }
.blank-art .kosto { flex-direction: column; text-align: center; gap: 6px; }
.blank-art .kosto figcaption { text-align: center; }
@keyframes bob { 50% { transform: translateY(-4px); } }
.progress .kosto img { animation: bob 2.2s ease-in-out infinite; }

/* ============ responsive ============ */
@media (max-width: 1100px) {
  .stat-strip { --n: 2; }
  .stat-strip .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat-strip .stat:nth-child(odd) { border-left: 0; }
}
@media (max-width: 920px) {
  .toolbar .count { display: none; }
  .table-wrap.tall { max-height: 72vh; }
  th, td { padding: 8px 12px; }
  th.grow, td.grow { position: sticky; left: 0; z-index: 1; background: var(--surface); width: auto; box-shadow: 1px 0 0 var(--line); }
  thead th.grow { background: var(--raised); z-index: 3; }
  tbody tr:hover td.grow { background: var(--raised); }
  .scorecell i { width: 48px; }
}
@media (max-width: 700px) {
  .hide-sm { display: none; }
  .input-ico, .input-ico input { width: 100%; }
  .toolbar .stack.wide { order: 5; flex-basis: 100%; max-width: none; }
  td .dom { max-width: 44vw; }
  td.url { min-width: 220px; }
  .kpi-val b { font-size: 25px; }
}
@media (max-width: 520px) {
  .stat-strip { --n: 1; }
  .stat-strip .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat-strip .stat:first-child { border-top: 0; }
}
tr.more td { text-align: center; padding: 14px; }
.skip-link { position: absolute; left: 8px; top: -48px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 8px; }
.search input:focus-visible, .search input:focus { outline: 2px solid var(--primary); outline-offset: 2px; }
