/* /Layout/Header.razor.rz.scp.css */
.platform-title[b-g030uj51he] {
    color: var(--gray-medium);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Fixed header height so the strip (and the hospital badge) is identical on every page.
   This rule lives with the top-row markup, so it reliably applies (MainLayout's scoped
   .top-row rules can't reach this child component). */
.top-row[b-g030uj51he] {
    height: 3.5rem;
    min-height: 3.5rem;
    flex-wrap: nowrap;
}

/* Mirror the article's responsive horizontal padding EXACTLY so the hospital badge lines up
   with the page title at every width. The article (in MainLayout) gets MainLayout's scoped
   padding; this child component's top-row does not, so we replicate it here (px-4 removed from
   the markup). Keep these values in sync with MainLayout.razor.css `.top-row, article`. */
.top-row[b-g030uj51he] {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 641px) and (max-width: 767.98px) {
    .top-row[b-g030uj51he] {
        padding-left: 1rem;
        padding-right: 0.75rem;
    }
}

@media (min-width: 768px) {
    .top-row[b-g030uj51he] {
        padding-left: 2rem;
        padding-right: 1.5rem;
    }
}

/* No left padding — the hospital badge must align with the page title's left edge.
   Both the header row and the page body sit inside the shared .page-shell column,
   so any extra padding here would offset the badge from every page's <PageHeader>. */
.breadcrumb-section[b-g030uj51he] {
    padding-left: 0;
}

/* Dark chip (Option C) — navy→blue gradient + white name + metallic gold accent edge */
.hospital-badge[b-g030uj51he] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    max-width: min(52vw, 480px);
    padding: 0.4rem 1.1rem 0.4rem 1.1rem;   /* extra left room so the logo clears the gold bar */
    border-radius: 9px;
    border: 1px solid transparent;
    background: var(--gradient-section-header);
    color: var(--white);
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(var(--hospital-badge-shadow-rgb), 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-transform: none;
    cursor: default;
    user-select: none;
    min-width: 0;
    flex-shrink: 1;
}

/* Metallic gold accent edge — 5px bar + bold warm glow (between options 3 and 5) */
.hospital-badge[b-g030uj51he]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--gold-metallic);
    box-shadow: 0 0 16px 2px rgba(var(--gold-glow-rgb), 0.8);
}

.hospital-badge:hover[b-g030uj51he] {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(var(--hospital-badge-shadow-rgb), 0.26);
}

/* Logo / monogram tile — white so it pops on the dark chip */
.hospital-badge__mark[b-g030uj51he] {
    flex-shrink: 0;
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9px;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1;
    color: var(--hospital-badge-color);
    background: var(--white);
    border: 1px solid var(--slate-border);
    overflow: hidden;
}

/* A logo keeps its own shape: the tile widens for a wide logo (up to a cap) and the whole logo is
   shown — never cut to a square. The monogram tile stays square. */
.hospital-badge__mark--img[b-g030uj51he] {
    width: auto;
    min-width: 2rem;
    max-width: 6rem;
    padding: 2px;
}

.hospital-badge__mark img[b-g030uj51he] {
    display: block;
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.hospital-badge__name[b-g030uj51he] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.min-w-0[b-g030uj51he] {
    min-width: 0;
}

@media (max-width: 640.98px) {
    .hospital-badge[b-g030uj51he] {
        max-width: 55vw;
        font-size: 0.92rem;
        padding: 0.3rem 0.85rem 0.3rem 0.3rem;
        gap: 0.45rem;
    }

    .hospital-badge__mark[b-g030uj51he] {
        width: 1.6rem;
        height: 1.6rem;
        font-size: 0.78rem;
    }

    .hospital-badge__mark--img[b-g030uj51he] {
        width: auto;
        min-width: 1.6rem;
        max-width: 4.5rem;
    }
}

/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-ti2aqo7kfo] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-ti2aqo7kfo] {
    flex: 1;
}

.sidebar[b-ti2aqo7kfo] {
    background-image: linear-gradient(180deg, var(--sidebar-start) 0%, var(--sidebar-end) 70%);
}

.top-row[b-ti2aqo7kfo] {
    background-color: var(--top-row-bg);
    border-bottom: 1px solid var(--top-row-border);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-ti2aqo7kfo]  a, .top-row[b-ti2aqo7kfo]  .btn-link {
        white-space: nowrap;
        margin-left: 1rem;
        text-decoration: none;
    }

    .top-row[b-ti2aqo7kfo]  a:hover, .top-row[b-ti2aqo7kfo]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-ti2aqo7kfo]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-ti2aqo7kfo] {
        justify-content: space-between;
        flex-wrap: wrap;
        min-height: 3.5rem;
        height: auto;
    }

    .top-row[b-ti2aqo7kfo]  a, .top-row[b-ti2aqo7kfo]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    /* App-shell: lock the layout to the viewport height so the window itself never
       scrolls. The sidebar and top bar stay fixed and full-height; only the content
       area scrolls. This keeps the header visible on scroll and removes the
       empty-space-below-the-sidebar gap. */
    .page[b-ti2aqo7kfo] {
        flex-direction: row;
        height: 100vh;
        overflow: hidden;
    }

    .sidebar[b-ti2aqo7kfo] {
        width: 250px;
        height: 100vh;          /* full-height fixed panel — never scrolls away */
        flex-shrink: 0;
        transition: width 0.2s ease;
    }

    /* Icon rail (user preference, NavLayoutState). The sticky action bars read --sidebar-width,
       so the token follows the rail too. */
    .page.nav-rail[b-ti2aqo7kfo] {
        --sidebar-width: 64px;
    }

    .page.nav-rail .sidebar[b-ti2aqo7kfo] {
        width: 64px;
    }

    main[b-ti2aqo7kfo] {
        min-width: 0;           /* let wide content shrink instead of overflowing */
        height: 100vh;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    /* The only scrollable region on desktop. Reserve the scrollbar gutter ALWAYS so the
       content width (and its centered .page-shell) is consistent whether or not it scrolls. */
    article.content[b-ti2aqo7kfo] {
        flex: 1 1 auto;
        min-height: 0;          /* override the global min-height so it can shrink + scroll */
        overflow-y: auto;
        scrollbar-gutter: stable;
    }

    /* Fixed header height so the strip (and the hospital badge) is identical on every page —
       no growth from content wrapping. Content fits one line on desktop. */
    .top-row[b-ti2aqo7kfo] {
        flex-wrap: nowrap;
        height: 3.5rem;
    }

    .top-row.auth[b-ti2aqo7kfo]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-ti2aqo7kfo], article[b-ti2aqo7kfo] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    /* The top bar doesn't scroll, so add the scrollbar gutter to its right padding to match the
       content area's reserved gutter — keeps the hospital badge aligned with the page content. */
    .top-row[b-ti2aqo7kfo] {
        padding-right: calc(1.5rem + var(--sbw, 0px)) !important;
    }
}

/* ── Small tablet (641–767px): narrower sidebar + tighter padding ── */
@media (min-width: 641px) and (max-width: 767.98px) {
    .sidebar[b-ti2aqo7kfo] {
        width: 200px;
    }

    .page.nav-rail .sidebar[b-ti2aqo7kfo] {
        width: 64px;
    }

    .top-row[b-ti2aqo7kfo], article[b-ti2aqo7kfo] {
        padding-left: 1rem !important;
        padding-right: 0.75rem !important;
    }

    .top-row[b-ti2aqo7kfo] {
        padding-right: calc(0.75rem + var(--sbw, 0px)) !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-eb6fkg0iud] {
    background-color: rgba(var(--white-rgb), 0.1);
}

.top-row[b-eb6fkg0iud] {
    height: auto;
    min-height: 3.5rem;
    padding: 0.75rem 0;
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-navy) 50%, var(--brand-mid) 100%);
    border-bottom: 2px solid rgba(var(--brand-blue-rgb), 0.4);
}

.navbar-brand[b-eb6fkg0iud] {
    font-size: 1.1rem;
    margin-left: auto;
    margin-right: auto;
    gap: 0.75rem;
    text-decoration: none;
    padding: 0.25rem 0;
}

.brand-logo-wrapper[b-eb6fkg0iud] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(var(--brand-gold-rgb), 0.6);
    box-shadow: 0 0 12px rgba(var(--brand-blue-rgb), 0.5), 0 0 4px rgba(var(--brand-gold-rgb), 0.3);
    flex-shrink: 0;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.brand-logo-wrapper:hover[b-eb6fkg0iud] {
    box-shadow: 0 0 18px rgba(var(--brand-blue-rgb), 0.7), 0 0 8px rgba(var(--brand-gold-rgb), 0.5);
    transform: scale(1.05);
}

.brand-logo[b-eb6fkg0iud] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-text[b-eb6fkg0iud] {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    justify-content: center;
}

.brand-name[b-eb6fkg0iud] {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1.5px;
    text-shadow: 0 0 8px rgba(var(--nav-glow-rgb), 0.4);
}

.brand-tagline[b-eb6fkg0iud] {
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(var(--brand-gold-rgb), 0.85);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.bi[b-eb6fkg0iud] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    width: 1.25rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.bi-house-door-fill-nav-menu[b-eb6fkg0iud] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-eb6fkg0iud] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-eb6fkg0iud] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-eb6fkg0iud] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-eb6fkg0iud] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-eb6fkg0iud] {
        padding-bottom: 1rem;
    }

    .nav-item[b-eb6fkg0iud]  a {
        color: var(--nav-link-color);
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 1.2;
        gap: 0;
    }

.nav-item[b-eb6fkg0iud]  a.active {
    background-color: rgba(var(--white-rgb), 0.37);
    color: white;
}

.nav-item[b-eb6fkg0iud]  a:hover {
    background-color: rgba(var(--white-rgb), 0.1);
    color: white;
}

/* ── Sections (design/navigation-menu-config-redesign.md §15) ─────────────────────────── */
.nav-section[b-eb6fkg0iud] {
    margin-top: 0.35rem;
}

.nav-section-header[b-eb6fkg0iud] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    background: none;
    border: 0;
    border-top: 1px solid rgba(var(--white-rgb), 0.12);
    margin-top: 0.4rem;
    padding-top: 0.65rem;
    padding-bottom: 0.45rem;
    text-align: left;
    cursor: pointer;
}

.nav-section-header:hover .nav-section-text[b-eb6fkg0iud],
.nav-section-header:hover .nav-section-icon[b-eb6fkg0iud],
.nav-section-header:hover .nav-section-chevron[b-eb6fkg0iud] {
    color: var(--white);
}

.nav-section-icon[b-eb6fkg0iud] {
    font-size: 0.8rem;
    width: auto;
    margin-right: 0;
    color: rgba(var(--brand-gold-rgb), 0.85);
    flex-shrink: 0;
}

.nav-section-text[b-eb6fkg0iud] {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(var(--brand-gold-rgb), 0.85);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1;
    flex: 1;
}

.nav-section-chevron[b-eb6fkg0iud] {
    font-size: 0.7rem;
    width: auto;
    margin-right: 0;
    color: rgba(var(--white-rgb), 0.45);
}

.nav-section .nav-item[b-eb6fkg0iud] {
    padding-bottom: 0.35rem;
}

.nav-section .nav-item:first-of-type[b-eb6fkg0iud] {
    padding-top: 0;
}

.nav-label[b-eb6fkg0iud] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Unread count on the Notifications item (the bell's number, where the eye already is). */
.nav-badge[b-eb6fkg0iud] {
    margin-left: auto;
    min-width: 1.4rem;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    background: var(--danger-color);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.nav-rail .nav-badge[b-eb6fkg0iud] {
    position: absolute;
    top: 0.35rem;
    right: 0.5rem;
    margin-left: 0;
    min-width: 1.1rem;
    padding: 0 0.25rem;
    font-size: 0.6rem;
}

.nav-rail .nav-item[b-eb6fkg0iud]  a {
    position: relative;
}

/* ── Rail toggle (desktop only) ─────────────────────────────────────────────────────────── */
.nav-rail-toggle[b-eb6fkg0iud] {
    display: none;
}

@media (min-width: 641px) {
    .nav-rail-toggle[b-eb6fkg0iud] {
        display: flex;
        align-items: center;
        width: calc(100% - 2rem);
        margin: 0.75rem 1rem 1rem;
        padding: 0.4rem 0.75rem;
        background: rgba(var(--white-rgb), 0.06);
        border: 1px solid rgba(var(--white-rgb), 0.12);
        border-radius: 4px;
        color: var(--nav-link-color);
        font-size: 0.8rem;
        cursor: pointer;
    }

    .nav-rail-toggle:hover[b-eb6fkg0iud] {
        background: rgba(var(--white-rgb), 0.12);
        color: var(--white);
    }

    /* Icon rail: labels and section words go, icons centre, tooltips (title) carry the names. */
    .nav-rail .nav-label[b-eb6fkg0iud],
    .nav-rail .nav-section-text[b-eb6fkg0iud],
    .nav-rail .nav-section-chevron[b-eb6fkg0iud] {
        display: none;
    }

    .nav-rail .nav-item[b-eb6fkg0iud]  a,
    .nav-rail .nav-rail-toggle[b-eb6fkg0iud] {
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
    }

    .nav-rail .bi[b-eb6fkg0iud] {
        margin-right: 0;
    }

    .nav-rail .nav-section-header[b-eb6fkg0iud] {
        justify-content: center;
        padding-top: 0.5rem;
        padding-bottom: 0.35rem;
    }

    .nav-rail .nav-section-icon[b-eb6fkg0iud] {
        font-size: 0.7rem;
    }

    .nav-rail .nav-rail-toggle[b-eb6fkg0iud] {
        width: calc(100% - 1rem);
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .top-row--rail .brand-text[b-eb6fkg0iud] {
        display: none;
    }

    .top-row--rail .brand-logo-wrapper[b-eb6fkg0iud] {
        width: 40px;
        height: 40px;
    }

    .top-row--rail .navbar-brand[b-eb6fkg0iud] {
        gap: 0;
    }
}

@media (max-width: 640.98px) {
    .nav-scrollable[b-eb6fkg0iud] {
        max-height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }

    .brand-name[b-eb6fkg0iud] {
        font-size: 1rem;
    }

    .brand-tagline[b-eb6fkg0iud] {
        font-size: 0.62rem;
    }
}

@media (min-width: 641px) {
    .navbar-toggler[b-eb6fkg0iud] {
        display: none;
    }

    .collapse[b-eb6fkg0iud] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-eb6fkg0iud] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

/* ── Small tablet: tighter brand text to fit 200px sidebar ── */
@media (min-width: 641px) and (max-width: 767.98px) {
    .brand-name[b-eb6fkg0iud] {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .brand-tagline[b-eb6fkg0iud] {
        font-size: 0.62rem;
        letter-spacing: 1px;
    }

    .brand-logo-wrapper[b-eb6fkg0iud] {
        width: 40px;
        height: 40px;
    }
}
/* /Pages/Account/ForgotPassword.razor.rz.scp.css */
/* ── Forgot Password page ───────────────────────────────── */
/* Layout, card base, and auth-tab styles live in app.css */

.forgot-password-card[b-cf5iie6i5q] {
    max-width: 420px;
}

.forgot-password-icon[b-cf5iie6i5q] {
    font-size: 2.5rem;
    color: var(--danger-color);
}

/* OTP digit entry */
.otp-input[b-cf5iie6i5q] {
    font-size: 1.8rem;
    letter-spacing: 0.5rem;
    text-align: center;
}

@media (max-width: 576px) {
    .forgot-password-icon[b-cf5iie6i5q] {
        font-size: 2rem;
    }
}
/* /Pages/Account/Login.razor.rz.scp.css */
/* ── Login page ─────────────────────────────────────────── */
/* Layout (.login-page) and card (.verify-card) base styles live in app.css */

.login-card[b-pwe6bt9wge] {
    max-width: 420px;
}

.login-icon[b-pwe6bt9wge] {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* Tab styles (.login-tab-group, .login-tab, .login-tab--whatsapp) live in app.css */

/* ── Provider buttons ──────────────────────────────────── */

.provider-section[b-pwe6bt9wge] {
    margin-bottom: 0.75rem;
}

.btn-provider[b-pwe6bt9wge] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.625rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.btn-google[b-pwe6bt9wge] {
    background: var(--white);
    color: var(--google-btn-text);
    border: 1px solid var(--google-btn-border);
}

.btn-google:hover[b-pwe6bt9wge] {
    background: var(--google-btn-hover);
    box-shadow: var(--shadow-sm);
}

.google-icon[b-pwe6bt9wge] {
    flex-shrink: 0;
}

/* ── Divider ───────────────────────────────────────────── */

.divider[b-pwe6bt9wge] {
    display: flex;
    align-items: center;
    margin: 1.25rem 0;
    color: var(--divider-text);
    font-size: 0.82rem;
}

.divider[b-pwe6bt9wge]::before,
.divider[b-pwe6bt9wge]::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.divider span[b-pwe6bt9wge] {
    padding: 0 0.75rem;
    white-space: nowrap;
}

/* ── Extra-small screens ───────────────────────────────── */
@media (max-width: 360px) {
    .btn-provider[b-pwe6bt9wge] {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }

    .login-tab[b-pwe6bt9wge] {
        font-size: 0.82rem;
        padding: 0.5rem 0.625rem;
    }
}
/* /Pages/Account/MobileOnboard.razor.rz.scp.css */
/* ── Mobile onboarding / WhatsApp verify page ──────────── */
/* Layout (.verify-page) and card (.verify-card) base styles live in app.css */

.verify-card[b-shrwwa5xud] {
    max-width: 420px;
    margin: 0 auto;
}

/* Icon size matches login-icon (2.5 rem) for visual consistency */
.verify-icon[b-shrwwa5xud] {
    font-size: 2.5rem;
    display: block;
}

/* OTP input — large centred digits */
.otp-input[b-shrwwa5xud] {
    font-size: 1.8rem;
    letter-spacing: 0.5rem;
    text-align: center;
}
/* /Pages/Account/Register.razor.rz.scp.css */
/* ── Register page ──────────────────────────────────────── */
/* Layout (.register-page) and card (.register-card) base styles live in app.css */

.register-card[b-ner4adx0g8] {
    max-width: 460px;
}

.register-icon[b-ner4adx0g8] {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.form-text[b-ner4adx0g8] {
    font-size: 0.78rem;
    color: var(--secondary-color);
}

.sign-in-link[b-ner4adx0g8] {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.sign-in-link:hover[b-ner4adx0g8] {
    text-decoration: underline;
}
/* /Pages/Account/ResetPassword.razor.rz.scp.css */
/* ── Reset Password page ────────────────────────────────── */
/* Layout, card base, form styles, btn-primary, and links live in app.css */

.reset-password-card[b-pw7n0nvy00] {
    max-width: 420px;
}

.reset-password-icon[b-pw7n0nvy00] {
    font-size: 2.5rem;
    color: var(--success-color);
}

.reset-password-card .form-control:disabled[b-pw7n0nvy00] {
    background-color: var(--gray-subtle);
    color: var(--secondary-color);
}

.reset-password-card .form-text[b-pw7n0nvy00] {
    font-size: 0.8125rem;
    color: var(--secondary-color);
    margin-top: 0.25rem;
}

.reset-password-card .invalid-feedback[b-pw7n0nvy00] {
    display: block;
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Alert styles */
.alert[b-pw7n0nvy00] {
    border-left: 4px solid;
}

.alert-success[b-pw7n0nvy00] {
    border-left-color: var(--success-color);
    background-color: var(--success-subtle-bg);
}

.alert-danger[b-pw7n0nvy00] {
    border-left-color: var(--danger-color);
    background-color: var(--danger-subtle-bg);
}

@media (max-width: 576px) {
    .reset-password-icon[b-pw7n0nvy00] {
        font-size: 2rem;
    }
}
/* /Pages/Account/VerifyEmail.razor.rz.scp.css */
/* ── Verify-email page ──────────────────────────────────── */
/* Layout (.verify-page) and card (.verify-card) base styles live in app.css */

.verify-card[b-h2cx4gn8gu] {
    max-width: 460px;
    padding: 2.5rem 2rem;
}

.verify-icon[b-h2cx4gn8gu] {
    font-size: 3rem;
}
/* /Pages/Admin/AdminPricing.razor.rz.scp.css */
/* KPI tiles */
.kpi-tile[b-kb5owd7x5x] {
    background: var(--white);
    border: 1px solid var(--slate-border);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.kpi-tile.kpi-good[b-kb5owd7x5x] { border-left-color: var(--success-color); }
.kpi-tile.kpi-bad[b-kb5owd7x5x]  { border-left-color: var(--danger-color); }

.kpi-lab[b-kb5owd7x5x] {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--slate-500);
    font-weight: 700;
}

.kpi-val[b-kb5owd7x5x] {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -.01em;
    margin-top: var(--spacing-xs);
    font-variant-numeric: tabular-nums;
}

.kpi-sub[b-kb5owd7x5x] {
    font-size: .75rem;
    color: var(--slate-500);
    margin-top: .2rem;
}

/* Revenue vs cost bars */
.rvc-row[b-kb5owd7x5x] {
    display: grid;
    grid-template-columns: 68px 1fr 110px;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: .55rem;
}

.rvc-lab[b-kb5owd7x5x] {
    font-size: .75rem;
    font-weight: 700;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.rvc-track[b-kb5owd7x5x] {
    display: flex;
    height: 22px;
    background: var(--blue-gray-50);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.rvc-fill[b-kb5owd7x5x] { height: 100%; }
.rvc-fill + .rvc-fill[b-kb5owd7x5x] { border-left: 2px solid var(--white); }
.rvc-rev[b-kb5owd7x5x]      { background: var(--primary-color); }
.rvc-azure[b-kb5owd7x5x]    { background: var(--blue-gray-500); }
.rvc-overhead[b-kb5owd7x5x] { background: var(--fc-discharge-500); }

.rvc-num[b-kb5owd7x5x] {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    font-size: .85rem;
}

.rvc-legend[b-kb5owd7x5x] {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem 1rem;
    font-size: .75rem;
    color: var(--slate-500);
    margin-top: var(--spacing-sm);
    align-items: center;
}

.rvc-legend .sw[b-kb5owd7x5x] {
    width: 11px;
    height: 11px;
    border-radius: 3px;
    display: inline-block;
    margin-right: .35rem;
    vertical-align: -1px;
}

.rvc-base[b-kb5owd7x5x]       { background: var(--primary-color); }
.rvc-overage[b-kb5owd7x5x]    { background: var(--fc-reports-300); }
.rvc-onboarding[b-kb5owd7x5x] { background: var(--fc-reports-100); }
.rvc-variable[b-kb5owd7x5x]   { background: var(--blue-gray-500); }

.sw-base[b-kb5owd7x5x]       { background: var(--primary-color); }
.sw-overage[b-kb5owd7x5x]    { background: var(--fc-reports-300); }
.sw-onboarding[b-kb5owd7x5x] { background: var(--fc-reports-100); }
.sw-variable[b-kb5owd7x5x]   { background: var(--blue-gray-500); }
.sw-overhead[b-kb5owd7x5x]   { background: var(--fc-discharge-500); }

/* Planner per-tier controls */
.planner-tier[b-kb5owd7x5x] {
    border: 1px solid var(--slate-border);
    border-left: 4px solid var(--tc);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.planner-tier-name[b-kb5owd7x5x] {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
    margin-bottom: .35rem;
}

.planner-swatch[b-kb5owd7x5x] {
    width: 11px;
    height: 11px;
    border-radius: 3px;
    background: var(--tc);
}

.planner-range[b-kb5owd7x5x] { width: 100%; accent-color: var(--tc); margin: .1rem 0 .5rem; }

.planner-grid[b-kb5owd7x5x] {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .4rem .75rem;
    align-items: center;
}

.planner-grid label[b-kb5owd7x5x] { font-size: .8rem; color: var(--slate-500); }
.planner-grid input[b-kb5owd7x5x] { max-width: 120px; margin-left: auto; }

.tier-dot[b-kb5owd7x5x] {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 2px;
    margin-right: .4rem;
    vertical-align: 0;
}

.svgwrap[b-kb5owd7x5x] { width: 100%; overflow-x: auto; }

/* Cost category groups */
.cost-group-label[b-kb5owd7x5x] {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--slate-700);
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .5rem;
}

.cg-dot[b-kb5owd7x5x] { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.cg-var[b-kb5owd7x5x]   { background: var(--blue-gray-500); }
.cg-fixed[b-kb5owd7x5x] { background: var(--fc-discharge-500); }

/* Readability on the dark navy .admin-card-header — muted subtitles + outline buttons */
.admin-card-header .text-muted[b-kb5owd7x5x] {
    color: rgba(var(--white-rgb), 0.72) !important;
}

.admin-card-header .btn-outline-secondary[b-kb5owd7x5x] {
    color: var(--white);
    border-color: rgba(var(--white-rgb), 0.55);
}

.admin-card-header .btn-outline-secondary:hover[b-kb5owd7x5x],
.admin-card-header .btn-outline-secondary:focus[b-kb5owd7x5x] {
    background: rgba(var(--white-rgb), 0.15);
    border-color: var(--white);
    color: var(--white);
}

/* Plans tab — feature matrix */
.feature-table td[b-kb5owd7x5x],
.feature-table th[b-kb5owd7x5x] { vertical-align: middle; }

.feature-switch[b-kb5owd7x5x] {
    display: inline-flex;
    justify-content: center;
    padding-left: 0;
    margin: 0;
    min-height: auto;
}

.feature-switch .form-check-input[b-kb5owd7x5x] {
    margin-left: 0;
    float: none;
    cursor: pointer;
}

.feature-info[b-kb5owd7x5x] {
    cursor: help;
    font-size: .8rem;
}

/* Cost row name + info tooltip */
.cost-name-wrap[b-kb5owd7x5x] {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
}

.cost-info[b-kb5owd7x5x] {
    position: absolute;
    right: .5rem;
    color: var(--blue-gray-500);
    cursor: help;
    font-size: .85rem;
}

/* Lever inputs */
.lever-in[b-kb5owd7x5x]    { max-width: 120px; margin-left: auto; }
.lever-mult[b-kb5owd7x5x]  { max-width: 80px; }

/* Insights */
.insight-list[b-kb5owd7x5x] {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.insight-list li[b-kb5owd7x5x] { font-size: .9rem; }

/* Projection callout */
.note-be[b-kb5owd7x5x] {
    background: var(--surface-slate);
    border-left: 3px solid var(--primary-color);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: .4rem .6rem;
}

@media (max-width: 576px) {
    .rvc-row[b-kb5owd7x5x] { grid-template-columns: 56px 1fr 84px; }
    .kpi-val[b-kb5owd7x5x] { font-size: 1.25rem; }
}
/* /Pages/Admin/ApplicationManagement.razor.rz.scp.css */
/* Page needs full-height cards in its grid layout */
.admin-card[b-xrlxvmacln] {
    height: 100%;
}
/* /Pages/Admin/BedBoard.razor.rz.scp.css */
/* The board is meant to be readable at a glance from a few feet away, so tiles are
   generous and colour carries the state. Auto-fill rather than fixed columns: a 40-bed
   ward and a 4-bay resus area both look right without a breakpoint each. */
.bed-grid[b-r5rc8vdate] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
    gap: var(--spacing-sm);
}

.bed-grid--nested[b-r5rc8vdate] {
    grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
    margin-top: var(--spacing-sm);
}

.bed-tile[b-r5rc8vdate] {
    border: 1px solid var(--blue-gray-300);
    border-left-width: 4px;
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--surface-cool);
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: box-shadow var(--transition-fast);
}

.bed-tile:hover[b-r5rc8vdate] {
    box-shadow: var(--shadow-sm);
}

/* State lives in the left border as well as the text: colour alone is not a label,
   and every tile already spells its state out underneath the number. */
.bed-tile--free[b-r5rc8vdate] {
    border-left-color: var(--success-color);
}

/* An occupied bed reads at a glance across a full ward: a pale blue fill, not just the edge. */
.bed-tile--occupied[b-r5rc8vdate] {
    border-left-color: var(--primary-color);
    background: var(--primary-light-bg);
}

/* A stay has ended but the bed was never freed: amber, so it is noticed and released. */
.bed-tile--stale[b-r5rc8vdate] {
    border-left-color: var(--warning-color);
    background: var(--warning-light-bg);
}

.bed-tile--out[b-r5rc8vdate] {
    border-left-color: var(--warning-color);
    background: var(--blue-gray-50);
}

.bed-tile-number[b-r5rc8vdate] {
    font-weight: 700;
    color: var(--brand-dark);
}

.bed-tile-state[b-r5rc8vdate] {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--brand-mid);
}

.bed-tile-patient[b-r5rc8vdate] {
    font-size: 0.8rem;
    color: var(--brand-dark);
    /* A long name must not stretch the grid column. */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bed-tile-meta[b-r5rc8vdate] {
    font-size: 0.72rem;
    color: var(--brand-mid);
}

.bed-tile-actions[b-r5rc8vdate] {
    margin-top: var(--spacing-xs);
}

/* A room groups its beds visually, so "2 of 4 free" reads as being about those beds. */
.bed-room[b-r5rc8vdate] {
    grid-column: 1 / -1;
    border: 1px dashed var(--blue-gray-300);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
}

.bed-room-header[b-r5rc8vdate] {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

@media (max-width: 576px) {
    /* Two tiles across on a phone — a ward round scrolls a short list, not a wide one. */
    .bed-grid[b-r5rc8vdate] {
        grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
    }

    /* Collapsible facility headers keep the same 44px touch target as every other
       section-toggle-header on the site. */
    .btn[b-r5rc8vdate],
    .form-control[b-r5rc8vdate],
    .form-select[b-r5rc8vdate],
    .section-toggle-header[b-r5rc8vdate] {
        min-height: 44px;
    }
}

/* Status picker inside a tile: full width, small type, so a 9.5rem tile still fits
   a bed number, its state and a control without wrapping awkwardly. */
.bed-tile-status[b-r5rc8vdate] {
    font-size: 0.75rem;
    padding-block: 0.15rem;
}
/* /Pages/Admin/BedRegister.razor.rz.scp.css */
/* Mobile unit card — a ward round happens on a phone, so the table becomes cards
   rather than something to scroll sideways. */
.unit-card[b-sw1w3tnfu9] {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--blue-gray-300);
    border-radius: var(--radius-md);
    background: var(--surface-cool);
    margin-bottom: var(--spacing-sm);
}

@media (max-width: 576px) {
    .btn[b-sw1w3tnfu9],
    .form-control[b-sw1w3tnfu9],
    .form-select[b-sw1w3tnfu9] {
        min-height: 44px;
    }

    .section-toggle-header[b-sw1w3tnfu9] {
        min-height: 44px;
    }
}

/* Status picker sits in a table cell, so it is sized to its content rather than
   stretching the column. */
.status-select[b-sw1w3tnfu9] {
    max-width: 10rem;
}
/* /Pages/Admin/DoctorManagement.razor.rz.scp.css */
/* ── Doctor Management ───────────────────────────────────── */
/* .user-card-list and .user-card base styles live in app.css */

/* Page-specific table overrides */
.table th[b-b7ixgnp2i0] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-medium);
    white-space: nowrap;
}

.table td[b-b7ixgnp2i0] {
    font-size: 0.9rem;
    vertical-align: middle;
}

/* Speciality checkbox grid */
.speciality-grid[b-b7ixgnp2i0] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.25rem 1rem;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--light-bg);
}

.speciality-grid.border-danger[b-b7ixgnp2i0] {
    border-color: var(--danger-color);
}
/* /Pages/Admin/FacilityCatalog.razor.rz.scp.css */
/* One declared facility: handle · move · name · unit · count · on/off · delete. */
.facility-row[b-cdgr1zt7t4] {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    border: 1px solid var(--blue-gray-300);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
    background: var(--surface-cool);
}

/* A facility (or category) the hospital does not operate stays readable but recedes. */
.facility-muted[b-cdgr1zt7t4] {
    opacity: 0.6;
}

.facility-label[b-cdgr1zt7t4] {
    flex: 1 1 12rem;
    min-width: 8rem;
}

.facility-unit[b-cdgr1zt7t4] {
    flex: 0 0 11rem;
}

.facility-count[b-cdgr1zt7t4] {
    flex: 0 0 5.5rem;
}

/* Phone: the row wraps into two lines rather than scrolling sideways, and every
   control keeps a 44px touch target. */
@media (max-width: 576px) {
    .facility-row[b-cdgr1zt7t4] {
        flex-wrap: wrap;
    }

    .facility-label[b-cdgr1zt7t4] {
        flex: 1 1 100%;
        order: -1;
    }

    .facility-unit[b-cdgr1zt7t4] {
        flex: 1 1 9rem;
    }

    .facility-count[b-cdgr1zt7t4] {
        flex: 0 0 4.5rem;
    }

    .facility-row .btn[b-cdgr1zt7t4],
    .facility-row .form-control[b-cdgr1zt7t4],
    .facility-row .form-select[b-cdgr1zt7t4] {
        min-height: 44px;
    }
}

/* Registered-unit annotation on a facility row. Sized so a mismatch is noticeable
   without competing with the count the admin is actually editing. */
.facility-registered[b-cdgr1zt7t4] {
    flex: 0 0 7rem;
    text-align: right;
    font-size: 0.72rem;
    line-height: 1.1;
}
/* /Pages/Admin/HospitalManagement.razor.rz.scp.css */
/* ── Hospital Management ─────────────────────────────────── */
/* .user-card-list and .user-card base styles live in app.css */

/* Page-specific table overrides */
.table th[b-zqvcy5hjn0] {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
    color: var(--gray-medium);
}

.table td[b-zqvcy5hjn0] {
    vertical-align: middle;
}

.form-check-input[type="checkbox"][b-zqvcy5hjn0] {
    cursor: pointer;
}

.form-check-input:disabled[b-zqvcy5hjn0] {
    cursor: not-allowed;
    opacity: 0.5;
}

/* Active hospital context banner */
.hospital-context-banner[b-zqvcy5hjn0] {
    border-left: 4px solid var(--warning-color);
    font-size: 0.9rem;
}

/* Active hospital row highlight */
.user-card--active[b-zqvcy5hjn0] {
    background: var(--warning-subtle-bg);
}
/* /Pages/Admin/HospitalOnboard.razor.rz.scp.css */
/* Country-aware postal-address block on the hospital onboarding form. */

.address-block[b-ozq5chc9j7] {
    padding: var(--spacing-lg);
    border: 1px solid var(--blue-gray-300);
    border-left: 3px solid var(--primary-color);
    border-radius: var(--radius-lg);
    background: var(--surface-cool);
    transition: border-color var(--transition-base), background var(--transition-base);
}

/* Format badge — amber for India, blue for UK. */
.badge-india[b-ozq5chc9j7] {
    background: var(--warning-color);
    color: var(--brand-dark);
}

.badge-uk[b-ozq5chc9j7] {
    background: var(--info-color);
    color: #fff;
}

.address-block .form-label[b-ozq5chc9j7] {
    margin-bottom: var(--spacing-xs);
}
/* /Pages/Admin/NavigationMenu.razor.rz.scp.css */
.scope-pills[b-73ehzu0fm3] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.menu-reorder-list[b-73ehzu0fm3] {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.menu-section-header[b-73ehzu0fm3] {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: var(--spacing-sm) var(--spacing-xs) var(--spacing-xs);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: var(--spacing-xs);
}

.menu-section-header:not(:first-child)[b-73ehzu0fm3] {
    margin-top: var(--spacing-md);
}

.menu-reorder-row[b-73ehzu0fm3] {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--blue-gray-300);
    border-radius: var(--radius-md);
    background: var(--surface-cool);
    transition: background var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast);
}

.menu-reorder-row.is-hidden[b-73ehzu0fm3] {
    opacity: 0.6;
}

.menu-reorder-row.reorder-dragging[b-73ehzu0fm3] {
    opacity: 0.4;
}

.menu-reorder-row.reorder-over[b-73ehzu0fm3] {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    background: var(--primary-light-bg, var(--surface-slate));
}

.menu-drag-handle[b-73ehzu0fm3] {
    cursor: grab;
    font-size: 1.15rem;
    color: var(--blue-gray-300);
}

.menu-row-icon[b-73ehzu0fm3] {
    color: var(--primary-color);
    font-size: 1.05rem;
}

.menu-row-main[b-73ehzu0fm3] {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-xs) var(--spacing-sm);
    min-width: 0;
}

.menu-row-main .form-control[b-73ehzu0fm3] {
    max-width: 280px;
}

.menu-row-label[b-73ehzu0fm3] {
    font-weight: 600;
}

.menu-row-route[b-73ehzu0fm3] {
    opacity: 0.75;
}

.menu-row-toggle[b-73ehzu0fm3] {
    margin: 0;
}

.menu-row-move[b-73ehzu0fm3] {
    flex: 0 0 auto;
}

/* Touch targets on mobile */
@media (max-width: 576px) {
    .menu-reorder-row[b-73ehzu0fm3] {
        flex-wrap: wrap;
    }

    .menu-row-main .form-control[b-73ehzu0fm3] {
        max-width: none;
    }

    .menu-row-move .btn[b-73ehzu0fm3] {
        min-height: 44px;
        min-width: 44px;
    }

    .menu-drag-handle[b-73ehzu0fm3] {
        display: none; /* drag is awkward on touch; ↑/↓ buttons are the path */
    }
}

@media (prefers-reduced-motion: reduce) {
    .menu-reorder-row[b-73ehzu0fm3] {
        transition: none;
    }
}
/* /Pages/Admin/RegionalGlossary.razor.rz.scp.css */
.glossary-filter[b-uip65w5k0z] {
    max-width: 20rem;
}

.glossary-col-term[b-uip65w5k0z] {
    width: 30%;
}

.glossary-col-actions[b-uip65w5k0z] {
    width: 110px;
}
/* /Pages/Admin/SpecialtyCatalog.razor.rz.scp.css */
.spec-row[b-j13yetrilr] {
    border: 1px solid var(--blue-gray-300);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
    background: var(--surface-cool);
}

.spec-row.spec-disabled[b-j13yetrilr] {
    opacity: 0.6;
}

/* Highlight the currently-open specialty so the editing area is the clear focus. */
.spec-row.spec-open[b-j13yetrilr] {
    border-color: var(--primary-color);
    border-left-width: 4px;
    background: var(--primary-light-bg, var(--surface-slate));
    box-shadow: var(--shadow-sm);
}

/* Bordered "Sub-specialities" toggle so it reads as a distinct control. */
.spec-expand-btn[b-j13yetrilr] {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    white-space: nowrap;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.spec-expand-btn:hover[b-j13yetrilr] {
    background: var(--primary-light-bg, var(--surface-slate));
    color: var(--primary-color);
}

.spec-expand-btn.active[b-j13yetrilr] {
    background: var(--primary-color);
    color: var(--white);
}

.spec-sub-count[b-j13yetrilr] {
    background: var(--blue-gray-300);
    color: var(--brand-dark);
    font-weight: 600;
    min-width: 1.6em;
    text-align: center;
}

/* No sub-specialities: keep the badge's footprint (button width stays constant → trash icons align)
   but make it invisible. */
.spec-sub-count.is-empty[b-j13yetrilr] {
    visibility: hidden;
}

.spec-expand-btn.active .spec-sub-count[b-j13yetrilr] {
    background: rgba(var(--white-rgb), 0.25);
    color: var(--white);
}

.spec-row.reorder-dragging[b-j13yetrilr],
.spec-subrow.reorder-dragging[b-j13yetrilr] {
    opacity: 0.4;
}

.spec-row.reorder-over[b-j13yetrilr],
.spec-subrow.reorder-over[b-j13yetrilr] {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    background: var(--primary-light-bg, var(--surface-slate));
}

.spec-drag-handle[b-j13yetrilr] {
    cursor: grab;
    font-size: 1.15rem;
    color: var(--blue-gray-300);
    flex: 0 0 auto;
}

.spec-row-head[b-j13yetrilr] {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
}

.spec-move[b-j13yetrilr] {
    flex: 0 0 auto;
}

.spec-move .btn[b-j13yetrilr] {
    padding: 0 var(--spacing-xs);
    line-height: 1.1;
}

.spec-label[b-j13yetrilr] {
    flex: 1 1 auto;
    min-width: 0;
}

.spec-switch[b-j13yetrilr] {
    flex: 0 0 auto;
    margin: 0;
    min-height: auto;
}

/* Appointment length — wide enough for "15 minutes (default)". */
.spec-length[b-j13yetrilr] {
    flex: 0 0 11rem;
    width: 11rem;
}

.spec-subs[b-j13yetrilr] {
    padding: 0 var(--spacing-sm) var(--spacing-sm) var(--spacing-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.spec-subrow[b-j13yetrilr] {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    border: 1px solid var(--blue-gray-50);
    border-radius: var(--radius-sm);
    background: var(--surface-cool);
    padding: var(--spacing-xs) var(--spacing-sm);
}

.spec-subrow.spec-disabled[b-j13yetrilr] {
    opacity: 0.6;
}

@media (max-width: 576px) {
    .spec-subs[b-j13yetrilr] {
        padding-left: var(--spacing-md);
    }

    .spec-drag-handle[b-j13yetrilr] {
        display: none; /* drag is awkward on touch; ↑/↓ buttons are the path */
    }

    .spec-expand-label[b-j13yetrilr] {
        display: none; /* keep the row compact — icon + count still convey the control */
    }

    .spec-row-head[b-j13yetrilr] {
        flex-wrap: wrap; /* the length drops under the name rather than squeezing it */
    }

    .spec-length[b-j13yetrilr] {
        flex: 1 1 100%;
        width: auto;
        order: 10;
    }
}
/* /Pages/Admin/StaffRequestTypes.razor.rz.scp.css */
/* A disabled type stays readable but visibly out of play — same treatment as a disabled team. */
.type-muted[b-fl5htv3ipk] {
    opacity: 0.65;
}

/* The stable key, shown beside the name so a rename is not mistaken for a re-address. */
.type-key[b-fl5htv3ipk] {
    font-weight: 400;
    color: var(--brand-mid);
}

.type-key code[b-fl5htv3ipk] {
    color: var(--brand-mid);
    font-size: 0.8rem;
}

/* Default targets as removable chips — team and role tints match the raise dialog's. */
.target-chip[b-fl5htv3ipk] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 0.25rem var(--spacing-sm);
    border: 1px solid var(--blue-gray-300);
    border-radius: var(--radius-lg);
    background: var(--surface-cool);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-dark);
}

.target-chip--team[b-fl5htv3ipk] {
    background: var(--gray-subtle);
}

.target-remove[b-fl5htv3ipk] {
    border: 0;
    background: transparent;
    color: var(--brand-mid);
    line-height: 1;
    padding: 0 0 0 var(--spacing-xs);
    transition: color var(--transition-fast);
}

.target-remove:hover[b-fl5htv3ipk] {
    color: var(--danger-color);
}

/* Reorder arrows sit on the dark navy header — a default btn-link blue is almost
   invisible there, so they carry their own near-white treatment. */
.reorder-btn[b-fl5htv3ipk] {
    padding: 0.15rem 0.35rem;
    line-height: 1;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--white);
    opacity: 0.85;
    transition: background var(--transition-fast), opacity var(--transition-fast);
}

.reorder-btn:hover:not(:disabled)[b-fl5htv3ipk],
.reorder-btn:focus-visible[b-fl5htv3ipk] {
    background: rgba(var(--white-rgb), 0.18);
    color: var(--white);
    opacity: 1;
}

.reorder-btn:disabled[b-fl5htv3ipk] {
    color: var(--white);
    opacity: 0.35;
}

.reorder-btn .bi[b-fl5htv3ipk] {
    font-size: 1.05rem;
    -webkit-text-stroke: 0.4px currentColor;
}

/* ── Standard-type picker — same shape as the teams picker ─────────────────── */
.standard-list[b-fl5htv3ipk] {
    max-height: 55vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.standard-row[b-fl5htv3ipk] {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    border: 1px solid var(--blue-gray-300);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.standard-row:hover[b-fl5htv3ipk] {
    background: var(--surface-cool);
}

.standard-row:has(input:checked)[b-fl5htv3ipk] {
    background: var(--primary-light-bg);
    border-color: var(--primary-color);
}

.standard-row--taken[b-fl5htv3ipk] {
    cursor: default;
    opacity: 0.7;
}

.standard-body[b-fl5htv3ipk] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.standard-title[b-fl5htv3ipk] {
    font-weight: 600;
    color: var(--brand-dark);
}

.standard-desc[b-fl5htv3ipk] {
    font-size: 0.85rem;
    color: var(--brand-mid);
}

@media (max-width: 576px) {
    .btn[b-fl5htv3ipk],
    .form-control[b-fl5htv3ipk],
    .form-select[b-fl5htv3ipk],
    .section-toggle-header[b-fl5htv3ipk],
    .standard-row[b-fl5htv3ipk] {
        min-height: 44px;
    }

    .target-chip[b-fl5htv3ipk] {
        width: 100%;
        min-height: 44px;
    }

    .target-remove[b-fl5htv3ipk] {
        margin-left: auto;
        padding-inline: var(--spacing-sm);
    }
}
/* /Pages/Admin/StaffTeams.razor.rz.scp.css */
/* The staff picker's results are absolutely positioned and would be clipped by
   .admin-card's `overflow: hidden` in app.css — which is there to keep the gradient
   header inside the card's rounded corners. Rather than weaken that globally, allow
   overflow on this page and give the header back its own top corners, so the card
   looks identical. `inherit` keeps it matched to whatever radius app.css sets. */
.admin-card[b-jktfvyvsc8] {
    overflow: visible;
}

.admin-card-header[b-jktfvyvsc8] {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

/* A disabled team stays readable but visibly out of play — same treatment as a
   switched-off facility. */
.team-muted[b-jktfvyvsc8] {
    opacity: 0.65;
}

/* Members read as chips rather than a table: a team is a handful of people, and a
   five-row table for three names is heavier than the content. */
.member-chip[b-jktfvyvsc8] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 0.25rem var(--spacing-sm);
    border: 1px solid var(--blue-gray-300);
    border-radius: var(--radius-lg);
    background: var(--surface-cool);
    font-size: 0.85rem;
}

/* Someone whose account has been disabled since they were added. Shown, not hidden,
   so an admin can see who fell out rather than finding the team shorter. */
.member-chip--inactive[b-jktfvyvsc8] {
    opacity: 0.6;
    text-decoration: line-through;
}

.member-name[b-jktfvyvsc8] {
    font-weight: 600;
    color: var(--brand-dark);
}

.member-role[b-jktfvyvsc8] {
    background: var(--blue-gray-300);
    color: var(--brand-dark);
    font-size: 0.65rem;
    font-weight: 600;
}

.member-remove[b-jktfvyvsc8] {
    border: 0;
    background: transparent;
    color: var(--brand-mid);
    line-height: 1;
    padding: 0 0 0 var(--spacing-xs);
    transition: color var(--transition-fast);
}

.member-remove:hover[b-jktfvyvsc8] {
    color: var(--danger-color);
}

@media (max-width: 576px) {
    .btn[b-jktfvyvsc8],
    .form-control[b-jktfvyvsc8],
    .section-toggle-header[b-jktfvyvsc8] {
        min-height: 44px;
    }

    /* Full-width chips on a phone so the remove target is comfortably reachable. */
    .member-chip[b-jktfvyvsc8] {
        width: 100%;
        min-height: 44px;
    }

    .member-remove[b-jktfvyvsc8] {
        margin-left: auto;
        padding-inline: var(--spacing-sm);
    }
}

/* The addressing key, shown beside the team name. Muted and lighter than the label
   so it reads as provenance rather than a second field. */
.team-key[b-jktfvyvsc8] {
    font-weight: 400;
    color: var(--brand-mid);
}

.team-key code[b-jktfvyvsc8] {
    color: var(--brand-mid);
    font-size: 0.8rem;
}

/* ── Standard-team picker ─────────────────────────────────────────────────────
   One checkbox row per template. The whole row is the label so the tap target is
   the row, not the 16px box. Scrolls inside the dialog so twelve templates never
   push the Add button off a phone screen. */
.standard-list[b-jktfvyvsc8] {
    max-height: 55vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.standard-row[b-jktfvyvsc8] {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    border: 1px solid var(--blue-gray-300);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.standard-row:hover[b-jktfvyvsc8] {
    background: var(--surface-cool);
}

.standard-row:has(input:checked)[b-jktfvyvsc8] {
    background: var(--primary-light-bg);
    border-color: var(--primary-color);
}

/* Already in the hospital: shown ticked and locked, so the list reads as progress
   against the standard shape rather than hiding what is done. */
.standard-row--taken[b-jktfvyvsc8] {
    cursor: default;
    opacity: 0.7;
}

.standard-body[b-jktfvyvsc8] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.standard-title[b-jktfvyvsc8] {
    font-weight: 600;
    color: var(--brand-dark);
}

.standard-desc[b-jktfvyvsc8] {
    font-size: 0.85rem;
    color: var(--brand-mid);
}

@media (max-width: 576px) {
    .standard-row[b-jktfvyvsc8] {
        min-height: 44px;
    }
}
/* /Pages/Admin/UserManagement.razor.rz.scp.css */
/* ── User Management ─────────────────────────────────────── */
/* .user-card-list and .user-card base styles live in app.css */

/* Page-specific table overrides */
.table th[b-521z9chtem] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-medium);
    white-space: nowrap;
}

.table td[b-521z9chtem] {
    font-size: 0.9rem;
    vertical-align: middle;
}

/* Role selector (inline edit) */
.role-select[b-521z9chtem] {
    width: auto;
    min-width: 120px;
    font-size: 0.85rem;
}

/* Disabled user card */
.user-card--disabled[b-521z9chtem] {
    background: var(--light-bg);
    opacity: 0.8;
}

/* ── Grouping markers: family links + shared phone (design/family-proxy-access-design.md §18) ── */
.group-chips[b-521z9chtem] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-xs);
}

.group-chip[b-521z9chtem] {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    background: transparent;
    padding: 0 var(--spacing-sm);
    font-size: 0.75rem;
    line-height: 1.6;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.group-chip--family[b-521z9chtem] {
    border-color: var(--bs-primary-border-subtle);
    background: var(--bs-primary-bg-subtle);
    color: var(--bs-primary-text-emphasis);
}

.group-chip--phone[b-521z9chtem] {
    border-color: var(--bs-info-border-subtle);
    background: var(--bs-info-bg-subtle);
    color: var(--bs-info-text-emphasis);
}

.group-chip:hover[b-521z9chtem],
.group-chip:focus-visible[b-521z9chtem] {
    background: var(--primary-light-bg);
}

.group-ties[b-521z9chtem] {
    margin-top: var(--spacing-xs);
    font-size: 0.75rem;
    color: var(--bs-secondary-color);
}

.group-filter[b-521z9chtem] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--bs-primary-border-subtle);
    border-radius: var(--radius-md);
    background: var(--bs-primary-bg-subtle);
}

@media (max-width: 575.98px) {
    .group-chip[b-521z9chtem] {
        min-height: 44px;
        padding: 0 var(--spacing-md);
    }
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 767.98px) {
    .table th[b-521z9chtem] {
        font-size: 0.78rem;
        white-space: normal;
        min-width: 80px;
    }

    .table td[b-521z9chtem] {
        font-size: 0.82rem;
    }

    .role-select[b-521z9chtem] {
        min-width: 90px;
        font-size: 0.78rem;
    }
}
/* /Pages/Billing/BillingDesk.razor.rz.scp.css */
.desk-row[b-fe5tw5oztb] {
    cursor: pointer;
}

/* One bill on a phone (ui-ux-standards §9). */
.desk-card[b-fe5tw5oztb] {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--blue-gray-300);
    border-radius: var(--radius-md);
    background: var(--surface-cool);
    margin-bottom: var(--spacing-sm);
    color: inherit;
    text-decoration: none;
    min-height: 44px;
}

@media (max-width: 576px) {
    .form-control[b-fe5tw5oztb],
    .form-select[b-fe5tw5oztb] {
        min-height: 44px;
    }
}
/* /Pages/Billing/ChargeEdit.razor.rz.scp.css */
/* Room for the sticky action bar so it never covers the last field (ui-ux-standards §7). */
.charge-edit-bar-spacer[b-u2g1rg17z4] {
    height: 72px;
}

/* Touch targets ≥ 44px on a phone — reaches the shared <MoneyInput> boxes too. */
@media (max-width: 576px) {
    [b-u2g1rg17z4] .form-control,
    [b-u2g1rg17z4] .form-select,
    .form-control[b-u2g1rg17z4],
    .form-select[b-u2g1rg17z4] {
        min-height: 44px;
    }
}
/* /Pages/Billing/ChargeMaster.razor.rz.scp.css */
/* Touch targets ≥ 44px on a phone (ui-ux-standards) — reaches into the price-list tab components. */
@media (max-width: 576px) {
    [b-tbypzghjh6] .form-control,
    [b-tbypzghjh6] .form-select {
        min-height: 44px;
    }
}
/* /Pages/Billing/CoverageEdit.razor.rz.scp.css */
/* Room for the sticky action bar so it never covers the last field (ui-ux-standards §7). */
.coverage-edit-bar-spacer[b-u5b7hlab79] {
    height: 72px;
}

@media (max-width: 576px) {
    .btn[b-u5b7hlab79],
    .form-control[b-u5b7hlab79],
    .form-select[b-u5b7hlab79] {
        min-height: 44px;
    }
}
/* /Pages/Billing/InsurancePayerEdit.razor.rz.scp.css */
/* Room for the sticky action bar so it never covers the last field (ui-ux-standards §7). */
.payer-edit-bar-spacer[b-asu5zjvich] {
    height: 72px;
}

@media (max-width: 576px) {
    .btn[b-asu5zjvich],
    .form-control[b-asu5zjvich],
    .form-select[b-asu5zjvich] {
        min-height: 44px;
    }
}

/* Patients still relying on this payer — a warning, not an error. */
.payer-usage[b-asu5zjvich] {
    border-color: var(--warning-color);
}

.payer-usage-list li + li[b-asu5zjvich] {
    border-top: 1px solid var(--blue-gray-300);
    padding-top: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}
/* /Pages/Billing/InsurancePayers.razor.rz.scp.css */
/* Mobile payer card — the table becomes cards on a phone (ui-ux-standards §9). */
.payer-card[b-py7zdrsqod] {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--blue-gray-300);
    border-radius: var(--radius-md);
    background: var(--surface-cool);
    margin-bottom: var(--spacing-sm);
}

.payers-empty[b-py7zdrsqod] {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
}

.payers-empty-icon[b-py7zdrsqod] {
    font-size: 2rem;
    color: var(--gray-500);
}

@media (max-width: 576px) {
    .btn[b-py7zdrsqod],
    .form-control[b-py7zdrsqod],
    .form-select[b-py7zdrsqod] {
        min-height: 44px;
    }
}
/* /Pages/Billing/MyInsurance.razor.rz.scp.css */
/* Whose insurance — the patient, then each family member they may see; wraps on a phone. */
.insurance-people[b-5iwiyyv0pv] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.insurance-empty[b-5iwiyyv0pv] {
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
}

.insurance-empty-icon[b-5iwiyyv0pv] {
    display: block;
    font-size: 1.75rem;
    color: var(--gray-500);
    margin-bottom: var(--spacing-xs);
}

/* One hospital plan / company tie-up on offer. */
.insurance-offer[b-5iwiyyv0pv] {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--blue-gray-300);
    border-radius: var(--radius-md);
    background: var(--surface-cool);
}

