/* /Components/Layout/AppShell.razor.rz.scp.css */
.shell[b-m62mt54l3p] {
    display: grid;
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
    min-height: 100dvh;
    transition: grid-template-columns var(--duration-normal) var(--easing-standard);
}

html[data-sidebar-collapsed] .shell[b-m62mt54l3p] {
    grid-template-columns: var(--sidebar-width-collapsed) minmax(0, 1fr);
}

/* ---------- Sidebar ---------- */
.sidebar[b-m62mt54l3p] {
    position: sticky;
    top: 0;
    z-index: var(--z-nav);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    height: 100dvh;
    padding: var(--space-md) var(--space-sm);
    overflow: hidden auto;
    background: var(--color-surface);
    border-right: 1px solid var(--color-border);
}

.brand[b-m62mt54l3p] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: var(--touch-target);
    padding: 0 var(--space-sm);
}

.brand-mark[b-m62mt54l3p] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    background: var(--color-primary-strong);
    color: var(--color-on-primary);
}

.brand-name[b-m62mt54l3p] {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    letter-spacing: -0.01em;
}

.sidebar-nav[b-m62mt54l3p] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    flex: 1;
}

.nav-list[b-m62mt54l3p] {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.nav-list-secondary[b-m62mt54l3p] {
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
}

.nav-link[b-m62mt54l3p] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    width: 100%;
    min-height: var(--touch-target);
    padding: 0 var(--space-sm) 0 calc(var(--space-sm) + 2px);
    border: 0;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--color-text-muted);
    font-weight: var(--weight-medium);
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color var(--duration-fast) var(--easing-standard),
        color var(--duration-fast) var(--easing-standard);
}

.nav-link:hover[b-m62mt54l3p] {
    background: var(--color-surface-hover);
    color: var(--color-text);
}

.nav-link.active[b-m62mt54l3p] {
    background: var(--color-primary-soft);
    color: var(--color-primary-strong);
    box-shadow: inset 3px 0 0 var(--color-primary);
    font-weight: var(--weight-semibold);
}

.sidebar-foot[b-m62mt54l3p] {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--color-border);
}

.when-expanded[b-m62mt54l3p],
.when-collapsed[b-m62mt54l3p] {
    line-height: 0;
}

.when-collapsed[b-m62mt54l3p] {
    display: none;
}

html[data-sidebar-collapsed] .when-expanded[b-m62mt54l3p] { display: none; }
html[data-sidebar-collapsed] .when-collapsed[b-m62mt54l3p] { display: inline; }

html[data-sidebar-collapsed] .nav-label[b-m62mt54l3p],
html[data-sidebar-collapsed] .brand-name[b-m62mt54l3p] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

html[data-sidebar-collapsed] .nav-link[b-m62mt54l3p] {
    justify-content: center;
    padding: 0;
}

html[data-sidebar-collapsed] .brand[b-m62mt54l3p] {
    justify-content: center;
    padding: 0;
}

/* ---------- Top bar ---------- */
.main-column[b-m62mt54l3p] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.topbar[b-m62mt54l3p] {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    min-height: var(--topbar-height);
    padding: var(--space-sm) var(--space-lg);
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.topbar-title[b-m62mt54l3p] {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    white-space: nowrap;
}

.search[b-m62mt54l3p] {
    position: relative;
    flex: 1;
    max-width: 480px;
    margin-left: auto;
}

.search-icon[b-m62mt54l3p] {
    position: absolute;
    left: var(--space-sm);
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-subtle);
    line-height: 0;
    pointer-events: none;
}

.search-input[b-m62mt54l3p] {
    width: 100%;
    min-height: var(--touch-target);
    padding: 0 var(--space-md) 0 calc(var(--space-md) + 18px + var(--space-sm));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    background: var(--color-surface-sunken);
    color: var(--color-text);
    transition: border-color var(--duration-fast) var(--easing-standard);
}

.search-input[b-m62mt54l3p]::placeholder {
    color: var(--color-text-subtle);
}

.search-input:focus-visible[b-m62mt54l3p] {
    outline: var(--focus-ring-width) solid var(--color-focus);
    outline-offset: 1px;
    background: var(--color-surface);
}

.topbar-end[b-m62mt54l3p] {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.topbar-ask[b-m62mt54l3p] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--touch-target);
    height: var(--touch-target);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    background: var(--color-surface);
    color: var(--color-primary-strong);
    transition: background-color var(--duration-fast) var(--easing-standard);
}

.topbar-ask:hover[b-m62mt54l3p] {
    background: var(--color-primary-soft);
}

.topbar-ask:focus-visible[b-m62mt54l3p] {
    outline: var(--focus-ring-width) solid var(--color-focus);
    outline-offset: 2px;
}

.user[b-m62mt54l3p] {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: var(--touch-target);
}

.user-avatar[b-m62mt54l3p] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--color-primary-soft);
    color: var(--color-primary-strong);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
}

.user-name[b-m62mt54l3p] {
    font-weight: var(--weight-medium);
    white-space: nowrap;
}

.content[b-m62mt54l3p] {
    flex: 1;
    width: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: var(--space-lg);
}

.content:focus[b-m62mt54l3p] {
    outline: none;
}

/* ---------- Narrow screens: bottom tab bar instead of the sidebar ---------- */
@media (max-width: 1023.98px) {
    .shell[b-m62mt54l3p],
    html[data-sidebar-collapsed] .shell[b-m62mt54l3p] {
        grid-template-columns: minmax(0, 1fr);
        padding-bottom: calc(var(--bottomnav-height) + env(safe-area-inset-bottom, 0px));
    }

    .sidebar[b-m62mt54l3p] {
        display: none;
    }

    .topbar[b-m62mt54l3p] {
        gap: var(--space-sm);
        padding: var(--space-sm) var(--space-md);
    }

    .content[b-m62mt54l3p] {
        padding: var(--space-md);
    }
}

@media (max-width: 639.98px) {
    .topbar-title[b-m62mt54l3p],
    .user-name[b-m62mt54l3p] {
        display: none;
    }

    .search[b-m62mt54l3p] {
        margin-left: 0;
    }
}
/* /Components/Layout/BottomNav.razor.rz.scp.css */
.bottom-nav[b-h6pqampyey] {
    position: fixed;
    inset: auto 0 0 0;
    z-index: var(--z-nav);
    display: none;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.tabs[b-h6pqampyey] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: var(--bottomnav-height);
}

.tab[b-h6pqampyey] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 100%;
    height: 100%;
    min-height: var(--touch-target);
    border: 0;
    background: transparent;
    color: var(--color-text-muted);
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    text-decoration: none;
    cursor: pointer;
    transition: color var(--duration-fast) var(--easing-standard);
}

.tab:hover[b-h6pqampyey] {
    color: var(--color-text);
}

.tab.active[b-h6pqampyey] {
    color: var(--color-primary-strong);
    box-shadow: inset 0 3px 0 var(--color-primary);
    font-weight: var(--weight-semibold);
}

.tab:focus-visible[b-h6pqampyey] {
    outline-offset: -3px;
}

@media (max-width: 1023.98px) {
    .bottom-nav[b-h6pqampyey] {
        display: block;
    }
}
/* /Components/Layout/MoreSheet.razor.rz.scp.css */
.sheet[b-yf99m700oa] {
    position: fixed;
    inset: auto 0 0 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: var(--space-md) var(--space-md) calc(var(--space-lg) + env(safe-area-inset-bottom, 0px));
    border: 0;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    background: var(--color-surface);
    color: var(--color-text);
    box-shadow: var(--shadow-xl);
}

.sheet[b-yf99m700oa]::backdrop {
    background: var(--color-overlay);
}

.sheet:popover-open[b-yf99m700oa] {
    animation: sheet-in-b-yf99m700oa var(--duration-normal) var(--easing-standard);
}

@keyframes sheet-in-b-yf99m700oa {
    from { transform: translateY(16px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.sheet-header[b-yf99m700oa] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
}

.sheet-title[b-yf99m700oa] {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
}

.sheet-close[b-yf99m700oa] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--touch-target);
    height: var(--touch-target);
    border: 0;
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--color-text-muted);
}

.sheet-close:hover[b-yf99m700oa] {
    background: var(--color-surface-hover);
}

.sheet-user[b-yf99m700oa] {
    margin-bottom: var(--space-sm);
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.sheet-list[b-yf99m700oa] {
    display: flex;
    flex-direction: column;
}

.sheet-item[b-yf99m700oa] {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    width: 100%;
    min-height: 52px;
    padding: 0 var(--space-sm);
    border: 0;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--color-text);
    font-weight: var(--weight-medium);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--duration-fast) var(--easing-standard);
}

.sheet-item:hover[b-yf99m700oa] {
    background: var(--color-surface-hover);
}

.sheet-item.active[b-yf99m700oa] {
    color: var(--color-primary-strong);
}

.sheet-chevron[b-yf99m700oa] {
    margin-left: auto;
    color: var(--color-text-subtle);
    line-height: 0;
}

.sheet-signout[b-yf99m700oa] {
    color: var(--color-danger-text);
}
/* /Components/Layout/PortalLayout.razor.rz.scp.css */
.portal-frame[b-w3jz1uzezo] {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    background: var(--color-page);
    color: var(--color-text);
}

.portal-header[b-w3jz1uzezo] {
    padding: var(--space-md) var(--space-lg);
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.portal-brand[b-w3jz1uzezo] {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--weight-semibold);
}

.portal-main[b-w3jz1uzezo] {
    flex: 1;
    width: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-bjygzy7kou],
.components-reconnect-repeated-attempt-visible[b-bjygzy7kou],
.components-reconnect-failed-visible[b-bjygzy7kou],
.components-pause-visible[b-bjygzy7kou],
.components-resume-failed-visible[b-bjygzy7kou],
.components-rejoining-animation[b-bjygzy7kou] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-bjygzy7kou],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-bjygzy7kou],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-bjygzy7kou],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-bjygzy7kou],
#components-reconnect-modal.components-reconnect-retrying[b-bjygzy7kou],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-bjygzy7kou],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-bjygzy7kou],
#components-reconnect-modal.components-reconnect-failed[b-bjygzy7kou],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-bjygzy7kou] {
    display: block;
}


#components-reconnect-modal[b-bjygzy7kou] {
    background-color: var(--color-surface);
    color: var(--color-text);
    width: 20rem;
    margin: 20vh auto;
    padding: var(--space-xl);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-bjygzy7kou 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-bjygzy7kou 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-bjygzy7kou 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-bjygzy7kou]::backdrop {
    background-color: var(--color-overlay);
    animation: components-reconnect-modal-fadeInOpacity-b-bjygzy7kou 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-bjygzy7kou {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-bjygzy7kou {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-bjygzy7kou {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-bjygzy7kou] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

#components-reconnect-modal p[b-bjygzy7kou] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-bjygzy7kou] {
    border: 0;
    background-color: var(--color-primary-strong);
    color: var(--color-on-primary);
    min-height: var(--touch-target);
    padding: var(--space-xs) var(--space-lg);
    border-radius: var(--radius-md);
    font-weight: var(--weight-semibold);
}

    #components-reconnect-modal button:hover[b-bjygzy7kou] {
        background-color: var(--color-primary-strong-hover);
    }

    #components-reconnect-modal button:active[b-bjygzy7kou] {
        background-color: var(--color-primary-strong);
    }

.components-rejoining-animation[b-bjygzy7kou] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-bjygzy7kou] {
        position: absolute;
        border: 3px solid var(--color-primary);
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-bjygzy7kou 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-bjygzy7kou] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-bjygzy7kou {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Layout/ThemeToggle.razor.rz.scp.css */
.theme-toggle[b-dlo4ajimfd] {
    display: inline-flex;
    padding: 2px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    background: var(--color-surface-sunken);
}

.theme-option[b-dlo4ajimfd] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--color-text-muted);
    transition: background-color var(--duration-fast) var(--easing-standard),
        color var(--duration-fast) var(--easing-standard);
}

.theme-option:hover[b-dlo4ajimfd] {
    color: var(--color-text);
}

.theme-option[aria-pressed="true"][b-dlo4ajimfd] {
    background: var(--color-surface);
    color: var(--color-primary-strong);
    box-shadow: var(--shadow-sm);
}
/* /Components/Pages/Archive/ArchiveHome.razor.rz.scp.css */
.tabs[b-ldm9ri2mei] {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
    overflow-x: auto;
}

