:root { --accent:#1e4fa3; --fg:#0f172a; --fg-2:#334155; --muted:#64748b; --bg:#f8fafc; --bg-2:#f1f5f9; --surface:#fff; --line:#e2e8f0; --radius:6px; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 15px/1.5 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--fg); background: var(--bg); min-height: 100vh; -webkit-font-smoothing: antialiased; }
.muted { color: var(--muted); }
.bar { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; background: var(--surface); border-bottom: 1px solid var(--line); }
.bar img { border-radius: 6px; }
.bar strong { font-size: 17px; }
main { max-width: 1100px; margin: 0 auto; padding: 1rem; }
footer { font-size: 11px; padding: 1.25rem 1rem 2rem; text-align: center; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .75rem; margin-bottom: 1.25rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1.1rem; box-shadow: 0 1px 3px rgba(15,23,42,.08); }
.card .label { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.card .value { font-size: 26px; font-weight: 800; line-height: 1.2; margin-top: .2rem; }
.card .value.small { font-size: 20px; }
.card .sub { font-size: 12px; color: var(--muted); margin-top: .2rem; }
h3 { margin: 0 0 .5rem; font-size: 16px; }
.zones { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .6rem 1.25rem; margin-bottom: 1.5rem; }
.zone .row { display: flex; justify-content: space-between; gap: .5rem; font-size: 13px; }
.zone .count { font-size: 11px; color: var(--muted); }
.meter { height: 8px; background: var(--bg-2); border-radius: 4px; overflow: hidden; min-width: 60px; }
.meter > span { display: block; height: 100%; background: var(--accent); }
.scroll { overflow-x: auto; }
table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 13px; background: var(--surface); }
th { text-align: left; padding: .5rem .75rem; background: var(--bg-2); border-bottom: 1px solid var(--line); color: var(--fg-2); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
td { padding: .5rem .75rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--bg); }
.r { text-align: right; }
th.sort { cursor: pointer; user-select: none; }
th.sort:hover { color: var(--accent); }
th button { all: unset; cursor: pointer; }
th .tri { margin-left: 4px; font-size: 10px; color: var(--fg-2); opacity: .6; }
th .tri.on { color: var(--accent); opacity: 1; }
th button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.err { color: #dc2626; }