/* The hospital's own words — keep its line breaks. */
.insurance-offer-text[b-5iwiyyv0pv] {
    white-space: pre-line;
}

/* Room under the sticky Add bar so the last card is not hidden behind it. */
.insurance-bar-spacer[b-5iwiyyv0pv] {
    height: var(--spacing-xl);
}

@media (max-width: 576px) {
    .btn[b-5iwiyyv0pv] {
        min-height: 44px;
    }
}
/* /Pages/Billing/PackageEdit.razor.rz.scp.css */
/* Room for the sticky action bar so it never covers the last field (ui-ux-standards §7). */
.charge-edit-bar-spacer[b-zpfkpgzozk] {
    height: 72px;
}

/* Touch targets ≥ 44px on a phone — reaches the shared <MoneyInput> boxes too. */
@media (max-width: 576px) {
    [b-zpfkpgzozk] .form-control,
    [b-zpfkpgzozk] .form-select,
    .form-control[b-zpfkpgzozk],
    .form-select[b-zpfkpgzozk] {
        min-height: 44px;
    }
}
/* /Pages/Billing/PayerStatementPage.razor.rz.scp.css */
/* One payment from the payer. */
.statement-payment[b-mkgazdfw7a] {
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--blue-gray-300);
}

.statement-payment:last-child[b-mkgazdfw7a] {
    border-bottom: none;
}

/* Room at the end so the sticky action bar never covers the last bill. */
.statement-page-end[b-mkgazdfw7a] {
    height: calc(var(--spacing-xl) * 2.5);
}
/* /Pages/Consultation/CareGuide.razor.rz.scp.css */
/* ── Page ─────────────────────────────────────────────── */
/* Width is capped globally by .page-shell (MainLayout) — no per-page cap. */
.care-guide-page[b-gaschiaok3] {
    padding-bottom: var(--spacing-xl);
}

/* ── Interview ────────────────────────────────────────── */
.cg-question[b-gaschiaok3] {
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: var(--spacing-sm);
}

.cg-progress[b-gaschiaok3] {
    height: 6px;
    border-radius: var(--radius-sm);
}

/* ── Recap ────────────────────────────────────────────── */
/* Clara's read-back — reads as her voice, distinct from the answer list below it. */
.recap-summary[b-gaschiaok3] {
    background: var(--primary-light-bg, var(--surface-cool));
    border-left: 3px solid var(--primary-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    line-height: 1.6;
}

.recap-row[b-gaschiaok3] {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--blue-gray-300);
}

.recap-row:last-child[b-gaschiaok3] {
    border-bottom: none;
}

.recap-label[b-gaschiaok3] {
    font-size: 0.875rem;
    color: var(--brand-mid);
    margin-bottom: 0.15rem;
}

.recap-answer[b-gaschiaok3] {
    font-weight: 500;
}

/* ── Emergency escalation ─────────────────────────────── */
/* Deliberately loud: this must be impossible to mistake for ordinary page content. */
.emergency-panel[b-gaschiaok3] {
    border: 2px solid var(--danger-color);
    border-left-width: 6px;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    background: color-mix(in srgb, var(--danger-color) 6%, white);
    box-shadow: var(--shadow-md);
}

.emergency-headline[b-gaschiaok3] {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--danger-color);
    margin-bottom: var(--spacing-sm);
}

.emergency-message[b-gaschiaok3] {
    font-size: 1.05rem;
    margin-bottom: var(--spacing-lg);
}

.emergency-actions[b-gaschiaok3] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

/* ── Mobile (≤ 576px) ─────────────────────────────────── */
@media (max-width: 576px) {
    .emergency-actions .btn[b-gaschiaok3] {
        width: 100%;
        min-height: 44px;
    }

    .cg-question[b-gaschiaok3] {
        font-size: 1.1rem;
    }
}

/* Report download links — wrap on mobile so no button is pushed off-screen. */
.report-links[b-gaschiaok3] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.report-links .btn[b-gaschiaok3] {
    flex: 0 1 auto;
}

@media (max-width: 576px) {
    .report-links .btn[b-gaschiaok3] {
        flex: 1 1 100%;
    }
}
/* /Pages/Consultation/Consultation.razor.rz.scp.css */
/* ── Consultation page ─────────────────────────────────────── */
/* Width is capped globally by .page-shell (MainLayout) — no per-page cap. */

/* Inactive tabs use a neutral dark colour, not the default blue link colour, so
   enabled-but-not-active tabs (e.g. Documents) don't stand out as a stray blue link.
   Disabled tabs keep Bootstrap's muted grey. */
.consultation-page .nav-tabs .nav-link[b-7avnl61toh] {
    color: var(--gray-medium);
}

.consultation-page .nav-tabs .nav-link:not(.active):not(.disabled):hover[b-7avnl61toh] {
    color: var(--brand-navy);
}

/* Active tab: blue section-header gradient + white text, matching the panel theme. */
.consultation-page .nav-tabs .nav-link.active[b-7avnl61toh] {
    background: var(--gradient-section-header);
    color: var(--white);
    border-color: transparent;
}

.consultation-page .nav-tabs .nav-link.active:hover[b-7avnl61toh] {
    color: var(--white);
}

/* ── AI Review facts cards ─────────────────────────────────── */

.facts-card[b-7avnl61toh] {
    background: var(--surface-off-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
}

.facts-label[b-7avnl61toh] {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

/* ── Auto-detected languages (read-only note) ──────────────── */

.lang-auto-note[b-7avnl61toh] {
    background: var(--surface-blue-tint);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.85rem;
}

/* ── Capture status bar ────────────────────────────────────── */

.capture-status-bar[b-7avnl61toh] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    background: var(--warning-light-bg);
    border: 1px solid var(--warning-color);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.875rem;
}

.rec-dot[b-7avnl61toh] {
    color: var(--danger-color);
    font-size: 1.1rem;
    animation: blink-b-7avnl61toh 1s step-start infinite;
}

@keyframes blink-b-7avnl61toh {
    50% { opacity: 0; }
}

.capture-timer[b-7avnl61toh] {
    font-family: monospace;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-dark);
}

/* ── Language badges ────────────────────────────────────────── */

.lang-badges[b-7avnl61toh] {
    display: inline-flex;
    gap: 3px;
}

.lang-badge-small[b-7avnl61toh] {
    font-size: 0.65rem;
    padding: 1px 5px;
    border-radius: 10px;
    font-weight: 500;
    opacity: 0.75;
    vertical-align: middle;
}

/* ── VU meter ──────────────────────────────────────────────── */

.vu-meter[b-7avnl61toh] {
    display: inline-flex;
    gap: 2px;
    align-items: flex-end;
    height: 18px;
}

.vu-bar[b-7avnl61toh] {
    display: inline-block;
    width: 5px;
    height: 6px;
    background: var(--border-color);
    border-radius: 1px;
    transition: background 0.1s, height 0.1s;
}

.vu-bar-active[b-7avnl61toh] {
    background: var(--success-color);
    height: 14px;
}

/* ── Transcript area ───────────────────────────────────────── */

.transcript-area[b-7avnl61toh] {
    min-height: 240px;
    max-height: 420px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px;
    background: var(--surface-off-white);
}

.transcript-area-live[b-7avnl61toh] {
    background: var(--surface-blue-tint);
    border-color: rgba(var(--primary-rgb), 0.33);
}

.utterance-row[b-7avnl61toh] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.utterance-interim[b-7avnl61toh] {
    opacity: 0.6;
}

.utterance-time[b-7avnl61toh] {
    min-width: 52px;
    font-family: monospace;
}

.utterance-text[b-7avnl61toh] {
    flex: 1;
    word-break: break-word;
}

/* ── Speaker chips ─────────────────────────────────────────── */

.speaker-chip[b-7avnl61toh] {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    min-width: 60px;
    text-align: center;
}

.chip-doctor[b-7avnl61toh] {
    background: var(--chip-doctor-bg);
    color: var(--chip-doctor-text);
}

.chip-patient[b-7avnl61toh] {
    background: var(--chip-patient-bg);
    color: var(--chip-patient-text);
}

.chip-attender[b-7avnl61toh] {
    background: var(--warning-light-bg);
    color: var(--chip-attender-text);
}

.chip-unknown[b-7avnl61toh] {
    background: var(--chip-unknown-bg);
    color: var(--chip-unknown-text);
}

/* ── Private notes panel ───────────────────────────────────── */

.private-notes-panel[b-7avnl61toh] {
    border: 1px dashed rgba(var(--secondary-rgb), 0.4);
    border-radius: 6px;
    padding: 10px 12px;
    background: var(--surface-warm-white);
}

/* ── Transcript tab ────────────────────────────────────────── */

.session-divider[b-7avnl61toh] {
    border-top: 1px solid var(--border-color);
    padding-top: 8px;
    margin-top: 10px;
    margin-bottom: 6px;
}

.transcript-row[b-7avnl61toh] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    border-bottom: 1px solid var(--transcript-divider);
    font-size: 0.88rem;
}

.role-select[b-7avnl61toh] {
    width: 110px;
    flex-shrink: 0;
}

.utterance-deleted[b-7avnl61toh] {
    opacity: 0.5;
}

/* ── Clinical gaps checklist ───────────────────────────────── */

.clinical-gaps-panel[b-7avnl61toh] {
    border: 1.5px solid var(--warning-color);
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
}

.clinical-gaps-header[b-7avnl61toh] {
    background: var(--warning-light-bg);
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray-dark);
    border-bottom: 1px solid var(--warning-color);
}

