:root {
  --bg: #f6f5f3;
  --card: #ffffff;
  --ink: #1b1b1b;
  --muted: #5d5d5d;
  --line: #dedbd6;
  --accent: #1b1b1b;
  --accent-ink: #ffffff;
  --pick: #1f6feb;
  --pick-soft: #e8f0fe;
  --error: #b42318;
  --ok: #1a7f37;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.top {
  max-width: 640px; margin: 0 auto; padding: 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { width: 56px; height: 56px; border-radius: 8px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--card); }
.lang button {
  border: 0; background: transparent; padding: 8px 14px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
main { max-width: 640px; margin: 0 auto; padding: 0 16px 24px; }
h1 { font-size: 1.6rem; line-height: 1.2; margin: 4px 0 4px; }
h2 { font-size: 1.15rem; margin: 0 0 12px; }
.kicker { margin: 0; color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.step { display: flex; align-items: center; font-size: 1.15rem; font-weight: 700; margin: 0 0 12px; }
.meta { color: var(--muted); margin: 0 0 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 0 0 16px; }
details.desc summary { cursor: pointer; font-weight: 600; }
details.desc .body { margin-top: 12px; color: var(--ink); }
/* Spacing comes from the blank lines Alicia types in GHL's editor, as it shows there. */
details.desc .body p { margin: 0; }
.step-num {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-size: .85rem; margin-right: 8px;
}
.choices { display: grid; gap: 10px; }
.choice { position: relative; }
.choice input, .slot input { position: absolute; opacity: 0; pointer-events: none; }
.choice label {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 14px; cursor: pointer; background: var(--card);
}
.choice label strong { display: block; }
.choice label small { display: block; color: var(--muted); }
.choice .len { font-weight: 700; white-space: nowrap; }
.choice input:checked + label { border-color: var(--pick); background: var(--pick-soft); }
.choice input:focus-visible + label { outline: 3px solid var(--pick); outline-offset: 2px; }
.day { margin: 0 0 12px; }
.day h3 { font-size: 1rem; margin: 0 0 8px; }
.day h3::first-letter { text-transform: uppercase; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.slot { position: relative; }
.slot label {
  display: block; text-align: center; padding: 10px 4px; border: 1.5px solid var(--line); border-radius: 10px;
  cursor: pointer; background: var(--card); font-weight: 600;
}
.slot input:checked + label { background: var(--pick); border-color: var(--pick); color: #fff; }
.slot input:focus-visible + label { outline: 3px solid var(--pick); outline-offset: 2px; }
fieldset { border: 0; padding: 0; margin: 0 0 16px; }
legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
legend.sub { font-weight: 600; margin-bottom: 4px; }
legend.group { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
fieldset + fieldset { margin-top: 20px; }
.meta::first-letter { text-transform: uppercase; }
.hint { color: var(--muted); font-size: .9rem; margin: 0 0 10px; }
.field { margin: 0 0 12px; }
.field .hint { margin: 4px 0 0; }
.field label { display: block; font-weight: 600; margin-bottom: 4px; }
.field input, .field textarea {
  width: 100%; font: inherit; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
}
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--pick-soft); border-color: var(--pick); }
.field.bad input, .field.bad .choice label { border-color: var(--error); }
.row { display: grid; gap: 0 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 420px) { .row { grid-template-columns: 1fr; } }
.positions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.positions .choice label { justify-content: center; padding: 10px 6px; text-align: center; }
.summary { background: var(--pick-soft); border-radius: 10px; padding: 10px 12px; margin: 0 0 14px; font-weight: 600; }
.btn {
  display: inline-block; border: 0; border-radius: 999px; padding: 12px 22px; font: inherit; font-weight: 700;
  background: var(--accent); color: var(--accent-ink); cursor: pointer; text-decoration: none;
}
.btn[disabled] { opacity: .55; cursor: progress; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.danger { background: var(--error); }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.error { color: var(--error); font-weight: 600; margin: 10px 0 0; }
.ok { color: var(--ok); font-weight: 700; }
.ts { margin: 0 0 12px; }
.booking h3 { margin: 0 0 4px; font-size: 1.05rem; }
.booking p { margin: 0 0 4px; color: var(--muted); }
.booking .btn-row { margin-top: 12px; }
.booking p.ok { color: var(--ok); }
.booking p.error { color: var(--error); }
.booking fieldset { margin-top: 12px; }
.booking.cancelled h3 { text-decoration: line-through; color: var(--muted); }
.foot { text-align: center; color: var(--muted); padding: 8px 16px 32px; }
.foot a { color: inherit; }
[hidden] { display: none !important; }
