@import '_content/BizsOn.Web.Common/BizsOn.Web.Common.ny2jcgjzgo.bundle.scp.css';
@import '_content/BizsOn.Web.Module.AssetManagement/BizsOn.Web.Module.AssetManagement.5t0hi6ipr2.bundle.scp.css';
@import '_content/BizsOn.Web.Module.Calendar/BizsOn.Web.Module.Calendar.0nndd4hxxd.bundle.scp.css';
@import '_content/BizsOn.Web.Module.Commercial/BizsOn.Web.Module.Commercial.jkn4o28h96.bundle.scp.css';
@import '_content/BizsOn.Web.Module.DocumentManagement/BizsOn.Web.Module.DocumentManagement.708ztwxds1.bundle.scp.css';
@import '_content/BizsOn.Web.Module.Finance/BizsOn.Web.Module.Finance.ml1llpdpdg.bundle.scp.css';
@import '_content/BizsOn.Web.Module.HostAdmin/BizsOn.Web.Module.HostAdmin.gnfze6anwg.bundle.scp.css';
@import '_content/BizsOn.Web.Module.Identity/BizsOn.Web.Module.Identity.dgoo9bsfk7.bundle.scp.css';
@import '_content/BizsOn.Web.Module.IntelligentAutomation/BizsOn.Web.Module.IntelligentAutomation.l8ix469eqs.bundle.scp.css';
@import '_content/BizsOn.Web.Module.InventoryManagement/BizsOn.Web.Module.InventoryManagement.0b7scactfa.bundle.scp.css';
@import '_content/BizsOn.Web.Module.Messaging/BizsOn.Web.Module.Messaging.et03djdrh2.bundle.scp.css';
@import '_content/BizsOn.Web.Module.ProcessAutomation/BizsOn.Web.Module.ProcessAutomation.z4z0ujk38n.bundle.scp.css';
@import '_content/BizsOn.Web.Module.Procurement/BizsOn.Web.Module.Procurement.odip9s8qgx.bundle.scp.css';
@import '_content/BizsOn.Web.Module.ProductInformation/BizsOn.Web.Module.ProductInformation.8c4wuw2fp6.bundle.scp.css';
@import '_content/BizsOn.Web.Module.ProjectManagement/BizsOn.Web.Module.ProjectManagement.1na1ppdgdm.bundle.scp.css';
@import '_content/BizsOn.Web.Module.RelationshipManagement/BizsOn.Web.Module.RelationshipManagement.bhhsttapd8.bundle.scp.css';
@import '_content/BizsOn.Web.Module.ResourcePlanning/BizsOn.Web.Module.ResourcePlanning.aex7esr755.bundle.scp.css';
@import '_content/BizsOn.Web.Module.Sales/BizsOn.Web.Module.Sales.hwqwa56340.bundle.scp.css';
@import '_content/BizsOn.Web.Module.TaskManagement/BizsOn.Web.Module.TaskManagement.biogxumfny.bundle.scp.css';
@import '_content/BizsOn.Web.Module.Telephony/BizsOn.Web.Module.Telephony.c44xa8u3lz.bundle.scp.css';
@import '_content/BizsOn.Web.Module.TenantAdmin/BizsOn.Web.Module.TenantAdmin.dyflxigsfk.bundle.scp.css';
@import '_content/BizsOn.Web.Module.TimeTracking/BizsOn.Web.Module.TimeTracking.kdygl5b36p.bundle.scp.css';
@import '_content/BizsOn.Web.Module.WorkforceManagement/BizsOn.Web.Module.WorkforceManagement.nbbwyvy5g6.bundle.scp.css';

/* /Components/BrandMark.razor.rz.scp.css */
/* GitLab #111: the brand is a link to the home page. It must keep looking like the header
   title — the mobile header paints its contents white, the sidebar inherits the shell colour. */
.brand[b-r9i3sjrad5] {
    display: inline-flex;
    align-items: center;
    gap: var(--bz-space-2);
    text-decoration: none;
    color: inherit;
}
.brand-logo[b-r9i3sjrad5] { height: 24px; width: auto; }
/* /Components/GlobalErrorBoundary.razor.rz.scp.css */
.eb[b-ln92wp56ja] {
    background: color-mix(in srgb, var(--bz-color-danger) 8%, var(--bz-color-surface));
    border: 1px solid var(--bz-color-danger);
    border-radius: var(--bz-radius-md);
    padding: var(--bz-space-4);
}

.eb-actions[b-ln92wp56ja] { display: flex; gap: var(--bz-space-2); margin-top: var(--bz-space-3); }
/* /Components/LocationSwitcher.razor.rz.scp.css */
/* GitLab #225. The switcher lives in the sidebar footer, and the sidebar <aside> is ALWAYS dark (it carries
   the theme's `dark` scope). It used to be a `kt-btn kt-btn-ghost`: on a phone shell.css turns every text
   ghost button into a bordered `--bz-color-surface` control, and those --bz-* tokens do not flip inside the
   `dark` scope — so in light mode the switcher became a light, outlined chip inside the dark drawer. It is
   now its own borderless control painted only from Metronic's scoped vars (--foreground,
   --secondary-foreground, --muted-foreground, --accent), which are dark-sidebar values in either theme.
   The dropdown list is left alone: it stays the normal kt-dropdown-menu. */
.bz-loc-switch[b-vovlquifxg] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    height: 2rem;
    padding-inline: 0.5rem;
    border: 0;
    border-radius: var(--bz-radius-sm);
    background-color: transparent;
    box-shadow: none;
    color: var(--secondary-foreground);
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
}

button.bz-loc-switch[b-vovlquifxg] {
    cursor: pointer;
}

.bz-loc-name[b-vovlquifxg] {
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bz-loc-switch i[b-vovlquifxg] {
    color: var(--muted-foreground);
}

.bz-loc-chevron[b-vovlquifxg] {
    opacity: 0.7;
}

/* Task 597: the menu opens upward from the sidebar footer. With many locations (96 on the shared test tenant) it ran
   off the top of the screen and its upper entries, the active one included, could not be reached. It scrolls instead. */
.kt-dropdown-menu-sub[b-vovlquifxg] {
    max-height: min(60vh, 24rem);
    overflow-y: auto;
    overscroll-behavior: contain;
}

button.bz-loc-switch:hover[b-vovlquifxg],
button.bz-loc-switch:focus-visible[b-vovlquifxg],
button.bz-loc-switch:active[b-vovlquifxg],
button.bz-loc-switch[aria-expanded="true"][b-vovlquifxg],
.show > button.bz-loc-switch[b-vovlquifxg] {
    background-color: var(--accent);
    color: var(--foreground);
    text-decoration: none;
}

button.bz-loc-switch:hover i[b-vovlquifxg],
button.bz-loc-switch:focus-visible i[b-vovlquifxg],
button.bz-loc-switch:active i[b-vovlquifxg],
button.bz-loc-switch[aria-expanded="true"] i[b-vovlquifxg],
.show > button.bz-loc-switch i[b-vovlquifxg] {
    color: var(--foreground);
}
/* /Components/NavMenu.razor.rz.scp.css */
/* The sidebar <aside> carries the theme's `dark` scope, so its text colours come from Metronic's scoped
   variables (--foreground, --secondary-foreground, --muted-foreground, --accent) — the page-level --bz-text-*
   tokens do not flip inside that scope and rendered the header labels black on black (task 340). */
/* NavMenu styling comes from the Metronic kt-menu base rules; its Tailwind variant utilities
   (kt-menu-item-active:*) are not compiled into styles.css, so the states NavMenu computes
   (.active on the item and the link, .here/.show on expanded modules and groups) are styled here. */

[b-vvlp7ajdcf] .kt-menu-link {
    text-decoration: none;
}

[b-vvlp7ajdcf] .kt-menu-link.active {
    background-color: var(--accent);
}

    [b-vvlp7ajdcf] .kt-menu-link.active .kt-menu-icon,
    [b-vvlp7ajdcf] .kt-menu-link.active .kt-menu-title {
        color: var(--foreground);
        font-weight: var(--bz-fw-medium);
    }

/* A module/group containing the current page. */
[b-vvlp7ajdcf] .kt-menu-item.here > .kt-menu-label .kt-menu-title,
[b-vvlp7ajdcf] .kt-menu-item.here > .kt-menu-label .kt-menu-icon {
    color: var(--foreground);
}

[b-vvlp7ajdcf] .kt-menu-label > .kt-menu-link {
    min-width: 0;
}

/* Task 340 (GitLab #213): the chevron is its own button, so the header label can be a link. */
[b-vvlp7ajdcf] .bz-nav-chevron {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border: 0;
    border-radius: var(--bz-radius-sm);
    background: transparent;
    color: var(--muted-foreground);
    cursor: pointer;
}

    [b-vvlp7ajdcf] .bz-nav-chevron:hover,
    [b-vvlp7ajdcf] .bz-nav-chevron:focus-visible {
        color: var(--foreground);
        background: color-mix(in srgb, var(--foreground) 8%, transparent);
    }

    [b-vvlp7ajdcf] .bz-nav-chevron i {
        /* Turns on the same beat and curve as the group's slide (shell.css, motion pass). */
        transition: transform var(--bz-duration-slow) var(--bz-ease-out);
    }

[b-vvlp7ajdcf] .kt-menu-item.show > .kt-menu-label > .bz-nav-chevron i {
    transform: rotate(180deg);
}

/* GitLab #223: the module label is a button (KTMenu's toggle target), not a link. */
[b-vvlp7ajdcf] .kt-menu-label > button.kt-menu-link {
    border: 0;
    background: transparent;
    cursor: pointer;
}

/* GitLab #223: a favorite row = icon, gap, ellipsised label, then the star; same row height as other items. */
[b-vvlp7ajdcf] .bz-nav-fav {
    align-items: center;
    gap: 0.625rem;
}

    [b-vvlp7ajdcf] .bz-nav-fav .kt-menu-icon {
        flex: none;
        width: 1.25rem;
        justify-content: center;
        font-size: 1rem;
    }

    [b-vvlp7ajdcf] .bz-nav-fav .kt-menu-title {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

/* Task 340 (GitLab #214): favorite star next to (never inside) a page link. */
[b-vvlp7ajdcf] .bz-nav-leaf {
    flex-direction: row;
    align-items: center;
}

    [b-vvlp7ajdcf] .bz-nav-leaf > .kt-menu-link {
        flex: 1 1 auto;
        min-width: 0;
    }

[b-vvlp7ajdcf] .nav-fav {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border: 0;
    border-radius: var(--bz-radius-sm);
    background: transparent;
    color: var(--muted-foreground);
    cursor: pointer;
    opacity: 0;
}

    [b-vvlp7ajdcf] .bz-nav-leaf:hover > .nav-fav,
    [b-vvlp7ajdcf] .nav-fav:focus-visible,
    [b-vvlp7ajdcf] .nav-fav[aria-pressed="true"] {
        opacity: 1;
    }

    /* The sidebar's own current-item cyan: --bz-primary resolves on :root, so in light mode it was the
       navy fill on the navy sidebar. */
    [b-vvlp7ajdcf] .nav-fav:hover,
    [b-vvlp7ajdcf] .nav-fav[aria-pressed="true"] {
        color: var(--bz-nav-current-icon);
    }

/* Touch screens have no hover: the stars are always there. */
@media (hover: none) {
    [b-vvlp7ajdcf] .nav-fav {
        opacity: 1;
    }
}
/* /Components/NotificationBell.razor.rz.scp.css */
/* Scoped on purpose: the bell is one component, not a cross-cutting layout primitive, so these do
   NOT belong in shell.css. Every value comes from the --bz-* design tokens. */

.bz-bell[b-jqnadna4ee] {
    position: relative;
}

/* Task 285/289: an unboxed trigger like .bz-icon-action in shell.css (it sits inline in the page-header
   row), restated here because a <summary> cannot carry that shared class. #627: a larger bell glyph. */
.bz-bell-trigger[b-jqnadna4ee] {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: var(--bz-control-height);
    height: var(--bz-control-height);
    border: 1px solid transparent;
    border-radius: var(--bz-radius-sm);
    background: transparent;
    color: var(--bz-color-fg-muted);
    font-size: 1.4rem;
    transition: background var(--bz-duration-fast) var(--bz-ease),
                color var(--bz-duration-fast) var(--bz-ease);
}

@media (pointer: coarse) {
    .bz-bell-trigger[b-jqnadna4ee] { width: 44px; height: 44px; }
}

/* Safari renders a disclosure triangle on <summary> without this. */
.bz-bell-trigger[b-jqnadna4ee]::-webkit-details-marker {
    display: none;
}

.bz-bell-trigger:hover[b-jqnadna4ee],
.bz-bell-trigger:focus-visible[b-jqnadna4ee] {
    background: var(--bz-color-surface-2);
    color: var(--bz-color-fg);
}

.bz-bell-count[b-jqnadna4ee] {
    position: absolute;
    top: -0.1rem;
    inset-inline-end: -0.15rem;
    min-width: 1.3rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    border: 2px solid var(--bz-color-popover);
    background: var(--bz-color-danger);
    color: var(--bz-color-on-solid);
    font-size: 0.75rem;
    line-height: 1.1rem;
    text-align: center;
    font-weight: 700;
}

.bz-bell-panel[b-jqnadna4ee] {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + 0.35rem);
    z-index: 40;
    width: min(27.5rem, calc(100vw - 2rem));
    background: var(--bz-color-popover);
    border: 1px solid var(--bz-color-border);
    border-radius: var(--bz-radius-lg);
    box-shadow: var(--bz-shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* GitLab #125: on a narrow screen the page-header actions wrap and the trigger can sit anywhere, so the
   panel stops being anchored and pins to the viewport under the fixed mobile top bar. */
@media (max-width: 1023.98px) {
    .bz-bell-panel[b-jqnadna4ee] {
        position: fixed;
        inset-inline-start: auto;
        inset-inline-end: var(--bz-space-3);
        top: calc(var(--header-height) + var(--bz-space-2));
        width: min(27.5rem, calc(100vw - 2 * var(--bz-space-3)));
        max-height: calc(100dvh - var(--header-height) - var(--bz-mobile-nav-h) - var(--bz-space-4));
    }

    .bz-bell-list[b-jqnadna4ee] {
        max-height: none;
        min-height: 0;
        flex: 1 1 auto;
    }
}

/* #627: on a phone the panel is a full-width sheet. */
@media (max-width: 639.98px) {
    .bz-bell-panel[b-jqnadna4ee] {
        inset-inline-start: 0;
        inset-inline-end: 0;
        width: auto;
        border-radius: 0;
        border-inline: 0;
    }
}

.bz-bell-head[b-jqnadna4ee] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--bz-space-2);
    padding: var(--bz-space-3) var(--bz-space-4);
    border-bottom: 1px solid var(--bz-color-border);
}

.bz-bell-title[b-jqnadna4ee] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--bz-color-fg);
}