.tab[b-ldm9ri2mei] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: var(--touch-target);
    padding: 0 var(--space-md);
    border: 0;
    border-bottom: 3px solid transparent;
    background: none;
    color: var(--color-text-muted);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.tab:hover[b-ldm9ri2mei] {
    color: var(--color-text);
}

.tab.is-active[b-ldm9ri2mei] {
    color: var(--color-primary-strong);
    border-bottom-color: var(--color-primary);
}

.tab:focus-visible[b-ldm9ri2mei],
.tile-preview:focus-visible[b-ldm9ri2mei] {
    outline: var(--focus-ring-width) solid var(--color-focus);
    outline-offset: 2px;
}

.tab-count[b-ldm9ri2mei] {
    padding: 0 var(--space-xs);
    border-radius: var(--radius-full);
    background: var(--color-warning-soft);
    color: var(--color-warning-text);
    font-size: var(--text-xs);
}

.toolbar[b-ldm9ri2mei] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--space-sm) var(--space-md);
    margin-bottom: var(--space-md);
}

.bulk[b-ldm9ri2mei] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    background: var(--color-primary-soft);
}

.grid[b-ldm9ri2mei] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--space-md);
}

.tile[b-ldm9ri2mei] {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    overflow: hidden;
}

.tile.is-selected[b-ldm9ri2mei] {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px var(--color-primary-soft);
}

.tile-check[b-ldm9ri2mei] {
    position: absolute;
    top: var(--space-xs);
    left: var(--space-xs);
    display: grid;
    place-items: center;
    width: var(--touch-target);
    height: var(--touch-target);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.tile-check input[b-ldm9ri2mei] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.tile-preview[b-ldm9ri2mei] {
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--color-surface-sunken);
}

.tile-preview img[b-ldm9ri2mei] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tile-doc[b-ldm9ri2mei] {
    display: grid;
    place-items: center;
    height: 100%;
    color: var(--color-text-muted);
}

.tile-body[b-ldm9ri2mei] {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-sm);
}

.tile-title[b-ldm9ri2mei] {
    margin: 0;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tile-meta[b-ldm9ri2mei] {
    margin: 0;
    font-size: var(--text-sm);
}

.tile-actions[b-ldm9ri2mei] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.more[b-ldm9ri2mei] {
    display: flex;
    justify-content: center;
    margin-top: var(--space-md);
}

.recent[b-ldm9ri2mei] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.recent-row[b-ldm9ri2mei] {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.recent-thumb[b-ldm9ri2mei] {
    display: grid;
    place-items: center;
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--color-surface-sunken);
    color: var(--color-text-muted);
    overflow: hidden;
}

.recent-thumb img[b-ldm9ri2mei] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-main[b-ldm9ri2mei] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.recent-title[b-ldm9ri2mei] {
    font-weight: 600;
}

.muted[b-ldm9ri2mei] {
    color: var(--color-text-muted);
}

.pad[b-ldm9ri2mei] {
    padding: var(--space-md);
}
/* /Components/Pages/Archive/ArchiveItemPage.razor.rz.scp.css */
.layout[b-b2743r3ps8] {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr);
    gap: var(--space-lg);
    align-items: start;
    margin-bottom: var(--space-lg);
}

@media (max-width: 900px) {
    .layout[b-b2743r3ps8] {
        grid-template-columns: 1fr;
    }
}

.preview[b-b2743r3ps8] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: flex-start;
}

.preview-frame[b-b2743r3ps8] {
    width: 100%;
    max-height: 75vh;
    overflow: auto;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface-sunken);
}

.preview-frame:focus-visible[b-b2743r3ps8] {
    outline: var(--focus-ring-width) solid var(--color-focus);
    outline-offset: 2px;
}

.preview-frame img[b-b2743r3ps8] {
    display: block;
    width: 100%;
    height: auto;
}

.preview.is-zoomed .preview-frame img[b-b2743r3ps8] {
    width: auto;
    max-width: none;
}

.preview iframe[b-b2743r3ps8] {
    width: 100%;
    height: 75vh;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.side[b-b2743r3ps8] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.patient-line[b-b2743r3ps8] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0 0 var(--space-sm);
}

.row-actions[b-b2743r3ps8] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.transcription[b-b2743r3ps8] {
    margin: var(--space-md) 0 0;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    background: var(--color-surface-sunken);
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    white-space: pre-wrap;
}

.transcription-edit[b-b2743r3ps8] {
    width: 100%;
    font-family: var(--font-mono);
    font-size: var(--text-sm);
}

.include[b-b2743r3ps8] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: var(--touch-target);
}

.rx-grid[b-b2743r3ps8] {
    display: grid;
    grid-template-columns: auto repeat(4, minmax(64px, 1fr));
    gap: var(--space-xs);
    align-items: center;
    margin-bottom: var(--space-sm);
}

.rx-head[b-b2743r3ps8] {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.rx-eye[b-b2743r3ps8] {
    font-weight: 600;
}

.rx-summary[b-b2743r3ps8] {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-xs) var(--space-md);
    margin: 0;
}

.rx-summary dt[b-b2743r3ps8] {
    color: var(--color-text-muted);
}

.rx-summary dd[b-b2743r3ps8] {
    margin: 0;
    font-weight: 600;
}

.warnings[b-b2743r3ps8] {
    list-style: none;
    margin: var(--space-md) 0 0;
    padding: 0;
    color: var(--color-warning-text);
}

.warnings li[b-b2743r3ps8] {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.form-error[b-b2743r3ps8] {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-danger-text);
}

.muted[b-b2743r3ps8] {
    color: var(--color-text-muted);
}
/* /Components/Pages/Archive/ArchivePatientPicker.razor.rz.scp.css */
.picked[b-lphncpjwux] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: var(--touch-target);
}

.results[b-lphncpjwux] {
    list-style: none;
    margin: var(--space-xs) 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.result[b-lphncpjwux] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: var(--touch-target);
    padding: 0 var(--space-md);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-full);
    background: var(--color-surface);
    color: var(--color-text);
    font: inherit;
    cursor: pointer;
    transition: background-color var(--duration-fast) var(--easing-standard);
}

.result:hover[b-lphncpjwux] {
    background: var(--color-surface-hover);
}

.result:focus-visible[b-lphncpjwux] {
    outline: var(--focus-ring-width) solid var(--color-focus);
    outline-offset: 2px;
}

.muted[b-lphncpjwux] {
    color: var(--color-text-muted);
}

@media (prefers-reduced-motion: reduce) {
    .result[b-lphncpjwux] {
        transition: none;
    }
}
/* /Components/Pages/Archive/ArchiveUploader.razor.rz.scp.css */
.drop[b-blb351ipdc] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-md);
    padding: var(--space-xl) var(--space-md);
    border: 2px dashed var(--color-border-strong);
    border-radius: var(--radius-lg);
    background: var(--color-surface-sunken);
    color: var(--color-text-muted);
    text-align: center;
    transition: background-color var(--duration-fast) var(--easing-standard), border-color var(--duration-fast) var(--easing-standard);
}

.drop.is-dragging[b-blb351ipdc],
.drop:hover[b-blb351ipdc] {
    border-color: var(--color-primary);
    background: var(--color-primary-soft);
}

.drop:focus-within[b-blb351ipdc] {
    outline: var(--focus-ring-width) solid var(--color-focus);
    outline-offset: 2px;
}

.drop.is-busy[b-blb351ipdc] {
    opacity: 0.7;
}

.drop-title[b-blb351ipdc] {
    margin: 0;
    color: var(--color-text);
    font-weight: 600;
}

.drop p[b-blb351ipdc] {
    margin: 0;
}

/* The real input covers the zone, so both tapping and dropping files land on it. */
.drop[b-blb351ipdc]  .drop-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.notice[b-blb351ipdc] {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin: var(--space-sm) 0 0;
    color: var(--color-warning-text);
}

.uploads[b-blb351ipdc] {
    list-style: none;
    margin: var(--space-md) 0 0;
    padding: 0;
}

.upload[b-blb351ipdc] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "name size"
        "bar state";
    align-items: center;
    gap: var(--space-xs) var(--space-md);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
}

.upload-name[b-blb351ipdc] {
    grid-area: name;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.upload-size[b-blb351ipdc] {
    grid-area: size;
}

.upload progress[b-blb351ipdc] {
    grid-area: bar;
    width: 100%;
    height: 8px;
    accent-color: var(--color-primary);
}

.upload-state[b-blb351ipdc] {
    grid-area: state;
}

.muted[b-blb351ipdc] {
    color: var(--color-text-muted);
}

@media (prefers-reduced-motion: reduce) {
    .drop[b-blb351ipdc] {
        transition: none;
    }
}
/* /Components/Pages/Assistant/Ask.razor.rz.scp.css */
.ask-layout[b-82icottdxk] {
    display: grid;
    gap: var(--space-lg);
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1024px) {
    .ask-layout[b-82icottdxk] {
        grid-template-columns: minmax(0, 1fr) 18rem;
    }
}

.ask-main[b-82icottdxk] {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    min-width: 0;
}

.ask-input[b-82icottdxk] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.ask-form[b-82icottdxk] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: flex-end;
}

.ask-form > :first-child[b-82icottdxk] {
    flex: 1 1 16rem;
}

.answer[b-82icottdxk] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.answer-sentence[b-82icottdxk] {
    margin: 0;
    font-size: var(--text-lg);
    font-weight: var(--weight-medium);
    line-height: var(--leading-tight);
}

.answer-refusal[b-82icottdxk] {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
    margin: 0;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    background: var(--color-warning-soft);
    color: var(--color-warning-text);
    font-weight: var(--weight-medium);
}

.answer-rows[b-82icottdxk] {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--color-border);
}

.answer-row[b-82icottdxk] {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
    min-height: var(--touch-target);
    padding: var(--space-sm) var(--space-xs);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
    text-decoration: none;
    transition: background var(--duration-fast) var(--easing-standard);
}

.answer-row:hover[b-82icottdxk] {
    background: var(--color-surface-hover);
}

.answer-row-text[b-82icottdxk] {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.answer-row-title[b-82icottdxk] {
    font-weight: var(--weight-medium);
}

.answer-row-detail[b-82icottdxk] {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    white-space: pre-line;
}

.chips[b-82icottdxk] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.examples[b-82icottdxk] {
    justify-content: center;
    padding-bottom: var(--space-md);
}

.chip[b-82icottdxk] {
    display: inline-flex;
    gap: var(--space-xs);
    align-items: center;
    min-height: var(--touch-target);
    padding: 0 var(--space-md);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-full);
    background: var(--color-surface);
    color: var(--color-text);
    font: inherit;
    cursor: pointer;
    transition: background var(--duration-fast) var(--easing-standard);
}

.chip:hover[b-82icottdxk] {
    background: var(--color-surface-hover);
}

.chip-note[b-82icottdxk] {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.recent-list[b-82icottdxk] {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.recent-item[b-82icottdxk] {
    width: 100%;
    min-height: var(--touch-target);
    padding: var(--space-xs) var(--space-sm);
    border: 0;
    border-radius: var(--radius-sm);
    background: none;
    color: var(--color-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.recent-item:hover[b-82icottdxk] {
    background: var(--color-surface-hover);
}

.chip:focus-visible[b-82icottdxk],
.recent-item:focus-visible[b-82icottdxk],
.answer-row:focus-visible[b-82icottdxk] {
    outline: var(--focus-ring-width) solid var(--color-focus);
    outline-offset: 2px;
}
/* /Components/Pages/Billing/BillingHome.razor.rz.scp.css */
.billing-tabs[b-uy7mjbhh8s] {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.billing-tab[b-uy7mjbhh8s] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    text-decoration: none;
    min-height: var(--touch-target);
    padding: var(--space-sm) var(--space-md);
    background: none;
    border: 0;
    border-bottom: 3px solid transparent;
    color: var(--color-text-muted);
    font-weight: var(--weight-semibold);
    cursor: pointer;
}

.billing-tab[aria-current="page"][b-uy7mjbhh8s] {
    border-bottom-color: var(--color-primary-strong);
    color: var(--color-text);
}

.billing-tab:focus-visible[b-uy7mjbhh8s] {
    outline: var(--focus-ring-width) solid var(--color-focus);
    outline-offset: -2px;
}

.billing-filters[b-uy7mjbhh8s] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.billing-filters .input[b-uy7mjbhh8s] {
    min-width: 12rem;
}

.billing-loading[b-uy7mjbhh8s] {
    padding: var(--space-md);
}
/* /Components/Pages/Billing/QuoteDetail.razor.rz.scp.css */
.quote-head-grid[b-3jmzg8iyyd] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .quote-head-grid[b-3jmzg8iyyd] {
        grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
    }
}

.quote-head-who[b-3jmzg8iyyd] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.quote-head-who p[b-3jmzg8iyyd] {
    margin: 0;
}

.quote-patient[b-3jmzg8iyyd] {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--weight-semibold);
}

.quote-money[b-3jmzg8iyyd] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin: 0;
}

.quote-money div[b-3jmzg8iyyd] {
    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
}

.quote-money dt[b-3jmzg8iyyd] {
    color: var(--color-text-muted);
}

.quote-money dd[b-3jmzg8iyyd] {
    margin: 0;
    font-weight: var(--weight-semibold);
}

.quote-money-balance[b-3jmzg8iyyd] {
    padding-top: var(--space-sm);
    border-top: 1px solid var(--color-border);
    font-size: var(--text-lg);
}

.quote-note[b-3jmzg8iyyd] {
    margin: var(--space-md) 0 0;
}

.quote-error[b-3jmzg8iyyd] {
    margin: 0;
    color: var(--color-danger-text);
    font-weight: var(--weight-medium);
}

.payment-methods[b-3jmzg8iyyd] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
}

