/* Status page (unlisted) — service health only. Loaded after main.css. */

.st-header-note {
  margin-left: 14px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.st-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-top: 28px;
  background: var(--surface);
}
.st-banner[data-state="operational"] { border-color: #bfe3c8; background: #f2fbf4; }
.st-banner[data-state="degraded"]    { border-color: #f0dca8; background: #fdf8ec; }
.st-banner[data-state="outage"]      { border-color: #f2b8b5; background: #fdf3f2; }
.st-banner[data-state="loading"]     { border-color: var(--line); background: var(--surface); }

.st-banner-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: #9aa3b5;
}
.st-banner[data-state="operational"] .st-banner-dot { background: #1d9a4b; }
.st-banner[data-state="degraded"] .st-banner-dot    { background: #d99a00; }
.st-banner[data-state="outage"] .st-banner-dot      { background: #d5453d; }

.st-banner-title { margin: 0; font-size: 1.35rem; line-height: 1.25; }
.st-banner-sub   { margin: 4px 0 0; font-size: 0.9rem; color: var(--muted); }

.st-updated {
  margin: 10px 2px 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  color: var(--muted);
}

.st-h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin: 34px 0 12px;
  color: var(--muted);
}

/* 90-day strip */
.st-strip {
  display: flex;
  gap: 3px;
  align-items: stretch;
  height: 34px;
}
.st-strip i {
  flex: 1 1 0;
  min-width: 2px;
  border-radius: 3px;
  background: #e6e9f0;
}
.st-strip i[data-s="operational"] { background: #2fb559; }
.st-strip i[data-s="degraded"]    { background: #e8a513; }
.st-strip i[data-s="outage"]      { background: #d5453d; }
.st-strip i[data-s="nodata"]      { background: #e6e9f0; }

.st-strip-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--muted);
}
.st-strip-legend span { display: inline-flex; align-items: center; gap: 6px; }

.st-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.st-dot--ok   { background: #2fb559; }
.st-dot--deg  { background: #e8a513; }
.st-dot--out  { background: #d5453d; }
.st-dot--none { background: #d7dbe4; }

/* Component rows */
.st-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.st-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid #eef0f5;
}
.st-list .st-row:last-child { border-bottom: none; }
.st-row--loading { opacity: 0.55; font-size: 0.9rem; }

.st-row-name { font-weight: 600; font-size: 0.95rem; }
.st-row-detail { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }

.st-right {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.st-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.st-pill .st-dot { width: 8px; height: 8px; }
.st-pill--operational { color: #156f36; background: #e4f5e9; }
.st-pill--degraded    { color: #8a6200; background: #faf1d8; }
.st-pill--outage      { color: #a32721; background: #fbe4e2; }

.st-uptime {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
}

.st-foot {
  margin-top: 30px;
  font-size: 0.82rem;
  color: var(--muted);
}

@media (max-width: 560px) {
  .st-row { flex-wrap: wrap; }
  .st-uptime { display: none; }
}