.bz-bell-head-actions[b-jqnadna4ee] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--bz-space-2);
    margin-inline-start: auto;
}

.bz-bell-sep[b-jqnadna4ee] {
    align-self: stretch;
    width: 1px;
    margin-inline: var(--bz-space-1);
    background: var(--bz-color-border);
}

.bz-bell-icon-btn[b-jqnadna4ee] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: var(--bz-radius-md);
    background: none;
    border: 0;
    cursor: pointer;
    color: var(--bz-color-fg-muted);
    font-size: 1.1rem;
}

.bz-bell-icon-btn:hover:not(:disabled)[b-jqnadna4ee],
.bz-bell-icon-btn:focus-visible[b-jqnadna4ee] {
    background: var(--bz-color-surface-2);
    color: var(--bz-color-fg);
}

.bz-bell-icon-btn--on[b-jqnadna4ee] {
    color: var(--bz-color-accent);
}

.bz-bell-icon-btn:disabled[b-jqnadna4ee] {
    cursor: not-allowed;
    opacity: 0.5;
}

@media (pointer: coarse) {
    .bz-bell-icon-btn[b-jqnadna4ee] { width: 44px; height: 44px; font-size: 1.25rem; }
}

.bz-bell-action[b-jqnadna4ee] {
    background: none;
    border: 0;
    padding: 0.3rem 0.4rem;
    cursor: pointer;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--bz-color-accent);
}

.bz-bell-action:hover[b-jqnadna4ee],
.bz-bell-action:focus-visible[b-jqnadna4ee] {
    text-decoration: underline;
}

@media (pointer: coarse) {
    .bz-bell-action[b-jqnadna4ee] { min-height: 44px; }
}

/* About eight rows are visible; the rest scrolls. */
.bz-bell-list[b-jqnadna4ee] {
    max-height: min(36rem, 70dvh);
    overflow-y: auto;
}

.bz-bell-foot[b-jqnadna4ee] {
    padding: var(--bz-space-3) var(--bz-space-4);
    border-top: 1px solid var(--bz-color-border);
    text-align: center;
}

.bz-bell-all[b-jqnadna4ee] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--bz-color-accent);
}

.bz-bell-all:hover[b-jqnadna4ee],
.bz-bell-all:focus-visible[b-jqnadna4ee] {
    text-decoration: underline;
}
/* /Components/NotificationClearButton.razor.rz.scp.css */
/* Redesign: tokens only. The confirmation is the shared BzConfirmDialog (Confirm size). Hover and focus colours ease
   through the shared button rule in shell.css; the range menu drops in like the bell panel, its close stays instant
   (Blazor removes it at once). */
.bz-nclear[b-vidqtbizu5] {
    position: relative;
}

.bz-nclear-btn[b-vidqtbizu5] {
    display: inline-flex;
    align-items: center;
    gap: var(--bz-space-1);
    padding: var(--bz-space-1) var(--bz-space-2);
    border: 1px solid var(--bz-color-border);
    border-radius: var(--bz-radius-md);
    background: none;
    color: var(--bz-color-fg-muted);
    font-size: var(--bz-fs-sm);
    cursor: pointer;
}

.bz-nclear-btn:hover[b-vidqtbizu5],
.bz-nclear-btn:focus-visible[b-vidqtbizu5],
.bz-nclear-btn--on[b-vidqtbizu5] {
    background: var(--bz-color-surface-2);
    color: var(--bz-color-fg);
}

@media (pointer: coarse) {
    .bz-nclear-btn[b-vidqtbizu5] { min-height: 44px; }
}

.bz-nclear-menu[b-vidqtbizu5] {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + var(--bz-space-1));
    z-index: 5;
    min-width: 14rem;
    display: flex;
    flex-direction: column;
    padding-block: var(--bz-space-1);
    background: var(--bz-color-popover);
    border: 1px solid var(--bz-color-border);
    border-radius: var(--bz-radius-md);
    box-shadow: var(--bz-shadow-lg);
    animation: bz-rise-in var(--bz-duration-base) var(--bz-ease-out);
}

.bz-nclear-option[b-vidqtbizu5] {
    background: none;
    border: 0;
    cursor: pointer;
    text-align: start;
    padding: var(--bz-space-2) var(--bz-space-4);
    font-size: var(--bz-fs-md);
    color: var(--bz-color-fg);
}

.bz-nclear-option:hover[b-vidqtbizu5],
.bz-nclear-option:focus-visible[b-vidqtbizu5] {
    background: var(--bz-color-surface-3);
}

.bz-nclear-option--all[b-vidqtbizu5] {
    color: var(--bz-color-danger);
}

@media (pointer: coarse) {
    .bz-nclear-option[b-vidqtbizu5] { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
    .bz-nclear-menu[b-vidqtbizu5] { animation-name: bz-fade-in; }
}
/* /Components/NotificationGroupedList.razor.rz.scp.css */
.bz-ngl-empty[b-omcglgsimc] {
    margin: 0;
    padding: var(--bz-space-5) var(--bz-space-4);
    text-align: center;
    color: var(--bz-color-fg-muted);
    font-size: 0.9rem;
}

.bz-ngl-day[b-omcglgsimc] {
    position: sticky;
    top: 0;
    z-index: 1;
    margin: 0;
    padding: var(--bz-space-2) var(--bz-space-4);
    background: var(--bz-color-surface-2);
    color: var(--bz-color-fg-muted);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.bz-ngl-list[b-omcglgsimc] {
    margin: 0;
    padding: 0;
    list-style: none;
}
/* /Components/NotificationItem.razor.rz.scp.css */
/* One notification row (bell panel and history page). Tokens only. */
.bz-ni[b-51ea2mys9z] {
    list-style: none;
    border-top: 1px solid var(--bz-color-border);
}

.bz-ni--unread[b-51ea2mys9z] {
    background: var(--bz-primary-50);
    box-shadow: inset 3px 0 0 var(--bz-color-accent);
}

.bz-ni-row[b-51ea2mys9z] {
    display: flex;
    align-items: flex-start;
    gap: var(--bz-space-3);
    padding: var(--bz-space-3) var(--bz-space-3) var(--bz-space-3) var(--bz-space-4);
}

.bz-ni-icon[b-51ea2mys9z] {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--bz-color-surface-2);
    color: var(--bz-color-accent);
    font-size: 1.1rem;
}

.bz-ni-main[b-51ea2mys9z] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-align: start;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: var(--bz-color-fg);
}

