:root {
  font: 16px/1.45 system-ui, sans-serif;
  color: #1d2e28;
  background: #f6f4ee;
  --forest: #173a31;
  --line: #daddd2;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.masthead {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 12px; padding: 16px max(16px, calc((100vw - 740px)/2)); background: white;
  border-bottom: 1px solid var(--line);
}
.brand, nav { display: flex; align-items: center; gap: 8px; }
.brand { font: 600 23px Georgia, serif; white-space: nowrap; }
nav { flex-wrap: wrap; }
a { color: var(--forest); }
nav a { padding: 9px 12px; border-radius: 7px; text-decoration: none; white-space: nowrap; }
nav a[aria-current] { background: var(--forest); color: white; }
main { max-width: 740px; margin: 0 auto; padding: 18px 16px 40px; }
.notice { color: #40534a; margin: 0 0 16px; font-size: .875rem; }
main > section { padding: clamp(16px, 5vw, 36px); background: white; border: 1px solid var(--line); border-radius: 12px; }
h1 { margin: 0 0 22px; font: 600 clamp(28px, 6vw, 40px)/1.15 Georgia, serif; }
label, legend { display: block; font-weight: 650; margin-bottom: 6px; }
input:not([type=radio]), select, button {
  font: inherit; color: inherit; min-height: 44px; padding: 8px 12px; border: 1px solid #63766a;
  border-radius: 7px; background: white;
}
input:not([type=radio]), select { width: 100%; margin-bottom: 16px; }
button { background: var(--forest); color: white; font-weight: 650; cursor: pointer; }
button:disabled { opacity: .6; cursor: default; }
:focus-visible { outline: 3px solid #796015; outline-offset: 2px; }
.details { margin: -8px 0 18px; font-weight: 550; color: #40534a; }
fieldset { min-width: 0; padding: 0; border: 0; margin: 0 0 18px; }
.slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.slots label { border: 1px solid var(--line); border-radius: 7px; padding: 10px 8px; margin: 0; }
.slots label:has(:checked) { border-color: var(--forest); background: #e2ebdf; }
.muted { color: #40534a; margin: 0 0 12px; }
[role=alert] { color: #a3322c; }
.appointments { display: grid; gap: 8px; }
.appointment { border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #e2ebdf; }
.appointment[data-couples] { background: #faedb7; border-inline-start: 4px solid #f3c740; }
.appointment h2 { margin: 0 0 4px; font-size: 1.1rem; }
.appointment p { margin: 4px 0 0; overflow-wrap: anywhere; }
