/* /Components/Layout/MainLayout.razor.rz.scp.css */
.skip-link[b-jp3qs1f091] {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 1200;
    padding: 0.75rem 1rem;
    color: #fff;
    background: #171c1a;
    border-radius: 0.65rem;
    text-decoration: none;
    transform: translateY(-150%);
    transition: transform 150ms ease;
}

.skip-link:focus[b-jp3qs1f091] {
    transform: translateY(0);
}

.app-shell[b-jp3qs1f091] {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    background: var(--color-canvas, #f5f5f3);
}

.navigation-toggle[b-jp3qs1f091] {
    position: fixed;
    top: 18px;
    left: 18px;
    z-index: -1;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.sidebar[b-jp3qs1f091] {
    position: sticky;
    top: 0;
    z-index: 40;
    width: 260px;
    height: 100vh;
    min-height: 640px;
    background: #171c1a;
    box-shadow: 1px 0 0 rgba(255, 255, 255, 0.05);
}

.workspace[b-jp3qs1f091] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.topbar[b-jp3qs1f091] {
    position: sticky;
    top: 0;
    z-index: 30;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem clamp(1rem, 2.5vw, 2rem);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--color-border, #e8e3df);
    backdrop-filter: blur(14px);
}

.topbar-leading[b-jp3qs1f091],
.topbar-actions[b-jp3qs1f091],
.account-link[b-jp3qs1f091] {
    display: flex;
    align-items: center;
}

.topbar-leading[b-jp3qs1f091] {
    min-width: 0;
    gap: 0.75rem;
}

.topbar-actions[b-jp3qs1f091] {
    flex: 0 0 auto;
    gap: 1.25rem;
}

.menu-button[b-jp3qs1f091] {
    display: none;
    width: 46px;
    min-width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    color: var(--color-ink, #171c1a);
    background: #fff;
    border: 1px solid var(--color-border, #e8e3df);
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(23, 28, 26, 0.05);
    cursor: pointer;
}

.menu-button svg[b-jp3qs1f091] {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.context-title[b-jp3qs1f091],
.account-copy[b-jp3qs1f091] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.context-eyebrow[b-jp3qs1f091],
.account-label[b-jp3qs1f091] {
    color: #777c79;
    font-size: 0.71rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    line-height: 1.2;
    text-transform: uppercase;
}

.context-name[b-jp3qs1f091] {
    overflow: hidden;
    color: var(--color-ink, #171c1a);
    font-size: 0.96rem;
    font-weight: 750;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.system-state[b-jp3qs1f091] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #526059;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.state-dot[b-jp3qs1f091] {
    width: 8px;
    height: 8px;
    background: #2c8a57;
    border: 2px solid #dcf3e7;
    border-radius: 50%;
    box-sizing: content-box;
}

.account-link[b-jp3qs1f091] {
    min-height: 48px;
    gap: 0.7rem;
    padding: 0.2rem 0.55rem 0.2rem 0.25rem;
    color: var(--color-ink, #171c1a);
    border-radius: 0.75rem;
    text-decoration: none;
}

.account-link:hover[b-jp3qs1f091] {
    color: var(--color-brand, #af2b1e);
    background: var(--color-warm, #fff7f4);
}

.avatar[b-jp3qs1f091] {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-brand, #af2b1e);
    background: #f7e7e3;
    border-radius: 0.7rem;
}

.avatar svg[b-jp3qs1f091] {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.account-name[b-jp3qs1f091] {
    display: block;
    max-width: 180px;
    overflow: hidden;
    color: inherit;
    font-size: 0.85rem;
    font-weight: 750;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.login-link[b-jp3qs1f091] {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1rem;
    color: #fff;
    background: var(--color-brand, #af2b1e);
    border-radius: 0.7rem;
    font-size: 0.88rem;
    font-weight: 750;
    text-decoration: none;
}

.login-link:hover[b-jp3qs1f091] {
    color: #fff;
    background: #8f2117;
}

.main-content[b-jp3qs1f091] {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: clamp(1.25rem, 2.5vw, 2.4rem);
}

.navigation-backdrop[b-jp3qs1f091] {
    display: none;
}

#blazor-error-ui[b-jp3qs1f091] {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 1300;
    display: none;
    min-height: 58px;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 4rem 0.8rem 1rem;
    color: #fff;
    background: #171c1a;
    border-left: 5px solid var(--color-alert, #c8102e);
    border-radius: 0.75rem;
    box-shadow: 0 14px 36px rgba(23, 28, 26, 0.25);
}

#blazor-error-ui .reload[b-jp3qs1f091] {
    color: #fff;
    font-weight: 750;
}

#blazor-error-ui .dismiss[b-jp3qs1f091] {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 44px;
    height: 44px;
    color: #fff;
    background: transparent;
    border: 0;
    border-radius: 0.5rem;
    font-size: 1.6rem;
    line-height: 1;
}

@media (max-width: 1100px) and (min-width: 768px) {
    .app-shell[b-jp3qs1f091] {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .sidebar[b-jp3qs1f091] {
        width: 72px;
    }

    .account-copy[b-jp3qs1f091],
    .context-eyebrow[b-jp3qs1f091] {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .app-shell[b-jp3qs1f091] {
        display: block;
    }

    .sidebar[b-jp3qs1f091] {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 100;
        width: min(300px, calc(100vw - 48px));
        min-height: 100vh;
        transform: translateX(-105%);
        transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
        box-shadow: 18px 0 50px rgba(23, 28, 26, 0.2);
    }

    .navigation-open .sidebar[b-jp3qs1f091],
    .navigation-toggle:checked ~ .sidebar[b-jp3qs1f091] {
        transform: translateX(0);
    }

    .navigation-backdrop[b-jp3qs1f091] {
        position: fixed;
        inset: 0;
        z-index: 90;
        display: none;
        width: 100%;
        height: 100%;
        padding: 0;
        background: rgba(23, 28, 26, 0.54);
        border: 0;
        backdrop-filter: blur(2px);
    }

    .navigation-open .navigation-backdrop[b-jp3qs1f091],
    .navigation-toggle:checked ~ .navigation-backdrop[b-jp3qs1f091] {
        display: block;
    }

    .navigation-toggle:focus-visible ~ .workspace .menu-button[b-jp3qs1f091] {
        outline: 3px solid rgba(175, 43, 30, 0.32);
        outline-offset: 3px;
    }

    .topbar[b-jp3qs1f091] {
        min-height: 66px;
        padding: 0.55rem 1rem;
    }

    .menu-button[b-jp3qs1f091] {
        display: inline-flex;
    }

    .context-name[b-jp3qs1f091] {
        font-size: 0.88rem;
    }

    .system-state[b-jp3qs1f091],
    .account-copy[b-jp3qs1f091] {
        display: none;
    }

    .avatar[b-jp3qs1f091] {
        width: 42px;
        height: 42px;
    }

    .account-link[b-jp3qs1f091] {
        min-height: 44px;
        padding: 0;
    }

    .main-content[b-jp3qs1f091] {
        padding: 1.1rem 1rem 2rem;
    }
}

@media (max-width: 420px) {
    .context-title[b-jp3qs1f091] {
        display: none;
    }

    #blazor-error-ui[b-jp3qs1f091] {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sidebar[b-jp3qs1f091],
    .skip-link[b-jp3qs1f091] {
        transition: none;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.nav-shell[b-obu97hc0a9] {
    height: 100%;
    min-height: 640px;
    display: flex;
    flex-direction: column;
    color: #fff;
    background:
        radial-gradient(circle at 15% 0, rgba(175, 43, 30, 0.2), transparent 26%),
        #171c1a;
}

.brand[b-obu97hc0a9] {
    min-height: 112px;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.8rem 1rem;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

.organisation-logo[b-obu97hc0a9] {
    height: 35px;
    display: flex;
    align-items: center;
    padding: 0.3rem 0.45rem;
    overflow: hidden;
    background: #fff;
    border-radius: 0.42rem;
}

.organisation-logo img[b-obu97hc0a9] {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.product-row[b-obu97hc0a9] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.brand:hover[b-obu97hc0a9] {
    color: #fff;
    background: rgba(255, 255, 255, 0.025);
}

.brand-mark[b-obu97hc0a9] {
    width: 35px;
    min-width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff7f4;
    border-radius: 0.75rem;
    box-shadow: inset 0 0 0 1px rgba(175, 43, 30, 0.12);
}

.brand-mark svg[b-obu97hc0a9] {
    width: 25px;
    height: 25px;
}

.brand-shield[b-obu97hc0a9] {
    fill: #af2b1e;
}

.brand-check[b-obu97hc0a9] {
    fill: none;
    stroke: #fff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.brand-copy[b-obu97hc0a9] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.brand-name[b-obu97hc0a9] {
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.35;
}

.brand-subtitle[b-obu97hc0a9] {
    overflow: hidden;
    color: #b9bfbc;
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-scrollable[b-obu97hc0a9] {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0.75rem 0.65rem 1rem;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    scrollbar-width: thin;
}

.nav-scrollable[b-obu97hc0a9]::-webkit-scrollbar {
    width: 5px;
}

.nav-scrollable[b-obu97hc0a9]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
}

.nav-section + .nav-section[b-obu97hc0a9],
.admin-users-section[b-obu97hc0a9] {
    margin-top: 0.7rem;
}

.nav-section-label[b-obu97hc0a9] {
    display: block;
    padding: 0.65rem 0.75rem 0.35rem;
    color: #7f8984;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.105em;
    line-height: 1.2;
    text-transform: uppercase;
}

[b-obu97hc0a9] .nav-link {
    position: relative;
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.18rem 0;
    padding: 0.55rem 0.75rem;
    color: #c8cdca;
    background: transparent;
    border: 0;
    border-radius: 0.65rem;
    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 650;
    line-height: 1.25;
    text-align: left;
    text-decoration: none;
    transition: color 140ms ease, background-color 140ms ease, transform 140ms ease;
}

[b-obu97hc0a9] .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}

[b-obu97hc0a9] .nav-link.active {
    color: #fff;
    background: linear-gradient(90deg, rgba(175, 43, 30, 0.95), rgba(175, 43, 30, 0.76));
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

[b-obu97hc0a9] .nav-link.active::before {
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: -0.65rem;
    width: 3px;
    background: #fff;
    border-radius: 0 4px 4px 0;
    content: "";
}

.nav-icon[b-obu97hc0a9] {
    width: 23px;
    min-width: 23px;
    height: 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-icon svg[b-obu97hc0a9] {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-label[b-obu97hc0a9] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-badge[b-obu97hc0a9] {
    margin-left: auto;
    padding: 0.2rem 0.38rem;
    color: #e1b6b0;
    background: rgba(175, 43, 30, 0.17);
    border: 1px solid rgba(225, 182, 176, 0.18);
    border-radius: 0.32rem;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
}

[b-obu97hc0a9] .nav-link.active .nav-badge {
    color: #fff;
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.16);
}

.nav-account[b-obu97hc0a9] {
    flex: 0 0 auto;
    padding: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.08);
}

.nav-account form[b-obu97hc0a9] {
    margin: 0;
}

.nav-account[b-obu97hc0a9]  .nav-link {
    width: 100%;
}

.account-nav-link[b-obu97hc0a9] {
    color: #fff;
}

.account-identity[b-obu97hc0a9] {
    font-size: 0.79rem;
}

.logout-link[b-obu97hc0a9] {
    cursor: pointer;
}

@media (max-width: 1100px) and (min-width: 768px) {
    .brand[b-obu97hc0a9] {
        justify-content: center;
        padding: 1rem 0.65rem;
    }

    .organisation-logo[b-obu97hc0a9] {
        display: none;
    }

    .product-row[b-obu97hc0a9] {
        justify-content: center;
    }

    .brand-mark[b-obu97hc0a9] {
        width: 40px;
        min-width: 40px;
        height: 40px;
    }

    .brand-copy[b-obu97hc0a9],
    .nav-badge[b-obu97hc0a9] {
        display: none;
    }

    .nav-scrollable[b-obu97hc0a9] {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }

    .nav-section-label[b-obu97hc0a9] {
        height: 18px;
        padding: 0;
        font-size: 0;
    }

    .nav-section-label[b-obu97hc0a9]::after {
        width: 22px;
        height: 1px;
        display: block;
        margin: 8px auto 0;
        background: rgba(255, 255, 255, 0.12);
        content: "";
    }

    [b-obu97hc0a9] .nav-link {
        min-height: 52px;
        justify-content: center;
        gap: 0;
        padding: 0.65rem;
    }

    [b-obu97hc0a9] .nav-link.active::before {
        left: -0.5rem;
    }

    .nav-label[b-obu97hc0a9] {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .nav-account[b-obu97hc0a9] {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }
}

@media (max-width: 767.98px) {
    .nav-shell[b-obu97hc0a9] {
        min-height: 100vh;
    }

    .brand[b-obu97hc0a9] {
        min-height: 112px;
    }
}

@media (prefers-reduced-motion: reduce) {
    [b-obu97hc0a9] .nav-link {
        transition: none;
    }
}