.bz-ni-main:hover .bz-ni-title[b-51ea2mys9z],
.bz-ni-main:focus-visible .bz-ni-title[b-51ea2mys9z] {
    text-decoration: underline;
}

.bz-ni-title[b-51ea2mys9z] {
    font-size: 0.9375rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.bz-ni-body[b-51ea2mys9z] {
    color: var(--bz-color-fg-muted);
    font-size: 0.8125rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bz-ni-meta[b-51ea2mys9z] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--bz-space-1) var(--bz-space-3);
    font-size: 0.75rem;
    color: var(--bz-color-fg-muted);
}

.bz-ni-action[b-51ea2mys9z] {
    color: var(--bz-color-accent);
    font-weight: 500;
}

.bz-ni-read[b-51ea2mys9z] {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border: 0;
    border-radius: var(--bz-radius-md);
    background: none;
    cursor: pointer;
}

.bz-ni-read:hover[b-51ea2mys9z],
.bz-ni-read:focus-visible[b-51ea2mys9z] {
    background: var(--bz-color-surface-3);
}

.bz-ni-dot[b-51ea2mys9z] {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: var(--bz-color-accent);
}

@media (pointer: coarse) {
    .bz-ni-read[b-51ea2mys9z] { width: 44px; height: 44px; }
}

.bz-ni-related[b-51ea2mys9z] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--bz-space-1) var(--bz-space-3);
    padding: 0 var(--bz-space-4) var(--bz-space-3) calc(var(--bz-space-4) + 2.25rem + var(--bz-space-3));
}

.bz-ni-link[b-51ea2mys9z] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: var(--bz-color-accent);
    font-size: 0.8125rem;
}

.bz-ni-link:hover[b-51ea2mys9z],
.bz-ni-link:focus-visible[b-51ea2mys9z] {
    text-decoration: underline;
}

@media (pointer: coarse) {
    .bz-ni-link[b-51ea2mys9z] { min-height: 32px; }
}
/* /Components/NotificationTabs.razor.rz.scp.css */
.bz-nt[b-czoqbi8nc0] {
    display: flex;
    gap: var(--bz-space-1);
    padding: var(--bz-space-2) var(--bz-space-3);
    overflow-x: auto;
    border-bottom: 1px solid var(--bz-color-border);
}

.bz-nt-tab[b-czoqbi8nc0] {
    flex: none;
    padding: 0.3rem 0.7rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: none;
    color: var(--bz-color-fg-muted);
    font-size: 0.8125rem;
    cursor: pointer;
}

.bz-nt-tab:hover[b-czoqbi8nc0],
.bz-nt-tab:focus-visible[b-czoqbi8nc0] {
    background: var(--bz-color-surface-2);
    color: var(--bz-color-fg);
}

.bz-nt-tab--on[b-czoqbi8nc0] {
    background: var(--bz-primary-50);
    border-color: var(--bz-color-accent);
    color: var(--bz-color-accent);
    font-weight: 600;
}

@media (pointer: coarse) {
    .bz-nt-tab[b-czoqbi8nc0] { min-height: 36px; }
}
/* /Components/NotificationToastHost.razor.rz.scp.css */
/* Bottom-right stack; above the app, below modal dialogs' own layers is not needed (toasts must stay readable). */
.bz-ntoast-host[b-0089hit1mn] {
    position: fixed;
    inset-inline-end: var(--bz-space-4);
    bottom: var(--bz-space-4);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    gap: var(--bz-space-2);
    width: min(24rem, calc(100vw - 2 * var(--bz-space-4)));
    pointer-events: none;
}

.bz-ntoast[b-0089hit1mn] {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: var(--bz-space-3);
    padding: var(--bz-space-3) var(--bz-space-3) var(--bz-space-3) var(--bz-space-4);
    background: var(--bz-color-popover);
    border: 1px solid var(--bz-color-border);
    border-inline-start: 4px solid var(--bz-color-accent);
    border-radius: var(--bz-radius-lg);
    box-shadow: var(--bz-shadow-lg);
    animation: bz-ntoast-in-b-0089hit1mn var(--bz-duration-base) var(--bz-ease-out);
}

@keyframes bz-ntoast-in-b-0089hit1mn {
    from { opacity: 0; transform: translateY(0.5rem); }
    to { opacity: 1; transform: none; }
}

@keyframes bz-ntoast-fade-b-0089hit1mn {
    from { opacity: 0; }
}

/* Reduced motion: no rise, the toast still fades in instead of popping into place. */
@media (prefers-reduced-motion: reduce) {
    .bz-ntoast[b-0089hit1mn] { animation-name: bz-ntoast-fade-b-0089hit1mn; }
}

.bz-ntoast-icon[b-0089hit1mn] {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--bz-color-surface-2);
    color: var(--bz-color-accent);
}

.bz-ntoast-content[b-0089hit1mn] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--bz-space-2);
}

.bz-ntoast-body[b-0089hit1mn] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0;
    border: 0;
    background: none;
    text-align: start;
    color: var(--bz-color-fg);
}

button.bz-ntoast-body[b-0089hit1mn] { cursor: pointer; }

.bz-ntoast-title[b-0089hit1mn] {
    font-size: 0.9375rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.bz-ntoast-text[b-0089hit1mn] {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--bz-color-fg-muted);
    font-size: 0.8125rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.bz-ntoast-action[b-0089hit1mn] {
    padding: 0.3rem 0.8rem;
    border: 0;
    border-radius: var(--bz-radius-md);
    background: var(--bz-color-accent);
    color: var(--bz-color-on-solid);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
}

.bz-ntoast-action:hover[b-0089hit1mn],
.bz-ntoast-action:focus-visible[b-0089hit1mn] {
    filter: brightness(1.1);
}

.bz-ntoast-close[b-0089hit1mn] {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border: 0;
    border-radius: var(--bz-radius-md);
    background: none;
    color: var(--bz-color-fg-muted);
    cursor: pointer;
}

.bz-ntoast-close:hover[b-0089hit1mn],
.bz-ntoast-close:focus-visible[b-0089hit1mn] {
    background: var(--bz-color-surface-2);
    color: var(--bz-color-fg);
}

@media (max-width: 1023.98px) {
    /* Keep clear of the fixed mobile navigation bar. */
    .bz-ntoast-host[b-0089hit1mn] { bottom: calc(var(--bz-mobile-nav-h) + var(--bz-space-3)); }
}

@media (pointer: coarse) {
    .bz-ntoast-close[b-0089hit1mn] { width: 44px; height: 44px; }
    .bz-ntoast-action[b-0089hit1mn] { min-height: 44px; }
}
/* /Components/SidebarBrandLink.razor.rz.scp.css */
.sidebar-brand-link[b-0l4v3gx8j6],
.sidebar-brand-link:hover[b-0l4v3gx8j6],
.sidebar-brand-link:focus[b-0l4v3gx8j6],
.sidebar-brand-link:active[b-0l4v3gx8j6] {
    color: var(--color-mono);
    background: transparent;
    text-decoration: none;
}

/* The tenant name in the sidebar head (redesign 2026-12): 14px semibold on one line, cut with an
   ellipsis — a long company name no longer wraps the head onto a second row. */
.kt-menu-item[b-0l4v3gx8j6],
.sidebar-brand-link[b-0l4v3gx8j6] { min-width: 0; }

.sidebar-brand-link > span[b-0l4v3gx8j6] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--bz-fs-md);
    font-weight: var(--bz-fw-semibold);
    color: var(--foreground);
}
/* /Components/SidebarNavResults.razor.rz.scp.css */
/* Dark-sidebar colours come from the Metronic tokens `.dark` redeclares on #sidebar — see
   SidebarNavSearch.razor.css for why the --bz-* colour tokens cannot be used in here. */

.bz-nav-results[b-ylz7qpah1s] {
    display: flex;
    flex-direction: column;
    gap: var(--bz-space-2);
    padding-inline: calc(var(--bz-space-3) + 2px);
    /* Fades in when the first query shows it (or its rail pop-over opens); typing only updates it. */
    animation: bz-nav-results-in-b-ylz7qpah1s var(--bz-duration-base) var(--bz-ease-out);
}

@keyframes bz-nav-results-in-b-ylz7qpah1s {
    from { opacity: 0; }
}

.bz-nav-results-count[b-ylz7qpah1s],
.bz-nav-results-empty[b-ylz7qpah1s] {
    margin: 0;
    padding-inline: var(--bz-space-2);
    font-size: var(--bz-fs-xs);
    color: color-mix(in oklab, var(--foreground) 70%, var(--background));
}

.bz-nav-results-empty[b-ylz7qpah1s] {
    padding-block: var(--bz-space-3);
    font-size: var(--bz-fs-sm);
}

