.sia-mobile-navigation-panel {
    display: contents;
}

body .account-mobile-navigation {
    display: none;
}

body .sia-mobile-menu[hidden],
body .sia-mobile-navigation-panel[hidden] {
    display: none;
}

@media (max-width: 760px) {
    body .account-mobile-navigation {
        display: block;
    }

    body .account-mobile-navigation .sia-nav form {
        margin: 8px 0 0;
    }

    body .account-mobile-navigation .sia-nav button {
        width: 100%;
        min-height: 44px;
        padding: 8px 9px;
        border: 1px solid rgba(255, 255, 255, .3);
        border-radius: 6px;
        background: transparent;
        color: #fff;
        text-align: left;
        font: inherit;
        cursor: pointer;
    }

    body.account-module-body > .account-module-page {
        width: 100%;
        margin: 0;
        padding: 0 12px 28px;
        box-sizing: border-box;
    }

    body.account-module-body .account-module-topbar.sia-topbar {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
        height: auto;
        min-height: 56px;
        margin: 0 -12px 16px;
        padding: 12px;
    }

    body.account-module-body .account-module-topbar > :first-child {
        flex: 1 1 100%;
        min-width: 0;
        overflow-wrap: anywhere;
        line-height: 1.5;
    }

    body.account-module-body .account-module-topbar em {
        display: block;
        margin: 4px 0 0;
    }

    body.account-module-body .account-module-kpis strong {
        overflow-wrap: anywhere;
    }

    body .sia-topbar {
        position: relative;
    }

    body .sia-topbar:has(> details) > :first-child {
        flex-basis: 100%;
    }

    body .sia-topbar > .sia-notification-menu,
    body .sia-topbar > .sia-settings-menu,
    body .sia-topbar > .sia-user-menu {
        position: static;
        flex: 0 0 auto;
        margin-left: 0;
    }

    body .sia-topbar > details > summary {
        min-width: 44px;
        min-height: 44px;
    }

    body .sia-topbar .sia-notification-popover,
    body .sia-topbar .sia-settings-popover,
    body .sia-topbar .sia-user-menu > nav {
        position: absolute;
        top: calc(100% + 4px);
        left: 12px;
        right: 12px;
        width: auto;
        min-width: 0;
        max-width: none;
        max-height: 60vh;
        max-height: 60dvh;
        overflow: auto;
        overscroll-behavior: contain;
        overflow-wrap: anywhere;
        box-sizing: border-box;
        border-radius: 10px;
        z-index: 100;
    }

    body .sia-topbar .sia-notification-popover a,
    body .sia-topbar .sia-notification-popover button,
    body .sia-topbar .sia-settings-popover > a,
    body .sia-topbar .sia-user-menu > nav a,
    body .sia-topbar .sia-user-menu > nav button {
        min-height: 44px;
    }

    body .sia-mobile-navigation-shell {
        display: block;
    }

    body .sia-sidebar[data-mobile-navigation-ready] {
        position: static;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;
        width: 100%;
        max-height: none;
        padding: 12px;
        box-sizing: border-box;
    }

    body .sia-sidebar[data-mobile-navigation-ready] .sia-logo-card {
        width: 132px;
        max-width: 100%;
        height: 54px;
        margin: 0;
    }

    body .sia-sidebar[data-mobile-navigation-ready] .sia-logo-card img {
        width: 120px;
        max-width: 100%;
        max-height: 48px;
        object-fit: contain;
    }

    body .sia-mobile-menu {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: auto;
        min-height: 44px;
        padding: 10px 14px;
        border: 1px solid #aec9d0;
        border-radius: 8px;
        background: transparent;
        color: #fff;
        font: inherit;
        cursor: pointer;
    }

    body .sia-mobile-menu svg {
        width: 20px;
        height: 20px;
    }

    body .sia-mobile-menu:focus-visible {
        outline: 2px solid #fff;
        outline-offset: 3px;
    }

    body .sia-mobile-navigation-panel {
        display: block;
        grid-column: 1 / -1;
        min-width: 0;
    }

    body .sia-mobile-navigation-panel .sia-nav a,
    body .sia-mobile-navigation-panel .sia-nav summary {
        min-height: 44px;
        font-size: 14px;
        overflow-wrap: anywhere;
    }

    body .sia-mobile-navigation-panel .sia-search {
        min-height: 44px;
    }

    body .sia-mobile-navigation-panel input {
        min-width: 0;
        font-size: 16px;
    }

    body .sia-mobile-navigation-shell > .sia-main {
        width: 100%;
        min-width: 0;
        margin-left: 0;
        padding: 0 12px 28px;
    }

    body .sia-mobile-navigation-shell .sia-topbar {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        height: auto;
        min-height: 56px;
        gap: 10px;
        margin: 0 -12px 16px;
        padding: 12px;
    }

    body .sia-mobile-navigation-shell .sia-topbar > :first-child {
        flex: 1 1 180px;
        min-width: 0;
        overflow-wrap: anywhere;
        line-height: 1.5;
    }

    body .sia-mobile-navigation-shell .sia-topbar em {
        display: block;
        margin: 4px 0 0;
    }

    body .sia-mobile-navigation-shell .sia-topbar .sia-about-link {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        margin: 0;
    }
}

