:root {
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --ok: #2f855a;
  --incident: #c53030;
  --maintenance: #b7791f;
  --line: #e2ddd5;
  --surface: #faf8f5;
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
}
main {
  max-width: 36rem;
  margin: 0 auto;
  padding: clamp(2rem, 18vh, 10rem) 1rem;
}
h1 {
  font-size: 1.5rem;
  margin: 0 0 1rem;
}
.state {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  font-size: 1.1rem;
  line-height: 1.5;
}
.dot {
  flex-shrink: 0;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--ok);
}
.incident .dot {
  background: var(--incident);
}
.maintenance .dot {
  background: var(--maintenance);
}
.resolved .dot {
  background: var(--ok);
}
details {
  margin-top: 0.25rem;
  font-size: 0.9rem;
}
summary {
  cursor: pointer;
  color: var(--muted);
}
ol {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0 0.75rem 0 0.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
li {
  position: relative;
  padding: 0 0 1rem 1rem;
  border-left: 2px solid var(--line);
}
li:last-child {
  padding-bottom: 0;
}
li .dot {
  position: absolute;
  left: -0.45rem;
  top: 0.35rem;
  width: 0.7rem;
  height: 0.7rem;
}
li time {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}
.updated {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 1rem;
}
