/* Public listing viewing sheet. Scoped to this workflow, including Bootstrap overrides. */
body.pwa-shell :is(#scheduleAViewingModal, #requestAViewingModal_) { padding: 16px; color: #12333b; font: 400 14px/1.5 'Open Sans', system-ui, sans-serif; }
:is(#scheduleAViewingModal, #requestAViewingModal_) *, :is(#scheduleAViewingModal, #requestAViewingModal_) *::before, :is(#scheduleAViewingModal, #requestAViewingModal_) *::after { box-sizing: border-box; }
:is(#scheduleAViewingModal, #requestAViewingModal_) [hidden] { display: none !important; }
body.pwa-shell :is(#scheduleAViewingModal, #requestAViewingModal_) .modal-dialog { width: min(560px, 100%); max-width: none; margin: 48px auto 16px; padding: 0; }
body.pwa-shell :is(#scheduleAViewingModal, #requestAViewingModal_) .modal-content { display: flex; flex-direction: column; max-height: calc(100vh - 96px); max-height: calc(100dvh - 96px); padding: 0; overflow: hidden; border: 2px solid #ffd559; border-radius: 14px; background: #fff; box-shadow: 0 16px 65px #082b4055; }
:is(#scheduleAViewingModal, #requestAViewingModal_) .oh-booking__head { display: flex; align-items: center; gap: 12px; flex-shrink: 0; padding: 14px 18px; background: #075161; color: #fff; }
:is(#scheduleAViewingModal, #requestAViewingModal_) .oh-booking__head h2 { flex: 1; min-width: 0; margin: 0; color: #fff; font: 700 18px/1.4 'Open Sans', system-ui, sans-serif; }
:is(#scheduleAViewingModal, #requestAViewingModal_) .oh-booking__head button { width: 36px; height: 36px; padding: 0; border: 0; background: transparent; color: #fff; font-size: 28px; cursor: pointer; }
:is(#scheduleAViewingModal, #requestAViewingModal_) .select-slots-view { display: flex; }
:is(#scheduleAViewingModal, #requestAViewingModal_) .success-view { display: none; }
:is(#scheduleAViewingModal, #requestAViewingModal_) :is(.select-slots-view,.success-view) { flex: 1 1 auto; flex-direction: column; min-height: 0; overflow: hidden; }
:is(#scheduleAViewingModal, #requestAViewingModal_) .oh-booking__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px; }
:is(#scheduleAViewingModal, #requestAViewingModal_) h3 { margin: 0 0 6px; color: #075161; font: 700 18px/1.4 'Open Sans', system-ui, sans-serif; overflow-wrap: anywhere; }
:is(#scheduleAViewingModal, #requestAViewingModal_) h4 { margin: 20px 0 10px; color: #4f747e; font: 700 12px/1.4 'Open Sans', system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
:is(#scheduleAViewingModal, #requestAViewingModal_) p { margin: 6px 0 12px; }
:is(#scheduleAViewingModal, #requestAViewingModal_) .oh-booking__muted { color: #4f747e; font-size: 13px; }
:is(#scheduleAViewingModal, #requestAViewingModal_) .oh-booking__days { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
:is(#scheduleAViewingModal, #requestAViewingModal_) .oh-booking__choice, :is(#scheduleAViewingModal, #requestAViewingModal_) .oh-booking__slots li label { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 12px; margin: 0; border: 1px solid #d4e5e9; border-radius: 9px; background: #fff; color: #12333b; font: 600 14px/1.4 'Open Sans', system-ui, sans-serif; cursor: pointer; }
:is(#scheduleAViewingModal, #requestAViewingModal_) :is(.oh-booking__choice,label):has(input:checked) { border-color: #00bba0; background: #e5faf4; color: #075161; }
:is(#scheduleAViewingModal, #requestAViewingModal_) input[type=radio] { position: static; flex: 0 0 18px; width: 18px; height: 18px; margin: 0; accent-color: #00bba0; opacity: 1; appearance: auto; }
:is(#scheduleAViewingModal, #requestAViewingModal_) .oh-booking__slots ul { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; list-style: none; padding: 0; margin: 0 0 12px; background: transparent; }
:is(#scheduleAViewingModal, #requestAViewingModal_) .oh-booking__slots li { padding: 0; margin: 0; }
:is(#scheduleAViewingModal, #requestAViewingModal_) .oh-booking__slots li label { height: 100%; font-size: 13px; }
:is(#scheduleAViewingModal, #requestAViewingModal_) .oh-booking__slots li::before { display: none; }
:is(#scheduleAViewingModal, #requestAViewingModal_) .oh-booking__foot { flex-shrink: 0; padding: 12px 18px 16px; border-top: 1px solid #dce9ed; background: #fff; }
:is(#scheduleAViewingModal, #requestAViewingModal_) .oh-booking__primary, :is(#scheduleAViewingModal, #requestAViewingModal_) .oh-booking__secondary { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid #00cba7; border-radius: 10px; background: #00cba7; color: #fff; font: 700 15px/1.4 'Open Sans', system-ui, sans-serif; text-align: center; text-decoration: none; cursor: pointer; }
:is(#scheduleAViewingModal, #requestAViewingModal_) .oh-booking__secondary { background: #fff; color: #075161; border-color: #349fb7; font-size: 14px; }
:is(#scheduleAViewingModal, #requestAViewingModal_) .oh-booking__primary:disabled { background: #d2e3e4; border-color: #d2e3e4; color: #738e95; cursor: default; }
:is(#scheduleAViewingModal, #requestAViewingModal_) .oh-booking__error { padding: 10px 12px; margin: 10px 0; border-radius: 8px; background: #fff0f4; color: #b83354; }
:is(#scheduleAViewingModal, #requestAViewingModal_) .oh-booking__badge { display: inline-block; margin-bottom: 12px; padding: 4px 10px; border-radius: 20px; background: #e0f8ef; color: #008765; font-weight: 700; }
:is(#scheduleAViewingModal, #requestAViewingModal_) .oh-booking__confirmation { display: grid; gap: 4px; margin: 16px 0; padding: 14px; border-radius: 10px; background: #eef8f9; color: #075161; }
:is(#scheduleAViewingModal, #requestAViewingModal_) .oh-booking__nearby { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 10px; margin-top: 20px; padding-top: 12px; border-top: 1px solid #e2edef; }
:is(#scheduleAViewingModal, #requestAViewingModal_) .oh-booking__nearby h4 { grid-column: 1/-1; margin: 0 0 4px; }
:is(#scheduleAViewingModal, #requestAViewingModal_) .oh-booking__nearby img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
:is(#scheduleAViewingModal, #requestAViewingModal_) :is(button,input,a):focus-visible { outline: 3px solid #dcb02b; outline-offset: 3px; }
@media (max-width: 767px) {
    body.pwa-shell :is(#scheduleAViewingModal, #requestAViewingModal_) { padding: 12px; }
    body.pwa-shell :is(#scheduleAViewingModal, #requestAViewingModal_) .modal-dialog {
        position: fixed; left: 12px; right: 12px; top: auto;
        bottom: calc(var(--oh-booking-bottom, 80px) + 8px);
        width: auto; margin: 0 auto;
    }
    body.pwa-shell :is(#scheduleAViewingModal, #requestAViewingModal_) .modal-content {
        /* A definite height lets only the choice list scroll inside the sheet. */
        height: min(640px, calc(var(--oh-booking-viewport, 100dvh) - var(--oh-booking-dock, 80px) - 32px));
        max-height: none;
    }
}
@media (max-width: 389px) {
    :is(#scheduleAViewingModal, #requestAViewingModal_) .oh-booking__days { grid-template-columns: 1fr; }
    :is(#scheduleAViewingModal, #requestAViewingModal_) .oh-booking__body { padding: 14px; }
    :is(#scheduleAViewingModal, #requestAViewingModal_) .oh-booking__slots li label { padding: 8px; font-size: 12px; }
}
/* Custom requests share the booking sheet while retaining their ordinary POST. */
#requestAViewingModal_ .oh-booking__request-layout { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; overflow: hidden; margin: 0; }
#requestAViewingModal_ .oh-booking__datetime { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; margin-top: 18px; }
#requestAViewingModal_ .oh-booking__field { display: grid; gap: 7px; min-width: 0; margin: 0; color: #4f747e; font-weight: 600; }
#requestAViewingModal_ .oh-booking__field input { width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid #cde1e7; border-radius: 9px; background: #eef7f8; color: #12333b; font: 400 16px/1.4 'Open Sans', system-ui, sans-serif; }
#requestAViewingModal_ .errorlist { padding-left: 18px; margin: 0; }
#scheduleAViewingModal .oh-booking__custom-link { margin: 18px 0 0; text-align: center; }
#scheduleAViewingModal .oh-booking__custom-link button { min-height: 44px; padding: 8px; border: 0; background: transparent; color: #278fa8; font: 600 14px/1.4 'Open Sans', system-ui, sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.datepicker.oh-custom-calendar { width: 290px; max-width: calc(100vw - 32px); padding: 12px; border: 1px solid #d9e7ea; border-radius: 12px; background: #fff; color: #12333b; opacity: 1; text-align: center; box-shadow: 0 8px 28px #07516133; }
.datepicker.oh-custom-calendar table :is(th,td) { width: 36px; height: 36px; font-size: 14px; }
.datepicker.oh-custom-calendar .datepicker-switch { color: #075161; font-size: 15px; }
.datepicker.oh-custom-calendar table tr td.active { background: #00bba0; border-color: #00bba0; color: #fff; }
@media (max-width: 389px) { #requestAViewingModal_ .oh-booking__datetime { grid-template-columns: minmax(0, 1fr); } }
