/* The public status page (status.js). Colours come from the site's own variables. */
.st-page { max-width: 860px; margin: 0 auto; padding-top: 28px; padding-bottom: 32px; }
.st-page h1 { font-size: clamp(30px, 5vw, 42px); margin: 6px 0 8px; letter-spacing: -.02em; }
.st-page h2 { font-size: 20px; margin: 32px 0 12px; }
.st-overall { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); font-size: 17px; }
.st-overall.st-ok { border-color: color-mix(in srgb, var(--ok) 40%, transparent); background: color-mix(in srgb, var(--ok) 8%, var(--card)); }
.st-overall.st-degraded { border-color: rgba(214, 140, 0, .45); background: rgba(214, 140, 0, .08); }
.st-overall.st-down { border-color: rgba(200, 50, 40, .45); background: rgba(200, 50, 40, .08); }
.st-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ok); flex: none; }
.st-degraded .st-dot { background: #d68c00; }
.st-down .st-dot { background: #c83228; }
.st-when { color: var(--muted); font-size: 13px; margin-left: auto; }
.st-parts { display: grid; gap: 12px; }
.st-part { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 14px 16px; display: grid; gap: 10px; }
.st-part-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.st-state { font-size: 13px; font-weight: 700; }
.st-state.st-ok { color: var(--ok); }
.st-state.st-degraded { color: #b37400; }
.st-state.st-down { color: #c83228; }
.st-note { margin: 0; color: var(--muted); font-size: 14px; }
.st-bars { display: grid; grid-template-columns: repeat(90, minmax(0, 1fr)); gap: 2px; height: 30px; }
.st-bar { border-radius: 2px; background: var(--ok); }
.st-bar.minor { background: color-mix(in srgb, var(--ok) 55%, #d68c00); }
.st-bar.degraded { background: #d68c00; }
.st-bar.down { background: #c83228; }
.st-bar.none { background: var(--line); }
.st-bar:hover, .st-bar:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.st-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.st-incident { border: 1px solid var(--line); border-left: 4px solid #d68c00; border-radius: 12px; background: var(--card); padding: 14px 16px; margin: 0 0 12px; }
.st-incident.st-major { border-left-color: #c83228; }
.st-incident.st-maintenance { border-left-color: var(--accent); }
.st-incident.st-none { border-left-color: var(--line); }
.st-inc-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.st-inc-head h3 { margin: 0; font-size: 17px; }
.st-pill { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); white-space: nowrap; }
.st-updates { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.st-updates p { margin: 2px 0 0; }
.st-updates .st-when { margin-left: 6px; }
.st-foot { margin-top: 28px; color: var(--muted); font-size: 14px; }
@media (max-width: 560px) { .st-bars { grid-template-columns: repeat(45, minmax(0, 1fr)); height: auto; grid-auto-rows: 14px; } }