.payment-methods legend[b-3jmzg8iyyd] {
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-xs);
}
/* /Components/Pages/Billing/QuoteNew.razor.rz.scp.css */
.quote-layout[b-02nyu2wndc] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
    align-items: start;
}

@media (min-width: 1024px) {
    .quote-layout[b-02nyu2wndc] {
        grid-template-columns: minmax(0, 1fr) 22rem;
    }

    .quote-summary[b-02nyu2wndc] {
        position: sticky;
        top: calc(var(--topbar-height) + var(--space-md));
    }
}

.quote-line-grid[b-02nyu2wndc] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: var(--space-md);
    align-items: start;
}

@media (min-width: 768px) {
    .quote-line-grid[b-02nyu2wndc]  .form-field:first-child {
        grid-column: span 2;
    }
}

.quote-line-total[b-02nyu2wndc] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-xs);
    margin: 0;
    min-height: var(--touch-target);
    justify-content: center;
    align-self: end;
}

.quote-line-total strong[b-02nyu2wndc] {
    font-size: var(--text-lg);
}

.quote-figures[b-02nyu2wndc] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin: 0 0 var(--space-md);
}

.quote-figures div[b-02nyu2wndc] {
    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
}

.quote-figures dt[b-02nyu2wndc] {
    color: var(--color-text-muted);
}

.quote-figures dd[b-02nyu2wndc] {
    margin: 0;
    font-weight: var(--weight-semibold);
}

.quote-figure-total[b-02nyu2wndc] {
    padding-top: var(--space-sm);
    border-top: 1px solid var(--color-border);
    font-size: var(--text-lg);
}

.deposit-panel[b-02nyu2wndc] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    background: var(--color-surface-sunken);
    border-radius: var(--radius-md);
}

.deposit-panel h3[b-02nyu2wndc] {
    margin: 0;
    font-size: var(--text-base);
}

.deposit-result[b-02nyu2wndc] {
    margin: 0;
}

.deposit-due[b-02nyu2wndc] {
    display: flex;
    justify-content: space-between;
    margin: 0;
    font-size: var(--text-lg);
}

.link-button[b-02nyu2wndc] {
    align-self: flex-start;
    min-height: var(--touch-target);
    padding: 0;
    background: none;
    border: 0;
    color: var(--color-primary-strong);
    font-weight: var(--weight-semibold);
    text-decoration: underline;
    cursor: pointer;
}

.link-button:focus-visible[b-02nyu2wndc] {
    outline: var(--focus-ring-width) solid var(--color-focus);
    outline-offset: 2px;
}

.quote-actions[b-02nyu2wndc] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.quote-error[b-02nyu2wndc] {
    margin: 0 0 var(--space-md);
    color: var(--color-danger-text);
    font-weight: var(--weight-medium);
}
/* /Components/Pages/Billing/QuotePrint.razor.rz.scp.css */
.q-sheet[b-5ubykdf279] {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    max-width: 210mm;
    padding: var(--space-xl);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.q-head[b-5ubykdf279] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--color-text);
}

.q-head p[b-5ubykdf279] {
    margin: 0;
}

.q-clinic[b-5ubykdf279] {
    margin: 0;
    font-size: var(--text-2xl);
}

.q-title[b-5ubykdf279] {
    text-align: right;
}

.q-title-text[b-5ubykdf279] {
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
}

.q-meta[b-5ubykdf279],
.q-balance[b-5ubykdf279] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-sm) var(--space-xl);
    margin: 0;
}

.q-meta dt[b-5ubykdf279],
.q-balance dt[b-5ubykdf279] {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.q-meta dd[b-5ubykdf279],
.q-balance dd[b-5ubykdf279] {
    margin: 0;
    font-weight: var(--weight-semibold);
}

.q-balance dd[b-5ubykdf279] {
    font-size: var(--text-lg);
}

.q-table[b-5ubykdf279] {
    width: 100%;
    border-collapse: collapse;
}

.q-table th[b-5ubykdf279],
.q-table td[b-5ubykdf279] {
    padding: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
    text-align: left;
}

.q-table tfoot th[b-5ubykdf279] {
    text-align: right;
}

.q-caption[b-5ubykdf279] {
    margin-bottom: var(--space-xs);
    font-weight: var(--weight-semibold);
    text-align: left;
}

.q-num[b-5ubykdf279] {
    text-align: right !important;
    font-variant-numeric: tabular-nums;
}

.q-thanks[b-5ubykdf279] {
    margin: 0;
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    text-align: center;
}

@media print {
    .q-sheet[b-5ubykdf279] {
        max-width: none;
        padding: 0;
        border: 0;
        border-radius: 0;
    }
}
/* /Components/Pages/Clinical/NoteEditor.razor.rz.scp.css */
.note-fields[b-tl43is5nup] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.note-warnings[b-tl43is5nup] {
    margin: 0;
    padding: var(--space-sm) var(--space-md);
    list-style: none;
    background: var(--color-warning-soft);
    border-radius: var(--radius-md);
    color: var(--color-warning-text);
}

.note-warnings li[b-tl43is5nup] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: var(--space-xl);
}

.note-eyes[b-tl43is5nup] {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    align-items: center;
    gap: var(--space-sm);
    margin: 0;
    padding: var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.note-eyes legend[b-tl43is5nup] {
    padding: 0 var(--space-xs);
    font-weight: 600;
}

.eye-head[b-tl43is5nup],
.eye-row[b-tl43is5nup] {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

/* What was heard, verbatim, above the editable note. */
.confirm-transcript[b-tl43is5nup] {
    margin: 0;
    padding-left: var(--space-md);
    border-left: 3px solid var(--color-primary);
    font-style: italic;
    white-space: pre-wrap;
}
/* /Components/Pages/Clinical/PrescriptionEditor.razor.rz.scp.css */
.rx-form[b-axs47litoa] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.rx-num[b-axs47litoa] {
    font-variant-numeric: tabular-nums;
}

.rx-grid-wrap[b-axs47litoa],
.rx-chips[b-axs47litoa] {
    margin: 0;
    padding: var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    min-width: 0;
}

.rx-grid-wrap[b-axs47litoa] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.rx-grid-wrap legend[b-axs47litoa],
.rx-chips legend[b-axs47litoa] {
    padding: 0 var(--space-xs);
    font-weight: 600;
}

.rx-grid[b-axs47litoa] {
    display: grid;
    grid-template-columns: auto repeat(4, minmax(4.5rem, 1fr));
    align-items: start;
    gap: var(--space-sm);
    overflow-x: auto;
    padding-bottom: var(--space-xs);
}

.rx-head[b-axs47litoa],
.rx-eye[b-axs47litoa] {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.rx-head[b-axs47litoa] {
    align-self: end;
}

.rx-eye[b-axs47litoa] {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: var(--touch-target);
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
}

.rx-cell[b-axs47litoa] {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    min-width: 0;
}

.rx-cell .input[b-axs47litoa] {
    min-height: var(--touch-target);
    padding-inline: var(--space-sm);
}

/* Shown only in the stacked phone layout, where the column headings cannot line up with the cells. */
.rx-cell-label[b-axs47litoa] {
    display: none;
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    overflow-wrap: anywhere;
}

.rx-cell-error[b-axs47litoa] {
    color: var(--color-danger-text);
    font-size: var(--text-xs);
}

.rx-pair[b-axs47litoa] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: var(--space-md);
}

.rx-chips[b-axs47litoa] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.rx-chip[b-axs47litoa] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: var(--touch-target);
    padding: 0 var(--space-md);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-full);
    cursor: pointer;
}

.rx-chip input[b-axs47litoa] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.rx-chip:focus-within[b-axs47litoa] {
    box-shadow: 0 0 0 var(--focus-ring-width) var(--color-primary-soft), 0 0 0 1px var(--color-focus);
}

.rx-chip.is-selected[b-axs47litoa] {
    background: var(--color-primary-soft);
    border-color: var(--color-primary-strong);
    color: var(--color-primary-strong);
    font-weight: 600;
}

.rx-warnings[b-axs47litoa] {
    margin: 0;
    padding: var(--space-sm) var(--space-md);
    list-style: none;
    background: var(--color-warning-soft);
    border-radius: var(--radius-md);
    color: var(--color-warning-text);
}

.rx-warnings li[b-axs47litoa] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: var(--space-xl);
}

.rx-warnings li.is-blocking[b-axs47litoa] {
    color: var(--color-danger-text);
    font-weight: 600;
}

.rx-ok[b-axs47litoa] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0;
    color: var(--color-success-text);
}

.rx-previous-dl[b-axs47litoa] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin: 0 0 var(--space-md);
}

.rx-previous-dl dt[b-axs47litoa] {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.rx-previous-dl dd[b-axs47litoa] {
    margin: 0;
}

/* Phones: each eye gets its own heading and its fields stack two to a row, so nothing scrolls sideways. */
@media (max-width: 480px) {
    .rx-grid[b-axs47litoa] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow-x: visible;
    }

    .rx-grid > .rx-head[b-axs47litoa],
    .rx-grid > span:first-child[b-axs47litoa] {
        display: none;
    }

    .rx-eye[b-axs47litoa] {
        grid-column: 1 / -1;
        min-height: auto;
        padding-top: var(--space-xs);
    }

    .rx-cell-label[b-axs47litoa] {
        display: block;
    }

    .rx-cell .input[b-axs47litoa] {
        width: 100%;
        min-width: 0;
    }
}

.rx-dictation[b-axs47litoa] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}
/* /Components/Pages/Clinical/PrescriptionHistoryPage.razor.rz.scp.css */
.rx-deltas[b-79raa3af2y] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs) var(--space-sm);
    margin-top: var(--space-xs);
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.rx-delta[b-79raa3af2y] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-variant-numeric: tabular-nums;
}

.rx-history[b-79raa3af2y]  .rx-num {
    font-variant-numeric: tabular-nums;
}
/* /Components/Pages/Clinical/PrescriptionPrintPage.razor.rz.scp.css */
.rx-sheet[b-hhxy4rl92a] {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    max-width: 210mm;
    padding: var(--space-xl);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.rx-sheet-head[b-hhxy4rl92a] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--color-text);
}

.rx-clinic[b-hhxy4rl92a] {
    margin: 0;
    font-size: var(--text-2xl);
}

.rx-clinic-phone[b-hhxy4rl92a],
.rx-title[b-hhxy4rl92a] {
    margin: 0;
}

.rx-title[b-hhxy4rl92a] {
    font-size: var(--text-lg);
    font-weight: 600;
    text-align: right;
}

.rx-superseded-note[b-hhxy4rl92a] {
    margin: var(--space-xs) 0 0;
    color: var(--color-danger-text);
    font-weight: 600;
}

.rx-meta[b-hhxy4rl92a],
.rx-lines-print[b-hhxy4rl92a] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-sm) var(--space-xl);
    margin: 0;
}

