:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #111827;
  --muted: #5b6472;
  --border: #e3e6eb;
  --accent-ink: #ffffff;
  --error: #b42318;
  --warn: #8a5a00;
  --ok: #067647;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --surface: #171a21;
    --text: #eef0f3;
    --muted: #a3abb8;
    --border: #2a2f3a;
    --error: #ff8a80;
    --warn: #f5c451;
    --ok: #6fdc9f;
  }
}
* { box-sizing: border-box; }
/* Author display rules (grid/flex) would otherwise override the hidden attribute. */
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
.site-header, .site-footer { max-width: 960px; margin: 0 auto; padding: 20px 16px; }
.site-footer { color: var(--muted); font-size: 14px; }
.brand { display: inline-flex; gap: 10px; align-items: center; font-weight: 650; color: var(--text); text-decoration: none; }
.container { max-width: 960px; margin: 0 auto; padding: 0 16px 48px; }
.intro h1 { font-size: clamp(26px, 4vw, 34px); line-height: 1.2; margin: 12px 0 8px; }
.lead { color: var(--muted); font-size: 18px; margin: 0 0 8px; max-width: 60ch; }
.meta, .muted { color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px; margin-top: 24px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.link-card { display: block; color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.link-card:hover, .link-card:focus-visible { border-color: var(--accent); transform: translateY(-1px); }
.link-card h2 { margin: 0 0 6px; font-size: 19px; }
.link-card p { margin: 0 0 14px; color: var(--muted); }
.card-cta { color: var(--accent); font-weight: 600; }
.booker-toolbar { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.tz { font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.tz select { max-width: 220px; }
.booker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 640px) { .booker-grid { grid-template-columns: 1fr; } }
.step-title { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 0 0 12px; }
.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; align-content: start; }
button.day, button.time {
  font: inherit; cursor: pointer; border: 1px solid var(--border); background: transparent; color: var(--text);
  border-radius: 10px; padding: 10px 8px; text-align: center;
}
button.day { display: flex; flex-direction: column; text-transform: capitalize; }
button.day small { color: var(--muted); font-size: 12px; }
button.day:hover, button.time:hover { border-color: var(--accent); }
button.selected { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
button.selected small { color: var(--accent-ink); opacity: .85; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.details { display: grid; gap: 14px; margin-top: 24px; }
.details label, .field label { display: grid; gap: 6px; font-weight: 550; }
.field { display: grid; gap: 6px; }
input, select, textarea {
  font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 12px; width: 100%;
}
.radios { display: grid; gap: 6px; }
.radio { display: flex !important; gap: 8px; align-items: center; font-weight: 400 !important; }
.radio input { width: auto; }
.chosen { margin: 0; font-weight: 600; }
button.primary {
  font: inherit; font-weight: 650; cursor: pointer; border: 0; border-radius: 10px; padding: 12px 18px;
  background: var(--accent); color: var(--accent-ink); justify-self: start;
}
button.primary:disabled { opacity: .6; cursor: progress; }
.status { margin: 0 0 16px; padding: 10px 12px; border-radius: 10px; background: var(--bg); }
.status[hidden] { display: none; }
.status.error, .error { color: var(--error); }
.status.warn { color: var(--warn); }
.status.ok { color: var(--ok); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--error); }
.error { margin: 0; font-size: 14px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