.clinical-gaps-list[b-7avnl61toh] {
    margin: 0;
    padding: 10px 14px 10px 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.clinical-gap-item[b-7avnl61toh] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.clinical-gap-area[b-7avnl61toh] {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.clinical-gap-question[b-7avnl61toh] {
    font-size: 0.9rem;
    color: var(--gray-dark);
}

/* ── Actions tab ───────────────────────────────────────────── */

.actions-urgency-group[b-7avnl61toh] {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.actions-urgency-header[b-7avnl61toh] {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.actions-urgency-emergency[b-7avnl61toh] {
    background: var(--danger-light-bg);
    color: var(--danger-color);
    border-bottom: 1px solid var(--danger-color);
}

.actions-urgency-urgent[b-7avnl61toh] {
    background: var(--warning-light-bg);
    color: var(--act-color-clinical);
    border-bottom: 1px solid var(--warning-color);
}

.actions-urgency-routine[b-7avnl61toh] {
    background: var(--surface-blue-tint);
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
}

.actions-category-section[b-7avnl61toh] {
    padding: 10px 14px 4px;
    border-bottom: 1px solid var(--border-color);
}

.actions-category-section:last-child[b-7avnl61toh] {
    border-bottom: none;
}

.actions-category-label[b-7avnl61toh] {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.action-card[b-7avnl61toh] {
    background: var(--surface-off-white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 6px;
}

.action-name[b-7avnl61toh] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-dark);
}

.action-rationale[b-7avnl61toh] {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ── Reports tab ───────────────────────────────────────────── */

.report-options-panel[b-7avnl61toh] {
    background: var(--surface-off-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 18px;
}

.report-options-title[b-7avnl61toh] {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.report-section[b-7avnl61toh] {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.report-section-header[b-7avnl61toh] {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
}

/* Navy → colour gradient to match the .section-card-header bars, while keeping the
   doctor = blue / patient = green clinical colour-code. */
.report-section-doctor[b-7avnl61toh] {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--medical-blue) 100%);
}

.report-section-patient[b-7avnl61toh] {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--medical-green) 100%);
}

.report-section-body[b-7avnl61toh] {
    padding: 12px 14px;
    background: var(--white);
}

.report-download-link[b-7avnl61toh] {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    margin-bottom: 8px;
    background: var(--surface-off-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.report-download-link:hover[b-7avnl61toh] {
    background: var(--surface-blue-tint);
    color: var(--primary);
}

/* ── Report generating indicator ───────────────────────────── */

.report-generating-pulse[b-7avnl61toh] {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-circle);
    background: linear-gradient(135deg, var(--fc-reports-50) 0%, var(--fc-reports-100) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: report-pulse-b-7avnl61toh 1.6s ease-in-out infinite;
}

.report-generating-icon[b-7avnl61toh] {
    font-size: 2rem;
    color: var(--primary-color);
}

.report-generating-progress[b-7avnl61toh] {
    width: min(320px, 100%);
    height: 6px;
    border-radius: var(--radius-sm);
    background: var(--blue-gray-50);
}

.report-generating-progress .progress-bar[b-7avnl61toh] {
    width: 100%;
    border-radius: var(--radius-sm);
}

@keyframes report-pulse-b-7avnl61toh {
    0%, 100% { transform: scale(1);   box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.25); }
    50%       { transform: scale(1.08); box-shadow: 0 0 0 10px rgba(var(--primary-rgb), 0); }
}

/* ── Tab content card ──────────────────────────────────────── */

.tab-content.card[b-7avnl61toh] {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    min-height: 400px;
}

/* ── Phase 4: Draft editor ─────────────────────────────────── */

.draft-editor-card[b-7avnl61toh] {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.draft-editor-header[b-7avnl61toh] {
    background: var(--surface-off-white);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 12px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.draft-editor-textarea[b-7avnl61toh] {
    border-radius: 0;
    border: none;
    resize: vertical;
    font-size: 0.82rem;
    line-height: 1.55;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

.draft-editor-textarea:focus[b-7avnl61toh] {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(var(--primary-rgb), 0.3);
}

/* ── Admission order card (OP→IP hand-off) — pinned at the top of the Actions tab ──────────── */
.admission-order-card[b-7avnl61toh] {
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 14px;
    background: var(--surface-off-white);
}

.admission-order-card--pending[b-7avnl61toh] {
    border-left-color: var(--warning-color);
    background: var(--warning-light-bg);
}

.admission-order-card--raised[b-7avnl61toh] {
    border-left-color: var(--success-color);
    background: var(--success-subtle-bg);
}

.admission-order-card--closed[b-7avnl61toh] {
    border-left-color: var(--danger-color);
    background: var(--danger-light-bg);
}

.admission-order-card--dismissed[b-7avnl61toh] {
    border-left-color: var(--border-color);
    color: var(--text-muted);
}

.admission-order-head[b-7avnl61toh] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 12px;
}

.admission-order-title[b-7avnl61toh] {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-dark);
}

.admission-order-badges[b-7avnl61toh] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.admission-order-reason[b-7avnl61toh] {
    margin-top: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-dark);
}

.admission-order-quote[b-7avnl61toh] {
    margin: 8px 0 0;
    padding-left: 10px;
    border-left: 3px solid var(--border-color);
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-muted);
}

.admission-order-status[b-7avnl61toh] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-top: 8px;
    font-size: 0.85rem;
}

.admission-order-actions[b-7avnl61toh] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-top: 10px;
}

/* A pending admission order makes the tab itself demand attention. */
.consultation-page .nav-tabs .nav-link--attention:not(.active)[b-7avnl61toh] {
    color: var(--warning-dark-text);
}

@media (max-width: 575.98px) {
    .admission-order-actions .btn:not(.btn-link)[b-7avnl61toh] {
        width: 100%;
        min-height: 44px;
    }
}
/* /Pages/Consultation/Diary.razor.rz.scp.css */
/* Patient diary — recency-adaptive groups (Upcoming / weekly / monthly / yearly) */
.diary-group[b-z2qzz92c4v] {
    margin-bottom: var(--spacing-lg);
}

.diary-group-header[b-z2qzz92c4v] {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.4rem 0.1rem;
    margin-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--gray-subtle);
}

.diary-group-title[b-z2qzz92c4v] {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--brand-navy);
}

.diary-group-count[b-z2qzz92c4v] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    height: 1.4rem;
    padding: 0 0.4rem;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1;
    color: var(--blue-gray-300);
    background: var(--surface-cool);
    border: 1px solid var(--gray-subtle);
    border-radius: var(--radius-circle);
}

/* Clinician diary — elegant email-style accordion list */

.diary-list[b-z2qzz92c4v] {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.diary-row[b-z2qzz92c4v] {
    border: 1px solid var(--gray-subtle);
    border-radius: var(--radius-md);
    background: var(--white);
    overflow: hidden;
    transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.diary-row:hover[b-z2qzz92c4v] {
    box-shadow: var(--shadow-sm);
}

.diary-row--open[b-z2qzz92c4v] {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

/* Collapsed single-line summary */
.diary-row-header[b-z2qzz92c4v] {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.6rem 0.85rem;
    cursor: pointer;
    user-select: none;
    min-height: 48px;
}

.diary-row-header:hover[b-z2qzz92c4v] {
    background: var(--fc-reports-50);
}

.diary-time[b-z2qzz92c4v] {
    font-weight: 600;
    white-space: nowrap;
    min-width: 76px;
}

/* Truncating columns must be allowed to shrink */
.diary-patient[b-z2qzz92c4v] {
    min-width: 0;
}

.diary-reason[b-z2qzz92c4v] {
    min-width: 0;
    max-width: 280px;
}

.diary-row-chevron[b-z2qzz92c4v] {
    flex-shrink: 0;
    color: var(--blue-gray-300);
}

/* Status chip (Bootstrap 5.1 has no -subtle utilities, so we tint with tokens) */
.diary-status[b-z2qzz92c4v] {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
}

.diary-status--confirmed[b-z2qzz92c4v] {
    background: var(--success-bg-subtle);
    color: var(--success-text-dark);
    border-color: var(--success-border-subtle);
}

.diary-status--completed[b-z2qzz92c4v] {
    background: var(--blue-gray-50);
    color: var(--brand-navy);
    border-color: var(--blue-gray-300);
}

.diary-status--rescheduled[b-z2qzz92c4v] {
    background: var(--warning-bg-subtle);
    color: var(--warning-text-em);
    border-color: var(--warning-border-subtle);
}

.diary-status--cancelled[b-z2qzz92c4v] {
    background: var(--danger-bg-subtle);
    color: var(--danger-text-dark);
    border-color: var(--feedback-error-border);
}

.diary-status--missed[b-z2qzz92c4v] {
    background: var(--warning-bg-subtle);
    color: var(--warning-text-em);
    border-color: var(--warning-border-subtle);
}

/* OP→IP hand-off: a live admission order (amber while the bed team works it, navy once assigned). */
.diary-status--admitting[b-z2qzz92c4v] {
    background: var(--warning-bg-subtle);
    color: var(--warning-text-em);
    border-color: var(--warning-border-subtle);
}

.diary-status--admitted[b-z2qzz92c4v] {
    background: var(--brand-navy);
    color: var(--white);
    border-color: var(--brand-navy);
}

.diary-status--default[b-z2qzz92c4v] {
    background: var(--surface-cool);
    color: var(--blue-gray-300);
    border-color: var(--gray-subtle);
}

/* Expanded detail panel */
.diary-row-detail[b-z2qzz92c4v] {
    padding: 0.85rem;
    border-top: 1px solid var(--gray-subtle);
    background: var(--surface-cool);
}

/* Detail meta — a tidy responsive label/value grid */
.diary-meta[b-z2qzz92c4v] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 1.5rem;
    margin: 0 0 0.85rem;
}

.diary-meta-item dt[b-z2qzz92c4v] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--blue-gray-300);
    margin-bottom: 0.1rem;
}

.diary-meta-item dd[b-z2qzz92c4v] {
    margin: 0;
    font-size: 0.9rem;
}

/* Action bar — separated from the meta block */
.diary-actions[b-z2qzz92c4v] {
    padding-top: 0.75rem;
    border-top: 1px dashed var(--gray-subtle);
}

/* Mobile: let the summary line wrap so nothing is clipped */
@media (max-width: 576px) {
    .diary-row-header[b-z2qzz92c4v] {
        flex-wrap: wrap;
    }

    .diary-reason[b-z2qzz92c4v] {
        max-width: 100%;
    }

    .diary-meta[b-z2qzz92c4v] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Consultation/MyDocuments.razor.rz.scp.css */
.my-documents-page[b-sxpn8stk0y] {
    padding-bottom: 2rem;
}

/* ── File list scroll container ─────────────────────── */
.selected-files[b-sxpn8stk0y] {
    max-height: 320px;
    overflow-y: auto;
}

/* ── Document list item ────────────────────────────── */
.doc-list-item[b-sxpn8stk0y] {
    transition: box-shadow var(--transition-fast);
}

.doc-list-item:hover[b-sxpn8stk0y] {
    box-shadow: var(--shadow-sm);
}
/* /Pages/Consultation/Reports.razor.rz.scp.css */
/* Width is capped globally by .page-shell (MainLayout) — no per-page cap. */

/* Section headers use the shared global .section-card-header (app.css). */

/* ── Patient report section headers ─────────────────── */
.report-section-header[b-2b6tfc8ibf] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    margin-top: 0.25rem;
    padding: 0.6rem 0.25rem;
    border-bottom: 2px solid var(--border-color);
}

.report-section-icon[b-2b6tfc8ibf] {
    font-size: 1.4rem;
    width: 2rem;
    text-align: center;
    flex-shrink: 0;
}

.diagnosis-icon[b-2b6tfc8ibf]   { color: var(--primary-color); }
.prescription-icon[b-2b6tfc8ibf] { color: var(--success-color); }

.report-section-title[b-2b6tfc8ibf] {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.report-section-subtitle[b-2b6tfc8ibf] {
    font-size: 0.78rem;
    color: var(--secondary-color);
}

/* ── Mobile report card list ─────────────────────────── */
.report-card-list[b-2b6tfc8ibf] {
    display: flex;
    flex-direction: column;
}

.report-card[b-2b6tfc8ibf] {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--white);
}

.report-card:last-child[b-2b6tfc8ibf] {
    border-bottom: none;
}
/* /Pages/Consultation/WoundAnalysis.razor.rz.scp.css */
/* ── Page ─────────────────────────────────────────────── */
/* Width is capped globally by .page-shell (MainLayout) — no per-page cap. */
.medical-analysis-page[b-ixeosscr89] {
    padding-bottom: 2rem;
}

/* Result card header keeps the light surface (Booking-style).
   ::deep pierces the <Card> child component's CSS isolation boundary. */
.medical-analysis-page[b-ixeosscr89]  .result-card .card-header {
    background: var(--surface-slate);
}

/* Upload card header uses the shared global .section-card-header (app.css). */

/* ── Non-medical rejection panel ─────────────────────── */
.rejection-panel[b-ixeosscr89] {
    border-left: 4px solid var(--warning-color);
}

.rejection-file-list[b-ixeosscr89] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rejection-file-list li[b-ixeosscr89] {
    font-size: 0.875rem;
    padding: 0.2rem 0;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.1rem;
}

.rejection-file-list .text-muted[b-ixeosscr89] {
    font-size: 0.82rem;
    line-height: 1.4;
}

/* ── Result card ──────────────────────────────────────── */
.result-card[b-ixeosscr89] {
    border-top: 4px solid var(--success-color);
}

.report-text[b-ixeosscr89] {
    white-space: pre-wrap;
    font-size: 0.93rem;
    line-height: 1.7;
    color: var(--dark-text);
}

/* ── Patient tab controls ─────────────────────────────── */
.language-select[b-ixeosscr89] {
    min-width: 160px;
    width: auto;
}

/* ── Source image gallery ─────────────────────────────── */
.clara-gallery[b-ixeosscr89] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.clara-gallery-thumb[b-ixeosscr89] {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.clara-gallery-thumb:hover[b-ixeosscr89] {
    border-color: var(--primary-color);
    transform: scale(1.04);
}

.clara-gallery-thumb img[b-ixeosscr89] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clara-gallery-label[b-ixeosscr89] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(var(--black-rgb), 0.55);
    color: var(--white);
    font-size: 0.6rem;
    text-align: center;
    padding: 2px 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Lightbox styles now live in the shared ImageLightbox component
   (Shared/Components/ImageLightbox.razor.css). */

/* ── Patient picker ──────────────────────────────────── */
.patient-chip[b-ixeosscr89] {
    background: var(--media-active-bg);
    border-color: var(--primary-color) !important;
    border-radius: var(--radius-md);
}


/* ── Section toggle ───────────────────────────────────── */
.section-toggle-header[b-ixeosscr89] {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    background: var(--surface-cool);
    user-select: none;
    min-height: 44px;
}

.section-toggle-header:hover[b-ixeosscr89] {
    background: var(--blue-gray-50);
}

/* ── Tablet (≤ 768px) ─────────────────────────────────── */
@media (max-width: 768px) {
    .medical-analysis-page[b-ixeosscr89] {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
}

/* ── Mobile (≤ 576px) ─────────────────────────────────── */
@media (max-width: 576px) {
    .page-icon[b-ixeosscr89] {
        font-size: 1.8rem;
    }

    .page-title[b-ixeosscr89] {
        font-size: 1.25rem;
    }

    /* Report tabs: tighter padding */
    .report-tabs .nav-link[b-ixeosscr89] {
        font-size: 0.82rem;
        padding: 0.35rem 0.55rem;
    }

    /* Patient controls: stack label + select + button vertically */
    .patient-controls .d-flex[b-ixeosscr89] {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.5rem !important;
    }

    .language-select[b-ixeosscr89] {
        width: 100% !important;
        min-width: unset;
    }

    .download-btn[b-ixeosscr89] {
        width: 100%;
        justify-content: center;
    }

    /* Report text slightly smaller */
    .report-text[b-ixeosscr89] {
        font-size: 0.875rem;
    }

    /* Reduce card padding */
    .card-body[b-ixeosscr89] {
        padding: 0.75rem;
    }

    /* Ensure history file name truncates */
    .history-item-name[b-ixeosscr89] {
        max-width: calc(100vw - 140px);
    }
}
/* /Pages/Contact.razor.rz.scp.css */
.contact-card[b-btmbd0foch] {
    background: #ffffff;
    border: 1px solid var(--blue-gray-300);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-2xl);
}

.contact-icon-wrap[b-btmbd0foch] {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
}
/* /Pages/Home.razor.rz.scp.css */
/* ── Hero + Avatar Video Combined Section ──────────────────── */
.hero-badge[b-0anbkztun8] {
    display: inline-flex;
    align-items: center;
    background: rgba(var(--white-rgb), 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(var(--white-rgb), 0.25);
    border-radius: 2rem;
    padding: 0.25rem 0.85rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    color: rgba(var(--white-rgb), 0.95);
}

.hero-title[b-0anbkztun8] {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.hero-brand[b-0anbkztun8] {
    background: linear-gradient(90deg, var(--hero-brand-start), var(--hero-brand-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle[b-0anbkztun8] {
    font-size: 0.95rem;
    line-height: 1.4;
    color: rgba(var(--white-rgb), 0.8);
    margin-bottom: 0;
}

/* ── AI Avatar Video Section ─────────────────────────────── */
.avatar-video-section[b-0anbkztun8] {
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--hero-video-start) 0%, var(--hero-video-mid) 40%, var(--hero-video-end) 100%);
    color: var(--white);
    overflow: hidden;
}

.avatar-video-content[b-0anbkztun8] {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 2.5rem;
}

.avatar-video-text[b-0anbkztun8] {
    flex: 1;
}

.avatar-video-badge[b-0anbkztun8] {
    display: inline-flex;
    align-items: center;
    background: rgba(var(--sky-blue-rgb), 0.2);
    border: 1px solid rgba(var(--sky-blue-rgb), 0.35);
    border-radius: 2rem;
    padding: 0.2rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    color: var(--sky-blue-light);
}

.avatar-video-title[b-0anbkztun8] {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.avatar-video-desc[b-0anbkztun8] {
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(var(--white-rgb), 0.75);
    margin-bottom: 0;
}

.avatar-video-player[b-0anbkztun8] {
    flex-shrink: 0;
    width: 60%;
    min-width: 300px;
}

.avatar-video-iframe[b-0anbkztun8] {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 4px 20px rgba(var(--black-rgb), 0.3);
}

@media (max-width: 991.98px) {
    .avatar-video-content[b-0anbkztun8] {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }

    .avatar-video-player[b-0anbkztun8] {
        width: 100%;
        min-width: unset;
    }
}

@media (min-width: 992px) and (max-width: 1399.98px) {
    .avatar-video-player[b-0anbkztun8] {
        width: 55%;
    }
}

/* ── Clara Chat Banner ──────────────────────────────────────── */
.clara-banner[b-0anbkztun8] {
    border-radius: 0.85rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--brand-blue) 100%);
    color: var(--white);
    overflow: hidden;
}

.clara-banner-content[b-0anbkztun8] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
}

.clara-banner-icon[b-0anbkztun8] {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.clara-banner-text[b-0anbkztun8] {
    flex: 1;
}

.clara-banner-title[b-0anbkztun8] {
    font-size: 1rem;
    font-weight: 600;
}

.clara-banner-desc[b-0anbkztun8] {
    font-size: 0.85rem;
    opacity: 0.9;
}

.clara-banner-btn[b-0anbkztun8] {
    white-space: nowrap;
    font-weight: 500;
    flex-shrink: 0;
}

@media (max-width: 575.98px) {
    .clara-banner-content[b-0anbkztun8] {
        flex-direction: column;
        text-align: center;
    }
}

/* ── Feature Cards ──────────────────────────────────────────── */
.feature-card[b-0anbkztun8] {
    position: relative;
    border-radius: 0.85rem;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--gray-subtle);
    background: var(--white);
    overflow: hidden;
}

.feature-card[b-0anbkztun8]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 0.85rem 0.85rem 0 0;
}

.feature-card:hover[b-0anbkztun8] {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(var(--black-rgb), 0.1);
}

.feature-card--appointment[b-0anbkztun8]::before { background: linear-gradient(90deg, var(--fc-appt-500), var(--fc-appt-300)); }
.feature-card--symptom-assessment[b-0anbkztun8]::before   { background: linear-gradient(90deg, var(--fc-symptom-500), var(--fc-symptom-400)); }
.feature-card--wound-analysis[b-0anbkztun8]::before       { background: linear-gradient(90deg, var(--fc-wound-500), var(--fc-wound-300)); }
.feature-card--discharge[b-0anbkztun8]::before   { background: linear-gradient(90deg, var(--fc-discharge-500), var(--fc-discharge-300)); }
.feature-card--reports[b-0anbkztun8]::before     { background: linear-gradient(90deg, var(--fc-reports-500), var(--fc-reports-300)); }

.feature-card__icon-wrap[b-0anbkztun8] {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.feature-card--appointment .feature-card__icon-wrap[b-0anbkztun8] { background: linear-gradient(135deg, var(--fc-appt-500), var(--fc-appt-600)); }
.feature-card--symptom-assessment   .feature-card__icon-wrap[b-0anbkztun8] { background: linear-gradient(135deg, var(--fc-symptom-500), var(--fc-symptom-600)); }
.feature-card--wound-analysis       .feature-card__icon-wrap[b-0anbkztun8] { background: linear-gradient(135deg, var(--fc-wound-500), var(--fc-wound-600)); }
.feature-card--discharge   .feature-card__icon-wrap[b-0anbkztun8] { background: linear-gradient(135deg, var(--fc-discharge-500), var(--fc-discharge-600)); }
.feature-card--reports     .feature-card__icon-wrap[b-0anbkztun8] { background: linear-gradient(135deg, var(--fc-reports-500), var(--brand-blue)); }

.feature-card__title[b-0anbkztun8] {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--dark-text);
}

.feature-card__desc[b-0anbkztun8] {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--secondary-color);
    flex: 1;
    margin-bottom: 0.75rem;
}

.feature-card__tags[b-0anbkztun8] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.feature-tag[b-0anbkztun8] {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.15rem 0.5rem;
    border-radius: 1rem;
    background: var(--light-bg);
    color: var(--secondary-color);
}

.feature-card--appointment .feature-tag[b-0anbkztun8] { background: var(--fc-appt-50); color: var(--fc-appt-700); }
.feature-card--symptom-assessment   .feature-tag[b-0anbkztun8] { background: var(--fc-symptom-50); color: var(--fc-symptom-700); }
.feature-card--wound-analysis       .feature-tag[b-0anbkztun8] { background: var(--fc-wound-50); color: var(--fc-wound-700); }
.feature-card--discharge   .feature-tag[b-0anbkztun8] { background: var(--fc-discharge-50); color: var(--fc-discharge-700); }
.feature-card--reports     .feature-tag[b-0anbkztun8] { background: var(--fc-reports-50); color: var(--fc-reports-700); }

.feature-card__action[b-0anbkztun8] {
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: gap 0.2s ease;
}

.feature-card--appointment .feature-card__action[b-0anbkztun8] { color: var(--fc-appt-600); }
.feature-card--symptom-assessment   .feature-card__action[b-0anbkztun8] { color: var(--fc-symptom-600); }
.feature-card--wound-analysis       .feature-card__action[b-0anbkztun8] { color: var(--fc-wound-600); }
.feature-card--discharge   .feature-card__action[b-0anbkztun8] { color: var(--fc-discharge-600); }
.feature-card--reports     .feature-card__action[b-0anbkztun8] { color: var(--brand-blue); }

.feature-card:hover .feature-card__action[b-0anbkztun8] {
    gap: 0.25rem;
}

/* ── Platform Highlights ────────────────────────────────────── */
.highlight-item[b-0anbkztun8] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
}

.highlight-icon[b-0anbkztun8] {
    font-size: 1.3rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.highlight-item strong[b-0anbkztun8] {
    font-size: 0.88rem;
    display: block;
    margin-bottom: 0.1rem;
    color: var(--dark-text);
}

/* ── Key Capabilities ────────────────────────────────────────── */
.capabilities-list[b-0anbkztun8] {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.capability-item[b-0anbkztun8] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-bg);
}

.capability-item:last-child[b-0anbkztun8] {
    border-bottom: none;
}

.capability-item strong[b-0anbkztun8] {
    font-size: 0.88rem;
    display: block;
    margin-bottom: 0.1rem;
    color: var(--dark-text);
}

.capability-icon-wrap[b-0anbkztun8] {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.capability-icon--reports[b-0anbkztun8] {
    background: var(--cap-reports-bg);
    color: var(--fc-discharge-600);
}

.capability-icon--voice[b-0anbkztun8] {
    background: var(--cap-voice-bg);
    color: var(--brand-blue);
}

.capability-icon--ai[b-0anbkztun8] {
    background: var(--cap-ai-bg);
    color: var(--cap-ai-text);
}

.capability-icon--doctor[b-0anbkztun8] {
    background: var(--cap-doctor-bg);
    color: var(--fc-appt-600);
}

.capability-icon--wound[b-0anbkztun8] {
    background: var(--cap-wound-bg);
    color: var(--fc-wound-600);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-section[b-0anbkztun8] {
        padding: 1.5rem 1.25rem;
        border-radius: 0.75rem;
    }

    .hero-title[b-0anbkztun8] {
        font-size: 1.5rem;
    }

    .hero-subtitle[b-0anbkztun8] {
        font-size: 0.85rem;
    }

    .feature-card[b-0anbkztun8] {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero-section[b-0anbkztun8] {
        padding: 1.25rem 1rem;
    }

    .hero-title[b-0anbkztun8] {
        font-size: 1.25rem;
    }

    .feature-card__title[b-0anbkztun8] {
        font-size: 0.95rem;
    }
}
/* /Pages/Identity/Activity.razor.rz.scp.css */
/* ── Page wrapper ──────────────────────────────────────────────────────── */

/* Width is capped globally by .page-shell (MainLayout) — no per-page cap. */
.activity-page[b-d3630p851u] {
    padding-bottom: var(--spacing-3xl);
}

/* Section headers use the shared global .section-card-header (app.css). */

/* ── Header ────────────────────────────────────────────────────────────── */

.activity-header[b-d3630p851u] {
    /* No bottom divider — matches the plain .page-header used on other pages. */
}

/* ── Stat cards ── now the shared <StatCard Centered="true"> (app.css). ── */

/* ── Result header ─────────────────────────────────────────────────────── */

.activity-result-header[b-d3630p851u] {
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    background: var(--light-bg);
    border: 1px solid var(--gray-subtle);
}

/* ── Timeline container ────────────────────────────────────────────────── */

.activity-timeline[b-d3630p851u] {
    position: relative;
}

/* Vertical line running through the timeline */
.activity-timeline[b-d3630p851u]::before {
    content: '';
    position: absolute;
    left: 26px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--border-color), var(--border-color) 95%, transparent);
    border-radius: 1px;
}

/* ── Collapsible day group header ───────────────────────────────────────── */

.activity-day-header[b-d3630p851u] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    width: calc(100% - 42px);
    min-height: 44px;
    margin: var(--spacing-lg) 0 var(--spacing-sm) 42px;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-medium);
    background: var(--act-day-label-bg);
    border: 1px solid var(--act-day-label-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: left;
    transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.activity-day-header:hover[b-d3630p851u] {
    background: var(--surface-slate);
    box-shadow: var(--shadow-sm);
}

.activity-day-icon[b-d3630p851u] {
    color: var(--primary-color);
}

.activity-day-count[b-d3630p851u] {
    background: var(--blue-gray-50);
    color: var(--gray-medium);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-xl);
}

.activity-day-failed[b-d3630p851u] {
    background: var(--danger-subtle-bg);
    color: var(--danger-color);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-xl);
}

.activity-day-chevron[b-d3630p851u] {
    color: var(--secondary-color);
    transition: transform var(--transition-base);
}

.activity-day-header.is-open .activity-day-chevron[b-d3630p851u] {
    transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
    .activity-day-chevron[b-d3630p851u] {
        transition: none;
    }
}

/* ── Individual timeline item ──────────────────────────────────────────── */

.activity-item[b-d3630p851u] {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-sm) var(--spacing-sm) 0;
}

/* Status dot on the vertical line */
.activity-dot[b-d3630p851u] {
    position: absolute;
    left: 21px;
    top: 14px;
    width: 12px;
    height: 12px;
    border-radius: var(--radius-circle);
    border: 2px solid var(--white);
    z-index: 1;
    flex-shrink: 0;
}

.activity-dot--ok[b-d3630p851u]   { background: var(--success-color); }
.activity-dot--fail[b-d3630p851u] { background: var(--danger-color); }

/* Icon circle */
.activity-icon-wrap[b-d3630p851u] {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    margin-left: 42px;
    box-shadow: var(--shadow-sm);
}

/* Content card */
.activity-content[b-d3630p851u] {
    flex: 1;
    background: var(--white);
    border: 1px solid var(--gray-subtle);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    min-width: 0;
}

.activity-content:hover[b-d3630p851u] {
    border-color: var(--act-content-hover-border);
    box-shadow: var(--shadow-md);
}

.activity-item--failed .activity-content[b-d3630p851u] {
    border-left: 3px solid var(--danger-color);
    background: var(--danger-subtle-bg);
}

/* Content header row */
.activity-content-header[b-d3630p851u] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.activity-action-label[b-d3630p851u] {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-text);
}

.activity-time[b-d3630p851u] {
    font-size: 0.78rem;
    color: var(--secondary-color);
    white-space: nowrap;
}

/* Meta row */
.activity-meta[b-d3630p851u] {
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.activity-category-badge[b-d3630p851u] {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 2px 7px;
    border-radius: var(--radius-xl);
}

/* Details row */
.activity-details[b-d3630p851u] {
    font-size: 0.8rem;
    color: var(--secondary-color);
    word-break: break-word;
}

/* ── Icon backgrounds ──────────────────────────────────────────────────── */

.icon-bg--appointments[b-d3630p851u]  { background: var(--act-icon-bg-appointments);  color: var(--primary-color); }
.icon-bg--diagnosis[b-d3630p851u]     { background: var(--act-icon-bg-diagnosis);     color: var(--act-color-diagnosis); }
.icon-bg--prescriptions[b-d3630p851u] { background: var(--act-icon-bg-prescriptions); color: var(--act-color-prescriptions); }
.icon-bg--reports[b-d3630p851u]       { background: var(--act-icon-bg-reports);       color: var(--success-color); }
.icon-bg--notifications[b-d3630p851u] { background: var(--act-icon-bg-notifications); color: var(--act-color-notifications); }
.icon-bg--auth[b-d3630p851u]          { background: var(--disabled-bg);               color: var(--gray-medium); }
.icon-bg--users[b-d3630p851u]         { background: var(--act-icon-bg-users);         color: var(--success-color); }
.icon-bg--clinical[b-d3630p851u]      { background: var(--warning-light-bg);          color: var(--act-color-clinical); }
.icon-bg--symptom[b-d3630p851u]       { background: var(--act-icon-bg-symptom);       color: var(--info-color); }
.icon-bg--default[b-d3630p851u]       { background: var(--light-bg);                  color: var(--secondary-color); }

/* ── Category badge colours ────────────────────────────────────────────── */

.badge--appointments[b-d3630p851u]  { background: var(--act-badge-bg-appointments);  color: var(--act-badge-text-appointments);  border: 1px solid var(--act-badge-border-appointments); }
.badge--diagnosis[b-d3630p851u]     { background: var(--act-badge-bg-diagnosis);     color: var(--act-badge-text-diagnosis);     border: 1px solid var(--act-badge-border-diagnosis); }
.badge--prescriptions[b-d3630p851u] { background: var(--act-badge-bg-prescriptions); color: var(--act-badge-text-prescriptions); border: 1px solid var(--act-badge-border-prescriptions); }
.badge--reports[b-d3630p851u]       { background: var(--chip-patient-bg);            color: var(--act-badge-text-reports);       border: 1px solid var(--act-badge-border-reports); }
.badge--notifications[b-d3630p851u] { background: var(--act-badge-bg-notifications); color: var(--act-badge-text-notifications); border: 1px solid var(--act-badge-border-notifications); }
.badge--auth[b-d3630p851u]          { background: var(--gray-subtle);                color: var(--act-badge-text-auth);          border: 1px solid var(--border-color); }
.badge--clinical[b-d3630p851u]      { background: var(--warning-light-bg);           color: var(--warning-dark-text);            border: 1px solid var(--act-badge-border-clinical); }
.badge--symptom[b-d3630p851u]       { background: var(--info-lighter-bg);            color: var(--act-badge-text-symptom);       border: 1px solid var(--act-badge-border-symptom); }
.badge--default[b-d3630p851u]       { background: var(--light-bg);                   color: var(--gray-medium);                  border: 1px solid var(--border-color); }

/* ── Spinner rotation ──────────────────────────────────────────────────── */

.spin[b-d3630p851u] {
    animation: spin-b-d3630p851u 1s linear infinite;
}

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

/* ── Responsive tweaks ─────────────────────────────────────────────────── */

@media (max-width: 576px) {
    .activity-page[b-d3630p851u] {
        padding-top: var(--spacing-md);
    }

    .activity-stat-value[b-d3630p851u] {
        font-size: 1.35rem;
    }

    .activity-icon-wrap[b-d3630p851u] {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
        margin-left: 38px;
    }

    .activity-timeline[b-d3630p851u]::before {
        left: 22px;
    }

    .activity-dot[b-d3630p851u] {
        left: 17px;
        width: 10px;
        height: 10px;
    }
}
/* /Pages/Identity/ChooseHospital.razor.rz.scp.css */
.choose-hospital-list[b-1qqk9b8rxg] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 40rem;
}

.choose-hospital-item[b-1qqk9b8rxg] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    min-height: 44px;
    padding: 0.75rem 1rem;
    text-align: left;
    background: var(--surface-off-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

button.choose-hospital-item:hover:not(:disabled)[b-1qqk9b8rxg] {
    background: var(--primary-light-bg);
    border-color: var(--brand-blue);
}

.choose-hospital-item--current[b-1qqk9b8rxg] {
    border-color: var(--brand-blue);
}

.choose-hospital-icon[b-1qqk9b8rxg] {
    font-size: 1.25rem;
    color: var(--brand-blue);
}

.choose-hospital-text[b-1qqk9b8rxg] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.choose-hospital-name[b-1qqk9b8rxg] {
    font-weight: 600;
    overflow-wrap: anywhere;
}

.choose-hospital-role[b-1qqk9b8rxg] {
    font-size: 0.875rem;
    color: var(--bs-secondary-color);
}

.choose-hospital-actions[b-1qqk9b8rxg] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

@media (max-width: 575.98px) {
    .choose-hospital-item--invite[b-1qqk9b8rxg] {
        flex-wrap: wrap;
    }

    .choose-hospital-actions[b-1qqk9b8rxg] {
        width: 100%;
    }
}
/* /Pages/Identity/FamilyAccess.razor.rz.scp.css */
/* Family Access (design/family-proxy-access-design.md §5) — page-scoped. */

.family-card-header[b-a9edn9lyp3] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-sm);
}

/* Link to children (§15): each tick row is a full touch target on a phone. */
.family-child-option[b-a9edn9lyp3] {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    min-height: 44px;
}
/* /Pages/Identity/PatientRegistration.razor.rz.scp.css */
.registration-modes[b-8i0bloo4rd] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.registration-modes .btn[b-8i0bloo4rd] {
    min-height: 44px;
}

.registration-done-icon[b-8i0bloo4rd] {
    font-size: 2.5rem;
    color: var(--brand-blue);
}

.registration-pid[b-8i0bloo4rd] {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-blue);
}

.registration-duplicates[b-8i0bloo4rd] {
    border-color: var(--feedback-warning-border);
}

@media (max-width: 575.98px) {
    .registration-modes .btn[b-8i0bloo4rd] {
        flex: 1 1 100%;
    }
}

.registration-scan[b-8i0bloo4rd] {
    border-bottom: 1px solid var(--border-color);
}

