/* Calendar presentation only. Booking fields, prices and permissions are owned by detail.php. */
body.booking-calendar-page { background: #f4f5f7 !important; background-image: none !important; }
/* A body scroll container traps sticky controls while the document itself scrolls. */
html:not(.booking-modal-open) > body.booking-calendar-page:not(.mobile-nav-open) {
    overflow-x: clip !important;
    overflow-y: visible !important;
}
#clubBookingCalendar.booking-studio {
    --calendar-ink: #24313d;
    --calendar-purple: #526a7f;
    --calendar-line: #dce2e8;
    width: 100% !important;
    max-width: 1480px !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 18px 24px 36px !important;
    color: #24313d !important;
    background: transparent !important;
    background-image: none !important;
}
#clubBookingCalendar *, #clubBookingCalendar *::before, #clubBookingCalendar *::after { box-sizing: border-box; }
#clubBookingCalendar .booking-hero {
    position: relative !important;
    z-index: 20 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    min-height: 0 !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    overflow: visible !important;
}
#clubBookingCalendar .booking-hero::before, #clubBookingCalendar .booking-hero::after { display: none !important; }
#clubBookingCalendar .booking-hero__content { min-width: 0; }
#clubBookingCalendar .booking-kicker { margin: 0 0 4px !important; }
#clubBookingCalendar .booking-kicker a { color: #606d79 !important; font-size: 12px !important; font-weight: 500 !important; }
#clubBookingCalendar .booking-kicker > span { display: none !important; }
#clubBookingCalendar .booking-hero h1 {
    margin: 0 !important;
    color: #24313d !important;
    -webkit-text-fill-color: currentColor;
    font-size: 25px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}