.rx-meta dt[b-hhxy4rl92a],
.rx-lines-print dt[b-hhxy4rl92a] {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.rx-meta dd[b-hhxy4rl92a],
.rx-lines-print dd[b-hhxy4rl92a] {
    margin: 0;
    font-weight: 600;
}

.rx-wide[b-hhxy4rl92a] {
    grid-column: 1 / -1;
}

.rx-num[b-hhxy4rl92a] {
    font-variant-numeric: tabular-nums;
}

.rx-table[b-hhxy4rl92a] {
    width: 100%;
    border-collapse: collapse;
}

.rx-table th[b-hhxy4rl92a],
.rx-table td[b-hhxy4rl92a] {
    padding: var(--space-sm);
    border: 1px solid var(--color-border-strong);
    text-align: center;
}

.rx-table thead th[b-hhxy4rl92a] {
    background: var(--color-surface-sunken);
    font-size: var(--text-sm);
}

.rx-table tbody th[b-hhxy4rl92a] {
    text-align: left;
}

.rx-validity[b-hhxy4rl92a] {
    margin: 0;
    font-weight: 600;
}

.rx-sign[b-hhxy4rl92a] {
    margin-top: var(--space-2xl);
    width: 60%;
}

.rx-sign-line[b-hhxy4rl92a] {
    border-bottom: 1px solid var(--color-text);
    height: var(--space-2xl);
}

.rx-sign p[b-hhxy4rl92a] {
    margin: var(--space-xs) 0 0;
}

@media print {
    .rx-sheet[b-hhxy4rl92a] {
        width: 100%;
        max-width: none;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: none;
    }

    .rx-sheet[b-hhxy4rl92a],
    .rx-meta dt[b-hhxy4rl92a],
    .rx-lines-print dt[b-hhxy4rl92a] {
        color: black;
    }

    .rx-table thead th[b-hhxy4rl92a] {
        background: none;
    }

    .rx-table th[b-hhxy4rl92a],
    .rx-table td[b-hhxy4rl92a],
    .rx-sign-line[b-hhxy4rl92a],
    .rx-sheet-head[b-hhxy4rl92a] {
        border-color: black;
    }
}
/* /Components/Pages/Clinical/StartVisitPage.razor.rz.scp.css */
.patient-strip[b-8la4dxgr3n] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm) var(--space-md);
    padding: var(--space-md);
    background: var(--color-surface-sunken);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    color: var(--color-text);
}
/* /Components/Pages/Clinical/VisitPage.razor.rz.scp.css */
.visit-facts[b-qbbxvk3cuc] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md) var(--space-xl);
    margin: 0;
}

.visit-facts dt[b-qbbxvk3cuc],
.note-dl dt[b-qbbxvk3cuc] {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.visit-facts dd[b-qbbxvk3cuc],
.note-dl dd[b-qbbxvk3cuc] {
    margin: 0;
}

.tabs[b-qbbxvk3cuc] {
    display: flex;
    gap: var(--space-xs);
    border-bottom: 1px solid var(--color-border);
}

.tab[b-qbbxvk3cuc] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: var(--touch-target);
    padding: 0 var(--space-md);
    background: none;
    border: 0;
    border-bottom: 3px solid transparent;
    color: var(--color-text-muted);
    font-weight: 600;
    cursor: pointer;
}

.tab:hover[b-qbbxvk3cuc] {
    color: var(--color-text);
    background: var(--color-surface-hover);
}

.tab.active[b-qbbxvk3cuc] {
    color: var(--color-primary-strong);
    border-bottom-color: var(--color-primary-strong);
}

.note-header[b-qbbxvk3cuc] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.note-body[b-qbbxvk3cuc] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.note-text[b-qbbxvk3cuc] {
    margin: 0;
    white-space: pre-line;
}

.note-dl[b-qbbxvk3cuc] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-sm) var(--space-lg);
    margin: 0;
}

.note-superseded[b-qbbxvk3cuc] {
    padding: var(--space-md);
    background: var(--color-surface-sunken);
    border: 1px dashed var(--color-border-strong);
    border-radius: var(--radius-lg);
    color: var(--color-text-muted);
}

.note-superseded summary[b-qbbxvk3cuc] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    min-height: var(--touch-target);
    cursor: pointer;
}

.note-superseded[open] summary[b-qbbxvk3cuc] {
    margin-bottom: var(--space-sm);
}

.note-superseded a[b-qbbxvk3cuc] {
    color: var(--color-primary-strong);
}

.note:target[b-qbbxvk3cuc] {
    outline: var(--focus-ring-width) solid var(--color-focus);
    outline-offset: var(--space-xs);
}

.rx-card-actions[b-qbbxvk3cuc] {
    display: inline-flex;
    gap: var(--space-xs);
    margin-left: auto;
}

.rx-lines[b-qbbxvk3cuc] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: var(--space-sm) var(--space-lg);
    margin: 0;
}

.rx-num[b-qbbxvk3cuc] {
    font-variant-numeric: tabular-nums;
}

.rx-superseded[b-qbbxvk3cuc] {
    color: var(--color-text-muted);
}
/* /Components/Pages/Dev/ComponentGallery.razor.rz.scp.css */
.gallery-index[b-5gb6fm0snm] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs) var(--space-md);
    margin-bottom: var(--space-lg);
    font-size: var(--text-sm);
}

.gallery-index a[b-5gb6fm0snm] {
    display: inline-flex;
    align-items: center;
    min-height: var(--touch-target);
}

.gallery[b-5gb6fm0snm] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.gallery-section[b-5gb6fm0snm] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    scroll-margin-top: calc(var(--topbar-height) + var(--space-md));
}

.gallery-section-header[b-5gb6fm0snm] {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.gallery-panes[b-5gb6fm0snm] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: var(--space-md);
}

/* Each pane re-reads the tokens for its own data-theme. */
.gallery-pane[b-5gb6fm0snm] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    min-width: 0;
    padding: var(--space-lg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-page);
    color: var(--color-text);
}

.gallery-pane-label[b-5gb6fm0snm] {
    color: var(--color-text-subtle);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gallery-icon[b-5gb6fm0snm] {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    width: 88px;
    padding: var(--space-sm) 0;
    color: var(--color-text);
    font-size: var(--text-xs);
    text-align: center;
}

.gallery-icon span[b-5gb6fm0snm] {
    color: var(--color-text-muted);
    word-break: break-word;
}

.gallery-fake-header[b-5gb6fm0snm] {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.gallery-fake-title[b-5gb6fm0snm] {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: var(--weight-bold);
    line-height: var(--leading-tight);
}

.gallery-rx[b-5gb6fm0snm] {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: var(--space-sm) var(--space-md);
    margin: 0;
}

.gallery-rx dt[b-5gb6fm0snm] {
    color: var(--color-text-muted);
    font-weight: var(--weight-medium);
}

.gallery-rx dd[b-5gb6fm0snm] {
    margin: 0;
    font-weight: var(--weight-semibold);
}
/* /Components/Pages/Frames/FrameDetailPage.razor.rz.scp.css */
.detail-grid[b-66zr7k49g2] {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.detail-grid > :first-child[b-66zr7k49g2] {
    grid-row: span 2;
}

.detail-photo[b-66zr7k49g2] {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    background: var(--color-surface-sunken);
    overflow: hidden;
}

.detail-photo img[b-66zr7k49g2] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.detail-photo[b-66zr7k49g2]  .photo-none {
    color: var(--color-text-subtle);
}

.stock-count[b-66zr7k49g2] {
    margin: 0 0 var(--space-md);
    font-size: var(--text-lg);
}

.facts[b-66zr7k49g2] {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: var(--space-xs) var(--space-md);
    margin: 0 0 var(--space-md);
}

.facts dt[b-66zr7k49g2] {
    color: var(--color-text-muted);
}

.facts dd[b-66zr7k49g2] {
    margin: 0;
}

@media (max-width: 1024px) {
    .detail-grid[b-66zr7k49g2] {
        grid-template-columns: 1fr;
    }

    .detail-grid > :first-child[b-66zr7k49g2] {
        grid-row: auto;
    }
}
/* /Components/Pages/Frames/FrameEdit.razor.rz.scp.css */
[b-gxn1wymwyz] .frame-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.photo-row[b-gxn1wymwyz] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: center;
}

.photo-preview[b-gxn1wymwyz] {
    display: grid;
    place-items: center;
    width: 12rem;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface-sunken);
    overflow: hidden;
}

.photo-preview img[b-gxn1wymwyz] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.photo-preview[b-gxn1wymwyz]  .photo-none {
    color: var(--color-text-subtle);
}

.size-grid[b-gxn1wymwyz] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 8rem)) auto;
    gap: var(--space-md);
    align-items: center;
}

.size-preview[b-gxn1wymwyz] {
    margin: 0;
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
}

@media (max-width: 640px) {
    .size-grid[b-gxn1wymwyz] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .size-preview[b-gxn1wymwyz] {
        grid-column: 1 / -1;
    }
}
/* /Components/Pages/Frames/FrameList.razor.rz.scp.css */
.tabs[b-77wya8j41p] {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
    overflow-x: auto;
}

.tab[b-77wya8j41p] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: var(--touch-target);
    padding: 0 var(--space-md);
    border: 0;
    border-bottom: 3px solid transparent;
    background: none;
    color: var(--color-text-muted);
    font: inherit;
    font-weight: var(--weight-medium);
    cursor: pointer;
    transition: color var(--duration-fast) var(--easing-standard), border-color var(--duration-fast) var(--easing-standard);
}

.tab:hover[b-77wya8j41p] {
    color: var(--color-text);
}

.tab.is-active[b-77wya8j41p] {
    color: var(--color-primary-strong);
    border-bottom-color: var(--color-primary);
}

.tab:focus-visible[b-77wya8j41p],
.chip:focus-visible[b-77wya8j41p],
.frame-card:focus-visible[b-77wya8j41p] {
    outline: var(--focus-ring-width) solid var(--color-focus);
    outline-offset: 2px;
}

.tab-count[b-77wya8j41p] {
    padding: 0 var(--space-xs);
    border-radius: var(--radius-full);
    background: var(--color-warning-soft);
    color: var(--color-warning-text);
    font-size: var(--text-xs);
}

.toolbar[b-77wya8j41p] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
}

.search[b-77wya8j41p] {
    position: relative;
    flex: 1 1 16rem;
}

.search .input[b-77wya8j41p] {
    width: 100%;
    padding-left: calc(var(--space-md) + 22px);
}

.search[b-77wya8j41p]  .search-icon {
    position: absolute;
    left: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
}

.view-toggle[b-77wya8j41p] {
    display: flex;
    gap: var(--space-xs);
}

.chips[b-77wya8j41p] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.chip-group[b-77wya8j41p] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    align-items: center;
}

.chip-label[b-77wya8j41p] {
    min-width: 5rem;
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.chip[b-77wya8j41p] {
    min-height: var(--touch-target);
    padding: 0 var(--space-md);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-full);
    background: var(--color-surface);
    color: var(--color-text);
    font: inherit;
    font-size: var(--text-sm);
    cursor: pointer;
    transition: background-color var(--duration-fast) var(--easing-standard);
}

.chip:hover[b-77wya8j41p] {
    background: var(--color-surface-hover);
}

.chip.is-on[b-77wya8j41p] {
    border-color: var(--color-primary);
    background: var(--color-primary-soft);
    color: var(--color-primary-strong);
    font-weight: var(--weight-semibold);
}

.frame-grid[b-77wya8j41p] {
    list-style: none;
    margin: var(--space-md) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
    gap: var(--space-md);
}

.frame-card[b-77wya8j41p] {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    color: var(--color-text);
    text-decoration: none;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: box-shadow var(--duration-fast) var(--easing-standard);
}

.frame-card:hover[b-77wya8j41p] {
    box-shadow: var(--shadow-md);
}

.frame-photo[b-77wya8j41p] {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    background: var(--color-surface-sunken);
}

.frame-photo img[b-77wya8j41p] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.frame-photo[b-77wya8j41p]  .frame-photo-none {
    color: var(--color-text-subtle);
}

.frame-body[b-77wya8j41p] {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md) var(--space-md);
    font-size: var(--text-sm);
}

.frame-name[b-77wya8j41p] {
    font-weight: var(--weight-semibold);
    font-size: var(--text-base);
}

.frame-foot[b-77wya8j41p] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-xs);
    margin-top: auto;
    padding-top: var(--space-xs);
}

.frame-price[b-77wya8j41p] {
    font-weight: var(--weight-semibold);
}