.bz-nav-results-group[b-ylz7qpah1s] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.bz-nav-results-module[b-ylz7qpah1s] {
    display: flex;
    align-items: center;
    gap: var(--bz-space-2);
    padding: var(--bz-space-1) var(--bz-space-2);
    font-size: var(--bz-fs-xs);
    font-weight: var(--bz-fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: color-mix(in oklab, var(--foreground) 70%, var(--background));
}

.bz-nav-result[b-ylz7qpah1s] {
    display: flex;
    align-items: flex-start;
    gap: var(--bz-space-2);
    padding: 6px var(--bz-space-2) 6px var(--bz-space-3);
    border-radius: var(--bz-radius-md);
    color: var(--foreground);
    text-decoration: none;
    transition: background-color var(--bz-duration-fast) var(--bz-ease);
}

.bz-nav-result > i[b-ylz7qpah1s] {
    margin-top: 2px;
    font-size: 16px;
    color: color-mix(in oklab, var(--foreground) 70%, var(--background));
}

.bz-nav-result:hover[b-ylz7qpah1s] {
    background: var(--accent);
}

.bz-nav-result.is-active[b-ylz7qpah1s] {
    background: var(--secondary);
    box-shadow: inset 2px 0 0 var(--primary);
}

.bz-nav-result-text[b-ylz7qpah1s] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bz-nav-result-label[b-ylz7qpah1s] {
    font-size: var(--bz-fs-sm);
    font-weight: var(--bz-fw-medium);
}

.bz-nav-result-path[b-ylz7qpah1s] {
    font-size: var(--bz-fs-xs);
    color: color-mix(in oklab, var(--foreground) 68%, var(--background));
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* The shared .bz-mark tint is built from --bz-color-warn, resolved on :root: in the light theme
   that is a dark amber that barely shows on the dark sidebar. The sidebar's own counter-accent
   (the cyan, declared in its .dark scope) keeps the label at about 7:1. */
.bz-nav-result-label[b-ylz7qpah1s]  .bz-mark {
    background: color-mix(in srgb, var(--bz-color-highlight) 35%, transparent);
    color: var(--foreground);
}
/* /Components/SidebarNavSearch.razor.rz.scp.css */
/* The sidebar is always dark (`class="dark"` on #sidebar), but the --bz-* colour tokens resolve on
   :root — in the light theme they are the LIGHT palette even in here. So colours come from the
   Metronic tokens `.dark` redeclares on the sidebar (--foreground, --background, --input, --primary);
   --bz-* supplies only spacing, radius, type and motion. Shape mirrors `.bz-search-input`. */

.bz-nav-search[b-gny2ts0xle] {
    padding-inline: calc(var(--bz-space-3) + 2px);
    /* The search field fades in when the magnifier opens it; closing removes it at once. */
    animation: bz-nav-search-in-b-gny2ts0xle var(--bz-duration-base) var(--bz-ease-out);
}

@keyframes bz-nav-search-in-b-gny2ts0xle {
    from { opacity: 0; }
}

/* Redesign shell: the toggle is the canvas's search field on the navy (magnifier, label, shortcut), a quiet
   field like the one it opens; in the collapsed rail it is the square magnifier again. */
button[data-testid="shell-nav-search-toggle"][b-gny2ts0xle] {
    display: flex;
    align-items: center;
    gap: var(--bz-space-2);
    flex: 1;
    min-width: 0;
    height: 34px;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid var(--bz-nav-field-border);
    border-radius: var(--bz-radius-md);
    background: var(--bz-nav-field-bg);
    color: var(--muted-foreground);
    font-size: var(--bz-fs-sm);
    cursor: pointer;
    transition: background-color var(--bz-duration-fast) var(--bz-ease), color var(--bz-duration-fast) var(--bz-ease);
}

.bz-nav-search-field-label[b-gny2ts0xle] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-align: start;
    text-overflow: ellipsis;
    white-space: nowrap;
}

button[data-testid="shell-nav-search-toggle"] > kbd[b-gny2ts0xle] {
    flex: none;
    padding: 0 4px;
    border: 1px solid var(--bz-nav-field-border);
    border-radius: var(--bz-radius-sm);
    font: inherit;
    font-size: 11px;
    line-height: 1.4;
}

button[data-testid="shell-nav-search-toggle"]:hover[b-gny2ts0xle],
button[data-testid="shell-nav-search-toggle"][aria-expanded="true"][b-gny2ts0xle] {
    background: color-mix(in oklab, var(--foreground) 11%, var(--background));
    color: var(--foreground);
}

@media (min-width: 1024px) {
    [data-sidebar-collapsed="true"] button[data-testid="shell-nav-search-toggle"][b-gny2ts0xle] { flex: none; width: 36px; padding: 0; justify-content: center; }
    [data-sidebar-collapsed="true"] button[data-testid="shell-nav-search-toggle"] > :not(i)[b-gny2ts0xle] { display: none; }
}

@media (pointer: coarse) {
    button[data-testid="shell-nav-search-toggle"][b-gny2ts0xle] { height: 44px; min-height: 44px; }
}

.bz-nav-search-box[b-gny2ts0xle] {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.bz-nav-search-box > i[b-gny2ts0xle] {
    position: absolute;
    left: 10px;
    font-size: 15px;
    line-height: 1;
    color: color-mix(in oklab, var(--foreground) 60%, var(--background));
    pointer-events: none;
}

.bz-nav-search-box > input[b-gny2ts0xle] {
    width: 100%;
    min-height: var(--bz-control-height);
    padding: 0.38rem 2.1rem;
    background: var(--bz-nav-field-bg);
    border: 1px solid var(--bz-nav-field-border);
    border-radius: var(--bz-radius-md);
    color: var(--foreground);
    font-family: var(--bz-font-sans);
    font-size: var(--bz-fs-sm);
    line-height: 1.5;
    transition: border-color var(--bz-duration-fast) var(--bz-ease),
                box-shadow var(--bz-duration-fast) var(--bz-ease);
}

.bz-nav-search-box > input[b-gny2ts0xle]::placeholder {
    color: color-mix(in oklab, var(--foreground) 55%, var(--background));
}

.bz-nav-search-box > input:focus[b-gny2ts0xle] {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 40%, transparent);
}

.bz-nav-search-close[b-gny2ts0xle] {
    position: absolute;
    right: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: var(--bz-radius-sm);
    background: transparent;
    color: color-mix(in oklab, var(--foreground) 70%, var(--background));
    cursor: pointer;
    transition: background-color var(--bz-duration-fast) var(--bz-ease);
}

.bz-nav-search-close:hover[b-gny2ts0xle] {
    background: var(--secondary);
    color: var(--foreground);
}
/* /Components/TenantClock.razor.rz.scp.css */
.bz-tenant-clock[b-yj3chn8w4g] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-variant-numeric: tabular-nums;
}
/* /Components/ThemeSwitcher.razor.rz.scp.css */
.switcher[b-ptz4j9iw5s] {
    display: inline-flex;
    border: 1px solid color-mix(in srgb, var(--bz-color-border) 72%, transparent);
    border-radius: 999px;
    overflow: hidden;
    background: color-mix(in srgb, var(--bz-color-surface) 82%, transparent);
    box-shadow: var(--bz-shadow-sm);
}

.switcher button[b-ptz4j9iw5s] {
    background: transparent;
    border: 0;
    min-width: 2.25rem;
    min-height: 2.25rem;
    padding: 0.45rem 0.75rem;
    cursor: pointer;
    color: var(--bz-color-fg-muted);
    font-size: var(--bz-fs-sm);
}

.switcher button.on[b-ptz4j9iw5s] {
    background: linear-gradient(135deg, color-mix(in srgb, var(--bz-brand-primary) 80%, transparent), color-mix(in srgb, var(--bz-brand-primary) 60%, var(--bz-color-surface) 12%));
    color: var(--bz-color-accent-fg);
}

.switcher button + button[b-ptz4j9iw5s] { border-left: 1px solid color-mix(in srgb, var(--bz-color-border) 70%, transparent); }
/* /Components/UserMenu.razor.rz.scp.css */
.user[b-1yykw1tar1] {
	display: inline-flex;
	gap: 0.5rem;
	align-items: center;
	font-size: var(--bz-fs-sm);
}

.realm-badge[b-1yykw1tar1] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2rem;
	padding: 0 0.65rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.realm-badge.host[b-1yykw1tar1] {
	color: var(--bz-color-accent-fg);
	background: linear-gradient(135deg, var(--bz-color-accent), var(--bz-color-accent-hover));
}

.realm-badge.tenant[b-1yykw1tar1] {
	color: var(--bz-color-on-solid);
	background: linear-gradient(135deg, var(--bz-color-ok), color-mix(in oklab, var(--bz-color-ok) 82%, var(--bz-color-fg)));
}

.user-dd[b-1yykw1tar1] {
	position: relative;
}

.user-name[b-1yykw1tar1] {
	display: inline-flex;
	align-items: center;
	min-height: 2.25rem;
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--bz-color-border) 72%, transparent);
	background: color-mix(in srgb, var(--bz-color-surface) 82%, transparent);
	color: var(--bz-color-fg-muted);
	cursor: pointer;
	list-style: none;
	box-shadow: var(--bz-shadow-sm);
}

.user-name[b-1yykw1tar1]::-webkit-details-marker {
	display: none;
}

.user-menu[b-1yykw1tar1] {
	position: absolute;
	inset-inline-end: 0;
	top: calc(100% + 0.5rem);
	min-width: 13rem;
	margin: 0;
	padding: 0.5rem;
	list-style: none;
	border: 1px solid color-mix(in srgb, var(--bz-color-border) 72%, transparent);
	border-radius: 1rem;
	background: var(--bz-color-popover);
	box-shadow: var(--bz-shadow-lg);
}

.user-menu a[b-1yykw1tar1] {
	display: block;
	padding: 0.6rem 0.75rem;
	border-radius: 0.75rem;
	color: var(--bz-color-fg);
	text-decoration: none;
}

.user-menu a:hover[b-1yykw1tar1] {
	background: color-mix(in srgb, var(--bz-brand-primary) 10%, var(--bz-color-surface));
	color: var(--bz-brand-primary);
}

.user-menu-sep[b-1yykw1tar1] {
	height: 1px;
	margin: 0.35rem 0;
	background: color-mix(in srgb, var(--bz-color-border) 72%, transparent);
}

.user-action[b-1yykw1tar1] {
	display: inline-flex;
	align-items: center;
	min-height: 2.25rem;
	padding: 0.45rem 0.95rem;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--bz-color-border) 72%, transparent);
	background: color-mix(in srgb, var(--bz-color-surface) 82%, transparent);
	color: var(--bz-brand-primary);
	text-decoration: none;
	font-size: var(--bz-fs-sm);
}