#clubBookingCalendar .booking-hero__meta { display: flex !important; flex-wrap: wrap !important; justify-content: flex-end !important; gap: 8px !important; width: auto !important; max-width: 100% !important; min-width: 0 !important; margin: 0 !important; flex: 0 1 auto !important; overflow: visible !important; overflow-x: visible !important; overflow-y: visible !important; }
#clubBookingCalendar .booking-hero__favorite { display: block !important; flex: 0 0 44px !important; width: 44px !important; min-width: 44px !important; }
#clubBookingCalendar .booking-hero__favorite .club-favorite-form { display: block !important; width: 44px !important; min-width: 44px !important; }
#clubBookingCalendar .booking-hero__meta > a {
    display: inline-flex !important; align-items: center; justify-content: center;
    min-height: 44px !important; height: auto !important; padding: 8px 12px !important;
    border: 1px solid #dce2e8 !important; border-radius: 8px !important;
    background: #fff !important; color: #24313d !important;
    font-size: 12px !important; font-weight: 500 !important; box-shadow: none !important;
}
#clubBookingCalendar .booking-hero:has(.booking-club-contact) { display: flex !important; flex-direction: row !important; flex-wrap: nowrap; gap: 12px 24px !important; }
#clubBookingCalendar .booking-hero:has(.booking-club-contact) .booking-hero__content { flex: 0 1 auto; order: 1; }
#clubBookingCalendar .booking-hero:has(.booking-club-contact) .booking-hero__meta { flex: 0 0 auto !important; order: 3; }
#clubBookingCalendar .booking-club-contact { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; flex: 1 1 auto; order: 2; gap: 4px 16px; width: auto; min-width: 0; max-width: 100%; margin: 0; padding: 0; color: #4e6071; font-size: 13px; line-height: 1.5; }
#clubBookingCalendar .booking-club-contact__address, #clubBookingCalendar .booking-club-contact__note { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
#clubBookingCalendar .booking-club-contact__phones { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; max-width: 100%; }
#clubBookingCalendar a.booking-club-contact__phone { display: inline-flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 3px 7px; min-width: 0; max-width: 100%; min-height: 32px; margin: 0; padding: 4px 9px; border: 1px solid #d1dedb; border-radius: 6px; background: #fff; color: #23584d; font-size: 13px; font-weight: 400; line-height: 1.4; text-decoration: none; box-shadow: none; }
#clubBookingCalendar .booking-club-contact__phone > span { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
#clubBookingCalendar .booking-club-contact__phone > strong { color: inherit; font-size: inherit; font-weight: 500; white-space: nowrap; }
#clubBookingCalendar a.booking-club-contact__phone:hover { border-color: #7aa798; background: #edf7f2; color: #194e42; }
#clubBookingCalendar a.booking-club-contact__phone:focus-visible { outline: 3px solid #7aa798; outline-offset: 2px; }
@media (max-width: 900px) {
    #clubBookingCalendar .booking-hero:has(.booking-club-contact) { flex-wrap: wrap; gap: 6px 8px !important; }
    #clubBookingCalendar .booking-hero:has(.booking-club-contact) .booking-hero__content { flex: 1 1 0; }
    #clubBookingCalendar .booking-hero:has(.booking-club-contact) .booking-hero__meta { order: 2; }
    #clubBookingCalendar .booking-club-contact { flex: 1 0 100%; order: 3; width: 100%; }
}
@media (max-width: 760px) {
    #clubBookingCalendar .booking-club-contact { gap: 4px 10px; font-size: 12px; }
    #clubBookingCalendar .booking-club-contact__phones { flex: 0 1 auto; }
    #clubBookingCalendar a.booking-club-contact__phone { min-height: 36px; font-size: 12px; padding: 5px 9px; }
}
#clubBookingCalendar .booking-board--week {
    position: relative !important;
    z-index: 1 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 16px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 18px !important;
    border: 1px solid #dce2e8 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 4px 20px #24313d06 !important;
    overflow: visible !important;
}
#clubBookingCalendar .booking-board--week::before, #clubBookingCalendar .booking-board--week::after { display: none !important; }
#clubBookingCalendar .booking-board--week > * { grid-column: 1 !important; grid-row: auto !important; min-width: 0; }
#clubBookingCalendar .booking-board__head--compact {
    display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; align-items: center !important;
    gap: 12px 0 !important;
    width: 100% !important; min-height: 0 !important;
    margin: 0 !important; padding: 0 !important;
    border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important;
}
#clubBookingCalendar .week-switcher--premium {
    display: grid !important; grid-template-columns: 44px minmax(0, 1fr) 44px !important;
    align-items: center !important; gap: 6px !important;
    grid-column: 1 !important; grid-row: 1 !important; justify-self: start;
    width: 100% !important; max-width: 400px !important; min-width: 0;
    margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important;
}
#clubBookingCalendar .week-switcher--premium a {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    width: 44px !important; min-width: 44px; height: 44px !important; min-height: 44px !important;
    margin: 0 !important; padding: 0 !important;
    border: 1px solid #dce2e8 !important; border-radius: 8px !important;
    background: #fff !important; color: #24313d !important; box-shadow: none !important;
    font-size: 25px !important; font-weight: 400 !important; line-height: 1 !important;
    text-decoration: none !important; transform: none !important;
}
#clubBookingCalendar .week-switcher--premium a:hover { border-color: #b8c4ce !important; background: #f1f4f6 !important; }
#clubBookingCalendar .week-switcher--premium strong { color: #24313d !important; font-size: 14px !important; font-weight: 600 !important; line-height: 1.45 !important; text-align: center; }
#clubBookingCalendar .week-switcher--premium strong > span { font: inherit !important; color: inherit !important; line-height: inherit !important; }
#clubBookingCalendar .booking-calendar-week-short { display: none; }
#clubBookingCalendar .booking-calendar-courts { grid-column: 2 !important; grid-row: 1 !important; display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; padding: 0 12px; }
#clubBookingCalendar .court-picker {
    display: flex !important; flex-wrap: nowrap !important; flex: 0 1 auto; align-items: center;
    justify-self: center;
    width: auto !important; max-width: 390px !important; min-width: 0 !important;
    gap: 0 !important; margin: 0 !important; padding: 3px !important;
    border: 1px solid #dce2e8 !important; border-radius: 9px !important;
    background: #f5f7f9 !important; box-shadow: none !important;
    overflow-x: auto; scrollbar-width: thin; overscroll-behavior-inline: contain;
}
#clubBookingCalendar .court-picker__btn {
    flex: 1 0 86px; position: relative; width: auto !important; min-width: 76px !important;
    min-height: 44px !important; height: auto !important; margin: 0 !important; padding: 10px 18px !important;
    border: 0 !important; border-radius: 6px !important;
    color: #606d79 !important; background: transparent !important;
    font-size: 13px !important; font-weight: 500 !important; line-height: 1.3 !important;
    white-space: nowrap; box-shadow: none !important; transform: none !important;
}
#clubBookingCalendar .court-picker__btn::before, #clubBookingCalendar .court-picker__btn::after { display: none !important; }
#clubBookingCalendar .booking-court-surface { display:inline-block!important; flex:0 0 12px; width:12px!important; height:12px!important; margin:0 7px 0 0; border:1px solid #24313d70; border-radius:3px; background:var(--court-surface); vertical-align:-1px; }
#clubBookingCalendar .court-picker__btn.is-active .booking-court-surface { border-color:#ffffffb8; }
#clubBookingCalendar.has-court-surface .booking-calendar-day-title::before { content:""; display:inline-block; width:12px; height:12px; margin-right:8px; border:1px solid #24313d70; border-radius:3px; background:var(--active-court-surface); vertical-align:-1px; }
#clubBookingCalendar .court-picker__btn.is-active { color: #fff !important; background: #263744 !important; }
#clubBookingCalendar .court-picker__btn:hover:not(.is-active) { background: #e8edf2 !important; color: #3c5265 !important; }
#clubBookingCalendar .booking-calendar-days, #clubBookingCalendar .booking-calendar-day-title { display: none; }
#clubBookingCalendar .booking-calendar-lock-notice { margin: 0; padding: 10px 12px; border: 1px solid #dce2e8; border-radius: 8px; color: #606d79; background: #f4f5f7; font-size: 12px; line-height: 1.5; }
#clubBookingCalendar .court-week-grid-wrap {
    display: block !important; width: 100% !important; min-width: 0 !important;
    max-width: 100% !important; max-height: min(70vh, 760px) !important;
    margin: 0 !important; padding: 0 !important; border: 1px solid #dce2e8 !important;
    border-radius: 10px !important; background: #fff !important; box-shadow: none !important;
    overflow: auto !important; scrollbar-width: auto; scrollbar-color: #8796a3 #eef1f4;
    scrollbar-gutter: stable;
    overscroll-behavior: auto !important; -webkit-overflow-scrolling: touch; isolation: isolate;
}
#clubBookingCalendar .court-week-grid-wrap::-webkit-scrollbar { width: 12px; height: 12px; }
#clubBookingCalendar .court-week-grid-wrap::-webkit-scrollbar-track { background: #eef1f4; border-radius: 9px; }
#clubBookingCalendar .court-week-grid-wrap::-webkit-scrollbar-thumb { min-height: 44px; border: 2px solid #eef1f4; border-radius: 9px; background: #8796a3; }
#clubBookingCalendar .court-week-grid-wrap::-webkit-scrollbar-thumb:hover { background: #526a7f; }
#clubBookingCalendar .court-week-panel { width: 100% !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; }
#clubBookingCalendar .court-week-panel:not(.is-active) { display: none !important; }
#clubBookingCalendar .court-week-panel.is-active { display: block !important; }
#clubBookingCalendar .court-week-grid {
    width: 100% !important; min-width: 0 !important; margin: 0 !important;
    border: 0 !important; border-collapse: separate !important; border-spacing: 0 !important;
    table-layout: fixed !important; background: #fff !important; color: #24313d !important;
}
#clubBookingCalendar .court-week-grid th, #clubBookingCalendar .court-week-grid td { box-sizing: border-box; border: 0 !important; border-right: 1px solid #e0e5ea !important; border-bottom: 1px solid #e0e5ea !important; }
#clubBookingCalendar .court-week-grid tr > :last-child { border-right: 0 !important; }
#clubBookingCalendar .court-week-grid thead th {
    position: sticky !important; top: var(--calendar-grid-header-top, 0px) !important; z-index: 10 !important;
    height: 52px !important; padding: 8px 4px !important;
    background: #f4f5f7 !important; color: #24313d !important;
    font-size: 12px !important; font-weight: 500 !important; line-height: 1.4 !important;
    text-align: center; box-shadow: 0 1px 0 #dce2e8 !important; opacity: 1 !important;
}
#clubBookingCalendar .court-week-grid thead th small { display: inline !important; margin: 0 3px 0 0 !important; color: inherit !important; font-size: 11px !important; font-weight: 500 !important; letter-spacing: 0 !important; line-height: 1.4 !important; }
#clubBookingCalendar .court-week-grid thead th strong { display: inline !important; margin: 0 !important; color: inherit !important; font-size: 12px !important; font-weight: 600 !important; line-height: 1.4 !important; }
#clubBookingCalendar .court-week-grid thead th.is-calendar-selected-day { background: #e8edf2 !important; color: #24313d !important; }
#clubBookingCalendar .court-week-grid thead th.is-today {
    background: #7435d8 !important; color: #fff !important;
    box-shadow: 0 1px 0 #5e26b8 !important;
}
#clubBookingCalendar .court-week-grid .schedule-time-head, #clubBookingCalendar .court-week-grid .schedule-time { width: 80px !important; min-width: 80px !important; max-width: 80px !important; }
#clubBookingCalendar .court-week-grid .schedule-time { position: sticky !important; left: 0 !important; z-index: 2 !important; padding: 10px 6px !important; background: #f8f9fa !important; color: #606d79 !important; font-size: 12px !important; font-weight: 500 !important; line-height: 1.4 !important; text-align: center; }
#clubBookingCalendar .court-week-grid .schedule-time-head { left: 0 !important; z-index: 11 !important; }
#clubBookingCalendar .court-week-grid .schedule-time {
    vertical-align: top !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}
