/* /Components/Layout/MainLayout.razor.rz.scp.css */
.ow-shell[b-v2woslwqig] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--ow-ground);
    color: var(--ow-text);
}

.ow-sidebar[b-v2woslwqig] {
    background: var(--ow-sidebar-bg);
    border-right: 1px solid var(--ow-sidebar-border);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.ow-main[b-v2woslwqig] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ow-tenant-stripe[b-v2woslwqig] {
    height: 4px;
    background: var(--ow-gold);
    flex: none;
}

.ow-topbar[b-v2woslwqig] {
    min-height: 60px;
    background: var(--ow-surface);
    border-bottom: 1px solid var(--ow-border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 8px 28px;
    box-sizing: border-box;
}

.ow-topbar-spacer[b-v2woslwqig] {
    flex: 1 1 auto;
}

.ow-icon-button[b-v2woslwqig] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--ow-text-muted);
    cursor: pointer;
}

.ow-icon-button:hover[b-v2woslwqig] {
    background: var(--ow-surface-soft);
    color: var(--ow-heading);
}

.ow-icon-button:focus-visible[b-v2woslwqig] {
    outline: 2px solid var(--ow-primary);
    outline-offset: 2px;
}

/* Phase 016: opens the off-canvas menu; only exists at 900px and below (see app.css and nav-drawer.js). */
.ow-nav-open[b-v2woslwqig] {
    display: none;
    font-size: 20px;
    line-height: 1;
}

@media (max-width: 900px) {
    .ow-nav-open[b-v2woslwqig] {
        display: inline-flex;
        color: var(--ow-text);
        border-color: var(--ow-border-strong);
    }
}

.ow-user-badge[b-v2woslwqig] {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--ow-primary);
    color: var(--ow-primary-contrast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    margin-left: 4px;
}

.ow-content[b-v2woslwqig] {
    flex: 1 1 auto;
    padding: 28px 32px 40px;
    box-sizing: border-box;
    min-width: 0;
}

@media (max-width: 900px) {
    .ow-topbar[b-v2woslwqig] {
        padding: 8px 16px;
    }

    .ow-content[b-v2woslwqig] {
        padding: 16px 16px 32px;
    }
}

@media (min-width: 901px) {
    .ow-shell[b-v2woslwqig] {
        flex-direction: row;
    }

    .ow-sidebar[b-v2woslwqig] {
        width: 244px;
        flex: none;
        position: sticky;
        top: 0;
        height: 100vh;
        overflow-y: auto;
    }

    .ow-topbar[b-v2woslwqig] {
        position: sticky;
        top: 0;
        z-index: 5;
    }
}

#blazor-error-ui[b-v2woslwqig] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-v2woslwqig] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.ow-brand-row[b-i23a0ha7qp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 14px 8px;
}

.ow-brand[b-i23a0ha7qp] {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 44px;
    padding: 0 12px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
}

.ow-brand:hover[b-i23a0ha7qp] {
    color: #fff;
}

.ow-brand-mark[b-i23a0ha7qp] {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--ow-gold);
    color: #1E1B4B;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15px;
    flex: none;
}

.ow-brand-name[b-i23a0ha7qp] {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.01em;
}

.ow-brand-accent[b-i23a0ha7qp] {
    color: var(--ow-gold);
}

.ow-nav-toggle[b-i23a0ha7qp] {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: transparent;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

/* Phase 016: the close button inside the drawer (shown at 900px and below by the rule further down). */
.ow-nav-toggle:focus-visible[b-i23a0ha7qp] {
    outline: 2px solid var(--ow-gold);
    outline-offset: 2px;
}

.ow-nav[b-i23a0ha7qp] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 14px 20px;
    flex: 1 1 auto;
}

.ow-nav-group[b-i23a0ha7qp] {
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ow-sidebar-group);
    padding: 18px 12px 6px;
    font-weight: 600;
}

.ow-nav-group-platform[b-i23a0ha7qp] {
    color: var(--ow-gold);
}

