:root {
  color-scheme: light dark;
  --bg: #f6f7f9;
  --surface: #fff;
  --text: #111827;
  --muted: #5b6472;
  --border: #e2e5ea;
  --up: #15803d;
  --down: #b91c1c;
  --partial: #b45309;
  --none: #d1d5db;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --surface: #181b21;
    --text: #f3f4f6;
    --muted: #a3aab5;
    --border: #2a2f37;
    --up: #4ade80;
    --down: #f87171;
    --partial: #fbbf24;
    --none: #3a404a;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font: 16px/1.5 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
}
main {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}
h1 {
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
}
h2 {
  font-size: 1.1rem;
  margin: 2rem 0 0.75rem;
}
.summary {
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 600;
}
.summary.up {
  border-color: var(--up);
}
.summary.down {
  border-color: var(--down);
}
.checks,
.incidents {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.checks li,
.incidents li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
}
.check-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.state.up {
  color: var(--up);
}
.state.down {
  color: var(--down);
}
.bars {
  display: grid;
  grid-template-columns: repeat(90, 1fr);
  gap: 2px;
  height: 1.75rem;
  margin-top: 0.5rem;
}
.bars span {
  border-radius: 2px;
  background: var(--none);
}
.bars .up {
  background: var(--up);
}
.bars .partial {
  background: var(--partial);
}
.bars .down {
  background: var(--down);
}
.meta,
.note,
footer {
  color: var(--muted);
  font-size: 0.875rem;
}
a {
  color: inherit;
}