#clubBookingCalendar .booking-time-range { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; max-width: 100%; color: inherit; font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.25; }
#clubBookingCalendar .booking-time-range > time { color: inherit; font-size: 12px; font-weight: 500; }
#clubBookingCalendar .booking-time-range__end { color: inherit; font-size: 11px; font-weight: 400; }
#clubBookingCalendar .court-week-grid tbody tr { height: 46px; }
#clubBookingCalendar .court-week-grid td { position: relative; height: 46px !important; min-width: 0 !important; padding: 0 !important; vertical-align: top !important; background: #fff !important; }
#clubBookingCalendar .court-week-grid .time-slot {
    position: relative !important; display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: center !important;
    gap: 3px; width: 100% !important; max-width: 100% !important; min-width: 0 !important;
    min-height: 45px !important; height: 100% !important; margin: 0 !important; padding: 8px !important;
    max-height: none !important; overflow: visible !important;
    border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
    color: #24313d !important; font-size: 12px !important; font-weight: 500 !important;
    line-height: 1.45 !important; white-space: normal !important; text-align: left !important;
    background-image: none !important; transform: none !important; opacity: 1 !important;
}
#clubBookingCalendar .court-week-grid .time-slot::before, #clubBookingCalendar .court-week-grid .time-slot::after { display: none !important; }
#clubBookingCalendar .court-week-grid td.booking-cell--available { vertical-align: middle !important; background: #e2f5f0 !important; cursor: pointer; }
#clubBookingCalendar .court-week-grid td > .time-slot--free { justify-content: center !important; background: #e2f5f0 !important; color: #23695c !important; text-align: center !important; cursor: pointer; }
#clubBookingCalendar .court-week-grid td.booking-cell--available > .time-slot--free { background: transparent !important; }
#clubBookingCalendar .court-week-grid .time-slot--free > span { display: inline !important; width: auto !important; min-width: 0 !important; height: auto !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; color: inherit !important; font-size: inherit !important; font-weight: 500 !important; line-height: inherit !important; box-shadow: none !important; }
#clubBookingCalendar .court-week-grid tr.is-calendar-guided-row > .schedule-time,
#clubBookingCalendar .court-week-grid tr.is-calendar-selection-row > .schedule-time { background: #526a7f !important; color: #fff !important; font-weight: 600 !important; }
#clubBookingCalendar .court-week-grid td.booking-cell--available.is-calendar-selected-cell { background: #c6e6db !important; }
#clubBookingCalendar .court-week-grid .time-slot--free.is-selected, #clubBookingCalendar .court-week-grid .time-slot--free.is-range { background: #c6e6db !important; color: #174f40 !important; }
#clubBookingCalendar .court-week-grid td.booking-cell--available > .time-slot--free:is(.is-selected, .is-range) { background: transparent !important; color: #174f40 !important; }
#clubBookingCalendar .court-week-grid td.booking-cell--available.is-calendar-invalid-cell { background: #ffe4e8 !important; }
#clubBookingCalendar .court-week-grid .time-slot--free.is-blocked-range { background: #ffe4e8 !important; color: #9a2843 !important; }
#clubBookingCalendar .court-week-grid td.booking-cell--available > .time-slot--free.is-blocked-range { background: transparent !important; color: #9a2843 !important; }
#clubBookingCalendar .court-week-grid .time-slot--past, #clubBookingCalendar .court-week-grid .time-slot--locked { background: #f0f2f4 !important; color: #606d79 !important; cursor: default; }
#clubBookingCalendar .court-week-grid .time-slot--past > span { display: none !important; }
#clubBookingCalendar .court-week-grid .time-slot--locked > span { width: auto !important; height: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; color: inherit !important; font-size: 10px !important; line-height: 1.4 !important; }
#clubBookingCalendar .court-week-grid td.booking-cell--reserved { z-index: 0 !important; isolation: isolate; height: auto !important; border: 1px solid #c4cdd5 !important; border-radius: 4px !important; background: #dce2e8 !important; background-clip: border-box !important; }
#clubBookingCalendar .court-week-grid td.booking-cell--mine { background: #526a7f !important; border-color: #465d70 !important; }
#clubBookingCalendar .court-week-grid td.booking-cell--event { background: #c8d1d9 !important; }
#clubBookingCalendar .court-week-grid td.booking-cell--pending { background: #e3e7eb !important; border-color: #c4cdd5 !important; }
#clubBookingCalendar .court-week-grid td.booking-cell--reserved > .time-slot { z-index: 0 !important; display: flex !important; flex-direction: column !important; align-items: stretch !important; justify-content: flex-start !important; gap: 2px; min-height: 42px !important; height: 100% !important; padding: 7px 10px !important; background: transparent !important; color: #24313d !important; }
#clubBookingCalendar .court-week-grid td.booking-cell--mine > .time-slot { color: #fff !important; }
#clubBookingCalendar .court-week-grid td.booking-cell--event > .time-slot { color: #24313d !important; }
#clubBookingCalendar .court-week-grid td.booking-cell--pending > .time-slot { color: #24313d !important; }
#clubBookingCalendar .court-week-grid td.booking-cell--cancellable > .time-slot { padding-right: 42px !important; }
#clubBookingCalendar .court-week-grid .reservation-slot-title { display: block !important; order: 0; max-width: 100% !important; margin: 0 !important; padding: 0 !important; color: inherit !important; font-size: 12px !important; font-weight: 600 !important; line-height: 1.35 !important; text-align: left !important; white-space: normal !important; overflow: visible !important; text-overflow: clip !important; overflow-wrap: anywhere; }
#clubBookingCalendar .court-week-grid .reservation-slot-meta, #clubBookingCalendar .court-week-grid .reservation-phone-private, #clubBookingCalendar .booking-calendar-reservation-time { display: flex !important; order: 1; flex-wrap: wrap; align-items: center; gap: 3px 7px; margin: 0 !important; padding: 0 !important; color: inherit !important; font-size: 10px !important; font-weight: 400 !important; line-height: 1.35 !important; text-align: left !important; white-space: normal !important; overflow: visible !important; overflow-wrap: anywhere; }
#clubBookingCalendar .court-week-grid .reservation-phone-private { order: 2; }
#clubBookingCalendar .court-week-grid .time-slot--blocked-event .reservation-slot-meta > span:nth-child(2) { display: none; }
#clubBookingCalendar .court-week-grid .reservation-slot-meta span + span::before { display: none !important; }
#clubBookingCalendar .court-week-grid .reservation-payment-badge { margin: 0 !important; padding: 1px 4px !important; border: 1px solid currentColor !important; border-radius: 3px !important; background: transparent !important; color: inherit !important; font-size: 9px !important; font-weight: 500 !important; }
#clubBookingCalendar .court-week-grid .slot-cancel-form { position: absolute !important; z-index: 1 !important; top: 3px !important; right: 3px !important; bottom: auto !important; left: auto !important; display: block !important; width: 34px !important; height: auto !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; transform: none !important; }
#clubBookingCalendar .court-week-grid .slot-cancel-form button { position: static !important; inset: auto !important; display: grid !important; place-items: center; width: 34px !important; min-width: 34px !important; height: 36px !important; min-height: 36px !important; margin: 0 !important; padding: 0 !important; border: 1px solid #c3cdd6 !important; border-radius: 6px !important; background: #ffffffd9 !important; color: #3c5265 !important; font-size: 20px !important; font-weight: 400 !important; line-height: 1 !important; box-shadow: none !important; transform: none !important; }
#clubBookingCalendar .court-week-grid .slot-cancel-form button:hover { background: #edf1f4 !important; color: #96334c !important; }
#clubBookingCalendar .court-week-grid .slot-cancel-form button:focus-visible { outline-width: 2px !important; outline-offset: 0 !important; }
#clubBookingCalendar .court-week-grid .slot-payment-retry { position: relative !important; inset: auto !important; display: inline-flex !important; order: 3; align-items: center; align-self: start; width: auto !important; min-height: 32px !important; margin: 2px 0 0 !important; padding: 4px 8px !important; border-radius: 5px; background: #fff !important; color: #3c5265 !important; font-size: 11px !important; line-height: 1.4 !important; }
#clubBookingCalendar .booking-weeks-panel { position: relative; align-self: center; width: auto !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; overflow: visible !important; z-index: 8; }
#clubBookingCalendar .booking-weeks-panel > summary { display: flex !important; align-items: center; justify-content: center; gap: 6px; min-height: 44px !important; margin: 0 !important; padding: 8px 10px !important; border: 1px solid #dce2e8 !important; border-radius: 8px !important; background: #fff !important; color: #24313d !important; font-size: 12px !important; line-height: 1.4; cursor: pointer; list-style: none; }
#clubBookingCalendar .booking-weeks-panel > summary::-webkit-details-marker { display: none; }
#clubBookingCalendar .booking-weeks-panel > summary b { font-size: 12px !important; font-weight: 500 !important; }
#clubBookingCalendar .booking-weeks-panel > summary small { display: none !important; }
#clubBookingCalendar .booking-weeks-panel > summary em { display: none !important; }
#clubBookingCalendar .booking-weeks-panel > summary > svg { width: 18px; height: 18px; flex: 0 0 18px; }
#clubBookingCalendar .booking-weeks-panel__body { position: absolute !important; z-index: 30 !important; top: calc(100% + 8px); right: 0; left: auto; display: block !important; width: 540px; max-width: calc(100vw - 32px); max-height: 65vh; margin: 0 !important; padding: 18px !important; overflow: auto; border: 1px solid #dce2e8 !important; border-radius: 12px !important; background: #fff !important; color: #24313d !important; opacity: 1 !important; box-shadow: 0 16px 44px #24313d29 !important; }
#clubBookingCalendar .booking-weeks-panel:not([open]) > .booking-weeks-panel__body { display: none !important; }
#clubBookingCalendar .booking-weeks-panel__info { display: block !important; position: static !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; color: #24313d !important; }
#clubBookingCalendar .booking-weeks-panel__info strong { color: #24313d !important; font-size: 15px !important; font-weight: 600 !important; }
#clubBookingCalendar .booking-weeks-panel__info p { margin: 7px 0 0 !important; color: #606d79 !important; font-size: 12px !important; font-weight: 400 !important; line-height: 1.5 !important; }
#clubBookingCalendar .booking-weeks-panel__info .booking-calendar-weeks-status { color: #3c5265 !important; font-weight: 600 !important; }
#clubBookingCalendar .booking-weeks-panel__actions { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; gap: 8px !important; margin-top: 12px; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
#clubBookingCalendar :is(.booking-weeks-panel__body, .booking-weeks-panel__info, .booking-weeks-panel__actions)::before,
#clubBookingCalendar :is(.booking-weeks-panel__body, .booking-weeks-panel__info, .booking-weeks-panel__actions)::after { content: none !important; display: none !important; }
#clubBookingCalendar .booking-weeks-panel__actions form { min-width: 0; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; }
#clubBookingCalendar .booking-weeks-panel__actions button { width: 100% !important; min-height: 44px !important; padding: 8px !important; border: 1px solid #c2cdd7 !important; border-radius: 7px !important; color: #3c5265 !important; background: #eaf0f4 !important; font-size: 12px !important; font-weight: 500 !important; line-height: 1.4; box-shadow: none !important; white-space: normal; }
#clubBookingCalendar .booking-weeks-panel__actions .is-danger { border-color: #e5bbc6 !important; color: #96334c !important; background: #fff0f3 !important; }
#clubBookingCalendar #bookingSummary.booking-summary--inline { grid-column: 1 !important; grid-row: auto !important; position: relative !important; inset: auto !important; width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 20px !important; border: 1px solid #dce2e8 !important; border-radius: 12px !important; color: #24313d !important; background: #fff !important; box-shadow: none !important; }
#clubBookingCalendar #bookingSummary .booking-summary__copy h2 { padding-right: 34px; color: #24313d !important; font-size: 20px !important; font-weight: 600 !important; }
#clubBookingCalendar #bookingSummary .booking-clean-slot { padding: 10px !important; background: #eaf0f4 !important; color: #3c5265 !important; }
#clubBookingCalendar #bookingSummary .booking-clean-slot :is(svg, strong) { color: inherit !important; font-size: 13px !important; font-weight: 500 !important; }
#clubBookingCalendar #bookingSummary .tfp-side-switch__input:checked + .tfp-side-switch__track { background: #526a7f !important; }
#clubBookingCalendar #bookingSummary #bookButton { min-height: 46px !important; background: #526a7f !important; font-weight: 600 !important; }
#clubBookingCalendar #bookingSummary #bookButton:disabled { color: #617184 !important; background: #e5eaf1 !important; }
#clubBookingCalendar #bookingSummary .booking-clean-duration, #clubBookingCalendar #bookingSummary .booking-clean-account { font-weight: 500 !important; }
#clubBookingCalendar #bookingSummary .booking-calendar-range { display: grid; grid-template-columns: minmax(72px, .7fr) minmax(0, 1.6fr); gap: 10px; min-width: 0; width: 100%; }
#clubBookingCalendar #bookingSummary .booking-calendar-range:not(.has-range) { grid-template-columns: minmax(0, 1fr); }
#clubBookingCalendar #bookingSummary .booking-calendar-range-start { display: flex; flex-direction: column; gap: 6px; min-width: 0; color: #314b69; font-size: 12px; line-height: 1.4; }
#clubBookingCalendar #bookingSummary .booking-calendar-range-start output { display: flex; align-items: center; min-height: 44px; padding: 9px 11px; border: 1px solid #dce2e8; border-radius: 8px; background: #f4f5f7; color: #24313d; font-size: 16px; line-height: 1.4; }
#clubBookingCalendar #bookingSummary .booking-calendar-range #durationSelect { font-size: 14px !important; }
#clubBookingCalendar #bookingSummary .tfp-side-switch__copy strong { font-weight: 500 !important; }
#clubBookingCalendar .booking-calendar-reopen { display: inline-flex; align-items: center; justify-content: center; justify-self: start; min-height: 44px; margin: 0; padding: 9px 14px; border: 1px solid #c2cdd7; border-radius: 8px; background: #eaf0f4; color: #3c5265; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
#clubBookingCalendar .booking-calendar-dialog { position: fixed !important; inset: 16px 16px 16px auto; width: min(440px, calc(100vw - 32px)); max-width: calc(100vw - 32px); height: fit-content; max-height: calc(100dvh - 32px); margin: auto 0; padding: 0; overflow: auto; overscroll-behavior: contain; border: 1px solid #dce2e8; border-radius: 16px; color: #24313d; background: #fff; box-shadow: 0 20px 80px #071c2b38; }
#clubBookingCalendar .booking-calendar-dialog::backdrop { background: #071c2b55; }
#clubBookingCalendar .booking-calendar-dialog #bookingSummary { border: 0 !important; border-radius: 0 !important; }
#clubBookingCalendar .booking-calendar-close { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 8px; background: #f0f3f8; color: #606d79; font: inherit; font-size: 25px; font-weight: 400; cursor: pointer; }
#clubBookingCalendar :is(button, a, summary, select, input):focus-visible { outline: 3px solid #7b91a3 !important; outline-offset: 2px; }
#clubBookingCalendar .court-week-grid td.is-calendar-continuation, #clubBookingCalendar [hidden], #clubBookingCalendar .booking-calendar-dialog:not([open]) { display: none !important; }
@media (max-width: 1120px) {
    #clubBookingCalendar .court-week-grid .reservation-slot-title { font-size: 11px !important; }
}
@media (max-width: 900px) {
    #clubBookingCalendar.booking-studio { padding: 14px 12px 28px !important; }
    #clubBookingCalendar .booking-hero { gap: 8px !important; margin-bottom: 12px !important; }
    #clubBookingCalendar .booking-hero h1 { font-size: 21px !important; }
    #clubBookingCalendar .booking-hero__meta { gap: 4px !important; }
    #clubBookingCalendar .booking-hero__meta > a { padding: 7px 9px !important; font-size: 11px !important; }
    #clubBookingCalendar .booking-board--week { gap: 12px !important; padding: 12px !important; border-radius: 12px !important; }
    #clubBookingCalendar .booking-board__head--compact { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 12px !important; }
    #clubBookingCalendar .week-switcher--premium { flex: 1 0 100%; width: 100% !important; max-width: 100% !important; }
    #clubBookingCalendar .week-switcher--premium strong { font-size: 12px !important; }
    #clubBookingCalendar .booking-calendar-courts { flex: 1 0 100%; padding: 0; }
    #clubBookingCalendar .booking-calendar-week-long { display: none; }
    #clubBookingCalendar .booking-calendar-week-short { display: inline; }
    #clubBookingCalendar .court-picker { flex: 1 0 100%; width: 100% !important; max-width: 100% !important; }
    #clubBookingCalendar .court-picker__btn { flex-basis: 76px; padding: 9px 14px !important; }
    #clubBookingCalendar.is-calendar-enhanced .booking-calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; width: 100%; margin: 0; padding: 0; }
    #clubBookingCalendar .booking-calendar-days button { display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; grid-row: 1; gap: 2px; width: 100% !important; max-width: 100% !important; min-width: 0 !important; min-height: 48px !important; height: auto !important; margin: 0 !important; padding: 6px 1px !important; border: 1px solid #dce2e8 !important; border-radius: 7px !important; color: #606d79 !important; background: #fff !important; font: inherit; box-shadow: none !important; cursor: pointer; }
    #clubBookingCalendar .booking-calendar-days button:nth-child(1) { grid-column: 1; }
    #clubBookingCalendar .booking-calendar-days button:nth-child(2) { grid-column: 2; }
    #clubBookingCalendar .booking-calendar-days button:nth-child(3) { grid-column: 3; }
    #clubBookingCalendar .booking-calendar-days button:nth-child(4) { grid-column: 4; }
    #clubBookingCalendar .booking-calendar-days button:nth-child(5) { grid-column: 5; }
    #clubBookingCalendar .booking-calendar-days button:nth-child(6) { grid-column: 6; }
    #clubBookingCalendar .booking-calendar-days button:nth-child(7) { grid-column: 7; }
    #clubBookingCalendar .booking-calendar-days small { color: inherit !important; font-size: 9px !important; font-weight: 500; line-height: 1.3; text-transform: uppercase; }
    #clubBookingCalendar .booking-calendar-days strong { color: inherit; font-size: 13px; font-weight: 600; line-height: 1.3; }
    #clubBookingCalendar .booking-calendar-days button.is-active { border-color: #263744 !important; background: #263744 !important; color: #fff !important; }
    #clubBookingCalendar .booking-calendar-days button.is-today { border-color: #7435d8 !important; background: #7435d8 !important; color: #fff !important; }
    /* Keep the selected-date announcement available without taking a row on mobile. */
    #clubBookingCalendar.is-calendar-enhanced .booking-calendar-day-title { display: block; position: absolute; width: 1px; height: 1px; min-height: 0; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
    #clubBookingCalendar.is-calendar-enhanced .court-week-grid-wrap { height: auto !important; min-height: 0 !important; max-height: 62vh !important; overflow: auto !important; overflow-x: auto !important; overflow-y: auto !important; touch-action: auto; border-radius: 9px !important; }
    #clubBookingCalendar.is-calendar-enhanced .court-week-grid thead { display: none !important; }
    #clubBookingCalendar.is-calendar-enhanced .court-week-grid .schedule-time { width: 74px !important; min-width: 74px !important; max-width: 74px !important; padding: 10px 5px !important; font-size: 11px !important; }
    #clubBookingCalendar.is-calendar-enhanced .court-week-grid .schedule-time-head { width: 74px !important; min-width: 74px !important; max-width: 74px !important; }
    #clubBookingCalendar.is-calendar-enhanced .court-week-grid .schedule-time { vertical-align: top !important; padding-block: 4px !important; }
    #clubBookingCalendar.is-calendar-enhanced .court-week-grid .is-calendar-other-day { display: none !important; }
    #clubBookingCalendar.is-calendar-enhanced .court-week-grid .time-slot { min-height: 47px !important; padding: 9px 12px !important; font-size: 13px !important; }
    #clubBookingCalendar.is-calendar-enhanced .court-week-grid td { height: 48px !important; }
    #clubBookingCalendar.is-calendar-enhanced .court-week-grid td.booking-cell--reserved { height: auto !important; }
    #clubBookingCalendar.is-calendar-enhanced .court-week-grid .reservation-slot-title { font-size: 13px !important; }
    #clubBookingCalendar.is-calendar-enhanced .court-week-grid .reservation-slot-meta, #clubBookingCalendar.is-calendar-enhanced .booking-calendar-reservation-time { font-size: 11px !important; }
    #clubBookingCalendar.is-calendar-enhanced .court-week-grid td.booking-cell--cancellable > .time-slot { padding-right: 52px !important; }
    #clubBookingCalendar.is-calendar-enhanced .court-week-grid .slot-cancel-form { width: 44px !important; }
    #clubBookingCalendar.is-calendar-enhanced .court-week-grid .slot-cancel-form button { width: 44px !important; min-width: 44px !important; height: 44px !important; min-height: 44px !important; }
    #clubBookingCalendar:not(.is-calendar-enhanced) .court-week-panel { min-width: 850px !important; }
    #clubBookingCalendar .booking-weeks-panel > summary { width: 44px; padding: 10px !important; }
    #clubBookingCalendar .booking-weeks-panel > summary > span { display: none !important; }
    #clubBookingCalendar .booking-calendar-dialog { inset: auto 0 0 !important; width: 100% !important; max-width: 100% !important; max-height: 86dvh; margin: 0 !important; border-width: 1px 0 0; border-radius: 18px 18px 0 0; padding-bottom: env(safe-area-inset-bottom); }
    #clubBookingCalendar #bookingSummary.booking-summary--inline { padding: 18px !important; }
    #clubBookingCalendar #bookingSummary #durationSelect, #clubBookingCalendar #bookingSummary .booking-clean-account input, #clubBookingCalendar #bookingSummary .booking-admin-field select { font-size: 16px !important; }
    #clubBookingCalendar #bookingSummary .booking-calendar-range #durationSelect { font-size: 16px !important; }
}
@media (max-width: 380px) {
    #clubBookingCalendar.booking-studio { padding-inline: 8px !important; }
    #clubBookingCalendar .booking-board--week { padding: 9px !important; }
    #clubBookingCalendar .booking-hero h1 { font-size: 19px !important; }
    #clubBookingCalendar .booking-hero__meta { gap: 2px !important; }
    #clubBookingCalendar .booking-hero__meta > a { font-size: 10px !important; padding-inline: 7px !important; }
    #clubBookingCalendar .booking-hero__favorite .club-favorite-btn { width: 36px !important; min-width: 36px !important; font-size: 24px !important; }
}