.ow-nav-spacer[b-i23a0ha7qp] {
    flex: 1 1 auto;
    min-height: 16px;
}

.ow-nav[b-i23a0ha7qp]  .ow-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    color: var(--ow-sidebar-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

/* DF-5: "Sign out" is a form button; it fills the row like the links around it. */
.ow-nav[b-i23a0ha7qp]  .ow-nav-button {
    width: 100%;
    border: 0;
    background: none;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}

.ow-nav[b-i23a0ha7qp]  .ow-nav-link-small {
    height: 36px;
    font-size: 13px;
}

.ow-nav[b-i23a0ha7qp]  .ow-nav-link:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.ow-nav[b-i23a0ha7qp]  .ow-nav-link.active {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.ow-nav[b-i23a0ha7qp]  .ow-nav-link:focus-visible {
    outline: 2px solid var(--ow-gold);
    outline-offset: 2px;
}

.ow-nav[b-i23a0ha7qp]  svg {
    flex: none;
}

@media (max-width: 900px) {
    .ow-nav-toggle[b-i23a0ha7qp] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-scrollable[b-i23a0ha7qp] {
        display: none;
    }

}

@media (min-width: 901px) {
    .nav-scrollable[b-i23a0ha7qp] {
        display: flex;
    }
}
/* /Components/Pages/AccessDeniedPage.razor.rz.scp.css */
/* Scoped so it outranks MudBlazor's global `a` rule, which paints links the same #424242 as body
   text with no underline. On a refusal page that matters more than usual: these two links are the
   user's only way forward, and a link nobody recognises as a link is a dead end with extra steps. */

.access-denied-actions[b-8wmbg25pe2] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.75rem;
    margin-top: 1.25rem;
    /* A div since DF-5 (a form may not sit in a <p>); keeps the paragraph spacing it had. */
    margin-bottom: 1rem;
}

.access-denied-actions a[b-8wmbg25pe2],
.access-denied-actions[b-8wmbg25pe2]  .access-denied-action {
    display: inline-flex;
    align-items: center;
    /* 44px keeps the tap target within WCAG 2.1 target-size guidance, which matters here because
       this page is frequently reached on the way to somewhere else. */
    min-height: 44px;
    padding: 0 0.125rem;
    color: var(--ow-violet, #3C3A8F);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    transition: color 0.2s;
}

.access-denied-actions a:hover[b-8wmbg25pe2],
.access-denied-actions a:focus-visible[b-8wmbg25pe2],
.access-denied-actions[b-8wmbg25pe2]  .access-denied-action:hover,
.access-denied-actions[b-8wmbg25pe2]  .access-denied-action:focus-visible {
    color: var(--ow-indigo, #1E1B4B);
}

/* Never rely on the hover colour alone to signal focus — keyboard users get no hover. */
.access-denied-actions a:focus-visible[b-8wmbg25pe2],
.access-denied-actions[b-8wmbg25pe2]  .access-denied-action:focus-visible {
    outline: 2px solid var(--ow-info, #3B82F6);
    outline-offset: 2px;
    border-radius: 3px;
}

.access-denied-separator[b-8wmbg25pe2] {
    color: var(--ow-text-muted, #6B7280);
}
/* /Components/Pages/SearchPage.razor.rz.scp.css */
.explain-toggle[b-rndc40ztha] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    cursor: pointer;
}
/* /Components/Search/SavedSearches.razor.rz.scp.css */
.saved-searches[b-ucc3ob5ugi] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
}

.saved-searches-toggle[b-ucc3ob5ugi] {
    background: none;
    border: 1px solid var(--color-border, #d0d5dd);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.85rem;
    cursor: pointer;
    color: inherit;
}

.saved-search-form[b-ucc3ob5ugi] {
    display: flex;
    gap: 6px;
    align-items: center;
}

.saved-search-name-input[b-ucc3ob5ugi] {
    padding: 4px 8px;
    border: 1px solid var(--color-border, #d0d5dd);
    border-radius: 6px;
    font-size: 0.85rem;
}

.saved-search-confirm[b-ucc3ob5ugi] {
    padding: 4px 10px;
    border: none;
    border-radius: 6px;
    background: var(--color-primary, #4f46e5);
    color: #fff;
    font-size: 0.85rem;
    cursor: pointer;
}

.saved-search-confirm:disabled[b-ucc3ob5ugi],
.saved-search-name-input:disabled[b-ucc3ob5ugi] {
    opacity: 0.6;
    cursor: not-allowed;
}

.saved-searches-error[b-ucc3ob5ugi] {
    width: 100%;
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-danger, #b91c1c);
}

.saved-searches-list[b-ucc3ob5ugi] {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.saved-search-item[b-ucc3ob5ugi] {
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--color-surface-hover, rgba(99, 102, 241, 0.1));
    border-radius: 6px;
}

.saved-search-run[b-ucc3ob5ugi] {
    background: none;
    border: none;
    padding: 4px 4px 4px 10px;
    font-size: 0.85rem;
    cursor: pointer;
    color: inherit;
}

.saved-search-delete[b-ucc3ob5ugi] {
    background: none;
    border: none;
    padding: 4px 10px 4px 4px;
    font-size: 0.9rem;
    line-height: 1;
    cursor: pointer;
    color: inherit;
    opacity: 0.6;
}

.saved-search-delete:hover[b-ucc3ob5ugi] {
    opacity: 1;
}
/* /Components/Search/SearchBar.razor.rz.scp.css */
.search-input-wrapper[b-fnkuq584gt] {
    position: relative;
    flex: 1;
}

.search-suggestions[b-fnkuq584gt] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    margin: 4px 0 0;
    padding: 4px 0;
    list-style: none;
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #d0d5dd);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    max-height: 320px;
    overflow-y: auto;
}

.search-suggestion-item[b-fnkuq584gt] {
    display: block;
    width: 100%;
    padding: 8px 14px;
    text-align: left;
    background: none;
    border: none;
    font-size: 0.95rem;
    color: inherit;
    cursor: pointer;
}

.search-suggestion-item:hover[b-fnkuq584gt],
.search-suggestion-item.highlighted[b-fnkuq584gt] {
    background: var(--color-surface-hover, rgba(99, 102, 241, 0.1));
}

@media (prefers-color-scheme: dark) {
    .search-suggestions[b-fnkuq584gt] {
        background: var(--color-surface, #1f2430);
        border-color: var(--color-border, #3a3f4b);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    }
}
/* /Components/Search/SearchResultExplanation.razor.rz.scp.css */
.search-explanation[b-tkq4lpm874] {
    margin-top: 0.5rem;
    padding: 0.5rem 0.625rem;
    border: 1px dashed var(--bs-border-color, #ced4da);
    border-radius: 0.375rem;
    font-size: 0.8125rem;
    line-height: 1.35;
    cursor: default;
}

.search-explanation-title[b-tkq4lpm874] {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.search-explanation-line + .search-explanation-line[b-tkq4lpm874] {
    margin-top: 0.25rem;
}
/* /Components/Shared/SignOutForm.razor.rz.scp.css */
/* The form takes no space of its own, so the control sits where the link it replaced sat. */
.ow-sign-out-form[b-5nhirvnnuu] {
    display: contents;
}

/* A button that reads like the link it replaced. No colour here: the caller's ButtonClass supplies the look
   (the nav item's own rule, or btn-link for a page link - app.css colours it as it does links). */
.ow-sign-out-button[b-5nhirvnnuu] {
    appearance: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    text-align: inherit;
    cursor: pointer;
}
/* /Components/Shell/OwConfirmDialog.razor.rz.scp.css */
.ow-confirm-body[b-t4qzbktwdu] {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.ow-confirm-icon[b-t4qzbktwdu] {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.ow-confirm-icon-danger[b-t4qzbktwdu] {
    background: var(--ow-status-error-bg);
    color: var(--ow-status-error-fg);
}

.ow-confirm-icon-warn[b-t4qzbktwdu] {
    background: var(--ow-status-warn-bg);
    color: var(--ow-status-warn-fg);
}

.ow-confirm-text[b-t4qzbktwdu] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.ow-confirm-message[b-t4qzbktwdu] {
    margin: 0;
    color: var(--ow-text);
    white-space: pre-line;
}

.ow-confirm-typed[b-t4qzbktwdu] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ow-text-muted);
}

.ow-confirm-typed code[b-t4qzbktwdu] {
    font-family: var(--ow-font-mono);
    font-weight: 600;
    color: var(--ow-text);
}

.ow-confirm-help[b-t4qzbktwdu] {
    font-weight: 400;
    font-size: 12px;
}
/* /Components/Shell/OwPageHeader.razor.rz.scp.css */
.ow-page-header[b-cfxdj8l88a] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.ow-page-header-text[b-cfxdj8l88a] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.ow-eyebrow[b-cfxdj8l88a] {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ow-text-muted);
}

.ow-page-title[b-cfxdj8l88a] {
    margin: 0;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--ow-heading);
}

.ow-page-title-note[b-cfxdj8l88a] {
    margin-left: 10px;
    font-family: var(--ow-font-mono);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--ow-text-muted);
}

.ow-page-subtitle[b-cfxdj8l88a] {
    margin: 0;
    color: var(--ow-text-muted);
}

.ow-page-actions[b-cfxdj8l88a] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
/* /Components/Shell/OwStaffEmergencyNotices.razor.rz.scp.css */
.ow-emergency-stripe[b-51tn4p3lm2] {
    background: var(--ow-danger, #b42318);
    color: #fff;
    font-weight: 600;
    padding: 0.4rem 1rem;
    text-align: center;
}

.ow-emergency-prompt[b-51tn4p3lm2] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    background: var(--ow-surface-warning, #fef7e6);
    border-bottom: 1px solid var(--ow-border, #d0d5dd);
    padding: 0.5rem 1rem;
}

.ow-emergency-prompt span[b-51tn4p3lm2] {
    flex: 1 1 20rem;
}
/* /Components/Shell/OwTenantSwitcher.razor.rz.scp.css */
.ow-tenant[b-0u3zylp4w4] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 14px 0 12px;
    border-radius: 8px;
    border: 1px solid var(--ow-border-strong);
    background: var(--ow-surface);
    color: var(--ow-heading);
    font: 600 14px var(--ow-font-sans);
    white-space: nowrap;
}

.ow-tenant-button[b-0u3zylp4w4] {
    cursor: pointer;
}

.ow-tenant-button:hover[b-0u3zylp4w4] {
    background: var(--ow-surface-soft);
}

.ow-tenant-button:focus-visible[b-0u3zylp4w4] {
    outline: 2px solid var(--ow-primary);
    outline-offset: 2px;
}

.ow-tenant-static[b-0u3zylp4w4] {
    cursor: default;
}

[b-0u3zylp4w4] .ow-tenant-icon {
    color: var(--ow-primary);
}

/* Before the tenant context has loaded: a neutral bar, not a made-up "Company #N" (QA S-D F-5). */
.ow-tenant-name-loading[b-0u3zylp4w4] {
    display: inline-block;
    width: 96px;
    height: 12px;
    border-radius: 4px;
    background: var(--ow-surface-soft);
}

.ow-tenant-id[b-0u3zylp4w4] {
    font-family: var(--ow-font-mono);
    font-weight: 400;
    font-size: 12px;
    color: var(--ow-text-muted);
}

.ow-tenant-chip[b-0u3zylp4w4] {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    background: var(--ow-gold-chip-bg);
    color: var(--ow-gold-chip-fg);
    border: 1px solid var(--ow-gold-chip-border);
}

[b-0u3zylp4w4] .ow-tenant-item {
    display: flex;
    gap: 10px;
    align-items: center;
    min-width: 240px;
}

[b-0u3zylp4w4] .ow-tenant-item-active {
    font-weight: 600;
}

[b-0u3zylp4w4] .ow-tenant-item-name {
    flex: 1;
}
