.statistics-shell { width: min(100%, 920px); }
.statistics-shell .topbar .statistics-refresh.btn { width: 42px; min-width: 42px; height: 42px; padding: 0; font-size: 26px; order: 1; }
.statistics-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-bottom: 16px; color: var(--muted); font-size: 12px; }
.statistics-period { display: flex; width: max-content; max-width: 100%; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: white; }
.statistics-period button { width: auto; min-width: 86px; min-height: 40px; padding: 9px 12px; border: 0; border-radius: 0; box-shadow: none; background: white; color: var(--muted); font-size: 14px; }
.statistics-period button[aria-pressed="true"] { color: white; background: var(--brand); }
.statistics-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 18px 0 12px; border-top: 1px solid var(--line); }
.statistics-metrics > div { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; min-height: 106px; padding: 16px 14px 16px 0; border-bottom: 1px solid var(--line); }
.statistics-metrics dt { color: var(--muted); font-size: 14px; line-height: 1.3; }
.statistics-metrics dd { margin: 8px 0 0; color: var(--ink); font-size: 30px; line-height: 1.1; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.statistics-note { font-size: 12px; line-height: 1.5; }
.statistics-section { padding: 22px 0; border-top: 1px solid var(--line); }
.statistics-section h2 { margin-bottom: 16px; font-size: 20px; }
.statistics-section h3 { margin: 0 0 8px; font-size: 15px; }
.statistics-rows { margin: 0; }
.statistics-rows > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(60px, auto); align-items: baseline; gap: 18px; padding: 10px 0; border-bottom: 1px solid rgba(43, 79, 79, .09); }
.statistics-rows dt { font-size: 14px; line-height: 1.4; color: var(--muted); overflow-wrap: anywhere; }
.statistics-rows dd { margin: 0; text-align: right; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.statistics-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.statistics-errors > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.statistics-errors time { color: var(--muted); }
@media (max-width: 520px) {
  .statistics-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .statistics-columns { grid-template-columns: 1fr; gap: 22px; }
  .statistics-rows > div { gap: 12px; }
  .statistics-rows dd { max-width: 150px; }
}
