:root {
  color-scheme: light;
  --paper: #eef0f9;
  --panel: #fff;
  --ink: #211a43;
  --muted: #514b68;
  --line: #d8d6e4;
  --accent: #542ba3;
  font-family: system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(100% - 2rem, 58rem); margin: clamp(2rem, 6vw, 5rem) auto; }
h1, h2, p, dl, dd { margin: 0; }

.heading, .section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.room { color: var(--accent); font-size: .875rem; font-weight: 750; }
h1 { margin: .25rem 0 .5rem; font: 400 clamp(2.2rem, 6vw, 4rem)/1.03 Georgia, serif; letter-spacing: -.035em; }
h2 { font: 400 1.9rem/1.1 Georgia, serif; margin-bottom: .4rem; }
p, dt, small { color: var(--muted); }

.download { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .95rem; border: 1px solid var(--accent); border-radius: .35rem; color: var(--accent); font-weight: 700; white-space: nowrap; text-decoration: none; }
.download:hover { color: var(--panel); background: var(--accent); }
.download:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.summary { display: grid; grid-template-columns: repeat(3, 1fr); margin: 1.75rem 0 1.1rem; background: var(--panel); border-top: 3px solid var(--accent); border-radius: .25rem .25rem .65rem .65rem; }
.summary div { padding: 1rem clamp(.65rem, 3vw, 1.65rem); }
.summary div + div { border-left: 1px solid var(--line); }
dt { font-size: .875rem; font-weight: 700; }
dd { font-size: clamp(1.45rem, 4vw, 2.2rem); font-weight: 750; }
dd small { display: block; font-size: .8rem; font-weight: 500; }

section { background: var(--panel); border: 1px solid var(--line); border-radius: .65rem; padding: clamp(.75rem, 3vw, 1.65rem); }
.section-heading { flex-wrap: wrap; }
.legend { display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; margin: 0; list-style: none; font-size: .75rem; white-space: nowrap; }
.legend li { border-radius: .2rem; padding: .22rem .45rem; }
table { border-collapse: separate; border-spacing: clamp(.15rem, 1vw, .45rem) .35rem; table-layout: fixed; width: 100%; margin: .75rem 0 0; }
th, td { height: 2.55rem; padding: .1rem; text-align: center; }
th { font-size: .82rem; }
th:first-child { width: 14%; text-align: left; }
td { border-radius: .2rem; font-weight: 725; }
.light { background: #f0effa; color: #352e55; }
.moderate { background: #ded5fa; color: #352457; }
.busy { background: #bbabec; color: #271646; }
.peak { background: #542ba3; color: #fff; }

@media (max-width: 36rem) {
  .heading { align-items: start; flex-direction: column; }
  .summary { margin-top: 1.25rem; }
  .summary div { padding-block: .8rem; }
  th:first-child { width: 16%; }
}
