/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-3nourp1unt] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-3nourp1unt] {
    flex: 1;
}

.top-row[b-3nourp1unt] {
    background-color: var(--color-top-bar);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    z-index: 15 !important;
}

    .top-row[b-3nourp1unt]  a, .top-row[b-3nourp1unt]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

        .top-row[b-3nourp1unt]  a:hover, .top-row[b-3nourp1unt]  .btn-link:hover {
            text-decoration: underline;
        }

        .top-row[b-3nourp1unt]  a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

@media (max-width: 640.98px) {
    .top-row[b-3nourp1unt] {
        justify-content: space-between;
    }

        .top-row[b-3nourp1unt]  a, .top-row[b-3nourp1unt]  .btn-link {
            margin-left: 0;
        }
}

@media (min-width: 641px) {
    .page[b-3nourp1unt] {
        flex-direction: row;
    }

    .sidebar[b-3nourp1unt] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-3nourp1unt] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

        .top-row.auth[b-3nourp1unt]  a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .top-row[b-3nourp1unt], article[b-3nourp1unt] {
        padding-left: 3rem !important;
        padding-right: 3rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* NavMenu scoped styles — minimal; bulk of sidebar styling lives
   in basePages.css so the same tokens apply everywhere. */

/* Let the nav list flex-fill the space between header and footer,
   replacing the old fixed calc(100vh - 3.5rem) which competed with
   flex-shrink on the sidebar-header. */
.nav-scrollable[b-vkfu0xbgos] {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;              /* flex overflow scroll fix */
}