.user-action:hover[b-1yykw1tar1] {
	border-color: color-mix(in srgb, var(--bz-brand-primary) 32%, var(--bz-color-border));
}
/* /Layouts/EmptyLayout.razor.rz.scp.css */
.empty-layout[b-wobsb18ibl] {
    /* The shell's <body> is a flex row; without this the layout only covers its content width and
       the body's dark background fills the rest of the screen. */
    flex: 1 1 auto;
    min-width: 0;
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: var(--bz-color-canvas);
    color: var(--bz-color-fg);
    font-family: var(--bz-font-sans);
    padding: var(--bz-space-6);
}
/* /Layouts/MainLayout.razor.rz.scp.css */
/* Shared workspace composition lives in wwwroot/css/workspace.css over Metronic + Tailwind. */
/* /Pages/AccessDenied.razor.rz.scp.css */
.state-card[b-ued6flidmc] {
    inline-size: min(440px, 100%);
    padding: var(--bz-space-8) var(--bz-space-6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--bz-space-3);
    text-align: center;
    border: 1px solid var(--bz-color-border);
    border-radius: var(--bz-radius-lg);
    background: var(--bz-color-surface);
    box-shadow: var(--bz-shadow-sm);
    animation: state-enter-b-ued6flidmc var(--bz-duration-base) var(--bz-ease-out) both;
}
.state-brand[b-ued6flidmc] { font-size: var(--bz-fs-lg); font-weight: var(--bz-fw-semibold); color: var(--bz-color-fg); }
.state-card h1[b-ued6flidmc] { margin: 0; font-size: var(--bz-fs-xl); font-weight: var(--bz-fw-semibold); line-height: var(--bz-lh-tight); color: var(--bz-color-fg); }
.state-card p[b-ued6flidmc] { margin: 0; font-size: var(--bz-fs-sm); color: var(--bz-color-fg-muted); }
.state-actions[b-ued6flidmc] { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--bz-space-2); margin-top: var(--bz-space-2); }
.state-link[b-ued6flidmc] { color: var(--bz-color-accent-text); }
@keyframes state-enter-b-ued6flidmc { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .state-card[b-ued6flidmc] { animation: none; } }
/* /Pages/Error.razor.rz.scp.css */
.state-card[b-89604kn1la] {
    inline-size: min(440px, 100%);
    padding: var(--bz-space-8) var(--bz-space-6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--bz-space-3);
    text-align: center;
    border: 1px solid var(--bz-color-border);
    border-radius: var(--bz-radius-lg);
    background: var(--bz-color-surface);
    box-shadow: var(--bz-shadow-sm);
    animation: state-enter-b-89604kn1la var(--bz-duration-base) var(--bz-ease-out) both;
}
.state-brand[b-89604kn1la] { font-size: var(--bz-fs-lg); font-weight: var(--bz-fw-semibold); color: var(--bz-color-fg); }
.state-card h1[b-89604kn1la] { margin: 0; font-size: var(--bz-fs-xl); font-weight: var(--bz-fw-semibold); line-height: var(--bz-lh-tight); color: var(--bz-color-fg); }
.state-card p[b-89604kn1la] { margin: 0; font-size: var(--bz-fs-sm); color: var(--bz-color-fg-muted); }
.state-actions[b-89604kn1la] { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--bz-space-2); margin-top: var(--bz-space-2); }
.state-link[b-89604kn1la] { color: var(--bz-color-accent-text); }
@keyframes state-enter-b-89604kn1la { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .state-card[b-89604kn1la] { animation: none; } }
/* /Pages/Home.razor.rz.scp.css */
/* ── Unauthenticated landing ────────────────────────────────────────────── */
.home-anon[b-ur3jyl0k2g] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: var(--bz-space-8);
}

.home-anon-card[b-ur3jyl0k2g] {
    text-align: center;
    max-width: 420px;
}

.home-anon-logo[b-ur3jyl0k2g] {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--bz-space-5);
    display: block;
}

.home-anon-title[b-ur3jyl0k2g] {
    font-size: var(--bz-fs-3xl);
    font-weight: var(--bz-fw-bold);
    color: var(--bz-color-fg);
    margin: 0 0 var(--bz-space-3);
    line-height: var(--bz-lh-tight);
}

.home-anon-desc[b-ur3jyl0k2g] {
    font-size: var(--bz-fs-lg);
    color: var(--bz-color-fg-muted);
    margin: 0 0 var(--bz-space-6);
    line-height: var(--bz-lh);
}

.home-anon-actions[b-ur3jyl0k2g] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--bz-space-3);
}

.home-anon-btn-primary[b-ur3jyl0k2g] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--bz-control-height-lg);
    padding: 0 var(--bz-space-6);
    border-radius: var(--bz-radius-md);
    background: var(--bz-color-accent);
    color: var(--bz-color-accent-fg);
    font-size: var(--bz-fs-md);
    font-weight: var(--bz-fw-semibold);
    text-decoration: none;
    transition: background var(--bz-duration-fast) var(--bz-ease);
    width: 100%;
}
.home-anon-btn-primary:hover[b-ur3jyl0k2g] { background: var(--bz-color-accent-hover); color: var(--bz-color-accent-fg); }

.home-anon-btn-secondary[b-ur3jyl0k2g] {
    font-size: var(--bz-fs-sm);
    color: var(--bz-color-fg-muted);
    text-decoration: none;
}
.home-anon-btn-secondary:hover[b-ur3jyl0k2g] { color: var(--bz-color-accent); text-decoration: underline; }

/* ── Greeting header: a flat line, no decorative hero (Dashboard-Home board) ─────────── */
.home-hero[b-ur3jyl0k2g] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--bz-space-3) var(--bz-space-5);
    margin-bottom: var(--bz-space-5);
}
.home-hero-text[b-ur3jyl0k2g] { min-width: 0; }
.home-hero-kicker[b-ur3jyl0k2g] { display: flex; align-items: center; gap: var(--bz-space-2); margin-bottom: var(--bz-space-1); font-size: var(--bz-fs-sm); font-weight: var(--bz-fw-medium); color: var(--bz-color-fg-muted); overflow-wrap: anywhere; }
.home-hero-mark[b-ur3jyl0k2g] { display: inline-flex; justify-content: center; align-items: center; width: 24px; height: 24px; border-radius: var(--bz-radius-md); background: var(--bz-color-surface-2); color: var(--bz-color-accent); }
.home-greeting[b-ur3jyl0k2g] {
    font-size: var(--bz-fs-xl);
    font-weight: var(--bz-fw-semibold);
    color: var(--bz-color-fg);
    letter-spacing: -.02em;
    margin: 0 0 var(--bz-space-1);
    line-height: var(--bz-lh-tight);
    overflow-wrap: anywhere;
}
.home-subtext[b-ur3jyl0k2g] { font-size: var(--bz-fs-sm); color: var(--bz-color-fg-muted); margin: 0; }
.home-hero-actions[b-ur3jyl0k2g] { grid-column: 1; display: flex; flex-wrap: wrap; gap: var(--bz-space-2); }
.home-hero-actions a[b-ur3jyl0k2g] { display: inline-flex; align-items: center; gap: var(--bz-space-2); min-height: 36px; padding: var(--bz-space-1) var(--bz-space-3); border: 1px solid var(--bz-color-border); border-radius: var(--bz-radius-md); color: var(--bz-color-fg); background: var(--bz-color-surface); font-size: var(--bz-fs-sm); transition: background var(--bz-duration-fast) var(--bz-ease), border-color var(--bz-duration-fast) var(--bz-ease); }
.home-hero-actions a:hover[b-ur3jyl0k2g] { background: var(--bz-color-surface-2); border-color: var(--bz-color-border-strong); text-decoration: none; }
.home-hero .home-widget-toolbar[b-ur3jyl0k2g] { grid-column: 2; grid-row: 1; align-self: start; margin: 0; flex-wrap: wrap; justify-content: flex-end; max-width: 24rem; }
.home-hero .home-customize-btn[b-ur3jyl0k2g] { min-height: 36px; }
/* ── Quick-access chips ─────────────────────────────────────────────────── */
/* The chip itself (.bz-dash-quick / -chip / -icon / -label) moved to Web.Common/wwwroot/dashboard.css
   (task 328/#184) so the Product Information dashboard's Settings card can render the same chip — a
   module RCL cannot reach this scoped stylesheet. Only the home page's per-module accent colours
   (data, not layout — see docs/dev/guides/design-system.md "Legitimate literals") stay here. */

/* ── Personal insight cards (tasks / appointments / partners) ──────────────── */
.home-insight-grid[b-ur3jyl0k2g] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--bz-space-5);
    margin-bottom: var(--bz-space-5);
}

/* Cards stretch to equal height; the list/empty area fills the remainder. Every card now sits in
   a .home-widget wrapper (task 259 WP6), and the extracted widget components render their own
   markup, so the insight internals are styled through ::deep from the wrapper. */
.home-insight-grid > .home-widget[b-ur3jyl0k2g] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.home-widget[b-ur3jyl0k2g]  .bz-dash-section {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-bottom: 0;
}

.home-widget[b-ur3jyl0k2g]  .home-insight-empty {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    padding: var(--bz-space-5);
    color: var(--bz-color-fg-muted);
    font-size: var(--bz-fs-sm);
}

.home-widget[b-ur3jyl0k2g]  .home-insight-counts {
    display: flex;
    flex-wrap: wrap;
    gap: var(--bz-space-2);
    padding: var(--bz-space-4) var(--bz-space-5) var(--bz-space-3);
}

.home-widget[b-ur3jyl0k2g]  .home-insight-list {
    list-style: none;
    margin: 0;
    padding: 0 0 var(--bz-space-2);
    flex: 1;
}

.home-widget[b-ur3jyl0k2g]  .home-insight-row {
    display: flex;
    align-items: center;
    gap: var(--bz-space-3);
    padding: var(--bz-space-3) var(--bz-space-5);
    font-size: var(--bz-fs-sm);
}
.home-widget[b-ur3jyl0k2g]  .home-insight-row + .home-insight-row {
    border-top: 1px solid color-mix(in srgb, var(--bz-color-border) 55%, transparent);
}
.home-widget[b-ur3jyl0k2g]  .home-insight-row:hover { background: var(--bz-color-surface-2); }

.home-widget[b-ur3jyl0k2g]  .home-insight-primary {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--bz-color-fg);
    font-weight: var(--bz-fw-medium);
}
.home-widget[b-ur3jyl0k2g]  a.home-insight-primary { text-decoration: none; }
.home-widget[b-ur3jyl0k2g]  a.home-insight-primary:hover { color: var(--bz-color-accent); text-decoration: underline; }

.home-widget[b-ur3jyl0k2g]  .home-insight-meta {
    flex-shrink: 0;
    white-space: nowrap;
}

/* ── Widget toolbar + customize mode (task 259 WP6) ─────────────────────── */
.home-widget-toolbar[b-ur3jyl0k2g] {
    display: flex;
    justify-content: flex-end;
    gap: var(--bz-space-2);
    margin-bottom: var(--bz-space-3);
}

