:root {
  --bg: #0c1019;
  --panel: #151b28;
  --ink: #ebedf8;
  --muted: #95a0b7;
  --line: #2a3445;
  --ok: #85dab2;
  --bad: #ffa2a2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--muted);
  font: 14px/1.55 ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  display: grid;
  place-items: center;
  padding: 24px;
}

.status {
  width: 100%;
  max-width: 640px;
}

.status-head h2 {
  color: var(--ink);
  margin: 0 0 4px;
  font-size: 20px;
}

.status-card {
  margin-top: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}

.status-card h1 {
  margin: 0 0 6px;
  font-size: 22px;
  color: var(--ink);
}

.status-card--ok h1 {
  color: var(--ok);
}

.status-card--bad h1 {
  color: var(--bad);
}

.status-components {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.status-components li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.status-components .is-ok b {
  color: var(--ok);
}

.status-components .is-bad b {
  color: var(--bad);
}

.status-incidents {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.status-incidents li {
  border-left: 3px solid var(--bad);
  padding-left: 12px;
}

.status-incidents b {
  color: var(--ink);
}

.status-severity {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-loading {
  margin-top: 18px;
}
