/* Public status page — responsive component list (no wide tables). */
.st-wrap { max-width: 860px; }
.st-hero { padding: 56px 0 24px; }
.st-body { padding-bottom: 48px; }
.st-h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.02em; }
.st-lead { margin-top: 10px; max-width: 640px; }
.st-h2 { font-size: 20px; margin: 30px 0 12px; }
.st-body > .st-h2:first-child { margin-top: 0; }
.st-banner {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; margin-top: 22px;
}
.st-banner .st-txt { min-width: 0; }
.st-banner .st-txt b { display: block; font-size: 16px; }
.st-banner .st-sub { font-size: 13px; color: var(--text-secondary); overflow-wrap: anywhere; }

.status-dot {
  width: 12px; height: 12px; border-radius: 50%; flex: 0 0 auto;
  background: #16a34a; box-shadow: 0 0 0 4px rgba(22, 163, 74, .18);
}
.status-dot.degraded { background: #d97706; box-shadow: 0 0 0 4px rgba(217, 119, 6, .18); }
.status-dot.down { background: #dc2626; box-shadow: 0 0 0 4px rgba(220, 38, 38, .18); }

.st-pill {
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); white-space: nowrap;
}
.st-pill.ok { color: #16a34a; }
.st-pill.degraded { color: #d97706; }
.st-pill.down { color: #dc2626; }

.st-list {
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  background: var(--card-bg, var(--surface));
}
.st-row {
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  gap: 4px 14px; padding: 14px 16px; border-bottom: 1px solid var(--border);
}
.st-row:last-child { border-bottom: 0; }
.st-row .name { font-weight: 600; font-size: 14px; overflow-wrap: anywhere; }
.st-row .checked { grid-column: 1 / -1; font-size: 12px; color: var(--text-muted); }
.st-empty { padding: 22px; text-align: center; color: var(--text-secondary); }

.st-incident { padding: 14px 16px; margin-bottom: 10px; }
.st-incident .head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.st-incident .body { font-size: 13px; color: var(--text-secondary); margin-top: 6px; }
.st-incident .meta { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* One-column rows on wide screens, with the timestamp in its own column. */
@media (min-width: 640px) {
  .st-row { grid-template-columns: 1fr auto auto; }
  .st-row .checked { grid-column: auto; }
}

/* G6: uptime history bars + incident subscribe form. */
.st-uptime { padding: 16px 18px; }
.st-uptime-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 14px; }
.st-uptime-head b { font-size: 20px; }
.st-uptime-head .st-sub { font-size: 13px; color: var(--text-secondary); }
.st-uptime-bars {
  display: flex; align-items: flex-end; gap: 3px; height: 46px;
  overflow-x: auto; padding-bottom: 2px;
}
.st-bar {
  flex: 1 0 6px; min-width: 6px; height: 100%; border-radius: 3px;
  background: #16a34a; transition: opacity .15s;
}
.st-bar.warn { background: #d97706; }
.st-bar.bad { background: #dc2626; }
.st-bar:hover { opacity: .7; }
.st-sub-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; max-width: 520px; }
.st-sub-form input { flex: 1 1 220px; }
.st-sub-msg { flex-basis: 100%; font-size: 13px; color: var(--text-secondary); min-height: 18px; }
@media (max-width: 520px) {
  .st-uptime-bars { height: 38px; }
  .st-sub-form button { flex: 1 1 100%; }
}
