/* Status page (status.html), drawn by js/status.js from js/status-data.js. */
.status-page { padding: 56px 0 72px; }
.status-page .container { max-width: 880px; }
.status-page h1 { font: 800 40px/1.1 var(--font-display); margin: 8px 0 24px; }

/* Levels: 0 operational, 1 degraded, 2 partial outage, 3 major outage. */
.st-l0 { --st: var(--yes); --st-soft: var(--yes-soft); }
.st-l1 { --st: #e0a100; --st-soft: #fff3cc; }
.st-l2 { --st: #ff6b2c; --st-soft: #ffede3; }
.st-l3 { --st: #d63a55; --st-soft: #ffe6ea; }

.st-banner { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-radius: var(--radius-m); background: var(--st); color: #fff; font: 700 19px var(--font-display); box-shadow: var(--shadow-card); }
.st-dot { width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3); flex: none; }

.st-card { margin-top: 28px; background: var(--surface-white); border: 1px solid var(--border); border-radius: var(--radius-l); box-shadow: var(--shadow-card); overflow: hidden; }
.st-list { list-style: none; margin: 0; padding: 0; }
.st-comp { padding: 20px 24px; border-top: 1px solid var(--border); }
.st-comp:first-child { border-top: 0; }
.st-comp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.st-comp-head b { display: block; font-size: 16px; }
.st-desc { display: block; color: var(--ink-muted); font-size: 14px; margin-top: 2px; }
.st-pill { flex: none; font-size: 13px; font-weight: 700; color: var(--st); background: var(--st-soft); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }

.st-bars { display: grid; grid-template-columns: repeat(90, 1fr); gap: 2px; margin-top: 14px; height: 32px; }
.st-bar { background: var(--st); border-radius: 2px; opacity: 0.85; transition: opacity 0.15s; }
.st-bar:hover { opacity: 1; }
.st-scale { display: flex; justify-content: space-between; color: var(--ink-muted); font-size: 12px; margin-top: 6px; }

.st-history h2 { font: 800 24px var(--font-display); margin: 44px 0 8px; }
.st-day { padding: 16px 0; border-bottom: 1px solid var(--border); }
.st-day h3 { font-size: 15px; margin: 0 0 6px; }
.st-none { color: var(--ink-muted); margin: 0; }
.st-inc { border-left: 3px solid var(--st); padding: 2px 0 2px 12px; margin-top: 6px; }
.st-inc p { margin: 4px 0 0; color: var(--ink-secondary); }
.st-when { color: var(--ink-muted); font-size: 13px; }

@media (max-width: 640px) {
  .status-page h1 { font-size: 30px; }
  .st-bars { gap: 1px; height: 28px; }
}
