:root { color-scheme: dark; --bg: #0b1020; --panel: #141b2d; --muted: #8f9bb3; --line: #28324a; --green: #55e6a5; --purple: #a88bff; }
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(circle at 80% 0, #1b2341 0, var(--bg) 38%); color: #f4f7ff; font: 15px/1.5 system-ui, sans-serif; min-height: 100vh; }
main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0 80px; }
header { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 32px; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.05em; margin: 0; } h2 { font-size: 1rem; margin: 0 0 20px; }
.eyebrow { color: var(--green); font-size: .7rem; font-weight: 800; letter-spacing: .18em; margin: 0 0 8px; }
form { display: flex; align-items: end; gap: 10px; } label { color: var(--muted); font-size: .75rem; }
input, button { display: block; margin-top: 5px; border: 1px solid var(--line); border-radius: 7px; padding: 9px 11px; color: inherit; background: #101628; font: inherit; }
button { background: var(--green); border-color: var(--green); color: #07140f; font-weight: 750; cursor: pointer; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.metrics article, .panel { background: color-mix(in srgb, var(--panel) 94%, transparent); border: 1px solid var(--line); border-radius: 12px; padding: 22px; box-shadow: 0 15px 40px #02050d44; }
.metrics span { color: var(--muted); } .metrics strong { display: block; font-size: 2.6rem; letter-spacing: -.04em; margin-top: 4px; }
.chart-panel { margin-bottom: 16px; } .panel-title { display: flex; justify-content: space-between; } .legend { color: var(--muted); font-size: .76rem; }
.legend i { display: inline-block; width: 18px; height: 3px; vertical-align: middle; margin: 0 5px 0 12px; } .legend .views { background: var(--green); } .legend .people { background: var(--purple); }
.chart { width: 100%; overflow: hidden; } svg { display: block; width: 100%; }
.grid line { stroke: var(--line); stroke-width: 1; } .grid text { fill: var(--muted); font-size: 11px; text-anchor: end; } .grid .x-label { text-anchor: middle; }
.views-line, .people-line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; } .views-line { stroke: var(--green); } .people-line { stroke: var(--purple); }
.tables { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } table { width: 100%; border-collapse: collapse; } th { color: var(--muted); font-size: .7rem; text-transform: uppercase; text-align: left; }
th:last-child, td:last-child { text-align: right; } td { padding: 11px 0; border-top: 1px solid var(--line); max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .empty { color: var(--muted); text-align: center !important; }
#error { padding: 12px; border: 1px solid #ff758b; background: #521b2a; border-radius: 8px; }
@media (max-width: 720px) { header, form { align-items: stretch; flex-direction: column; } form { display: grid; grid-template-columns: 1fr 1fr; } form button { grid-column: 1 / -1; } .tables { grid-template-columns: 1fr; } main { padding-top: 28px; } }