.home-customize-btn[b-ur3jyl0k2g] {
    display: inline-flex;
    align-items: center;
    gap: var(--bz-space-2);
    padding: var(--bz-space-1) var(--bz-space-3);
    background: var(--bz-color-surface);
    border: 1px solid var(--bz-color-border);
    border-radius: var(--bz-radius-md);
    color: var(--bz-color-fg-muted);
    font-size: var(--bz-fs-sm);
    cursor: pointer;
}
.home-customize-btn:hover[b-ur3jyl0k2g] { border-color: var(--bz-color-accent); color: var(--bz-color-accent); }
.home-customize-btn.primary[b-ur3jyl0k2g] {
    background: var(--bz-color-accent);
    border-color: var(--bz-color-accent);
    color: var(--bz-color-accent-fg);
}
.home-customize-btn.primary:hover[b-ur3jyl0k2g] { color: var(--bz-color-accent-fg); }

/* The entry-point "Customize dashboard" button stays a quiet secondary action; Save is the primary one. */
.home-customize-btn-cta[b-ur3jyl0k2g] { color: var(--bz-color-fg); font-weight: var(--bz-fw-medium); }
.home-customize-btn[b-ur3jyl0k2g] { transition: background var(--bz-duration-fast) var(--bz-ease), border-color var(--bz-duration-fast) var(--bz-ease), color var(--bz-duration-fast) var(--bz-ease); }

.home-widget-hidden[b-ur3jyl0k2g] { opacity: .45; }

.home-widget-edit-bar[b-ur3jyl0k2g] {
    display: flex;
    align-items: center;
    gap: var(--bz-space-2);
    padding: var(--bz-space-1) var(--bz-space-2);
    margin-bottom: var(--bz-space-1);
    border: 1px dashed var(--bz-color-border);
    border-radius: var(--bz-radius-sm);
    background: var(--bz-color-surface-2);
    font-size: var(--bz-fs-sm);
}

.home-widget-drag[b-ur3jyl0k2g] { cursor: grab; color: var(--bz-color-fg-muted); }

.home-widget-toggle[b-ur3jyl0k2g] {
    display: inline-flex;
    align-items: center;
    gap: var(--bz-space-2);
    margin: 0;
    cursor: pointer;
    color: var(--bz-color-fg);
}

/* ── Widget-component internals (rendered by child components → ::deep) ──── */
.home-widget[b-ur3jyl0k2g]  .home-action-icon {
    flex-shrink: 0;
    color: var(--bz-color-fg-muted);
    font-size: var(--bz-fs-lg);
}

.home-widget[b-ur3jyl0k2g]  .home-action-clear {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: var(--bz-space-2);
    min-height: 120px;
    padding: var(--bz-space-5);
    color: var(--bz-color-ok);
    font-size: var(--bz-fs-sm);
    font-weight: var(--bz-fw-medium);
}

.home-widget[b-ur3jyl0k2g]  .home-health-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: var(--bz-space-3);
    padding: var(--bz-space-4) var(--bz-space-5) var(--bz-space-5);
    flex: 1;
    align-content: start;
}

.home-widget[b-ur3jyl0k2g]  .home-health-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--bz-space-1);
    padding: var(--bz-space-3);
    border: 1px solid var(--bz-color-border);
    border-radius: var(--bz-radius-md);
    background: var(--bz-color-surface-2);
}

.home-widget[b-ur3jyl0k2g]  .home-health-value {
    font-size: var(--bz-fs-xl);
    font-weight: var(--bz-fw-bold);
    color: var(--bz-color-fg);
}

.home-widget[b-ur3jyl0k2g]  .home-health-label {
    font-size: var(--bz-fs-xs);
    color: var(--bz-color-fg-muted);
}

.home-widget[b-ur3jyl0k2g]  .home-health-danger .home-health-value { color: var(--bz-color-danger); }
.home-widget[b-ur3jyl0k2g]  .home-health-danger { border-color: color-mix(in srgb, var(--bz-color-danger) 40%, transparent); }

.home-widget[b-ur3jyl0k2g]  .home-create-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--bz-space-3);
    padding: var(--bz-space-4) var(--bz-space-5) var(--bz-space-5);
    align-content: start;
    flex: 1;
}

.home-widget[b-ur3jyl0k2g]  .home-create-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--bz-space-2);
    padding: var(--bz-space-2) var(--bz-space-4);
    background: var(--bz-color-surface);
    border: 1px solid var(--bz-color-border);
    border-radius: var(--bz-radius-pill);
    color: var(--bz-color-fg);
    font-size: var(--bz-fs-sm);
    font-weight: var(--bz-fw-medium);
    text-decoration: none;
}
.home-widget[b-ur3jyl0k2g]  .home-create-btn:hover {
    border-color: var(--bz-color-accent);
    color: var(--bz-color-accent);
}

.home-widget[b-ur3jyl0k2g]  .home-insight-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.home-widget[b-ur3jyl0k2g]  .home-insight-dot.ok { background: var(--bz-color-ok); }
.home-widget[b-ur3jyl0k2g]  .home-insight-dot.warn { background: var(--bz-color-warn); }

/* ── Today's Appointments widget (task 261 WP-B, GitLab #75) ───────────────
   Rows need two lines (time/badges, then subject + detail chips) instead of the single-line
   .home-insight-row layout the other list widgets use, so they opt into a column layout here while
   keeping the shared row spacing/border/hover from .home-insight-row. */
.home-widget[b-ur3jyl0k2g]  .home-appt-row {
    flex-direction: column;
    align-items: stretch;
    gap: var(--bz-space-1);
}

.home-widget[b-ur3jyl0k2g]  .home-appt-next {
    border-left: 3px solid var(--bz-color-accent);
    padding-left: calc(var(--bz-space-5) - 3px);
    background: color-mix(in srgb, var(--bz-color-accent) 6%, transparent);
}

.home-widget[b-ur3jyl0k2g]  .home-appt-ended { opacity: .5; }

.home-widget[b-ur3jyl0k2g]  .home-appt-headline {
    display: flex;
    align-items: center;
    gap: var(--bz-space-2);
    flex-wrap: wrap;
}

.home-widget[b-ur3jyl0k2g]  .home-appt-tag {
    display: inline-flex;
    align-items: center;
    padding: 0 var(--bz-space-2);
    border-radius: var(--bz-radius-pill);
    background: var(--bz-color-accent);
    color: var(--bz-color-accent-fg);
    font-size: var(--bz-fs-xs);
    font-weight: var(--bz-fw-semibold);
    text-transform: uppercase;
}

.home-widget[b-ur3jyl0k2g]  .home-appt-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--bz-space-3);
    font-size: var(--bz-fs-xs);
    color: var(--bz-color-fg-muted);
}

.home-widget[b-ur3jyl0k2g]  .home-appt-detail {
    display: inline-flex;
    align-items: center;
    gap: var(--bz-space-1);
}
.home-widget[b-ur3jyl0k2g]  .home-appt-detail a { color: inherit; }
.home-widget[b-ur3jyl0k2g]  .home-appt-detail a:hover { color: var(--bz-color-accent); }

/* ── Module icon accent colours ─────────────────────────────────────────── */
.hm-blue[b-ur3jyl0k2g]   { background: color-mix(in srgb, var(--bz-color-accent) 12%, transparent); color: var(--bz-color-accent-text); }
.hm-green[b-ur3jyl0k2g]  { background: var(--bz-color-ok-bg); color: var(--bz-color-ok-fg); }
.hm-amber[b-ur3jyl0k2g]  { background: var(--bz-color-warn-bg); color: var(--bz-color-warn-fg); }
.hm-red[b-ur3jyl0k2g]    { background: var(--bz-color-danger-bg); color: var(--bz-color-danger-fg); }
.hm-purple[b-ur3jyl0k2g] { background: color-mix(in srgb, var(--bz-color-accent) 8%, var(--bz-color-danger-bg)); color: var(--bz-color-accent-text); }
.hm-cyan[b-ur3jyl0k2g]   { background: color-mix(in srgb, var(--bz-color-accent) 10%, var(--bz-color-ok-bg)); color: var(--bz-color-info-fg); }
.hm-teal[b-ur3jyl0k2g]   { background: var(--bz-color-ok-bg); color: var(--bz-color-ok-fg); }

/* ▲/▼ reorder buttons — HTML5 drag-and-drop never fires on touch (GitLab #107-2). */
.home-widget-move[b-ur3jyl0k2g] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid var(--bz-color-border);
    border-radius: var(--bz-radius-sm);
    background: var(--bz-color-surface);
    color: var(--bz-color-fg-muted);
    font-size: var(--bz-fs-xs);
    line-height: 1;
    cursor: pointer;
}
.home-widget-move:hover[b-ur3jyl0k2g] { border-color: var(--bz-color-accent); color: var(--bz-color-accent); }

/* Task 285 (#113): these exist BECAUSE the pointer is coarse (drag-and-drop never fires on touch),
   so 28px was the wrong size on the only device that sees them. Scoped here — the shared
   (pointer: coarse) block in shell.css cannot reach a component-scoped class. */
@media (pointer: coarse) {
    .home-widget-move[b-ur3jyl0k2g] { width: 40px; height: 40px; font-size: var(--bz-fs-sm); }
}

/* My Day digest (GitLab #107-4). It reuses .home-widget so the shared ::deep
   insight-row styling above applies; only the grid's zeroed margin needs restoring. */
.home-widget.bz-mobile-only[b-ur3jyl0k2g] { margin-bottom: var(--bz-space-5); }
.home-widget.bz-mobile-only[b-ur3jyl0k2g]  .bz-dash-section { margin-bottom: 0; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .home-greeting[b-ur3jyl0k2g] { font-size: var(--bz-fs-lg); }
}

/* Action Center first on a phone (GitLab #107-6) — the day's to-do list outranks the reference
   cards on a small screen. Suspended in edit mode so the user drags the order they saved. */
@media (max-width: 640px) {
    .home-insight-grid:not(.home-editing) > [data-widget-id="action-center"][b-ur3jyl0k2g] { order: -1; }
}

/* The operational digest leads on every screen; source failures still omit unavailable counts. */
.home-day-overview[b-ur3jyl0k2g] { margin-bottom: var(--bz-space-5); }
/* overflow: visible — the section card clips its content, and with the head's top padding removed the tops
   of the "My day" heading were cut off. Nothing here needs clipping: no border, no background. */
.home-day-overview[b-ur3jyl0k2g]  .bz-dash-section { border: 0; background: transparent; box-shadow: none; overflow: visible; }
.home-day-overview[b-ur3jyl0k2g]  .bz-dash-section-head { padding: 0 0 var(--bz-space-3); border: 0; background: transparent; }
/* One compact KPI strip (canvas "Dashboard-Home", Key figures): one bordered card whose tiles are divided by hairlines,
   22px figures over 13px labels, no icons. The day's counts (MyDayCard) and the admin figures share it. A tile answers
   hover with the row tint; its focus ring sits inside, because the strip clips its outer hairlines. */
