.reservation-calendar, .sp-hc-cal__days, .ko-mini-calendar__grid {
    touch-action: pan-y pinch-zoom;
}
@media (max-width: 760px) {
    .reservation-hero .reservation-hero__inner {
        display: block !important;
        min-height: 0 !important;
        padding-block: 10px !important;
    }
    .reservation-hero :is(.reservation-kicker,.reservation-today),
    .reservation-toolbar .reservation-month small { display: none !important; }
    .reservation-hero .reservation-hero__inner h1 {
        margin: 0; font-size: clamp(1.2rem,5vw,1.5rem) !important; line-height: 1.2;
    }
    .reservation-section.wrap { padding-block-start: 8px !important; background: transparent; }
    .reservation-section .reservation-toolbar {
        grid-template-columns: 44px minmax(0,1fr) 44px;
        gap: 4px !important; margin-bottom: 5px !important;
    }
    .reservation-toolbar .month-control {
        width: 44px !important; height: 44px !important; min-height: 44px;
        font-size: 1.15rem; line-height: 1;
    }
    .reservation-toolbar .reservation-month h2 {
        margin: 0 !important; font-size: 1.1rem !important; line-height: 1.25;
    }
    .reservation-section .reservation-calendar { border-radius: 10px; box-shadow: none; }
    .reservation-calendar :is(.reservation-days,.reservation-weekdays) {
        grid-template-columns: repeat(7, minmax(0,1fr)); width: 100%; min-width: 0;
    }
    .reservation-calendar .reservation-weekdays span { padding: 5px 0; font-size: .7rem; }
    .reservation-calendar .reservation-day {
        display: grid; place-items: center; align-content: center; justify-content: stretch;
        height: 44px !important; min-height: 44px !important; padding: 0 !important;
        box-sizing: border-box;
    }
    .reservation-calendar .reservation-day time {
        display: grid; place-items: center; justify-self: center;
        width: 26px; height: 26px; font-size: .875rem !important; line-height: 1;
    }
    .reservation-calendar .reservation-day :is(.reservation-day__public-title,.reservation-day__public-type),
    .reservation-calendar .reservation-day > span:not(.reservation-day__sr) { display: none; }
    .reservation-calendar .reservation-day.is-requestable::before,
    .reservation-calendar .reservation-day.is-public::after { content: none; }
    .reservation-calendar .reservation-day.is-reserved { background: #e0efe6; }
    .reservation-calendar .reservation-day.is-reserved::before {
        top: auto; bottom: 4px; left: 50%; right: auto; width: 5px; height: 5px;
        border-radius: 50%; background: #32744f; transform: translateX(-50%); content: '';
    }
    .reservation-calendar .reservation-day.is-public { background: #116a46; }
    .reservation-calendar .reservation-day.is-public time { color: white; }
    .reservation-calendar .reservation-day.is-public::before { width: 12px; height: 3px; border-radius: 2px; background: white; }
    .reservation-calendar .reservation-day.is-today { box-shadow: inset 0 0 0 2px #087148; }
    .reservation-calendar .reservation-day.is-public.is-today { box-shadow: inset 0 0 0 2px #103929, inset 0 0 0 4px #fff; }
    .reservation-section .reservation-legend {
        display: flex !important; flex-wrap: wrap !important; justify-content: center; align-items: center;
        column-gap: .85rem !important; row-gap: .25rem !important; overflow: visible !important;
        margin: .45rem 0 !important; color: #42594c; font-size: .73rem !important; line-height: 1.35;
    }
    .reservation-legend > span { display: inline-flex; align-items: center; gap: 4px; }
    .reservation-legend .reservation-legend__long { display: none; }
    .reservation-legend .legend-swatch { width: 10px; height: 10px; flex: none; margin: 0; }
    .reservation-section .reservation-mobile-public__item strong { white-space: normal; overflow-wrap: anywhere; }
    .reservation-section .reservation-request-cta { margin-block-start: .65rem; padding: 0; background: transparent; border: 0; }
    .reservation-request-cta .reservation-request-cta__inner { display: block; padding: 0; background: transparent; }
    .reservation-request-cta .reservation-request-cta__inner > div { display: none; }
    .reservation-request-cta .reservation-request-cta__button { display: grid; place-items: center; min-height: 44px; }
    .reservation-section { scroll-margin-top: 65px; }
}

/* The public footer's three intrinsic columns overflow on the smallest phones. */
@media (max-width: 360px) {
    body:has(.reservation-calendar) footer .wrap.footer {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    body:has(.reservation-calendar) footer .wrap.footer > div {
        min-width: 0; overflow-wrap: anywhere;
    }
    body:has(.reservation-calendar) footer .wrap.footer > div:last-child { grid-column: 1 / -1; }
}