.registration-from-id[b-8i0bloo4rd] {
    background: var(--primary-light-bg);
    color: var(--brand-blue);
    font-weight: 500;
}
/* /Pages/Identity/ProfessionalDetails.razor.rz.scp.css */
/* Live "as shown on documents" name preview */
.doc-name-preview[b-126y2gb4er] {
	display: flex;
	align-items: center;
	gap: var(--spacing-md);
	padding: var(--spacing-md) var(--spacing-lg);
	margin-bottom: var(--spacing-lg);
	background: var(--primary-light-bg);
	border: 1px solid var(--primary-color);
	border-radius: var(--radius-md);
}

.doc-name-preview-icon[b-126y2gb4er] {
	font-size: 1.75rem;
	color: var(--primary-color);
	flex: 0 0 auto;
}

.doc-name-preview-label[b-126y2gb4er] {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--primary-color);
	font-weight: 600;
}

.doc-name-preview-value[b-126y2gb4er] {
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--brand-dark);
}

/* Structured qualification rows: Degree | Specialty | Year | remove */
.qualification-row[b-126y2gb4er] {
	display: grid;
	grid-template-columns: minmax(90px, 1fr) minmax(120px, 1.6fr) 104px auto;
	gap: var(--spacing-sm);
	align-items: start;
	margin-bottom: var(--spacing-sm);
}

/* Degree cell holds the dropdown + (when "Other…") a free-text input stacked below it. */
.qual-degree-cell[b-126y2gb4er] {
	min-width: 0;
}

/* Languages-spoken checkbox grid */
.language-grid[b-126y2gb4er] {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: var(--spacing-xs) var(--spacing-md);
	padding: var(--spacing-sm) var(--spacing-md);
	border: 1px solid var(--blue-gray-300);
	border-radius: var(--radius-md);
	background: var(--surface-cool);
}

@media (max-width: 576px) {
	.qualification-row[b-126y2gb4er] {
		grid-template-columns: 1fr 1fr;
	}

	.qualification-row .qual-degree-cell[b-126y2gb4er] {
		grid-column: 1 / -1;
	}
}
/* /Pages/Identity/UserProfile.razor.rz.scp.css */
/* All shared styles live in app.css — no page-specific overrides needed */

/* Grouped sub-sections inside the Professional Details card */
.prof-subsection[b-1448jm30u2] {
	padding: var(--spacing-lg) 0;
	border-top: 1px solid var(--blue-gray-50);
}

.prof-subsection:first-child[b-1448jm30u2] {
	padding-top: 0;
	border-top: none;
}

.prof-subsection:last-child[b-1448jm30u2] {
	padding-bottom: 0;
}

.prof-subsection-title[b-1448jm30u2] {
	display: flex;
	align-items: center;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--primary-color);
	margin-bottom: var(--spacing-md);
}

/* Structured qualification rows: Degree | Specialty | Year | remove */
.qualification-row[b-1448jm30u2] {
	display: grid;
	grid-template-columns: minmax(90px, 1fr) minmax(120px, 1.6fr) 90px auto;
	gap: var(--spacing-sm);
	align-items: center;
	margin-bottom: var(--spacing-sm);
}

/* Languages-spoken checkbox grid */
.language-grid[b-1448jm30u2] {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: var(--spacing-xs) var(--spacing-md);
	padding: var(--spacing-sm) var(--spacing-md);
	border: 1px solid var(--blue-gray-300);
	border-radius: var(--radius-md);
	background: var(--surface-cool);
}

@media (max-width: 576px) {
	.qualification-row[b-1448jm30u2] {
		grid-template-columns: 1fr 1fr;
	}

	.qualification-row .qual-degree[b-1448jm30u2] {
		grid-column: 1 / -1;
	}
}

/* Specialization checkbox grid */
.speciality-grid[b-1448jm30u2] {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 0.25rem 1rem;
	padding: 0.75rem;
	border: 1px solid var(--border-color);
	border-radius: 6px;
	background: var(--light-bg);
}

.availability-grid[b-1448jm30u2] {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
}

.availability-day-card[b-1448jm30u2] {
	padding: 0.75rem;
	border: 1px solid var(--border-color);
	border-radius: 8px;
	background: var(--light-bg);
}

.slot-minute-select[b-1448jm30u2] {
	max-width: 80px;
	flex-shrink: 0;
}

.slot-row[b-1448jm30u2] {
	border-bottom: 1px dashed var(--border-color);
	padding-bottom: 0.75rem;
}

.slot-row:last-of-type[b-1448jm30u2] {
	border-bottom: none;
}

/* Collapsible section toggle header */
.section-toggle-header[b-1448jm30u2] {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    transition: filter 0.15s;
}

.section-toggle-header:hover[b-1448jm30u2] {
    filter: brightness(1.3);
}

.section-chevron[b-1448jm30u2] {
    font-size: 0.85rem;
    opacity: 0.75;
    transition: transform 0.2s;
}


/* ── Avatar uploader (profile photo + overlaid camera FAB) ────────────────── */
.avatar-uploader[b-1448jm30u2] {
    position: relative;
    width: 96px;
}

/* Soft white ring + lift so the avatar reads as an elevated badge. */
.avatar-uploader .profile-avatar[b-1448jm30u2] {
    width: 96px;
    height: 96px;
    box-shadow: 0 0 0 4px var(--white), var(--shadow-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.avatar-uploader:hover .profile-avatar[b-1448jm30u2] {
    transform: translateY(-2px);
}

/* The shared ImageUpload button, restyled into a circular camera FAB pinned
   to the avatar's lower-right. */
.avatar-uploader__edit[b-1448jm30u2] {
    position: absolute;
    right: -2px;
    bottom: -2px;
}

.avatar-uploader__edit[b-1448jm30u2]  .image-upload,
.avatar-uploader__edit[b-1448jm30u2]  .image-upload > div {
    gap: 0;
}

.avatar-uploader__edit[b-1448jm30u2]  .btn {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: var(--radius-circle);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color) !important;
    color: var(--white) !important;
    border: 2px solid var(--white);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.avatar-uploader__edit[b-1448jm30u2]  .btn:hover:not(.disabled) {
    background: var(--brand-blue) !important;
    transform: scale(1.08);
    box-shadow: var(--shadow-lg);
}

.avatar-uploader__edit[b-1448jm30u2]  .btn .bi {
    margin: 0 !important;
    font-size: 0.95rem;
}

/* Hide the button's text label (any span that isn't the icon or the busy spinner) —
   the InputFile renders as the real last child, so :last-child wouldn't catch it.
   Kept in the DOM (clipped) so screen readers still read the accessible name. */
.avatar-uploader__edit[b-1448jm30u2]  .btn > span:not(.bi):not(.spinner-border) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* Format hint + remove link under the name/email. */
.avatar-meta[b-1448jm30u2] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-top: var(--spacing-xs);
}

.avatar-meta__hint[b-1448jm30u2] {
    font-size: 0.78rem;
    color: var(--blue-gray-300, #94a3b8);
}

.avatar-meta__remove[b-1448jm30u2] {
    font-size: 0.8rem;
    color: var(--danger-color);
    text-decoration: none;
}

.avatar-meta__remove:hover[b-1448jm30u2] {
    color: var(--danger-color);
    text-decoration: underline;
}
/* /Pages/Inpatient/Handover.razor.rz.scp.css */
/* The shift handover board (care-timeline §20) — the census line and the must-not-miss chips wrap on a phone. */
.handover-census[b-3cv8j1nv9h],
.handover-flags[b-3cv8j1nv9h] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

/* A patient still to hand over is marked on the left edge, like the attention rows on Medicines Due. */
.handover-row--todo[b-3cv8j1nv9h] {
    border-left: 4px solid var(--warning-color);
}
/* /Pages/Inpatient/MyStay.razor.rz.scp.css */
/* My Stay - tokens only. */
.mystay--open[b-bl94t7ttf8] {
    border-left: 4px solid var(--primary-color);
}

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

.mystay-facts > div[b-bl94t7ttf8] { display: contents; }
.mystay-facts dt[b-bl94t7ttf8] { color: var(--text-muted); font-weight: 500; }
.mystay-facts dd[b-bl94t7ttf8] { margin: 0; }

.mystay-plan[b-bl94t7ttf8] {
    margin-top: var(--spacing-md);
    background: var(--surface-cool);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
}
/* /Pages/Inpatient/Stay.razor.rz.scp.css */
/* Stay page — design/inpatient-care-timeline-design.md §6 (IP-1 shell). Tokens only. */

.stay-vitals-strip[b-0jlgkqh6c7] {
    background: var(--surface-cool);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.9rem;
}

.stay-vitals-strip--critical[b-0jlgkqh6c7] {
    background: var(--status-danger-bg);
    border-color: var(--status-danger-border);
}

/* ── Patient banner ────────────────────────────────────────────────────────────
   One tinted card, a level-coloured edge (red for critical care, blue for a ward), the patient as
   an avatar + name + the two identifiers, and the facts as small tiles so they read as a row of
   answers, not a wall of text. */
.stay-banner[b-0jlgkqh6c7] {
    position: relative;
    background: linear-gradient(135deg, var(--fc-reports-50) 0%, var(--white) 55%);
    border: 1px solid var(--slate-border);
    border-left: 5px solid var(--brand-blue);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-md) var(--spacing-lg);
}

.stay-banner--critical[b-0jlgkqh6c7] {
    border-left-color: var(--fc-wound-500);
    background: linear-gradient(135deg, var(--fc-wound-50) 0%, var(--white) 55%);
}

.stay-header[b-0jlgkqh6c7] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--spacing-md) var(--spacing-lg);
}

.stay-identity[b-0jlgkqh6c7] {
    flex: 1 1 16rem;
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
}

.stay-avatar[b-0jlgkqh6c7] {
    flex: 0 0 auto;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-circle);
    background: var(--gradient-brand-navy);
    color: var(--white);
    font-weight: 700;
    letter-spacing: 0.02em;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-sm);
}

.stay-name[b-0jlgkqh6c7] {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--brand-navy);
}

.stay-meta[b-0jlgkqh6c7] {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stay-ip[b-0jlgkqh6c7] {
    font-family: var(--font-mono, monospace);
    font-weight: 600;
    color: var(--brand-dark);
}

.stay-badges[b-0jlgkqh6c7] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: var(--spacing-xs);
}

.stay-badge--status[b-0jlgkqh6c7] {
    background: var(--primary-light-bg);
    color: var(--brand-blue);
    border: 1px solid var(--brand-blue);
}

.stay-badge--level[b-0jlgkqh6c7] {
    background: var(--brand-navy);
    color: var(--white);
}

.stay-banner--critical .stay-badge--level[b-0jlgkqh6c7] {
    background: var(--fc-wound-600);
}

/* Facts as tiles: label on top, answer below, on a whisper of surface so each one has a home. */
.stay-facts[b-0jlgkqh6c7] {
    flex: 2 1 24rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
    gap: var(--spacing-xs) var(--spacing-sm);
    margin: 0;
}

.stay-facts > div[b-0jlgkqh6c7] {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--slate-border);
    border-radius: var(--radius-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
    min-height: 3.4rem;
}

.stay-facts dt[b-0jlgkqh6c7] {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.stay-facts dd[b-0jlgkqh6c7] {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--brand-dark);
}

.stay-day[b-0jlgkqh6c7] {
    margin-left: var(--spacing-xs);
    padding: 0 var(--spacing-xs);
    border-radius: var(--radius-sm);
    background: var(--gray-subtle);
    font-size: 0.78rem;
    font-weight: 600;
}

/* ── Tabs: a segmented strip on a cool surface, the active one lifted white ─────────── */
.stay-tabs[b-0jlgkqh6c7] {
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 0.25rem;
    padding: 0.3rem;
    border: 1px solid var(--slate-border);
    border-bottom: 1px solid var(--slate-border);
    border-radius: var(--radius-md);
    background: var(--surface-slate);
}

.stay-tabs .nav-link[b-0jlgkqh6c7] {
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--gray-700);
    font-weight: 500;
    padding: 0.45rem 0.9rem;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.stay-tabs .nav-link:hover[b-0jlgkqh6c7] {
    background: var(--white);
    color: var(--brand-blue);
}

.stay-tabs .nav-link.active[b-0jlgkqh6c7] {
    background: var(--white);
    color: var(--brand-blue);
    border-color: var(--slate-border);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
}

.stay-tabs .nav-link.disabled[b-0jlgkqh6c7] {
    color: var(--text-muted);
    opacity: 0.6;
}

@media (max-width: 575.98px) {
    .stay-banner[b-0jlgkqh6c7] {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .stay-facts[b-0jlgkqh6c7] {
        grid-template-columns: 1fr 1fr;
    }

    .stay-tabs .nav-link[b-0jlgkqh6c7] {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .btn[b-0jlgkqh6c7],
    .form-control[b-0jlgkqh6c7],
    .form-select[b-0jlgkqh6c7] {
        min-height: 44px;
    }
}

/* Care team tab: the two leads side by side above the editable rest. */
.stay-team-leads[b-0jlgkqh6c7] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: var(--spacing-xs) var(--spacing-md);
    margin: 0;
}

.stay-team-leads dt[b-0jlgkqh6c7] {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--brand-mid);
}

/* The care-team picker's results are absolutely positioned; .admin-card's overflow:hidden (there
   for the gradient header's corners) would clip them. Same treatment as StaffTeams. */
.stay-team-card[b-0jlgkqh6c7] {
    overflow: visible;
}

.stay-team-card .admin-card-header[b-0jlgkqh6c7] {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

/* The search takes the row; the specialty box sits beside the chosen name. */
.stay-team-card[b-0jlgkqh6c7]  .careteam__add > .sp-container {
    flex: 1 1 20rem;
    max-width: 28rem;
}

.stay-team-consultant[b-0jlgkqh6c7] {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    max-width: 28rem;
}

.stay-team-consultant[b-0jlgkqh6c7]  .sp-container {
    flex: 1 1 auto;
}
/* /Pages/Inpatient/WardList.razor.rz.scp.css */
/* Ward list — design/inpatient-care-timeline-design.md §6 / §6.1. Tokens only. */

.ward-filters[b-7fai8vybyg] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-sm);
}

.ward-scope[b-7fai8vybyg] {
    flex-shrink: 0;
}

.ward-filter[b-7fai8vybyg] {
    width: auto;
    min-width: 9rem;
    flex: 1 1 9rem;
}

.ward-group[b-7fai8vybyg] {
    margin-bottom: var(--spacing-lg);
}

.ward-group-header[b-7fai8vybyg] {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-navy);
    padding: var(--spacing-xs) 0 var(--spacing-sm);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: var(--spacing-sm);
}

.ward-grid[b-7fai8vybyg] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap: var(--spacing-sm);
}

.ward-card[b-7fai8vybyg] {
    display: block;
    background: var(--surface-cool);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    color: inherit;
    text-decoration: none;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.ward-card:hover[b-7fai8vybyg] {
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-color);
    color: inherit;
}

.ward-card--critical[b-7fai8vybyg] {
    border-left-color: var(--danger-color);
    background: var(--danger-light-bg);
}

.ward-card-top[b-7fai8vybyg] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--spacing-sm);
}

.ward-bed[b-7fai8vybyg] {
    font-weight: 700;
    font-size: 1rem;
    color: var(--brand-navy);
}

.ward-ip[b-7fai8vybyg] {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono, monospace);
}

.ward-name[b-7fai8vybyg] {
    font-weight: 600;
    margin-top: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ward-meta[b-7fai8vybyg] {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.ward-badges[b-7fai8vybyg] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: var(--spacing-xs);
}

@media (max-width: 576px) {
    .ward-grid[b-7fai8vybyg] {
        grid-template-columns: 1fr;
    }

    .ward-filter[b-7fai8vybyg] {
        flex-basis: 100%;
    }

    .btn[b-7fai8vybyg],
    .form-control[b-7fai8vybyg],
    .form-select[b-7fai8vybyg] {
        min-height: 44px;
    }
}
/* /Pages/Inpatient/WardMar.razor.rz.scp.css */
/* Ward MAR - tokens only. */
.wardmar-patient--attention[b-gwbubuhi0e] {
    border-left: 4px solid var(--danger-color);
}
/* /Pages/Notifications/Notifications.razor.rz.scp.css */
.nf-filters[b-nqo8md8s3u] {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.nf-filters .form-select[b-nqo8md8s3u] {
    width: auto;
    min-width: 9rem;
}

/* The filters sit in the navy card header: a default blue link is unreadable there. */
.nf-filters .btn-link[b-nqo8md8s3u] {
    color: var(--white);
    text-decoration: underline;
}

.nf-filters .btn-link:disabled[b-nqo8md8s3u] {
    color: var(--white);
    opacity: 0.5;
}

.nf-list[b-nqo8md8s3u] {
    display: flex;
    flex-direction: column;
}

/* One row per notification / request — card-like on every width, so no table to collapse. */
.nf-item[b-nqo8md8s3u] {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    border-bottom: 1px solid var(--slate-border);
    transition: background var(--transition-fast);
}

.nf-item:last-child[b-nqo8md8s3u] {
    border-bottom: 0;
}

.nf-item--unread[b-nqo8md8s3u] {
    background: var(--primary-light-bg);
}

.nf-item--highlight[b-nqo8md8s3u] {
    box-shadow: inset 4px 0 0 var(--brand-blue);
}

.nf-item-icon[b-nqo8md8s3u] {
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.nf-item-body[b-nqo8md8s3u] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nf-item-head[b-nqo8md8s3u] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-xs);
}

.nf-item-subject[b-nqo8md8s3u] {
    color: var(--gray-medium);
}

.nf-item-meta[b-nqo8md8s3u] {
    font-size: 0.8rem;
    color: var(--gray-500);
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.nf-item-note[b-nqo8md8s3u] {
    margin-top: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-left: 3px solid var(--slate-border);
    background: var(--surface-cool);
    font-size: 0.9rem;
    white-space: pre-wrap;
}

.nf-item-state[b-nqo8md8s3u] {
    font-size: 0.85rem;
    margin-top: var(--spacing-xs);
}

/* Direct vs team vs role: three visually distinct chips, so a personal ask is never mistaken
   for a broadcast (and vice versa). */
.nf-audience[b-nqo8md8s3u] {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px var(--spacing-sm);
    border-radius: var(--radius-xl);
    border: 1px solid transparent;
}

.nf-audience--direct[b-nqo8md8s3u] {
    color: var(--brand-blue);
    background: var(--primary-light-bg);
    border-color: var(--brand-blue);
}

.nf-audience--team[b-nqo8md8s3u] {
    color: var(--gray-700);
    background: var(--gray-subtle);
}

.nf-audience--role[b-nqo8md8s3u] {
    color: var(--gray-500);
    background: var(--white);
    border-color: var(--slate-border);
}

.nf-item-actions[b-nqo8md8s3u] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-end;
    gap: var(--spacing-xs);
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .nf-item[b-nqo8md8s3u] {
        flex-wrap: wrap;
    }

    .nf-item-actions[b-nqo8md8s3u] {
        width: 100%;
        justify-content: flex-start;
        padding-left: calc(1.2rem + var(--spacing-sm));
    }

    .nf-item-actions .btn[b-nqo8md8s3u] {
        min-height: 44px;
    }
}

/* Each addressed target on a request row, "to Bed Management · Finance". */
.nf-target[b-nqo8md8s3u] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-right: var(--spacing-xs);
    padding: 0 var(--spacing-xs);
    border-radius: var(--radius-xl);
    background: var(--gray-subtle);
    color: var(--gray-700);
}

/* ── Language options (design §20.1) ──────────────────────────────────────────
   A quiet line under the text: what it was written in, and a chip per language
   the reader may read it in. Never louder than the message itself. */
.nf-lang[b-nqo8md8s3u] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-xs);
    font-size: 0.8125rem;
    color: var(--slate-500);
}

.nf-lang-options[b-nqo8md8s3u] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.nf-lang-chip[b-nqo8md8s3u] {
    padding: 0.1rem var(--spacing-sm);
    border: 1px solid var(--blue-gray-300);
    border-radius: var(--radius-lg);
    background: transparent;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--primary-color);
    transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.nf-lang-chip:hover:not(:disabled)[b-nqo8md8s3u] {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: var(--white);
}

/* The one being read is a state, not a disabled control — it keeps full contrast. */
.nf-lang-chip--on[b-nqo8md8s3u],
.nf-lang-chip--on:disabled[b-nqo8md8s3u] {
    background: var(--primary-light-bg);
    border-color: var(--primary-color);
    color: var(--brand-dark);
    font-weight: 600;
}

@media (max-width: 576px) {
    .nf-lang-chip[b-nqo8md8s3u] {
        min-height: 44px;
        padding-inline: var(--spacing-md);
    }
}

/* Paging foot — requests never expire, so there is always more history behind the page. */
.nf-more[b-nqo8md8s3u] {
    display: flex;
    justify-content: center;
    padding: var(--spacing-md);
    border-top: 1px solid var(--blue-gray-300);
}

/* ── Waiting / unseen markers (design §20.10) ─────────────────────────────────
   Quiet, not alarming: a request nobody has picked up is a fact to notice, not
   an error. Amber for "this has waited too long", grey for "nobody has looked". */
.nf-waiting[b-nqo8md8s3u],
.nf-unseen[b-nqo8md8s3u] {
    display: inline-flex;
    align-items: center;
    padding: 0.1rem var(--spacing-sm);
    border-radius: var(--radius-lg);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.nf-waiting[b-nqo8md8s3u] {
    background: var(--warning-light-bg);
    color: var(--warning-dark-text);
}

.nf-unseen[b-nqo8md8s3u] {
    background: var(--gray-subtle);
    color: var(--gray-medium);
}
/* /Pages/Notifications/Worklist.razor.rz.scp.css */
.wl-list[b-4q9monileh] {
    display: flex;
    flex-direction: column;
}

/* One job per row — card-like on every width, so there is no table to collapse on a phone. */
.wl-item[b-4q9monileh] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    border-bottom: 1px solid var(--slate-border);
}

.wl-item:last-child[b-4q9monileh] {
    border-bottom: 0;
}

.wl-item--highlight[b-4q9monileh] {
    box-shadow: inset 4px 0 0 var(--brand-blue);
    background: var(--primary-light-bg);
}

.wl-item-body[b-4q9monileh] {
    flex: 1 1 22rem;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wl-item-head[b-4q9monileh] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-xs);
}

.wl-item-meta[b-4q9monileh] {
    font-size: 0.8rem;
    color: var(--gray-500);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-xs);
}

/* What to collect and how — the job itself, kept as the ordering ward wrote it. */
.wl-item-job[b-4q9monileh] {
    margin-top: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-left: 3px solid var(--slate-border);
    background: var(--surface-cool);
    font-size: 0.9rem;
    white-space: pre-wrap;
}

.wl-item-state[b-4q9monileh] {
    font-size: 0.85rem;
    margin-top: var(--spacing-xs);
}

.wl-item-actions[b-4q9monileh] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--spacing-xs);
}

/* In-patient vs outpatient — the setting decides where the sample is drawn. */
.wl-setting[b-4q9monileh] {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0 var(--spacing-sm);
    border-radius: var(--radius-xl);
    border: 1px solid transparent;
}

.wl-setting--ip[b-4q9monileh] {
    color: var(--brand-blue);
    background: var(--primary-light-bg);
    border-color: var(--brand-blue);
}

.wl-setting--op[b-4q9monileh] {
    color: var(--gray-700);
    background: var(--gray-subtle);
}

.wl-waiting[b-4q9monileh] {
    font-size: 0.75rem;
    color: var(--danger-color);
    font-weight: 600;
}

.wl-empty[b-4q9monileh] {
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
}

.wl-empty-icon[b-4q9monileh] {
    font-size: 1.75rem;
    color: var(--gray-500);
}

.wl-more[b-4q9monileh] {
    padding: var(--spacing-sm);
    text-align: center;
    border-top: 1px solid var(--slate-border);
}

@media (max-width: 576px) {
    .wl-item-actions[b-4q9monileh] {
        width: 100%;
    }
}
/* /Pages/Pharmacy/Pharmacy.razor.rz.scp.css */
/* Width is capped globally by .page-shell (MainLayout) — no per-page cap. */

/* Section headers use the shared global .section-card-header (app.css). */

/* ── Pagination bar — uses shared .sticky-action-bar (fixed, centred) ──
   Only add the record-count label styling + vertical centring of the nav. */
.pharmacy-pagination-bar[b-l4hyp0j243] {
    align-items: center;
}

.pharmacy-pagination-info[b-l4hyp0j243] {
    font-size: 0.8rem;
    color: var(--slate-500);
}

/* ── Multi-select Form filter (checkbox dropdown) ── */
.pharmacy-form-filter[b-l4hyp0j243] {
    position: relative;
}

.pharmacy-form-filter > button[b-l4hyp0j243] {
    width: 100%;
}
/* /Pages/Pharmacy/PharmacyBulkUpload.razor.rz.scp.css */
/* ── Page shell ──────────────────────────────────────────────────────── */
.bulk-upload-page[b-xy5ii5okv8] {
    max-width: 1400px;
    /* Fill the viewport so short steps push the footer below the fixed
       .sticky-action-bar (matches the Clara Analysis page behaviour). */
    min-height: calc(100vh - 7rem);
    padding-bottom: 2rem;
}

/* ── Step tracker ────────────────────────────────────────────────────── */
.bulk-step-track[b-xy5ii5okv8] {
    display: flex;
    align-items: center;
    gap: 0;
}

.bulk-step[b-xy5ii5okv8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.bulk-step-dot[b-xy5ii5okv8] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--blue-gray-300);
    color: var(--white);
    font-weight: 700;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.bulk-step--active .bulk-step-dot[b-xy5ii5okv8] {
    background: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(var(--brand-blue-rgb), .18);
}

.bulk-step--done .bulk-step-dot[b-xy5ii5okv8] {
    background: var(--success-color);
}

.bulk-step-label[b-xy5ii5okv8] {
    font-size: .72rem;
    font-weight: 600;
    color: var(--blue-gray-300);
    white-space: nowrap;
    transition: var(--transition-base);
}

.bulk-step--active .bulk-step-label[b-xy5ii5okv8] { color: var(--primary-color); }
.bulk-step--done .bulk-step-label[b-xy5ii5okv8]   { color: var(--success-color); }

.bulk-step-line[b-xy5ii5okv8] {
    flex: 1;
    height: 3px;
    background: var(--blue-gray-300);
    margin-bottom: 20px;
    transition: var(--transition-base);
}

.bulk-step-line.active[b-xy5ii5okv8] { background: var(--success-color); }

/* ── Panel ───────────────────────────────────────────────────────────── */
.bulk-panel[b-xy5ii5okv8] {
    border: 1px solid rgba(var(--black-rgb), .1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-lg);
    background: var(--white);
}

.bulk-panel-header[b-xy5ii5okv8] {
    background: var(--gradient-section-header);
    color: var(--white);
    padding: 14px 20px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.bulk-panel-header.text-success[b-xy5ii5okv8] {
    background: var(--gradient-success) !important;
}

.bulk-panel-body[b-xy5ii5okv8] {
    padding: var(--spacing-lg);
}

/* ── Drag-drop upload zone ───────────────────────────────────────────── */
.drop-zone[b-xy5ii5okv8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    border: 2.5px dashed var(--blue-gray-300);
    border-radius: var(--radius-xl);
    padding: var(--spacing-3xl) var(--spacing-2xl);
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    background: var(--surface-cool);
    min-height: 220px;
    text-align: center;
}

.drop-zone:hover[b-xy5ii5okv8],
.drop-zone--ready[b-xy5ii5okv8] {
    border-color: var(--primary-color);
    background: var(--status-info-bg);
}

.drop-zone__input[b-xy5ii5okv8] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.drop-zone__icon[b-xy5ii5okv8] {
    font-size: 3.5rem;
    color: var(--blue-gray-300);
    line-height: 1;
    transition: var(--transition-base);
}

.drop-zone:hover .drop-zone__icon[b-xy5ii5okv8] { color: var(--primary-color); }

.drop-zone__text[b-xy5ii5okv8] {
    font-size: 1.1rem;
    color: var(--gray-700);
}

.drop-zone__hint[b-xy5ii5okv8] {
    font-size: .82rem;
    color: var(--gray-500);
}

/* ── Format tip cards ────────────────────────────────────────────────── */
.format-tip[b-xy5ii5okv8] {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--surface-cool);
    border-radius: var(--radius-md);
    border: 1px solid rgba(var(--black-rgb), .06);
}

/* ── Column mapping table ────────────────────────────────────────────── */
.mapping-table th[b-xy5ii5okv8],
.mapping-table td[b-xy5ii5okv8] {
    padding: 10px 14px;
    vertical-align: middle;
}

/* ── Summary stat cards ──────────────────────────────────────────────── */
.stat-card[b-xy5ii5okv8] {
    border-radius: var(--radius-lg);
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: center;
    border: 1.5px solid transparent;
}

.stat-card__count[b-xy5ii5okv8] {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
}

.stat-card__label[b-xy5ii5okv8] {
    font-size: .8rem;
    font-weight: 600;
    margin-top: 4px;
}

/* Status palettes — the preview stat cards and the done-step summary cards share
   the same colour sets, so each is defined once (DRY). */
.stat-card--new[b-xy5ii5okv8],     .done-stat--green[b-xy5ii5okv8] { background: var(--status-success-bg); border-color: var(--status-success-border); color: var(--status-success-text); }
.stat-card--dup[b-xy5ii5okv8]                        { background: var(--status-warning-bg); border-color: var(--status-warning-border); color: var(--status-warning-text); }
.stat-card--invalid[b-xy5ii5okv8], .done-stat--red[b-xy5ii5okv8]   { background: var(--status-danger-bg);  border-color: var(--status-danger-border);  color: var(--status-danger-text); }
.stat-card--skip[b-xy5ii5okv8],    .done-stat--grey[b-xy5ii5okv8]  { background: var(--status-neutral-bg); border-color: var(--status-neutral-border); color: var(--status-neutral-text); }
.done-stat--blue[b-xy5ii5okv8]                       { background: var(--status-info-bg);    border-color: var(--status-info-border);    color: var(--status-info-text); }

/* ── Review table ────────────────────────────────────────────────────── */
.review-table-wrap[b-xy5ii5okv8] {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 65vh;
}

.review-table th[b-xy5ii5okv8],
.review-table td[b-xy5ii5okv8] {
    padding: 7px 10px;
    vertical-align: top;
    font-size: .85rem;
}

.review-table thead th[b-xy5ii5okv8] {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--light-bg);
}

/* ── Category chip editor ────────────────────────────────────────────── */
.category-chip-list[b-xy5ii5okv8] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.category-chip[b-xy5ii5okv8] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: var(--chip-blue-bg);
    color: var(--status-info-text);
    border: 1px solid var(--status-info-border);
    border-radius: var(--radius-sm);
    padding: 1px 6px;
    font-size: .72rem;
    font-weight: 600;
}

.category-chip__remove[b-xy5ii5okv8] {
    background: none;
    border: none;
    padding: 0 2px;
    line-height: 1;
    color: var(--status-info-text);
    cursor: pointer;
    font-size: .9rem;
    opacity: .7;
}

.category-chip__remove:hover[b-xy5ii5okv8] { opacity: 1; }

.category-add-select[b-xy5ii5okv8] {
    width: auto;
    min-width: 80px;
    font-size: .72rem;
    padding: 1px 4px;
    height: auto;
}

/* ── Done step stat cards ────────────────────────────────────────────── */
.done-stat[b-xy5ii5okv8] {
    min-width: 130px;
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    text-align: center;
    border: 2px solid transparent;
}

.done-stat__num[b-xy5ii5okv8] {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.done-stat__label[b-xy5ii5okv8] {
    font-size: .82rem;
    font-weight: 600;
    margin-top: 6px;
}

/* .done-stat--* colours are defined with the matching .stat-card--* sets above (DRY). */

/* Action buttons use the shared, centred .sticky-action-bar (app.css) —
   no page-scoped overrides, per the UI standard. */
/* /Pages/Pharmacy/Prescription.razor.rz.scp.css */
/* Width is capped globally by .page-shell (MainLayout) — no per-page cap. */
/* /Pages/Scheduling/ManualAppointmentBooking.razor.rz.scp.css */
/* Width is capped globally by .page-shell (MainLayout) — no per-page max-width here.
   Section headers use the shared global .section-card-header (app.css). */
/* Form labels use the global .form-label contract (app.css) — no page override. */
.manual-booking-page .alert[b-9xmlw4bbeg] {
    margin-bottom: 0.9rem;
}

/* Neutralise the default <ul> margins/padding inside the ValidationSummary so
   it sits flush within the shared alert-danger box (matches other forms). */
.manual-booking-page .alert[b-9xmlw4bbeg]  .validation-errors {
    margin: 0;
    padding-left: 1.1rem;
}

/* Footer action bar uses the shared, centred .sticky-action-bar (app.css) — no overrides. */

/* /Shared/ChatPanel.razor.rz.scp.css */
.chat-panel[b-psqwbes2fb] {
    border: 1px solid var(--slate-border);
    border-radius: 8px;
    background: var(--white);
    margin-top: 1rem;
}

.chat-panel__toggle[b-psqwbes2fb] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    text-align: left;
}

.chat-panel__toggle:hover[b-psqwbes2fb] {
    background: var(--surface-slate);
    border-radius: 8px;
}

.chat-panel__badge[b-psqwbes2fb] {
    background: var(--primary-color);
    color: var(--white);
    border-radius: 9999px;
    padding: 0 0.4rem;
    font-size: 0.75rem;
    margin-left: auto;
}

