/**
 * Homepage mobile filters sheet (logic: home-mobile-filters.js).
 * Scrollable fields + fixed action buttons; desktop is unchanged.
 */
@media (max-width: 1023px) {
    .home-mobile-filters-sheet__panel {
        display: flex;
        flex-direction: column;
        max-height: min(86vh, 100dvh);
        overflow: hidden;
        padding: 0;
        touch-action: manipulation;
    }

    .home-mobile-filters-sheet__header {
        flex-shrink: 0;
        margin-bottom: 0;
        padding: 20px 16px 14px;
    }

    .home-mobile-filters-form {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        min-height: 0;
    }

    .home-mobile-filters-sheet__body {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        touch-action: pan-y;
        padding: 0 16px 8px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .home-mobile-filters-sheet__body::-webkit-scrollbar {
        width: 0;
        height: 0;
        display: none;
    }

    .home-mobile-filters-form__actions {
        flex-shrink: 0;
        margin-top: 0;
        padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid var(--m3-outline-variant);
        background: var(--m3-surface);
    }
}
