:root {
    --status-bg: #101114;
    --status-surface: #191b20;
    --status-surface-raised: #20232a;
    --status-text: #f5f5f7;
    --status-muted: #a3a6b0;
    --status-faint: #7f838e;
    --status-line: #30333c;
    --status-purple: #a99bff;
    --status-purple-soft: rgba(169, 155, 255, 0.13);
    --status-green: #7bd6a2;
    --status-green-soft: rgba(123, 214, 162, 0.11);
    --status-yellow: #efc574;
    --status-yellow-soft: rgba(239, 197, 116, 0.11);
    --status-red: #ff9399;
    --status-red-soft: rgba(255, 147, 153, 0.11);
}

* { box-sizing: border-box; }
body.status-page {
    min-height: 100vh;
    margin: 0;
    color: var(--status-text);
    background: var(--status-bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.status-nav {
    display: flex;
    max-width: 1000px;
    min-height: 72px;
    margin: auto;
    padding: 0 24px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--status-line);
}
.status-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--status-text); font-size: 16px; font-weight: 650; text-decoration: none; letter-spacing: -0.02em; }
.status-mark { width: 9px; height: 9px; border-radius: 3px; background: var(--status-purple); }
.status-nav-link { color: var(--status-muted); font-size: 13px; text-decoration: none; }
.status-nav-link:hover { color: var(--status-text); }
.status-shell { max-width: 760px; margin: auto; padding: 76px 24px 80px; }
.status-bar {
    display: flex;
    gap: 18px;
    padding: 25px 26px;
    align-items: flex-start;
    border: 1px solid var(--status-line);
    border-radius: 12px;
    background: var(--status-surface);
}
.status-bar.is-operational { border-color: rgba(123, 214, 162, 0.42); background: var(--status-green-soft); }
.status-bar.is-degraded, .status-bar.is-checking { border-color: rgba(239, 197, 116, 0.42); background: var(--status-yellow-soft); }
.status-bar.is-down { border-color: rgba(255, 147, 153, 0.44); background: var(--status-red-soft); }
.status-dot { width: 13px; height: 13px; margin-top: 9px; flex: 0 0 auto; border-radius: 50%; }
.status-dot.is-operational { background: var(--status-green); }
.status-dot.is-degraded, .status-dot.is-checking { background: var(--status-yellow); }
.status-dot.is-down { background: var(--status-red); }
.status-kicker { margin: 0 0 9px; color: var(--status-muted); font-size: 11px; font-weight: 650; letter-spacing: 0.1em; }
.status-bar h1 { margin: 0; font-size: clamp(27px, 5vw, 38px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.12; }
.status-bar p:last-child { margin: 11px 0 0; color: var(--status-muted); font-size: 15px; line-height: 1.6; }
.status-panel { margin-top: 28px; border: 1px solid var(--status-line); border-radius: 12px; overflow: hidden; }
.status-panel-head { display: flex; padding: 21px 24px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--status-line); background: var(--status-surface); }
.status-panel-head h2 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.status-updated { color: var(--status-muted); font-size: 12px; }
.status-list { display: grid; }
.status-row { display: flex; min-height: 78px; padding: 17px 24px; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--status-line); background: var(--status-surface); }
.status-row:last-child { border-bottom: 0; }
.status-service { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.status-service-dot { width: 8px; height: 8px; margin-top: 6px; flex: 0 0 auto; border-radius: 50%; }
.status-service-dot.is-operational { background: var(--status-green); }
.status-service-dot.is-degraded, .status-service-dot.is-checking { background: var(--status-yellow); }
.status-service-dot.is-down { background: var(--status-red); }
.status-service-name { font-size: 14px; font-weight: 550; }
.status-service-description { margin-top: 4px; color: var(--status-muted); font-size: 13px; line-height: 1.45; }
.status-service-meta { margin-top: 4px; color: var(--status-faint); font-size: 11px; }
.status-service-state { padding: 6px 9px; border-radius: 5px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.status-service-state.is-operational { background: var(--status-green-soft); color: var(--status-green); }
.status-service-state.is-degraded, .status-service-state.is-checking { background: var(--status-yellow-soft); color: var(--status-yellow); }
.status-service-state.is-down { background: var(--status-red-soft); color: var(--status-red); }
.status-footnote { margin: 22px 0 0; color: var(--status-muted); font-size: 12px; line-height: 1.6; }
@media (max-width: 560px) {
    .status-nav { min-height: 64px; padding-inline: 18px; }
    .status-shell { padding: 48px 18px 60px; }
    .status-panel-head, .status-row { padding-inline: 17px; }
    .status-row { align-items: flex-start; }
    .status-service-state { margin-top: 1px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
