/* /Layout/MainLayout.razor.rz.scp.css */
/* PI7.0 (A1b): light Nordic layout. Colours come from the --hub-* tokens in wwwroot/css/app.css. */

.page[b-04ddagmst9] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-04ddagmst9] {
    flex: 1;
    min-width: 0;
}

.sidebar[b-04ddagmst9] {
    background-color: var(--hub-surface);
    border-bottom: 1px solid var(--hub-border);
}

.top-row[b-04ddagmst9] {
    background-color: rgba(245, 244, 240, .85);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--hub-border);
    justify-content: flex-end;
    gap: 1rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.user-chip[b-04ddagmst9] {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-width: 0;
    font-size: .9rem;
    padding: .25rem .6rem .25rem .25rem;
    border-radius: 999px;
    color: var(--hub-text);
    text-decoration: none;
    transition: background-color .12s ease;
}

    .user-chip:hover[b-04ddagmst9] {
        background-color: var(--hub-hover);
        color: var(--hub-text);
    }

    .user-chip:focus-visible[b-04ddagmst9] {
        outline: none;
        box-shadow: 0 0 0 .2rem var(--hub-focus);
    }

.user-avatar[b-04ddagmst9] {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    background-color: var(--hub-accent-subtle);
    color: var(--hub-accent);
    font-weight: 600;
    font-size: .85rem;
}

.user-name[b-04ddagmst9] {
    font-weight: 500;
    color: var(--hub-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-role[b-04ddagmst9] {
    font-size: .75rem;
    color: var(--hub-muted);
    border: 1px solid var(--hub-border);
    border-radius: 999px;
    padding: .05rem .5rem;
}

.content[b-04ddagmst9] {
    padding-top: 1.75rem;
    padding-bottom: 3rem;
}

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

    .user-role[b-04ddagmst9] {
        display: none;
    }
}

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

    .sidebar[b-04ddagmst9] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
        border-bottom: none;
        border-right: 1px solid var(--hub-border);
    }

    .top-row[b-04ddagmst9] {
        position: sticky;
        top: 0;
        z-index: 1020;
    }

    .top-row[b-04ddagmst9], article[b-04ddagmst9] {
        padding-left: 2.5rem !important;
        padding-right: 2.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* PI7.0 (A1b): light Nordic sidebar. Colours come from the --hub-* tokens in wwwroot/css/app.css. */

.top-row[b-30b90xdp9k] {
    min-height: 3.5rem;
    background-color: transparent;
    border-bottom: 1px solid var(--hub-border);
}

.navbar-toggler[b-30b90xdp9k] {
    border-color: var(--hub-border);
    padding: .25rem .5rem;
}

.hub-wordmark[b-30b90xdp9k] {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--hub-text);
}

    .hub-wordmark:hover[b-30b90xdp9k] {
        color: var(--hub-text);
    }

/* A small charging bolt in an accent tile: the "logo" until a real one exists. */
.hub-mark[b-30b90xdp9k] {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: .5rem;
    background-color: var(--hub-accent);
    position: relative;
    flex: none;
}

    .hub-mark[b-30b90xdp9k]::after {
        content: "";
        position: absolute;
        inset: 0;
        background-color: var(--hub-on-accent);
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.251.068a.5.5 0 0 1 .227.58L9.677 6.5H13a.5.5 0 0 1 .364.843l-8 8.5a.5.5 0 0 1-.842-.49L6.323 9.5H3a.5.5 0 0 1-.364-.843l8-8.5a.5.5 0 0 1 .615-.09z'/%3E%3C/svg%3E") center / 55% no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.251.068a.5.5 0 0 1 .227.58L9.677 6.5H13a.5.5 0 0 1 .364.843l-8 8.5a.5.5 0 0 1-.842-.49L6.323 9.5H3a.5.5 0 0 1-.364-.843l8-8.5a.5.5 0 0 1 .615-.09z'/%3E%3C/svg%3E") center / 55% no-repeat;
    }

nav[b-30b90xdp9k] {
    padding: 1rem .75rem;
}

.nav-section[b-30b90xdp9k] {
    margin: 1.25rem .75rem .4rem;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--hub-muted);
}

.nav-item[b-30b90xdp9k] {
    font-size: .925rem;
    padding-bottom: .125rem;
}

    .nav-item[b-30b90xdp9k]  a {
        display: flex;
        align-items: center;
        gap: .75rem;
        height: 2.5rem;
        padding: 0 .75rem;
        border-radius: .5rem;
        color: var(--hub-muted);
        font-weight: 500;
        transition: background-color .12s ease, color .12s ease;
    }

        .nav-item[b-30b90xdp9k]  a:hover {
            background-color: var(--hub-hover);
            color: var(--hub-text);
        }

        .nav-item[b-30b90xdp9k]  a.active {
            background-color: var(--hub-accent-subtle);
            color: var(--hub-accent);
            font-weight: 600;
            box-shadow: inset 3px 0 0 var(--hub-accent);
        }

        .nav-item[b-30b90xdp9k]  a:focus-visible {
            outline: none;
            box-shadow: 0 0 0 .2rem var(--hub-focus);
        }

/* Icons (.nav-icon, .nav-icon-*) are global in wwwroot/css/app.css: the home tiles use them too (PI7.1). */

@media (min-width: 641px) {
    .navbar-toggler[b-30b90xdp9k] {
        display: none;
    }

    .collapse[b-30b90xdp9k] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-30b90xdp9k] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
