.desktop-only { display:none }
.desktop-form-panel, .desktop-gate-copy { display:contents }

@media (min-width:768px) {
  body.mobile-reservation {
    --sheet:var(--brand-background);
    --canvas:color-mix(in srgb,var(--sheet) 91%,var(--brand-secondary));
    --hairline:color-mix(in srgb,var(--ink) 14%,var(--sheet));
    --space:clamp(18px,2.8vw,40px);
    background:var(--canvas);
  }
  .mobile-reservation.client-mode main { max-width:1420px; padding:0 var(--space) 36px; margin:auto }
  .mobile-reservation .client-brand { min-height:78px; justify-content:space-between; border-bottom:1px solid var(--hairline); margin-bottom:22px }
  .mobile-reservation #mobile-mark img { height:54px; max-width:196px }
  .mobile-reservation #desktop-booking-nav { display:flex; align-items:center; gap:8px }
  .mobile-reservation #desktop-booking-nav button, .mobile-reservation #desktop-rail button { font:600 14px/1.3 var(--brand-body-font) }
  .mobile-reservation #desktop-booking-nav button { min-height:44px; color:var(--ink); border:1px solid var(--hairline); border-radius:var(--corner); padding:0 18px; background:var(--sheet) }
  .mobile-reservation #desktop-booking-nav button:first-child { color:var(--brand-button-ink); background:var(--brand-accent); border-color:transparent }
  .mobile-reservation #mobile-intro { box-sizing:border-box; display:grid; grid-template-columns:minmax(0,1fr) auto; align-content:center; align-items:center; gap:5px 20px; padding:clamp(20px,2.6vw,38px); margin:0 0 18px; border-radius:var(--corner); color:var(--ink); background:linear-gradient(112deg,var(--tint),var(--sheet) 64%,var(--tint)); border:1px solid var(--hairline) }
  .mobile-reservation #mobile-intro>* { grid-column:1 }
  .mobile-reservation #mobile-intro h1 { margin:0; font-size:clamp(32px,3.3vw,52px); white-space:normal }
  .mobile-reservation #mobile-intro .mobile-eyebrow, .mobile-reservation #mobile-intro .mobile-description { margin:0 }
  .mobile-reservation #mobile-intro #email-recover-open { grid-column:2; grid-row:1 / span 3; align-self:center; background:var(--sheet); border:1px solid var(--hairline); border-radius:var(--corner); padding:0 14px; color:var(--ink) }
  .mobile-reservation #pilot-notice { margin:6px 0 12px; font-size:12px }
  .mobile-reservation #booking-view .booking-layout, .mobile-reservation #access-gate:not([hidden]) { display:grid; grid-template-columns:minmax(0,7fr) minmax(0,5fr); gap:var(--space); align-items:start }
  .mobile-reservation #access-gate:not([hidden]) { border:0; margin:0; padding:0; background:none; box-shadow:none; max-width:none }
  .mobile-reservation #booking-view .booking-layout[hidden] { display:none }
  .mobile-reservation #booking-view #booking-form { background:transparent }
  .mobile-reservation .desktop-form-panel, .mobile-reservation #desktop-rail .desktop-info, .mobile-reservation .desktop-gate-copy {
    display:block; box-sizing:border-box; min-width:0; padding:clamp(20px,2.5vw,36px); margin:0 0 20px; color:var(--ink); background:var(--sheet); border-radius:var(--corner); border:1px solid var(--hairline)
  }
  .mobile-reservation #desktop-rail { display:grid; gap:18px; min-width:0 }
  .mobile-reservation #desktop-rail .desktop-info { margin:0; padding:clamp(16px,1.8vw,27px) }
  .mobile-reservation #desktop-rail h2, .mobile-reservation #booking-view #booking-form h2 { font:600 clamp(22px,2vw,32px)/1.12 var(--brand-heading-font); margin:0 0 18px; padding:0; border:0; color:var(--ink) }
  .mobile-reservation #desktop-rail p { font:15px/1.55 var(--brand-body-font); color:var(--ink); margin:10px 0 }
  .mobile-reservation #desktop-rail details { padding:0 12px; margin-top:5px; background:var(--canvas); border-radius:var(--corner) }
  .mobile-reservation #desktop-rail details summary { padding:12px 0; cursor:pointer; font:600 14px/1.4 var(--brand-body-font) }
  .mobile-reservation #desktop-rail details p { padding-bottom:10px }
  .mobile-reservation .desktop-photo { overflow:hidden; margin:0; border-radius:var(--corner); background:var(--tint); border:1px solid var(--hairline) }
  .mobile-reservation .desktop-photo img { width:100%; max-height:320px; object-fit:contain; display:block }
  .mobile-reservation .desktop-photo .mobile-pattern { height:150px; margin:0 }
  .mobile-reservation .desktop-photo figcaption { white-space:pre-line; padding:12px 18px; font:14px/1.4 var(--brand-body-font) }
  .mobile-reservation #desktop-wallet .pass-artwork { width:100%; max-width:380px; margin:0 auto }
  .mobile-reservation #desktop-wallet .pass-artwork svg { display:block; max-width:100%; height:auto }
  .mobile-reservation #desktop-wallet .mobile-pass { display:flex; align-items:center; width:100%; gap:10px; background:var(--tint); border:1px solid var(--hairline); padding:12px; border-radius:var(--corner); color:var(--ink) }
  .mobile-reservation #mobile-services { gap:8px }
  .mobile-reservation #mobile-services button { padding:14px 16px; min-height:64px; grid-template-columns:20px minmax(0,1fr) auto; background:var(--canvas); border:1px solid transparent }
  .mobile-reservation #mobile-services button[aria-pressed=true] { background:var(--tint); border-color:color-mix(in srgb,var(--ink) 60%,var(--brand-accent)) }
  .mobile-reservation #mobile-services strong { font:600 17px/1.3 var(--brand-body-font) }
  .mobile-reservation #desktop-team:not([hidden]) { display:flex; flex-wrap:wrap; gap:7px; margin-top:14px }
  .mobile-reservation #desktop-team-title:not([hidden]), .mobile-reservation #desktop-timezone, .mobile-reservation .slot-period { display:block; font:600 12px/1.4 var(--brand-body-font); color:var(--ink) }
  .mobile-reservation #desktop-team-title:not([hidden]) { margin:15px 0 -8px }
  .mobile-reservation .slot-period { grid-column:1/-1; margin:6px 0 0 }
  .mobile-reservation #mobile-calendar { grid-template-columns:auto minmax(0,1fr) auto; column-gap:12px }
  .mobile-reservation #desktop-timezone { font-weight:400 }
  .mobile-reservation #booking-form #staff-select-label.staff-tiles:has([aria-invalid=true]), .mobile-reservation #service-select-label.has-service-tiles:has([aria-invalid=true]) { display:block !important }
  .mobile-reservation #booking-form #staff-select-label.staff-tiles { display:none }
  .mobile-reservation #desktop-team button { min-height:44px; flex:1 1 auto; padding:7px 12px; background:var(--canvas); color:var(--ink); border:1px solid var(--hairline); border-radius:var(--corner); font:600 14px/1.3 var(--brand-body-font) }
  .mobile-reservation #desktop-team [aria-pressed=true] { border-color:var(--ink); background:var(--tint) }
  .mobile-reservation #mobile-days { grid-template-columns:repeat(6,minmax(0,1fr)); margin:8px 0 }
  .mobile-reservation #mobile-days button { padding:8px 2px; min-height:54px }
  .mobile-reservation #booking-form #slots { grid-template-columns:repeat(auto-fill,minmax(65px,1fr)) }
  .mobile-reservation #booking-form #client-fields .two-cols { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px }
  .mobile-reservation #mobile-recap:not(:empty) { margin-top:20px; border:0; padding:14px; border-radius:var(--corner); background:var(--canvas) }
  .mobile-reservation #confirm-booking { margin-top:12px }
}
