:root {
  font: 16px/1.5 system-ui, sans-serif;
  color: #17283a;
  background: #f4f8fa;
  --ink: #17283a;
  --accent: #00665e;
  --line: #cbdadf;
}
* { box-sizing: border-box; }
body { margin: 0; }
header { display: flex; justify-content: space-between; padding: 1rem max(1rem, calc((100% - 66rem)/2)); background: white; border-bottom: 1px solid var(--line); white-space: nowrap; gap: 1rem; }
header a { color: var(--accent); text-decoration: none; }
main { max-width: 68rem; margin: 2rem auto; padding: 0 1rem; }
h1 { font-size: clamp(2rem, 6vw, 3.5rem); margin: 0; line-height: 1.1; overflow-wrap: anywhere; }
h2 { margin: 0; }
form, #poll > section { background: white; padding: clamp(1rem, 4vw, 2rem); border-radius: 1rem; border: 1px solid var(--line); margin: 1.25rem 0; }
#create { max-width: 40rem; }
label { display: grid; gap: .3rem; width: fit-content; max-width: 100%; }
fieldset, label, .grid { margin-bottom: 1rem; }
fieldset { border: 1px solid var(--line); border-radius: .6rem; }
input, select, button { font: inherit; border-radius: .5rem; padding: .55rem .75rem; border: 1px solid var(--line); }
button { background: var(--accent); color: white; border-color: var(--accent); cursor: pointer; font-weight: 600; }
button:disabled { opacity: .55; cursor: wait; }
.secondary { background: white; color: var(--accent); }
:focus-visible { outline: 3px solid #1264b2; outline-offset: 2px; }
.row { display: flex; flex-wrap: wrap; gap: .6rem; }
#dates { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; }
#status:empty { display: none; }
#status { padding: .75rem; background: #e1f2ee; border-radius: .5rem; }
.grid { overflow: auto; margin-top: 1rem; }
table { border-collapse: separate; border-spacing: 3px; width: 100%; text-align: center; }
th { padding: 0 .4rem; white-space: nowrap; font-size: .875rem; }
tbody th { position: sticky; left: 0; background: white; text-align: right; }
td { min-width: 4rem; background: #eff5f6; border-radius: .3rem; padding: .2rem; }
.slot { width: 100%; min-height: 2rem; padding: 0; background: #fff; border-color: var(--line); color: var(--accent); }
.slot[aria-pressed="true"] { background: var(--accent); color: white; }
[hidden] { display: none !important; }
