/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-hw7h2c6q96] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.sidebar[b-hw7h2c6q96] {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding-top: env(safe-area-inset-top);
}

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

.content[b-hw7h2c6q96] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
}

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

    .sidebar[b-hw7h2c6q96] {
        width: 240px;
        flex-shrink: 0;
        height: 100vh;
        border-bottom: none;
        border-right: 1px solid var(--border);
    }

    .content[b-hw7h2c6q96] {
        padding: 2rem 2.5rem 4rem;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.top-row[b-74ib2uzwwh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
    padding: 0 1rem;
}

.brand[b-74ib2uzwwh] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--ink);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 800;
}

.brand img[b-74ib2uzwwh] {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    object-fit: cover;
}

/* Hamburger button: a styled checkbox, so the menu works without any JavaScript */
.menu-toggle[b-74ib2uzwwh] {
    appearance: none;
    width: 2.75rem;
    height: 2.5rem;
    margin: 0;
    cursor: pointer;
    border-radius: var(--radius-sm);
    background: var(--surface-sunk) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%233b3328' stroke-linecap='round' stroke-width='2.5' d='M5 8h20M5 15h20M5 22h20'/%3e%3c/svg%3e") no-repeat center/1.4rem;
}

.menu-toggle:checked[b-74ib2uzwwh] {
    background-color: var(--accent-soft);
}

.nav-scrollable[b-74ib2uzwwh] {
    display: none;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.25rem 0.75rem 1rem;
}

.top-row:has(.menu-toggle:checked) + .nav-scrollable[b-74ib2uzwwh] {
    display: flex;
}

.nav-scrollable[b-74ib2uzwwh]  .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s;
}

.nav-scrollable[b-74ib2uzwwh]  .nav-link:hover {
    background: var(--surface-sunk);
}

.nav-scrollable[b-74ib2uzwwh]  .nav-link.active {
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.nav-scrollable[b-74ib2uzwwh]  .nav-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.home-icon[b-74ib2uzwwh] {
    display: inline-block;
    background: no-repeat center/22px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233a9b6c'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

@media (min-width: 768px) {
    .menu-toggle[b-74ib2uzwwh] {
        display: none;
    }

    .nav-scrollable[b-74ib2uzwwh] {
        display: flex;
        height: calc(100vh - 4rem);
        overflow-y: auto;
    }
}
