/* Sticky controls are limited to the pages that explicitly opt in. */
html body .salemdos-sticky-filter {
    position: sticky !important;
    top: var(--app-header-offset) !important;
    z-index: 101 !important;
    background: #fff;
    max-height: calc(100dvh - var(--app-header-offset) - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

html body #osi-dynamic-page .members-fixed-header .members-search {
    background: #fff0e4 !important;
}

#osi-dynamic-page:has(#vuz-employee-search) > .salemdos-sticky-filter {
    width: calc(100% + 30px);
    margin-inline: -15px;
}
#osi-dynamic-page:has(#vuz-employee-search) > .salemdos-sticky-filter > .row { margin-inline: 0; }

.coworking-page > .salemdos-sticky-filter > .row.bg-grey {
    margin-top: 12px; padding: 12px 0 !important; border: 1px solid #f3e9e1;
    border-radius: 14px !important; background: #fffaf6 !important;
}

/* Bootstrap rows have negative gutters; keep them inside this scroll container. */
.passage-journal > form.salemdos-sticky-filter {
    width: calc(100% + 30px);
    margin-inline: -15px;
}
.passage-journal > form.salemdos-sticky-filter > .row {
    margin-inline: 0;
}

@media (max-width: 767px) {

}

html.legacy-menu-open body .salemdos-sticky-filter,
body.legacy-menu-open .salemdos-sticky-filter { visibility: hidden; }
