:root {
  color-scheme: light;
  --ink: #242c25;
  --muted: #4c594d;
  --forest: #214b37;
  --paper: #f7f6ef;
  --line: #ced5c9;
  font-family: system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
.wrap { max-width: 58rem; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 3rem); }
.hero { background: var(--forest); color: #fffdf4; padding-block: clamp(1.75rem, 6vw, 4rem); }
h1, h2 { font-family: Georgia, serif; line-height: 1.08; }
h1 { font-size: clamp(2.35rem, 9vw, 5rem); margin: .24em 0; letter-spacing: -.035em; }
h2 { font-size: clamp(1.65rem, 4vw, 2.3rem); margin: 0 0 .7em; }
h3 { margin: 0 0 .75rem; font-size: 1.11rem; }
.site-label, .event-time { font-weight: 700; }
.site-label { margin: 0; }
.demo-note { border-left: .22rem solid #d9b17a; padding-left: .75rem; margin-bottom: 0; }
main { padding-block: 1.75rem; }
#status:empty, #error:empty { display: none; }
section { background: white; border: 1px solid var(--line); border-radius: .8rem; padding: clamp(1rem, 4vw, 2rem); margin-bottom: 1rem; }
.contact-grid, #schedules { display: grid; gap: .8rem; }
label { display: block; font-weight: 650; }
input, select, button { font: inherit; }
input:not([type=checkbox]), select { display: block; width: 100%; margin-top: .25rem; min-height: 2.75rem; background: #fff; color: var(--ink); border: 1px solid #879686; border-radius: .4rem; padding: .43rem .6rem; }
.contact-grid { margin-top: 1rem; }
.checkbox { margin-block: .9rem; display: flex; gap: .65rem; align-items: center; min-height: 2.75rem; }
.checkbox input { width: 1.25rem; height: 1.25rem; accent-color: var(--forest); }
.schedule { background: #f2f5ef; padding: 1rem; border-radius: .6rem; min-width: 0; }
.schedule label + label { margin-top: .75rem; }
#schedules { margin-bottom: 1rem; }
#common, #review ul, #confirmed-schedules ul { padding-left: 1.25rem; }
button { cursor: pointer; border: 0; border-radius: .45rem; background: var(--forest); color: white; font-weight: 700; padding: .72rem 1.15rem; }
button:disabled { opacity: .55; cursor: default; }
:focus-visible { outline: 3px solid #a05f21; outline-offset: 3px; }
#error { color: #9a2825; font-weight: 650; }
footer { padding-bottom: 2rem; color: var(--muted); }
footer a { color: var(--forest); }
@media (min-width: 47rem) {
  .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #schedules:has(.schedule + .schedule) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

main table {
  width: 100%;
  border-collapse: collapse;
}
main th, main td {
  padding: .65rem .5rem;
  text-align: left;
  border-bottom: 1px solid #ded9cc;
}
main td:first-child {
  white-space: nowrap;
}
