@media screen and (max-width: 991.98px) {
    /* Pages with offer filters keep their separate header offsets. */
    .navbar-3 + .container-margin { margin-top: 72px; margin-bottom: 32px; }
    .alert-info-full .navbar-3 + .container-margin { margin-top: 121px !important; }
    .navbar-3.portal-mobile-nav { min-height: 56px; padding: 0; background: #fff; border-bottom: 1px solid #dce5ed; }
    .portal-mobile-nav .portal-mobile-nav__brand { margin: 6px 0 6px 14px; padding: 0; }
    .portal-mobile-nav__brand img { display: block; width: 104px; height: 44px; object-fit: contain; }
    .portal-mobile-nav .portal-mobile-nav__toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; margin-right: 12px; padding: 6px 10px; border: 1px solid #dce5ed; border-radius: 6px; color: #234f7b; font-size: 12px; line-height: 1.4; }
    .portal-mobile-nav__toggle i { width: 16px; text-align: center; }
    .portal-mobile-nav__toggle .portal-mobile-nav__close-icon,
    .portal-mobile-nav__toggle[aria-expanded="true"] .portal-mobile-nav__open-icon { display: none; }
    .portal-mobile-nav__toggle[aria-expanded="true"] .portal-mobile-nav__close-icon { display: inline-block; }
    .navbar-3 #navbarSupportedContent {
        max-height: calc(100vh - 60px);
        max-height: calc(100dvh - 60px);
        overflow-y: auto;
        overscroll-behavior: contain;
        background: #fff;
        border-top: 1px solid #e7edf2;
        box-shadow: 0 10px 18px #1a314214;
        text-align: left;
        color: #334155;
        font-size: 13px;
    }
    .alert-info-full .navbar-3 #navbarSupportedContent {
        max-height: calc(100vh - 109px);
        max-height: calc(100dvh - 109px);
    }
    .portal-mobile-menu__body { padding: 10px 12px 12px; }
    .portal-mobile-menu__primary, .portal-mobile-menu__tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 8px; margin: 0; padding: 0; list-style: none; }
    .portal-mobile-menu__primary { margin-bottom: 10px; }
    .portal-mobile-menu__primary > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .portal-mobile-menu__link { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px; border-radius: 6px; color: #334155; font-weight: 500; line-height: 1.3; text-decoration: none; }
    .portal-mobile-menu__link > i { width: 16px; flex: 0 0 16px; color: #527493; text-align: center; font-size: 14px; }
    .portal-mobile-menu__link-label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
    .portal-mobile-menu__link:hover, .portal-mobile-menu__link[aria-current="page"] { background: #eaf2f9; color: #234f7b; text-decoration: none; }
    .portal-mobile-menu__link[aria-current="page"] { font-weight: 600; }
    .portal-mobile-menu__link[aria-current="page"] > i { color: #234f7b; }
    .portal-mobile-menu__count { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 18px; padding: 2px 5px; border-radius: 4px; background: #edf2f7; color: #526879; font-size: 10px; font-weight: 500; line-height: 1.4; }
    .portal-mobile-menu__customer { padding: 10px; border: 1px solid #dce5ed; border-radius: 8px; background: #f6f9fc; }
    .portal-mobile-menu__customer-row { display: flex; align-items: center; gap: 12px; }
    .portal-mobile-menu__customer-text { flex: 1; min-width: 0; }
    .portal-mobile-menu__caption { display: block; margin: 0 0 3px; color: #64748b; font-size: 11px; line-height: 1.3; }
    .portal-mobile-menu__customer-text strong { display: block; color: #243746; font-size: 13px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
    .portal-mobile-menu__choose { flex: none; padding: 5px 9px; border: 1px solid #cadbe8; border-radius: 5px; background: #fff; color: #234f7b; font-size: 12px; text-decoration: none; }
    .portal-mobile-menu__choose:hover { background: #eaf2f9; text-decoration: none; }
    .portal-mobile-menu .portal-mobile-menu__submit { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 36px; margin: 8px 0 0; padding: 7px 10px; box-shadow: none; font-size: 13px; line-height: 1.3; }
    .portal-mobile-menu__tools { margin: 8px 0; padding-bottom: 8px; border-bottom: 1px solid #e7edf2; }
    .portal-mobile-menu__tools .portal-mobile-menu__link { min-height: 36px; font-size: 12px; font-weight: 400; }
    .portal-mobile-menu__contact { display: grid; gap: 4px; padding: 2px 8px 4px; }
    .portal-mobile-menu__contact .portal-mobile-menu__caption { margin-bottom: 1px; }
    .portal-mobile-menu__contact a, .portal-mobile-menu__logout { display: flex; align-items: center; gap: 8px; color: #526879; font-size: 12px; line-height: 1.4; text-decoration: none; }
    .portal-mobile-menu__contact a { padding: 3px 0; }
    .portal-mobile-menu__contact i, .portal-mobile-menu__logout i { width: 16px; flex: 0 0 16px; color: #527493; text-align: center; }
    .portal-mobile-menu__contact span { min-width: 0; overflow-wrap: anywhere; }
    .portal-mobile-menu__logout { width: fit-content; min-height: 34px; margin-top: 4px; padding: 6px 8px; border-radius: 5px; }
    .portal-mobile-menu__logout:hover { background: #eef3f8; color: #234f7b; text-decoration: none; }
    .portal-mobile-menu__contact a:hover { color: #234f7b; text-decoration: underline; }
    .portal-mobile-nav :is(a, button):focus-visible { outline: 2px solid #234f7b; outline-offset: 2px; }
}