.pad[b-77wya8j41p] {
    padding: var(--space-md);
}

@media (max-width: 640px) {
    .frame-grid[b-77wya8j41p] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-sm);
    }
}

@media (prefers-reduced-motion: reduce) {
    .tab[b-77wya8j41p],
    .chip[b-77wya8j41p],
    .frame-card[b-77wya8j41p] {
        transition: none;
    }
}
/* /Components/Pages/Frames/FrameTable.razor.rz.scp.css */
.frame-link[b-evjv4g0u5p] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text);
    text-decoration: none;
}

.frame-link:hover strong[b-evjv4g0u5p] {
    text-decoration: underline;
}

.row-thumb[b-evjv4g0u5p] {
    width: 48px;
    height: 32px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: var(--color-surface-sunken);
}
/* /Components/Pages/Frames/SpecialOrders.razor.rz.scp.css */
.picked[b-cnx4cy0mck] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: var(--touch-target);
}

.results[b-cnx4cy0mck] {
    list-style: none;
    margin: var(--space-xs) 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.result[b-cnx4cy0mck] {
    min-height: var(--touch-target);
    padding: 0 var(--space-md);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-full);
    background: var(--color-surface);
    color: var(--color-text);
    font: inherit;
    cursor: pointer;
    transition: background-color var(--duration-fast) var(--easing-standard);
}

.result:hover[b-cnx4cy0mck] {
    background: var(--color-surface-hover);
}

.result:focus-visible[b-cnx4cy0mck] {
    outline: var(--focus-ring-width) solid var(--color-focus);
    outline-offset: 2px;
}

.form-error[b-cnx4cy0mck] {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin: 0;
    color: var(--color-danger-text);
    font-size: var(--text-sm);
}

@media (prefers-reduced-motion: reduce) {
    .result[b-cnx4cy0mck] {
        transition: none;
    }
}
/* /Components/Pages/Frames/StockMoveModal.razor.rz.scp.css */
.bulk-line[b-woltcp7s4v] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 7rem auto;
    gap: var(--space-sm);
    align-items: end;
}

.form-error[b-woltcp7s4v] {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin: 0;
    color: var(--color-danger-text);
    font-size: var(--text-sm);
}

@media (max-width: 640px) {
    .bulk-line[b-woltcp7s4v] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Identity/AccountPage.razor.rz.scp.css */
.account-page[b-wzjt40psmj] {
    max-width: 40rem;
}

.account-saved[b-wzjt40psmj] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0;
    color: var(--color-success);
}

.account-error[b-wzjt40psmj] {
    margin: 0;
    color: var(--color-danger);
}
/* /Components/Pages/Identity/ChangePasswordPage.razor.rz.scp.css */
.password-page[b-n9gb31929e] {
    max-width: 32rem;
}

.password-error[b-n9gb31929e] {
    margin: 0;
    color: var(--color-danger);
}
/* /Components/Pages/Identity/Login.razor.rz.scp.css */
.login-page[b-s3ngan4l9u] {
    display: grid;
    place-items: center;
    min-height: 100dvh;
    padding: var(--space-lg) var(--space-md);
    background:
        radial-gradient(circle at 15% 10%, var(--color-primary-soft), transparent 45%),
        var(--color-page);
}

.login-card[b-s3ngan4l9u] {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    width: 100%;
    max-width: 420px;
    padding: var(--space-xl);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.login-brand[b-s3ngan4l9u] {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.login-mark[b-s3ngan4l9u] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    background: var(--color-primary-strong);
    color: var(--color-on-primary);
}

.login-product[b-s3ngan4l9u] {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    line-height: var(--leading-tight);
}

.login-clinic[b-s3ngan4l9u] {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.login-title[b-s3ngan4l9u] {
    font-size: var(--text-2xl);
}

.login-form[b-s3ngan4l9u] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-field[b-s3ngan4l9u] {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.login-label[b-s3ngan4l9u] {
    font-weight: var(--weight-medium);
}

.login-error[b-s3ngan4l9u] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    background: var(--color-danger-soft);
    color: var(--color-danger-text);
    font-weight: var(--weight-medium);
}

@media (max-width: 479.98px) {
    .login-card[b-s3ngan4l9u] {
        padding: var(--space-lg);
    }
}
/* /Components/Pages/LabOrders/OrderBoard.razor.rz.scp.css */
.board-empty-line[b-w86ldyef52] {
    padding: var(--space-md);
    margin: 0;
}

.order-lines[b-w86ldyef52] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.order-lines li[b-w86ldyef52] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-top: 1px solid var(--color-border);
}

.order-lines li:first-child[b-w86ldyef52] {
    border-top: none;
}

.board-filter[b-w86ldyef52] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.board-columns[b-w86ldyef52] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    gap: var(--space-md);
    align-items: start;
}

.board-column[b-w86ldyef52] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--color-surface-sunken);
    border-radius: var(--radius-lg);
}

.board-column-head h2[b-w86ldyef52] {
    margin: 0;
    font-size: var(--text-lg);
}

.board-list[b-w86ldyef52] {
    display: none;
    flex-direction: column;
    gap: var(--space-sm);
}

.order-card[b-w86ldyef52] {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-md);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    min-height: 44px;
}

.order-card:hover[b-w86ldyef52] {
    background: var(--color-surface-hover);
}

.order-card.is-overdue[b-w86ldyef52] {
    border-color: var(--color-danger);
}

.order-card-top[b-w86ldyef52] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-sm);
}

.order-number[b-w86ldyef52] {
    font-family: var(--font-mono);
}

.order-due[b-w86ldyef52] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.overdue[b-w86ldyef52] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-danger-text);
    font-weight: 600;
}

@media (max-width: 767px) {
    .board-columns[b-w86ldyef52] {
        display: none;
    }

    .board-list[b-w86ldyef52] {
        display: flex;
    }
}
/* /Components/Pages/LabOrders/OrderDetail.razor.rz.scp.css */
.order-status[b-6sd4159kzn] {
    margin-bottom: var(--space-md);
}

.overdue[b-6sd4159kzn] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-danger-text);
    font-weight: 600;
}

.stepper[b-6sd4159kzn] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-md);
    list-style: none;
    margin: 0 0 var(--space-lg);
    padding: 0;
}

.step[b-6sd4159kzn] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-text-subtle);
    font-size: var(--text-sm);
}

.step-dot[b-6sd4159kzn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: var(--radius-full);
    border: 2px solid var(--color-border-strong);
}

.step-done[b-6sd4159kzn] {
    color: var(--color-text-muted);
}

.step-done .step-dot[b-6sd4159kzn] {
    background: var(--color-success);
    border-color: var(--color-success);
    color: var(--color-on-success);
}

.step-current[b-6sd4159kzn] {
    color: var(--color-text);
    font-weight: 600;
}

.step-current .step-dot[b-6sd4159kzn] {
    border-color: var(--color-primary);
    background: var(--color-primary-soft);
}

.remake-note[b-6sd4159kzn] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs);
    margin: 0 0 var(--space-md);
}

.order-layout[b-6sd4159kzn] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-lg);
    align-items: start;
}

.history[b-6sd4159kzn] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.sheet-preview[b-6sd4159kzn] {
    font-size: var(--text-sm);
}

.sheet-preview[b-6sd4159kzn]  h2,
.sheet-preview[b-6sd4159kzn]  h3,
.sheet-preview[b-6sd4159kzn]  h4 {
    margin: var(--space-sm) 0 var(--space-xs);
}

.sheet-preview[b-6sd4159kzn]  ul {
    margin: 0;
    padding-left: var(--space-md);
}

.sheet-preview[b-6sd4159kzn]  dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-xs) var(--space-md);
    margin: 0;
}

.sheet-preview[b-6sd4159kzn]  dd {
    margin: 0;
}

.sheet-preview[b-6sd4159kzn]  footer {
    margin-top: var(--space-md);
    font-weight: 600;
}

@media (max-width: 1023px) {
    .order-layout[b-6sd4159kzn] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media print {
    .no-print[b-6sd4159kzn] {
        display: none;
    }

    .order-layout[b-6sd4159kzn] {
        display: block;
    }
}
/* /Components/Pages/LabOrders/TodayLabOrderCards.razor.rz.scp.css */
.today-orders[b-l45xe521zr] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.today-orders li[b-l45xe521zr] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs) var(--space-sm);
    padding: var(--space-sm) 0;
    border-top: 1px solid var(--color-border);
    min-height: 44px;
}

.today-orders li:first-child[b-l45xe521zr] {
    border-top: none;
}

.overdue[b-l45xe521zr] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    margin-left: auto;
    color: var(--color-danger-text);
    font-weight: 600;
}
/* /Components/Pages/Messaging/Messages.razor.rz.scp.css */
.message-filters[b-pmtt730c64] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: var(--space-md);
}

.message-scope[b-pmtt730c64] {
    margin: var(--space-sm) 0 0;
    color: var(--color-text-muted);
}

.messages-loading[b-pmtt730c64] {
    padding: var(--space-md);
    color: var(--color-text-muted);
}

.message-text[b-pmtt730c64] {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    max-width: 32rem;
}

.message-kind[b-pmtt730c64] {
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
}

.message-body[b-pmtt730c64] {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.message-status[b-pmtt730c64] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
}

.message-error[b-pmtt730c64] {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    max-width: 16rem;
}
/* /Components/Pages/Messaging/SendMessageModal.razor.rz.scp.css */
.send-form[b-66t2nx3xp3] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.send-row[b-66t2nx3xp3] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: var(--space-md);
}

.send-body[b-66t2nx3xp3] {
    min-height: 7rem;
    resize: vertical;
}

.picked-patient[b-66t2nx3xp3] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: var(--touch-target);
    padding: 0 var(--space-md);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-md);
    background: var(--color-surface-sunken);
}

.picked-name[b-66t2nx3xp3] {
    flex: 1;
    font-weight: var(--weight-semibold);
}

.patient-results[b-66t2nx3xp3],
.placeholder-chips[b-66t2nx3xp3] {
    list-style: none;
    margin: var(--space-xs) 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.patient-option[b-66t2nx3xp3],
.placeholder-chip[b-66t2nx3xp3] {
    min-height: var(--touch-target);
    padding: 0 var(--space-md);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-full);
    background: var(--color-surface);
    color: var(--color-text);
    font: inherit;
    cursor: pointer;
    transition: background-color var(--duration-fast) var(--easing-standard);
}

.placeholder-chip[b-66t2nx3xp3] {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
}

.patient-option:hover[b-66t2nx3xp3],
.placeholder-chip:hover[b-66t2nx3xp3] {
    background: var(--color-surface-hover);
}

.patient-option:focus-visible[b-66t2nx3xp3],
.placeholder-chip:focus-visible[b-66t2nx3xp3] {
    outline: var(--focus-ring-width) solid var(--color-focus);
    outline-offset: 2px;
}

.patient-none[b-66t2nx3xp3] {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.send-preview[b-66t2nx3xp3] {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    background: var(--color-surface-sunken);
}

.send-preview-title[b-66t2nx3xp3] {
    margin: 0 0 var(--space-xs);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.send-preview-body[b-66t2nx3xp3] {
    margin: 0;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
    .patient-option[b-66t2nx3xp3],
    .placeholder-chip[b-66t2nx3xp3] {
        transition: none;
    }
}
/* /Components/Pages/Patients/PatientDetail.razor.rz.scp.css */
.patient-meta[b-zezvealqsy] {
    margin: calc(-1 * var(--space-sm)) 0 var(--space-lg);
}

.patient-phone[b-zezvealqsy] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: var(--touch-target);
    color: var(--color-primary-strong);
    font-weight: var(--weight-semibold);
    text-decoration: none;
}

.patient-layout[b-zezvealqsy] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: var(--space-lg);
    align-items: start;
}

.patient-side[b-zezvealqsy] {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

@media (max-width: 1023.98px) {
    .patient-layout[b-zezvealqsy] {
        grid-template-columns: minmax(0, 1fr);
    }
}

.timeline[b-zezvealqsy],
.timeline-entries[b-zezvealqsy] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.timeline-day + .timeline-day[b-zezvealqsy] {
    margin-top: var(--space-lg);
}

.timeline-date[b-zezvealqsy] {
    margin: 0 0 var(--space-sm);
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
}

.timeline-entry[b-zezvealqsy] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: var(--space-md);
    align-items: start;
    padding: var(--space-sm) 0;
    border-left: 2px solid var(--color-border);
    padding-left: var(--space-md);
    margin-left: var(--space-md);
}