.chat-panel__body[b-psqwbes2fb] {
    padding: 0 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Footer row beneath the input: suggested follow-ups on the left, counter on the right.
   Lives below the input so chips toggling never reflows the conversation above. */
.chat-panel__footer[b-psqwbes2fb] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;          /* keep the counter beside the chips, not on its own row */
    gap: 0.5rem 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}

.chat-panel__chips[b-psqwbes2fb] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
}

.chat-panel__chips-label[b-psqwbes2fb] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--slate-500);
}

.chip[b-psqwbes2fb] {
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--primary-color);
    border-radius: 9999px;
    background: none;
    color: var(--primary-color);
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.15s;
}

.chip:hover[b-psqwbes2fb] {
    background: var(--media-hover-bg);
}

.chat-panel__turns[b-psqwbes2fb] {
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-right: 0.25rem;
}

.turn__question[b-psqwbes2fb] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    justify-content: flex-end;
}

.turn__question p[b-psqwbes2fb] {
    background: var(--media-hover-bg);
    padding: 0.5rem 0.75rem;
    border-radius: 8px 8px 0 8px;
    margin: 0;
    max-width: 85%;
    font-size: 0.9rem;
}

.turn__answer[b-psqwbes2fb] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.turn__answer-body[b-psqwbes2fb] {
    background: var(--surface-slate);
    padding: 0.5rem 0.75rem;
    border-radius: 8px 8px 8px 0;
    max-width: 90%;
    font-size: 0.9rem;
    position: relative;
}

.turn__answer-body p[b-psqwbes2fb] {
    margin: 0 0 0.25rem;
    white-space: pre-wrap;
}

.turn__disclaimer[b-psqwbes2fb] {
    font-size: 0.75rem;
    color: var(--slate-500);
    margin-top: 0.25rem !important;
}

/* Subtle per-reply marker shown on every reply after the first (option 2) —
   the full disclaimer appears once on the first reply. */
.turn__disclaimer--mini[b-psqwbes2fb] {
    font-size: 0.68rem;
    opacity: 0.65;
}

.turn__avatar[b-psqwbes2fb] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.turn__avatar--doctor[b-psqwbes2fb] {
    background: var(--primary-color);
    color: var(--white);
    order: 2;
}

.turn__avatar--ai[b-psqwbes2fb] {
    background: var(--success-color);
    color: var(--white);
}

.turn__flag-btn[b-psqwbes2fb] {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--gray-muted);
    padding: 0;
    line-height: 1;
}

.turn__flag-btn:hover[b-psqwbes2fb] {
    color: var(--danger-color);
}

.turn__flagged[b-psqwbes2fb] {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    font-size: 0.75rem;
    color: var(--danger-color);
}

.turn__rejected[b-psqwbes2fb] {
    margin-left: 2rem;
}

.pill--warn[b-psqwbes2fb] {
    background: var(--cap-reports-bg);
    color: var(--warning-text-em);
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

.chat-panel__error[b-psqwbes2fb] {
    background: var(--cap-wound-bg);
    color: var(--danger-text-dark);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-panel__counter[b-psqwbes2fb] {
    font-size: 0.75rem;
    color: var(--slate-500);
    text-align: right;
    margin-left: auto;
    white-space: nowrap;
    flex: 0 0 auto;
    align-self: flex-start;     /* sits on the suggestions/label line, top-right */
    padding-top: 0.15rem;
}

.cursor[b-psqwbes2fb] {
    animation: blink-b-psqwbes2fb 1s step-end infinite;
}

@keyframes blink-b-psqwbes2fb {
    50% { opacity: 0; }
}

/* Full-page mode — used when Clara has its own tab */
.chat-panel--full-page[b-psqwbes2fb] {
    border: none;
    border-radius: 0;
    margin-top: 0;
}

.chat-panel--full-page .chat-panel__body[b-psqwbes2fb] {
    padding: 0;
}

.chat-panel--full-page .chat-panel__turns[b-psqwbes2fb] {
    max-height: calc(100vh - 320px);
    min-height: 200px;
}

/* Mobile */
@media (max-width: 768px) {
    .chat-panel__turns[b-psqwbes2fb] {
        max-height: 300px;
    }

    .chat-panel--full-page .chat-panel__turns[b-psqwbes2fb] {
        max-height: calc(100vh - 280px);
    }

    .turn__question p[b-psqwbes2fb],
    .turn__answer-body[b-psqwbes2fb] {
        max-width: 100%;
    }
}
/* /Shared/CompliancePanel.razor.rz.scp.css */
.compliance-panel[b-lx6ze59mbx] {
    border: 1px solid var(--slate-border);
    border-radius: 8px;
    background: var(--white);
    margin-top: 1.5rem;
    overflow: hidden;
}

.compliance-panel__header[b-lx6ze59mbx] {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--surface-slate);
    border-bottom: 1px solid var(--slate-border);
    font-size: 0.9rem;
    gap: 0.25rem;
}

.compliance-panel__badge[b-lx6ze59mbx] {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    letter-spacing: 0.02em;
}

.compliance-panel__badge--uk[b-lx6ze59mbx] {
    background: var(--fc-reports-100);
    color: var(--fc-reports-700);
}

.compliance-panel__badge--india[b-lx6ze59mbx] {
    background: var(--cap-reports-bg);
    color: var(--warning-text-em);
}

.compliance-panel__toggle[b-lx6ze59mbx] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--primary-color);
    padding: 0;
    text-decoration: underline;
    flex-shrink: 0;
}

.compliance-panel__toggle:hover[b-lx6ze59mbx] {
    color: var(--fc-reports-700);
}

.compliance-panel__body[b-lx6ze59mbx] {
    padding: 1rem;
}

.compliance-panel__intro[b-lx6ze59mbx] {
    font-size: 0.85rem;
    color: var(--slate-500);
    margin-bottom: 0.75rem;
}

.compliance-table[b-lx6ze59mbx] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    margin-bottom: 0.75rem;
}

.compliance-table th[b-lx6ze59mbx] {
    text-align: left;
    padding: 0.4rem 0.75rem;
    background: var(--table-stripe-bg);
    font-weight: 600;
    color: var(--gray-medium);
    border-bottom: 2px solid var(--slate-border);
}

.compliance-table td[b-lx6ze59mbx] {
    padding: 0.4rem 0.75rem;
    border-bottom: 1px solid var(--table-stripe-bg);
    vertical-align: top;
}

.compliance-table tr:last-child td[b-lx6ze59mbx] {
    border-bottom: none;
}

.compliance-table__concern[b-lx6ze59mbx] {
    font-weight: 600;
    color: var(--slate-700);
    white-space: nowrap;
    padding-right: 1rem;
}

.compliance-panel__footer[b-lx6ze59mbx] {
    font-size: 0.8rem;
    color: var(--slate-500);
    background: var(--surface-slate);
    border: 1px solid var(--slate-border);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    margin: 0;
}

@media (max-width: 768px) {
    .compliance-table__concern[b-lx6ze59mbx] {
        white-space: normal;
    }

    .compliance-table[b-lx6ze59mbx] {
        font-size: 0.78rem;
    }
}
/* /Shared/Components/Appointment/PractitionerWeekHours.razor.rz.scp.css */
.week-hours-days[b-j5x9ecjnvc] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.week-hours-day[b-j5x9ecjnvc] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 44px;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--surface-slate);
    color: var(--gray-700);
    font-size: 0.85rem;
    line-height: 1.25;
}

.week-hours-day:not(:disabled):hover[b-j5x9ecjnvc] {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: var(--white);
}

.week-hours-day.is-selected[b-j5x9ecjnvc] {
    background: var(--primary-light-bg);
    border-color: var(--brand-blue);
}

.week-hours-day.is-selected:hover[b-j5x9ecjnvc] {
    color: var(--white);
}

.week-hours-day.is-off[b-j5x9ecjnvc] {
    color: var(--gray-muted);
    cursor: default;
}

.week-hours-time[b-j5x9ecjnvc] {
    font-size: 0.8rem;
}

@media (max-width: 575.98px) {
    .week-hours-day[b-j5x9ecjnvc] {
        flex: 1 1 calc(50% - 0.5rem);
    }
}
/* /Shared/Components/AskClara/ClaraInfoNote.razor.rz.scp.css */
.clara-info-note[b-1vdq9jiujn] {
    border-left: 4px solid var(--info-color);
    background: var(--info-light-bg2);
    border-radius: var(--radius-md);
}
/* /Shared/Components/AskClara/ClaraUploadFileRow.razor.rz.scp.css */
.cf-row[b-f2inuwanad] {
    padding: 6px 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--light-bg);
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.cf-row--rejected[b-f2inuwanad] {
    border: 1.5px solid var(--warning-color);
    background: var(--warning-bg-subtle);
}

.cf-min-width-0[b-f2inuwanad] {
    min-width: 0;
}

.cf-size[b-f2inuwanad] {
    flex-shrink: 0;
}

.cf-select[b-f2inuwanad] {
    width: 140px;
    flex-shrink: 0;
}

.cf-view-btn[b-f2inuwanad] {
    font-size: 0.78rem;
    white-space: nowrap;
}

.cf-help[b-f2inuwanad] {
    color: var(--secondary-color);
    cursor: help;
    font-size: 0.95rem;
}

.cf-help:hover[b-f2inuwanad] {
    color: var(--primary-color);
}

/* ── Thumbnail ─────────────────────────────────────────── */
.cf-thumb-wrap[b-f2inuwanad] {
    position: relative;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.cf-thumb[b-f2inuwanad] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter var(--transition-fast);
}

.cf-thumb-zoom[b-f2inuwanad] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--white);
    opacity: 0;
    transition: opacity var(--transition-fast);
    pointer-events: none;
}

.cf-thumb-wrap:hover .cf-thumb[b-f2inuwanad] {
    filter: brightness(0.7);
}

.cf-thumb-wrap:hover .cf-thumb-zoom[b-f2inuwanad] {
    opacity: 1;
}

/* Rejected thumbnail — amber tint + persistent warning icon */
.cf-thumb-wrap--rejected .cf-thumb[b-f2inuwanad] {
    filter: brightness(0.8) sepia(0.4);
}

.cf-thumb-wrap--rejected .cf-thumb-zoom[b-f2inuwanad] {
    opacity: 1;
    font-size: 1rem;
    color: var(--warning-color);
    text-shadow: 0 0 4px rgba(var(--black-rgb), 0.6);
}

.cf-thumb-wrap--rejected:hover .cf-thumb[b-f2inuwanad] {
    filter: brightness(0.65) sepia(0.5);
}

/* ── Badges + reason ───────────────────────────────────── */
.cf-rejected-badge[b-f2inuwanad] {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--warning-text-em);
    background: var(--warning-light-bg);
    border: 1px solid var(--warning-border-subtle);
    border-radius: var(--radius-sm);
    padding: 1px 6px;
    margin-top: 2px;
    white-space: nowrap;
}

.cf-rejected-reason[b-f2inuwanad] {
    font-size: 0.78rem;
    color: var(--warning-text-mid);
    line-height: 1.4;
    padding-left: 0.5rem;
    border-left: 3px solid var(--warning-color);
    margin-left: 0.25rem;
}

.cf-autodetect[b-f2inuwanad] {
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--primary-color);
    background: var(--media-active-bg);
    border: 1px solid var(--input-focus-border);
    border-radius: var(--radius-sm);
    padding: 1px 6px;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .cf-select[b-f2inuwanad] {
        width: 120px;
    }

    /* Hide file size + the View label (icon only) on small screens to keep the row tidy */
    .cf-size[b-f2inuwanad],
    .cf-view-label[b-f2inuwanad] {
        display: none;
    }
}
/* /Shared/Components/Billing/BillPanel.razor.rz.scp.css */
/* Category band inside the charges table. */
.bill-group-row td[b-uj5toaljpa] {
    background: var(--surface-cool);
    font-weight: 600;
    font-size: 0.85rem;
}

/* One charge on a phone (ui-ux-standards §9 — the table becomes cards). */
.bill-line-card[b-uj5toaljpa] {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--blue-gray-300);
    border-radius: var(--radius-md);
    background: var(--surface-cool);
    margin-bottom: var(--spacing-sm);
}

/* Label / amount pairs: .bill-totals / .bill-total-strong live in app.css (bill + payer statement). */

.bill-payment-row[b-uj5toaljpa] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--blue-gray-300);
}

.bill-payment-row:last-child[b-uj5toaljpa] {
    border-bottom: none;
}

@media (max-width: 576px) {
    .btn[b-uj5toaljpa],
    .form-control[b-uj5toaljpa],
    .form-select[b-uj5toaljpa] {
        min-height: 44px;
    }
}
/* /Shared/Components/Billing/BillStatusBadge.razor.rz.scp.css */
.bill-status-badge[b-4iprqubyjk] {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.bill-status-final[b-4iprqubyjk] {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.8em;
    color: var(--gray-500);
    white-space: nowrap;
}
/* /Shared/Components/Billing/CoverageSummary.razor.rz.scp.css */
/* One coverage — a card on every screen size (a patient has few; ui-ux-standards §5). */
.coverage-card[b-838mtmr8gm] {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--blue-gray-300);
    border-radius: var(--radius-md);
    background: var(--surface-cool);
    margin-bottom: var(--spacing-sm);
}

.coverage-card-inactive[b-838mtmr8gm] {
    opacity: 0.7;
}

/* Label + value pairs that wrap as space allows. */
.coverage-facts[b-838mtmr8gm] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs) var(--spacing-md);
    font-size: 0.9rem;
}
/* /Shared/Components/Billing/MyStayBillCard.razor.rz.scp.css */
/* My Stay - Bill so far. Tokens only. */
.mystay-bill[b-m0pcgzjdno] {
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-sm);
}
/* /Shared/Components/Billing/OutpatientDayList.razor.rz.scp.css */
/* The phone card is the shared .op-card (app.css). */

/* The appointment just booked at the desk. */
.op-row-highlight[b-eczb1qp19g],
.op-row-highlight > td[b-eczb1qp19g] {
    background: var(--primary-light-bg);
}

@media (max-width: 576px) {
    .form-control[b-eczb1qp19g],
    .btn[b-eczb1qp19g] {
        min-height: 44px;
    }
}
/* /Shared/Components/Billing/PatientCoveragePanel.razor.rz.scp.css */
/* The coverage card itself is <CoverageSummary> (its own CSS). */
.coverage-empty[b-boenpl785p] {
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
}

.coverage-empty-icon[b-boenpl785p] {
    display: block;
    font-size: 1.75rem;
    color: var(--gray-500);
    margin-bottom: var(--spacing-xs);
}

@media (max-width: 576px) {
    .btn[b-boenpl785p],
    .form-control[b-boenpl785p],
    .form-select[b-boenpl785p] {
        min-height: 44px;
    }
}
/* /Shared/Components/Billing/PayerStatementsPanel.razor.rz.scp.css */
.statement-row[b-l4b0k4l1am] {
    cursor: pointer;
}
/* /Shared/Components/Billing/PriceListConsultations.razor.rz.scp.css */
/* A doctor's own-fee row, indented under their speciality (insurance-billing-design §4.3). */
.doctor-fee-row[b-kvus1qkpey] {
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    padding-left: var(--spacing-md);
    border-top: 1px dashed var(--blue-gray-300);
}

@media (max-width: 576px) {
    .doctor-fee-row[b-kvus1qkpey] {
        padding-left: 0;
    }
}
/* /Shared/Components/Billing/PriceListOtherCharges.razor.rz.scp.css */
.standard-charge-group[b-hsdhz6ltx7] {
    margin: var(--spacing-md) 0 var(--spacing-xs);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bs-secondary-color);
}
/* /Shared/Components/Billing/PriceListRooms.razor.rz.scp.css */
/* Rooms tab (insurance-billing-design §4.3, §4.3a) — the room-charge rule's live example and a ward's own rule. */
.room-rule-example[b-gwx4swf8gy] {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--slate-border);
    border-radius: var(--radius-md);
    background: var(--surface-cool);
}

.room-rule-result[b-gwx4swf8gy] {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--status-info-border);
    border-radius: var(--radius-sm);
    background: var(--status-info-bg);
    color: var(--status-info-text);
    font-weight: 600;
}

.room-own-rule[b-gwx4swf8gy] {
    padding: var(--spacing-sm) var(--spacing-md);
    border-left: 3px solid var(--status-info-border);
    background: var(--white);
    border-radius: var(--radius-sm);
}
/* /Shared/Components/Billing/PriceListSaveBar.razor.rz.scp.css */
/* Room for the sticky action bar so it never covers the last row (ui-ux-standards §7). */
.price-list-bar-spacer[b-1c51d2wfb9] {
    height: 72px;
}
/* /Shared/Components/CenteredToast.razor.rz.scp.css */
/* ── Site-wide bottom-centre toast ───────────────────────────────────────
   Colours mirror the global .save-toast--* (Medical History) so feedback looks
   identical whether a page uses a sticky save bar or this standalone toast. */
.centered-toast[b-mqeamsgddz] {
    position: fixed;
    bottom: var(--spacing-xl);
    /* Centre within the content area (right of the sidebar), so the toast lines up
       with the page content and the .sticky-action-bar — not the whole viewport.
       --sidebar-width collapses to 0px on mobile, falling back to viewport-centre. */
    left: calc((100vw + var(--sidebar-width)) / 2);
    transform: translateX(-50%);
    z-index: 1080;
    display: flex;
    align-items: center;
    max-width: calc(100vw - 2rem);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    animation: centered-toast-in-b-mqeamsgddz var(--transition-fast);
}

/* Lift clear of a sticky action bar when the page has one. The bar is fixed at bottom:0 and about
   72px tall, so the default offset put the toast on top of the very button it was describing —
   e.g. "Please give consent before we start." landing across "Start assessment". */
body:has(.sticky-action-bar) .centered-toast[b-mqeamsgddz] {
    bottom: calc(72px + var(--spacing-md));
}

.centered-toast--success[b-mqeamsgddz] { background: var(--feedback-success-bg); color: var(--success-color);          border: 1px solid var(--feedback-success-border); }
.centered-toast--error[b-mqeamsgddz]   { background: var(--feedback-error-bg);   color: var(--danger-color);           border: 1px solid var(--feedback-error-border); }
.centered-toast--info[b-mqeamsgddz]    { background: var(--feedback-info-bg);    color: var(--info-color);             border: 1px solid var(--feedback-info-border); }
.centered-toast--warning[b-mqeamsgddz] { background: var(--feedback-warning-bg); color: var(--feedback-warning-text);  border: 1px solid var(--feedback-warning-border); }

@keyframes centered-toast-in-b-mqeamsgddz {
    from { opacity: 0; transform: translateX(-50%) translateY(8px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0);   }
}

/* The translateX above keeps the toast centred on its (sidebar-aware) left anchor. */

@media (prefers-reduced-motion: reduce) {
    .centered-toast[b-mqeamsgddz] { animation: none; }
}
/* /Shared/Components/ChatBot.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   Clara — AI Voice Agent  (Nurse Avatar)
   ═══════════════════════════════════════════════════════════ */

/* ===== Floating Action Button ===== */
.clara-fab[b-4vp88kaobc] {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-start) 0%, var(--accent-end) 100%);
    border: 3px solid var(--white);
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.40);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    padding: 0;
    overflow: hidden;
}

.clara-fab:hover[b-4vp88kaobc] {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(var(--accent-rgb), 0.55);
}

.clara-fab--attention[b-4vp88kaobc] {
    animation: fab-attention-b-4vp88kaobc 2s ease-in-out infinite;
}

@keyframes fab-attention-b-4vp88kaobc {
    0%, 100% { box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.40); }
    50% { box-shadow: 0 4px 24px rgba(var(--accent-rgb), 0.7), 0 0 0 8px rgba(var(--accent-rgb), 0.15); }
}

.clara-fab-avatar[b-4vp88kaobc] {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.clara-fab-badge[b-4vp88kaobc] {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--badge-notify);
    border: 2px solid var(--white);
    animation: badge-pulse-b-4vp88kaobc 1.5s ease-in-out infinite;
}

@keyframes badge-pulse-b-4vp88kaobc {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ===== Panel ===== */
.clara-panel[b-4vp88kaobc] {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 400px;
    height: 620px;
    background: var(--surface-cool);
    border-radius: 20px;
    box-shadow: 0 12px 48px rgba(var(--black-rgb), 0.18);
    display: flex;
    flex-direction: column;
    z-index: 1050;
    overflow: hidden;
    animation: clara-slide-up-b-4vp88kaobc 0.3s ease-out;
}

.clara-panel--speaking[b-4vp88kaobc] {
    box-shadow: 0 12px 48px rgba(var(--brand-blue-rgb), 0.25), 0 0 0 2px rgba(var(--brand-blue-rgb), 0.3);
}

@keyframes clara-slide-up-b-4vp88kaobc {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== Header ===== */
.clara-header[b-4vp88kaobc] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--accent-start) 0%, var(--accent-end) 100%);
    color: var(--white);
    flex-shrink: 0;
}

.clara-header-left[b-4vp88kaobc] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.clara-avatar-ring[b-4vp88kaobc] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 2px;
    background: rgba(var(--white-rgb), 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s ease;
}

.clara-avatar-ring.speaking[b-4vp88kaobc] {
    box-shadow: 0 0 0 3px rgba(var(--white-rgb), 0.5);
    animation: ring-speak-b-4vp88kaobc 1.2s ease-in-out infinite;
}

.clara-avatar-ring.listening[b-4vp88kaobc] {
    box-shadow: 0 0 0 3px rgba(var(--listen-red-rgb), 0.6);
    animation: ring-listen-b-4vp88kaobc 1s ease-in-out infinite;
}

@keyframes ring-speak-b-4vp88kaobc {
    0%, 100% { box-shadow: 0 0 0 3px rgba(var(--white-rgb), 0.3); }
    50%   { box-shadow: 0 0 0 6px rgba(var(--white-rgb), 0.5); }
}

@keyframes ring-listen-b-4vp88kaobc {
    0%, 100% { box-shadow: 0 0 0 3px rgba(var(--listen-red-rgb), 0.3); }
    50%   { box-shadow: 0 0 0 6px rgba(var(--listen-red-rgb), 0.6); }
}

.clara-avatar-img[b-4vp88kaobc] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
}

.clara-header-info[b-4vp88kaobc] {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.clara-name[b-4vp88kaobc] {
    font-weight: 700;
    font-size: 0.95rem;
}

.clara-role[b-4vp88kaobc] {
    font-size: 0.7rem;
    opacity: 0.85;
    font-weight: 400;
}

.clara-header-actions[b-4vp88kaobc] {
    display: flex;
    align-items: center;
    gap: 2px;
}

.clara-header-btn[b-4vp88kaobc],
.clara-close-btn[b-4vp88kaobc] {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 6px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
}

.clara-header-btn:hover[b-4vp88kaobc],
.clara-close-btn:hover[b-4vp88kaobc] {
    background: rgba(var(--white-rgb), 0.2);
    opacity: 1;
}

/* ===== Language Selector ===== */
.clara-lang-selector[b-4vp88kaobc] {
    position: relative;
}

.clara-lang-btn[b-4vp88kaobc] {
    background: rgba(var(--white-rgb), 0.15);
    border: 1px solid rgba(var(--white-rgb), 0.3);
    color: var(--white);
    cursor: pointer;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background 0.15s;
}

.clara-lang-btn:hover[b-4vp88kaobc] {
    background: rgba(var(--white-rgb), 0.25);
}

.clara-lang-code[b-4vp88kaobc] {
    font-weight: 600;
    font-size: 0.7rem;
}

.clara-lang-dropdown[b-4vp88kaobc] {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(var(--black-rgb), 0.15);
    padding: 6px;
    z-index: 100;
    min-width: 150px;
}

.clara-lang-option[b-4vp88kaobc] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--gray-dark);
    transition: background 0.12s;
}

.clara-lang-option:hover[b-4vp88kaobc] {
    background: var(--blue-gray-100);
}

.clara-lang-option.active[b-4vp88kaobc] {
    background: var(--accent-start);
    color: var(--white);
    font-weight: 600;
}

.clara-lang-flag[b-4vp88kaobc] {
    font-size: 1.1rem;
}

/* ===== Avatar Spotlight ===== */
.clara-spotlight[b-4vp88kaobc] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 16px 10px;
    background: linear-gradient(180deg, #e8edf6 0%, #fafbfc 100%);
    flex-shrink: 0;
}

.clara-avatar-large[b-4vp88kaobc] {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clara-avatar-large img[b-4vp88kaobc] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 2px 12px rgba(var(--black-rgb), 0.1);
    transition: transform 0.3s ease;
}

.clara-avatar-large.speaking img[b-4vp88kaobc] {
    animation: avatar-speak-b-4vp88kaobc 0.8s ease-in-out infinite;
}

.clara-avatar-large.listening img[b-4vp88kaobc] {
    animation: avatar-listen-b-4vp88kaobc 1.2s ease-in-out infinite;
}

@keyframes avatar-speak-b-4vp88kaobc {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.03); }
    75% { transform: scale(0.98); }
}

@keyframes avatar-listen-b-4vp88kaobc {
    0%, 100% { transform: scale(1); box-shadow: 0 2px 12px rgba(var(--black-rgb), 0.1); }
    50% { transform: scale(1.02); box-shadow: 0 2px 20px rgba(var(--listen-red-rgb), 0.25); }
}

/* Sound waves when speaking */
.clara-sound-waves[b-4vp88kaobc] {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3px;
    align-items: flex-end;
}

.clara-sound-waves .wave[b-4vp88kaobc] {
    width: 4px;
    border-radius: 2px;
    background: var(--brand-blue);
    animation: wave-bounce-b-4vp88kaobc 0.6s ease-in-out infinite;
}

.clara-sound-waves .wave:nth-child(1)[b-4vp88kaobc] { height: 8px;  animation-delay: 0s; }
.clara-sound-waves .wave:nth-child(2)[b-4vp88kaobc] { height: 14px; animation-delay: 0.15s; }
.clara-sound-waves .wave:nth-child(3)[b-4vp88kaobc] { height: 8px;  animation-delay: 0.3s; }

@keyframes wave-bounce-b-4vp88kaobc {
    0%, 100% { transform: scaleY(0.5); }
    50%   { transform: scaleY(1.2); }
}

/* Listening pulse rings */
.clara-listening-indicator[b-4vp88kaobc] {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    pointer-events: none;
}

.clara-listening-indicator .pulse-ring[b-4vp88kaobc] {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(var(--listen-red-rgb), 0.4);
    border-radius: 50%;
    animation: pulse-expand-b-4vp88kaobc 1.8s ease-out infinite;
}

.clara-listening-indicator .pulse-ring.delay[b-4vp88kaobc] {
    animation-delay: 0.6s;
}

@keyframes pulse-expand-b-4vp88kaobc {
    0%   { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Status text */
.clara-status-text[b-4vp88kaobc] {
    margin-top: 8px;
}

.clara-status[b-4vp88kaobc] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--blue-gray-500);
}

.clara-status.listening[b-4vp88kaobc] {
    color: var(--voice-active);
}

.clara-status.speaking[b-4vp88kaobc] {
    color: var(--accent-text);
}

.clara-status.thinking[b-4vp88kaobc] {
    color: var(--amber);
}

/* ===== Messages Area ===== */
.clara-messages[b-4vp88kaobc] {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--surface-cool);
}

.clara-msg[b-4vp88kaobc] {
    display: flex;
    gap: 8px;
    max-width: 88%;
    width: fit-content;
    align-items: flex-end;
}

.clara-msg--user[b-4vp88kaobc] {
    align-self: flex-end;
    margin-left: auto;
    flex-direction: row;
}

.clara-msg--agent[b-4vp88kaobc] {
    align-self: flex-start;
    margin-right: auto;
}

.clara-msg--proactive .clara-msg-bubble[b-4vp88kaobc] {
    border-left: 3px solid var(--amber);
    background: var(--proactive-bg);
}

.clara-msg-avatar[b-4vp88kaobc] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
}

.clara-msg-avatar img[b-4vp88kaobc] {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.clara-msg-user-avatar[b-4vp88kaobc] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-start);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.clara-msg-bubble[b-4vp88kaobc] {
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.875rem;
    line-height: 1.45;
    position: relative;
    overflow-wrap: break-word;
    word-break: break-word;
}

.clara-msg-bubble p[b-4vp88kaobc] {
    margin: 0;
}

.clara-msg--user .clara-msg-bubble[b-4vp88kaobc] {
    background: linear-gradient(135deg, var(--accent-start) 0%, var(--accent-end) 100%);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.clara-msg--agent .clara-msg-bubble[b-4vp88kaobc] {
    background: var(--white);
    color: var(--dark-text);
    border: 1px solid var(--gray-300);
    border-bottom-left-radius: 4px;
}

.clara-proactive-badge[b-4vp88kaobc] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--proactive-badge);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.clara-msg-lang[b-4vp88kaobc] {
    display: inline-block;
    font-size: 0.6rem;
    color: var(--blue-gray-300);
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 8px;
    background: var(--blue-gray-50);
}

.clara-msg-time[b-4vp88kaobc] {
    display: block;
    font-size: 0.6rem;
    opacity: 0.5;
    margin-top: 4px;
    text-align: right;
}

/* ===== Thinking Indicator ===== */
.clara-thinking[b-4vp88kaobc] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 18px;
}

.thinking-dot[b-4vp88kaobc] {
    width: 7px;
    height: 7px;
    background: var(--accent-start);
    border-radius: 50%;
    animation: thinking-bounce-b-4vp88kaobc 1.4s infinite ease-in-out both;
}

.thinking-dot:nth-child(1)[b-4vp88kaobc] { animation-delay: 0s; }
.thinking-dot:nth-child(2)[b-4vp88kaobc] { animation-delay: 0.2s; }
.thinking-dot:nth-child(3)[b-4vp88kaobc] { animation-delay: 0.4s; }

@keyframes thinking-bounce-b-4vp88kaobc {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

/* ===== Quick Action Chips ===== */
.clara-chips[b-4vp88kaobc] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px 0;
}

.clara-chip[b-4vp88kaobc] {
    padding: 7px 14px;
    border-radius: 20px;
    border: 1px solid var(--accent-start);
    background: var(--white);
    color: var(--accent-text);
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

.clara-chip:hover[b-4vp88kaobc] {
    background: var(--accent-start);
    color: var(--white);
    transform: translateY(-1px);
}

.clara-chip i[b-4vp88kaobc] {
    font-size: 0.85rem;
}

/* ===== Input Area ===== */
.clara-input-area[b-4vp88kaobc] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid #e0e0e0;
    background: var(--white);
    flex-shrink: 0;
}

.clara-input[b-4vp88kaobc] {
    flex: 1;
    border: 1px solid #cfd8dc;
    border-radius: 20px;
    padding: 9px 14px;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.15s ease;
}

.clara-input:focus[b-4vp88kaobc] {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 2px rgba(var(--brand-blue-rgb), 0.15);
}

.clara-input:disabled[b-4vp88kaobc] {
    background: var(--disabled-bg);
}

/* Voice button (primary action) */
.clara-voice-btn[b-4vp88kaobc] {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    background: var(--blue-gray-100);
    color: var(--accent-text);
    transition: all 0.2s ease;
}

.clara-voice-btn:hover:not(:disabled)[b-4vp88kaobc] {
    background: var(--accent-start);
    color: var(--white);
    transform: scale(1.05);
}

.clara-voice-btn.active[b-4vp88kaobc] {
    background: var(--voice-active);
    color: var(--white);
    animation: mic-active-pulse-b-4vp88kaobc 1.2s infinite;
}

.clara-voice-btn:disabled[b-4vp88kaobc] {
    opacity: 0.4;
    cursor: not-allowed;
}

@keyframes mic-active-pulse-b-4vp88kaobc {
    0%, 100% { box-shadow: 0 0 0 0 rgba(var(--voice-active-rgb), 0.4); }
    50%   { box-shadow: 0 0 0 10px rgba(var(--voice-active-rgb), 0); }
}

/* Send button */
.clara-send-btn[b-4vp88kaobc] {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--accent-start) 0%, var(--accent-end) 100%);
    color: var(--white);
    transition: filter 0.15s ease;
}

.clara-send-btn:hover:not(:disabled)[b-4vp88kaobc] {
    filter: brightness(1.1);
}

.clara-send-btn:disabled[b-4vp88kaobc] {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ===== Voice Reply Toggle ===== */
.clara-voice-toggle[b-4vp88kaobc] {
    padding: 6px 16px 8px;
    background: var(--white);
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.clara-toggle-label[b-4vp88kaobc] {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.75rem;
    color: var(--blue-gray-500);
    user-select: none;
}

.clara-toggle-label input[type="checkbox"][b-4vp88kaobc] {
    display: none;
}

.clara-toggle-switch[b-4vp88kaobc] {
    width: 32px;
    height: 18px;
    border-radius: 9px;
    background: var(--toggle-off);
    position: relative;
    transition: background 0.2s;
    flex-shrink: 0;
}

.clara-toggle-switch[b-4vp88kaobc]::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--white);
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(var(--black-rgb), 0.2);
}

.clara-toggle-label input:checked + .clara-toggle-switch[b-4vp88kaobc] {
    background: var(--brand-blue);
}

.clara-toggle-label input:checked + .clara-toggle-switch[b-4vp88kaobc]::after {
    transform: translateX(14px);
}

.clara-toggle-text[b-4vp88kaobc] {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ===== Navigation Indicator ===== */
.clara-navigating[b-4vp88kaobc] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 16px;
}

.clara-nav-bar[b-4vp88kaobc] {
    height: 4px;
    border-radius: 2px;
    background: var(--gray-300);
    overflow: hidden;
    position: relative;
}

.clara-nav-bar[b-4vp88kaobc]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: var(--brand-blue);
    animation: nav-progress-b-4vp88kaobc 1.5s ease-in-out forwards;
}

