:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  line-height: 1.55;
  color: #192321;
  background: #fff;
  --muted: #4d5d58;
  --line: #d7e0dc;
  --accent: #135747;
}
* { box-sizing: border-box; }
main { width: min(100% - 2rem, 51rem); margin: clamp(2rem, 6vw, 5rem) auto; }
header { margin-bottom: 2rem; }
h1, h2 { line-height: 1.15; margin: 0; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 7vw, 3.45rem); letter-spacing: -.035em; }
h2 { font-size: 1.35rem; }
p { margin: .7rem 0; }
.eyebrow { color: var(--accent); font-size: .76rem; letter-spacing: .13em; font-weight: 750; }
.intro { font-size: 1.13rem; max-width: 56ch; }
#week { font-weight: 650; }
.muted { color: var(--muted); }
section { border-top: 1px solid var(--line); padding: 1.45rem 0; }
fieldset { border: 0; padding: 0; margin: 1rem 0 0; min-inline-size: 0; }
label { display: block; font-weight: 650; margin-bottom: .3rem; }
.controls, .save-row, .section-head { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.section-head { justify-content: space-between; }
.date-controls { margin: 1.15rem 0 .7rem; }
button, input, select { font: inherit; min-height: 44px; max-width: 100%; border: 1px solid #788b83; border-radius: .45rem; color: inherit; background: #fff; padding: .45rem .7rem; }
input { width: 16rem; }
button { cursor: pointer; }
button:hover:not(:disabled) { background: #eef5f2; }
button:disabled { cursor: default; opacity: .65; }
:focus-visible { outline: 3px solid #307dc2; outline-offset: 3px; }
.slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); gap: .4rem; }
.slot { font-size: .88rem; }
.slot[aria-pressed='true'] { color: #0b4738; background: #dcefe6; box-shadow: inset 0 0 0 1px var(--accent); font-weight: 700; }
.slot[aria-pressed='true']::before { content: '✓ '; }
.save-row { margin-top: 1rem; }
.primary, .primary:hover:not(:disabled) { color: #fff; background: var(--accent); border-color: var(--accent); }
.primary:hover:not(:disabled) { background: #0d4235; }
#status { min-height: 1.55em; }
#participants, #matches { overflow-wrap: anywhere; }
#matches { padding-inline-start: 1.6rem; margin-bottom: 0; }
#matches li { padding: .45rem .15rem; border-bottom: 1px solid var(--line); }
#matches strong { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