.timeline-icon[b-zezvealqsy] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-left: calc(-1 * var(--space-md) - 17px);
    border-radius: var(--radius-full);
    background: var(--color-neutral-soft);
    color: var(--color-neutral-text);
}

.timeline-icon.tone-info[b-zezvealqsy] { background: var(--color-primary-soft); color: var(--color-info-text); }
.timeline-icon.tone-success[b-zezvealqsy] { background: var(--color-success-soft); color: var(--color-success-strong); }
.timeline-icon.tone-warning[b-zezvealqsy] { background: var(--color-warning-soft); color: var(--color-warning-text); }
.timeline-icon.tone-danger[b-zezvealqsy] { background: var(--color-danger-soft); color: var(--color-danger-text); }

/* Padded to a full touch target so the links are tappable at 390px. */
.timeline-title[b-zezvealqsy],
.detail-phone[b-zezvealqsy] {
    display: flex;
    align-items: center;
    width: fit-content;
    min-height: var(--touch-target);
    padding-block: var(--space-sm);
}

.timeline-title[b-zezvealqsy] {
    color: var(--color-text);
    font-weight: var(--weight-semibold);
    text-decoration: none;
}

.timeline-title:hover[b-zezvealqsy] {
    color: var(--color-primary-strong);
    text-decoration: underline;
}

.timeline-summary[b-zezvealqsy] {
    margin: var(--space-xs) 0 0;
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.timeline-time[b-zezvealqsy] {
    font-size: var(--text-sm);
}

.detail-list[b-zezvealqsy] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--space-sm) var(--space-md);
    margin: 0;
}

.detail-list dt[b-zezvealqsy] {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.detail-list dd[b-zezvealqsy] {
    margin: 0;
    overflow-wrap: anywhere;
}

.detail-list a[b-zezvealqsy],
.consent-channel strong[b-zezvealqsy] {
    color: var(--color-primary-strong);
}

.consent-channel[b-zezvealqsy] {
    margin: 0 0 var(--space-sm);
}

.patient-notes[b-zezvealqsy] {
    margin: 0;
    white-space: pre-line;
}

.recall-row[b-zezvealqsy] {
    display: flex;
    align-items: flex-end;
    gap: var(--space-sm);
}

.recall-row[b-zezvealqsy]  .form-field {
    flex: 1;
}
/* /Components/Pages/Patients/PatientForm.razor.rz.scp.css */
.patient-form[b-je9juey9y5] {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    max-width: 960px;
}

.form-grid[b-je9juey9y5] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: var(--space-md) var(--space-lg);
}

.form-grid-wide[b-je9juey9y5] {
    grid-column: 1 / -1;
}

.channel-group[b-je9juey9y5] {
    margin: 0 0 var(--space-md);
    padding: 0;
    border: 0;
}

.channel-group legend[b-je9juey9y5] {
    margin-bottom: var(--space-sm);
    font-weight: var(--weight-medium);
}

.channel-group .field-error:empty[b-je9juey9y5] {
    display: none;
}

.channel-group .validation-message[b-je9juey9y5] {
    display: block;
    margin-top: var(--space-xs);
    color: var(--color-danger-text);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
}

.channel-option[b-je9juey9y5] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: var(--touch-target);
    padding: 0 var(--space-md);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-full);
    background: var(--color-surface);
    cursor: pointer;
    transition: border-color var(--duration-fast) var(--easing-standard),
        background-color var(--duration-fast) var(--easing-standard);
}

.channel-option:hover[b-je9juey9y5] {
    background: var(--color-surface-hover);
}

.channel-option.is-selected[b-je9juey9y5] {
    border-color: var(--color-primary-strong);
    background: var(--color-primary-soft);
    font-weight: var(--weight-semibold);
}

.channel-option input[b-je9juey9y5] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary-strong);
}

.channel-option:focus-within[b-je9juey9y5] {
    outline: var(--focus-ring-width) solid var(--color-focus);
    outline-offset: 2px;
}

.consent-group .checkbox[b-je9juey9y5] {
    align-items: flex-start;
    padding-top: var(--space-sm);
}

.consent-group .checkbox input[b-je9juey9y5] {
    flex: none;
    margin-top: 2px;
}

.consent-note[b-je9juey9y5] {
    font-size: var(--text-sm);
}

.form-actions[b-je9juey9y5] {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-sm);
    position: sticky;
    bottom: 0;
    padding: var(--space-md) 0;
    background: var(--color-page);
}

@media (max-width: 767.98px) {
    .form-actions[b-je9juey9y5] {
        bottom: var(--bottomnav-height);
    }

    .form-actions[b-je9juey9y5]  .btn {
        flex: 1;
    }
}
/* /Components/Pages/Patients/PatientList.razor.rz.scp.css */
.patient-search[b-3y6e33z6pt] {
    position: relative;
    margin-bottom: var(--space-lg);
}

.patient-search-icon[b-3y6e33z6pt] {
    position: absolute;
    top: 50%;
    left: var(--space-md);
    transform: translateY(-50%);
    display: inline-flex;
    color: var(--color-text-muted);
    pointer-events: none;
}

.patient-search-input[b-3y6e33z6pt] {
    padding-left: calc(var(--space-md) * 2 + 20px);
    font-size: var(--text-lg);
}

.patient-list-status[b-3y6e33z6pt] {
    padding: var(--space-lg);
    text-align: center;
}

.patient-name[b-3y6e33z6pt] {
    color: var(--color-primary-strong);
    font-weight: var(--weight-semibold);
    text-decoration: none;
}

.patient-name:hover[b-3y6e33z6pt] {
    text-decoration: underline;
}
/* /Components/Pages/Scheduling/AppointmentNew.razor.rz.scp.css */
.booking-form[b-1l11s0x6sn] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: 40rem;
}

.booking-row[b-1l11s0x6sn] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
    gap: var(--space-md);
}

.picked-patient[b-1l11s0x6sn] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: var(--touch-target);
    padding: 0 var(--space-md);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-md);
    background: var(--color-surface-sunken);
}

.picked-name[b-1l11s0x6sn] {
    flex: 1;
    font-weight: var(--weight-semibold);
}

.patient-results[b-1l11s0x6sn] {
    list-style: none;
    margin: var(--space-xs) 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.patient-option[b-1l11s0x6sn] {
    min-height: var(--touch-target);
    padding: 0 var(--space-md);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-full);
    background: var(--color-surface);
    color: var(--color-text);
    font: inherit;
    cursor: pointer;
    transition: background-color var(--duration-fast) var(--easing-standard);
}

.patient-option:hover[b-1l11s0x6sn] {
    background: var(--color-surface-hover);
}

.patient-option:focus-visible[b-1l11s0x6sn] {
    outline: var(--focus-ring-width) solid var(--color-focus);
    outline-offset: 2px;
}

.patient-none[b-1l11s0x6sn] {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.booking-actions[b-1l11s0x6sn] {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-sm);
}

@media (prefers-reduced-motion: reduce) {
    .patient-option[b-1l11s0x6sn] {
        transition: none;
    }
}
/* /Components/Pages/Scheduling/Appointments.razor.rz.scp.css */
.schedule-toolbar[b-tn7c48th0y] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.schedule-nav[b-tn7c48th0y] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
}

.schedule-date[b-tn7c48th0y] {
    width: auto;
}

.schedule-views[b-tn7c48th0y] {
    display: inline-flex;
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.view-toggle[b-tn7c48th0y] {
    display: inline-flex;
    align-items: center;
    min-height: var(--touch-target);
    padding: 0 var(--space-md);
    color: var(--color-text);
    text-decoration: none;
    font-weight: var(--weight-medium);
    transition: background-color var(--duration-fast) var(--easing-standard);
}

.view-toggle:hover[b-tn7c48th0y] {
    background: var(--color-surface-hover);
}

.view-toggle.is-active[b-tn7c48th0y] {
    background: var(--color-primary-strong);
    color: var(--color-on-primary);
}

.schedule-loading[b-tn7c48th0y] {
    color: var(--color-text-muted);
}

/* ---------- Day grid ---------- */
.day-grid[b-tn7c48th0y] {
    position: relative;
    margin: var(--space-sm) var(--space-md) var(--space-md) 0;
}

.day-slot[b-tn7c48th0y] {
    position: absolute;
    left: 0;
    right: 0;
    display: block;
    border-top: 1px solid var(--color-border);
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--duration-fast) var(--easing-standard);
}

.day-slot:hover[b-tn7c48th0y] {
    background: var(--color-surface-hover);
}

.day-slot-label[b-tn7c48th0y] {
    display: inline-block;
    width: 4rem;
    padding: var(--space-xs) var(--space-sm);
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    font-variant-numeric: tabular-nums;
}

.day-block[b-tn7c48th0y],
.week-block[b-tn7c48th0y] {
    display: flex;
    gap: var(--space-sm);
    text-align: left;
    border: 1px solid var(--color-border-strong);
    border-left-width: 4px;
    border-radius: var(--radius-md);
    background: var(--color-surface);
    color: var(--color-text);
    font: inherit;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--duration-fast) var(--easing-standard);
}

.day-block:hover[b-tn7c48th0y],
.week-block:hover[b-tn7c48th0y] {
    box-shadow: var(--shadow-md);
}

.day-block:focus-visible[b-tn7c48th0y],
.week-block:focus-visible[b-tn7c48th0y] {
    outline: var(--focus-ring-width) solid var(--color-focus);
    outline-offset: 2px;
}

.day-block[b-tn7c48th0y] {
    position: absolute;
    left: 4.5rem;
    right: 0;
    z-index: var(--z-base);
    align-items: flex-start;
    justify-content: space-between;
    min-height: var(--touch-target);
    padding: var(--space-xs) var(--space-sm);
    overflow: hidden;
}

.block-main[b-tn7c48th0y] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

/* Lines stack; a short block shows what fits and cuts the rest with an ellipsis rather than wrapping out of the box. */
.day-block .block-main > span[b-tn7c48th0y] {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.block-time[b-tn7c48th0y] {
    font-variant-numeric: tabular-nums;
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.block-name[b-tn7c48th0y] {
    font-weight: var(--weight-semibold);
}

.block-type[b-tn7c48th0y],
.block-status[b-tn7c48th0y] {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.tone-info[b-tn7c48th0y] { border-left-color: var(--color-primary); }
.tone-warning[b-tn7c48th0y] { border-left-color: var(--color-warning); }
.tone-success[b-tn7c48th0y] { border-left-color: var(--color-success); }
.tone-danger[b-tn7c48th0y] { border-left-color: var(--color-danger); }
.tone-neutral[b-tn7c48th0y] { border-left-color: var(--color-border-strong); }

.cancelled-list[b-tn7c48th0y] {
    margin: 0;
    padding-left: var(--space-lg);
    color: var(--color-text-muted);
}

/* ---------- Week grid ---------- */
.week-scroll[b-tn7c48th0y] {
    overflow-x: auto;
}

.week-grid[b-tn7c48th0y] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.week-day[b-tn7c48th0y] {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    min-height: 12rem;
    padding: var(--space-sm);
    border-right: 1px solid var(--color-border);
}

.week-day:last-child[b-tn7c48th0y] {
    border-right: none;
}

.week-day.is-today[b-tn7c48th0y] {
    background: var(--color-primary-soft);
}

.week-day-head[b-tn7c48th0y] {
    display: flex;
    align-items: center;
    min-height: var(--touch-target);
    font-weight: var(--weight-semibold);
    color: var(--color-primary-strong);
    text-decoration: none;
}

.week-empty[b-tn7c48th0y] {
    margin: 0;
    color: var(--color-text-subtle);
    font-size: var(--text-sm);
}

.week-block[b-tn7c48th0y] {
    flex-direction: column;
    gap: 0;
    min-height: var(--touch-target);
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--text-sm);
}

@media (max-width: 767px) {
    .week-grid[b-tn7c48th0y] {
        grid-template-columns: repeat(7, 9.5rem);
    }
}

/* ---------- Bottom sheet ---------- */
.sheet[b-tn7c48th0y] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.sheet-when[b-tn7c48th0y],
.sheet-notes[b-tn7c48th0y] {
    margin: 0;
}

.sheet-notes[b-tn7c48th0y] {
    color: var(--color-text-muted);
}

.sheet-form[b-tn7c48th0y] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.sheet-actions[b-tn7c48th0y] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: var(--space-sm);
}

.sheet-actions-grid[b-tn7c48th0y] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (prefers-reduced-motion: reduce) {
    .day-slot[b-tn7c48th0y],
    .day-block[b-tn7c48th0y],
    .week-block[b-tn7c48th0y],
    .view-toggle[b-tn7c48th0y] {
        transition: none;
    }
}
/* /Components/Pages/Scheduling/Recalls.razor.rz.scp.css */
.recalls-loading[b-6zotzleu16] {
    padding: var(--space-md);
    color: var(--color-text-muted);
}

.recall-overdue[b-6zotzleu16] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-warning-text);
    font-weight: var(--weight-medium);
}