/* One viewport-sized board: its controls stay outside the scrolling hours. */
#clubBookingCalendar .booking-calendar-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: #fff;
}
#clubBookingCalendar.is-calendar-enhanced .booking-board--week.is-calendar-viewport {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    height: var(--calendar-panel-height) !important;
    min-height: 0 !important;
    gap: 10px !important;
    padding: 14px !important;
    padding-bottom: max(14px, env(safe-area-inset-bottom)) !important;
    scroll-margin-top: var(--calendar-panel-top);
}
#clubBookingCalendar .booking-board--week.is-calendar-viewport > .booking-calendar-controls {
    position: sticky;
    top: var(--calendar-panel-top);
    z-index: 12;
    flex: 0 0 auto;
}
#clubBookingCalendar.is-calendar-enhanced .booking-board--week.is-calendar-viewport > .court-week-grid-wrap {
    flex: 1 1 0%;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    scroll-padding-block: calc(var(--calendar-grid-header-top, 0px) + 58px) 8px;
}
#clubBookingCalendar .booking-board--week.is-calendar-viewport > .booking-calendar-reopen {
    flex: 0 0 auto;
    align-self: flex-start;
}
@media (max-width: 900px) {
    #clubBookingCalendar .booking-calendar-controls { gap: 6px; }
    #clubBookingCalendar .booking-calendar-controls .booking-board__head--compact { gap: 6px !important; }
    #clubBookingCalendar .booking-calendar-controls .booking-calendar-days button { min-height: 44px !important; padding-block: 4px !important; }
    #clubBookingCalendar .booking-calendar-controls .booking-calendar-day-title { font-size: 13px; line-height: 1.4; }
    #clubBookingCalendar.is-calendar-enhanced .booking-board--week.is-calendar-viewport {
        gap: 8px !important;
        padding: 10px !important;
        padding-bottom: max(10px, env(safe-area-inset-bottom)) !important;
    }
    #clubBookingCalendar.is-calendar-enhanced .booking-board--week.is-calendar-viewport > .court-week-grid-wrap { scroll-padding-block: 8px; }
}

