/* _content/MedicalLabSystem/Components/Layout/OwnerLayout.razor.rz.scp.css */
/* Owner console shell. Tokens come from wwwroot/app.css (:root is inherited
   into scoped stylesheets), so this file no longer needs a companion sheet of
   !important overrides to recolour it. */

.owner-page[b-6ugq3kw1y9] {
    display: flex;
    min-height: 100vh;
    background: var(--bg);
}

.owner-sidebar[b-6ugq3kw1y9] {
    position: fixed;
    inset: 0 auto 0 0;
    width: 244px;
    flex: 0 0 244px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: linear-gradient(180deg, var(--sidebar-bg) 0%, var(--sidebar-bg-2) 100%);
    border-right: 1px solid rgba(255, 255, 255, .07);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .2) transparent;
    z-index: 40;
}

:global(html[dir="rtl"]) .owner-sidebar[b-6ugq3kw1y9] {
    inset: 0 0 0 auto;
    border-right: 0;
    border-left: 1px solid rgba(255,255,255,.07);
}

.owner-main[b-6ugq3kw1y9] {
    flex: 1;
    min-width: 0;
    margin-left: 244px;
    display: flex;
    flex-direction: column;
}

:global(html[dir="rtl"]) .owner-main[b-6ugq3kw1y9] {
    margin-left: 0;
    margin-right: 244px;
}

.owner-top[b-6ugq3kw1y9] {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 64px;
    padding: 0 28px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.owner-context[b-6ugq3kw1y9],
.owner-user > div:not(.owner-avatar)[b-6ugq3kw1y9] { display: flex; flex-direction: column; min-width: 0; }

.owner-context small[b-6ugq3kw1y9],
.owner-user small[b-6ugq3kw1y9] {
    color: var(--muted);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.owner-context strong[b-6ugq3kw1y9] { font-size: 15px; letter-spacing: -.015em; }

.owner-user[b-6ugq3kw1y9] { display: flex; align-items: center; gap: 11px; }

.owner-avatar[b-6ugq3kw1y9] {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: var(--r-md);
    background: linear-gradient(140deg, var(--brand-500), var(--brand-700));
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.owner-theme[b-6ugq3kw1y9] {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-left: 4px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--surface);
    color: var(--muted);
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}
.owner-theme:hover[b-6ugq3kw1y9] { background: var(--brand-50); border-color: var(--brand-300); color: var(--primary); }

.owner-signout[b-6ugq3kw1y9] {
    min-height: 34px;
    margin-left: 6px;
    padding: 6px 13px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--surface);
    color: var(--muted);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}
.owner-signout:hover[b-6ugq3kw1y9] {
    background: var(--danger-bg);
    border-color: transparent;
    color: var(--danger-fg);
}

:global(html[dir="rtl"]) .owner-theme[b-6ugq3kw1y9],
:global(html[dir="rtl"]) .owner-signout[b-6ugq3kw1y9] { margin-left: 0; margin-right: 4px; }

.owner-content[b-6ugq3kw1y9] {
    flex: 1;
    width: 100%;
    max-width: 1500px;
    padding: 26px 28px 56px;
    min-width: 0;
}

@media (max-width: 900px) {
    .owner-sidebar[b-6ugq3kw1y9] { width: 76px; flex-basis: 76px; }
    .owner-main[b-6ugq3kw1y9] { margin-left: 76px; }
    :global(html[dir="rtl"]) .owner-main[b-6ugq3kw1y9] { margin-left: 0; margin-right: 76px; }
    .owner-content[b-6ugq3kw1y9] { padding: 20px 16px 48px; }
    .owner-top[b-6ugq3kw1y9] { padding: 0 16px; }
    .owner-context[b-6ugq3kw1y9] { display: none; }
}

@media print {
    .owner-sidebar[b-6ugq3kw1y9], .owner-top[b-6ugq3kw1y9] { display: none !important; }
    .owner-main[b-6ugq3kw1y9] { margin-left: 0 !important; }
    .owner-content[b-6ugq3kw1y9] { padding: 0 !important; max-width: none !important; }
}
/* _content/MedicalLabSystem/Components/Layout/OwnerNav.razor.rz.scp.css */
/* Owner console navigation — matches the clinical sidebar in app.css. */

.owner-brand[b-zh23dninor] {
    display: flex;
    align-items: center;
    gap: 11px;
    height: 64px;
    padding: 0 15px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.owner-mark[b-zh23dninor] {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    padding: 3px;
    background: #fff;
    border-radius: var(--r-md);
}
.owner-mark img[b-zh23dninor] { width: 100%; height: 100%; object-fit: contain; }

.owner-brand > div:last-child[b-zh23dninor] { min-width: 0; }
.owner-brand b[b-zh23dninor] {
    display: block;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.owner-brand small[b-zh23dninor] {
    display: block;
    margin-top: 2px;
    color: var(--sidebar-fg-dim);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.owner-nav[b-zh23dninor] { display: grid; gap: 1px; padding: 12px 10px; }

.owner-caption[b-zh23dninor] {
    padding: 8px 12px 6px;
    color: var(--sidebar-fg-dim);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.owner-nav[b-zh23dninor]  a {
    position: relative;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--r-md);
    color: var(--sidebar-fg);
    font-size: 13.5px;
    transition: background 120ms ease, color 120ms ease;
}
.owner-nav[b-zh23dninor]  a span {
    text-align: center;
    color: var(--sidebar-fg-dim);
    font-size: 14px;
    transition: color 120ms ease;
}
.owner-nav[b-zh23dninor]  a b {
    font-weight: 550;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.owner-nav[b-zh23dninor]  a:hover { background: var(--sidebar-hover); color: #fff; }
.owner-nav[b-zh23dninor]  a:hover span { color: var(--accent-300); }
.owner-nav[b-zh23dninor]  a.active { background: var(--sidebar-sel); color: #fff; }
.owner-nav[b-zh23dninor]  a.active b { font-weight: 650; }
.owner-nav[b-zh23dninor]  a.active span { color: var(--accent-300); }
.owner-nav[b-zh23dninor]  a.active::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    margin-top: -10px;
    width: 3px;
    height: 20px;
    background: var(--accent-300);
    border-radius: 0 var(--r-xs) var(--r-xs) 0;
}
.owner-nav[b-zh23dninor]  a:focus-visible { outline: 2px solid var(--accent-300); outline-offset: -2px; }

@media (max-width: 900px) {
    .owner-brand > div:last-child[b-zh23dninor], .owner-caption[b-zh23dninor] { display: none; }
    .owner-brand[b-zh23dninor] { justify-content: center; padding: 0 12px; }
    .owner-nav[b-zh23dninor]  a b { display: none; }
    .owner-nav[b-zh23dninor]  a { grid-template-columns: minmax(0, 1fr); padding: 13px; }
    .owner-nav[b-zh23dninor]  a span { text-align: center; }
}