@media (max-width: 1040px) {
    body .brandbar {
        background: linear-gradient(180deg, #174b61, #0d3448);
    }

    body .brandbar .gov-topline,
    body .brandbar .brand-title,
    body .brandbar .brand::before {
        display: none;
    }

    body .brandbar .brandbar__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        width: 100%;
        gap: 12px;
        padding: 12px;
        box-sizing: border-box;
    }

    body .brandbar .brand {
        width: 132px;
        max-width: 100%;
        min-width: 0;
        height: 54px;
        padding: 3px 6px;
        border-radius: 8px;
        background: #fff;
        box-sizing: border-box;
    }

    body .brandbar .logo-img {
        width: 120px;
        max-width: 100%;
        height: 48px;
        padding: 0;
        object-fit: contain;
    }

    body .brandbar #button-menu {
        position: static;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: auto;
        min-height: 44px;
        padding: 10px 14px;
        border: 1px solid #aec9d0;
        border-radius: 8px;
        color: #fff;
        background: transparent;
        font: inherit;
    }

    body .brandbar #button-menu svg {
        width: 20px;
        height: 20px;
    }

    body .brandbar #nav.visible {
        display: flex !important;
        align-items: stretch;
        grid-column: 1 / -1;
        background: #fff;
        padding: 12px;
        border-radius: 8px;
    }

    body .brandbar #nav a,
    body .brandbar #nav summary {
        min-height: 44px;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}
.sia-page-loader {
    position: fixed;
    inset: 0;
    z-index: 20000;
    padding: clamp(100px, 18vh, 180px) clamp(20px, 8vw, 120px);
    background: rgba(247, 250, 246, 0.62);
    backdrop-filter: blur(1.5px);
}

.sia-page-loader[hidden] {
    display: none;
}

.sia-page-loader__progress {
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    overflow: hidden;
    background: rgba(11, 111, 82, 0.12);
}

.sia-page-loader__progress i {
    display: block;
    width: 38%;
    height: 100%;
    background: #0b6f52;
    animation: sia-page-loader-progress 1s ease-in-out infinite;
}

.sia-page-loader__skeleton {
    display: grid;
    gap: 14px;
    width: min(760px, 100%);
    margin: 0 auto;
}

.sia-page-loader__skeleton i {
    display: block;
    height: 18px;
    background: linear-gradient(90deg, #e2e9e0 20%, #f7faf6 50%, #e2e9e0 80%);
    background-size: 240% 100%;
    animation: sia-page-loader-skeleton 1.15s linear infinite;
}

.sia-page-loader__skeleton i:first-child { width: 42%; height: 28px; }
.sia-page-loader__skeleton i:nth-child(2) { width: 78%; }
.sia-page-loader__skeleton i:nth-child(3) { width: 100%; height: 54px; }
.sia-page-loader__skeleton i:nth-child(4) { width: 88%; height: 54px; }

@keyframes sia-page-loader-progress {
    from { transform: translateX(-110%); }
    to { transform: translateX(290%); }
}

@keyframes sia-page-loader-skeleton {
    from { background-position: 120% 0; }
    to { background-position: -120% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .sia-page-loader__progress i,
    .sia-page-loader__skeleton i { animation: none; }
}
