:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, sans-serif;
  color: #142015;
  background: #f3f6f1;
  --muted: #4f6254;
  --line: #d6e0d5;
  --green: #246b25;
  --paper: #fff;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
button { font: inherit; }
button:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
::selection { color: #142015; background: #c9e7bf; }
.wrap { width: min(100% - 3rem, 64rem); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; min-height: 3.75rem; }
.brand { font-size: 1.19rem; font-weight: 800; letter-spacing: -.025em; }
.brand span { color: var(--green); }
main { padding-block: 2.5rem; }
.heading, .subheading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
h1, h2, p { margin: 0; }
h1 { font-size: 2.5rem; line-height: 1.1; letter-spacing: -.035em; }
h2 { font-size: 1.25rem; line-height: 1.2; letter-spacing: -.015em; }
.venue { margin-top: .65rem; color: var(--muted); }
.venue span { padding-inline: .25rem; }
button { min-height: 2.625rem; padding: .45rem .9rem; border: 1px solid var(--line); border-radius: .45rem; background: var(--paper); color: #142015; font-size: .875rem; font-weight: 650; cursor: pointer; }
button:hover:not(:disabled) { border-color: #84a581; }
button:disabled { cursor: wait; opacity: .65; }
#notice:not(:empty) { margin-top: 1.4rem; }
#notice { color: var(--muted); }
#report { margin-top: 1.5rem; }
.toolbar { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.toolbar [aria-pressed="true"] { background: #e1efd9; color: #174d1b; border-color: #a8c9a0; }
.totals { display: flex; flex-wrap: wrap; gap: 1rem 2rem; border-block: 1px solid var(--line); margin: 0; padding: 1rem 0; }
.totals > div { flex: 1 1 8rem; }
dt { color: var(--muted); font-size: .875rem; }
dd { margin: .3rem 0 0; font-size: 1.75rem; font-weight: 730; letter-spacing: -.02em; }
dd, .number { font-variant-numeric: tabular-nums; }
.subheading { margin: 1.5rem 0 .65rem; }
#updated, .basis, .zone { color: var(--muted); font-size: .875rem; }
.station-panel { border: 1px solid var(--line); border-radius: .75rem; background: var(--paper); overflow: hidden; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: .75rem 1rem; }
thead { background: #eaf1e8; color: #3a4d3f; font-size: .875rem; }
tbody tr + tr { border-top: 1px solid var(--line); }
.station-id { display: block; font-weight: 680; font-variant-numeric: tabular-nums; }
.zone { display: block; margin-top: .15rem; font-weight: 450; }
.number { text-align: right; }
.status { color: var(--muted); font-size: .875rem; }
.status[data-state="online"] { color: var(--green); }
.status[data-state="offline"] { color: #8a311d; }
.basis { margin-top: .75rem; max-width: 72ch; }
@media (max-width: 38rem) {
  .wrap { width: calc(100% - 1.5rem); }
  main { padding-top: 1.7rem; }
  h1 { font-size: 2rem; }
  .heading { align-items: start; }
  th, td { padding: .65rem .5rem; }
  .totals { gap: .75rem; }
  .totals > div { flex-basis: 5.6rem; }
  dd { font-size: 1.4rem; }
}