@keyframes nav-progress-b-4vp88kaobc {
    from { width: 0; }
    to   { width: 100%; }
}

.clara-nav-text[b-4vp88kaobc] {
    font-size: 0.8rem;
    color: var(--blue-gray-500);
    font-style: italic;
}

/* ===== Error & Retry ===== */
.clara-retry-btn[b-4vp88kaobc] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid var(--voice-active);
    background: var(--white);
    color: var(--voice-active);
    font-size: 0.75rem;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.clara-retry-btn:hover[b-4vp88kaobc] {
    background: var(--voice-active);
    color: var(--white);
}

.clara-login-btn[b-4vp88kaobc] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid var(--blue-800);
    background: var(--white);
    color: var(--blue-800);
    font-size: 0.75rem;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.clara-login-btn:hover[b-4vp88kaobc] {
    background: var(--blue-800);
    color: var(--white);
}

/* ===== Tablet Responsive ===== */
@media (min-width: 768px) and (max-width: 1023.98px) {
    .clara-panel[b-4vp88kaobc] {
        width: 360px;
        height: 580px;
        bottom: 24px;
        right: 24px;
    }
}

/* ===== Mobile Responsive ===== */
@media (max-width: 767.98px) {
    .clara-fab[b-4vp88kaobc] {
        width: 54px;
        height: 54px;
        bottom: 16px;
        right: 16px;
    }

    .clara-fab-avatar[b-4vp88kaobc] {
        width: 44px;
        height: 44px;
    }

    .clara-panel[b-4vp88kaobc] {
        width: 100vw;
        height: 70vh;
        bottom: 0;
        right: 0;
        border-radius: 20px 20px 0 0;
    }

    .clara-spotlight[b-4vp88kaobc] {
        padding: 12px 12px 8px;
    }

    .clara-avatar-large[b-4vp88kaobc] {
        width: 64px;
        height: 64px;
    }

    .clara-avatar-large img[b-4vp88kaobc] {
        width: 64px;
        height: 64px;
    }

    .clara-input[b-4vp88kaobc] {
        padding: 10px 14px;
        font-size: 1rem;
    }

    .clara-voice-btn[b-4vp88kaobc] {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .clara-send-btn[b-4vp88kaobc] {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .clara-chip[b-4vp88kaobc] {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* ===== Scrollbar ===== */
.clara-messages[b-4vp88kaobc]::-webkit-scrollbar {
    width: 5px;
}

.clara-messages[b-4vp88kaobc]::-webkit-scrollbar-track {
    background: transparent;
}

.clara-messages[b-4vp88kaobc]::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 3px;
}

.clara-messages[b-4vp88kaobc]::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    .clara-panel[b-4vp88kaobc] {
        animation: none;
    }

    .clara-fab[b-4vp88kaobc],
    .clara-chip[b-4vp88kaobc],
    .clara-voice-btn[b-4vp88kaobc],
    .clara-send-btn[b-4vp88kaobc],
    .clara-retry-btn[b-4vp88kaobc],
    .clara-input[b-4vp88kaobc] {
        transition: none;
    }

    .thinking-dot[b-4vp88kaobc],
    .clara-sound-waves .wave[b-4vp88kaobc] {
        animation: none;
        opacity: 0.6;
    }

    .clara-voice-btn.active[b-4vp88kaobc] {
        animation: none;
    }

    .clara-avatar-large.speaking img[b-4vp88kaobc],
    .clara-avatar-large.listening img[b-4vp88kaobc] {
        animation: none;
    }

    .clara-avatar-ring.speaking[b-4vp88kaobc],
    .clara-avatar-ring.listening[b-4vp88kaobc] {
        animation: none;
    }

    .clara-fab--attention[b-4vp88kaobc] {
        animation: none;
    }

    .clara-listening-indicator .pulse-ring[b-4vp88kaobc] {
        animation: none;
    }

    .clara-nav-bar[b-4vp88kaobc]::after {
        animation: none;
        width: 100%;
    }
}

/* ===== Focus Visible ===== */
.clara-fab:focus-visible[b-4vp88kaobc],
.clara-close-btn:focus-visible[b-4vp88kaobc],
.clara-header-btn:focus-visible[b-4vp88kaobc],
.clara-send-btn:focus-visible[b-4vp88kaobc],
.clara-voice-btn:focus-visible[b-4vp88kaobc],
.clara-chip:focus-visible[b-4vp88kaobc],
.clara-retry-btn:focus-visible[b-4vp88kaobc],
.clara-input:focus-visible[b-4vp88kaobc] {
    outline: 2px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px var(--primary-color, #0d6efd);
}
/* /Shared/Components/ConfirmDialog.razor.rz.scp.css */
/* ── Confirm dialog — Style 3: coloured header bar (LOCKED 2026-06-28) ── */
.confirm-header[b-x3fflcodqf] {
    border-bottom: none;
    color: var(--white);
}

.confirm-header .modal-title[b-x3fflcodqf] {
    font-weight: 700;
    display: flex;
    align-items: center;
}

/* Intent-coloured header strip — colour follows the confirm button intent */
.confirm-header--danger[b-x3fflcodqf]  { background: linear-gradient(135deg, var(--danger-color) 0%, var(--danger-dark) 100%); }
.confirm-header--success[b-x3fflcodqf] { background: linear-gradient(135deg, var(--success-color) 0%, var(--success-text-dark) 100%); }
.confirm-header--primary[b-x3fflcodqf] { background: linear-gradient(135deg, var(--brand-blue) 0%, var(--fc-reports-700) 100%); }
.confirm-header--info[b-x3fflcodqf]    { background: linear-gradient(135deg, var(--brand-blue) 0%, var(--fc-reports-700) 100%); }

/* Amber needs dark text for contrast */
.confirm-header--warning[b-x3fflcodqf] {
    background: linear-gradient(135deg, var(--warning-color) 0%, var(--fc-discharge-600) 100%);
    color: var(--warning-dark-text);
}

.confirm-header--warning .btn-close[b-x3fflcodqf] {
    filter: none;   /* dark close button on amber */
}
/* /Shared/Components/Consultation/TranscriptionLanguages.razor.rz.scp.css */
.tlang[b-7mdawyzk0s] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.tlang-badges[b-7mdawyzk0s] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.tlang-switch[b-7mdawyzk0s] {
    width: auto;
    max-width: 100%;
}

.tlang--compact .tlang-switch[b-7mdawyzk0s] {
    max-width: 16rem;
}

@media (max-width: 575.98px) {
    .tlang-switch[b-7mdawyzk0s] { min-height: 44px; width: 100%; }
}
/* /Shared/Components/Consultation/TranscriptLine.razor.rz.scp.css */
.tl-body[b-q0zdl74zqg] {
    flex: 1 1 auto;
    min-width: 0;
}

.tl-line[b-q0zdl74zqg] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
}

.tl-text[b-q0zdl74zqg] {
    word-break: break-word;
}

.tl-lang[b-q0zdl74zqg] {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 1px 6px;
    border-radius: var(--radius-xl);
    background: var(--gray-subtle);
    color: var(--gray-500);
    white-space: nowrap;
}

.tl-flag[b-q0zdl74zqg] {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    padding: 1px 8px;
    border: 1px solid var(--warning-border-subtle);
    border-radius: var(--radius-xl);
    background: var(--warning-light-bg);
    color: var(--warning-dark-text);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.tl-flag:hover[b-q0zdl74zqg],
.tl-flag:focus-visible[b-q0zdl74zqg] {
    background: var(--primary-light-bg);
}

.tl-english[b-q0zdl74zqg] {
    margin-top: 2px;
    font-size: 0.82rem;
    color: var(--gray-500);
}

@media (max-width: 575.98px) {
    .tl-flag[b-q0zdl74zqg] { min-height: 44px; }
}
/* /Shared/Components/Consultation/TranscriptViewPicker.razor.rz.scp.css */
.tv-picker[b-y6l2hbny0q] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
}

@media (max-width: 575.98px) {
    .tv-picker .btn[b-y6l2hbny0q] { min-height: 44px; }
}
/* /Shared/Components/Diagnostics/ConsultationInvestigations.razor.rz.scp.css */
/* Test picker row: the test box takes the room, urgency and "add as typed" sit beside it — and stack on a phone. */
.ci-picker[b-lrchf162lb] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: var(--spacing-sm);
}

.ci-picker-test[b-lrchf162lb] {
    flex: 1 1 18rem;
    min-width: 0;
}

.ci-picker-urgency[b-lrchf162lb] {
    flex: 0 0 9rem;
}

.ci-picker-add[b-lrchf162lb] {
    flex: 0 0 auto;
}

.ci-suggestions[b-lrchf162lb] {
    margin-top: var(--spacing-md);
}

.ci-choice[b-lrchf162lb] {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm);
    border: 1px dashed var(--slate-border);
    border-radius: var(--radius-md);
    background: var(--surface-cool);
}

.ci-pending[b-lrchf162lb] {
    margin-top: var(--spacing-md);
}

.ci-pending-row[b-lrchf162lb] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-sm);
}

.ci-pending-name[b-lrchf162lb] {
    flex: 1 1 14rem;
    min-width: 0;
}

.ci-pending-urgency[b-lrchf162lb] {
    flex: 0 0 8rem;
    width: 8rem;
}

.ci-order--cancelled[b-lrchf162lb] {
    opacity: 0.65;
}

@media (max-width: 576px) {
    .ci-picker-urgency[b-lrchf162lb],
    .ci-picker-add[b-lrchf162lb] {
        flex: 1 1 100%;
    }

    .ci-picker-add .btn[b-lrchf162lb] {
        width: 100%;
    }
}
/* /Shared/Components/FormDialog.razor.rz.scp.css */
.form-dialog-backdrop[b-7l8wra95j3] {
    position: fixed;
    inset: 0;
    background: rgba(var(--black-rgb), 0.35);
    z-index: 1040;
}

/* Anchored near the top (not centred): a centred box re-centres as a result list opens and its
   header slides off-screen. Scrolls itself when taller than the viewport. */
.form-dialog[b-7l8wra95j3] {
    position: fixed;
    z-index: 1050;
    top: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    width: min(34rem, calc(100vw - 2 * var(--spacing-md)));
    max-height: calc(100vh - 2 * var(--spacing-xl));
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
}

.form-dialog--wide[b-7l8wra95j3] {
    width: min(46rem, calc(100vw - 2 * var(--spacing-md)));
}

/* Phones: dock to the bottom as a sheet — reachable with a thumb, and the keyboard pushes it up
   instead of covering a centred box. */
@media (max-width: 576px) {
    .form-dialog[b-7l8wra95j3] {
        top: auto;
        left: 0;
        bottom: 0;
        transform: none;
        width: 100vw;
        max-height: 90vh;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        padding-bottom: env(safe-area-inset-bottom);
    }
}
/* /Shared/Components/Home/HomeActivitySection.razor.rz.scp.css */
/* ── Section wrapper ─────────────────────────────────── */
.activity-section[b-gd3fhb1o1m] {
    padding: 80px 0;
    background: var(--surface-slate);
}

/* ── Section heading ─────────────────────────────────── */
.activity-eyebrow[b-gd3fhb1o1m] {
    color: var(--activity-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.activity-heading[b-gd3fhb1o1m] {
    font-size: 2.5rem;
    font-weight: 800;
}

/* ── Panel card ──────────────────────────────────────── */
.activity-panel[b-gd3fhb1o1m] {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--slate-border);
}

.activity-panel-title[b-gd3fhb1o1m] {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* ── Table header row ────────────────────────────────── */
.activity-table-header[b-gd3fhb1o1m] {
    border-bottom: 2px solid var(--slate-border);
}

.activity-th[b-gd3fhb1o1m] {
    font-weight: 700;
    color: var(--slate-500);
}

/* ── View report link button ─────────────────────────── */
.activity-view-btn[b-gd3fhb1o1m] {
    color: var(--activity-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
}

.activity-view-btn:hover[b-gd3fhb1o1m] {
    color: var(--activity-accent);
    text-decoration: underline;
}

/* ── Mobile activity cards ───────────────────────────── */
.activity-card[b-gd3fhb1o1m] {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.activity-card:last-child[b-gd3fhb1o1m] {
    border-bottom: none;
}

.activity-card-date[b-gd3fhb1o1m] {
    font-size: 0.78rem;
}
/* /Shared/Components/Home/HomeFeatureShowcaseSection.razor.rz.scp.css */
/* ── Feature showcase section (Explore Clara's Capabilities) ──── */
.feature-showcase-section[b-0rh5pc3l6b] {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--home-section-bg-start) 0%, var(--home-section-bg-end) 100%);
}

.fs-eyebrow[b-0rh5pc3l6b] {
    color: var(--home-eyebrow);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
}

.fs-heading[b-0rh5pc3l6b] {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--home-heading);
}

/* ── Cards ───────────────────────────────────────────────────── */
.fs-card[b-0rh5pc3l6b] {
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(var(--home-card-border-rgb), 0.12);
    border-left-width: 4px;
    height: 100%;
    box-shadow: 0 6px 18px rgba(var(--home-card-border-rgb), 0.08);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.fs-card:hover[b-0rh5pc3l6b] {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(var(--home-card-border-rgb), 0.16);
}

.fs-card--emerald[b-0rh5pc3l6b] { border-left-color: var(--fc-appt-500); }
.fs-card--blue[b-0rh5pc3l6b]    { border-left-color: var(--fc-reports-500); }
.fs-card--amber[b-0rh5pc3l6b]   { border-left-color: var(--fc-discharge-500); }
.fs-card--red[b-0rh5pc3l6b]     { border-left-color: var(--fc-wound-500); }

.fs-card__chip[b-0rh5pc3l6b] {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 0.9rem;
}

.fs-card--emerald .fs-card__chip[b-0rh5pc3l6b] { background: linear-gradient(135deg, var(--fc-appt-500), var(--fc-appt-600)); }
.fs-card--blue    .fs-card__chip[b-0rh5pc3l6b] { background: linear-gradient(135deg, var(--fc-reports-500), var(--fc-reports-700)); }
.fs-card--amber   .fs-card__chip[b-0rh5pc3l6b] { background: linear-gradient(135deg, var(--fc-discharge-500), var(--fc-discharge-600)); }
.fs-card--red     .fs-card__chip[b-0rh5pc3l6b] { background: linear-gradient(135deg, var(--fc-wound-500), var(--fc-wound-600)); }

.fs-card__title[b-0rh5pc3l6b] {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--home-heading);
}

.fs-card__text[b-0rh5pc3l6b] {
    color: var(--home-body);
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .feature-showcase-section[b-0rh5pc3l6b] { padding: 56px 0; }
    .fs-heading[b-0rh5pc3l6b] { font-size: 2rem; }
}
/* /Shared/Components/Home/HomeHeroSection.razor.rz.scp.css */
/* B4 "Aurora sweep" — 4-stop indigo→violet diagonal + twin aurora glows (2026-06-28) */
.hero-section[b-ww3q2g8evg] {
    background:
        radial-gradient(ellipse at 70% 20%, rgba(var(--hero-aurora-blue-rgb), 0.22), transparent 45%),
        radial-gradient(ellipse at 20% 90%, rgba(var(--hero-aurora-violet-rgb), 0.22), transparent 45%),
        linear-gradient(120deg, var(--hero-aurora-1) 0%, var(--hero-aurora-2) 48%, var(--hero-aurora-3) 78%, var(--hero-aurora-4) 100%);
    border-radius: 1.0rem;
    padding: 12px 1.5rem 8px;
    border: 1px solid rgba(var(--hero-border-rgb), 0.16);
    box-shadow: 0 24px 56px rgba(var(--hero-shadow-dark-rgb), 0.24);
}

.hero-shell[b-ww3q2g8evg] {
    padding-left: 0;
    padding-right: 0;
}

.hero-card[b-ww3q2g8evg] {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 3.5rem 3.5rem 3.25rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

/* Top row: badge + headline (left) | video (right).
   Top-aligned so the badge lines up with the top edge of the video. */
.hero-top[b-ww3q2g8evg] {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.55fr);
    align-items: start;
    gap: 4rem;
}

.hero-copy[b-ww3q2g8evg] {
    max-width: none;
    padding-left: 1rem;
    color: var(--white);
}

.hero-badge[b-ww3q2g8evg] {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    white-space: nowrap;
    color: rgba(var(--hero-badge-text-rgb), 0.94);
}

.hero-title[b-ww3q2g8evg] {
    margin: 0;
    font-size: clamp(3rem, 4.1vw, 4.7rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--white);
    text-wrap: balance;
}

/* Description sits on its own row below the headline/video, spanning to the video's right edge */
.hero-description[b-ww3q2g8evg] {
    margin: 0;
    max-width: none;
    padding-left: 1rem;
    font-size: 1.14rem;
    line-height: 1.68;
    color: rgba(var(--hero-desc-text-rgb), 0.9);
}

.hero-actions[b-ww3q2g8evg] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-button[b-ww3q2g8evg] {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: 0.95rem;
    padding: 1rem 1.5rem;
    border: 1px solid transparent;
    font-size: 1.05rem;
    font-weight: 700;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.hero-button:hover[b-ww3q2g8evg] {
    transform: translateY(-2px);
}

.hero-button:active[b-ww3q2g8evg] {
    transform: translateY(0);
    transition-duration: 80ms;
}

.hero-button:focus-visible[b-ww3q2g8evg] {
    outline: 2px solid rgba(var(--white-rgb), 0.9);
    outline-offset: 3px;
}

.hero-button--primary[b-ww3q2g8evg] {
    background: var(--hero-btn-primary-bg);
    color: var(--hero-btn-primary-text);
    box-shadow: 0 18px 36px rgba(var(--hero-shadow-dark-rgb), 0.26);
}

.hero-button--primary:hover[b-ww3q2g8evg] {
    box-shadow: 0 24px 48px rgba(var(--hero-shadow-dark-rgb), 0.36);
}

.hero-button--secondary[b-ww3q2g8evg] {
    background: rgba(var(--hero-btn-secondary-bg-rgb), 0.08);
    color: var(--white);
    border-color: rgba(var(--hero-btn-secondary-border-rgb), 0.72);
}

.hero-button--secondary:hover[b-ww3q2g8evg] {
    background: rgba(var(--hero-btn-secondary-bg-rgb), 0.2);
    border-color: rgba(var(--hero-btn-secondary-border-rgb), 0.98);
    box-shadow: 0 16px 32px rgba(var(--hero-shadow-dark-rgb), 0.2);
}

.hero-media[b-ww3q2g8evg] {
    display: flex;
    justify-content: flex-end;
}

.avatar-video-player[b-ww3q2g8evg] {
    width: min(100%, 1020px);
    margin-left: auto;
}

.avatar-video-iframe[b-ww3q2g8evg] {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 1.2rem;
    box-shadow: 0 24px 64px rgba(var(--hero-shadow-dark-rgb), 0.34);
    background: var(--hero-video-dark);
}

/* Stack to a single centered column below 1400px — the two-column hero needs the
   full content width (the app sidebar eats ~190px, so narrower viewports cramp it). */
@media (max-width: 1399.98px) {
    .hero-card[b-ww3q2g8evg] {
        gap: 1.75rem;
        padding: 2.75rem 2rem 2.5rem;
    }

    .hero-top[b-ww3q2g8evg] {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .hero-title[b-ww3q2g8evg] {
        font-size: clamp(2.5rem, 8vw, 3.8rem);
    }

    .hero-copy[b-ww3q2g8evg] {
        max-width: none;
        padding-left: 0;
        text-align: center;
    }

    .hero-description[b-ww3q2g8evg] {
        max-width: 52rem;
        padding-left: 0;
        margin-inline: auto;
        text-align: center;
    }

    .hero-actions[b-ww3q2g8evg] {
        justify-content: center;
    }

    .hero-media[b-ww3q2g8evg] {
        justify-content: center;
    }

    .avatar-video-player[b-ww3q2g8evg] {
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .hero-card[b-ww3q2g8evg] {
        padding: 2rem 1.25rem;
    }

    .hero-title[b-ww3q2g8evg] {
        font-size: clamp(2.1rem, 9vw, 3rem);
    }

    /* Shrink the badge just enough to keep it on one line on small phones */
    .hero-badge[b-ww3q2g8evg] {
        gap: 0.45rem;
        font-size: 0.72rem;
        letter-spacing: 0.08em;
    }
}
/* /Shared/Components/Home/HomePlansSection.razor.rz.scp.css */
/* ── Plans section (SaaS tiers) ───────────────────────────── */
.plans-section[b-s6ahy1ewdh] {
    position: relative;
    overflow: hidden;
    padding: 88px 0;
    color: var(--white);
    background: linear-gradient(135deg,
        var(--cap-section-bg-1) 0%,
        var(--cap-section-bg-2) 55%,
        var(--cap-section-bg-3) 100%);
    border-top: 1px solid rgba(var(--hero-border-rgb), 0.18);
    border-bottom: 1px solid rgba(var(--hero-border-rgb), 0.18);
}

/* twin aurora glows — same family as the hero */
.plans-section__overlay[b-s6ahy1ewdh] {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 75% 12%, rgba(var(--hero-aurora-blue-rgb), 0.16), transparent 46%),
        radial-gradient(ellipse at 15% 95%, rgba(var(--hero-aurora-violet-rgb), 0.18), transparent 46%);
}

.plans-section .container[b-s6ahy1ewdh] {
    position: relative;
    z-index: 1;
}

.plans-section__eyebrow[b-s6ahy1ewdh] {
    color: var(--cap-section-eyebrow);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
}

.plans-section__heading[b-s6ahy1ewdh] {
    font-size: 2.5rem;
    font-weight: 800;
}

.plans-section__sub[b-s6ahy1ewdh] {
    color: rgba(var(--cap-card-text-rgb), 0.85);
    max-width: 40rem;
    margin: 0.75rem auto 0;
}

/* ── Plan card ────────────────────────────────────────────── */
.plan-card[b-s6ahy1ewdh] {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.75rem;
    background: rgba(var(--cap-card-bg-rgb), 0.08);
    border: 1px solid rgba(var(--cap-card-border-rgb), 0.24);
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(var(--cap-card-shadow-rgb), 0.22);
}

.plan-card--featured[b-s6ahy1ewdh] {
    background: rgba(var(--cap-card-bg-rgb), 0.16);
    border-color: rgba(var(--white-rgb), 0.5);
    box-shadow: 0 18px 40px rgba(var(--cap-card-shadow-rgb), 0.34);
}

.plan-card__badge[b-s6ahy1ewdh] {
    position: absolute;
    top: -0.8rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    color: var(--brand-navy);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-xl);
    white-space: nowrap;
}

.plan-card__name[b-s6ahy1ewdh] {
    font-size: 1.4rem;
    font-weight: 800;
}

.plan-card__for[b-s6ahy1ewdh] {
    color: rgba(var(--cap-card-text-rgb), 0.8);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.plan-card__list[b-s6ahy1ewdh] {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    display: grid;
    gap: 0.6rem;
    flex-grow: 1;
}

.plan-card__list li[b-s6ahy1ewdh] {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.95rem;
    color: rgba(var(--cap-card-text-rgb), 0.92);
}

.plan-card__list i[b-s6ahy1ewdh] {
    color: var(--fc-appt-300);
    margin-top: 0.15rem;
}

.plan-card__cta[b-s6ahy1ewdh] {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(var(--white-rgb), 0.5);
    background: transparent;
    color: var(--white);
    transition: transform var(--transition-base), background-color var(--transition-base);
}

.plan-card__cta:hover[b-s6ahy1ewdh] {
    transform: translateY(-2px);
    background: rgba(var(--white-rgb), 0.1);
}

.plan-card__cta--primary[b-s6ahy1ewdh] {
    background: var(--white);
    color: var(--brand-navy);
    border-color: var(--white);
}

.plan-card__cta--primary:hover[b-s6ahy1ewdh] {
    background: rgba(var(--white-rgb), 0.9);
}

/* ── Trust strip ──────────────────────────────────────────── */
.plan-trust[b-s6ahy1ewdh] {
    list-style: none;
    padding: 0;
    margin: 3rem 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 2rem;
    color: rgba(var(--cap-card-text-rgb), 0.85);
    font-size: 0.92rem;
}

.plan-trust li[b-s6ahy1ewdh] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-trust i[b-s6ahy1ewdh] {
    color: var(--fc-reports-300);
}

@media (max-width: 768px) {
    .plans-section[b-s6ahy1ewdh] { padding: 56px 0; }
    .plans-section__heading[b-s6ahy1ewdh] { font-size: 2rem; }
}
/* /Shared/Components/Home/HomeValuePropositionSection.razor.rz.scp.css */
/* ── Value proposition section (Why Clara) ───────────────────── */
.value-prop-section[b-pzho20gb46] {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--home-section-bg-start) 0%, var(--home-section-bg-end) 100%);
}

.vp-eyebrow[b-pzho20gb46] {
    color: var(--home-eyebrow);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
}

.vp-heading[b-pzho20gb46] {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--home-heading);
}

.vp-sub[b-pzho20gb46] {
    font-size: 1.1rem;
    color: var(--home-body);
    line-height: 1.8;
}

/* ── Cards ───────────────────────────────────────────────────── */
.vp-card[b-pzho20gb46] {
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(var(--home-card-border-rgb), 0.12);
    box-shadow: 0 12px 28px rgba(var(--home-card-border-rgb), 0.10);
    height: 100%;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.vp-card:hover[b-pzho20gb46] {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(var(--home-card-border-rgb), 0.18);
}

.vp-card__chip[b-pzho20gb46] {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    color: var(--white);
}

.vp-card__chip--amber[b-pzho20gb46]   { background: linear-gradient(135deg, var(--fc-discharge-500), var(--fc-discharge-600)); }
.vp-card__chip--emerald[b-pzho20gb46] { background: linear-gradient(135deg, var(--fc-appt-500), var(--fc-appt-600)); }
.vp-card__chip--indigo[b-pzho20gb46]  { background: linear-gradient(135deg, var(--accent-start), var(--accent-end)); }

.vp-card__stat[b-pzho20gb46] {
    margin-bottom: 0.65rem;
    line-height: 1.1;
}

.vp-card__stat-value[b-pzho20gb46] {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.vp-card__stat-label[b-pzho20gb46] {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--home-body);
    opacity: 0.7;
}

.vp-card__stat--amber   .vp-card__stat-value[b-pzho20gb46] { color: var(--fc-discharge-600); }
.vp-card__stat--emerald .vp-card__stat-value[b-pzho20gb46] { color: var(--fc-appt-600); }
.vp-card__stat--indigo  .vp-card__stat-value[b-pzho20gb46] { color: var(--accent-end); }

.vp-card__title[b-pzho20gb46] {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--home-heading);
}

.vp-card__text[b-pzho20gb46] {
    color: var(--home-body);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .value-prop-section[b-pzho20gb46] { padding: 56px 0; }
    .vp-heading[b-pzho20gb46] { font-size: 2rem; }
}
/* /Shared/Components/ImageGallery.razor.rz.scp.css */
/* ── Shared thumbnail gallery (pairs with ImageLightbox) ──────────────── */
.image-gallery[b-69yxmo8575] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.image-gallery-thumb[b-69yxmo8575] {
    width: 80px;
    height: 80px;
    padding: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--border-color);
    background: var(--white);
    cursor: pointer;
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.image-gallery-thumb:hover[b-69yxmo8575] {
    border-color: var(--primary-color);
    transform: scale(1.04);
}

.image-gallery-thumb img[b-69yxmo8575] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* /Shared/Components/ImageLightbox.razor.rz.scp.css */
/* ── Full-screen image lightbox (shared) ─────────────────────────────── */
.clara-lightbox[b-56pta3widd] {
    position: fixed;
    inset: 0;
    background: rgba(var(--black-rgb), 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    flex-direction: column;
    gap: 0.75rem;
    padding: 3.5rem 1rem 1rem;
}

.clara-lightbox-inner[b-56pta3widd] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

.clara-lightbox-img[b-56pta3widd] {
    max-width: 90vw;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transform-origin: center center;
    user-select: none;
    -webkit-user-drag: none;
    touch-action: none;   /* prevent iOS Safari page-scroll hijacking our touch events */
}

/* ── Zoom toolbar ─────────────────────────────────────── */
.clara-lightbox-toolbar[b-56pta3widd] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(var(--white-rgb), 0.12);
    border: 1px solid rgba(var(--white-rgb), 0.2);
    border-radius: var(--radius-xl);
    padding: 0.35rem 0.75rem;
    backdrop-filter: blur(6px);
}

.lb-tool-btn[b-56pta3widd] {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-circle);
    border: none;
    background: rgba(var(--white-rgb), 0.15);
    color: var(--white);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-fast);
    flex-shrink: 0;
}

.lb-tool-btn:hover:not(:disabled)[b-56pta3widd] {
    background: rgba(var(--white-rgb), 0.3);
}

.lb-tool-btn:disabled[b-56pta3widd] {
    opacity: 0.35;
    cursor: not-allowed;
}

.lb-divider[b-56pta3widd] {
    width: 1px;
    align-self: stretch;
    margin: 0.15rem 0.15rem;
    background: rgba(var(--white-rgb), 0.2);
}

.lb-zoom-label[b-56pta3widd] {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    min-width: 44px;
    text-align: center;
}

.lb-hint[b-56pta3widd] {
    color: rgba(var(--white-rgb), 0.5);
    font-size: 0.72rem;
    padding-left: 0.5rem;
    border-left: 1px solid rgba(var(--white-rgb), 0.2);
    margin-left: 0.25rem;
    white-space: nowrap;
}

.clara-lightbox-close[b-56pta3widd] {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: rgba(var(--white-rgb), 0.15);
    border: none;
    color: var(--white);
    font-size: 1.25rem;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.clara-lightbox-close:hover[b-56pta3widd] {
    background: rgba(var(--white-rgb), 0.3);
}
/* /Shared/Components/ImageUpload.razor.rz.scp.css */
.image-upload-box[b-iupd4ufx9e] {
    border: 1px solid var(--blue-gray-300);
    background: var(--blue-gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.image-upload-box.is-square[b-iupd4ufx9e] {
    border-radius: var(--radius-md);
}

.image-upload-box.is-circle[b-iupd4ufx9e] {
    border-radius: var(--radius-circle);
}

.image-upload-box img[b-iupd4ufx9e] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-upload-box.is-square img[b-iupd4ufx9e] {
    object-fit: contain;
}

.image-upload-box .bi[b-iupd4ufx9e] {
    font-size: 2rem;
}
/* /Shared/Components/Inpatient/AssessmentForm.razor.rz.scp.css */
/* Admission assessment stepper — tokens only, phone first. */
.assess-steps[b-47j9bzdo0j] {
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: var(--spacing-xs);
}

.assess-steps .nav-link[b-47j9bzdo0j] {
    font-size: 0.85rem;
    padding: 0.35rem 0.75rem;
}

.assess-grid[b-47j9bzdo0j] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
    gap: var(--spacing-xs) var(--spacing-md);
}

.assess-row[b-47j9bzdo0j] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-xs) var(--spacing-sm);
    padding: 0.2rem 0;
}

.assess-row__label[b-47j9bzdo0j] {
    min-width: 8.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.assess-row__since[b-47j9bzdo0j] {
    width: auto;
    max-width: 10rem;
}

.assess-chip[b-47j9bzdo0j] {
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

.assess-declaration[b-47j9bzdo0j] {
    font-style: italic;
    background: var(--surface-cool);
    border-left: 3px solid var(--brand-navy);
    padding: var(--spacing-sm) var(--spacing-md);
}

.assess-signature[b-47j9bzdo0j] {
    display: block;
    width: 100%;
    height: 180px;
    border: 1px dashed var(--blue-gray-500);
    border-radius: var(--radius-md);
    background: var(--white);
    touch-action: none;
}

/* G-P-L-A: four narrow boxes in one row. */
.assess-gpla[b-47j9bzdo0j] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 7rem));
    gap: var(--spacing-sm);
}

.assess-attach[b-47j9bzdo0j] {
    width: auto;
    max-width: 24rem;
}

.assess-pulses th[b-47j9bzdo0j],
.assess-pulses td[b-47j9bzdo0j] {
    min-width: 5rem;
}

.assess-pain-face[b-47j9bzdo0j] {
    font-size: 1.3rem;
    margin-left: var(--spacing-xs);
}

@media (max-width: 576px) {
    .btn[b-47j9bzdo0j],
    .form-control[b-47j9bzdo0j],
    .form-select[b-47j9bzdo0j] {
        min-height: 44px;
    }

    .assess-row__label[b-47j9bzdo0j] {
        min-width: 100%;
    }
}

/* Personal history: the four habits on the left, diet / sleep / bowel / bladder / occupation on the
   right, so the card uses its width instead of stacking a second screen of fields underneath. */
.assess-personal[b-47j9bzdo0j] {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: var(--spacing-md) var(--spacing-lg);
}

@media (max-width: 767.98px) {
    .assess-personal[b-47j9bzdo0j] {
        grid-template-columns: 1fr;
    }
}
/* /Shared/Components/Inpatient/CareTeamPicker.razor.rz.scp.css */
/* Care team chips — tokens only. */
.careteam[b-d2egxtyieg] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-xs);
}

.careteam__chip[b-d2egxtyieg] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 0.2rem 0.4rem 0.2rem 0.6rem;
    font-size: 0.875rem;
}

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

/* Non-doctors carry their role so "Anita · primary nurse" reads at a glance. */
.careteam__role[b-d2egxtyieg] {
    margin-left: var(--spacing-xs);
    padding: 0 var(--spacing-xs);
    border-radius: var(--radius-sm);
    background: var(--gray-subtle);
    color: var(--gray-700);
    font-size: 0.75rem;
    font-weight: 600;
}