/* Closing time is the end of the final interval, never another bookable slot. */
#clubBookingCalendar .booking-calendar-closing { display: flex; align-items: stretch; min-width: 0; min-height: 38px; border-top: 1px solid #dce2e8; border-radius: 0 0 9px 9px; background: #f4f5f7; color: #606d79; }
#clubBookingCalendar .booking-calendar-closing time { display: flex; align-items: center; justify-content: center; flex: 0 0 80px; width: 80px; box-sizing: border-box; padding: 8px 4px; color: #24313d; font-size: 12px; font-weight: 600; line-height: 1.3; }
#clubBookingCalendar .booking-calendar-closing > span { display: flex; align-items: center; min-width: 0; padding: 8px 12px; border-left: 1px solid #dce2e8; font-size: 11px; font-weight: 400; line-height: 1.4; }
@media (max-width: 900px) {
    #clubBookingCalendar.is-calendar-enhanced .booking-calendar-closing time { flex-basis: 74px; width: 74px; font-size: 11px; }
    #clubBookingCalendar.is-calendar-enhanced .court-week-grid tbody tr:first-child > .schedule-time { border-top-left-radius: 9px; }
    #clubBookingCalendar.is-calendar-enhanced .court-week-grid tbody tr:first-child > td.is-calendar-selected-day { border-top-right-radius: 9px; }
}
