/* /Components/Layout/MainLayout.razor.rz.scp.css */

.ow-shell[b-v2woslwqig] {
    /*max-width: 1600px;*/
    /*margin: 0 auto;*/
    /*border-radius: 20px;*/
    box-shadow: 0 20px 56px rgba(12,16,44,.24);
    overflow: hidden;
    background: var(--ow-surface-soft);
    min-height: calc(100vh - 40px);
}

.page[b-v2woslwqig] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 40px);
    background: transparent;
}

main[b-v2woslwqig] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sidebar[b-v2woslwqig] {
    background: linear-gradient(180deg, var(--ow-indigo) 0%, var(--ow-purple) 100%);
    box-shadow: 2px 0 16px rgba(30,27,75,0.12);
    min-width: 240px;
    padding-bottom: 1.5rem;
}

.top-row[b-v2woslwqig] {
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--ow-border);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 0 rgba(30,27,75,0.06);
    margin-bottom: 0.5rem;
}


.top-row[b-v2woslwqig]  a, .top-row[b-v2woslwqig]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
    color: var(--ow-nebula);
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.2s;
}
.top-row[b-v2woslwqig]  a:hover, .top-row[b-v2woslwqig]  .btn-link:hover {
    color: var(--ow-accent-gold);
    text-decoration: underline;
}
.top-row[b-v2woslwqig]  a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}


@media (max-width: 640.98px) {
    .ow-shell[b-v2woslwqig] {
        border-radius: 12px;
        min-height: calc(100vh - 16px);
    }
    .page[b-v2woslwqig] {
        min-height: calc(100vh - 16px);
    }
    .top-row[b-v2woslwqig] {
        justify-content: space-between;
    }
    .top-row[b-v2woslwqig]  a, .top-row[b-v2woslwqig]  .btn-link {
        margin-left: 0;
    }
    .sidebar[b-v2woslwqig] {
        min-width: 0;
        padding: 0 0.5rem 1rem;
    }
}


@media (min-width: 641px) {
    .page[b-v2woslwqig] {
        flex-direction: row;
    }
    .sidebar[b-v2woslwqig] {
        width: 280px;
        min-height: 100vh;
        position: sticky;
        top: 0;
    }
    .top-row[b-v2woslwqig] {
        position: sticky;
        top: 0;
        z-index: 1;
    }
    .top-row.auth[b-v2woslwqig]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }
    .top-row[b-v2woslwqig], article[b-v2woslwqig] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#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 */

/* Brand header */
.brand-header[b-i23a0ha7qp] {
    padding: 22px 16px 14px;
}

.brand-text[b-i23a0ha7qp] {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}

.brand-mark[b-i23a0ha7qp] {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--ow-nebula), #343ab8);
    position: relative;
    flex: 0 0 auto;
}

.brand-mark[b-i23a0ha7qp]::before {
    content: "";
    position: absolute;
    inset: 9px;
    border: 5px solid #fff;
    border-left-color: transparent;
    border-bottom-color: transparent;
    border-radius: 50%;
    transform: rotate(35deg);
}

.brand-mark[b-i23a0ha7qp]::after {
    content: "";
    position: absolute;
    left: 9px;
    bottom: 8px;
    width: 17px;
    height: 17px;
    background: var(--ow-accent-yellow);
    clip-path: polygon(0 74%, 100% 0, 73% 53%, 67% 100%, 48% 77%);
}

.brand-name[b-i23a0ha7qp] {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.3px;
}

.brand-ai[b-i23a0ha7qp] {
    color: var(--ow-accent-yellow);
}

.nav-divider[b-i23a0ha7qp] {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 0 16px 8px;
}

.navbar-brand[b-i23a0ha7qp] {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ow-accent-yellow);
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(30,27,75,0.10);
}

.bi[b-i23a0ha7qp] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-i23a0ha7qp] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.nav-item[b-i23a0ha7qp] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-i23a0ha7qp] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-i23a0ha7qp] {
        padding-bottom: 1rem;
    }


    .nav-item[b-i23a0ha7qp]  .nav-link {
        color: rgba(255,255,255,0.8);
        background: none;
        border: none;
        border-radius: 8px;
        height: 2.75rem;
        display: flex;
        align-items: center;
        line-height: 2.75rem;
        width: 100%;
        font-weight: 500;
        font-size: 0.95rem;
        transition: background 0.2s, color 0.2s;
    }


.nav-item[b-i23a0ha7qp]  a.active {
    background: rgba(245, 196, 0, 0.14);
    color: var(--ow-accent-yellow);
    font-weight: 700;
    box-shadow: inset 3px 0 0 var(--ow-accent-yellow);
}


.nav-item[b-i23a0ha7qp]  .nav-link:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.bi-search-nav-menu[b-i23a0ha7qp] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.099zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
}

.bi-people-fill-nav-menu[b-i23a0ha7qp] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7 14s-1 0-1-1 1-4 5-4 5 3 5 4-1 1-1 1H7Zm4-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm-5.784 6A2.238 2.238 0 0 1 5 13c0-1.355.68-2.75 1.936-3.72A6.325 6.325 0 0 0 5 9c-4 0-5 3-5 4s1 1 1 1h4.216ZM4.5 8a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z'/%3E%3C/svg%3E");
}

.bi-speedometer2-nav-menu[b-i23a0ha7qp] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5V6a.5.5 0 0 1-1 0V4.5A.5.5 0 0 1 8 4zM3.732 5.732a.5.5 0 0 1 .707 0l.915.914a.5.5 0 1 1-.708.708l-.914-.915a.5.5 0 0 1 0-.707zM2 10a.5.5 0 0 1 .5-.5h1.586a.5.5 0 0 1 0 1H2.5A.5.5 0 0 1 2 10zm9.5 0a.5.5 0 0 1 .5-.5h1.5a.5.5 0 0 1 0 1H12a.5.5 0 0 1-.5-.5zm.754-4.246a.389.389 0 0 0-.527-.02L7.547 9.31a.91.91 0 1 0 1.302 1.258l3.434-4.297a.389.389 0 0 0-.029-.518z'/%3E%3Cpath fill-rule='evenodd' d='M0 10a8 8 0 1 1 15.547 2.661c-.442 1.253-1.845 1.602-2.932 1.25C11.309 13.488 9.475 13 8 13c-1.474 0-3.31.488-4.615.911-1.087.352-2.49.003-2.932-1.25A7.988 7.988 0 0 1 0 10zm8-7a7 7 0 0 0-6.603 9.329c.203.575.923.876 1.68.63C4.397 12.533 6.358 12 8 12s3.604.532 4.923.96c.757.245 1.477-.056 1.68-.631A7 7 0 0 0 8 3z'/%3E%3C/svg%3E");
}

.nav-scrollable[b-i23a0ha7qp] {
    display: none;
}

@media (min-width: 641px) {
    .nav-scrollable[b-i23a0ha7qp] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /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;
}

.access-denied-actions a[b-8wmbg25pe2] {
    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] {
    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] {
    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/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);
    }
}