.recall-actions[b-6zotzleu16] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}
/* /Components/Pages/Scheduling/TodayAppointmentsCard.razor.rz.scp.css */
.today-loading[b-7qu24c7fd2] {
    color: var(--color-text-muted);
}

.today-list[b-7qu24c7fd2] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.today-list li + li[b-7qu24c7fd2] {
    border-top: 1px solid var(--color-border);
}

.today-row[b-7qu24c7fd2] {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    min-height: var(--row-height);
    padding: var(--space-xs) 0;
    color: var(--color-text);
    text-decoration: none;
    transition: background-color var(--duration-fast) var(--easing-standard);
}

.today-row:hover[b-7qu24c7fd2] {
    background: var(--color-surface-hover);
}

.today-time[b-7qu24c7fd2] {
    font-variant-numeric: tabular-nums;
    font-weight: var(--weight-semibold);
    min-width: 3.5rem;
}

.today-who[b-7qu24c7fd2] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.today-name[b-7qu24c7fd2] {
    font-weight: var(--weight-medium);
}

.today-type[b-7qu24c7fd2] {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}
/* /Components/Pages/Settings/SettingsAssistant.razor.rz.scp.css */
.test-fields[b-0nx5d0zjcw] {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: var(--space-xs) var(--space-md);
    margin: 0;
}

.test-fields div[b-0nx5d0zjcw] {
    display: contents;
}

.test-fields dt[b-0nx5d0zjcw] {
    color: var(--color-text-muted);
}

.test-fields dd[b-0nx5d0zjcw] {
    margin: 0;
    white-space: pre-wrap;
}

.test-warnings[b-0nx5d0zjcw] {
    margin: 0;
    padding: var(--space-sm) var(--space-md);
    list-style: none;
    background: var(--color-warning-soft);
    border-radius: var(--radius-md);
    color: var(--color-warning-text);
}

.test-warnings li[b-0nx5d0zjcw] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}
/* /Components/Pages/Settings/SettingsFrame.razor.rz.scp.css */
.settings-frame[b-zd7cb661ik] {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: var(--space-lg);
    align-items: start;
}

.settings-nav[b-zd7cb661ik] {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    position: sticky;
    top: calc(var(--topbar-height) + var(--space-md));
}

.settings-nav-link[b-zd7cb661ik] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: var(--touch-target);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    color: var(--color-text-muted);
    font-weight: var(--weight-medium);
    text-decoration: none;
    transition: background-color var(--duration-fast) var(--easing-standard),
        color var(--duration-fast) var(--easing-standard);
}

.settings-nav-link:hover[b-zd7cb661ik] {
    background: var(--color-surface-hover);
    color: var(--color-text);
    text-decoration: none;
}

.settings-nav-link.is-active[b-zd7cb661ik] {
    background: var(--color-primary-soft);
    color: var(--color-primary-strong);
    font-weight: var(--weight-semibold);
}

.settings-content[b-zd7cb661ik] {
    min-width: 0;
}

@media (max-width: 767.98px) {
    .settings-frame[b-zd7cb661ik] {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--space-md);
    }

    .settings-nav[b-zd7cb661ik] {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        gap: var(--space-xs);
        border-bottom: 1px solid var(--color-border);
        scrollbar-width: none;
    }

    .settings-nav-link[b-zd7cb661ik] {
        flex: 0 0 auto;
        border-radius: var(--radius-md) var(--radius-md) 0 0;
        border-bottom: 2px solid transparent;
    }

    .settings-nav-link.is-active[b-zd7cb661ik] {
        background: transparent;
        border-bottom-color: var(--color-primary-strong);
    }
}
/* /Components/Pages/Settings/SettingsStaff.razor.rz.scp.css */
.staff-confirm[b-9it8cr8fgi] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-warning-soft);
    border-bottom: 1px solid var(--color-border);
}

.staff-confirm p[b-9it8cr8fgi] {
    margin: 0;
}

.role-list[b-9it8cr8fgi] {
    margin: 0;
    padding-left: var(--space-lg);
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.temp-password[b-9it8cr8fgi] {
    font-family: var(--font-mono, monospace);
    font-size: var(--text-lg);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-surface-sunken, var(--color-primary-soft));
    border-radius: var(--radius-md);
    user-select: all;
}

.form-error[b-9it8cr8fgi] {
    margin: 0;
    color: var(--color-danger);
}
/* /Components/Pages/Settings/TemplateCard.razor.rz.scp.css */
.template-tabs[b-q3ij7qhbvi] {
    display: flex;
    gap: var(--space-xs);
    border-bottom: 1px solid var(--color-border);
}

.template-tab[b-q3ij7qhbvi] {
    min-height: var(--touch-target);
    padding: var(--space-sm) var(--space-md);
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    color: var(--color-text-muted);
    font-weight: var(--weight-medium);
    cursor: pointer;
}

.template-tab:hover[b-q3ij7qhbvi] {
    color: var(--color-text);
}

.template-tab.is-active[b-q3ij7qhbvi] {
    color: var(--color-primary-strong);
    border-bottom-color: var(--color-primary-strong);
    font-weight: var(--weight-semibold);
}

.template-dirty[b-q3ij7qhbvi] {
    margin-left: var(--space-xs);
    color: var(--color-warning);
}

.template-chip[b-q3ij7qhbvi] {
    min-height: var(--touch-target);
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-full);
    background: var(--color-surface-sunken);
    color: var(--color-text);
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    cursor: pointer;
}

.template-chip:hover[b-q3ij7qhbvi] {
    background: var(--color-primary-soft);
    border-color: var(--color-primary);
}

.template-count[b-q3ij7qhbvi] {
    font-size: var(--text-sm);
}

.template-preview[b-q3ij7qhbvi] {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    background: var(--color-surface-sunken);
    border-left: 3px solid var(--color-primary);
}

.template-preview-label[b-q3ij7qhbvi] {
    margin-bottom: var(--space-xs);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.template-preview-body[b-q3ij7qhbvi] {
    white-space: pre-wrap;
}
/* /Components/Shared/AppButton.razor.rz.scp.css */
.btn[b-c9zua7ys2x] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    min-height: var(--touch-target);
    padding: 0 var(--space-md);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color var(--duration-fast) var(--easing-standard),
        border-color var(--duration-fast) var(--easing-standard),
        color var(--duration-fast) var(--easing-standard),
        box-shadow var(--duration-fast) var(--easing-standard);
}

.btn:focus-visible[b-c9zua7ys2x] {
    outline: var(--focus-ring-width) solid var(--color-focus);
    outline-offset: 2px;
}

.btn:disabled[b-c9zua7ys2x] {
    cursor: not-allowed;
    opacity: 0.6;
}

.btn.is-loading[b-c9zua7ys2x] {
    cursor: progress;
    opacity: 0.85;
}

.btn-sm[b-c9zua7ys2x] { padding: 0 var(--space-sm); font-size: var(--text-sm); gap: var(--space-xs); }
.btn-md[b-c9zua7ys2x] { padding: 0 var(--space-md); }
.btn-lg[b-c9zua7ys2x] { min-height: 52px; padding: 0 var(--space-lg); font-size: var(--text-lg); }
.btn-block[b-c9zua7ys2x] { width: 100%; }

.btn-primary[b-c9zua7ys2x] {
    background: var(--color-primary-strong);
    color: var(--color-on-primary);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover:not(:disabled)[b-c9zua7ys2x] {
    background: var(--color-primary-strong-hover);
    color: var(--color-on-primary);
}

.btn-confirm[b-c9zua7ys2x] {
    background: var(--color-success-strong);
    color: var(--color-on-success);
    box-shadow: var(--shadow-sm);
}

.btn-confirm:hover:not(:disabled)[b-c9zua7ys2x] {
    background: var(--color-success-strong-hover);
    color: var(--color-on-success);
}

.btn-secondary[b-c9zua7ys2x] {
    background: var(--color-surface);
    border-color: var(--color-border-strong);
    color: var(--color-text);
}

.btn-secondary:hover:not(:disabled)[b-c9zua7ys2x] {
    background: var(--color-surface-hover);
    border-color: var(--color-primary);
    color: var(--color-text);
}

.btn-ghost[b-c9zua7ys2x] {
    background: transparent;
    color: var(--color-primary-strong);
}

.btn-ghost:hover:not(:disabled)[b-c9zua7ys2x] {
    background: var(--color-primary-soft);
    color: var(--color-primary-strong-hover);
}

.btn-destructive[b-c9zua7ys2x] {
    background: var(--color-danger);
    color: var(--color-on-danger);
    box-shadow: var(--shadow-sm);
}

.btn-destructive:hover:not(:disabled)[b-c9zua7ys2x] {
    background: var(--color-danger-hover);
    color: var(--color-on-danger);
}

.btn-spinner[b-c9zua7ys2x] {
    display: inline-flex;
    line-height: 0;
    animation: btn-spin-b-c9zua7ys2x 900ms linear infinite;
}

@keyframes btn-spin-b-c9zua7ys2x {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .btn-spinner[b-c9zua7ys2x] {
        animation: none;
    }
}
/* /Components/Shared/AppCard.razor.rz.scp.css */
.card[b-tn21i04rra] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.card-header[b-tn21i04rra] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--color-border);
}

.card-heading[b-tn21i04rra] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.card-title[b-tn21i04rra] {
    font-size: var(--text-lg);
}

.card-subtitle[b-tn21i04rra] {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.card-actions[b-tn21i04rra] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.card-body[b-tn21i04rra] {
    flex: 1;
    padding: var(--space-lg);
}

.card-body-flush[b-tn21i04rra] {
    padding: 0;
}

@media (max-width: 639.98px) {
    .card-header[b-tn21i04rra] {
        padding: var(--space-md);
    }

    .card-body[b-tn21i04rra] {
        padding: var(--space-md);
    }

    .card-body-flush[b-tn21i04rra] {
        padding: 0;
    }
}
/* /Components/Shared/AppModal.razor.rz.scp.css */
.modal[b-7v7nxekkqb] {
    width: calc(100% - 2 * var(--space-md));
    max-height: calc(100dvh - 2 * var(--space-xl));
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    background: var(--color-surface);
    color: var(--color-text);
    box-shadow: var(--shadow-xl);
    overflow: auto;
}

.modal-small[b-7v7nxekkqb] { max-width: 400px; }
.modal-medium[b-7v7nxekkqb] { max-width: 560px; }
.modal-large[b-7v7nxekkqb] { max-width: 800px; }

.modal[b-7v7nxekkqb]::backdrop {
    background: var(--color-overlay);
}

.modal[open][b-7v7nxekkqb] {
    animation: modal-in-b-7v7nxekkqb var(--duration-normal) var(--easing-standard);
}

@keyframes modal-in-b-7v7nxekkqb {
    from { transform: translateY(8px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header[b-7v7nxekkqb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-md) var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--color-border);
}

.modal-title[b-7v7nxekkqb] {
    font-size: var(--text-xl);
}

.modal-close[b-7v7nxekkqb] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--touch-target);
    height: var(--touch-target);
    border: 0;
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--color-text-muted);
    transition: background-color var(--duration-fast) var(--easing-standard);
}

.modal-close:hover[b-7v7nxekkqb] {
    background: var(--color-surface-hover);
    color: var(--color-text);
}

.modal-body[b-7v7nxekkqb] {
    padding: var(--space-lg);
}

.modal-actions[b-7v7nxekkqb] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: var(--space-sm);
}

.modal-footer[b-7v7nxekkqb] {
    padding: var(--space-md) var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.modal-dismiss[b-7v7nxekkqb] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-top: 1px solid var(--color-warning);
    background: var(--color-warning-soft);
    color: var(--color-warning-text);
    font-weight: var(--weight-medium);
}
/* /Components/Shared/ConfirmPanel.razor.rz.scp.css */
.confirm-panel[b-yydis59s54] {
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.confirm-header[b-yydis59s54] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--color-border);
}

