:root {
    color-scheme: dark;
    --bg: #10151e;
    --panel: #181f2c;
    --line: #333e50;
    --text: #f2f5fa;
    --muted: #b4c2d5;
    --ok: #56d9ab;
    --http: #ff8c94;
    --connection: #ffbe74;
    --xml: #c4a4ff;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.55 Inter, system-ui, sans-serif; }
main { width: min(1100px, 100% - 32px); margin: 38px auto; }
header { padding: 0 4px 10px; }
a { color: #a5ceff; }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: .1em 0; letter-spacing: -.04em; }
h2 { font-size: 1.35rem; margin: 0; }
p { color: var(--muted); margin: .5rem 0; }
section { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: clamp(14px, 3vw, 28px); margin: 16px 0; }
.heading, .axis, .legend, nav { display: flex; flex-wrap: wrap; gap: 8px; }
.heading, .axis { justify-content: space-between; align-items: center; }
nav a { text-decoration: none; border: 1px solid var(--line); padding: 4px 10px; border-radius: 8px; }
nav a[aria-current] { background: #a5ceff; color: #10151e; border-color: #a5ceff; }
.summary { color: var(--text); font-weight: 700; }
.legend { gap: 8px 20px; margin: 12px 0; }
.category::before { content: ''; display: inline-block; width: .62em; height: .62em; margin-right: .45em; border-radius: 50%; background: var(--category); }
.c0 { --category: var(--ok); }
.c1 { --category: var(--http); }
.c2 { --category: var(--connection); }
.c3 { --category: var(--xml); }
canvas { width: 100%; height: 205px; display: block; background: #111825; border-radius: 6px; touch-action: pan-y; }
.axis, #chart-detail { color: var(--muted); font-size: .85rem; }
.axis { margin-top: 6px; }
#chart-detail { min-height: 2.7em; }
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .91rem; }
th, td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); }
th { color: var(--muted); }
td:first-child, td:last-child { white-space: nowrap; }
