:root {
  color-scheme: light dark;
  --text: #1c1b19;
  --muted: #6b6760;
  --ground: #faf8f4;
  --accent: #1d5c8c;
  --line: #e2ddd3;
  font: 16px/1.55 system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #ece9e2;
    --muted: #a39e94;
    --ground: #171614;
    --accent: #7db6e3;
    --line: #34312c;
  }
}
body {
  margin: 0;
  padding: 3rem 1rem;
  background: var(--ground);
  color: var(--text);
}
main {
  max-width: 38rem;
  margin: 0 auto;
}
h1 {
  font-size: 2rem;
  margin: 0 0 1rem;
}
h2 {
  font-size: 1.1rem;
  margin: 2.5rem 0 0.5rem;
}
a {
  color: var(--accent);
}
code {
  font-size: 0.9em;
}
button {
  font: inherit;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--accent);
  border-radius: 0.4rem;
  background: var(--accent);
  color: var(--ground);
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: default;
}
#status {
  margin-left: 0.75rem;
  color: var(--muted);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
th,
td {
  text-align: right;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--line);
}
th:first-child,
td:first-child {
  text-align: left;
}
#empty,
.note {
  color: var(--muted);
}
.note {
  margin-top: 2.5rem;
  font-size: 0.9rem;
}
h2 + .totals {
  margin-top: 0.75rem;
}
.totals {
  display: flex;
  gap: 2.5rem;
  margin: 0;
}
.totals dt {
  color: var(--muted);
  font-size: 0.9rem;
}
.totals dd {
  margin: 0;
  font-size: 2rem;
  font-variant-numeric: tabular-nums;
}
.muted {
  color: var(--muted);
}
#intervals {
  padding-left: 1.1rem;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}
pre {
  overflow-x: auto;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