.home-day-overview[b-ur3jyl0k2g]  .home-kpi-strip { grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 0; margin: 0; border: 1px solid var(--bz-color-border); border-radius: var(--bz-radius-lg); background: var(--bz-color-surface); overflow: hidden; }
.home-day-overview[b-ur3jyl0k2g]  .home-kpi-strip > .bz-dash-kpi { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: var(--bz-space-3) var(--bz-space-4); border: 0; border-radius: 0; background: transparent; box-shadow: -1px 0 0 var(--bz-color-border-subtle), 0 -1px 0 var(--bz-color-border-subtle); }
.home-day-overview[b-ur3jyl0k2g]  .home-kpi-strip > a.bz-dash-kpi:hover { background: var(--bz-color-row-hover); }
.home-day-overview[b-ur3jyl0k2g]  .home-kpi-strip > a.bz-dash-kpi:focus-visible { outline-offset: -2px; }
.home-day-overview[b-ur3jyl0k2g]  .home-kpi-strip .bz-dash-kpi-icon { display: none; }
.home-day-overview[b-ur3jyl0k2g]  .home-kpi-strip .bz-dash-kpi-value { font-size: var(--bz-fs-kpi); }
.home-day-overview[b-ur3jyl0k2g]  .home-kpi-strip .bz-dash-kpi-label { font-size: var(--bz-fs-sm); }
.home-day-overview[b-ur3jyl0k2g]  .home-kpi-strip .bz-dash-kpi-trend { margin: 0; padding: 0; background: none; color: var(--bz-color-fg-muted); font-weight: var(--bz-fw-regular); white-space: normal; }
.home-day-overview[b-ur3jyl0k2g]  .home-kpi-strip .bz-dash-kpi-faces { margin-top: var(--bz-space-1); }
.home-day-overview[b-ur3jyl0k2g]  .home-kpi-strip > .home-insight-empty { min-height: 0; justify-content: flex-start; padding: var(--bz-space-3) var(--bz-space-4); }
.home-insight-grid > [data-widget-id="ai-insights"][b-ur3jyl0k2g]  .bz-dash-section { background: linear-gradient(145deg, var(--bz-color-surface), var(--bz-color-wash)); }
.home-insight-grid > [data-widget-id="ai-insights"][b-ur3jyl0k2g]  .bz-dash-section-head { background: color-mix(in srgb, var(--bz-color-accent) 8%, var(--bz-color-surface)); }
[b-ur3jyl0k2g] .bz-dash-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: var(--bz-space-3); }
[b-ur3jyl0k2g] .bz-dash-quick-chip { min-width: 0; min-height: 74px; padding: var(--bz-space-4); border-radius: var(--bz-radius-lg); }
[b-ur3jyl0k2g] .bz-dash-quick-icon { width: 40px; height: 40px; font-size: 20px; border-radius: var(--bz-radius-md); }
[b-ur3jyl0k2g] .bz-dash-quick-label { white-space: normal; flex: 1; overflow-wrap: anywhere; }
.home-quick-arrow[b-ur3jyl0k2g] { color: var(--bz-color-fg-muted); font-size: var(--bz-fs-lg); transition: transform var(--bz-duration-base) var(--bz-ease); }
/* Cards are bordered, never lifted (redesign): the chip answers with its shadow and the arrow's nudge. */
[b-ur3jyl0k2g] .bz-dash-quick-chip:hover { text-decoration: none; box-shadow: var(--bz-shadow-md); }
[b-ur3jyl0k2g] .bz-dash-quick-chip:hover .home-quick-arrow { transform: translate(2px, -2px); }
@media (min-width: 1600px) {
    .home-insight-grid[b-ur3jyl0k2g] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home-insight-grid:not(.home-editing) > [data-widget-id="action-center"][b-ur3jyl0k2g] { grid-column: span 2; }
}
@media (max-width: 1023.98px) {
    .home-hero[b-ur3jyl0k2g] { grid-template-columns: minmax(0, 1fr); gap: var(--bz-space-3); }
    .home-hero .home-widget-toolbar[b-ur3jyl0k2g] { grid-column: 1; grid-row: auto; justify-content: flex-start; }
    .home-hero .home-customize-btn[b-ur3jyl0k2g] { min-height: 44px; }
}
@media (max-width: 640px) {
    .home-hero-actions a > i:last-child[b-ur3jyl0k2g] { display: none; }
    .home-hero-actions a[b-ur3jyl0k2g] { padding-inline: 10px; gap: 6px; font-size: var(--bz-fs-xs); }
    .home-day-overview[b-ur3jyl0k2g]  .home-kpi-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-day-overview[b-ur3jyl0k2g]  .home-kpi-strip > .bz-dash-kpi { padding: var(--bz-space-3); }
    .home-day-overview[b-ur3jyl0k2g]  .home-kpi-strip .bz-dash-kpi-value { font-size: var(--bz-fs-xl); }
}
@media (prefers-reduced-motion: reduce) {
    .home-hero-actions a[b-ur3jyl0k2g], .home-customize-btn[b-ur3jyl0k2g], .home-quick-arrow[b-ur3jyl0k2g] { transition: none; }
    [b-ur3jyl0k2g] .bz-dash-quick-chip:hover .home-quick-arrow { transform: none; }
}
.hx-mb-3[b-ur3jyl0k2g] { margin-bottom: var(--bz-space-3); }
/* /Pages/NotFound.razor.rz.scp.css */
.state-card[b-kla5znshpr] {
    inline-size: min(440px, 100%);
    padding: var(--bz-space-8) var(--bz-space-6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--bz-space-3);
    text-align: center;
    border: 1px solid var(--bz-color-border);
    border-radius: var(--bz-radius-lg);
    background: var(--bz-color-surface);
    box-shadow: var(--bz-shadow-sm);
    animation: state-enter-b-kla5znshpr var(--bz-duration-base) var(--bz-ease-out) both;
}
.state-brand[b-kla5znshpr] { font-size: var(--bz-fs-lg); font-weight: var(--bz-fw-semibold); color: var(--bz-color-fg); }
.state-card h1[b-kla5znshpr] { margin: 0; font-size: var(--bz-fs-xl); font-weight: var(--bz-fw-semibold); line-height: var(--bz-lh-tight); color: var(--bz-color-fg); }
.state-card p[b-kla5znshpr] { margin: 0; font-size: var(--bz-fs-sm); color: var(--bz-color-fg-muted); }
.state-actions[b-kla5znshpr] { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--bz-space-2); margin-top: var(--bz-space-2); }
.state-link[b-kla5znshpr] { color: var(--bz-color-accent-text); }
@keyframes state-enter-b-kla5znshpr { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .state-card[b-kla5znshpr] { animation: none; } }
/* /Pages/Notifications.razor.rz.scp.css */
.bz-nh[b-vtyvzl3hd6] {
    display: flex;
    flex-direction: column;
    gap: var(--bz-space-3);
    max-width: 56rem;
}

.bz-nh-filters[b-vtyvzl3hd6] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--bz-space-3);
}

.bz-nh-unread[b-vtyvzl3hd6] {
    display: inline-flex;
    align-items: center;
    gap: var(--bz-space-2);
    font-size: var(--bz-fs-sm);
    color: var(--bz-color-fg);
}

.bz-nh-card[b-vtyvzl3hd6] {
    background: var(--bz-color-surface);
    border: 1px solid var(--bz-color-border);
    border-radius: var(--bz-radius-lg);
    overflow: hidden;
}

.bz-nh-more[b-vtyvzl3hd6] {
    padding: var(--bz-space-3) var(--bz-space-4);
    border-top: 1px solid var(--bz-color-border);
    text-align: center;
}
/* /Pages/SharedLink.razor.rz.scp.css */
/* Phase C public share page. Self-contained (Web.Shell cannot reference a module RCL) and built on
   the --bz-* design tokens + the globally loaded Metronic kt-* classes, not raw Bootstrap utilities.
   The visual reference is the sign-in pages (AuthExperience): the canvas, one card, quiet controls top right. */

.share-page[b-1kz64dei5k] {
    --share-top: calc(var(--bz-control-height) + 2 * var(--bz-space-4));
    min-height: 100dvh;
    width: 100%;
    padding: var(--share-top) var(--bz-space-6) var(--bz-space-6);
    background: var(--bz-color-canvas);
    color: var(--bz-color-fg);
}

/* === Gate (loading / not found / password) ============================== */

.share-gate[b-1kz64dei5k] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100dvh - var(--share-top) - var(--bz-space-6));
}

.share-card[b-1kz64dei5k] {
    width: 100%;
    max-width: 420px;
    border: 1px solid var(--bz-color-border);
    border-radius: var(--bz-radius-lg);
    background: var(--bz-color-surface);
    box-shadow: var(--bz-shadow-sm);
}

.share-card-content[b-1kz64dei5k] {
    display: flex;
    flex-direction: column;
    gap: var(--bz-space-4);
    padding: var(--bz-space-6);
}

.share-gate-body[b-1kz64dei5k] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--bz-space-2);
    text-align: center;
}

.share-gate-title[b-1kz64dei5k] {
    font-size: var(--bz-fs-xl);
    font-weight: var(--bz-fw-semibold);
    line-height: var(--bz-lh-tight);
    letter-spacing: var(--bz-tracking-tight);
    margin: 0;
    word-break: break-word;
}

.share-field[b-1kz64dei5k] {
    display: flex;
    flex-direction: column;
    gap: var(--bz-space-2);
}

.share-submit[b-1kz64dei5k] {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* === Product branding (never tenant branding — /meta leaks nothing) ====== */

.share-brand[b-1kz64dei5k] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
}

.share-brand-icon[b-1kz64dei5k] {
    font-size: var(--bz-fs-2xl);
    color: var(--bz-color-fg-muted);
}

.share-wordmark[b-1kz64dei5k] {
    font-size: var(--bz-fs-lg);
    font-weight: var(--bz-fw-semibold);
    letter-spacing: var(--bz-tracking-tight);
}

.share-wordmark-sm[b-1kz64dei5k] {
    font-size: .8125rem;
    letter-spacing: .08em;
    color: var(--bz-color-fg-muted);
}

/* === Browsing ============================================================ */

