:root {
  color-scheme: light;
  --ink: #182d29;
  --muted: #49625a;
  --paper: #f6f8f4;
  --line: #ccd8ce;
  --brand: #155747;
  --light: #e4eee5;
  accent-color: var(--brand);
  font: 100%/1.55 "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--brand); text-underline-offset: .23em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #397c68; outline-offset: 4px; }
::selection { color: var(--ink); background: #c2e2cc; }
.skip { position: absolute; top: -4rem; padding: .5rem; background: white; }
.skip:focus { top: .5rem; }
header { border-bottom: 1px solid var(--line); }
.bar { max-width: 74rem; margin: auto; padding: 1rem clamp(1rem, 4vw, 3rem); display: flex; align-items: center; justify-content: space-between; }
.brand { color: var(--ink); font-size: 1.5rem; letter-spacing: -.04em; font-weight: 750; text-decoration: none; }
.brand span { color: var(--brand); }
main { width: min(100% - 2rem, 40rem); margin: clamp(2rem, 7vw, 5rem) auto 5rem; }
main.wide { width: min(100% - 2rem, 68rem); }
h1, h2, p, dl { margin: 0; }
h1 { font: 500 clamp(2.45rem, 6vw, 4.4rem)/1.03 Georgia, serif; letter-spacing: -.038em; overflow-wrap: anywhere; }
h2 { font: 600 1.55rem/1.15 Georgia, serif; }
.intro { color: var(--muted); margin: 1.4rem 0 2rem; max-width: 55ch; }
.heading { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: space-between; align-items: center; }
button, .button { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 2.75rem; border: 1px solid transparent; border-radius: .45rem; padding: .55rem 1rem; background: var(--brand); color: white; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
button:hover, .button:hover { background: #103d33; }
.secondary, .quiet { background: transparent; color: var(--brand); }
.secondary { border-color: var(--line); }
.secondary:hover, .quiet:hover { background: var(--light); }
.quiet { padding-inline: .6rem; }
.panel { background: white; padding: clamp(1rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: .85rem; margin-top: 1.6rem; }
.stack { display: grid; align-content: start; gap: 1rem; }
label { display: grid; gap: .35rem; font-weight: 650; }
input:not([type=checkbox]), select { width: 100%; min-width: 0; padding: .6rem .7rem; min-height: 2.75rem; background: white; border: 1px solid #8ea497; border-radius: .4rem; color: var(--ink); font: inherit; }
input[readonly] { background: var(--paper); }
.check { display: flex; align-items: center; }
input[type=checkbox] { width: 1.2rem; height: 1.2rem; }
.notice { background: var(--light); border-radius: .5rem; padding: .85rem 1rem; margin: 1rem 0; overflow-wrap: anywhere; }
.notice button { margin-top: .5rem; }
.details { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin: 1.5rem 0; }
.details dt, .muted { color: var(--muted); }
.details dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 1.75rem 0; padding: 1rem 0; border-block: 1px solid var(--line); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: .85rem .7rem; border-bottom: 1px solid var(--line); }
thead { color: var(--muted); }
.roster { margin-top: 2rem; }
.roster h2 { margin-bottom: .8rem; }
.split { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.invite { max-width: 35rem; }
.back { display: inline-block; margin-bottom: 1rem; }
.empty { padding: 1.2rem 0; color: var(--muted); }
@media (max-width: 40rem) {
  .split { grid-template-columns: 1fr; gap: 0; }
  th, td { padding: .65rem .5rem; }
}
