/* Surveylet UI V14 — Medical References category-filter navigation.
   The V8 style reserved an additional 54px for a navy topic bar that was
   subsequently removed.  This route now has only its original white filter.
   Dock it under the *actual* sticky site navigation, never 54px below it. */
body[data-route="/medical-references"] main.site-main .references-filter {
    position: sticky !important;
    top: var(--cal-v14-reference-top, var(--ds-nav-h, 68px)) !important;
    z-index: 48 !important;
}
/* A multi-row category rail takes too much vertical space on narrow screens.
   Keep the earlier non-sticky mobile treatment intact. */
@media (max-width: 760px) {
    body[data-route="/medical-references"] main.site-main .references-filter {
        position: relative !important;
        top: auto !important;
        z-index: auto !important;
    }
}
