/* Customer booking: shared studio style, compact calendar, divisible hour tiles. */
.date-panel,.time-panel{min-width:0}
.customer-page .widget{max-width:1320px}
.customer-page main{padding-bottom:clamp(40px,5vw,64px)}
.customer-page footer{margin-top:0}
.customer-page #liveStatus{margin-bottom:24px;line-height:1.6}
.customer-page .intro{padding:34px 0}
.customer-page h1{font-size:38px;letter-spacing:-1.4px}
.intro-description{font-size:14px;color:var(--muted);margin-top:12px}
.contact-link{font-size:12px;text-decoration:none}
.contact-link span{margin-left:8px}
.customer-page .booking-layout{grid-template-columns:minmax(0,1fr) 340px;gap:36px}
.customer-page .section-heading{margin-bottom:14px}
.customer-page h2{font-size:17px}
.selection-count{font-size:11px;padding:4px 8px;background:var(--soft);border-radius:20px;margin-left:auto;white-space:nowrap}
.customer-page .room-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.customer-page .room{min-height:129px;padding:17px 15px;display:flex;gap:0;background:#fff;border-radius:12px;transition:border-color .12s,background .12s}
.customer-page .room[aria-checked=true]{background:#edf3de;border-color:#769244;color:var(--ink)}
.customer-page .room-number{display:block;margin-bottom:19px;font-size:10px;opacity:.6}
.customer-page .room strong{font-size:16px;min-height:0;padding-right:2px}
.customer-page .room small{font-size:10px;line-height:1.5}
.customer-page .room .room-rate{margin-top:12px;font-size:11px}
.customer-page .room-check{width:21px;height:21px;line-height:19px;top:14px;right:14px;background:white;font-size:13px;text-align:center;color:#7c8374}
.customer-page .room[aria-checked=true] .room-check{background:var(--ink);border-color:var(--ink);color:var(--accent);line-height:19px}
.selection-hint{font-size:11px;line-height:1.6;color:var(--muted);margin-top:11px}
.customer-page .calendar-section{padding-top:28px}
.calendar-card{border:1px solid var(--line);padding:18px;background:#fff;border-radius:14px;margin-bottom:23px}
.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}
.calendar-toolbar h3{font-size:17px;font-weight:500;letter-spacing:-.3px;text-transform:capitalize}
.calendar-navigation{display:flex;align-items:center;gap:5px}
.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:38px;background:transparent;border:1px solid var(--line);border-radius:8px;font-size:18px}
.icon-button:disabled{opacity:.35}
.today-button{min-height:38px;padding:0 10px;background:transparent;border-radius:8px;font-size:11px}
.calendar-subbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}
.calendar-subbar>span{font-size:11px;color:var(--muted);text-transform:capitalize}
.view-switch{display:flex;background:var(--paper);padding:3px;border-radius:7px;gap:2px}
.view-switch button{padding:6px 9px;min-height:30px;font-size:10px;border-radius:5px;background:transparent;color:var(--muted)}
.view-switch button[aria-pressed=true]{background:white;box-shadow:0 1px 3px #0001;color:var(--ink)}
.date-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.calendar-day{border-radius:9px;min-height:67px;background:transparent;border:1px solid transparent;display:grid;justify-items:center;align-content:center;gap:7px;position:relative}
.calendar-day small{font-size:9px;text-transform:uppercase;color:var(--muted)}
.calendar-day strong{font-size:20px;font-weight:500}
.calendar-day[aria-pressed=true]{background:var(--ink);color:white}
.calendar-day[aria-pressed=true] small{color:#d0d8c5}
.calendar-day[aria-current=date]:after{content:'';position:absolute;bottom:5px;width:4px;height:4px;background:#729330;border-radius:50%}
.calendar-day[aria-current=date][aria-pressed=true]:after{background:var(--accent)}
.calendar-day:hover:not(:disabled){border-color:#9ba789}
.calendar-day:disabled{opacity:.25}
.date-grid.month .calendar-day{min-height:40px;padding:8px}
.date-grid.month .calendar-day strong{font-size:13px}
.calendar-day.outside-month{color:#939b8d}
.weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center;color:var(--muted);font-size:9px;padding:6px 0 9px}
.customer-page .time-heading{margin:0 0 7px}
.customer-page .time-heading h3{font-size:16px;font-weight:500}
.time-help{font-size:11px;color:var(--muted);line-height:1.7;max-width:500px;display:grid}
/* Both instructions reserve their natural height; only the active one is visible. */
.time-help>span{grid-area:1 / 1}
.time-help>span[aria-hidden=true]{visibility:hidden}
.availability-line{font-size:10px;line-height:1.5;color:var(--muted);display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:35px;padding:7px 0 10px}
.hour-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.hour-tile{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden;min-width:0}
.hour-select{display:flex;align-items:center;justify-content:space-between;gap:4px;background:white;width:100%;padding:12px 10px 10px;border-bottom:1px solid var(--line)}
.hour-select strong{font-size:14px;font-weight:500}
.hour-select small{font-size:9px;color:var(--muted)}
.hour-select:disabled{color:#a0a696}
.hour-select:disabled small{color:#a0a696}
.hour-select[aria-pressed=true]{background:var(--ink);color:white;border-color:#485144}
.hour-select[aria-pressed=true] small{color:#d0d8c5}
.hour-halves{display:grid;grid-template-columns:1fr 1fr}
.half-slot{background:#fff;min-height:37px;display:grid;place-items:center;font-size:10px;padding:8px 2px}
.half-slot+.half-slot{border-left:1px solid var(--line)}
.half-slot[aria-pressed=true]{background:var(--accent);color:var(--ink)}
.half-slot:disabled{color:#a5ab9d;background:repeating-linear-gradient(135deg,#eceee7,#eceee7 4px,#f2f3ed 4px,#f2f3ed 8px);text-decoration:line-through}
.customer-page :is(.half-slot,.hour-select):focus-visible{outline-offset:-3px;outline-width:3px}
.customer-page .night-package{margin-top:15px;background:#edf0e7}
.customer-page .night-package[aria-pressed=true]{border-color:#769244;background:#e4edce}
.customer-page .legend{margin:12px 0;font-size:10px}
.legend .selected-dot{background:var(--accent);border-color:#b7d860}
.range-controls{display:flex;align-items:center;gap:14px;background:#edf0e5;border:1px solid var(--line);border-radius:10px;margin-top:17px;padding:13px}
.range-caption{display:block;font-size:8px;letter-spacing:1.3px;color:var(--muted);margin-bottom:5px}
.range-controls strong{font-weight:500;font-size:14px;white-space:nowrap}
.duration-control{display:flex;align-items:center;gap:9px;margin-left:auto}
.duration-control .icon-button{min-height:31px;min-width:31px;background:#fff}
.duration-control output{font-size:12px;min-width:62px;text-align:center;white-space:nowrap}
.text-button{padding:8px 2px;font-size:10px;color:var(--muted);background:transparent;text-decoration:underline;text-underline-offset:3px}
.selection-message{font-size:11px;line-height:1.7;color:var(--danger);margin-top:9px}
.customer-page .summary-panel{padding:24px;top:18px}
.customer-page .summary-title{margin-bottom:20px}
.schedule-summary{display:flex;align-items:center;gap:12px}
.schedule-icon{width:36px;height:36px;display:grid;place-items:center;background:var(--paper);border-radius:9px;font-size:20px}
.schedule-summary strong{display:block;font-size:13px;font-weight:500}
.schedule-summary div>span{display:block;font-size:12px;color:var(--muted);margin-top:6px}
.customer-page .quote-status{padding-top:13px;font-size:11px}
.customer-page .quote-status:not(.invalid){position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.schedule-summary #summaryRoom{font-size:17px;line-height:1.4;overflow-wrap:anywhere}
.schedule-summary #summaryTime{color:var(--ink);line-height:1.5}
.customer-page .breakdown{gap:15px;margin-top:16px}
.room-subtotal{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:6px}
.room-subtotal strong{font-weight:500}
.room-subtotal strong:last-child{white-space:nowrap}
.room-segments{display:grid;gap:7px}
.customer-page .price-line{font-size:10px}
.customer-page .price-line small{font-size:9px}
.customer-page .total{margin:20px 0;padding-top:19px}
.customer-page .total>span{max-width:115px;font-size:11px;line-height:1.6}
.customer-page .total strong{font-size:28px}
.customer-page .primary{font-size:13px}
.booking-rules{margin-top:32px;border-top:1px solid var(--line);padding-top:20px;color:var(--muted)}
.booking-rules h2{font-size:18px;line-height:1.5;margin:0 0 16px}
.booking-rules p{font-size:11px;line-height:1.8;max-width:700px;margin-top:15px}
.rate-table{width:100%;font-size:11px;line-height:1.6;text-align:left;border-collapse:collapse;margin-top:15px}
.rate-table :is(th,td){padding:9px 12px 9px 0;border-bottom:1px solid var(--line)}
.rate-table th{font-weight:500}
@media(max-width:1100px){
  .customer-page .widget{padding:0 25px}
  .customer-page .booking-layout{grid-template-columns:minmax(0,1fr) 315px;gap:23px}
  .customer-page .room{padding:15px 10px}
  .customer-page .room strong{font-size:14px}
  .customer-page .room small{font-size:9px}
  .hour-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .range-controls{flex-wrap:wrap}
  .range-controls>.text-button{margin-left:auto}
  .calendar-toolbar{flex-wrap:wrap}
}
/* On narrow screens the booking flows vertically; price follows the selection. */
.mobile-summary,.edit-selection{display:none}
.summary-panel,.time-heading,#dateHeading{scroll-margin-top:20px}
.calendar-toolbar h3,.calendar-subbar>span{text-transform:none}
@media(max-width:960px){
  html:has(.customer-page){scroll-padding-bottom:160px}
  .customer-page .selection-panel :is(button,summary){scroll-margin-block:16px 160px}
  .customer-page .booking-layout{grid-template-columns:1fr;gap:28px}
  .customer-page .summary-panel{position:static}
  .customer-page .room{min-height:145px;padding:18px}
  .customer-page .room strong{font-size:16px}
  .customer-page .room small{font-size:12px}
  .customer-page .room .room-rate{font-size:13px}
  .hour-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .hour-select{min-height:46px}
  .hour-select strong{font-size:16px}
  .hour-select small{font-size:12px}
  .half-slot{min-height:46px;font-size:14px}
  .customer-page{padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))}
  .mobile-summary{
    display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 16px;
    position:fixed;z-index:20;left:0;right:0;bottom:0;
    padding:14px max(20px,env(safe-area-inset-right,0px)) calc(14px + env(safe-area-inset-bottom,0px)) max(20px,env(safe-area-inset-left,0px));
    border-top:1px solid var(--line);background:#fff;box-shadow:0 -6px 24px #1b211c0b;
  }
  .mobile-summary-copy{min-width:0}
  .mobile-summary-copy span{display:block;font-size:12px;line-height:1.5;color:var(--muted)}
  .mobile-summary-copy strong{display:block;margin-top:3px;font-size:23px;font-weight:500;letter-spacing:-.5px}
  .mobile-summary .primary{width:auto;min-width:112px;min-height:50px;font-size:15px;justify-content:center;gap:16px}
  .mobile-summary-message{grid-column:1/-1;font-size:13px;line-height:1.45;color:var(--danger)}
  .mobile-summary-message:empty{display:none}
  .customer-page:has(.summary-panel:focus-within) .mobile-summary{display:none}
  .edit-selection{display:inline-flex;align-items:center;min-height:44px;font-size:13px;margin:10px 0 0}
}
@media(max-width:600px){
  .customer-page .widget{padding:0 16px}
  .customer-page .preview-banner{font-size:11px;line-height:1.4;padding:7px 16px}
  .customer-page .masthead{padding:20px 0}
  .customer-page .wordmark{font-size:23px}
  .customer-page .wordmark span{font-size:9px;letter-spacing:2.8px}
  .customer-page .contact-link{font-size:12px;min-height:44px;display:flex;align-items:center}
  .customer-page .contact-link span{margin-left:5px}
  .customer-page .intro{padding:24px 0}
  .customer-page .intro .eyebrow{display:none}
  .customer-page h1{font-size:29px;line-height:1.15;letter-spacing:-1px;max-width:330px}
  .intro-description{font-size:14px;line-height:1.5;margin-top:10px;max-width:310px}
  .customer-page .section-heading{gap:8px;margin-bottom:12px}
  .customer-page h2{font-size:18px;line-height:1.3}
  .customer-page .step{width:26px;height:26px;font-size:10px}
  .selection-count{font-size:11px;padding:5px 8px}
  .customer-page .room-list{grid-template-columns:1fr;gap:8px}
  .customer-page .room{
    display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;
    gap:5px 10px;min-height:82px;padding:14px 12px;border-radius:12px;
  }
  .customer-page .room-number{display:none}
  .customer-page .room-check,.customer-page .room[aria-checked=true] .room-check{
    position:static;grid-column:1;grid-row:1/3;width:26px;height:26px;
    display:grid;place-items:center;font-size:16px!important;line-height:1!important;
  }
  .customer-page .room strong{grid-column:2;grid-row:1;font-size:16px;line-height:1.3;letter-spacing:-.4px;min-height:0;margin:0;padding:0}
  .customer-page .room small{grid-column:2/4;grid-row:2;font-size:12px;line-height:1.4;opacity:1;color:var(--muted)}
  .customer-page .room .room-rate{grid-column:3;grid-row:1;font-size:12px;line-height:1.3;white-space:nowrap;margin:0;padding:0}
  .selection-hint{font-size:12px;line-height:1.5;margin-top:10px}
  .customer-page .calendar-section{padding-top:28px}
  .calendar-card{padding:14px 10px;margin-bottom:24px;border-radius:14px}
  .calendar-toolbar{gap:8px;flex-wrap:wrap;padding:0 2px}
  .calendar-toolbar h3{font-size:17px;letter-spacing:-.4px;flex:1}
  .calendar-navigation{gap:4px}
  .icon-button{min-width:44px;min-height:44px;font-size:20px}
  .today-button{min-height:44px;padding:0 8px;font-size:12px}
  .calendar-subbar{display:block;margin:10px 0 12px}
  .calendar-subbar>span{display:block;font-size:13px;line-height:1.5;padding:0 3px;margin-bottom:12px}
  .view-switch{width:100%;padding:3px;border-radius:9px}
  .view-switch button{flex:1;min-height:38px;font-size:13px;padding:8px}
  .date-grid{gap:2px}
  .calendar-day{min-height:64px;gap:8px;padding:8px 0}
  .calendar-day small{font-size:11px}
  .calendar-day strong{font-size:20px}
  .date-grid.month .calendar-day{min-height:44px;padding:8px 0}
  .date-grid.month .calendar-day strong{font-size:15px}
  .weekdays{font-size:11px;padding:5px 0 10px}
  .customer-page .time-heading{margin-bottom:8px}
  .customer-page .time-heading h3{font-size:18px}
  .customer-page .time-heading .muted{font-size:12px}
  .time-help{font-size:13px;line-height:1.5}
  .availability-line{font-size:12px;line-height:1.5;padding:10px 0 14px}
  .hour-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .hour-tile{border-radius:12px}
  .hour-select{min-height:48px;padding:12px}
  .hour-select strong{font-size:18px}
  .hour-select small{font-size:12px}
  .half-slot{min-height:48px;font-size:14px;padding:12px 4px}
  .calendar-section details{margin-top:18px}
  .calendar-section summary{font-size:15px;min-height:54px;padding:12px 0}
  .calendar-section summary span{font-size:12px;line-height:1.5;margin-top:6px}
  .customer-page .night-package{display:grid;grid-template-columns:26px minmax(0,1fr) auto;gap:8px;padding:16px 12px;margin-top:12px}
  .customer-page .night-package strong{font-size:14px}
  .customer-page .night-package small{font-size:12px;line-height:1.4}
  .customer-page .night-price{font-size:13px;margin:0;align-self:start;padding-top:1px}
  .customer-page .night-package>span:nth-child(2){display:contents}
  .customer-page .night-package strong{grid-column:2;grid-row:1}
  .customer-page .night-package small{grid-column:2/4;grid-row:2}
  .night-icon{grid-column:1;grid-row:1/3}
  .night-price{grid-column:3;grid-row:1}
  .customer-page .legend{font-size:11px;line-height:1.5;gap:10px 18px}
  .range-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;margin-top:18px;padding:14px}
  .range-controls>div:first-child{grid-column:1/-1}
  .range-caption{font-size:10px}
  .range-controls strong{font-size:16px;white-space:normal}
  .duration-control{gap:8px;margin-left:0}
  .duration-control .icon-button{min-width:44px;min-height:44px}
  .duration-control output{font-size:14px;min-width:64px}
  .text-button{font-size:13px;min-height:44px}
  .selection-message{font-size:13px;line-height:1.5}
  .customer-page .summary-panel{padding:20px 18px;border-radius:14px}
  .customer-page .summary-title{margin-bottom:18px}
  .schedule-summary strong{font-size:15px}
  .schedule-summary div>span{font-size:14px}
  .customer-page .quote-status{font-size:13px}
  .customer-page .room-subtotal{font-size:14px}
  .customer-page .room-segments>small{font-size:12px;line-height:1.5}
  .customer-page .price-line{font-size:12px;line-height:1.5}
  .customer-page .price-line small{font-size:11px}
  .customer-page .total>span{font-size:13px;max-width:135px}
  .customer-page .total strong{font-size:28px;white-space:nowrap}
  .customer-page .summary-panel label{font-size:14px}
  .customer-page .summary-panel input:not([type=checkbox]){font-size:16px;min-height:50px}
  .customer-page .summary-panel .consent{font-size:12px;gap:10px}
  .customer-page .consent input{width:24px;height:24px;min-height:24px;margin:0}
  .customer-page .primary{min-height:52px;font-size:15px}
  .customer-page .fineprint{font-size:12px;line-height:1.5}
  .customer-page .form-status{font-size:14px}
  .mobile-summary{gap:8px 12px;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
  .booking-rules h2{font-size:16px}
  .booking-rules p{font-size:12px;line-height:1.6}
  #rateTable{overflow-x:auto}
  .rate-table{font-size:12px;min-width:420px}
  .customer-page footer{font-size:10px;letter-spacing:.3px;line-height:1.6;gap:12px}
  .customer-page dialog{padding:24px}
}
@media(max-width:360px){
  .customer-page .widget{padding:0 12px}
  .customer-page .wordmark{font-size:21px}
  .customer-page .contact-link{font-size:11px}
  .customer-page h1{font-size:28px}
  .customer-page .room{gap:5px 8px;padding:13px 10px}
  .customer-page .room strong{font-size:15px}
  .customer-page .room .room-rate{font-size:11px}
  .calendar-toolbar{display:grid;grid-template-columns:1fr}
  .calendar-navigation{justify-content:space-between}
  .calendar-toolbar h3{font-size:17px}
  .calendar-subbar{margin-top:6px}
  .mobile-summary .primary{min-width:98px;padding:12px}
}

/* The selected calendar day runs morning → daytime → evening → overnight package. */
.customer-page .off-hours{border-top:1px solid var(--line);padding-top:14px;margin-top:24px}
.customer-page .off-hours>summary{font-size:15px;padding:10px 0}
.customer-page .morning-hours{border-top:0;padding-top:0;margin:0 0 18px}
.morning-hours .morning-slots{margin-top:12px}
.add-day{margin-top:16px;min-height:44px}
.booking-periods{margin-top:18px}.booking-periods h3{font-size:14px;margin-bottom:12px}
.booking-period{display:grid;gap:7px;border:1px solid var(--line);border-radius:5px;padding:12px;margin-bottom:10px;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.booking-period.has-error{border-color:var(--danger)}
.period-actions{display:flex;gap:18px}.period-actions .text-button{min-height:44px;font-size:12px}
.customer-page #successDialog{max-height:calc(100dvh - 32px);overflow:auto}
#successDetails{white-space:pre-line}
.off-hours-timeline{padding-top:8px}
.period-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:10px 0 12px}
.customer-page .period-heading h3{font-size:14px}
.period-heading>span{font-size:12px;color:var(--muted);text-align:right}
.off-hour-grid.evening-slots{grid-template-columns:repeat(3,minmax(0,1fr))}
.off-hour-grid.morning-slots{grid-template-columns:repeat(4,minmax(0,1fr))}
.customer-page .off-hour-grid .hour-select{flex-direction:column;justify-content:center;gap:7px;min-height:68px;padding:12px 6px;border-bottom:0}
.customer-page .off-hour-grid .hour-select strong{font-size:17px}
.customer-page .off-hour-grid .hour-select small{font-size:11px}
.customer-page .off-hours .night-package{min-height:90px;margin:18px 0;padding:18px 16px}
.customer-page .off-hours .night-package strong{font-size:23px;font-weight:400}
.customer-page .off-hours .night-package small{font-size:12px;line-height:1.5}
.customer-page .off-hours .night-price{font-size:18px}
.customer-page .off-hours .morning-heading{margin-top:19px}
.customer-page .studio-night-breakdown{padding-bottom:14px;border-bottom:1px solid var(--line)}
@media(max-width:600px){
  .period-heading>span{font-size:11px}
  .off-hour-grid{gap:8px}
  .customer-page .off-hours .night-package{padding:16px 12px;gap:8px}
  .customer-page .off-hours .night-package strong{font-size:18px}
  .customer-page .off-hours .night-price{font-size:14px}
  .customer-page .off-hour-grid .hour-select strong{font-size:16px}
}

/* Reserve the calendar from the first paint and retain it while data refreshes. */
.customer-page{--day-rows:2;--day-tile-height:81px;--hour-gap:9px}
.customer-page .room-list{min-block-size:129px}
.selection-hint{min-block-size:3.2em}
.availability-line{min-block-size:48px}
.date-grid:not(.month){min-block-size:67px}
#daySlots{
  grid-auto-rows:minmax(var(--day-tile-height),auto);
  min-block-size:calc(var(--day-rows)*var(--day-tile-height) + (var(--day-rows) - 1)*var(--hour-gap));
}
.off-hour-grid{min-block-size:70px}
.hour-grid:empty::before{
  content:'';grid-column:1/-1;align-self:stretch;border:1px solid var(--line);border-radius:5px;
  background:var(--surface);
}
.customer-page :is(.hour-select,.half-slot,.night-package)[aria-disabled=true]{cursor:wait}
.customer-page :is(.hour-select,.half-slot,.night-package)[aria-disabled=true]:disabled{cursor:not-allowed}
.range-controls{min-block-size:72px}
.range-controls>div:first-child{min-block-size:34px}
.range-controls .text-button:disabled{color:var(--muted);text-decoration:none;opacity:.5}
.selection-message{min-block-size:1lh}
.customer-page .breakdown{min-block-size:64px;position:relative}
.customer-page .breakdown[data-loading]>*{visibility:hidden}
.customer-page .breakdown[data-loading]::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(var(--soft),var(--soft)) left 3px/70% 14px no-repeat,
    linear-gradient(var(--soft),var(--soft)) left 29px/48% 10px no-repeat;
}
.customer-page .total strong{min-block-size:1.25em;line-height:1.25;position:relative}
.customer-page .total strong[data-loading]{color:transparent;min-inline-size:4.8em}
.customer-page .total strong[data-loading]::after{
  content:'';position:absolute;inset:.2em 0;background:var(--soft);border-radius:3px;
}
.mobile-summary-copy strong{white-space:nowrap}
@media(max-width:1100px){.customer-page{--day-rows:3}}
@media(max-width:960px){
  .customer-page{--day-tile-height:94px}
  .customer-page .room-list{min-block-size:145px}
}
@media(max-width:600px){
  .customer-page{--day-rows:5;--day-tile-height:98px;--hour-gap:10px}
  .customer-page .room-list{min-block-size:262px}
  .selection-hint{min-block-size:3em}
  .availability-line{min-block-size:68px}
  .date-grid:not(.month){min-block-size:64px}
  .range-controls{min-block-size:124px}
  .range-controls>div:first-child{min-block-size:42px}
  .customer-page .breakdown{min-block-size:86px}
}

/* One contact input, selected by compact method buttons. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.contact-fieldset{border:0;padding:0;margin:0;min-width:0}
.contact-fieldset legend{font-size:12px;font-weight:600;padding:0;margin-bottom:10px}
.contact-methods{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin-bottom:12px;min-height:82px}
.contact-method{
  grid-column:span 2;display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:38px;
  border:1px solid var(--line);border-radius:5px;background:transparent;color:var(--muted);padding:8px 5px;font-size:11px;
}
.contact-method:nth-child(n+4){grid-column:span 3}
.contact-method svg{width:14px;height:14px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.customer-page .contact-method[aria-checked=true]{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.customer-page .contact-method:hover:not(:disabled):not([aria-checked=true]){border-color:var(--muted);background:var(--surface-raised)}
.optional-comment{margin-top:-4px}
.optional-comment .text-button{font-size:12px;min-height:40px;text-decoration:none}
#commentPanel{margin-top:8px}
#commentPanel label{display:flex;gap:5px;align-items:baseline;margin-bottom:8px}
.customer-page textarea{
  display:block;width:100%;min-width:0;min-height:100px;resize:vertical;border:1px solid #71675e;border-radius:4px;
  padding:12px;background:#201f1f;color:var(--ink);font:inherit;font-size:13px;line-height:1.5;
}
.customer-page textarea::placeholder{color:#b6aca2;opacity:1}
.customer-page textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.booking-rules ul{font-size:11px;line-height:1.8;padding-left:18px;margin:12px 0 0}
.booking-rules li+li{margin-top:6px}
@media(max-width:600px){
  .contact-fieldset legend{font-size:14px}
  .contact-methods{min-height:94px}
  .contact-method{min-height:44px;font-size:12px;gap:5px;padding:8px 4px}
  .optional-comment .text-button{font-size:13px;min-height:44px}
  .customer-page textarea{font-size:16px;min-height:112px}
  .booking-rules ul{font-size:12px}
}
.booking-rules #policySummary{display:grid;gap:6px;max-width:760px;margin-top:18px}
.booking-rules #policySummary li{margin:0}
@media(max-width:600px){
  .mobile-summary{gap:8px 12px}
  .mobile-summary .primary{min-width:0;padding:12px;font-size:14px;gap:8px;white-space:nowrap}
  .mobile-summary-copy span{overflow-wrap:anywhere}
  .customer-page{padding-bottom:calc(152px + env(safe-area-inset-bottom,0px))}
}

#daySlots[data-hour-only=true] .hour-select{height:100%;min-height:calc(var(--day-tile-height) - 2px);border-bottom:0;flex-direction:column;justify-content:center;gap:8px}

/* One chronological timeline; every period remains visible. */
.customer-page .day-timeline{border:1px solid var(--line);border-radius:5px;padding:12px;background:var(--surface)}
.day-timeline .period-heading{margin:0 0 8px}.day-timeline .time-period+.time-period{margin-top:14px}
.customer-page .day-timeline .night-package{width:100%;margin:0;min-height:64px;padding:12px;gap:10px}
.customer-page .day-timeline .night-package strong{font-size:17px}.customer-page .day-timeline .night-package small{font-size:11px;line-height:1.5}
.customer-page .day-timeline .night-price{font-size:16px;white-space:nowrap}.day-timeline .off-hour-grid{min-block-size:44px}
@media(min-width:1100px){
  .customer-page .widget{max-width:1480px;padding-inline:24px}
  .customer-page .intro{padding:18px 0}.customer-page .intro .eyebrow{margin-bottom:8px}
  .customer-page h1{font-size:29px}.customer-page .intro-description{margin-top:6px;font-size:13px}
  .customer-page .booking-layout{grid-template-columns:minmax(0,1fr) 300px;gap:22px}
  .customer-page .section-heading{margin-bottom:10px}.customer-page .room-list{min-block-size:88px}
  .customer-page .room{min-height:88px;padding:12px 14px}.customer-page .room-number{display:none}
  .customer-page .room strong{font-size:15px;padding-right:24px}.customer-page .room small{font-size:11px}
  .customer-page .room .room-rate{margin-top:7px}.customer-page .room-check{top:10px;right:10px}
  .customer-page .calendar-section{display:grid;grid-template-columns:260px minmax(0,1fr);gap:18px;padding-top:18px;align-items:start}
  .calendar-card{padding:12px;margin-bottom:0}.calendar-toolbar{flex-wrap:wrap;gap:8px}
  .calendar-toolbar h3{font-size:15px}.calendar-navigation{margin-left:auto}.calendar-subbar{flex-wrap:wrap;gap:8px}
  .date-grid{gap:2px}.date-grid.month .calendar-day{min-height:34px;padding:5px}.weekdays{padding-block:4px 7px}
  .time-panel .time-heading{min-height:29px;margin-bottom:7px}.time-panel .legend{margin:8px 0}
  .time-panel .hour-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
  .time-panel .off-hour-grid.morning-slots{grid-template-columns:repeat(4,minmax(0,1fr))}
  .time-panel .off-hour-grid.evening-slots{grid-template-columns:repeat(3,minmax(0,1fr))}
  .customer-page{--day-tile-height:70px;--hour-gap:6px}
  .time-panel .hour-select{min-height:36px;padding:8px 6px}.time-panel .hour-select strong{font-size:12px}
  .time-panel .half-slot{min-height:32px;padding:6px 2px;font-size:11px}
  .time-panel .off-hour-grid .hour-select{min-height:44px}
  .customer-page .range-controls{padding:9px;gap:8px;flex-wrap:wrap;margin-top:12px}
  .customer-page .summary-panel{padding:16px;position:sticky;top:12px}
  .customer-page .summary-title{margin-bottom:12px}.customer-page .total{margin:12px 0;padding-top:12px}
  .customer-page #bookingForm{gap:10px}.customer-page .summary-panel .additional-contact{padding:10px;gap:10px}
  .customer-page .summary-panel label{gap:5px}.customer-page .summary-panel input:not([type=checkbox]),.customer-page .summary-panel select{min-height:42px;padding:9px 10px}
  .customer-page .summary-panel .consent{margin:0;line-height:1.5;font-size:11px}
  .customer-page .summary-panel .confirmation-note{margin-top:8px}
  .customer-page .form-status:empty{display:none}
}
@media(min-width:1100px){
  .customer-page.embedded-page .intro{padding:12px 0}.customer-page.embedded-page .intro .eyebrow{display:none}
  .customer-page .time-panel .off-hour-grid .hour-select{min-height:44px;padding:8px;flex-direction:row;gap:6px}
  .customer-page .time-panel .off-hour-grid .hour-select strong{font-size:13px}
  .customer-page #bookingForm{grid-template-columns:repeat(2,minmax(0,1fr))}
  .customer-page #bookingForm>*{grid-column:1/-1}
  .customer-page #bookingForm:not(:has(#additionalContacts .additional-contact)):has(#commentPanel[hidden])>#additionalContacts{grid-column:1}
  .customer-page #bookingForm:not(:has(#additionalContacts .additional-contact)):has(#commentPanel[hidden])>.optional-comment{grid-column:2;align-self:center;margin:0}
  .customer-page .summary-panel .add-contact,.customer-page .summary-panel #addComment{font-size:11px;white-space:nowrap;padding:8px 0;min-height:44px}
}

/* Stable calendar rows, including in the narrow desktop date panel. */
.customer-page .calendar-toolbar{display:grid;grid-template-columns:38px minmax(0,1fr) 38px;gap:6px;padding:0;align-items:center}
.customer-page .calendar-toolbar h3{text-align:center;font-size:14px;line-height:1.4;letter-spacing:-.3px;margin:0;min-width:0;text-transform:capitalize}
.customer-page .calendar-toolbar .icon-button{width:100%;min-width:0}
.customer-page .calendar-subbar{display:grid;gap:8px;margin:10px 0}
.customer-page .calendar-controls{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}
.customer-page .calendar-controls .view-switch{width:auto;flex-shrink:0}
.customer-page .calendar-controls .view-switch button{font-size:11px;padding-inline:8px}
.customer-page .calendar-subbar>span{display:block;min-height:20px;line-height:20px;margin:0;padding:0;font-size:12px}
@media(max-width:640px){
  .customer-page .calendar-toolbar{grid-template-columns:44px minmax(0,1fr) 44px}
  .customer-page .calendar-toolbar h3{font-size:16px}
  .customer-page .calendar-controls .view-switch button{min-height:38px;font-size:12px}
}

.day-timeline :is(.hour-select,.half-slot,.night-package){user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.day-timeline.is-selecting-slots,.day-timeline.is-selecting-slots button{cursor:crosshair}
.customer-page:has(.day-timeline.is-selecting-slots){overflow-anchor:none}
.slot-touch-help{display:none;font-size:12px;line-height:1.5;color:var(--muted);margin:4px 0 8px}
@media(pointer:coarse){.slot-touch-help{display:block}}

/* Mobile booking: choose a time, then review and leave a contact. */
.mobile-room-picker,.mobile-continue,.mobile-checkout-back,.mobile-checkout-caption{display:none}
@media(max-width:600px){
  .customer-page{--day-tile-height:90px;--hour-gap:6px;padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}
  .customer-page .widget{padding-inline:max(16px,env(safe-area-inset-left,0px)) max(16px,env(safe-area-inset-right,0px))}
  .customer-page main{padding-bottom:24px}
  .customer-page .masthead{padding-block:12px}
  .customer-page .intro{padding-block:18px}
  .customer-page h1{font-size:26px;line-height:1.16;max-width:340px;letter-spacing:-.9px}
  .customer-page .intro-description{margin-top:7px;font-size:13px;line-height:1.45}
  .customer-page .section-heading{margin-bottom:10px;gap:8px}
  .customer-page .section-heading h2{font-size:16px;font-weight:500}
  .customer-page .step{width:24px;height:24px;flex-shrink:0;font-size:9px}
  .customer-page .room-list{display:none}
  .customer-page .mobile-room-picker{display:grid;gap:7px}
  .customer-page .mobile-room-picker label{position:absolute;inline-size:1px;block-size:1px;overflow:hidden;clip-path:inset(50%)}
  .customer-page #mobileRoom{width:100%;min-height:48px;padding:11px 38px 11px 12px;font-size:16px;font-weight:500;border:1px solid var(--control-border);border-radius:8px;background:var(--surface)}
  .customer-page #mobileRoomDetail{font-size:12px;line-height:1.45;color:var(--muted);min-height:2.9em;margin:0;overflow-wrap:anywhere}
  .customer-page .calendar-section{padding-top:18px}
  .customer-page .calendar-card{padding:10px;border-radius:10px;margin-bottom:18px}
  .customer-page .calendar-toolbar{grid-template-columns:44px minmax(0,1fr) 44px;gap:8px}
  .customer-page .calendar-toolbar h3{font-size:16px;font-weight:500}
  .customer-page .calendar-subbar{gap:5px;margin:6px 0 8px}
  .customer-page .calendar-controls{gap:8px}
  .customer-page .calendar-controls .view-switch{padding:2px;gap:2px}
  .customer-page .calendar-controls .view-switch button{min-height:44px;font-size:12px;padding:8px 12px}
  .customer-page .today-button{min-height:44px;padding-inline:10px;font-size:12px}
  .customer-page .calendar-subbar>span{font-size:12px;min-height:18px;line-height:18px}
  .customer-page .weekdays{font-size:10px;padding:3px 0 5px}
  .customer-page .date-grid{gap:1px}
  .customer-page .date-grid.month .calendar-day{min-height:44px;padding:7px 0;border-radius:7px}
  .customer-page .date-grid.month .calendar-day strong{font-size:14px}
  .customer-page .time-heading{min-height:24px;margin-bottom:4px}
  .customer-page .time-heading h3{font-size:16px;font-weight:500}
  .customer-page .time-heading .muted{font-size:11px}
  .customer-page .time-help{font-size:12px;line-height:1.45}
  .customer-page .slot-touch-help{font-size:11px;line-height:1.4;margin:4px 0}
  .customer-page .legend{font-size:10px;gap:8px 12px;margin:10px 0}
  .customer-page .legend span{gap:5px}
  .customer-page .legend i{width:10px;height:10px}
  .customer-page .day-timeline{padding:10px;border-radius:10px}
  .customer-page .day-timeline .time-period+.time-period{margin-top:12px}
  .customer-page .day-timeline .period-heading{margin-bottom:6px;gap:8px}
  .customer-page .period-heading h3{font-size:13px;font-weight:500}
  .customer-page .period-heading>span{font-size:10px}
  .customer-page .hour-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .customer-page .hour-tile{border-radius:7px}
  .customer-page .hour-select{min-height:44px;padding:9px 7px;gap:4px}
  .customer-page .hour-select strong{font-size:14px;font-weight:500}
  .customer-page .hour-select small{font-size:10px}
  .customer-page .half-slot{min-height:44px;padding:8px 2px;font-size:12px}
  .customer-page #daySlots[data-hour-only=true]{--day-tile-height:46px}
  .customer-page #daySlots[data-hour-only=true] .hour-select{min-height:44px;flex-direction:row;gap:6px}
  .customer-page .off-hour-grid{min-block-size:46px}
  .customer-page .off-hour-grid.morning-slots{grid-template-columns:repeat(4,minmax(0,1fr))}
  .customer-page .off-hour-grid.evening-slots{grid-template-columns:repeat(3,minmax(0,1fr))}
  .customer-page .off-hour-grid .hour-select{min-height:44px;padding:8px 4px;gap:4px;flex-direction:row}
  .customer-page .off-hour-grid .hour-select strong{font-size:13px}
  .customer-page .off-hour-grid .hour-select small{font-size:9px}
  .customer-page .day-timeline .night-package{border-radius:7px;padding:11px 9px;min-height:70px;grid-template-columns:20px minmax(0,1fr) auto;gap:5px 8px}
  .customer-page .day-timeline .night-package strong{font-size:14px;margin:0}
  .customer-page .day-timeline .night-package small{font-size:10px;line-height:1.4}
  .customer-page .day-timeline .night-price{font-size:13px}
  .customer-page .night-icon{font-size:23px}
  .customer-page .range-controls{grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;padding:10px;min-block-size:0;margin-top:12px;border-radius:8px}
  .customer-page .range-controls>div:first-child{min-block-size:0;grid-column:1/-1;display:flex;align-items:baseline;justify-content:space-between;gap:8px}
  .customer-page .range-caption{font-size:9px;letter-spacing:.6px;margin:0}
  .customer-page .range-controls strong{font-size:14px;text-align:right}
  .customer-page .duration-control{gap:4px}
  .customer-page .duration-control output{font-size:13px;min-width:54px}
  .customer-page .range-controls>.text-button{padding-inline:8px;font-size:12px}
  .customer-page .selection-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-top:8px}
  .customer-page .selection-actions .add-day{margin:0;min-height:46px;padding:10px 6px;font-size:12px;border-radius:8px}
  .customer-page .mobile-continue{display:flex;min-height:46px;padding:10px 12px;font-size:12px;gap:6px;border-radius:8px;justify-content:center;text-transform:none;letter-spacing:0;font-weight:500}
  .customer-page .mobile-continue:only-child{grid-column:1/-1}
  .customer-page .selection-message{font-size:12px;line-height:1.45;min-block-size:0;margin-top:8px}
  .customer-page .selection-message:empty{display:none}
  .customer-page .mobile-summary{gap:5px 12px;padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));min-height:80px}
  .customer-page .mobile-summary-copy span{font-size:11px;line-height:1.4;max-width:230px}
  .customer-page .mobile-summary-copy strong{font-size:20px;margin-top:2px;letter-spacing:-.5px}
  .customer-page .mobile-summary .primary{font-size:13px;min-height:46px;padding:10px 12px;gap:6px;border-radius:8px;text-transform:none;letter-spacing:0;font-weight:500}
  .customer-page .mobile-summary-message{font-size:11px;line-height:1.4}
  .customer-page:not(.mobile-checkout) .summary-panel{display:none}
  .customer-page.mobile-checkout{padding-bottom:env(safe-area-inset-bottom,0px)}
  .customer-page.mobile-checkout .selection-panel,.customer-page.mobile-checkout .intro,.customer-page.mobile-checkout .mobile-summary{display:none}
  .customer-page.mobile-checkout .booking-layout{gap:0}
  .customer-page.mobile-checkout .summary-panel{display:block;padding:0;border:0;background:transparent;scroll-margin-top:8px;outline:none}
  .customer-page .mobile-checkout-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:13px;padding:8px 0;margin:6px 0;text-decoration:none}
  .customer-page .summary-title{display:block;margin:0 0 16px}
  .customer-page .summary-title h2{font-size:22px;letter-spacing:-.6px;font-weight:500}
  .customer-page .mobile-checkout-caption{display:block;font-size:12px;line-height:1.5;color:var(--muted);margin-top:6px}
  .customer-page .schedule-summary{padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:8px}
  .customer-page .schedule-summary #summaryRoom{font-size:16px;line-height:1.35}
  .customer-page .schedule-summary div>span{font-size:13px;line-height:1.4;margin-top:5px}
  .customer-page .edit-selection{font-size:12px;min-height:44px;padding:8px 0;margin:0}
  .customer-page .total{margin:4px 0 16px;padding-top:12px}
  .customer-page .total>span{font-size:13px}.customer-page .total strong{font-size:26px}
  .customer-page #bookingForm{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}
  .customer-page #bookingForm>*{grid-column:1/-1}
  .customer-page #bookingForm:not(:has(#additionalContacts .additional-contact)):has(#commentPanel[hidden])>#additionalContacts{grid-column:1}
  .customer-page #bookingForm:not(:has(#additionalContacts .additional-contact)):has(#commentPanel[hidden])>.optional-comment{grid-column:2;align-self:center;margin:0}
  .customer-page .summary-panel label{font-size:12px;gap:6px}
  .customer-page .summary-panel :is(input:not([type=checkbox]),select,textarea){min-height:48px;font-size:16px;padding:11px 10px;line-height:1.4;border-radius:7px}
  .customer-page .summary-panel .additional-contact{grid-template-columns:minmax(105px,.8fr) minmax(0,1.2fr);gap:10px;padding:10px;border-radius:8px}
  .customer-page .summary-panel .additional-contact legend{font-size:11px;padding-inline:4px}
  .customer-page .summary-panel .additional-contact label{font-size:11px;gap:6px}
  .customer-page .summary-panel .additional-contact input{padding-inline:8px}
  .customer-page .summary-panel .additional-contact select{padding-inline:7px}
  .customer-page .summary-panel .additional-contact .remove-contact{grid-column:1/-1;justify-self:end;font-size:12px;min-height:44px;padding:8px 0;margin-top:-5px}
  .customer-page .summary-panel :is(.add-contact,#addComment){font-size:12px;min-height:44px;white-space:nowrap;padding:8px 0;margin:0}
  .customer-page .optional-comment{margin:0}
  .customer-page .summary-panel textarea{min-height:96px}
  .customer-page .summary-panel .consent{font-size:12px;line-height:1.5;gap:10px;margin:0;min-height:44px;align-items:center}
  .customer-page .summary-panel .consent input{min-width:24px;width:24px;height:24px;min-height:24px;flex-shrink:0}
  .customer-page #submit{font-size:14px;min-height:50px;padding:12px 15px;border-radius:8px;text-transform:none;letter-spacing:0;font-weight:500}
  .customer-page #submitLabel{font-size:14px}
  .customer-page .fineprint{font-size:11px;line-height:1.4}
  .customer-page .fineprint+.fineprint{margin-top:-7px}
  .customer-page .form-status:empty{display:none}
  .customer-page .booking-periods{margin-top:12px}
  .customer-page .booking-period{padding:10px;gap:5px;border-radius:8px;margin-bottom:8px}
  .customer-page .period-actions{justify-content:flex-end;gap:16px}
  .customer-page .period-actions .text-button{padding-block:8px;min-height:44px}
  .customer-page .booking-rules{margin-top:24px;padding-top:18px}
  .customer-page .booking-rules h2{font-size:16px;line-height:1.4;margin-bottom:12px}
  .customer-page #rateTable{overflow:visible}
  .customer-page .rate-table{display:block;width:100%;min-width:0;font-size:12px;margin-top:0}
  .customer-page .rate-table>tr:first-child{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .customer-page .rate-table>tr:not(:first-child){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 12px;border-bottom:1px solid var(--line);padding:12px 0}
  .customer-page .rate-table td{padding:0;border:0;font-size:12px;line-height:1.4}
  .customer-page .rate-table td:first-child{grid-column:1/-1;color:var(--ink);font-size:13px;font-weight:500}
  .customer-page .rate-table td:not(:first-child)::before{content:attr(data-label);display:block;font-size:10px;line-height:1.4;color:var(--muted);margin-bottom:4px;min-height:2.8em}
  .customer-page .booking-rules ul{font-size:11px;line-height:1.5;padding-left:16px}
  .customer-page .booking-rules #policySummary{gap:7px;margin-top:14px}
  .customer-page .powered-by{margin-top:20px}
  .customer-page #successDialog{width:calc(100% - 24px);padding:22px 18px;border-radius:14px;max-height:calc(var(--app-viewport-height,100dvh) - 24px)}
  .customer-page #successDialog h2{font-size:23px;line-height:1.25;margin-bottom:14px}
  .customer-page #successDialog p{font-size:13px;line-height:1.55;margin-bottom:14px}
  .customer-page #successDialog .eyebrow{font-size:10px;line-height:1.5}
  .customer-page #successDialog .success-icon{width:40px;height:40px;font-size:20px;margin-bottom:16px}
  .customer-page #successDialog .primary{min-height:48px;font-size:14px;text-transform:none;letter-spacing:0;margin-top:18px}
  .customer-page :is(#dateHeading,#timeHeading,.summary-panel){scroll-margin-top:12px}
}
@media(max-width:370px){
  .customer-page .summary-panel .additional-contact{grid-template-columns:1fr}
  .customer-page .hour-select small{font-size:9px}
  .customer-page .mobile-summary-copy span{font-size:10px}
  .customer-page .mobile-summary .primary{padding-inline:9px;font-size:12px}
}

@media(max-width:600px){
  /* The month is the mobile date overview; a second view control adds no date choice. */
  .customer-page .calendar-controls .view-switch{display:none}
  .customer-page .calendar-subbar{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;margin:4px 0 7px}
  .customer-page .calendar-controls{grid-column:2;grid-row:1}
  .customer-page .calendar-subbar>span{grid-column:1;grid-row:1;min-width:0}
}

@media(max-width:600px){
  /* Validation never moves the next control between a touch-down and its click. */
  .customer-page #bookingForm>label:has(input:not([type=checkbox])){position:relative;padding-bottom:20px}
  .customer-page #bookingForm>label:has(input:not([type=checkbox]))>.field-error{position:absolute;inset: auto 0 0;line-height:18px;margin:0}
  .customer-page .summary-panel .additional-contact{position:relative;align-items:start;padding-bottom:46px}
  .customer-page .summary-panel .additional-contact>label{align-content:start}
  .customer-page .additional-contact>label:has(input)>.field-error{position:absolute;inset:auto 10px 10px;width:auto;min-height:36px;line-height:18px;margin:0}
  .customer-page .summary-panel .additional-contact:has(.remove-contact){padding-bottom:10px}
  .customer-page .summary-panel .additional-contact:has(.remove-contact) .remove-contact{margin-top:26px}
  .customer-page .additional-contact:has(.remove-contact)>label:has(input)>.field-error{bottom:54px}
  .customer-page .booking-consent{position:relative;padding-bottom:22px}
  .customer-page .booking-consent>.field-error{position:absolute;inset:auto 0 0;line-height:18px;margin:0}
}

.mobile-time-copy{display:none}
@media(max-width:600px){
  .customer-page .wide-time-copy{display:none}
  .customer-page .mobile-time-copy{display:inline}
}

@media(max-width:600px){
  .customer-page .selection-actions:not(:has(#addDay:not([hidden]))) .mobile-continue{grid-column:1/-1}
}


/* Desktop booking: readable controls and a checkout that follows a real selection. */
.desktop-checkout-empty,.desktop-price-toggle{display:none}
@media(min-width:961px){
  .customer-page .summary-panel{width:100%;max-height:calc(var(--app-viewport-height,100dvh) - 24px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-gutter:stable;scroll-padding:16px 72px}
  .customer-page .summary-panel[data-has-selection=false]{max-height:none;overflow:visible;scrollbar-gutter:auto}
  .customer-page .summary-panel[data-has-selection=false] :is(.schedule-summary,.edit-selection,.total,#bookingForm){display:none}
  .customer-page .summary-panel[data-has-selection=false] .desktop-checkout-empty{display:block;font-size:13px;line-height:1.6;color:var(--muted);max-width:29ch;margin:0}
  .customer-page .summary-title{margin-bottom:14px}
  .customer-page .summary-title h2{font-size:18px;font-weight:500;letter-spacing:-.3px}
  .customer-page .schedule-summary #summaryRoom{font-size:17px;font-weight:500}
  .customer-page .schedule-summary div>span{font-size:13px;line-height:1.45;margin-top:5px}
  .customer-page .edit-selection{display:inline-flex;align-items:center;min-height:36px;font-size:12px;margin:3px 0 0;padding:6px 0}
  .customer-page .total{margin:8px 0 14px;padding-top:12px}
  .customer-page .total>span{font-size:12px}
  .customer-page .total strong{font-size:28px;letter-spacing:-.8px}
  .customer-page #bookingForm{gap:12px}
  .customer-page .summary-panel label{font-size:12px;gap:6px;font-weight:400}
  .customer-page .summary-panel :is(input:not([type=checkbox]),select,textarea){min-height:42px;font-size:14px;line-height:1.4;padding:9px 10px;border-radius:6px;scroll-margin-block:20px 88px}
  .customer-page .summary-panel .additional-contact{grid-template-columns:minmax(104px,.82fr) minmax(0,1.18fr);align-items:start;padding:10px;gap:8px 10px;border-radius:7px}
  .customer-page .summary-panel .additional-contact legend{font-size:11px;padding:0 5px}
  .customer-page .summary-panel .additional-contact label{font-size:11px;align-content:start;gap:6px}
  .customer-page .summary-panel .additional-contact :is(input,select){padding-inline:7px}
  .customer-page .summary-panel .additional-contact .remove-contact{grid-column:1/-1;justify-self:end;min-height:36px;font-size:12px;margin:0;padding:6px 0}
  .customer-page .additional-contact-list{gap:12px}
  .customer-page .summary-panel :is(.add-contact,#addComment){font-size:12px;min-height:36px;padding:6px 0;line-height:1.4}
  .customer-page .summary-panel textarea{min-height:84px}
  .customer-page .summary-panel .consent{font-size:11px;line-height:1.5;gap:9px;margin:0;min-height:42px;align-items:center}
  .customer-page .summary-panel .consent input{width:20px;height:20px;min-width:20px;min-height:20px;flex-shrink:0;margin:0}
  .customer-page #submit{position:sticky;bottom:0;z-index:2;min-height:46px;padding:11px 14px;border-radius:7px;text-transform:none;font-size:14px;font-weight:500;letter-spacing:0;box-shadow:0 10px 0 0 var(--surface)}
  .customer-page #submitLabel{font-size:14px}
  .customer-page .fineprint{font-size:11px;line-height:1.45}
  .customer-page .fineprint+.fineprint{margin-top:-6px}
  .customer-page .form-status{font-size:12px;line-height:1.5}
  .customer-page .desktop-price-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:36px;font-size:12px;padding:6px 0;margin:3px 0 0;text-decoration:none}
  .customer-page .desktop-price-toggle:hover{text-decoration:underline;text-underline-offset:3px}
  .customer-page .desktop-price-toggle[aria-expanded=true]>span{transform:rotate(180deg)}
  .customer-page #breakdown[data-expanded=false]{display:none}
  .customer-page #breakdown{min-height:0;gap:10px;margin:6px 0 12px;padding:10px;background:var(--surface-inset);border-radius:6px}
  .customer-page .room-subtotal{font-size:12px;line-height:1.4}
  .customer-page .price-line{font-size:12px;line-height:1.4}
  .customer-page .price-line small{font-size:11px}
  .customer-page .booking-period{padding:10px;gap:5px;margin-bottom:8px}
  .customer-page .booking-periods h3{font-size:13px;margin-bottom:9px}
  .customer-page .period-actions .text-button{min-height:36px;font-size:12px;padding:6px 0}
  .customer-page #successDialog{width:min(460px,calc(100% - 40px));padding:28px;border-radius:10px;max-height:calc(var(--app-viewport-height,100dvh) - 40px);scrollbar-width:thin}
  .customer-page #successDialog h2{font-size:26px;line-height:1.3;margin-bottom:16px}
  .customer-page #successDialog p{font-size:14px;line-height:1.6}
  .customer-page #successDialog .primary{position:sticky;bottom:0;min-height:46px;text-transform:none;letter-spacing:0;font-size:14px;border-radius:7px}
}
@media(min-width:1100px){
  .customer-page .widget{max-width:1480px;padding-inline:24px}
  .customer-page .masthead{padding-block:16px}
  .customer-page .intro{padding-block:14px}
  .customer-page.embedded-page .intro{padding-block:10px}
  .customer-page h1{font-size:28px;line-height:1.2;letter-spacing:-.8px}
  .customer-page .intro-description{font-size:13px;line-height:1.45;margin-top:5px}
  .customer-page .booking-layout{grid-template-columns:minmax(0,1fr) 340px;gap:24px}
  .customer-page .section-heading{margin-bottom:10px;min-height:28px}
  .customer-page .section-heading h2{font-size:17px;font-weight:500}
  .customer-page .room-list{min-height:78px;gap:10px}
  .customer-page .room{min-height:78px;padding:11px 12px;border-radius:7px}
  .customer-page .room strong{font-size:15px;line-height:1.35}
  .customer-page .room small{font-size:12px;line-height:1.4}
  .customer-page .room .room-rate{font-size:12px;font-weight:400;margin-top:6px}
  .customer-page .room-check{top:10px;right:10px;width:19px;height:19px}
  .customer-page .calendar-section{grid-template-columns:280px minmax(0,1fr);gap:16px;padding-top:16px}
  .customer-page .calendar-card{padding:12px;border-radius:8px}
  .customer-page .calendar-toolbar{grid-template-columns:38px minmax(0,1fr) 38px;gap:8px}
  .customer-page .calendar-toolbar h3{font-size:16px;font-weight:500;letter-spacing:-.3px}
  .customer-page .calendar-subbar{gap:5px;margin-block:8px}
  .customer-page .calendar-subbar>span{font-size:12px}
  .customer-page .calendar-controls .view-switch button{font-size:12px;min-height:34px;padding:6px 9px}
  .customer-page .today-button{font-size:12px;min-height:38px}
  .customer-page .weekdays{font-size:10px;padding:3px 0 6px}
  .customer-page .date-grid{gap:1px}
  .customer-page .date-grid.month .calendar-day{min-height:36px;padding:6px 0;border-radius:5px}
  .customer-page .date-grid.month .calendar-day strong{font-size:14px}
  .customer-page .time-panel .time-heading{min-height:28px;margin-bottom:5px}
  .customer-page .time-heading h3{font-size:17px;font-weight:500}
  .customer-page .time-help{font-size:12px;line-height:1.45;max-width:none}
  .customer-page .legend{font-size:11px;margin:8px 0;gap:12px}
  .customer-page .day-timeline{padding:10px;border-radius:8px}
  .customer-page .day-timeline .period-heading{margin-bottom:6px}
  .customer-page .period-heading h3{font-size:13px;font-weight:500}
  .customer-page .period-heading>span{font-size:11px}
  .customer-page .day-timeline .time-period+.time-period{margin-top:12px}
  .customer-page .time-panel .hour-grid{gap:6px}
  .customer-page{--day-tile-height:76px;--hour-gap:6px}
  .customer-page .time-panel .hour-select{min-height:38px;padding:8px 6px}
  .customer-page .time-panel .hour-select strong{font-size:14px;font-weight:500}
  .customer-page .time-panel .hour-select small{font-size:10px}
  .customer-page .time-panel .half-slot{min-height:36px;font-size:12px;padding:7px 2px}
  .customer-page .hour-tile{border-radius:6px}
  .customer-page .time-panel .off-hour-grid .hour-select{min-height:40px;gap:5px;padding:8px 6px}
  .customer-page .time-panel .off-hour-grid .hour-select strong{font-size:14px}
  .customer-page .day-timeline .night-package{min-height:62px;padding:10px;gap:9px;border-radius:6px}
  .customer-page .day-timeline .night-package strong{font-size:16px}
  .customer-page .day-timeline .night-package small{font-size:11px}
  .customer-page .day-timeline .night-price{font-size:16px}
  .customer-page .range-controls{min-height:0;padding:9px 10px;gap:8px;margin-top:12px;border-radius:7px}
  .customer-page .range-controls strong{font-size:14px}
  .customer-page .range-controls>div:first-child{min-height:0}
  .customer-page .duration-control .icon-button{min-width:36px;min-height:36px}
  .customer-page .duration-control output{font-size:13px}
  .customer-page .range-controls>.text-button{font-size:12px;min-height:36px;padding:6px}
  .customer-page .selection-actions .add-day{min-height:38px;margin-top:10px;font-size:12px}
  .customer-page .summary-panel{padding:16px;top:12px;border-radius:8px}
  .customer-page .booking-rules{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:14px 32px;margin-top:28px;padding-top:20px;align-items:start}
  .customer-page .booking-rules h2{grid-column:1/-1;font-size:18px;margin:0}
  .customer-page .rate-table{margin:0;font-size:13px;line-height:1.5}
  .customer-page .rate-table :is(th,td){padding:10px 14px 10px 0}
  .customer-page .rate-table th{font-size:12px;color:var(--muted);font-weight:400}
  .customer-page .rate-table td:first-child{font-weight:500;color:var(--ink)}
  .customer-page .booking-rules #policySummary{margin:0;gap:7px;font-size:12px;line-height:1.5}
  .customer-page .booking-rules>ul:last-child{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px 32px;margin:0;padding-left:18px;font-size:12px;line-height:1.5}
  .customer-page .booking-rules>ul:last-child li{margin:0}
}

.checkout-actions{display:contents}.checkout-actions>*{grid-column:1/-1}
@media(min-width:961px){
  .customer-page .summary-panel{max-height:var(--checkout-available-height,calc(var(--app-viewport-height,100dvh) - 24px));scroll-padding-bottom:140px}
  .customer-page .checkout-actions{display:grid;grid-template-columns:1fr;gap:10px;position:sticky;bottom:-16px;z-index:2;margin-inline:-16px;padding:10px 16px 16px;background:var(--surface);border-top:1px solid var(--line)}
  .customer-page .checkout-actions #submit{position:static;box-shadow:none}
  .customer-page .summary-panel :is(input,select,textarea){scroll-margin-bottom:144px}
}

@media(min-width:961px){
  /* A validation message must not move the next button during a mouse click. */
  .customer-page #bookingForm>label:has(input:not([type=checkbox])){position:relative;padding-bottom:20px}
  .customer-page #bookingForm>label:has(input:not([type=checkbox]))>.field-error{position:absolute;inset:auto 0 0;line-height:18px;margin:0}
  .customer-page .summary-panel .additional-contact{position:relative;padding-bottom:46px}
  .customer-page .additional-contact>label:has(input)>.field-error{position:absolute;inset:auto 10px 10px;width:auto;min-height:36px;line-height:18px;margin:0}
  .customer-page .summary-panel .additional-contact:has(.remove-contact){padding-bottom:10px}
  .customer-page .summary-panel .additional-contact:has(.remove-contact) .remove-contact{margin-top:40px}
  .customer-page .additional-contact:has(.remove-contact)>label:has(input)>.field-error{bottom:54px}
  .customer-page .booking-consent{position:relative;padding-bottom:20px}
  .customer-page .booking-consent>.field-error{position:absolute;inset:auto 0 0;line-height:18px;margin:0}
}

/* Phone-first public checkout: required details stay simple, extras open on demand. */
.customer-page #bookingForm>label.booking-phone-field:has(>input){grid-column:1/-1;position:relative;padding-bottom:38px;min-width:0}
.customer-page .booking-phone-field .phone-caption{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.customer-page .phone-required{font-size:11px;font-weight:400;color:var(--muted)}
.customer-page .booking-phone-field input{width:100%}
.customer-page #bookingForm>label.booking-phone-field:has(>input)>.field-error{position:absolute;left:0;right:0;bottom:0;margin:0;min-height:34px;line-height:17px;font-size:11px}
.customer-page #additionalContacts:empty{display:none}
@media(max-width:600px){
  .customer-page .phone-required{font-size:12px}
  .customer-page #bookingForm>label.booking-phone-field:has(>input)>.field-error{font-size:12px}
}
