/* Public forms · blue and green brand system, scoped to booking and account pages. */
.booking-shell,
#supplement-modal {
  --form-ink: #082b55;
  --form-muted: #536b85;
  --form-primary: #155eb6;
  --form-primary-hover: #104b95;
  --form-accent: #18733a;
  --form-line: #d4e1ee;
  --form-surface: #edf5fd;
  --form-success-surface: #eaf5ec;
  color: var(--form-ink);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss01" on;
  line-height: 1.5;
}

.public-combo-plates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; grid-column: 1 / -1; }
.public-combo-plates[hidden], [data-public-single-plate][hidden] { display: none; }
@media (max-width: 640px) { .public-combo-plates { grid-template-columns: minmax(0, 1fr); } }

/* 16 · Page hierarchy and light surfaces. */
body:has(> .booking-shell) { background: #fff; }
.booking-shell {
  width: min(100%, 1120px);
  min-height: calc(100vh - 100px);
  margin: 0 auto;
  padding: 36px 32px 80px;
  background: transparent;
}
.booking-shell.access-shell { max-width: 860px; }
.booking-shell h1 {
  margin: 12px 0 32px;
  color: var(--form-ink);
  font-size: clamp(32px, 3.7vw, 46px);
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: 1.1;
  text-transform: none;
  overflow-wrap: anywhere;
}
.booking-shell h2,
.booking-shell legend {
  color: var(--form-ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.3;
}
.booking-shell .back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  color: var(--form-muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.booking-shell .back-link::before { content: "←"; margin-right: 10px; color: var(--form-primary); font-size: 19px; }
.booking-shell .back-link:hover { color: var(--form-primary); }
.booking-shell :where(.form-step, .account-hero, .account-kpis article, .account-list-row) {
  min-width: 0;
  border: 1px solid var(--form-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}
.booking-shell .form-step { gap: 20px; padding: 30px; }
.booking-shell .form-step p { margin: 0; }
.booking-shell .access-intro {
  position: relative;
  margin-bottom: 30px;
  padding: 26px 30px;
  border: 1px solid var(--form-line);
  background: #edf5fd;
  color: var(--form-ink);
}
.booking-shell .access-intro::before { content: ""; position: absolute; top: 26px; bottom: 26px; left: 0; width: 3px; background: var(--form-primary); }
.booking-shell .access-intro :is(h1, h2) { color: var(--form-ink); }
.booking-shell .access-intro h1 { margin: 0; }
.booking-shell .access-intro p { max-width: 68ch; color: #536b85; font-size: 14px; line-height: 1.8; }
.booking-shell .preopening-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.booking-shell .preopening-paths > section { display: flex; flex-direction: column; align-items: stretch; gap: 16px; min-width: 0; padding: 24px; border: 1px solid var(--form-line); border-radius: 8px; background: #fff; }
.booking-shell .preopening-paths h2 { margin: 0; }
.booking-shell .preopening-paths p { margin: 0; color: var(--form-muted); font-size: 15px; line-height: 1.75; }
.booking-shell .preopening-paths .primary-link { width: 100%; margin-top: auto; }
.booking-shell .booking-form {
  gap: 20px;
  margin-top: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* 17 · Professional and contact forms, grouped fields and native validation. */
.booking-shell .booking-form:where(.pro-form, .contact-form, #client-register-form) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
  padding: 36px;
  border: 1px solid var(--form-line);
  border-radius: 8px;
  background: #fff;
}
.booking-shell .pro-form { row-gap: 30px; }
.booking-shell .pro-form .form-group { scroll-margin-top: 120px; }
.booking-shell .form-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-column: 1 / -1;
  gap: 20px 24px;
  min-width: 0;
  margin: 0;
  padding: 28px 0 0;
  border: 0;
  border-top: 1px solid var(--form-line);
}
.booking-shell .form-group:first-of-type { border-top: 0; padding-top: 0; }
.booking-shell .form-group legend { margin-bottom: 4px; padding: 0 18px 0 0; color: var(--form-primary); font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.booking-shell :is(.booking-form, .grid-form) label:not(.radio-line):not(.cgv-check) {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  color: var(--form-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.booking-shell :is(.booking-form, .grid-form) :is(input, textarea, select) {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #6e8aa7;
  border-radius: 5px;
  color: var(--form-ink);
  background: #fff;
  box-shadow: none;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.booking-shell :is(.booking-form, .grid-form) :is(input, textarea, select):hover:not(:disabled) { border-color: var(--form-primary); }
.booking-shell :is(.booking-form, .grid-form) :is(input, textarea, select):focus { background: #fff; }
.booking-shell :is(.booking-form, .grid-form) textarea { resize: vertical; min-height: 96px; }
.booking-shell :is(input, textarea)::placeholder { color: #5a718a; opacity: 1; }
.booking-shell :is(.wide, .document-step, .form-error) { grid-column: 1 / -1; }
.booking-shell .grid-form { display: grid; gap: 20px; }
.booking-shell .booking-form > button[type="submit"] { grid-column: 1 / -1; justify-self: start; }
.booking-shell :is(.booking-form, .grid-form) input:user-invalid,
.booking-shell :is(.booking-form, .grid-form) textarea:user-invalid,
.booking-shell :is(.booking-form, .grid-form) select:user-invalid { border-color: #a43535; }
.booking-shell :is(.booking-form, .grid-form) :is(input, textarea, select):user-invalid:hover { border-color: #a43535; }
.booking-shell .field-hint { margin: 0; color: var(--form-muted); font-size: 13px; font-weight: 400; line-height: 1.5; }

/* 18 · Documents remain native controls with readable upload affordances. */
.booking-shell .document-step {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 22px;
  padding: 24px;
  border: 1px solid var(--form-line);
  background: var(--form-surface);
}
.booking-shell .pro-form .document-step h2 { color: var(--form-primary); font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.booking-shell .document-step > :is(h2, .document-link, .field-hint, p) { grid-column: 1 / -1; }
.booking-shell input[type="file"] {
  height: auto;
  min-height: 58px;
  padding: 9px;
  border: 1px dashed #87afd5;
  background: #fff;
  font-size: 13px;
}
.booking-shell input[type="file"]::file-selector-button {
  min-height: 44px;
  margin: 0 10px 0 0;
  padding: 7px 10px;
  border: 1px solid var(--form-line);
  border-radius: 5px;
  color: var(--form-ink);
  background: var(--form-surface);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.booking-shell input[type="file"]::file-selector-button:hover { background: #eaf5ec; }
.booking-shell .document-link {
  justify-self: start;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #b8cce0;
  border-radius: 5px;
  color: var(--form-accent);
  background: #fff;
  box-shadow: none;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.booking-shell .document-link::before { content: "↓"; font-size: 19px; line-height: 1; }
.booking-shell .document-link:hover { border-color: var(--form-accent); background: var(--form-success-surface); }
.booking-shell .cgv-check {
  display: block !important;
  width: 100%;
  margin: 4px 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--form-line);
  color: var(--form-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  white-space: normal;
}
.booking-shell .cgv-check input[type="checkbox"] {
  display: inline-block;
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 0 8px 0 0;
  padding: 0;
  vertical-align: middle;
  accent-color: var(--form-accent);
}
.booking-shell .cgv-check a { display: inline-flex; align-items: center; min-height: 44px; color: var(--form-primary); text-underline-offset: 3px; }

/* 19 · Login, registration and password recovery use the same control rhythm. */
.booking-shell .client-access-intro { max-width: 62ch; margin: -10px 0 0; color: var(--form-muted); font-size: 16px; line-height: 1.7; }
.booking-shell .client-register-note { margin: 0; padding-bottom: 18px; border-bottom: 1px solid var(--form-line); color: var(--form-muted); font-size: 14px; line-height: 1.75; }
.booking-shell .client-register-note a { display: inline-flex; align-items: center; min-height: 44px; color: var(--form-primary); font-weight: 600; text-underline-offset: 3px; }
.booking-shell .client-access-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 24px 0; }
.booking-shell .client-access-options button { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 14px 18px; border: 1px solid #b8cce0; border-radius: 8px; color: var(--form-primary); background: #fff; box-shadow: none; font: inherit; font-size: 15px; font-weight: 700; line-height: 1.45; text-align: center; cursor: pointer; }
.booking-shell .client-access-options button:hover { border-color: var(--form-primary); background: var(--form-surface); }
.booking-shell .client-access-options button[aria-expanded="true"] { color: #fff; border-color: var(--form-primary); background: var(--form-primary); }
.booking-shell .account-panel:where(#client-login-form, #password-reset-request-form, #password-reset-confirm-form) {
  max-width: 580px;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  padding: 36px;
  border: 1px solid var(--form-line);
  border-radius: 8px;
  background: #fff;
}
.booking-shell #client-login-form > button[type="submit"],
.booking-shell #password-reset-request-form > button[type="submit"],
.booking-shell #password-reset-confirm-form > button[type="submit"] { width: 100%; }
.booking-shell .account-panel:not(.active) { display: none; }
.booking-shell .account-panel.active { display: grid; }
.booking-shell .account-switch { grid-column: 1 / -1; color: var(--form-muted); font-size: 14px; font-weight: 400; }
.booking-shell .account-switch :is(a, button) { display: inline-flex; align-items: center; min-height: 44px; color: var(--form-primary); font-size: inherit; font-weight: 600; text-underline-offset: 3px; }
.booking-shell .account-switch button { min-height: 44px; padding: 6px 0; background: transparent; box-shadow: none; }
.booking-shell .account-switch:last-child { padding-top: 15px; border-top: 1px solid var(--form-line); }
.booking-shell #client-login-form .account-switch + .account-switch { margin-top: -8px; }
.booking-shell .account-summary { gap: 9px; margin-bottom: 24px; padding: 24px 30px; background: #edf5fd; }
.booking-shell .account-summary :is(p, small) { color: #536b85; font-size: 14px; font-weight: 400; overflow-wrap: anywhere; }
.booking-shell .booking-form.is-disabled { opacity: .65; }

/* 20 · Service selection pairs a readable label with its unchanged price. */
#public-booking-form { counter-reset: booking-step; grid-template-columns: minmax(0, 1fr); gap: 24px; }
#public-booking-form > .form-step { counter-increment: booking-step; }
#public-booking-form > .form-step > h2 { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
#public-booking-form > .form-step > h2::before { content: counter(booking-step, decimal-leading-zero); display: inline-grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; color: var(--form-primary); background: var(--form-surface); font-size: 11px; font-weight: 750; letter-spacing: 0; }
#public-booking-form .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#public-booking-form :is(.choice-card, .date-chip, .slot-button) {
  min-width: 0;
  border: 1px solid #c6d8e9;
  border-radius: 8px;
  color: var(--form-ink);
  background: #fff;
  box-shadow: none;
  transform: none;
  transition: background-color 150ms ease, border-color 150ms ease;
}
#public-booking-form .choice-card { position: relative; align-content: space-between; gap: 18px; min-height: 116px; padding: 20px; }
#public-booking-form .choice-card span { padding-right: 26px; font-size: 16px; font-weight: 600; letter-spacing: -.025em; line-height: 1.4; }
#public-booking-form .choice-card strong { color: var(--form-accent); font-size: 19px; font-weight: 650; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
#public-booking-form .choice-card::after { content: ""; position: absolute; top: 21px; right: 18px; width: 15px; height: 15px; border: 1px solid #a6bfd5; border-radius: 50%; }
#public-booking-form .choice-card.is-selected::after { border: 4px solid #fff; background: var(--form-accent); }
#public-booking-form :is(.choice-card, .date-chip, .slot-button):hover:not(:disabled) { border-color: var(--form-accent); background: #eaf5ec; }
#public-booking-form :is(.choice-card, .date-chip, .slot-button).is-selected {
  border-color: var(--form-accent);
  color: #fff;
  background: var(--form-accent);
  box-shadow: none;
}
#public-booking-form :is(.choice-card, .date-chip, .slot-button).is-selected:hover:not(:disabled) { border-color: #105d2c; background: #105d2c; }
#public-booking-form .choice-card.is-selected :is(span, strong),
#public-booking-form .date-chip.is-selected span { color: #fff; }
#public-booking-form .supplement-summary { margin: 0; color: var(--form-accent); font-size: 14px; font-weight: 600; }
#public-booking-form .supplement-summary:empty { display: none; }
#public-booking-form > label { width: min(100%, 400px); }
#public-booking-form input[name="vehicle"] { text-transform: uppercase; letter-spacing: .08em; }

/* 21 · Compact date and time grids, explicit busy and unavailable states. */
#public-booking-form .date-strip { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
#public-booking-form .date-chip { min-height: 72px; padding: 10px 6px; }
#public-booking-form .date-chip span { color: var(--form-muted); font-size: 14px; font-weight: 600; }
#public-booking-form .date-chip strong { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
#public-booking-form .slot-grid { grid-template-columns: repeat(auto-fit, minmax(86px, 1fr)); gap: 10px; margin-top: 4px; }
#public-booking-form .slot-button { min-height: 56px; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
#public-booking-form .slot-button:disabled {
  border-color: var(--form-line);
  color: #677c90;
  background: #f2f6fa;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: currentColor;
  opacity: 1;
  cursor: not-allowed;
}
#public-booking-form .slot-grid > .slot-feedback { grid-column: 1 / -1; margin: 0; padding: 15px; border-radius: 7px; color: var(--form-muted); background: var(--form-surface); font-size: 14px; }
#public-booking-form .slot-grid[aria-busy="true"] { min-height: 62px; }

/* 22 · Buttons, keyboard focus and announced submission feedback. */
.booking-shell .booking-form > button[type="submit"],
.booking-shell .grid-form > button[type="submit"],
.booking-shell .primary-link,
#public-booking-form > button[type="submit"],
#supplement-modal .modal-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  max-width: 100%;
  padding: 12px 22px;
  border: 1px solid var(--form-primary);
  border-radius: 5px;
  color: #fff;
  background: var(--form-primary);
  box-shadow: none;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transform: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.booking-shell .booking-form > button[type="submit"]:hover,
.booking-shell .grid-form > button[type="submit"]:hover,
.booking-shell .primary-link:hover,
#public-booking-form > button[type="submit"]:hover,
#supplement-modal .modal-next:hover { border-color: var(--form-primary-hover); background: var(--form-primary-hover); }
.booking-shell :is(.secondary-link, .logout-link) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #b8cce0;
  border-radius: 7px;
  color: var(--form-ink);
  background: #fff;
  box-shadow: none;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.booking-shell :is(.secondary-link, .logout-link):hover { border-color: var(--form-primary); background: var(--form-surface); }
.booking-shell :is(a, button, input, textarea, select):focus-visible,
#supplement-modal :is(button, input):focus-visible { outline: 2px solid var(--form-primary); outline-offset: 4px; }
.booking-shell :is(input, textarea, select):focus { border-color: var(--form-primary); box-shadow: none; }
.booking-shell :is(.booking-form, .grid-form)[aria-busy="true"] > button[type="submit"] { gap: 10px; }
.booking-shell :is(.booking-form, .grid-form)[aria-busy="true"] > button[type="submit"]::before { content: ""; width: 14px; height: 14px; flex: 0 0 14px; border: 2px solid rgb(255 255 255 / 40%); border-top-color: #fff; border-radius: 50%; animation: form-submit-progress 800ms linear infinite; }
@keyframes form-submit-progress { to { transform: rotate(360deg); } }
.booking-shell button[disabled] { cursor: wait; opacity: .7; }
.booking-shell :is(#public-booking-status, #client-access-status, .form-status) {
  grid-column: 1 / -1;
  min-height: 0;
  margin: 18px 0 0;
  color: var(--form-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.booking-shell :is(#public-booking-status, #client-access-status, .form-status):empty { margin: 0; padding: 0; }
.booking-shell :is(#public-booking-status, #client-access-status, .form-status):not(:empty) { padding: 13px 16px; border: 1px solid var(--form-line); border-radius: 8px; background: #eaf5ec; }
.booking-shell :is(.form-error, [role="alert"]),
.booking-shell :is(#public-booking-status, #client-access-status, .form-status)[data-state="error"] {
  grid-column: 1 / -1;
  padding: 13px 16px;
  border: 1px solid #ecc7c7;
  border-radius: 8px;
  color: #9e3030;
  background: #fff3f3;
  font-weight: 500;
}
.booking-shell .cgv-download { margin: 24px 0 0; font-size: 13px; font-weight: 400; text-align: left; }
.booking-shell .cgv-download a { display: inline-flex; align-items: center; min-height: 44px; color: var(--form-muted); font-size: 14px; text-underline-offset: 3px; }

/* 23 · Account dashboard and confirmations retain useful hierarchy. */
.booking-shell.account-dashboard { gap: 24px; }
.booking-shell .account-hero { gap: 30px; padding: 32px; border-color: #c8ddef; color: var(--form-ink); background: var(--form-surface); }
.booking-shell .account-hero h1 { margin: 0 0 12px; color: var(--form-ink); font-size: 38px; }
.booking-shell .account-hero p { color: var(--form-accent); font-size: 18px; font-weight: 600; }
.booking-shell .account-hero small { color: #536b85; font-size: 13px; font-weight: 400; line-height: 1.7; overflow-wrap: anywhere; }
.booking-shell .account-hero > div { min-width: 0; }
.booking-shell .account-hero .primary-link { flex-shrink: 0; }
.booking-shell .account-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.booking-shell .account-kpis article { padding: 24px 22px; background: #fff; box-shadow: none; }
.booking-shell .account-kpis span { color: var(--form-muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.booking-shell .account-kpis strong { margin-top: 12px; color: var(--form-primary); font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.04em; line-height: 1.3; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.booking-shell .account-kpis strong small { display: block; margin-top: 4px; color: var(--form-muted); font-size: 10px; font-weight: 600; letter-spacing: .04em; }
.booking-shell .account-grid { align-items: start; gap: 20px; }
.booking-shell .account-list { gap: 0; }
.booking-shell .account-list-row { gap: 16px; padding: 18px 0; border: 0; border-bottom: 1px solid var(--form-line); border-radius: 0; }
.booking-shell .account-list-row:last-child { border-bottom: 0; padding-bottom: 0; }
.booking-shell .account-list-row > div { min-width: 0; }
.booking-shell .account-list-row strong { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.booking-shell .account-list-row small { color: var(--form-muted); font-size: 13px; font-weight: 400; overflow-wrap: anywhere; }
.booking-shell .account-list-actions { flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: normal; }
.booking-shell .account-badge { padding: 5px 9px; border-radius: 5px; color: #18733a; background: #eaf5ec; font-size: 12px; font-weight: 600; white-space: normal; }
.booking-shell .account-stats-list { color: var(--form-muted); font-size: 14px; font-weight: 400; line-height: 1.9; }
.booking-shell .confirmation-card { gap: 20px; margin-top: 28px; padding: 36px; }
.booking-shell .confirmation-card::before { content: ""; width: 36px; height: 3px; margin-bottom: 8px; background: var(--form-accent); }
.booking-shell .confirmation-card :is(h1, h2) { margin: 0; }
.booking-shell .confirmation-card p { color: var(--form-muted); line-height: 1.65; }
.booking-shell .confirmation-card .primary-link { justify-self: start; }

/* 24 · A contained, accessible supplement dialog. */
#supplement-modal { z-index: 80; padding: 24px; background: rgb(8 43 85 / 60%); }
#supplement-modal[hidden] { display: none; }
#supplement-modal .supplement-modal {
  width: min(100%, 640px);
  max-height: min(86vh, 800px);
  max-height: min(86dvh, 800px);
  padding: 36px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--form-line);
  border-radius: 10px;
  color: var(--form-ink);
  background: #fff;
  box-shadow: none;
}
#supplement-modal .supplement-modal h1 { margin: 0 38px 10px 0; padding: 0; color: var(--form-ink); font-size: 26px; font-weight: 700; letter-spacing: -.025em; line-height: 1.25; }
#supplement-modal .supplement-modal h2 { margin: 26px 0 12px; color: var(--form-ink); font-size: 20px; font-weight: 600; }
#supplement-modal .supplement-modal > :is(p, small) { color: var(--form-muted); font-size: 14px; }
#supplement-modal .modal-close { top: 18px; right: 18px; width: 44px; height: 44px; border: 1px solid var(--form-line); border-radius: 50%; color: var(--form-ink); background: #fff; font-size: 24px; }
#supplement-modal .supplement-line { grid-template-columns: 22px minmax(0, 1fr) auto; gap: 14px; min-height: 80px; padding: 16px 0; border-bottom: 1px solid var(--form-line); font-size: 14px; cursor: pointer; transition: background-color 160ms ease; }
#supplement-modal .supplement-line:hover { background: var(--form-surface); }
#supplement-modal .supplement-line:has(input:checked) { background: var(--form-success-surface); }
#supplement-modal .supplement-line span { gap: 4px; }
#supplement-modal .supplement-line strong { font-weight: 600; }
#supplement-modal .supplement-line small { color: var(--form-muted); font-size: 12px; }
#supplement-modal .supplement-line input { margin: 0; accent-color: var(--form-accent); }
#supplement-modal .modal-next { float: none; width: 100%; margin-top: 24px; }

@media (min-width: 761px) {
  .booking-shell.access-shell:has(.pro-form) > .access-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); align-items: start; gap: 32px; }
  .booking-shell.access-shell:has(.pro-form) > .access-intro h2 { max-width: 180px; font-size: 23px; line-height: 1.25; }
  .booking-shell.access-shell:has(#client-login-form.active),
  .booking-shell.access-shell:has(#password-reset-request-form),
  .booking-shell.access-shell:has(#password-reset-confirm-form) { max-width: 644px; }
}

/* 25 · Mobile layout, comfortable targets and reduced motion. */
@media (max-width: 900px) {
  .booking-shell .account-grid { grid-template-columns: minmax(0, 1fr); }
  .booking-shell .account-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .booking-shell { padding: 22px 16px 48px; }
  .booking-shell h1 { margin: 12px 0 26px; font-size: 34px; }
  .booking-shell :is(.booking-topline, .client-top-actions) { flex-wrap: wrap; gap: 10px; }
  .booking-shell :is(.form-step, .access-intro, .account-summary) { padding: 20px; }
  .booking-shell .booking-form:where(.pro-form, .contact-form, #client-register-form, #client-login-form, #password-reset-request-form, #password-reset-confirm-form) { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .booking-shell .form-group,
  .booking-shell .document-step { grid-template-columns: minmax(0, 1fr); }
  .booking-shell .pro-form { row-gap: 24px; }
  .booking-shell .form-group { gap: 17px; padding-top: 20px; }
  .booking-shell .form-group legend { margin-bottom: 2px; }
  .booking-shell .document-step { padding: 16px; }
  .booking-shell .booking-form :is(label, .wide) { grid-column: 1 / -1; }
  .booking-shell .client-access-options { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .booking-shell .preopening-paths { grid-template-columns: minmax(0, 1fr); }
  .booking-shell .preopening-paths > section { padding: 20px; }
  .booking-shell .client-access-options button { font-size: 16px; }
  .booking-shell .booking-form > button[type="submit"],
  .booking-shell .grid-form > button[type="submit"] { width: 100%; min-height: 56px; font-size: 16px; }
  .booking-shell .primary-link { width: 100%; }
  #public-booking-form .service-grid { grid-template-columns: minmax(0, 1fr); }
  #public-booking-form .choice-card { gap: 15px; min-height: 102px; padding: 18px; }
  #public-booking-form .date-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  #public-booking-form .date-chip { min-height: 72px; padding: 8px 3px; }
  #public-booking-form .slot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .booking-shell .account-hero { align-items: stretch; flex-direction: column; padding: 22px; }
  .booking-shell .account-hero h1 { font-size: 30px; }
  .booking-shell .account-kpis { gap: 10px; }
  .booking-shell .account-kpis article { padding: 15px; }
  .booking-shell .account-kpis strong { font-size: 22px; }
  .booking-shell .account-kpis span { font-size: 10px; }
  .booking-shell .account-list-row { align-items: stretch; flex-direction: column; gap: 10px; }
  .booking-shell .account-list-actions { justify-content: space-between; }
  .booking-shell .confirmation-card { padding: 24px 20px; }
  #supplement-modal { align-items: end; padding: 10px; }
  #supplement-modal .supplement-modal { max-height: 90vh; max-height: 90dvh; padding: 24px 20px; border-radius: 12px; }
  #supplement-modal .supplement-modal h1 { font-size: 23px; }
  #supplement-modal .supplement-line { grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
  #supplement-modal .supplement-line > strong { grid-column: 2; }
}
@media (max-width: 360px) {
  .booking-shell { padding-right: 12px; padding-left: 12px; }
  .booking-shell .form-step,
  .booking-shell .booking-form:where(.pro-form, .contact-form, #client-register-form, #client-login-form, #password-reset-request-form, #password-reset-confirm-form) { padding: 16px; }
  #public-booking-form .date-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .booking-shell .account-kpis strong { font-size: 20px; }
  .booking-shell .document-step { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .booking-shell :is(input, textarea, select, button, a),
  #public-booking-form :is(.choice-card, .date-chip, .slot-button),
  #supplement-modal :is(.supplement-line, .modal-next) { transition: none; }
  .booking-shell :is(.booking-form, .grid-form)[aria-busy="true"] > button[type="submit"]::before { animation: none; }
}