.confirm-title[b-yydis59s54] {
    font-size: var(--text-lg);
}

.confirm-columns[b-yydis59s54] {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
}

.confirm-heard[b-yydis59s54],
.confirm-proposed[b-yydis59s54] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-lg);
}

.confirm-heard[b-yydis59s54] {
    background: var(--color-surface-sunken);
    border-right: 1px solid var(--color-border);
}

.confirm-label[b-yydis59s54] {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.confirm-transcript[b-yydis59s54] {
    margin: 0;
    padding-left: var(--space-md);
    border-left: 3px solid var(--color-primary);
    font-style: italic;
    white-space: pre-wrap;
}

.confirm-actions[b-yydis59s54] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    border-top: 1px solid var(--color-border);
}

@media (max-width: 767.98px) {
    .confirm-columns[b-yydis59s54] {
        grid-template-columns: minmax(0, 1fr);
    }

    .confirm-heard[b-yydis59s54] {
        border-right: 0;
        border-bottom: 1px solid var(--color-border);
    }

    .confirm-heard[b-yydis59s54],
    .confirm-proposed[b-yydis59s54] {
        padding: var(--space-md);
    }

    .confirm-actions[b-yydis59s54] {
        flex-direction: column-reverse;
        align-items: stretch;
    }
}
/* /Components/Shared/DataTable.razor.rz.scp.css */
.table-wrap[b-bn7geyj714] {
    width: 100%;
    overflow-x: auto;
}

.data-table[b-bn7geyj714] {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-base);
}

.data-table th[b-bn7geyj714] {
    height: var(--row-height);
    padding: 0 var(--space-md);
    background: var(--color-surface-sunken);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    text-align: left;
    white-space: nowrap;
}

.data-table td[b-bn7geyj714] {
    height: var(--row-height);
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid var(--color-border);
    vertical-align: middle;
}

.data-table tbody tr:last-child td[b-bn7geyj714] {
    border-bottom: 0;
}

.data-table .col-num[b-bn7geyj714] {
    text-align: right;
}

.data-table.is-clickable tbody tr[b-bn7geyj714] {
    cursor: pointer;
    transition: background-color var(--duration-fast) var(--easing-standard);
}

.data-table.is-clickable tbody tr:hover[b-bn7geyj714] {
    background: var(--color-surface-hover);
}

.data-table.is-clickable tbody tr:focus-visible[b-bn7geyj714] {
    outline: var(--focus-ring-width) solid var(--color-focus);
    outline-offset: calc(-1 * var(--focus-ring-width));
}

.table-empty-text[b-bn7geyj714] {
    padding: var(--space-lg);
    color: var(--color-text-muted);
    text-align: center;
}

/* Under 768px each row becomes a card of label/value pairs. */
@media (max-width: 767.98px) {
    .data-table thead[b-bn7geyj714] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .data-table[b-bn7geyj714],
    .data-table tbody[b-bn7geyj714],
    .data-table tr[b-bn7geyj714],
    .data-table td[b-bn7geyj714] {
        display: block;
        width: 100%;
    }

    .data-table tr[b-bn7geyj714] {
        padding: var(--space-sm) var(--space-md);
        border-bottom: 1px solid var(--color-border);
    }

    .data-table tbody tr:last-child[b-bn7geyj714] {
        border-bottom: 0;
    }

    .data-table td[b-bn7geyj714] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-md);
        height: auto;
        min-height: 36px;
        padding: var(--space-xs) 0;
        border-bottom: 0;
        text-align: right;
    }

    .data-table td[b-bn7geyj714]::before {
        content: attr(data-label);
        color: var(--color-text-muted);
        font-size: var(--text-sm);
        font-weight: var(--weight-medium);
        text-align: left;
    }
}
/* /Components/Shared/EmptyState.razor.rz.scp.css */
.empty-state[b-64ldnq8y22] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xl) var(--space-md);
    text-align: center;
}

.empty-icon[b-64ldnq8y22] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: var(--space-xs);
    border-radius: var(--radius-full);
    background: var(--color-primary-soft);
    color: var(--color-primary-strong);
}

.empty-title[b-64ldnq8y22] {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
}

.empty-body[b-64ldnq8y22] {
    max-width: 40ch;
    margin-bottom: var(--space-sm);
    color: var(--color-text-muted);
}
/* /Components/Shared/FormField.razor.rz.scp.css */
.form-field[b-i075dfzy2t] {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.field-label[b-i075dfzy2t] {
    font-weight: var(--weight-medium);
}

.field-required[b-i075dfzy2t] {
    margin-left: 2px;
    color: var(--color-danger);
}

.field-help[b-i075dfzy2t] {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.field-error:empty[b-i075dfzy2t] {
    display: none;
}

.field-error[b-i075dfzy2t]  .validation-message,
.field-error .validation-message[b-i075dfzy2t] {
    display: block;
    color: var(--color-danger-text);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
}

.form-field[b-i075dfzy2t]  .invalid,
.has-error[b-i075dfzy2t]  input,
.has-error[b-i075dfzy2t]  select,
.has-error[b-i075dfzy2t]  textarea {
    border-color: var(--color-danger);
}
/* /Components/Shared/Icon.razor.rz.scp.css */
.icon[b-vp4ehu3nix] {
    display: inline-block;
    flex-shrink: 0;
    vertical-align: middle;
}
/* /Components/Shared/PageHeader.razor.rz.scp.css */
.page-header[b-aaqpwk4ul8] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.page-header-text[b-aaqpwk4ul8] {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    min-width: 0;
}

.page-title[b-aaqpwk4ul8] {
    font-size: var(--text-3xl);
    font-weight: var(--weight-bold);
    letter-spacing: -0.015em;
}

.page-title:focus[b-aaqpwk4ul8] {
    outline: none;
}

.page-subtitle[b-aaqpwk4ul8] {
    color: var(--color-text-muted);
}

.page-header-actions[b-aaqpwk4ul8] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

@media (max-width: 639.98px) {
    .page-title[b-aaqpwk4ul8] {
        font-size: var(--text-2xl);
    }
}
/* /Components/Shared/StatusBadge.razor.rz.scp.css */
.badge[b-dv4hrxmk4w] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 24px;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    line-height: 1.25;
    white-space: nowrap;
}

.badge-dot[b-dv4hrxmk4w] {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: currentColor;
}

.badge-neutral[b-dv4hrxmk4w] {
    background: var(--color-neutral-soft);
    color: var(--color-neutral-text);
}

.badge-info[b-dv4hrxmk4w] {
    background: var(--color-primary-soft);
    color: var(--color-info-text);
}

.badge-success[b-dv4hrxmk4w] {
    background: var(--color-success-soft);
    color: var(--color-success-strong);
}

.badge-warning[b-dv4hrxmk4w] {
    background: var(--color-warning-soft);
    color: var(--color-warning-text);
}

.badge-danger[b-dv4hrxmk4w] {
    background: var(--color-danger-soft);
    color: var(--color-danger-text);
}
/* /Components/Shared/Toast.razor.rz.scp.css */
.toast-region[b-u2dj6n6h2j] {
    position: fixed;
    right: var(--space-lg);
    bottom: var(--space-lg);
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    width: min(400px, calc(100% - 2 * var(--space-md)));
    pointer-events: none;
}

.toast[b-u2dj6n6h2j] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-sm) var(--space-sm) var(--space-md);
    border: 1px solid var(--color-border);
    border-left-width: 4px;
    border-radius: var(--radius-md);
    background: var(--color-surface);
    color: var(--color-text);
    box-shadow: var(--shadow-lg);
    pointer-events: auto;
    animation: toast-in-b-u2dj6n6h2j var(--duration-normal) var(--easing-standard);
}

@keyframes toast-in-b-u2dj6n6h2j {
    from { transform: translateY(8px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.toast-icon[b-u2dj6n6h2j] {
    display: inline-flex;
    padding-top: 10px;
    line-height: 0;
}

.toast-text[b-u2dj6n6h2j] {
    flex: 1;
    padding: 10px 0;
}

.toast-title[b-u2dj6n6h2j] {
    font-weight: var(--weight-semibold);
}

.toast-close[b-u2dj6n6h2j] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--touch-target);
    height: var(--touch-target);
    flex-shrink: 0;
    border: 0;
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--color-text-muted);
}

.toast-close:hover[b-u2dj6n6h2j] {
    background: var(--color-surface-hover);
}

.toast-info[b-u2dj6n6h2j] { border-left-color: var(--color-primary); }
.toast-info .toast-icon[b-u2dj6n6h2j] { color: var(--color-info-text); }
.toast-success[b-u2dj6n6h2j] { border-left-color: var(--color-success); }
.toast-success .toast-icon[b-u2dj6n6h2j] { color: var(--color-success-strong); }
.toast-warning[b-u2dj6n6h2j] { border-left-color: var(--color-warning); }
.toast-warning .toast-icon[b-u2dj6n6h2j] { color: var(--color-warning-text); }
.toast-danger[b-u2dj6n6h2j] { border-left-color: var(--color-danger); }
.toast-danger .toast-icon[b-u2dj6n6h2j] { color: var(--color-danger-text); }

/* Clear the bottom tab bar on narrow screens. */
@media (max-width: 1023.98px) {
    .toast-region[b-u2dj6n6h2j] {
        right: var(--space-md);
        bottom: calc(var(--bottomnav-height) + var(--space-md) + env(safe-area-inset-bottom, 0px));
    }
}
/* /Components/Shared/VoiceCapture.razor.rz.scp.css */
.voice-capture[b-o4mrpo1fr2] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: var(--touch-target);
}

.voice-mic[b-o4mrpo1fr2] {
    position: relative;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--touch-target);
    height: var(--touch-target);
    border: none;
    border-radius: var(--radius-full);
    background: var(--color-primary-strong);
    color: var(--color-on-primary);
    cursor: pointer;
    transition: background-color var(--duration-fast) var(--easing-standard);
}

.voice-mic:hover:not(:disabled)[b-o4mrpo1fr2] {
    background: var(--color-primary-strong-hover);
}

.voice-mic:focus-visible[b-o4mrpo1fr2] {
    outline: var(--focus-ring-width) solid var(--color-focus);
    outline-offset: 2px;
}

.voice-mic:disabled[b-o4mrpo1fr2] {
    opacity: 0.5;
    cursor: not-allowed;
}

.voice-mic.is-listening[b-o4mrpo1fr2] {
    background: var(--color-danger);
}

/* Pulsing ring while listening. */
.voice-mic.is-listening[b-o4mrpo1fr2]::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-full);
    border: 2px solid var(--color-danger);
    animation: voice-pulse-b-o4mrpo1fr2 1.4s var(--easing-standard) infinite;
}

@keyframes voice-pulse-b-o4mrpo1fr2 {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.35); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .voice-mic.is-listening[b-o4mrpo1fr2]::after {
        animation: none;
        opacity: 0.8;
    }
}

.voice-status[b-o4mrpo1fr2] {
    min-width: 0;
    font-size: var(--text-sm);
}

.voice-interim[b-o4mrpo1fr2] {
    font-style: italic;
}

.voice-error[b-o4mrpo1fr2] {
    color: var(--color-danger-text);
}
/* /Components/Site/SiteHome.razor.rz.scp.css */
.site-home h1[b-co61ewp6ml] {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: var(--weight-bold);
}

.site-soon[b-co61ewp6ml] {
    margin-top: var(--space-sm);
    font-size: var(--text-lg);
    color: var(--color-text-muted);
}

.site-home dl[b-co61ewp6ml] {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: var(--space-sm) var(--space-lg);
    margin-top: var(--space-xl);
}

.site-home dt[b-co61ewp6ml] {
    font-weight: var(--weight-semibold);
}
/* /Components/Site/SiteLayout.razor.rz.scp.css */
.site-frame[b-g52jb9yfga] {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    background: var(--color-page);
    color: var(--color-text);
}

.site-header[b-g52jb9yfga] {
    padding: var(--space-md) var(--space-lg);
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.site-brand[b-g52jb9yfga] {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--weight-semibold);
}

.site-main[b-g52jb9yfga] {
    flex: 1;
    width: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
}

.site-footer[b-g52jb9yfga] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-surface-sunken);
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}