.careteam__remove[b-d2egxtyieg] {
    border: none;
    background: transparent;
    color: var(--text-muted);
    line-height: 1;
    padding: 0 0.25rem;
    border-radius: var(--radius-circle);
    cursor: pointer;
}

.careteam__remove:hover[b-d2egxtyieg] {
    color: var(--danger-color);
    background: var(--danger-light-bg);
}

.careteam__add[b-d2egxtyieg] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-xs);
    width: 100%;
}

/* The search fills the row with Cancel at its end. While searching, the row aligns to the top so
   Cancel stays level with the input when the inline results open below it. */
.careteam__search[b-d2egxtyieg] {
    flex: 1 1 14rem;
    min-width: 0;
}

.careteam__add--searching[b-d2egxtyieg] {
    align-items: flex-start;
}

.careteam__specialty[b-d2egxtyieg] {
    max-width: 18rem;
    flex: 1 1 12rem;
}

@media (max-width: 575.98px) {
    .careteam__remove[b-d2egxtyieg],
    .careteam__addbtn[b-d2egxtyieg] { min-height: 44px; min-width: 44px; }
}
/* /Shared/Components/Inpatient/DischargePanel.razor.rz.scp.css */
/* Discharge summary - tokens only. */
.discharge-gaps[b-eajtxjt6x9] {
    background: var(--status-warning-bg);
    border: 1px solid var(--status-warning-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
}

.discharge-publish[b-eajtxjt6x9] {
    border-left: 4px solid var(--success-color);
}

.discharge-readonly h6[b-eajtxjt6x9] {
    color: var(--brand-navy);
}

/* The blocks printed from the record (key results, vitals at discharge) — read-only, set apart from the draft. */
.discharge-record-facts[b-eajtxjt6x9] {
    padding: var(--spacing-sm);
    border-left: 3px solid var(--slate-border);
    background: var(--surface-cool);
    border-radius: var(--radius-md);
}
/* /Shared/Components/Inpatient/MarSlotCard.razor.rz.scp.css */
/* MAR slot — tokens only. */
.mar-slot[b-p4udpztbnb] {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-cool);
    margin-bottom: var(--spacing-sm);
}

.mar-slot--overdue[b-p4udpztbnb] { border-left-color: var(--danger-color); background: var(--status-danger-bg); }
.mar-slot--missed[b-p4udpztbnb]  { border-left-color: var(--danger-dark); }
.mar-slot--given[b-p4udpztbnb]   { border-left-color: var(--success-color); background: var(--status-success-bg); }
.mar-slot--held[b-p4udpztbnb]    { border-left-color: var(--warning-color); background: var(--status-warning-bg); }

.mar-slot__time[b-p4udpztbnb] {
    min-width: 3.5rem;
    text-align: center;
}

.mar-slot__body[b-p4udpztbnb] { flex: 1; min-width: 0; }

.mar-slot__med[b-p4udpztbnb] { font-weight: 600; }

.mar-slot__actions[b-p4udpztbnb] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    justify-content: flex-end;
}

.mar-slot__form[b-p4udpztbnb] {
    background: var(--surface-slate);
    border-radius: var(--radius-sm);
    padding: var(--spacing-sm);
}

@media (max-width: 575.98px) {
    .mar-slot[b-p4udpztbnb] { flex-wrap: wrap; }
    .mar-slot__actions[b-p4udpztbnb] { width: 100%; justify-content: stretch; }
    .mar-slot__actions .btn[b-p4udpztbnb] { flex: 1; min-height: 44px; }
}
/* /Shared/Components/Inpatient/OrdersPanel.razor.rz.scp.css */
/* Orders — tokens only. */
.orders-kinds[b-00x04rlqjw] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.orders-safety[b-00x04rlqjw] {
    background: var(--status-warning-bg);
    border: 1px solid var(--status-warning-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
}

.orders-item--held[b-00x04rlqjw] { border-left: 4px solid var(--warning-color); }
.orders-item--pending[b-00x04rlqjw] { border-left: 4px solid var(--warning-color); }
.orders-item--ended[b-00x04rlqjw] { opacity: 0.65; }

.orders-item__head[b-00x04rlqjw] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--spacing-xs) var(--spacing-md);
}

.orders-item__badges[b-00x04rlqjw] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: flex-start;
}

/* Say-or-type box above the medication fields: the composer takes the row, Fill sits beside it. */
.orders-dictate[b-00x04rlqjw] {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

/* ::deep — the composer is a child component, so its root does not carry this page's scope attribute. */
.orders-dictate[b-00x04rlqjw]  > :first-child {
    flex: 1 1 auto;
    min-width: 0;
}

/* ── The round's list: orders staged before they are placed together ──────────────
   A flex row rather than a table — it is read on a phone at the bedside as often as
   on a desk, and a row that wraps needs no second card markup to stay legible. */
.orders-draft__row[b-00x04rlqjw] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--slate-border);
    border-radius: var(--radius-md);
    background: var(--white);
}

.orders-draft__row + .orders-draft__row[b-00x04rlqjw] { margin-top: var(--spacing-xs); }

.orders-draft__row--editing[b-00x04rlqjw] {
    border-color: var(--brand-blue);
    background: var(--primary-light-bg);
}

.orders-draft__row--danger[b-00x04rlqjw] { border-left: 4px solid var(--danger-color); }

.orders-draft__body[b-00x04rlqjw] { flex: 1 1 auto; min-width: 0; }

.orders-draft__actions[b-00x04rlqjw] {
    flex: 0 0 auto;
    display: flex;
    gap: 0.25rem;
}

/* The prescription number a placed round shares. */
.orders-set-head[b-00x04rlqjw] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--spacing-xs);
    margin: var(--spacing-sm) 0 var(--spacing-xs);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--brand-blue);
}

@media (max-width: 576px) {
    /* Touch targets stay tappable when the row is narrow. */
    .orders-draft__actions .btn[b-00x04rlqjw] {
        min-width: 44px;
        min-height: 44px;
    }
}

/* The set heading carries the patient-copy actions, so it wraps rather than overflowing on a phone. */
.orders-set-head__actions[b-00x04rlqjw] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-xs);
    margin-left: auto;
    font-weight: 400;
}

@media (max-width: 576px) {
    .orders-set-head__actions[b-00x04rlqjw] {
        margin-left: 0;
        width: 100%;
    }

    .orders-set-head__actions .btn[b-00x04rlqjw],
    .orders-set-head__actions .form-select[b-00x04rlqjw] {
        min-height: 44px;
    }
}

/* The facts a picked test brings with it — code, department, sample, fasting, turnaround. */
.orders-test-facts[b-00x04rlqjw] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-xs);
}

/* "Blood test — which test?": a vague dictated phrase offers its likely catalog tests as one-tap picks. */
.orders-pick[b-00x04rlqjw] {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    background: var(--primary-light-bg);
}

.orders-pick__head[b-00x04rlqjw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
}

.orders-pick__options[b-00x04rlqjw] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

@media (max-width: 575.98px) {
    .orders-pick__options .btn[b-00x04rlqjw] { min-height: 2.75rem; }
}
/* /Shared/Components/Inpatient/RoundsPanel.razor.rz.scp.css */
.rounds-pain[b-f8rf24rnv3] {
    font-weight: 400;
    color: var(--text-muted);
}

.rounds-orders[b-f8rf24rnv3] {
    margin: var(--spacing-xs) 0 0;
    padding-left: 1.2rem;
    font-size: 0.9rem;
}

.rounds-quality[b-f8rf24rnv3] {
    background: var(--status-warning-bg);
    border: 1px solid var(--status-warning-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
}

.rounds-instruction[b-f8rf24rnv3] {
    display: inline-block;
    margin-right: var(--spacing-sm);
}

.rounds-note--superseded[b-f8rf24rnv3] {
    opacity: 0.6;
}

.rounds-note--pending[b-f8rf24rnv3] {
    border-left: 4px solid var(--warning-color);
}

.rounds-note__head[b-f8rf24rnv3] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--spacing-xs) var(--spacing-md);
    margin-bottom: var(--spacing-xs);
}

.rounds-note__badges[b-f8rf24rnv3] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.rounds-soap[b-f8rf24rnv3] {
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: 0.25rem var(--spacing-sm);
    margin: 0;
}

.rounds-soap > div[b-f8rf24rnv3] {
    display: contents;
}

.rounds-soap dt[b-f8rf24rnv3] {
    font-weight: 700;
    color: var(--brand-navy);
    text-align: center;
    background: var(--blue-gray-50);
    border-radius: var(--radius-sm);
    height: fit-content;
}

.rounds-soap dd[b-f8rf24rnv3] {
    margin: 0;
    white-space: pre-wrap;
}

@media (max-width: 576px) {
    .btn[b-f8rf24rnv3] { min-height: 44px; }
}
/* /Shared/Components/Inpatient/SbarView.razor.rz.scp.css */
/* A signed handover (care-timeline §20.2) — the English note; older rows show the four SBAR boxes as a grid. */
.sbar-view[b-mwokxp2rpm] {
    display: grid;
    grid-template-columns: 1.6rem 1fr;
    gap: 0.15rem var(--spacing-sm);
    margin: var(--spacing-xs) 0;
    font-size: 0.9rem;
}

.sbar-view > div[b-mwokxp2rpm] { display: contents; }

.sbar-view dt[b-mwokxp2rpm] {
    font-weight: 700;
    color: var(--brand-navy);
    text-align: center;
    background: var(--blue-gray-50);
    border-radius: var(--radius-sm);
    height: fit-content;
}

/* The handover note — the nurse's handover written in English. */
.handover-note[b-mwokxp2rpm] {
    font-size: 0.9rem;
    white-space: pre-wrap;
}
/* /Shared/Components/Inpatient/TimelinePanel.razor.rz.scp.css */
/* Timeline — tokens only. */
.timeline-kinds[b-pv3kjjrtdb],
.timeline-catalogue[b-pv3kjjrtdb] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.timeline__day[b-pv3kjjrtdb] {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    margin: var(--spacing-md) 0 var(--spacing-xs);
}

.timeline__row[b-pv3kjjrtdb] {
    display: grid;
    grid-template-columns: 3.2rem 1.6rem 1fr;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) 0;
    border-left: 3px solid var(--border-color);
    padding-left: var(--spacing-sm);
}

.timeline__row--critical[b-pv3kjjrtdb] { border-left-color: var(--danger-color); }
.timeline__row--void[b-pv3kjjrtdb] { opacity: 0.55; text-decoration: line-through; }
.timeline__row--void .badge[b-pv3kjjrtdb] { text-decoration: none; }

.timeline__time[b-pv3kjjrtdb] { font-variant-numeric: tabular-nums; color: var(--text-muted); }
.timeline__icon[b-pv3kjjrtdb] { color: var(--brand-navy); text-align: center; }
.timeline__body[b-pv3kjjrtdb] { min-width: 0; }

@media (max-width: 575.98px) {
    .timeline__row[b-pv3kjjrtdb] { grid-template-columns: 2.8rem 1.4rem 1fr; }
}
/* /Shared/Components/Inpatient/VitalsPanel.razor.rz.scp.css */
/* Vitals — tokens only. */
.vitals-readback[b-z68h5505rb] {
    background: var(--primary-light-bg);
    border-radius: var(--radius-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
}

.vitals-offer[b-z68h5505rb] {
    background: var(--status-danger-bg);
    border: 1px solid var(--status-danger-border);
    color: var(--status-danger-text);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
}

.vitals-trends[b-z68h5505rb] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
    gap: var(--spacing-sm) var(--spacing-md);
}

.vitals-trend__label[b-z68h5505rb] {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
}

[b-z68h5505rb] .vitals-spark {
    width: 100%;
    height: 36px;
    display: block;
}

[b-z68h5505rb] .vitals-spark path {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 1.5;
}

[b-z68h5505rb] .vitals-spark circle {
    fill: var(--primary-color);
}

.vitals-row--critical[b-z68h5505rb] {
    border-left: 4px solid var(--danger-color);
}
/* /Shared/Components/Notifications/NotificationBell.razor.rz.scp.css */
.bell-wrapper[b-sdxrkl2o7p] {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Mirrors .btn-profile-trigger in LoginDisplay so the two chrome controls read as a pair. */
.bell-trigger[b-sdxrkl2o7p] {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-circle);
    background: var(--white);
    color: var(--gray-medium);
    border: 1px solid var(--slate-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    cursor: pointer;
    transition: color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.bell-trigger:hover[b-sdxrkl2o7p] {
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.bell-trigger--unread[b-sdxrkl2o7p] {
    color: var(--primary-color);
}

.bell-badge[b-sdxrkl2o7p] {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 var(--spacing-xs);
    border-radius: var(--radius-xl);
    background: var(--danger-color);
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    border: 2px solid var(--white);
}

.bell-backdrop[b-sdxrkl2o7p] {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: transparent;
}

.bell-panel[b-sdxrkl2o7p] {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 1050;
    width: min(380px, calc(100vw - 2rem));
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--slate-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bell-panel-header[b-sdxrkl2o7p] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) var(--spacing-md);
    border-bottom: 1px solid var(--slate-border);
}

.bell-empty[b-sdxrkl2o7p] {
    padding: var(--spacing-lg) var(--spacing-md);
    color: var(--gray-500);
    font-size: 0.9rem;
    text-align: center;
}

.bell-item[b-sdxrkl2o7p] {
    display: flex;
    gap: var(--spacing-sm);
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 0;
    border-bottom: 1px solid var(--slate-border);
    background: var(--white);
    text-align: left;
    cursor: pointer;
    transition: background var(--transition-fast);
    min-height: 44px;
}

.bell-item:hover[b-sdxrkl2o7p] {
    background: var(--surface-cool);
}

.bell-item--unread[b-sdxrkl2o7p] {
    background: var(--primary-light-bg);
}

.bell-item--unread:hover[b-sdxrkl2o7p] {
    background: var(--primary-light-bg);
    filter: brightness(0.98);
}

.bell-item-icon[b-sdxrkl2o7p] {
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.bell-item-body[b-sdxrkl2o7p] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 2px;
}

.bell-item-title[b-sdxrkl2o7p] {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.bell-item-subject[b-sdxrkl2o7p] {
    font-size: 0.85rem;
    color: var(--gray-medium);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bell-item-meta[b-sdxrkl2o7p] {
    font-size: 0.75rem;
    color: var(--gray-500);
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.bell-audience[b-sdxrkl2o7p] {
    color: var(--primary-color);
    font-weight: 600;
}

.bell-panel-footer[b-sdxrkl2o7p] {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    min-height: 44px;
    line-height: 28px;
}

.bell-panel-footer:hover[b-sdxrkl2o7p] {
    background: var(--surface-cool);
}
/* /Shared/Components/Notifications/RaiseRequestDialog.razor.rz.scp.css */
/* Header strip matches the ConfirmDialog primary intent so dialogs read as one family. */
.rr-header[b-iaftmmp6je] {
    border-bottom: none;
    color: var(--white);
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--fc-reports-700) 100%);
}

.rr-header .modal-title[b-iaftmmp6je] {
    font-weight: 700;
    display: flex;
    align-items: center;
}

/* Phones: the dialog docks to the bottom as a sheet - reachable with a thumb, and the keyboard
   pushes it up instead of covering a centred box (same treatment as the stay dialogs). */
@media (max-width: 575.98px) {
    .rr-modal .modal-dialog[b-iaftmmp6je] {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 0;
        width: 100vw;
        max-width: none;
        min-height: 0;
        align-items: flex-end;
    }

    .rr-modal .modal-content[b-iaftmmp6je] {
        max-height: 92vh;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        padding-bottom: env(safe-area-inset-bottom);
    }

    .rr-modal[b-iaftmmp6je]  .modal-body {
        overflow-y: auto;
    }
}
/* /Shared/Components/Notifications/RaiseRequestForm.razor.rz.scp.css */
/* Page host: the form sits in one card, actions in the shared sticky bar. */
.rr-page-card[b-ae9ew7k3vt] {
    max-width: 880px;
}

/* One-line whisper under the type - the full text is in the title, so the form keeps its height. */
.rr-type-note[b-ae9ew7k3vt] {
    margin-top: var(--spacing-xs);
    font-size: 0.78rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Chosen targets — one chip per team / role / person, each removable. */
.rr-chips[b-ae9ew7k3vt] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    min-height: 44px;
    padding: var(--spacing-xs) var(--spacing-sm);
    border: 1px solid var(--slate-border);
    border-radius: var(--radius-sm);
    background: var(--surface-cool);
    align-items: center;
}

.rr-chips--invalid[b-ae9ew7k3vt] {
    border-color: var(--danger-color);
}

.rr-add[b-ae9ew7k3vt] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

@media (max-width: 576px) {
    .rr-add[b-ae9ew7k3vt] {
        grid-template-columns: 1fr;
    }
}

/* ── Dictatable subject / note ─────────────────────────────────────────────────
   VoiceComposer brings its own pill, so the validation state has to be painted
   onto it from here rather than by Bootstrap's .is-invalid on a bare input. */
.rr-invalid[b-ae9ew7k3vt]  .composer {
    border-color: var(--danger-color);
}

.rr-field-error[b-ae9ew7k3vt] {
    margin-top: var(--spacing-xs);
    font-size: 0.875rem;
    color: var(--danger-color);
}

/* "About" - who the request is for. The picker sits in the same cool well as the chips so the
   two linked-to areas read as one family. */
.rr-about-kind .btn[b-ae9ew7k3vt] {
    min-height: 44px;
}

.rr-about-pick[b-ae9ew7k3vt] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm);
    border: 1px solid var(--slate-border);
    border-radius: var(--radius-sm);
    background: var(--surface-cool);
}

/* The pickers take the whole row; the selector's own bottom margins would leave a hollow at the well's foot. */
.rr-about-pick[b-ae9ew7k3vt]  > .rr-chip {
    flex: 0 0 auto;
}

.rr-about-pick[b-ae9ew7k3vt]  > .mb-3,
.rr-about-pick[b-ae9ew7k3vt]  > .sp-container {
    flex: 1 1 100%;
}

.rr-about-pick[b-ae9ew7k3vt]  .mb-3:last-child {
    margin-bottom: 0 !important;
}

@media (max-width: 575.98px) {
    .rr-about-kind[b-ae9ew7k3vt] {
        flex-wrap: wrap;
    }

    .rr-about-kind .btn[b-ae9ew7k3vt] {
        flex: 1 1 auto;
    }
}
/* /Shared/Components/Notifications/StaffRequestRelatedLine.razor.rz.scp.css */
.rr-related[b-o9eghu905t] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-xs);
    font-size: 0.85rem;
    color: var(--gray-700);
}

.rr-related-name[b-o9eghu905t] {
    font-weight: 600;
}

.rr-related-ref[b-o9eghu905t] {
    padding: 0 var(--spacing-xs);
    border-radius: var(--radius-sm);
    background: var(--primary-light-bg);
    color: var(--brand-blue);
    font-size: 0.8rem;
}
/* /Shared/Components/Notifications/StaffRequestReply.razor.rz.scp.css */
.sr-reply-lang[b-v2xc3bc2ey] {
    margin-left: var(--spacing-xs);
    font-size: 0.75rem;
    color: var(--slate-500);
    white-space: nowrap;
}
/* /Shared/Components/PageHeader.razor.rz.scp.css */
.page-header[b-qr8q49ha2v] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.page-header-main[b-qr8q49ha2v] {
    min-width: 0; /* allow text to wrap rather than overflow */
}

.page-title[b-qr8q49ha2v] {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin: 0 0 var(--spacing-xs);
    font-weight: 600;
}

.page-title-icon[b-qr8q49ha2v] {
    color: var(--primary-color);
}

.page-subtitle[b-qr8q49ha2v] {
    margin: 0;
    color: var(--gray-medium);
    font-size: 0.95rem;
}