.share-browser[b-1kz64dei5k] {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.share-headcard-content[b-1kz64dei5k] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: .75rem 1.5rem;
    padding: 1.25rem 1.5rem;
}

.share-head-main[b-1kz64dei5k] {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    min-width: 0;
}

.share-head-title[b-1kz64dei5k] {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    word-break: break-word;
}

.share-head-meta[b-1kz64dei5k] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin-top: .25rem;
}

.share-expiry[b-1kz64dei5k] {
    display: inline-flex;
    align-items: center;
    gap: .3125rem;
    margin: 0;
    font-size: .8125rem;
    color: var(--bz-color-fg-muted);
}

/* --- Breadcrumbs -------------------------------------------------------- */

.share-breadcrumbs[b-1kz64dei5k] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .1875rem;
    font-size: .875rem;
}

.share-crumb[b-1kz64dei5k] {
    display: inline-flex;
    align-items: center;
    gap: .3125rem;
    border: 0;
    background: transparent;
    color: var(--bz-color-fg-muted);
    cursor: pointer;
    padding: .1875rem .375rem;
    border-radius: var(--bz-radius-sm);
    font: inherit;
    max-width: 16rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.share-crumb:hover:not(:disabled)[b-1kz64dei5k] {
    background: color-mix(in srgb, var(--bz-color-fg) 6%, transparent);
    color: var(--bz-color-fg);
}

.share-crumb.is-current[b-1kz64dei5k] {
    color: var(--bz-color-fg);
    font-weight: 600;
    cursor: default;
}

.share-crumb-sep[b-1kz64dei5k] {
    font-size: .625rem;
    color: var(--bz-color-fg-muted);
}

/* --- Toolbar ------------------------------------------------------------ */

.share-toolbar[b-1kz64dei5k] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
}

.share-upload[b-1kz64dei5k] {
    cursor: pointer;
}

.share-upload input[type="file"][b-1kz64dei5k] {
    display: none;
}

.share-upload-hint[b-1kz64dei5k] {
    font-size: .8125rem;
}

/* --- Empty state -------------------------------------------------------- */

.share-empty[b-1kz64dei5k] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 3.5rem 1rem;
    border: 1px dashed var(--bz-color-border);
    border-radius: var(--bz-radius-lg);
}

.share-empty-icon[b-1kz64dei5k] {
    font-size: 2.5rem;
    color: var(--bz-color-fg-muted);
}

/* --- Tiles -------------------------------------------------------------- */

.share-tiles[b-1kz64dei5k] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: .75rem;
}

.share-tile[b-1kz64dei5k] {
    position: relative;
    border: 1px solid var(--bz-color-border);
    border-radius: var(--bz-radius-lg);
    background: var(--bz-color-surface);
    overflow: hidden;
    transition: border-color var(--bz-duration-fast) var(--bz-ease), box-shadow var(--bz-duration-fast) var(--bz-ease);
}

/* Bordered, not lifted (redesign motion rule): the tile answers with its border and shadow. */
.share-tile:hover[b-1kz64dei5k] {
    border-color: var(--bz-color-accent);
    box-shadow: 0 6px 18px color-mix(in srgb, var(--bz-color-fg) 10%, transparent);
}

.share-tile-open[b-1kz64dei5k] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .375rem;
    width: 100%;
    padding: .875rem .625rem 1.875rem;
    background: none;
    border: 0;
    cursor: pointer;
    color: inherit;
    text-align: center;
    font: inherit;
}

.share-tile-media[b-1kz64dei5k] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 96px;
    width: 100%;
}

.share-tile-icon[b-1kz64dei5k] {
    font-size: 2.5rem;
    color: var(--bz-color-fg-muted);
}

.share-tile:hover .share-tile-icon[b-1kz64dei5k] {
    color: var(--bz-color-accent);
}

.share-tile-thumb[b-1kz64dei5k] {
    max-width: 100%;
    max-height: 96px;
    object-fit: contain;
    border-radius: var(--bz-radius-sm);
}

.share-tile-name[b-1kz64dei5k] {
    font-size: .8125rem;
    font-weight: 500;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.share-tile-sub[b-1kz64dei5k] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .375rem;
    font-size: .75rem;
}

/* Actions stay out of the way until the tile is hovered or a key lands inside it. */
.share-tile-actions[b-1kz64dei5k] {
    position: absolute;
    right: .3125rem;
    bottom: .3125rem;
    display: flex;
    gap: .125rem;
    opacity: 0;
    transition: opacity var(--bz-duration-fast) var(--bz-ease);
}

.share-tile:hover .share-tile-actions[b-1kz64dei5k],
.share-tile:focus-within .share-tile-actions[b-1kz64dei5k] {
    opacity: 1;
}

.share-tile-action[b-1kz64dei5k] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.625rem;
    height: 1.625rem;
    border: 1px solid var(--bz-color-border);
    border-radius: var(--bz-radius-sm);
    background: var(--bz-color-bg);
    color: var(--bz-color-fg-muted);
    cursor: pointer;
    padding: 0;
    font-size: .8125rem;
}

.share-tile-action:hover[b-1kz64dei5k] {
    color: var(--bz-color-fg);
    border-color: var(--bz-color-accent);
}

.share-tile-action.is-danger:hover[b-1kz64dei5k] {
    color: var(--bz-color-danger);
    border-color: var(--bz-color-danger);
}

/* --- Preview popup ------------------------------------------------------ */

/* The popup is 85vh tall, but its body is not a percentage-resolvable parent — `height:100%` here
   used to resolve to auto, so the embedded PDF viewer had nothing to size against and collapsed.
   A viewport-relative height is definite, and leaves room for the popup's own header. */
.share-preview-body[b-1kz64dei5k] {
    width: 100%;
    height: 72vh;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.share-preview-fill[b-1kz64dei5k] {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    /* FileContentViewer fills a flex parent (`flex:1 1 auto`); a plain block would leave it at
       content height. */
    display: flex;
    flex-direction: column;
}

.share-preview-image[b-1kz64dei5k] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.share-preview-text[b-1kz64dei5k] {
    white-space: pre-wrap;
    word-break: break-word;
    font-size: .8125rem;
    max-height: 100%;
    overflow: auto;
}

/* === Theme and language (the sign-in pages' quiet controls, AuthExperience.razor.css) ===== */

/* Out of the body's flex row; scrolls away with the page instead of floating over the files. */
.auth-controls[b-1kz64dei5k] {
    position: absolute;
    top: var(--bz-space-4);
    inset-inline-end: var(--bz-space-5);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: var(--bz-space-2);
}

.auth-ctrl-btn[b-1kz64dei5k] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--bz-control-height);
    height: var(--bz-control-height);
    padding: 0;
    border: 0;
    border-radius: var(--bz-radius-md);
    background: transparent;
    color: var(--bz-color-fg-muted);
    font-size: var(--bz-fs-lg);
    cursor: pointer;
    transition: background-color var(--bz-duration-fast) var(--bz-ease), color var(--bz-duration-fast) var(--bz-ease), transform var(--bz-duration-press) var(--bz-ease);
}

.auth-ctrl-btn:hover[b-1kz64dei5k] { background: color-mix(in srgb, var(--bz-color-fg) 6%, transparent); color: var(--bz-color-fg); }
.auth-ctrl-btn:active[b-1kz64dei5k] { transform: scale(.97); }

.auth-lang[b-1kz64dei5k] {
    display: flex;
    gap: 2px;
    padding: 2px;
    border: 1px solid var(--bz-color-border);
    border-radius: var(--bz-radius-md);
    background: var(--bz-color-grid-head);
}

.auth-ctrl-lang[b-1kz64dei5k] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: calc(var(--bz-control-height) - 6px);
    padding-inline: var(--bz-space-2);
    border-radius: var(--bz-radius-sm);
    color: var(--bz-color-fg-muted);
    font-size: var(--bz-fs-xs);
    font-weight: var(--bz-fw-medium);
    text-decoration: none;
    transition: background-color var(--bz-duration-fast) var(--bz-ease), color var(--bz-duration-fast) var(--bz-ease), box-shadow var(--bz-duration-fast) var(--bz-ease);
}

.auth-ctrl-lang:hover[b-1kz64dei5k] { color: var(--bz-color-fg); }
.auth-ctrl-lang.is-active[b-1kz64dei5k] { background: var(--bz-color-surface); color: var(--bz-color-fg); font-weight: var(--bz-fw-semibold); box-shadow: 0 0 0 1px var(--bz-color-border); }

@media (max-width: 640px) {
    .share-page[b-1kz64dei5k] { padding-inline: var(--bz-space-4); }
    .auth-controls[b-1kz64dei5k] { inset-inline-end: var(--bz-space-4); }
}

@media (pointer: coarse) {
    .share-page[b-1kz64dei5k] { --share-top: calc(44px + 2 * var(--bz-space-4)); }
    .auth-ctrl-btn[b-1kz64dei5k] { width: 44px; height: 44px; }
    .auth-ctrl-lang[b-1kz64dei5k] { min-width: 40px; height: 38px; }
}
/* /Pages/WhoAmI.razor.rz.scp.css */
.whoami dl[b-xkzcafgeam] {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: var(--bz-space-2) var(--bz-space-3);
    margin: var(--bz-space-3) 0;
}

.whoami dt[b-xkzcafgeam] { color: var(--bz-color-fg-muted); }
.whoami dd[b-xkzcafgeam] { margin: 0; font-family: var(--bz-font-mono); font-size: var(--bz-fs-sm); }

.whoami h2[b-xkzcafgeam] { font-size: var(--bz-fs-md); font-weight: var(--bz-fw-semibold); margin-top: var(--bz-space-5); }

.whoami ul[b-xkzcafgeam] { padding-left: var(--bz-space-5); }
.whoami .all-claims li[b-xkzcafgeam] { font-family: var(--bz-font-mono); font-size: var(--bz-fs-xs); }

.whoami[b-xkzcafgeam] { min-width: 0; padding: var(--bz-space-5); border: 1px solid var(--bz-color-border); border-radius: var(--bz-radius-lg); background: var(--bz-color-surface); }
.whoami dl[b-xkzcafgeam], .whoami dd[b-xkzcafgeam], .whoami li[b-xkzcafgeam], .whoami code[b-xkzcafgeam] { overflow-wrap: anywhere; white-space: normal; }
.whoami ul[b-xkzcafgeam] { padding-inline-start: var(--bz-space-5); }
.whoami li[b-xkzcafgeam] { padding-block: var(--bz-space-2); }
