.stats-head { justify-content: space-between; border-bottom: var(--rule); padding-bottom: var(--sp-4); }
.stats-filters { display: flex; gap: var(--sp-4); align-items: end; flex-wrap: wrap; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: var(--rule); }
.kpi { padding: var(--sp-4) var(--sp-4) var(--sp-4) 0; }
.kpi + .kpi { border-left: var(--rule); padding-left: var(--sp-4); }
.kpi__label { font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); }
.kpi__value { font-family: var(--font-mono); font-size: var(--fs-xl); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpi:nth-child(3) { border-left: 0; padding-left: 0; }
}

.stats-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--sp-6); align-items: start; }
@media (max-width: 860px) { .stats-split { grid-template-columns: 1fr; } }

.weakest { border: 1px solid var(--ink); padding: var(--sp-4); margin-top: var(--sp-6); }
.weakest p { font-size: var(--fs-sm); color: var(--ink-2); margin-bottom: var(--sp-3); }
.weakest__list { font-family: var(--font-mono); color: var(--ink); }
.weakest input { width: 3.2rem; padding: 0.1rem 0.3rem; }

.trend svg { width: 100%; height: auto; display: block; }
.trend__line { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.trend__dot { fill: var(--ink); }
.trend__dot.is-hidden-root { fill: var(--accent); }
.trend__grid { stroke: var(--line); stroke-width: 1; }
.trend__label { fill: var(--ink-3); font-family: var(--font-mono); font-size: 10px; }
.trend__legend { font-size: var(--fs-xs); color: var(--ink-3); margin-top: var(--sp-2); }
.trend__legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); margin: 0 var(--sp-1) 0 var(--sp-3); }
.trend__legend i.accent { background: var(--accent); }

.stats-data { margin-top: var(--sp-7); }
.stats-data__note { font-size: var(--fs-sm); }
