:root {
    --bg: #fafafa;
    --card: #ffffff;
    --border: #e5e5e5;
    --text: #171717;
    --muted: #737373;
    --brand: #009688;
    --up: #22c55e;
    --part: #f59e0b;
    --down: #ef4444;
    --na: #e5e5e5;
    --radius: 0.75rem;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.08), 0 1px 2px -1px rgb(0 0 0 / 0.08);
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0a0a0a;
        --card: #171717;
        --border: #262626;
        --text: #fafafa;
        --muted: #a3a3a3;
        --na: #262626;
    }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.875rem;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
.container { max-width: 880px; margin: 0 auto; padding: 2.5rem 1.25rem; }
header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.5rem; }
.wordmark { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.wordmark b { color: var(--brand); font-weight: 700; }
header .sub { color: var(--muted); font-size: 0.8125rem; }
.overall {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}
.overall.ok { background: var(--up); }
.overall.warn { background: var(--part); }
.overall.crit { background: var(--down); }
.overall.na { background: var(--muted); }
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 0.5rem 1.25rem;
    margin-bottom: 1.25rem;
}
.card h2 { font-size: 0.8125rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; padding: 0.875rem 0 0.25rem; }
.svc { padding: 0.875rem 0; border-bottom: 1px solid var(--border); }
.svc:last-child { border-bottom: none; }
.svc-head { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot.up { background: var(--up); }
.dot.down { background: var(--down); }
.dot.na { background: var(--na); border: 1px solid var(--border); }
.svc-name { font-weight: 600; }
.svc-meta { margin-left: auto; color: var(--muted); font-size: 0.75rem; white-space: nowrap; }
.bar { display: flex; gap: 1px; }
.bar i { flex: 1 1 0; height: 26px; border-radius: 2px; background: var(--na); min-width: 0; }
.bar i.up { background: var(--up); }
.bar i.part { background: var(--part); }
.bar i.down { background: var(--down); }
.legend { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.6875rem; padding: 0.5rem 0 0.875rem; }
footer { color: var(--muted); font-size: 0.75rem; text-align: center; margin-top: 2rem; }
footer a { color: var(--brand); text-decoration: none; }