.page-header-actions[b-qr8q49ha2v] {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

@media (max-width: 576px) {
    .page-header-actions[b-qr8q49ha2v] {
        width: 100%;
    }
}
/* /Shared/Components/PageHistory.razor.rz.scp.css */
.page-history[b-9hdg1tzzwn] {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.page-history-last[b-9hdg1tzzwn] {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.page-history-day[b-9hdg1tzzwn] {
    margin: var(--spacing-md) 0 var(--spacing-sm);
    color: var(--gray-500);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.page-history-day:first-child[b-9hdg1tzzwn] {
    margin-top: 0;
}

.page-history-list[b-9hdg1tzzwn] {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* A timeline: avatar on a vertical rail, entry beside it. */
.page-history-item[b-9hdg1tzzwn] {
    position: relative;
    display: flex;
    gap: var(--spacing-sm);
    padding-bottom: var(--spacing-md);
}

.page-history-item:not(:last-child)[b-9hdg1tzzwn]::before {
    content: "";
    position: absolute;
    left: 1rem;
    top: 2rem;
    bottom: 0;
    border-left: 2px solid var(--gray-subtle);
}

.page-history-avatar[b-9hdg1tzzwn] {
    flex: 0 0 2rem;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-circle);
    background: var(--primary-light-bg);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
}

.page-history-content[b-9hdg1tzzwn] {
    flex: 1;
    min-width: 0;
}

.page-history-head[b-9hdg1tzzwn] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--spacing-sm);
}

.page-history-who[b-9hdg1tzzwn] {
    font-weight: 600;
    min-width: 0;
    overflow-wrap: anywhere;
}

.page-history-role[b-9hdg1tzzwn] {
    margin-left: var(--spacing-xs);
    color: var(--gray-500);
    font-weight: 400;
    font-size: 0.8125rem;
}

.page-history-time[b-9hdg1tzzwn] {
    flex-shrink: 0;
    color: var(--gray-500);
    font-size: 0.8125rem;
}

.page-history-what[b-9hdg1tzzwn] {
    color: var(--gray-700);
}

.page-history-details[b-9hdg1tzzwn] {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.page-history-empty[b-9hdg1tzzwn] {
    text-align: center;
    color: var(--gray-500);
    padding: var(--spacing-xl) 0;
}

.page-history-empty .bi[b-9hdg1tzzwn] {
    display: block;
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

@media (max-width: 576px) {
    .page-history .btn[b-9hdg1tzzwn] {
        min-height: 44px;
    }
}
/* /Shared/Components/Patient/ContactCodeVerifier.razor.rz.scp.css */
/* Size by the component's own width, not the viewport: inside a narrow dialog on a wide screen the
   viewport breakpoints (col-md-*) squeezed the mobile box to a few digits. Stacked by default;
   side by side only when the component itself has room. */
.phone-code-verifier[b-22hz5jjn4i] {
    container-type: inline-size;
}

@container (min-width: 40rem) {
    .pcv-phone[b-22hz5jjn4i] {
        width: 58.333333%;
    }

    .pcv-code[b-22hz5jjn4i] {
        width: 41.666667%;
    }
}
/* /Shared/Components/Patient/IdCardScanner.razor.rz.scp.css */
.id-scanner .btn[b-rwzfw62bln] {
    min-height: 44px;
}

.id-scanner-video[b-rwzfw62bln] {
    width: 100%;
    max-width: 32rem;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--brand-dark);
    border-radius: var(--radius-md);
    display: block;
}

.id-scanner-shots[b-rwzfw62bln] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.id-scanner-shot[b-rwzfw62bln] {
    position: relative;
    margin: 0;
    width: 10rem;
}

.id-scanner-shot img[b-rwzfw62bln] {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.id-scanner-shot figcaption[b-rwzfw62bln] {
    font-size: 0.8rem;
    color: var(--bs-secondary-color);
    text-align: center;
}

.id-scanner-remove[b-rwzfw62bln] {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    border: none;
    border-radius: var(--radius-circle);
    background: var(--surface-off-white);
    box-shadow: var(--shadow-sm);
    line-height: 1;
}
/* /Shared/Components/Patient/PatientContextPanel.razor.rz.scp.css */
/* Dark gradient header for the shared Patient Context panel uses the global
   .section-card-header (app.css) — consistent across Consultation and Prescription. */
/* /Shared/Components/Patient/PatientIdCard.razor.rz.scp.css */
/* Credit-card size (CR80: 85.6 × 54 mm) — prints true to size. */
.pid-card[b-spd9qe63it] {
    width: 85.6mm;
    height: 54mm;
    box-sizing: border-box;
    padding: 3mm 4mm;
    display: flex;
    flex-direction: column;
    background: var(--surface-off-white);
    border: 1px solid var(--border-color);
    border-radius: 3mm;
    box-shadow: var(--shadow-sm);
    color: var(--brand-dark);
    overflow: hidden;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.pid-card-hospital[b-spd9qe63it] {
    font-weight: 700;
    font-size: 3.4mm;
    color: var(--brand-blue);
    border-bottom: 0.3mm solid var(--brand-blue);
    padding-bottom: 1mm;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pid-card-body[b-spd9qe63it] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 3mm;
    min-height: 0;
}

.pid-card-text[b-spd9qe63it] {
    flex: 1;
    min-width: 0;
}

.pid-card-name[b-spd9qe63it] {
    font-weight: 600;
    font-size: 3.6mm;
    overflow-wrap: anywhere;
}

.pid-card-pid[b-spd9qe63it] {
    font-weight: 800;
    font-size: 6mm;
    letter-spacing: 0.3mm;
    color: var(--brand-blue);
}

.pid-card-detail[b-spd9qe63it] {
    font-size: 2.8mm;
}

.pid-card-qr[b-spd9qe63it] {
    width: 24mm;
    height: 24mm;
    flex-shrink: 0;
}

.pid-card-qr[b-spd9qe63it]  svg {
    width: 100%;
    height: 100%;
}

.pid-card-foot[b-spd9qe63it] {
    font-size: 2.4mm;
    color: var(--bs-secondary-color);
}
/* /Shared/Components/Patient/PatientPicker.razor.rz.scp.css */
/* ── PatientPicker shared component ─────────────────────────────────── */

.pp-container[b-v6p04mopm6] {
    position: relative;
}

/* Trigger button (dropdown mode) */
.pp-trigger[b-v6p04mopm6] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    height: auto;
    min-height: 38px;
    overflow: hidden;
    white-space: nowrap;
    text-align: left;
}

.pp-trigger-name[b-v6p04mopm6] {
    font-weight: 500;
    flex-shrink: 0;
}

.pp-trigger-contact[b-v6p04mopm6] {
    color: var(--secondary-color);
    font-size: 0.82rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pp-chip[b-v6p04mopm6] {
    font-weight: 400;
    font-size: 0.72rem;
    color: var(--slate-500);
    background: var(--blue-gray-50);
    border-radius: var(--radius-sm);
    padding: 0 0.35rem;
    line-height: 1.7;
}

.pp-contact-id[b-v6p04mopm6] {
    color: var(--slate-500);
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.pp-contact-wa[b-v6p04mopm6] {
    color: var(--dark-text);
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.pp-contact-wa .bi-whatsapp[b-v6p04mopm6] {
    color: var(--whatsapp-green);
}

.pp-contact-warn[b-v6p04mopm6] {
    color: var(--warning-color);
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

/* /Shared/Components/Pharmacy/MedicineEditor.razor.rz.scp.css */
/* Section headers use the shared global .section-card-header (app.css). */
/* /Shared/Components/Pharmacy/PrescriptionEditor.razor.rz.scp.css */
/* The shared .admin-card sets overflow:hidden (for its rounded corners), which clips
   the absolutely-positioned suggestion dropdown. Let this one card overflow, and keep
   the header's top corners rounded so it still matches the .admin-card look (10px). */
.add-medicine-card[b-e7ua066k5d] {
    overflow: visible;
}

.add-medicine-card .admin-card-header[b-e7ua066k5d] {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.suggestion-dropdown[b-e7ua066k5d] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    background: var(--bs-white, #fff);
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: var(--radius-md, 0.375rem);
    max-height: 260px;
    overflow-y: auto;
    box-shadow: var(--shadow-md, 0 4px 12px rgba(0, 0, 0, .12));
}

.suggestion-item[b-e7ua066k5d] {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    text-align: left;
    background: none;
    border: none;
    border-bottom: 1px solid var(--bs-border-color-translucent, rgba(0,0,0,.08));
    cursor: pointer;
    font-size: 0.875rem;
    transition: background var(--transition-fast, 150ms);
}

.suggestion-item:hover[b-e7ua066k5d],
.suggestion-item:focus[b-e7ua066k5d] {
    background-color: rgba(var(--primary-rgb, 13, 110, 253), 0.12);
    outline: none;
}

.suggestion-item:last-child[b-e7ua066k5d] {
    border-bottom: none;
}

/* Clear ("x") button inside the search/edit box — lets the doctor wipe the whole instruction in one
   tap. Reserve right padding on the input so long text never runs under the button. */
.search-input[b-e7ua066k5d] {
    padding-right: 2.5rem;
}

.search-clear-btn[b-e7ua066k5d] {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    border: none;
    border-radius: var(--radius-circle, 50%);
    background: transparent;
    color: var(--slate-500);
    font-size: 0.8125rem;
    line-height: 1;
    cursor: pointer;
    transition: background var(--transition-fast, 150ms), color var(--transition-fast, 150ms);
}

.search-clear-btn:hover[b-e7ua066k5d],
.search-clear-btn:focus[b-e7ua066k5d] {
    background: rgba(var(--danger-rgb, 220, 53, 69), 0.12);
    color: var(--danger-color, #dc3545);
    outline: none;
}

.search-clear-btn:disabled[b-e7ua066k5d] {
    opacity: 0.5;
    cursor: default;
}

.btn-mic[b-e7ua066k5d] {
    min-width: 42px;
    min-height: 42px;
    padding: 0.375rem 0.75rem;
    flex-shrink: 0;
}

/* "Add" (parse) button — same height as the input/mic so the row stays aligned. */
.btn-add[b-e7ua066k5d] {
    min-height: 42px;
    flex-shrink: 0;
    white-space: nowrap;
}

/* ── How-to panel ───────────────────────────────────────────────────────── */
/* Sits on the dark navy .admin-card-header, so the default link-blue is illegible —
   render it in white (slightly dimmed) and brighten on hover/focus. */
.how-to-toggle[b-e7ua066k5d] {
    font-size: 0.8125rem;
    color: var(--bs-white);
    opacity: 0.85;
}

.how-to-toggle:hover[b-e7ua066k5d],
.how-to-toggle:focus[b-e7ua066k5d] {
    color: var(--bs-white);
    opacity: 1;
}

.how-to-panel[b-e7ua066k5d] {
    background: var(--blue-gray-50);
    border: 1px solid var(--blue-gray-300);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    font-size: 0.875rem;
}

.how-to-examples[b-e7ua066k5d] {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.how-to-examples li[b-e7ua066k5d] {
    margin-bottom: 0.25rem;
}

.how-to-panel code[b-e7ua066k5d] {
    background: var(--bs-white);
    border: 1px solid var(--blue-gray-300);
    border-radius: var(--radius-sm);
    padding: 0.1rem 0.4rem;
    color: var(--brand-navy);
}

/* Off-formulary lines (often a mis-parsed name/dose) — subtly highlighted so the doctor knows to
   check or fix them with the row's edit button. Uses the warning token at low alpha. */
.row-off-formulary > td[b-e7ua066k5d] {
    background: rgba(var(--warning-rgb), 0.10);
}

/* The line currently loaded into the box for editing — highlighted so it's clear which row maps to
   the "Edit Medicine" box above. */
.row-editing > td[b-e7ua066k5d] {
    background: rgba(var(--primary-rgb), 0.08);
}

.prescription-table th[b-e7ua066k5d],
.prescription-table td[b-e7ua066k5d] {
    vertical-align: middle;
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
}

/* Auto-calculated quantity (frequency × days) — subtly muted until the doctor overrides it. */
.qty-auto[b-e7ua066k5d] {
    color: var(--slate-500);
    font-style: italic;
}
/* /Shared/Components/PickerMenu.razor.rz.scp.css */
.picker-menu[b-k0a10acmox] {
    position: absolute;
    /* Above .sticky-action-bar (1030); a dialog's own lists open inline instead (below). */
    z-index: 1035;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    max-height: 18rem;
    overflow-y: auto;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* In the flow: nothing to clip, nothing overlapped — the content below moves down. */
.picker-menu--inline[b-k0a10acmox] {
    position: static;
    margin-top: var(--spacing-xs);
    max-height: 14rem;
    box-shadow: none;
}
/* /Shared/Components/PickerRow.razor.rz.scp.css */
.picker-row[b-vgxy1e2r4w] {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    width: 100%;
    padding: 0.45rem 0.75rem;
    border: 0;
    border-bottom: 1px solid var(--transcript-divider);
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.picker-row:last-child[b-vgxy1e2r4w] {
    border-bottom: 0;
}

.picker-row:hover[b-vgxy1e2r4w],
.picker-row:focus-visible[b-vgxy1e2r4w] {
    outline: none;
    background: var(--media-hover-bg);
}

.picker-row--selected[b-vgxy1e2r4w] {
    background: var(--media-active-bg);
}

.picker-row-icon[b-vgxy1e2r4w] {
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.picker-row-body[b-vgxy1e2r4w] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.picker-row-title[b-vgxy1e2r4w] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-text);
}

.picker-row-meta[b-vgxy1e2r4w],
.picker-row-detail[b-vgxy1e2r4w] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--slate-500);
}

.picker-row-trailing[b-vgxy1e2r4w] {
    flex-shrink: 0;
    align-self: center;
}

@media (max-width: 576px) {
    .picker-row[b-vgxy1e2r4w] {
        min-height: 44px;
    }
}
/* /Shared/Components/RemovableChip.razor.rz.scp.css */
/* Team / role / person chips are visually distinct — the same three tints the inbox uses for
   its audience chips, so "who this reaches" reads the same on both sides. */
.rr-chip[b-b2jp9j5g13] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px var(--spacing-xs) 2px var(--spacing-sm);
    border-radius: var(--radius-xl);
    border: 1px solid var(--slate-border);
    background: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
}

.rr-chip--user[b-b2jp9j5g13] {
    color: var(--brand-blue);
    background: var(--primary-light-bg);
    border-color: var(--brand-blue);
}

.rr-chip--team[b-b2jp9j5g13] {
    background: var(--gray-subtle);
}

.rr-chip-remove[b-b2jp9j5g13] {
    border: 0;
    background: transparent;
    color: inherit;
    line-height: 1;
    padding: 0 2px;
    cursor: pointer;
    opacity: 0.7;
}

.rr-chip-remove:hover[b-b2jp9j5g13] {
    opacity: 1;
}
/* /Shared/Components/SelectedValueField.razor.rz.scp.css */
/* Same height as the Bootstrap input it stands in for, single line. */
.svf[b-a435iyy884] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-cool);
}

.svf--sm[b-a435iyy884] {
    height: calc(1.5em + 0.5rem + 2px);
    padding: 0 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.svf-icon[b-a435iyy884] {
    flex-shrink: 0;
    font-size: 1rem;
    color: var(--primary-color);
}

.svf-label[b-a435iyy884] {
    overflow: hidden;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-text);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.svf-detail[b-a435iyy884] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    font-size: 0.8rem;
    color: var(--slate-500);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.svf-clear[b-a435iyy884] {
    flex-shrink: 0;
    margin-left: auto;
    padding: 0.15rem 0.25rem;
    border: 0;
    border-radius: var(--radius-sm);
    background: none;
    color: var(--danger-color);
    font-size: 0.7rem;
    line-height: 1;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.svf-clear:hover:not(:disabled)[b-a435iyy884] {
    background: var(--danger-subtle-bg);
}

.svf-clear:disabled[b-a435iyy884] {
    opacity: 0.4;
    cursor: not-allowed;
}

@media (max-width: 576px) {
    .svf[b-a435iyy884],
    .svf--sm[b-a435iyy884] {
        min-height: 44px;
    }
}
/* /Shared/Components/Setup/SetupGuide.razor.rz.scp.css */
/* Lighter than a content card's navy header, so the guide reads as help, not as a form section. */
.setup-guide-header[b-njzw8w7rem] {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background: var(--primary-light-bg);
    color: var(--brand-navy);
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    min-height: 44px;
}

.setup-guide-stage[b-njzw8w7rem] {
    color: var(--gray-500);
    margin-left: 0.25rem;
}

/* -- The journey: one row per stage, numbered step pills -- */

.setup-stages[b-njzw8w7rem] {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: grid;
    gap: 0.5rem;
}

.setup-stage[b-njzw8w7rem] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.setup-stage-label[b-njzw8w7rem] {
    flex: 0 0 9.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gray-500);
}

.setup-stage-steps[b-njzw8w7rem] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.setup-pill[b-njzw8w7rem] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem 0.25rem 0.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    font-size: 0.8125rem;
    color: var(--gray-700);
    text-decoration: none;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.setup-pill:hover[b-njzw8w7rem] {
    background: var(--primary-light-bg);
    border-color: var(--brand-blue);
}

.setup-pill-number[b-njzw8w7rem] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.375rem;
    height: 1.375rem;
    border-radius: var(--radius-circle);
    background: var(--gray-subtle);
    font-size: 0.75rem;
    font-weight: 600;
}

.setup-pill--current[b-njzw8w7rem] {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: var(--white);
    font-weight: 600;
}

.setup-pill--current:hover[b-njzw8w7rem] {
    background: var(--brand-blue);
}

.setup-pill--current .setup-pill-number[b-njzw8w7rem] {
    background: var(--white);
    color: var(--brand-blue);
}

/* -- Copy -- */

.setup-purpose[b-njzw8w7rem] {
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.setup-heading[b-njzw8w7rem] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--brand-navy);
    margin-bottom: 0.375rem;
}

.setup-list[b-njzw8w7rem] {
    padding-left: 1.25rem;
    margin-bottom: 0;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.setup-list li + li[b-njzw8w7rem] {
    margin-top: 0.25rem;
}

.setup-nav[b-njzw8w7rem] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Phones: the stage label goes above its pills, and every link is a full touch target. */
@media (max-width: 575.98px) {
    .setup-stage-label[b-njzw8w7rem] { flex-basis: 100%; }
    .setup-pill[b-njzw8w7rem],
    .setup-nav .btn[b-njzw8w7rem] { min-height: 44px; }
}
/* /Shared/Components/SidePanel.razor.rz.scp.css */
.side-panel-backdrop[b-3lk9ovi6q8] {
    position: fixed;
    inset: 0;
    background: rgba(var(--black-rgb), 0.2);
    z-index: 1040;
}

.side-panel[b-3lk9ovi6q8] {
    position: fixed;
    z-index: 1050;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(26rem, 100vw);
    display: flex;
    flex-direction: column;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    outline: none;
    animation: side-panel-in-b-3lk9ovi6q8 var(--transition-slow);
}

.side-panel-header[b-3lk9ovi6q8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-sm);
    background: var(--gradient-section-header);
    color: var(--white);
    padding: 0.85rem 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.side-panel-close[b-3lk9ovi6q8] {
    border: 0;
    background: transparent;
    color: var(--white);
    min-width: 44px;
    min-height: 44px;
    margin: calc(-1 * var(--spacing-sm)) calc(-1 * var(--spacing-sm)) calc(-1 * var(--spacing-sm)) 0;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.side-panel-close:hover[b-3lk9ovi6q8],
.side-panel-close:focus-visible[b-3lk9ovi6q8] {
    background: rgba(var(--white-rgb), 0.15);
}

.side-panel-subtitle[b-3lk9ovi6q8] {
    margin: 0;
    padding: var(--spacing-sm) 1.25rem;
    color: var(--gray-500);
    font-size: 0.875rem;
    border-bottom: 1px solid var(--border-color);
}

.side-panel-body[b-3lk9ovi6q8] {
    flex: 1;
    overflow-y: auto;
    padding: var(--spacing-md) 1.25rem;
}

.side-panel-footer[b-3lk9ovi6q8] {
    padding: var(--spacing-sm) 1.25rem;
    border-top: 1px solid var(--border-color);
    padding-bottom: calc(var(--spacing-sm) + env(safe-area-inset-bottom));
}

@keyframes side-panel-in-b-3lk9ovi6q8 {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
    .side-panel[b-3lk9ovi6q8] { animation: none; }
}
/* /Shared/Components/SortableHeader.razor.rz.scp.css */
.sortable-header[b-zu5vvvcfip] {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: inherit;
    cursor: pointer;
}

.sortable-header__icon[b-zu5vvvcfip] {
    font-size: 0.7em;
    opacity: 0.4;
    transition: opacity var(--transition-fast);
}

.sortable-header:hover .sortable-header__icon[b-zu5vvvcfip],
.sortable-header:focus-visible .sortable-header__icon[b-zu5vvvcfip],
.sortable-header.is-active .sortable-header__icon[b-zu5vvvcfip] {
    opacity: 1;
}

.sortable-header.is-active[b-zu5vvvcfip] {
    color: var(--primary-color);
}
/* /Shared/Components/SpecialtySelector.razor.rz.scp.css */
.specialty-selector[b-s4bpkc4dyl] {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.specialty-search[b-s4bpkc4dyl] {
    position: relative;
    display: flex;
    align-items: center;
}

.specialty-search .bi-search[b-s4bpkc4dyl] {
    position: absolute;
    left: var(--spacing-sm);
    color: var(--blue-gray-300);
    pointer-events: none;
}

.specialty-search .form-control[b-s4bpkc4dyl] {
    padding-left: calc(var(--spacing-sm) + 1.25rem);
}

.specialty-list[b-s4bpkc4dyl] {
    max-height: 340px;
    overflow-y: auto;
    border: 1px solid var(--blue-gray-300);
    border-radius: var(--radius-md);
    background: var(--surface-cool);
}

.specialty-node[b-s4bpkc4dyl] {
    border-bottom: 1px solid var(--blue-gray-50);
}

.specialty-node:last-child[b-s4bpkc4dyl] {
    border-bottom: none;
}

.specialty-node.selected[b-s4bpkc4dyl] {
    background: var(--primary-light-bg);
}

.specialty-node-head[b-s4bpkc4dyl] {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    min-height: 44px;
}

.specialty-node-head .form-check-label[b-s4bpkc4dyl] {
    cursor: pointer;
}

.star-btn[b-s4bpkc4dyl],
.chev-btn[b-s4bpkc4dyl] {
    border: none;
    background: transparent;
    color: var(--blue-gray-300);
    padding: var(--spacing-xs);
    line-height: 1;
    cursor: pointer;
    transition: color var(--transition-fast);
    min-width: 32px;
    min-height: 32px;
}

.star-btn:hover[b-s4bpkc4dyl],
.chev-btn:hover[b-s4bpkc4dyl] {
    color: var(--primary-color);
}

.star-btn.is-primary[b-s4bpkc4dyl] {
    color: var(--warning-color);
}

.specialty-subs[b-s4bpkc4dyl] {
    padding: var(--spacing-xs) var(--spacing-md) var(--spacing-sm) var(--spacing-2xl);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-xs) var(--spacing-md);
}

.specialty-badges[b-s4bpkc4dyl] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.specialty-badges .badge[b-s4bpkc4dyl] {
    font-weight: 500;
    padding: 0.4em 0.7em;
}

.badge-primary-spec[b-s4bpkc4dyl] {
    background: var(--primary-color);
    color: var(--white);
}

.badge-secondary-spec[b-s4bpkc4dyl] {
    background: var(--blue-gray-300);
    color: var(--brand-dark);
}

.spec-sub[b-s4bpkc4dyl] {
    opacity: 0.85;
    font-weight: 400;
}

@media (max-width: 576px) {
    .specialty-subs[b-s4bpkc4dyl] {
        grid-template-columns: 1fr;
        padding-left: var(--spacing-xl);
    }
}
/* /Shared/Components/StaffPicker.razor.rz.scp.css */
/* The list itself is <PickerMenu> / <PickerRow>; only what is staff-specific lives here. */
.sp-container[b-dbadsseg69] {
    position: relative;
}

.sp-role[b-dbadsseg69] {
    background: var(--blue-gray-300);
    color: var(--brand-dark);
    font-size: 0.68rem;
    font-weight: 600;
}

.sp-empty[b-dbadsseg69] {
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--brand-mid);
    font-size: 0.85rem;
}
/* /Shared/Components/SuggestComboInput.razor.rz.scp.css */
/* Editable combobox dropdown — controlled position + styling (replaces the native <datalist>
   popup that drifted over the side nav). The menu is positioned as a viewport-fixed element by
   comboSuggest.js (top/left/min-width set inline) so it escapes any scroll/overflow container
   — e.g. the prescription table's .table-responsive — that would otherwise clip it. Tokens only. */
.combo-suggest[b-dd852qd4ol] {
    position: relative;
}

.combo-menu[b-dd852qd4ol] {
    position: fixed;
    z-index: 1050;
    max-height: 260px;
    overflow-y: auto;
    background: var(--white);
    border: 1px solid var(--blue-gray-300);
    border-radius: var(--radius-md);
}

.combo-option[b-dd852qd4ol] {
    display: block;
    width: 100%;
    padding: var(--spacing-xs) var(--spacing-sm);
    border: 0;
    background: transparent;
    text-align: left;
    white-space: nowrap;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background var(--transition-fast);
}

/* App-wide dropdown standard (selected vs active):
   • currently-selected value → faint blue tint (the combobox equivalent of a native
     <select>'s grey "this is chosen" marker);
   • hovered/active row → solid brand-blue + white text (mirrors the native <select> hover).
   The hover rule is declared last so it wins over .is-selected at equal specificity. */
.combo-option.is-selected[b-dd852qd4ol] {
    background: var(--primary-light-bg);
}

.combo-option:hover[b-dd852qd4ol],
.combo-option:focus[b-dd852qd4ol] {
    background: var(--brand-blue);
    color: var(--white);
}
/* /Shared/Components/TagSuggestInput.razor.rz.scp.css */
.tag-chip[b-i074cbt3qf] {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-lg, 999px);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
}

.tag-chip .btn-close[b-i074cbt3qf] {
    font-size: 0.55rem;
}

.tag-suggestions[b-i074cbt3qf] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

/* One-tap suggestion chips — muted until hovered, so they read as "optional quick picks". */
.tag-suggestion[b-i074cbt3qf] {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-lg, 999px);
    border: 1px dashed var(--blue-gray-300);
    background: transparent;
    color: var(--blue-gray-500);
    font-size: 0.78rem;
    transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.tag-suggestion:hover[b-i074cbt3qf] {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: var(--primary-light-bg);
}

.tag-suggestion .bi[b-i074cbt3qf] {
    font-size: 0.7rem;
}
/* /Shared/Components/TypeaheadInput.razor.rz.scp.css */
/* Catalog typeahead — results float under the input, with the site-wide value-picker tint
   (faint on hover; see design/ui-ux-standards.md "Dropdown UX"). */
.tai[b-u7i7lvmr2k] {
    position: relative;
}

.tai__menu[b-u7i7lvmr2k] {
    position: absolute;
    z-index: 1035;
    left: 0;
    right: 0;
    top: calc(100% + 2px);
    max-height: 16rem;
    overflow-y: auto;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.tai__item[b-u7i7lvmr2k] {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    padding: var(--spacing-sm) var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.tai__item:last-child[b-u7i7lvmr2k] {
    border-bottom: 0;
}

.tai__item:hover[b-u7i7lvmr2k],
.tai__item:focus-visible[b-u7i7lvmr2k] {
    background: var(--primary-light-bg);
}
/* /Shared/Components/Voice/ClaraVoiceButton.razor.rz.scp.css */
/* The global mic — the VoiceComposer pill idiom, brand blue. Tokens only. */
.clara-voice-btn[b-an520p1s2w] {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    min-height: 2.25rem;
    padding: 0.35rem 0.85rem;
    border: 1px solid var(--brand-blue);
    border-radius: var(--radius-xl);
    background: var(--brand-blue);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.clara-voice-btn:hover[b-an520p1s2w] {
    box-shadow: var(--shadow-sm);
}

.clara-voice-btn:disabled[b-an520p1s2w] {
    opacity: 0.6;
    cursor: default;
}

.clara-voice-btn--live[b-an520p1s2w] {
    background: var(--danger-color);
    border-color: var(--danger-color);
    animation: clara-voice-pulse-b-an520p1s2w 1.2s ease-in-out infinite;
}

@keyframes clara-voice-pulse-b-an520p1s2w {
    0%, 100% { box-shadow: 0 0 0 0 rgba(var(--danger-rgb, 220, 53, 69), 0.45); }
    50%      { box-shadow: 0 0 0 0.6rem rgba(var(--danger-rgb, 220, 53, 69), 0); }
}

/* Mobile: a 56px floating button above the sticky action bar, bottom-right. */
.clara-voice-btn--floating[b-an520p1s2w] {
    position: fixed;
    right: var(--spacing-md);
    bottom: calc(72px + var(--spacing-md));
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
    border-radius: var(--radius-circle);
    font-size: 1.35rem;
    box-shadow: var(--shadow-lg);
    z-index: 1035;
}

.clara-voice-btn--floating .bi[b-an520p1s2w] {
    margin: 0;
}
/* /Shared/Components/Voice/DictationStatus.razor.rz.scp.css */
/* The shared dictation status line — "Writing…" / "Written from what you said · Undo". */
.dictation-status[b-3psh7tdftr] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-xs);
    font-size: 0.8125rem;
    color: var(--slate-500);
}

.dictation-status__undo[b-3psh7tdftr] {
    padding: 0;
    font-size: 0.8125rem;
}

@media (max-width: 575.98px) {
    .dictation-status__undo[b-3psh7tdftr] {
        min-height: 44px;
        padding: 0 var(--spacing-sm);
    }
}
/* /Shared/Components/Voice/SpokenOriginal.razor.rz.scp.css */
.spoken-original__toggle[b-4wmmcixq3n] {
    padding: 0;
    font-size: 0.8125rem;
}

.spoken-original__text[b-4wmmcixq3n] {
    margin-top: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-left: 3px solid var(--border-color);
    background: var(--surface-slate);
    color: var(--gray-700);
    font-size: 0.875rem;
    white-space: pre-wrap;
}

@media (max-width: 575.98px) {
    .spoken-original__toggle[b-4wmmcixq3n] {
        min-height: 44px;
    }
}
/* /Shared/Components/Voice/VoiceCommandCard.razor.rz.scp.css */
/* The confirm card — bottom-centre, the CenteredToast position. Tokens only. */
.voice-card[b-rs1h7ehx9y] {
    position: fixed;
    left: 50%;
    bottom: calc(72px + var(--spacing-md));
    transform: translateX(-50%);
    width: min(36rem, calc(100vw - 2 * var(--spacing-md)));
    background: var(--white);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--brand-blue);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-sm) var(--spacing-md);
    z-index: 1045;
}

.voice-card--listening[b-rs1h7ehx9y] { border-left-color: var(--danger-color); }
.voice-card--amber[b-rs1h7ehx9y] { border-left-color: var(--warning-color); background: var(--warning-subtle-bg); }
.voice-card--problem[b-rs1h7ehx9y] { border-left-color: var(--blue-gray-500); }
.voice-card--notice[b-rs1h7ehx9y] { border-left-color: var(--success-color); }

.voice-card__row[b-rs1h7ehx9y] {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.voice-card__icon[b-rs1h7ehx9y] {
    font-size: 1.25rem;
    color: var(--brand-blue);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.voice-card--listening .voice-card__icon[b-rs1h7ehx9y] { color: var(--danger-color); }

.voice-card__body[b-rs1h7ehx9y] { flex: 1; min-width: 0; }

.voice-card__utterance[b-rs1h7ehx9y] {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    word-break: break-word;
}

.voice-card__title[b-rs1h7ehx9y] {
    font-weight: 600;
    margin-top: 0.15rem;
}

.voice-card__context[b-rs1h7ehx9y] {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.voice-card__actions[b-rs1h7ehx9y] {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    flex-shrink: 0;
}

.voice-card__chips[b-rs1h7ehx9y] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-xs);
}

.voice-chip[b-rs1h7ehx9y] {
    border: 1px solid var(--border-color);
    background: var(--surface-cool);
    border-radius: var(--radius-xl);
    padding: 0.25rem 0.7rem;
    font-size: 0.8rem;
    cursor: pointer;
}

.voice-chip:hover[b-rs1h7ehx9y] { background: var(--primary-light-bg); }

.voice-card__help[b-rs1h7ehx9y] {
    margin: var(--spacing-xs) 0 0;
    padding-left: 1rem;
    font-size: 0.8rem;
}

@media (max-width: 576px) {
    .voice-card[b-rs1h7ehx9y] {
        bottom: calc(72px + 56px + 2 * var(--spacing-md));   /* clear the floating mic */
    }

    .voice-card__row[b-rs1h7ehx9y] { flex-wrap: wrap; }
    .voice-card__actions[b-rs1h7ehx9y] { flex-direction: row; width: 100%; justify-content: flex-end; }
    .btn[b-rs1h7ehx9y] { min-height: 44px; }
}
/* /Shared/Components/Voice/VoiceSearchBox.razor.rz.scp.css */
/* The input-group icon + the shared VoiceComposer (Search mode): the composer fills the row and joins the icon. */
.voice-search[b-ml50blm6m3]  .composer-wrap {
    flex: 1 1 auto;
    min-width: 0;
}

.voice-search[b-ml50blm6m3]  .composer--field {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
/* /Shared/Components/Voice/VoiceStrip.razor.rz.scp.css */
/* The "speak here" card — a cool surface with a dashed edge, set apart from the fields it fills. */
.voice-strip[b-1vnngxxjp7] {
    background: var(--surface-cool);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
}
/* /Shared/Components/VoiceComposer.razor.rz.scp.css */
/* ── GPT-style voice composer ─────────────────────────────────────────────── */
.composer[b-nerljfhb3r] {
    display: flex;
    align-items: flex-end;
    gap: var(--spacing-xs);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    background: #fff;
    padding: 0.375rem 0.375rem 0.375rem 1rem;
    box-shadow: var(--shadow-sm);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.composer:focus-within[b-nerljfhb3r] {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.composer--recording[b-nerljfhb3r] {
    border-color: var(--danger-color);
}

/* ── Field variant: a form control with a trailing mic (Field="true") ──────
   Matches Bootstrap .form-control / .form-select: same border, radius, height, font — so it
   sits in a form row beside a select without a chat pill's shape or shadow. */
.composer--field[b-nerljfhb3r] {
    align-items: center;
    border-radius: var(--radius-sm);
    padding: 0 0.25rem 0 0.75rem;
    min-height: calc(1.5em + 0.75rem + 2px);
    box-shadow: none;
}

.composer--field:focus-within[b-nerljfhb3r] {
    box-shadow: 0 0 0 0.25rem var(--primary-light-bg);
}

.composer--field .composer__input[b-nerljfhb3r] {
    padding: 0.375rem 0;
    font-size: 1rem;
    line-height: 1.5;
}

.composer--field .composer__icon-btn[b-nerljfhb3r],
.composer--field .composer__send[b-nerljfhb3r],
.composer--field .composer__wave[b-nerljfhb3r] {
    width: 1.9rem;
    height: 1.9rem;
    font-size: 0.95rem;
}

.composer--field .composer__wave[b-nerljfhb3r] { width: auto; }

/* Phones: every tap target 44 px or more (ui-ux-standards), the field grows to hold it, and the
   16 px font stops iOS Safari zooming into the box on focus. */
@media (max-width: 575.98px) {
    .composer--field[b-nerljfhb3r] {
        min-height: 2.75rem;
        padding-right: 0.125rem;
    }

    .composer--field .composer__input[b-nerljfhb3r] { font-size: 1rem; }

    .composer--field .composer__icon-btn[b-nerljfhb3r],
    .composer--field .composer__send[b-nerljfhb3r],
    .composer--field .composer__wave[b-nerljfhb3r] {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1.1rem;
    }

    .composer--field .composer__wave[b-nerljfhb3r] { width: auto; }

    .composer__icon-btn[b-nerljfhb3r],
    .composer__send[b-nerljfhb3r] { width: 2.75rem; height: 2.75rem; }
}

.composer__input[b-nerljfhb3r] {
    flex: 1;
    resize: none;
    border: none;
    outline: none;
    background: transparent;
    padding: 0.5rem 0;
    /* Grow with the content instead of scrolling a fixed box. Chromium-only for now; browsers
       without it (Safari, Firefox) keep the `rows` height, which is why callers with long spoken
       answers set Rows rather than relying on this alone. */
    field-sizing: content;
    max-height: 12rem;
    font-size: 0.95rem;
    font-family: inherit;
    line-height: 1.4;
    color: var(--brand-navy, #1e293b);
}

.composer__input[b-nerljfhb3r]::placeholder { color: var(--slate-500); }

/* Ghost icon button — mic / discard */
.composer__icon-btn[b-nerljfhb3r] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: var(--radius-circle);
    background: transparent;
    color: var(--slate-500);
    font-size: 1.05rem;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.composer__icon-btn:hover:not(:disabled)[b-nerljfhb3r] {
    background: var(--blue-gray-50, #f1f5f9);
    color: var(--brand-navy, #1e293b);
}

.composer__icon-btn:disabled[b-nerljfhb3r] {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Circular send (dark) / accept (green) */
.composer__send[b-nerljfhb3r] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: var(--radius-circle);
    background: var(--brand-navy, #1e293b);
    color: #fff;
    font-size: 1.05rem;
    cursor: pointer;
    transition: background var(--transition-fast), opacity var(--transition-fast);
}

.composer__send:hover:not(:disabled)[b-nerljfhb3r] { background: var(--brand-dark, #0f172a); }

.composer__send:disabled[b-nerljfhb3r] {
    background: var(--blue-gray-300, #cbd5e1);
    cursor: not-allowed;
}

.composer__send--accept[b-nerljfhb3r] { background: var(--success-color); }
.composer__send--accept:hover:not(:disabled)[b-nerljfhb3r] { background: var(--success-color); filter: brightness(0.92); }

/* Send-button busy spinner */
.composer__spinner[b-nerljfhb3r] {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    border-radius: var(--radius-circle);
    animation: composer-spin-b-nerljfhb3r 0.7s linear infinite;
}

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

/* Live recording waveform — bar heights are set inline from real mic loudness */
.composer__wave[b-nerljfhb3r] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    height: 2.25rem;
    padding: 0 var(--spacing-xs);
}

.composer__wave > span[b-nerljfhb3r] {
    width: 3px;
    height: 0.25rem;
    border-radius: var(--radius-sm);
    background: var(--danger-color);
    transition: height 90ms linear;
}

@media (prefers-reduced-motion: reduce) {
    .composer__wave > span[b-nerljfhb3r] { transition: none; }
    .composer__spinner[b-nerljfhb3r] { animation: none; }
}

.composer__error[b-nerljfhb3r] {
    font-size: 0.8rem;
    color: var(--warning-color);
    margin-bottom: var(--spacing-xs);
}

/* While recording: the language this dictation locked onto. Read-only — the set is fixed for the
   session, so this tells the speaker what they will get rather than offering a mid-session switch. */
.composer__lang-hint[b-nerljfhb3r] {
    flex: 0 0 auto;
    padding: 0 var(--spacing-xs);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}
/* /Shared/ConsentBadge.razor.rz.scp.css */
.consent-badge[b-nx2an8zo9l] {
    border: 1px solid var(--success-border-subtle);
    border-radius: 8px;
    background: var(--success-bg-subtle);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.consent-badge__summary[b-nx2an8zo9l] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.9rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--success-text-dark);
    user-select: none;
}

.consent-badge__summary:hover[b-nx2an8zo9l] {
    background: var(--success-hover-subtle);
}

.consent-badge__icon[b-nx2an8zo9l] {
    font-size: 1rem;
    color: var(--success-color);
    flex-shrink: 0;
}

.consent-badge__label[b-nx2an8zo9l] {
    flex: 1;
}

.consent-badge__toggle[b-nx2an8zo9l] {
    color: var(--success-color);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.consent-badge__detail[b-nx2an8zo9l] {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--success-border-subtle);
    background: var(--white);
}

.consent-badge__dl[b-nx2an8zo9l] {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.3rem 1rem;
    margin: 0 0 0.75rem;
    font-size: 0.83rem;
}

.consent-badge__dl dt[b-nx2an8zo9l] {
    font-weight: 600;
    color: var(--slate-700);
    white-space: nowrap;
}

.consent-badge__dl dd[b-nx2an8zo9l] {
    margin: 0;
    color: var(--dark-text);
}

.consent-badge__text[b-nx2an8zo9l] {
    font-style: italic;
    color: var(--gray-medium);
}

.consent-badge__note[b-nx2an8zo9l] {
    font-size: 0.77rem;
    color: var(--secondary-color);
    background: var(--surface-cool);
    border: 1px solid var(--slate-border);
    border-radius: 6px;
    padding: 0.4rem 0.65rem;
    margin: 0;
}

@media (max-width: 768px) {
    .consent-badge__dl[b-nx2an8zo9l] {
        grid-template-columns: 1fr;
    }

    .consent-badge__dl dt[b-nx2an8zo9l] {
        margin-top: 0.4rem;
    }
}
/* /Shared/LoginDisplay.razor.rz.scp.css */
.login-display[b-aelfoxyf7x] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    min-width: 0;
}

/* ── Profile dropdown wrapper ─────────────────────────────── */
.profile-dropdown-wrapper[b-aelfoxyf7x] {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Circular avatar trigger button */
.btn-profile-trigger[b-aelfoxyf7x] {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    border: 2.5px solid rgba(var(--white-rgb), 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(var(--black-rgb), 0.25);
    letter-spacing: 0;
    flex-shrink: 0;
}

.btn-profile-trigger:hover[b-aelfoxyf7x] {
    border-color: rgba(var(--white-rgb), 0.9);
    box-shadow: 0 4px 16px rgba(var(--black-rgb), 0.35);
    transform: translateY(-1px);
}

/* Photo variant — fill the circle with the uploaded picture. */
.btn-profile-trigger--photo[b-aelfoxyf7x] {
    padding: 0;
    overflow: hidden;
    background: var(--blue-gray-50);
}

.btn-profile-trigger--photo img[b-aelfoxyf7x] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Transparent full-screen backdrop — catches outside clicks */
.profile-dropdown-backdrop[b-aelfoxyf7x] {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: transparent;
}

/* Dropdown card */
.profile-dropdown-panel[b-aelfoxyf7x] {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 1050;
    min-width: 210px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(var(--black-rgb), 0.18), 0 2px 8px rgba(var(--black-rgb), 0.1);
    border: 1px solid rgba(var(--black-rgb), 0.07);
    overflow: hidden;
    animation: dropdown-appear-b-aelfoxyf7x 0.15s ease-out;
}

@keyframes dropdown-appear-b-aelfoxyf7x {
    from { opacity: 0; transform: translateY(-6px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0)  scale(1); }
}

/* User info header inside the dropdown */
.profile-dropdown-header[b-aelfoxyf7x] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1rem 0.9rem;
}

.profile-dropdown-avatar[b-aelfoxyf7x] {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(var(--primary-rgb), 0.35);
}

.profile-dropdown-avatar--photo[b-aelfoxyf7x] {
    overflow: hidden;
    background: var(--blue-gray-50);
}

.profile-dropdown-avatar--photo img[b-aelfoxyf7x] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-dropdown-info[b-aelfoxyf7x] {
    min-width: 0;
    flex: 1;
}

.profile-dropdown-name[b-aelfoxyf7x] {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-text);
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-dropdown-org[b-aelfoxyf7x] {
    font-size: 0.76rem;
    color: var(--slate-500);
    margin-top: 0.15rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Thin separator */
.profile-dropdown-divider[b-aelfoxyf7x] {
    height: 1px;
    background: var(--table-stripe-bg);
    margin: 0;
}

/* Menu items */
.profile-dropdown-item[b-aelfoxyf7x] {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.7rem 1rem;
    background: none;
    border: none;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-700);
    text-align: left;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
    letter-spacing: 0.01em;
}

.profile-dropdown-item:hover[b-aelfoxyf7x] {
    background: var(--table-stripe-bg);
    color: var(--dark-text);
}

/* "Acting for" — family members a patient can switch to */
.profile-dropdown-section[b-aelfoxyf7x] {
    padding: var(--spacing-sm) 1rem 0;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--slate-500);
}

.profile-dropdown-item--current[b-aelfoxyf7x] {
    color: var(--primary-color);
    font-weight: 600;
}

.profile-dropdown-family-name[b-aelfoxyf7x] {
    margin-right: var(--spacing-xs);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-dropdown-family-relation[b-aelfoxyf7x] {
    font-weight: 400;
    color: var(--slate-500);
    white-space: nowrap;
}

.profile-dropdown-item .bi[b-aelfoxyf7x] {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Logout item — red on hover */
.profile-dropdown-logout[b-aelfoxyf7x] {
    color: var(--slate-500);
}

.profile-dropdown-logout:hover[b-aelfoxyf7x] {
    background: var(--danger-bg-subtle);
    color: var(--danger-color);
}

.profile-dropdown-logout:hover .bi[b-aelfoxyf7x] {
    opacity: 1;
}

/* ── Sign In button ───────────────────────────────────────── */
.btn-signin[b-aelfoxyf7x] {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(var(--primary-rgb), 0.3);
}

.btn-signin:hover[b-aelfoxyf7x] {
    background-color: var(--primary-hover);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(var(--primary-rgb), 0.4);
}

/* ── Hospital context pill (SuperAdmin switch) ─────────────── */
.hospital-context-pill[b-aelfoxyf7x] {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    background-color: var(--warning-light-bg);
    border: 1.5px solid var(--warning-color);
    border-radius: 2rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--warning-dark-text);
    gap: 0.25rem;
    white-space: nowrap;
    animation: pill-appear-b-aelfoxyf7x 0.25s ease-out;
}

.hospital-context-name[b-aelfoxyf7x] {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-exit-context[b-aelfoxyf7x] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0 0.1rem;
    cursor: pointer;
    color: var(--warning-dark-text);
    font-size: 0.75rem;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.15s ease;
}

.btn-exit-context:hover[b-aelfoxyf7x] {
    opacity: 1;
    color: var(--danger-dark);
}

@keyframes pill-appear-b-aelfoxyf7x {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── User impersonation pill ──────────────────────────────── */
.user-impersonation-pill[b-aelfoxyf7x] {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    background-color: var(--info-light-bg);
    border: 1.5px solid var(--primary-color);
    border-radius: 2rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--info-dark-text);
    gap: 0.15rem;
    white-space: nowrap;
    animation: pill-appear-b-aelfoxyf7x 0.25s ease-out;
}

.impersonation-label[b-aelfoxyf7x] {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.impersonation-role[b-aelfoxyf7x] {
    font-weight: 400;
    opacity: 0.75;
    font-size: 0.78rem;
}

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-width: 480px) {
    .btn-signin[b-aelfoxyf7x] {
        padding: 0.4rem 0.75rem;
        font-size: 0.82rem;
    }

    .hospital-context-pill[b-aelfoxyf7x],
    .user-impersonation-pill[b-aelfoxyf7x] {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }

    .hospital-context-name[b-aelfoxyf7x],
    .impersonation-label[b-aelfoxyf7x] {
        max-width: 90px;
    }

    .profile-dropdown-panel[b-aelfoxyf7x] {
        right: -0.5rem;
        min-width: 190px;
    }
}
