/* /Component/DashboardCategoryCard.razor.rz.scp.css */
.dash-card[b-2i7wfdsots] {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 22px 20px 18px 20px;
    border-radius: 16px;
    background: var(--clinic-surface, #FFFFFF);
    box-shadow: 0 1px 2px rgba(22, 33, 62, 0.04), 0 10px 28px -12px rgba(22, 33, 62, 0.16);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

    .dash-card:hover[b-2i7wfdsots] {
        transform: translateY(-3px);
        box-shadow: 0 2px 4px rgba(22, 33, 62, 0.05), 0 18px 36px -14px rgba(22, 33, 62, 0.22);
    }

    .dash-card:focus-within[b-2i7wfdsots] {
        outline: 2px solid var(--accent, #0E7C86);
        outline-offset: 3px;
    }

.dash-card-heading[b-2i7wfdsots] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dash-icon-square[b-2i7wfdsots] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dash-title[b-2i7wfdsots] {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--clinic-ink, #16213E);
    margin-top: 16px;
}

.dash-desc[b-2i7wfdsots] {
    color: var(--clinic-muted, #64748B);
    margin-top: 4px;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.55;
    font-size: 0.875rem;
}

.dash-divider[b-2i7wfdsots] {
    margin: 16px 0 14px 0 !important;
    border-color: var(--clinic-line, #E4E9EF) !important;
}

.dash-menu-list[b-2i7wfdsots] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* No margin-top:auto here on purpose — items sit right after the
       divider (top-aligned); any leftover height in a stretched card
       stays as empty space below the list instead of pushing buttons down. */
}

.dash-menu-btn[b-2i7wfdsots] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 11px 14px;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.875rem;
    cursor: pointer;
    box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.20), 0 5px 8px 0 rgba(0, 0, 0, 0.14), 0 1px 14px 0 rgba(0, 0, 0, 0.12);
    transition: background-color 140ms ease, box-shadow 140ms ease, transform 100ms ease;
}

    .dash-menu-btn:hover[b-2i7wfdsots] {
        box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.20), 0 5px 8px 0 rgba(0, 0, 0, 0.14), 0 1px 14px 0 rgba(0, 0, 0, 0.12);
    }

    .dash-menu-btn:active[b-2i7wfdsots] {
        transform: scale(0.98);
    }

    .dash-menu-btn:focus-visible[b-2i7wfdsots] {
        outline: 2px solid var(--accent, #0E7C86);
        outline-offset: 2px;
    }

/* Primary: the one main action per card — solid, filled */
.dash-menu-btn--primary[b-2i7wfdsots] {
    background: var(--accent, #0E7C86);
    color: #FFFFFF;
    font-weight: 600;
}

    .dash-menu-btn--primary .dash-menu-chevron[b-2i7wfdsots] {
        color: #FFFFFF;
        opacity: 0.9;
    }

/* Secondary: supporting actions — soft tint, quiet until hovered */
.dash-menu-btn--secondary[b-2i7wfdsots] {
    background: var(--accent-tint, #F1F5F9);
    color: var(--clinic-ink, #16213E);
    font-weight: 500;
}

    .dash-menu-btn--secondary:hover[b-2i7wfdsots] {
        background: color-mix(in srgb, var(--accent, #0E7C86) 18%, var(--accent-tint, #F1F5F9));
    }

    .dash-menu-btn--secondary .dash-menu-chevron[b-2i7wfdsots] {
        color: var(--accent, #0E7C86);
        opacity: 0.7;
    }

@media (prefers-reduced-motion: reduce) {
    .dash-card[b-2i7wfdsots], .dash-menu-btn[b-2i7wfdsots] {
        transition: none;
    }

        .dash-card:hover[b-2i7wfdsots] {
            transform: none;
        }
}
/* /Component/GenderStatCard.razor.rz.scp.css */

.gender-stat-card[b-50p0eeg7si] {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 24px 16px;
    border: 1px solid var(--clinic-line, #E4E9EF);
    border-radius: 16px;
    background: var(--clinic-surface, #FFFFFF);
    box-shadow: 0 1px 2px rgba(22, 33, 62, 0.04), 0 10px 28px -12px rgba(22, 33, 62, 0.10);
}

.gender-stat-item[b-50p0eeg7si] {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.gender-divider[b-50p0eeg7si] {
    flex: 0 0 1px;
    width: 1px;
    align-self: stretch;
    background: var(--clinic-line, #E4E9EF);
    margin: 0 12px;
}

.gender-circle[b-50p0eeg7si] {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gender-circle-content[b-50p0eeg7si] {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--clinic-surface, #FFFFFF);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.gender-circle-pct[b-50p0eeg7si] {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.1;
}

.gender-circle-label[b-50p0eeg7si] {
    font-size: 0.75rem;
    color: var(--clinic-muted, #64748B);
}

.gender-count[b-50p0eeg7si] {
    text-align: center;
    font-size: 0.9rem;
    color: var(--clinic-muted, #64748B);
}
/* /Component/SummaryStatCard.razor.rz.scp.css */
.summary-stat-card[b-2fir0nbodl] {
    border: 1px solid var(--clinic-line, #E4E9EF);
    border-radius: 14px;
    background: var(--clinic-surface, #FFFFFF);
    padding: 18px 20px;
    box-shadow: 0 1px 2px rgba(22, 33, 62, 0.04), 0 10px 28px -12px rgba(22, 33, 62, 0.10);
    height: 100%;
}

.summary-stat-title[b-2fir0nbodl] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--clinic-muted, #64748B);
    font-size: 0.9rem;
}

.summary-stat-value[b-2fir0nbodl] {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--clinic-ink, #16213E);
    margin-top: 8px;
}

.summary-stat-sub[b-2fir0nbodl] {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 4px;
}
/* /Component/TrialBanner.razor.rz.scp.css */
[b-k13yevsiho] .trial-banner {
    position: fixed !important;
    top: 50px !important;
    right: 16px !important;
    max-width: min(420px, 90vw);
    z-index: 1200;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

[b-k13yevsiho] .trial-banner .mud-alert-message {
    width: 100%;
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-ry486eettm] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-ry486eettm] {
    flex: 1;
}

.sidebar[b-ry486eettm] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-ry486eettm] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-ry486eettm]  a, .top-row[b-ry486eettm]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-ry486eettm]  a:hover, .top-row[b-ry486eettm]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-ry486eettm]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-ry486eettm] {
        justify-content: space-between;
    }

    .top-row[b-ry486eettm]  a, .top-row[b-ry486eettm]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-ry486eettm] {
        flex-direction: row;
    }

    .sidebar[b-ry486eettm] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-ry486eettm] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-ry486eettm]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-ry486eettm], article[b-ry486eettm] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

.language-menu-heading[b-ry486eettm] {
    display: block;
    padding: 8px 16px 4px;
    color: var(--mud-palette-text-secondary);
}

.language-option[b-ry486eettm] {
    display: block;
    min-width: 112px;
    text-align: start;
}


.dr-appbar[b-ry486eettm] {
    padding: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: block !important;
}

.dr-appbar-content[b-ry486eettm] {
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box;
}


/* =========================
   FIRST ROW
   ========================= */

.dr-appbar-main[b-ry486eettm] {
    width: 100%;
    min-height: 64px;
    height: 64px;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    box-sizing: border-box;
    padding: 0 16px;
    flex-shrink: 0;
}


/* =========================
   BRAND
   ========================= */

.dr-brand[b-ry486eettm] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
}

.dr-brand-title[b-ry486eettm] {
    font-weight: 600;
    line-height: 1.1;
}

.dr-brand-subtitle[b-ry486eettm] {
    opacity: 0.75;
    line-height: 1.1;
}


/* =========================
   SPACER
   ========================= */

.dr-appbar-spacer[b-ry486eettm] {
    flex: 1 1 auto;
}


/* =========================
   MENUS
   ========================= */

.dr-menu[b-ry486eettm] {
    margin-left: 8px;
    flex-shrink: 0;
}

.dr-user-menu[b-ry486eettm] {
    margin-left: 4px;
    flex-shrink: 0;
}


/* =========================
   SECOND ROW
   ========================= */

.dr-trial-row[b-ry486eettm] {
    width: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box;
    min-height: 40px;
    height: auto;
    padding: 4px 16px 6px;
    flex-shrink: 0;
}


/* =========================
   LANGUAGE MENU
   ========================= */

.language-menu-heading[b-ry486eettm] {
    display: block;
    padding: 8px 16px 4px;
    color: var(--mud-palette-text-secondary);
}

.language-option[b-ry486eettm] {
    display: block;
    min-width: 112px;
    text-align: start;
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-witdzi274f] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-witdzi274f] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-witdzi274f] {
    font-size: 1.1rem;
}

.bi[b-witdzi274f] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-witdzi274f] {
    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-witdzi274f] {
    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-witdzi274f] {
    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-witdzi274f] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-witdzi274f] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-witdzi274f] {
        padding-bottom: 1rem;
    }

    .nav-item[b-witdzi274f]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-witdzi274f]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-witdzi274f]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-witdzi274f] {
        display: none;
    }

    .collapse[b-witdzi274f] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-witdzi274f] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Appointments/AppointmentGalleryDialog.razor.rz.scp.css */
/* Appointment gallery dialog — visual language follows the MAUI DentalGalleryPage
   (primary #4500A3, accent #7C3AED, soft slate surfaces) and adapts to MudBlazor light/dark. */

.gallery[b-e19r2vf131],
.gallery-titlebar[b-e19r2vf131] {
    --g-primary: #4500A3;
    --g-accent: #7C3AED;
    --g-accent-soft: color-mix(in srgb, #7C3AED 14%, transparent);
    --g-surface: var(--mud-palette-surface);
    --g-surface-2: var(--mud-palette-background-grey);
    --g-line: var(--mud-palette-lines-default);
    --g-text: var(--mud-palette-text-primary);
    --g-muted: var(--mud-palette-text-secondary);
}

/* ── Title ─────────────────────────────────────────────── */
.gallery-titlebar[b-e19r2vf131] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.title-icon[b-e19r2vf131] {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--g-primary), var(--g-accent));
}

.title-text[b-e19r2vf131] {
    flex: 1;
    min-width: 0;
}

.gallery-title[b-e19r2vf131] {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--g-text);
}

.title-sub[b-e19r2vf131] {
    font-size: .75rem;
    color: var(--g-muted);
}

[b-e19r2vf131] .gallery-icon-btn {
    background: var(--g-surface-2);
    border-radius: 12px;
}

/* ── Layout ────────────────────────────────────────────── */
.gallery[b-e19r2vf131] {
    position: relative;
    display: flex;
    flex-direction: column;
    height: min(76vh, 780px);
    min-height: 420px;
    background: var(--g-surface-2);
    overflow: hidden;
}

/* ── Patient strip ─────────────────────────────────────── */
.gallery-patient[b-e19r2vf131] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: var(--g-surface);
    border-bottom: 1px solid var(--g-line);
}

.patient-avatar[b-e19r2vf131] {
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    font-weight: 700;
}

.accent-male[b-e19r2vf131] {
    background: #DBEAFE;
    color: #1D4ED8;
}

.accent-female[b-e19r2vf131] {
    background: #FCE7F3;
    color: #BE185D;
}

.accent-neutral[b-e19r2vf131] {
    background: #E5E7EB;
    color: #475569;
}

.patient-info[b-e19r2vf131] {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 4px;
}

.patient-name-row[b-e19r2vf131] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.patient-name[b-e19r2vf131] {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--g-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.patient-chip[b-e19r2vf131] {
    flex: none;
    padding: 2px 9px;
    border-radius: 10px;
    font-size: .68rem;
    font-weight: 700;
}

.patient-meta[b-e19r2vf131] {
    display: flex;
    gap: 6px;
    font-size: .8rem;
    color: var(--g-muted);
}

.dot[b-e19r2vf131] {
    opacity: .6;
    margin-inline: 2px;
}

[b-e19r2vf131] .gallery-primary-btn {
    background: var(--g-primary) !important;
    color: #fff !important;
    border-radius: 12px;
    font-weight: 700;
    text-transform: none;
    padding: 8px 18px;
    flex: none;
}

    [b-e19r2vf131] .gallery-primary-btn.mud-button-disabled {
        opacity: .45;
    }

[b-e19r2vf131] .gallery-secondary-btn {
    border-radius: 12px;
    text-transform: none;
    font-weight: 600;
}

[b-e19r2vf131] .gallery-danger-btn {
    background: #FEE2E2 !important;
    color: #B91C1C !important;
    border-radius: 12px;
    text-transform: none;
    font-weight: 700;
    flex: none;
}

/* ── Category chips ────────────────────────────────────── */
.gallery-chips[b-e19r2vf131] {
    display: flex;
    gap: 8px;
    padding: 10px 20px;
    overflow-x: auto;
    scrollbar-width: thin;
    background: var(--g-surface);
    border-bottom: 1px solid var(--g-line);
}

.gallery-chip[b-e19r2vf131] {
    flex: none;
    padding: 7px 16px;
    border-radius: 18px;
    border: 1px solid var(--g-line);
    background: var(--g-surface);
    color: var(--g-muted);
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
}

    .gallery-chip:hover[b-e19r2vf131] {
        border-color: var(--g-accent);
        color: var(--g-text);
    }

    .gallery-chip.selected[b-e19r2vf131] {
        background: var(--g-accent-soft);
        border-color: var(--g-accent);
        color: var(--g-accent);
    }

    .gallery-chip:focus-visible[b-e19r2vf131], .folder-link:focus-visible[b-e19r2vf131], .photo-card:focus-visible[b-e19r2vf131], .viewer-nav:focus-visible[b-e19r2vf131] {
        outline: 2px solid var(--g-accent);
        outline-offset: 2px;
    }

/* ── Folder bar ────────────────────────────────────────── */
.folder-bar[b-e19r2vf131] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 20px;
    font-size: .78rem;
    border-bottom: 1px solid var(--g-line);
}

    .folder-bar.ok[b-e19r2vf131] {
        background: var(--g-surface-2);
        color: var(--g-muted);
    }

    .folder-bar.warn[b-e19r2vf131] {
        background: color-mix(in srgb, #F59E0B 14%, var(--g-surface));
        color: var(--g-text);
    }

    .folder-bar.inside[b-e19r2vf131] {
        border: 1px solid var(--g-line);
        border-radius: 12px;
    }

.folder-text[b-e19r2vf131] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.folder-link[b-e19r2vf131] {
    flex: none;
    border: 0;
    background: transparent;
    color: var(--g-accent);
    font-weight: 600;
    font-size: .78rem;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 8px;
}

    .folder-link.strong[b-e19r2vf131] {
        background: var(--g-accent);
        color: #fff;
        padding: 4px 12px;
    }

    .folder-link:disabled[b-e19r2vf131] {
        opacity: .5;
        cursor: default;
    }

/* ── Grid ──────────────────────────────────────────────── */
.gallery-scroll[b-e19r2vf131] {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px 20px;
}

.photo-grid[b-e19r2vf131] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 12px;
}

.photo-card[b-e19r2vf131] {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    text-align: start;
    border: 1px solid var(--g-line);
    border-radius: 14px;
    background: var(--g-surface);
    color: inherit;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

    .photo-card:hover[b-e19r2vf131] {
        transform: translateY(-2px);
        box-shadow: var(--mud-elevation-4);
        border-color: color-mix(in srgb, var(--g-accent) 45%, var(--g-line));
    }

    .photo-card.skeleton[b-e19r2vf131] {
        height: 230px;
        cursor: default;
        pointer-events: none;
    }

.photo-image[b-e19r2vf131] {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    background: var(--g-surface-2);
    overflow: hidden;
}

    .photo-image img[b-e19r2vf131] {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .25s ease;
    }

.photo-card:hover .photo-image img[b-e19r2vf131] {
    transform: scale(1.04);
}

.photo-hover[b-e19r2vf131] {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(15, 23, 42, .35);
    opacity: 0;
    transition: opacity .16s;
}

.photo-card:hover .photo-hover[b-e19r2vf131], .photo-card:focus-visible .photo-hover[b-e19r2vf131] {
    opacity: 1;
}

.photo-missing[b-e19r2vf131] {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 0 12px;
    text-align: center;
    color: var(--g-muted);
}

    .photo-missing small[b-e19r2vf131] {
        font-size: .7rem;
        line-height: 1.3;
    }

.photo-caption[b-e19r2vf131] {
    display: grid;
    gap: 3px;
    padding: 9px 11px 10px;
    min-width: 0;
}

    .photo-caption strong[b-e19r2vf131] {
        font-size: .84rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: var(--g-text);
    }

.photo-caption-row[b-e19r2vf131] {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: .7rem;
}

.photo-category[b-e19r2vf131] {
    color: var(--g-accent);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.photo-date[b-e19r2vf131] {
    color: var(--g-muted);
    flex: none;
}

/* ── Empty ─────────────────────────────────────────────── */
.gallery-empty[b-e19r2vf131] {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 8px;
    height: 100%;
    min-height: 240px;
    text-align: center;
    color: var(--g-muted);
}

.empty-icon[b-e19r2vf131] {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--g-accent-soft);
    color: var(--g-accent);
}

.empty-title[b-e19r2vf131] {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--g-text);
}

.empty-text[b-e19r2vf131] {
    font-size: .85rem;
}

/* ── Overlays (upload + viewer) ────────────────────────── */
.overlay[b-e19r2vf131] {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgba(0, 0, 0, .7);
    animation: g-fade-b-e19r2vf131 .15s ease;
    outline: none;
}

    .overlay.dark[b-e19r2vf131] {
        background: rgba(0, 0, 0, .8);
    }

@keyframes g-fade-b-e19r2vf131 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.upload-card[b-e19r2vf131] {
    display: grid;
    gap: 14px;
    width: min(620px, 100%);
    max-height: 100%;
    overflow-y: auto;
    padding: 18px;
    border-radius: 18px;
    background: var(--g-surface);
    box-shadow: var(--mud-elevation-12);
}

.upload-head[b-e19r2vf131] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.upload-title[b-e19r2vf131] {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--g-text);
}

.upload-sub[b-e19r2vf131] {
    font-size: .8rem;
    color: var(--g-muted);
}

.upload-preview[b-e19r2vf131] {
    position: relative;
    height: 230px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--g-line);
    border-radius: 14px;
    background: var(--g-surface-2);
}

    .upload-preview.empty[b-e19r2vf131] {
        border: 2px dashed color-mix(in srgb, var(--g-accent) 50%, var(--g-line));
    }

        .upload-preview.empty:hover[b-e19r2vf131] {
            background: var(--g-accent-soft);
        }

    .upload-preview img[b-e19r2vf131] {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.upload-placeholder[b-e19r2vf131] {
    display: grid;
    justify-items: center;
    gap: 4px;
    color: var(--g-muted);
    pointer-events: none;
}

    .upload-placeholder span[b-e19r2vf131] {
        font-weight: 600;
        color: var(--g-text);
    }

    .upload-placeholder small[b-e19r2vf131] {
        font-size: .72rem;
    }
/* The whole empty preview is the drop target. */
[b-e19r2vf131] .drop-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-file-line[b-e19r2vf131] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    color: var(--g-muted);
    margin-top: -4px;
}

.file-name[b-e19r2vf131] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--g-text);
    font-weight: 600;
}

.upload-pick-row[b-e19r2vf131] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pick-btn[b-e19r2vf131] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: .88rem;
    cursor: pointer;
    overflow: hidden;
    transition: filter .15s;
}

    .pick-btn:hover[b-e19r2vf131] {
        filter: brightness(.96);
    }

    .pick-btn.select[b-e19r2vf131] {
        background: color-mix(in srgb, #4338CA 12%, transparent);
        color: #4338CA;
    }

    .pick-btn.camera[b-e19r2vf131] {
        background: color-mix(in srgb, #047857 12%, transparent);
        color: #047857;
    }

[b-e19r2vf131] .hidden-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
/* Camera capture only makes sense on touch devices. */
@media (hover: hover) and (pointer: fine) {
    .pick-btn.camera[b-e19r2vf131] {
        display: none;
    }

    .upload-pick-row[b-e19r2vf131] {
        grid-template-columns: 1fr;
    }
}

.upload-two-col[b-e19r2vf131] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.upload-actions[b-e19r2vf131] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 2px;
}

/* ── Viewer ────────────────────────────────────────────── */
.viewer-card[b-e19r2vf131] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 12px;
    width: min(960px, 100%);
    height: 100%;
    max-height: 100%;
    padding: 14px;
    border-radius: 18px;
    background: var(--g-surface);
    box-shadow: var(--mud-elevation-12);
}

.viewer-head[b-e19r2vf131] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.viewer-titles[b-e19r2vf131] {
    flex: 1;
    min-width: 0;
}

.viewer-title[b-e19r2vf131] {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--g-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.viewer-category[b-e19r2vf131] {
    font-size: .78rem;
    font-weight: 600;
    color: var(--g-accent);
}

.viewer-counter[b-e19r2vf131] {
    flex: none;
    font-size: .78rem;
    color: var(--g-muted);
    padding: 3px 10px;
    border-radius: 10px;
    background: var(--g-surface-2);
}

.viewer-stage[b-e19r2vf131] {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 0;
    border-radius: 12px;
    background: #0F172A;
    overflow: hidden;
}

    .viewer-stage img[b-e19r2vf131] {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.viewer-nav[b-e19r2vf131] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(15, 23, 42, .55);
    cursor: pointer;
    transition: background .15s;
}

    .viewer-nav:hover[b-e19r2vf131] {
        background: rgba(124, 58, 237, .85);
    }

    .viewer-nav.prev[b-e19r2vf131] {
        inset-inline-start: 10px;
    }

    .viewer-nav.next[b-e19r2vf131] {
        inset-inline-end: 10px;
    }

[dir="rtl"] .viewer-nav[b-e19r2vf131]  svg {
    transform: scaleX(-1);
}

.viewer-foot[b-e19r2vf131] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.viewer-info[b-e19r2vf131] {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.viewer-date[b-e19r2vf131] {
    font-size: .78rem;
    color: var(--g-muted);
}

.viewer-notes[b-e19r2vf131] {
    font-size: .85rem;
    color: var(--g-text);
    white-space: pre-wrap;
    max-height: 4.5em;
    overflow-y: auto;
}

/* ── Small screens ─────────────────────────────────────── */
@media (max-width: 600px) {
    .gallery[b-e19r2vf131] {
        height: 78vh;
    }

    .gallery-patient[b-e19r2vf131] {
        flex-wrap: wrap;
        padding: 12px 14px;
    }

        .gallery-patient[b-e19r2vf131]  .gallery-primary-btn {
            width: 100%;
        }

    .gallery-chips[b-e19r2vf131], .folder-bar[b-e19r2vf131] {
        padding-inline: 14px;
    }

    .gallery-scroll[b-e19r2vf131] {
        padding: 12px 14px 16px;
    }

    .photo-grid[b-e19r2vf131] {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .upload-two-col[b-e19r2vf131] {
        grid-template-columns: 1fr;
    }

    .overlay[b-e19r2vf131] {
        padding: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .photo-card[b-e19r2vf131], .photo-image img[b-e19r2vf131], .overlay[b-e19r2vf131] {
        transition: none;
        animation: none;
    }
}
/* /Pages/Appointments/Appointments.razor.rz.scp.css */
/* Appointments page.
   Scoped CSS: plain elements in Appointments.razor are styled directly; MudBlazor components
   (which do not carry the scope attribute) are reached with ::deep from the .appts root. */

.appts[b-tczqgwhcev] {
    --a-green: #16A34A;
    --a-blue: #2563EB;
    --a-amber: #D97706;
    --a-primary: var(--mud-palette-primary);
    --a-surface: var(--mud-palette-surface);
    --a-surface-2: var(--mud-palette-background-grey);
    --a-line: var(--mud-palette-lines-default);
    --a-text: var(--mud-palette-text-primary);
    --a-muted: var(--mud-palette-text-secondary);
    display: grid;
    gap: 16px;
}

button[b-tczqgwhcev] {
    font-family: inherit;
}

.muted[b-tczqgwhcev] {
    color: var(--a-muted);
}

/* ── Overview cards ────────────────────────────────────── */
.stat-row[b-tczqgwhcev] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.stat-card[b-tczqgwhcev] {
    --tone: var(--a-primary);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    text-align: start;
    border: 1px solid var(--a-line);
    border-radius: 16px;
    background: var(--a-surface);
    color: var(--a-text);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}

    .stat-card.tone-green[b-tczqgwhcev] {
        --tone: var(--a-green);
    }

    .stat-card.tone-blue[b-tczqgwhcev] {
        --tone: var(--a-blue);
    }

    .stat-card.tone-amber[b-tczqgwhcev] {
        --tone: var(--a-amber);
    }

    .stat-card:hover[b-tczqgwhcev] {
        transform: translateY(-2px);
        box-shadow: var(--mud-elevation-4);
    }

    .stat-card.active[b-tczqgwhcev] {
        border-color: var(--tone);
        background: color-mix(in srgb, var(--tone) 8%, var(--a-surface));
        box-shadow: 0 0 0 1px var(--tone) inset;
    }

.stat-icon[b-tczqgwhcev] {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--tone);
    background: color-mix(in srgb, var(--tone) 14%, transparent);
}

.stat-text[b-tczqgwhcev] {
    display: grid;
    line-height: 1.15;
    min-width: 0;
}

    .stat-text strong[b-tczqgwhcev] {
        font-size: 1.6rem;
        font-weight: 800;
    }

    .stat-text small[b-tczqgwhcev] {
        font-size: .78rem;
        color: var(--a-muted);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* ── Toolbar ───────────────────────────────────────────── */
.toolbar[b-tczqgwhcev] {
    display: grid;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--a-line);
    border-radius: 16px;
    background: var(--a-surface);
}

.toolbar-top[b-tczqgwhcev] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.toolbar-search[b-tczqgwhcev] {
    flex: 1 1 320px;
    min-width: 0;
}

.toolbar-doctor[b-tczqgwhcev] {
    flex: 0 1 200px;
    min-width: 150px;
}

.toolbar-actions[b-tczqgwhcev] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-inline-start: auto;
}

.appts[b-tczqgwhcev]  .refresh-btn {
    border: 1px solid var(--a-line);
    border-radius: 12px;
}

.appts[b-tczqgwhcev]  .new-btn {
    border-radius: 12px;
    text-transform: none;
    font-weight: 700;
    padding-inline: 18px;
}

.view-toggle[b-tczqgwhcev] {
    display: inline-flex;
    padding: 3px;
    border: 1px solid var(--a-line);
    border-radius: 12px;
    background: var(--a-surface-2);
}

    .view-toggle button[b-tczqgwhcev] {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 12px;
        border: 0;
        border-radius: 9px;
        background: transparent;
        color: var(--a-muted);
        font-size: .8rem;
        font-weight: 600;
        cursor: pointer;
        transition: background .15s, color .15s;
    }

        .view-toggle button.on[b-tczqgwhcev] {
            background: var(--a-surface);
            color: var(--a-primary);
            box-shadow: var(--mud-elevation-1);
        }

.toolbar-bottom[b-tczqgwhcev] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.date-chips[b-tczqgwhcev] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.date-chip[b-tczqgwhcev] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid var(--a-line);
    border-radius: 18px;
    background: var(--a-surface);
    color: var(--a-muted);
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
}

    .date-chip span[b-tczqgwhcev] {
        padding: 0 7px;
        border-radius: 9px;
        font-size: .7rem;
        background: var(--a-surface-2);
        color: var(--a-muted);
    }

    .date-chip:hover[b-tczqgwhcev] {
        border-color: var(--a-primary);
        color: var(--a-text);
    }

    .date-chip.on[b-tczqgwhcev] {
        border-color: var(--a-primary);
        color: var(--a-primary);
        background: color-mix(in srgb, var(--a-primary) 10%, transparent);
    }

        .date-chip.on span[b-tczqgwhcev] {
            background: var(--a-primary);
            color: #fff;
        }

.result-info[b-tczqgwhcev] {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .8rem;
    color: var(--a-muted);
}

.link-btn[b-tczqgwhcev] {
    border: 0;
    background: transparent;
    color: var(--a-primary);
    font-weight: 600;
    font-size: .8rem;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 6px;
}

    .link-btn:hover[b-tczqgwhcev] {
        text-decoration: underline;
    }

.live[b-tczqgwhcev] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: .72rem;
    font-weight: 600;
    color: var(--a-green);
    background: color-mix(in srgb, var(--a-green) 12%, transparent);
}

    .live i[b-tczqgwhcev] {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--a-green);
        animation: a-pulse-b-tczqgwhcev 1.8s ease-out infinite;
    }

@keyframes a-pulse-b-tczqgwhcev {
    0% {
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--a-green) 55%, transparent);
    }

    100% {
        box-shadow: 0 0 0 7px transparent;
    }
}

.stat-card:focus-visible[b-tczqgwhcev], .view-toggle button:focus-visible[b-tczqgwhcev], .date-chip:focus-visible[b-tczqgwhcev], .link-btn:focus-visible[b-tczqgwhcev] {
    outline: 2px solid var(--a-primary);
    outline-offset: 2px;
}

/* ── Table ─────────────────────────────────────────────── */
.appts[b-tczqgwhcev]  .table-card {
    border: 1px solid var(--a-line);
    border-radius: 16px;
    overflow: hidden;
}

.appts[b-tczqgwhcev]  .appt-table th {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--a-muted);
    background: var(--a-surface-2);
    white-space: nowrap;
}

.appts[b-tczqgwhcev]  .appt-table td {
    padding-block: 10px;
    vertical-align: middle;
}

.appts[b-tczqgwhcev]  .appt-table.clickable tbody tr {
    cursor: pointer;
}

.appts[b-tczqgwhcev]  .appt-table tr.appt-row.today td:first-child {
    box-shadow: inset 3px 0 0 var(--a-green);
}

.when[b-tczqgwhcev] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.when-text[b-tczqgwhcev] {
    display: grid;
    line-height: 1.25;
}

    .when-text strong[b-tczqgwhcev] {
        font-size: .88rem;
    }

    .when-text small[b-tczqgwhcev] {
        font-size: .74rem;
        color: var(--a-muted);
    }

.date-tile[b-tczqgwhcev] {
    flex: none;
    width: 46px;
    display: grid;
    justify-items: center;
    padding: 4px 0 5px;
    border-radius: 12px;
    line-height: 1.05;
    color: var(--a-text);
    background: var(--a-surface-2);
    border: 1px solid var(--a-line);
}

    .date-tile .m[b-tczqgwhcev] {
        font-size: .6rem;
        font-weight: 700;
        letter-spacing: .06em;
        color: var(--a-muted);
    }

    .date-tile .d[b-tczqgwhcev] {
        font-size: 1.15rem;
        font-weight: 800;
    }

    .date-tile.today[b-tczqgwhcev] {
        background: var(--a-primary);
        border-color: var(--a-primary);
        color: #fff;
    }

        .date-tile.today .m[b-tczqgwhcev] {
            color: rgba(255, 255, 255, .8);
        }

    .date-tile.past .d[b-tczqgwhcev] {
        color: var(--a-muted);
    }

.who[b-tczqgwhcev] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.who-text[b-tczqgwhcev] {
    display: grid;
    min-width: 0;
    line-height: 1.25;
}

    .who-text strong[b-tczqgwhcev] {
        font-size: .9rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .who-text small[b-tczqgwhcev] {
        display: flex;
        align-items: center;
        gap: 3px;
        font-size: .75rem;
        color: var(--a-muted);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

        .who-text small[b-tczqgwhcev]  svg {
            width: 14px;
            height: 14px;
            flex: none;
        }

.avatar[b-tczqgwhcev] {
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: .78rem;
    font-weight: 700;
    color: var(--av-fg, #fff);
    background: var(--av-bg, #64748B);
}

.avatar-0[b-tczqgwhcev] {
    --av-bg: #DBEAFE;
    --av-fg: #1D4ED8;
}

.avatar-1[b-tczqgwhcev] {
    --av-bg: #FCE7F3;
    --av-fg: #BE185D;
}

.avatar-2[b-tczqgwhcev] {
    --av-bg: #DCFCE7;
    --av-fg: #15803D;
}

.avatar-3[b-tczqgwhcev] {
    --av-bg: #FEF3C7;
    --av-fg: #B45309;
}

.avatar-4[b-tczqgwhcev] {
    --av-bg: #EDE9FE;
    --av-fg: #6D28D9;
}

.avatar-5[b-tczqgwhcev] {
    --av-bg: #CCFBF1;
    --av-fg: #0F766E;
}

.visit[b-tczqgwhcev] {
    display: grid;
    gap: 4px;
    justify-items: start;
}

.tag[b-tczqgwhcev] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: .74rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .tag.diagnosis[b-tczqgwhcev] {
        color: var(--a-blue);
        background: color-mix(in srgb, var(--a-blue) 12%, transparent);
    }

    .tag.drug[b-tczqgwhcev] {
        color: var(--a-green);
        background: color-mix(in srgb, var(--a-green) 12%, transparent);
    }

    .tag.more[b-tczqgwhcev] {
        color: var(--a-muted);
        background: var(--a-surface-2);
    }

    .tag[b-tczqgwhcev]  svg {
        width: 14px;
        height: 14px;
        flex: none;
    }

.treatment[b-tczqgwhcev] {
    display: -webkit-box;
    max-width: 280px;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: .82rem;
    color: var(--a-text);
}

.services[b-tczqgwhcev] {
    display: -webkit-box;
    max-width: 220px;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: .82rem;
    color: var(--a-muted);
}

.meds[b-tczqgwhcev] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.row-actions[b-tczqgwhcev] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
}

.skeleton-list[b-tczqgwhcev] {
    display: grid;
    gap: 8px;
    padding: 16px;
}

/* ── Empty ─────────────────────────────────────────────── */
.empty[b-tczqgwhcev] {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 48px 16px;
    text-align: center;
}

.empty-icon[b-tczqgwhcev] {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--a-primary);
    background: color-mix(in srgb, var(--a-primary) 12%, transparent);
}

.empty h3[b-tczqgwhcev] {
    margin: 6px 0 0;
    font-size: 1.1rem;
}

.empty p[b-tczqgwhcev] {
    margin: 0 0 8px;
    font-size: .88rem;
    color: var(--a-muted);
}

/* ── By-day cards ──────────────────────────────────────── */
.day-group[b-tczqgwhcev] {
    display: grid;
    gap: 10px;
}

.day-head[b-tczqgwhcev] {
    display: flex;
    align-items: baseline;
    gap: 10px;
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 8px 4px;
    background: var(--mud-palette-background);
}

.day-title[b-tczqgwhcev] {
    font-size: 1.05rem;
    font-weight: 800;
}

.day-date[b-tczqgwhcev] {
    font-size: .8rem;
    color: var(--a-muted);
}

.day-count[b-tczqgwhcev] {
    margin-inline-start: auto;
    padding: 1px 10px;
    border-radius: 10px;
    font-size: .72rem;
    font-weight: 700;
    color: var(--a-muted);
    background: var(--a-surface-2);
    border: 1px solid var(--a-line);
}

.day-head.today .day-title[b-tczqgwhcev] {
    color: var(--a-green);
}

.day-head.today .day-count[b-tczqgwhcev] {
    color: var(--a-green);
    border-color: var(--a-green);
}

.day-head.past .day-title[b-tczqgwhcev] {
    color: var(--a-muted);
}

.card-grid[b-tczqgwhcev] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 12px;
}

.appt-card[b-tczqgwhcev] {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--a-line);
    border-radius: 16px;
    background: var(--a-surface);
    transition: transform .15s ease, box-shadow .15s ease;
}

    .appt-card:hover[b-tczqgwhcev] {
        transform: translateY(-2px);
        box-shadow: var(--mud-elevation-4);
    }

    .appt-card.today[b-tczqgwhcev] {
        border-inline-start: 4px solid var(--a-green);
    }

    .appt-card.skeleton[b-tczqgwhcev] {
        height: 170px;
    }

.card-top[b-tczqgwhcev] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-time[b-tczqgwhcev] {
    flex: none;
    display: grid;
    justify-items: center;
    min-width: 52px;
    padding: 5px 8px;
    border-radius: 12px;
    line-height: 1.1;
    background: color-mix(in srgb, var(--a-primary) 10%, transparent);
    color: var(--a-primary);
}

    .card-time strong[b-tczqgwhcev] {
        font-size: .95rem;
        font-weight: 800;
    }

    .card-time small[b-tczqgwhcev] {
        font-size: .62rem;
        font-weight: 700;
        letter-spacing: .05em;
    }

.card-body[b-tczqgwhcev] {
    display: grid;
    gap: 6px;
    justify-items: start;
}

    .card-body .treatment[b-tczqgwhcev], .card-body .services[b-tczqgwhcev] {
        max-width: none;
    }

    .card-body .services[b-tczqgwhcev] {
        display: flex;
        align-items: center;
        gap: 4px;
    }

        .card-body .services[b-tczqgwhcev]  svg {
            width: 15px;
            height: 15px;
            flex: none;
        }

.card-foot[b-tczqgwhcev] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px dashed var(--a-line);
}

.card-meds[b-tczqgwhcev] {
    min-width: 0;
}

.show-more[b-tczqgwhcev] {
    display: flex;
    justify-content: center;
    padding: 6px 0 12px;
}

/* ── Small screens ─────────────────────────────────────── */
@media (max-width: 900px) {
    .stat-row[b-tczqgwhcev] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .toolbar[b-tczqgwhcev] {
        padding: 12px;
    }

    .toolbar-doctor[b-tczqgwhcev] {
        flex: 1 1 100%;
    }

    .view-toggle span[b-tczqgwhcev] {
        display: none;
    }

    .toolbar-actions[b-tczqgwhcev] {
        flex: 1 1 100%;
        margin-inline-start: 0;
        justify-content: space-between;
    }

    .appts[b-tczqgwhcev]  .new-btn {
        flex: 1;
    }

    .stat-text strong[b-tczqgwhcev] {
        font-size: 1.3rem;
    }

    .card-grid[b-tczqgwhcev] {
        grid-template-columns: 1fr;
    }

    .date-chips[b-tczqgwhcev] {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        width: 100%;
    }

    .date-chip[b-tczqgwhcev] {
        flex: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stat-card[b-tczqgwhcev], .appt-card[b-tczqgwhcev], .date-chip[b-tczqgwhcev] {
        transition: none;
    }

    .live i[b-tczqgwhcev] {
        animation: none;
    }
}
/* /Pages/Expenses/BudgetsList.razor.rz.scp.css */
.ex-list[b-zcqwr4buff] {
    --pay-primary: var(--mud-palette-primary);
    --pay-surface: var(--mud-palette-surface);
    --pay-background-2: var(--mud-palette-background-grey);
    --pay-line: var(--mud-palette-lines-default);
    --pay-text: var(--mud-palette-text-primary);
    --pay-muted: var(--mud-palette-text-secondary);
    display: grid;
    gap: 16px;
    min-width: 0;
}

/* Refresh bar */
.refresh-progress[b-zcqwr4buff] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 28px;
    color: var(--pay-muted);
    font-size: .74rem;
    font-weight: 650;
}

.refresh-progress-track[b-zcqwr4buff] {
    position: relative;
    width: 90px;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix(in srgb, var(--pay-primary) 14%, var(--pay-background-2));
}

.refresh-progress-bar[b-zcqwr4buff] {
    position: absolute;
    inset-block: 0;
    width: 38%;
    border-radius: inherit;
    background: var(--pay-primary);
    animation: ex-refresh-b-zcqwr4buff 1.15s ease-in-out infinite;
}

@keyframes ex-refresh-b-zcqwr4buff {
    0% {
        inset-inline-start: -40%;
    }

    50% {
        inset-inline-start: 55%;
    }

    100% {
        inset-inline-start: 110%;
    }
}

/* Filters */
.filter-row[b-zcqwr4buff] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px;
    overflow-x: auto;
    scrollbar-width: none;
    border: 1px solid var(--pay-line);
    border-radius: 13px;
    background: var(--pay-background-2);
}

.filter-row[b-zcqwr4buff]::-webkit-scrollbar {
        display: none;
    }

.filter-chip[b-zcqwr4buff] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 36px;
    padding: 6px 11px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--pay-muted);
    font: inherit;
    font-size: .78rem;
    font-weight: 650;
    cursor: pointer;
    white-space: nowrap;
    transition: all .16s ease;
}

.filter-chip:hover[b-zcqwr4buff] {
        color: var(--pay-text);
        background: color-mix(in srgb, var(--pay-surface) 70%, transparent);
    }

.filter-chip.on[b-zcqwr4buff] {
        border-color: color-mix(in srgb, var(--pay-primary) 22%, var(--pay-line));
        color: var(--pay-primary);
        background: var(--pay-surface);
        box-shadow: 0 1px 3px rgba(0,0,0,.06);
    }

.filter-chip.on[b-zcqwr4buff]::before {
            content: "";
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--pay-primary);
        }

.chip-count[b-zcqwr4buff] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    border: 1px solid var(--pay-line);
    border-radius: 7px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .68rem;
    font-weight: 750;
}

.filter-chip.on .chip-count[b-zcqwr4buff] {
    border-color: transparent;
    background: var(--pay-primary);
    color: #fff;
}

/* Toolbar */
.ex-toolbar[b-zcqwr4buff] {
    display: grid;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.toolbar-main[b-zcqwr4buff] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box[b-zcqwr4buff] {
    flex: 1 1 auto;
    min-width: 220px;
}

.toolbar-actions[b-zcqwr4buff] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.view-switch[b-zcqwr4buff] {
    display: inline-flex;
    padding: 3px;
    gap: 2px;
    border: 1px solid var(--pay-line);
    border-radius: 12px;
    background: var(--pay-background-2);
}

.view-switch button[b-zcqwr4buff] {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: 34px;
        padding: 6px 12px;
        border: 0;
        border-radius: 9px;
        background: transparent;
        color: var(--pay-muted);
        font: inherit;
        font-size: .8rem;
        font-weight: 650;
        cursor: pointer;
    }

.view-switch button.active[b-zcqwr4buff] {
            color: var(--pay-primary);
            background: var(--pay-surface);
            box-shadow: var(--mud-elevation-1);
        }

.toolbar-status[b-zcqwr4buff] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 22px;
}

.result-summary[b-zcqwr4buff] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pay-muted);
    font-size: .8rem;
}

.result-summary strong[b-zcqwr4buff] {
        color: var(--pay-text);
    }

.clear-button[b-zcqwr4buff] {
    padding: 2px 5px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--pay-primary);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

.clear-button:hover[b-zcqwr4buff] {
        text-decoration: underline;
    }

.live-status[b-zcqwr4buff] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border-radius: 10px;
    color: #15803d;
    background: #f0fdf4;
    font-size: .72rem;
    font-weight: 700;
}

.live-dot[b-zcqwr4buff] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 0 rgba(22,163,74,.35);
    animation: ex-pulse-b-zcqwr4buff 1.8s ease-out infinite;
}

@keyframes ex-pulse-b-zcqwr4buff {
    0% {
        box-shadow: 0 0 0 0 rgba(22,163,74,.35);
    }

    100% {
        box-shadow: 0 0 0 7px rgba(22,163,74,0);
    }
}

/* Table */
.ex-list[b-zcqwr4buff]  .ex-table-card {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.ex-list[b-zcqwr4buff]  .ex-table th {
    padding-block: 11px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .72rem;
    font-weight: 750;
    white-space: nowrap;
}

.ex-list[b-zcqwr4buff]  .ex-table td {
    padding-block: 12px;
    vertical-align: middle;
}

/* Actions */
.row-actions[b-zcqwr4buff] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
}

/* Skeletons */
.table-skeletons[b-zcqwr4buff] {
    display: grid;
    gap: 8px;
    padding: 12px 16px;
}

.skeleton-row[b-zcqwr4buff] {
    display: grid;
    grid-template-columns: 120px minmax(180px, 1fr) 140px 100px 70px;
    align-items: center;
    gap: 16px;
    min-height: 52px;
}

/* Cards */
.ex-card-grid[b-zcqwr4buff] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 14px;
}

.ex-card[b-zcqwr4buff] {
    position: relative;
    display: grid;
    align-content: start;
    gap: 14px;
    min-height: 180px;
    padding: 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
    cursor: pointer;
    outline: none;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.ex-card:hover[b-zcqwr4buff] {
        transform: translateY(-2px);
        border-color: color-mix(in srgb, var(--pay-primary) 35%, var(--pay-line));
        box-shadow: var(--mud-elevation-3);
    }

.ex-card.selected[b-zcqwr4buff] {
        border-color: var(--pay-primary);
        background: color-mix(in srgb, var(--pay-primary) 4%, var(--pay-surface));
        box-shadow: 0 0 0 1px var(--pay-primary);
    }

.selected-indicator[b-zcqwr4buff] {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-end: 10px;
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    color: #fff;
    background: var(--pay-primary);
}

.ex-card-header[b-zcqwr4buff] {
    display: flex;
    align-items: center;
    gap: 11px;
}

.ex-card-title[b-zcqwr4buff] {
    flex: 1;
    display: grid;
    gap: 3px;
    min-width: 0;
}

.ex-card-title strong[b-zcqwr4buff] {
        font-size: .9rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.ex-card-title span[b-zcqwr4buff] {
        color: var(--pay-muted);
        font-size: .73rem;
    }

.ex-card-content[b-zcqwr4buff] {
    display: grid;
    gap: 12px;
}

.ex-card-footer[b-zcqwr4buff] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px dashed var(--pay-line);
}

.selection-actions[b-zcqwr4buff] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 11px;
    border-top: 1px dashed var(--pay-line);
}

.loading-card[b-zcqwr4buff] {
    grid-template-columns: 48px 1fr;
    align-items: center;
    min-height: 132px;
    cursor: default;
}

.loading-card:hover[b-zcqwr4buff] {
        transform: none;
        box-shadow: none;
    }

.loading-card-content[b-zcqwr4buff] {
    display: grid;
    gap: 8px;
}

.show-more[b-zcqwr4buff] {
    display: flex;
    justify-content: center;
    padding: 2px 0 4px;
}

.remaining-count[b-zcqwr4buff] {
    margin-inline-start: 2px;
    padding: 1px 7px;
    border-radius: 8px;
    background: var(--pay-background-2);
    font-size: .7rem;
}

/* Empty */
.ex-empty[b-zcqwr4buff] {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.empty-state[b-zcqwr4buff] {
    display: grid;
    justify-items: center;
    gap: 9px;
    padding: 58px 20px;
    text-align: center;
}

.empty-icon[b-zcqwr4buff] {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 22px;
    color: var(--pay-primary);
    background: color-mix(in srgb, var(--pay-primary) 10%, transparent);
}

.empty-state h3[b-zcqwr4buff] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.empty-state p[b-zcqwr4buff] {
    max-width: 420px;
    margin: 0 0 6px;
    color: var(--pay-muted);
    font-size: .84rem;
}

/* Responsive */
@media (max-width: 900px) {
    .toolbar-main[b-zcqwr4buff] {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box[b-zcqwr4buff] {
        width: 100%;
    }

    .toolbar-actions[b-zcqwr4buff] {
        justify-content: flex-end;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .ex-toolbar[b-zcqwr4buff] {
        padding: 12px;
    }

    .toolbar-actions[b-zcqwr4buff] {
        display: grid;
        grid-template-columns: auto auto 1fr;
        width: 100%;
    }

    .ex-card-grid[b-zcqwr4buff] {
        grid-template-columns: 1fr;
    }

    .skeleton-row[b-zcqwr4buff] {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ex-card[b-zcqwr4buff], .live-dot[b-zcqwr4buff], .refresh-progress-bar[b-zcqwr4buff] {
        transition: none;
        animation: none;
    }
}

/* ── Shared inventory building blocks ── */
.ex-identity[b-zcqwr4buff] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.ex-avatar[b-zcqwr4buff] {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

    .ex-avatar.large[b-zcqwr4buff] {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

.avatar-0[b-zcqwr4buff] { color: #1d4ed8; background: #dbeafe; }
.avatar-1[b-zcqwr4buff] { color: #be185d; background: #fce7f3; }
.avatar-2[b-zcqwr4buff] { color: #15803d; background: #dcfce7; }
.avatar-3[b-zcqwr4buff] { color: #b45309; background: #fef3c7; }
.avatar-4[b-zcqwr4buff] { color: #6d28d9; background: #ede9fe; }
.avatar-5[b-zcqwr4buff] { color: #0f766e; background: #ccfbf1; }

.ex-name[b-zcqwr4buff] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

    .ex-name strong[b-zcqwr4buff] {
        font-size: .9rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ex-name small[b-zcqwr4buff] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.cell-stack[b-zcqwr4buff] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

    .cell-stack strong[b-zcqwr4buff] {
        font-size: .85rem;
        font-weight: 700;
    }

    .cell-stack small[b-zcqwr4buff] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.mono[b-zcqwr4buff] {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 8px;
    color: #1d4ed8;
    background: #dbeafe;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .78rem;
    font-weight: 700;
}

.money[b-zcqwr4buff] {
    font-weight: 750;
    white-space: nowrap;
}

.field-label[b-zcqwr4buff] {
    color: var(--pay-muted);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.status-stack[b-zcqwr4buff] {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.status-chip[b-zcqwr4buff] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

    .status-chip.chip-ok[b-zcqwr4buff] { color: #16a34a; background: #dcfce7; }
    .status-chip.chip-warn[b-zcqwr4buff] { color: #b45309; background: #fef3c7; }
    .status-chip.chip-orange[b-zcqwr4buff] { color: #c2410c; background: #ffedd5; }
    .status-chip.chip-danger[b-zcqwr4buff] { color: #dc2626; background: #fee2e2; }
    .status-chip.chip-info[b-zcqwr4buff] { color: #1d4ed8; background: #dbeafe; }
    .status-chip.chip-primary[b-zcqwr4buff] { color: #6d28d9; background: #ede9fe; }
    .status-chip.chip-muted[b-zcqwr4buff] { color: #475569; background: #e2e8f0; }

.stock-cell[b-zcqwr4buff] {
    display: grid;
    gap: 5px;
    min-width: 120px;
}

    .stock-cell .qty[b-zcqwr4buff] {
        display: flex;
        align-items: baseline;
        gap: 5px;
        font-weight: 800;
        font-size: .95rem;
    }

        .stock-cell .qty small[b-zcqwr4buff] {
            color: var(--pay-muted);
            font-size: .7rem;
            font-weight: 650;
        }

.stock-meter[b-zcqwr4buff] {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--pay-background-2);
}

    .stock-meter > span[b-zcqwr4buff] {
        display: block;
        height: 100%;
        border-radius: inherit;
        background: #16a34a;
    }

    .stock-meter.warn > span[b-zcqwr4buff] { background: #f59e0b; }
    .stock-meter.danger > span[b-zcqwr4buff] { background: #dc2626; }

.stat-grid[b-zcqwr4buff] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-item[b-zcqwr4buff] {
    display: grid;
    gap: 4px;
}

.stat-value[b-zcqwr4buff] {
    font-size: .95rem;
    font-weight: 750;
}

.expiry-warn[b-zcqwr4buff] { color: #dc2626; font-weight: 700; }

.id-pill[b-zcqwr4buff] {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 6px;
    color: #b45309;
    background: #fef3c7;
    font-size: .68rem;
    font-weight: 700;
}

.ex-avatar[b-zcqwr4buff] {
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.usage[b-zcqwr4buff] {
    display: grid;
    gap: 4px;
    min-width: 150px;
}

.usage-bar[b-zcqwr4buff] {
    height: 8px;
    border-radius: 999px;
    background: var(--mud-palette-background-grey);
    overflow: hidden;
}

    .usage-bar span[b-zcqwr4buff] {
        display: block;
        height: 100%;
        border-radius: inherit;
    }

        .usage-bar span.ok[b-zcqwr4buff] { background: #16a34a; }
        .usage-bar span.warn[b-zcqwr4buff] { background: #f59e0b; }
        .usage-bar span.danger[b-zcqwr4buff] { background: #dc2626; }

.usage small[b-zcqwr4buff] {
    color: var(--mud-palette-text-secondary);
    font-size: .72rem;
}

/* /Pages/Expenses/ExpenseCategoriesList.razor.rz.scp.css */
.ex-list[b-umx2rteo6r] {
    --pay-primary: var(--mud-palette-primary);
    --pay-surface: var(--mud-palette-surface);
    --pay-background-2: var(--mud-palette-background-grey);
    --pay-line: var(--mud-palette-lines-default);
    --pay-text: var(--mud-palette-text-primary);
    --pay-muted: var(--mud-palette-text-secondary);
    display: grid;
    gap: 16px;
    min-width: 0;
}

/* Refresh bar */
.refresh-progress[b-umx2rteo6r] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 28px;
    color: var(--pay-muted);
    font-size: .74rem;
    font-weight: 650;
}

.refresh-progress-track[b-umx2rteo6r] {
    position: relative;
    width: 90px;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix(in srgb, var(--pay-primary) 14%, var(--pay-background-2));
}

.refresh-progress-bar[b-umx2rteo6r] {
    position: absolute;
    inset-block: 0;
    width: 38%;
    border-radius: inherit;
    background: var(--pay-primary);
    animation: ex-refresh-b-umx2rteo6r 1.15s ease-in-out infinite;
}

@keyframes ex-refresh-b-umx2rteo6r {
    0% {
        inset-inline-start: -40%;
    }

    50% {
        inset-inline-start: 55%;
    }

    100% {
        inset-inline-start: 110%;
    }
}

/* Filters */
.filter-row[b-umx2rteo6r] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px;
    overflow-x: auto;
    scrollbar-width: none;
    border: 1px solid var(--pay-line);
    border-radius: 13px;
    background: var(--pay-background-2);
}

.filter-row[b-umx2rteo6r]::-webkit-scrollbar {
        display: none;
    }

.filter-chip[b-umx2rteo6r] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 36px;
    padding: 6px 11px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--pay-muted);
    font: inherit;
    font-size: .78rem;
    font-weight: 650;
    cursor: pointer;
    white-space: nowrap;
    transition: all .16s ease;
}

.filter-chip:hover[b-umx2rteo6r] {
        color: var(--pay-text);
        background: color-mix(in srgb, var(--pay-surface) 70%, transparent);
    }

.filter-chip.on[b-umx2rteo6r] {
        border-color: color-mix(in srgb, var(--pay-primary) 22%, var(--pay-line));
        color: var(--pay-primary);
        background: var(--pay-surface);
        box-shadow: 0 1px 3px rgba(0,0,0,.06);
    }

.filter-chip.on[b-umx2rteo6r]::before {
            content: "";
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--pay-primary);
        }

.chip-count[b-umx2rteo6r] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    border: 1px solid var(--pay-line);
    border-radius: 7px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .68rem;
    font-weight: 750;
}

.filter-chip.on .chip-count[b-umx2rteo6r] {
    border-color: transparent;
    background: var(--pay-primary);
    color: #fff;
}

/* Toolbar */
.ex-toolbar[b-umx2rteo6r] {
    display: grid;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.toolbar-main[b-umx2rteo6r] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box[b-umx2rteo6r] {
    flex: 1 1 auto;
    min-width: 220px;
}

.toolbar-actions[b-umx2rteo6r] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.view-switch[b-umx2rteo6r] {
    display: inline-flex;
    padding: 3px;
    gap: 2px;
    border: 1px solid var(--pay-line);
    border-radius: 12px;
    background: var(--pay-background-2);
}

.view-switch button[b-umx2rteo6r] {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: 34px;
        padding: 6px 12px;
        border: 0;
        border-radius: 9px;
        background: transparent;
        color: var(--pay-muted);
        font: inherit;
        font-size: .8rem;
        font-weight: 650;
        cursor: pointer;
    }

.view-switch button.active[b-umx2rteo6r] {
            color: var(--pay-primary);
            background: var(--pay-surface);
            box-shadow: var(--mud-elevation-1);
        }

.toolbar-status[b-umx2rteo6r] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 22px;
}

.result-summary[b-umx2rteo6r] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pay-muted);
    font-size: .8rem;
}

.result-summary strong[b-umx2rteo6r] {
        color: var(--pay-text);
    }

.clear-button[b-umx2rteo6r] {
    padding: 2px 5px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--pay-primary);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

.clear-button:hover[b-umx2rteo6r] {
        text-decoration: underline;
    }

.live-status[b-umx2rteo6r] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border-radius: 10px;
    color: #15803d;
    background: #f0fdf4;
    font-size: .72rem;
    font-weight: 700;
}

.live-dot[b-umx2rteo6r] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 0 rgba(22,163,74,.35);
    animation: ex-pulse-b-umx2rteo6r 1.8s ease-out infinite;
}

@keyframes ex-pulse-b-umx2rteo6r {
    0% {
        box-shadow: 0 0 0 0 rgba(22,163,74,.35);
    }

    100% {
        box-shadow: 0 0 0 7px rgba(22,163,74,0);
    }
}

/* Table */
.ex-list[b-umx2rteo6r]  .ex-table-card {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.ex-list[b-umx2rteo6r]  .ex-table th {
    padding-block: 11px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .72rem;
    font-weight: 750;
    white-space: nowrap;
}

.ex-list[b-umx2rteo6r]  .ex-table td {
    padding-block: 12px;
    vertical-align: middle;
}

/* Actions */
.row-actions[b-umx2rteo6r] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
}

/* Skeletons */
.table-skeletons[b-umx2rteo6r] {
    display: grid;
    gap: 8px;
    padding: 12px 16px;
}

.skeleton-row[b-umx2rteo6r] {
    display: grid;
    grid-template-columns: 120px minmax(180px, 1fr) 140px 100px 70px;
    align-items: center;
    gap: 16px;
    min-height: 52px;
}

/* Cards */
.ex-card-grid[b-umx2rteo6r] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 14px;
}

.ex-card[b-umx2rteo6r] {
    position: relative;
    display: grid;
    align-content: start;
    gap: 14px;
    min-height: 180px;
    padding: 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
    cursor: pointer;
    outline: none;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.ex-card:hover[b-umx2rteo6r] {
        transform: translateY(-2px);
        border-color: color-mix(in srgb, var(--pay-primary) 35%, var(--pay-line));
        box-shadow: var(--mud-elevation-3);
    }

.ex-card.selected[b-umx2rteo6r] {
        border-color: var(--pay-primary);
        background: color-mix(in srgb, var(--pay-primary) 4%, var(--pay-surface));
        box-shadow: 0 0 0 1px var(--pay-primary);
    }

.selected-indicator[b-umx2rteo6r] {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-end: 10px;
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    color: #fff;
    background: var(--pay-primary);
}

.ex-card-header[b-umx2rteo6r] {
    display: flex;
    align-items: center;
    gap: 11px;
}

.ex-card-title[b-umx2rteo6r] {
    flex: 1;
    display: grid;
    gap: 3px;
    min-width: 0;
}

.ex-card-title strong[b-umx2rteo6r] {
        font-size: .9rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.ex-card-title span[b-umx2rteo6r] {
        color: var(--pay-muted);
        font-size: .73rem;
    }

.ex-card-content[b-umx2rteo6r] {
    display: grid;
    gap: 12px;
}

.ex-card-footer[b-umx2rteo6r] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px dashed var(--pay-line);
}

.selection-actions[b-umx2rteo6r] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 11px;
    border-top: 1px dashed var(--pay-line);
}

.loading-card[b-umx2rteo6r] {
    grid-template-columns: 48px 1fr;
    align-items: center;
    min-height: 132px;
    cursor: default;
}

.loading-card:hover[b-umx2rteo6r] {
        transform: none;
        box-shadow: none;
    }

.loading-card-content[b-umx2rteo6r] {
    display: grid;
    gap: 8px;
}

.show-more[b-umx2rteo6r] {
    display: flex;
    justify-content: center;
    padding: 2px 0 4px;
}

.remaining-count[b-umx2rteo6r] {
    margin-inline-start: 2px;
    padding: 1px 7px;
    border-radius: 8px;
    background: var(--pay-background-2);
    font-size: .7rem;
}

/* Empty */
.ex-empty[b-umx2rteo6r] {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.empty-state[b-umx2rteo6r] {
    display: grid;
    justify-items: center;
    gap: 9px;
    padding: 58px 20px;
    text-align: center;
}

.empty-icon[b-umx2rteo6r] {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 22px;
    color: var(--pay-primary);
    background: color-mix(in srgb, var(--pay-primary) 10%, transparent);
}

.empty-state h3[b-umx2rteo6r] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.empty-state p[b-umx2rteo6r] {
    max-width: 420px;
    margin: 0 0 6px;
    color: var(--pay-muted);
    font-size: .84rem;
}

/* Responsive */
@media (max-width: 900px) {
    .toolbar-main[b-umx2rteo6r] {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box[b-umx2rteo6r] {
        width: 100%;
    }

    .toolbar-actions[b-umx2rteo6r] {
        justify-content: flex-end;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .ex-toolbar[b-umx2rteo6r] {
        padding: 12px;
    }

    .toolbar-actions[b-umx2rteo6r] {
        display: grid;
        grid-template-columns: auto auto 1fr;
        width: 100%;
    }

    .ex-card-grid[b-umx2rteo6r] {
        grid-template-columns: 1fr;
    }

    .skeleton-row[b-umx2rteo6r] {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ex-card[b-umx2rteo6r], .live-dot[b-umx2rteo6r], .refresh-progress-bar[b-umx2rteo6r] {
        transition: none;
        animation: none;
    }
}

/* ── Shared inventory building blocks ── */
.ex-identity[b-umx2rteo6r] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.ex-avatar[b-umx2rteo6r] {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

    .ex-avatar.large[b-umx2rteo6r] {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

.avatar-0[b-umx2rteo6r] { color: #1d4ed8; background: #dbeafe; }
.avatar-1[b-umx2rteo6r] { color: #be185d; background: #fce7f3; }
.avatar-2[b-umx2rteo6r] { color: #15803d; background: #dcfce7; }
.avatar-3[b-umx2rteo6r] { color: #b45309; background: #fef3c7; }
.avatar-4[b-umx2rteo6r] { color: #6d28d9; background: #ede9fe; }
.avatar-5[b-umx2rteo6r] { color: #0f766e; background: #ccfbf1; }

.ex-name[b-umx2rteo6r] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

    .ex-name strong[b-umx2rteo6r] {
        font-size: .9rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ex-name small[b-umx2rteo6r] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.cell-stack[b-umx2rteo6r] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

    .cell-stack strong[b-umx2rteo6r] {
        font-size: .85rem;
        font-weight: 700;
    }

    .cell-stack small[b-umx2rteo6r] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.mono[b-umx2rteo6r] {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 8px;
    color: #1d4ed8;
    background: #dbeafe;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .78rem;
    font-weight: 700;
}

.money[b-umx2rteo6r] {
    font-weight: 750;
    white-space: nowrap;
}

.field-label[b-umx2rteo6r] {
    color: var(--pay-muted);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.status-stack[b-umx2rteo6r] {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.status-chip[b-umx2rteo6r] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

    .status-chip.chip-ok[b-umx2rteo6r] { color: #16a34a; background: #dcfce7; }
    .status-chip.chip-warn[b-umx2rteo6r] { color: #b45309; background: #fef3c7; }
    .status-chip.chip-orange[b-umx2rteo6r] { color: #c2410c; background: #ffedd5; }
    .status-chip.chip-danger[b-umx2rteo6r] { color: #dc2626; background: #fee2e2; }
    .status-chip.chip-info[b-umx2rteo6r] { color: #1d4ed8; background: #dbeafe; }
    .status-chip.chip-primary[b-umx2rteo6r] { color: #6d28d9; background: #ede9fe; }
    .status-chip.chip-muted[b-umx2rteo6r] { color: #475569; background: #e2e8f0; }

.stock-cell[b-umx2rteo6r] {
    display: grid;
    gap: 5px;
    min-width: 120px;
}

    .stock-cell .qty[b-umx2rteo6r] {
        display: flex;
        align-items: baseline;
        gap: 5px;
        font-weight: 800;
        font-size: .95rem;
    }

        .stock-cell .qty small[b-umx2rteo6r] {
            color: var(--pay-muted);
            font-size: .7rem;
            font-weight: 650;
        }

.stock-meter[b-umx2rteo6r] {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--pay-background-2);
}

    .stock-meter > span[b-umx2rteo6r] {
        display: block;
        height: 100%;
        border-radius: inherit;
        background: #16a34a;
    }

    .stock-meter.warn > span[b-umx2rteo6r] { background: #f59e0b; }
    .stock-meter.danger > span[b-umx2rteo6r] { background: #dc2626; }

.stat-grid[b-umx2rteo6r] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-item[b-umx2rteo6r] {
    display: grid;
    gap: 4px;
}

.stat-value[b-umx2rteo6r] {
    font-size: .95rem;
    font-weight: 750;
}

.expiry-warn[b-umx2rteo6r] { color: #dc2626; font-weight: 700; }

.id-pill[b-umx2rteo6r] {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 6px;
    color: #b45309;
    background: #fef3c7;
    font-size: .68rem;
    font-weight: 700;
}

.ex-avatar[b-umx2rteo6r] {
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .02em;
}
/* /Pages/Expenses/ExpenseRecordsList.razor.rz.scp.css */
.ex-list[b-n2ncwl7ozx] {
    --pay-primary: var(--mud-palette-primary);
    --pay-surface: var(--mud-palette-surface);
    --pay-background-2: var(--mud-palette-background-grey);
    --pay-line: var(--mud-palette-lines-default);
    --pay-text: var(--mud-palette-text-primary);
    --pay-muted: var(--mud-palette-text-secondary);
    display: grid;
    gap: 16px;
    min-width: 0;
}

/* Refresh bar */
.refresh-progress[b-n2ncwl7ozx] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 28px;
    color: var(--pay-muted);
    font-size: .74rem;
    font-weight: 650;
}

.refresh-progress-track[b-n2ncwl7ozx] {
    position: relative;
    width: 90px;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix(in srgb, var(--pay-primary) 14%, var(--pay-background-2));
}

.refresh-progress-bar[b-n2ncwl7ozx] {
    position: absolute;
    inset-block: 0;
    width: 38%;
    border-radius: inherit;
    background: var(--pay-primary);
    animation: ex-refresh-b-n2ncwl7ozx 1.15s ease-in-out infinite;
}

@keyframes ex-refresh-b-n2ncwl7ozx {
    0% {
        inset-inline-start: -40%;
    }

    50% {
        inset-inline-start: 55%;
    }

    100% {
        inset-inline-start: 110%;
    }
}

/* Filters */
.filter-row[b-n2ncwl7ozx] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px;
    overflow-x: auto;
    scrollbar-width: none;
    border: 1px solid var(--pay-line);
    border-radius: 13px;
    background: var(--pay-background-2);
}

.filter-row[b-n2ncwl7ozx]::-webkit-scrollbar {
        display: none;
    }

.filter-chip[b-n2ncwl7ozx] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 36px;
    padding: 6px 11px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--pay-muted);
    font: inherit;
    font-size: .78rem;
    font-weight: 650;
    cursor: pointer;
    white-space: nowrap;
    transition: all .16s ease;
}

.filter-chip:hover[b-n2ncwl7ozx] {
        color: var(--pay-text);
        background: color-mix(in srgb, var(--pay-surface) 70%, transparent);
    }

.filter-chip.on[b-n2ncwl7ozx] {
        border-color: color-mix(in srgb, var(--pay-primary) 22%, var(--pay-line));
        color: var(--pay-primary);
        background: var(--pay-surface);
        box-shadow: 0 1px 3px rgba(0,0,0,.06);
    }

.filter-chip.on[b-n2ncwl7ozx]::before {
            content: "";
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--pay-primary);
        }

.chip-count[b-n2ncwl7ozx] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    border: 1px solid var(--pay-line);
    border-radius: 7px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .68rem;
    font-weight: 750;
}

.filter-chip.on .chip-count[b-n2ncwl7ozx] {
    border-color: transparent;
    background: var(--pay-primary);
    color: #fff;
}

/* Toolbar */
.ex-toolbar[b-n2ncwl7ozx] {
    display: grid;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.toolbar-main[b-n2ncwl7ozx] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box[b-n2ncwl7ozx] {
    flex: 1 1 auto;
    min-width: 220px;
}

.toolbar-actions[b-n2ncwl7ozx] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.view-switch[b-n2ncwl7ozx] {
    display: inline-flex;
    padding: 3px;
    gap: 2px;
    border: 1px solid var(--pay-line);
    border-radius: 12px;
    background: var(--pay-background-2);
}

.view-switch button[b-n2ncwl7ozx] {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: 34px;
        padding: 6px 12px;
        border: 0;
        border-radius: 9px;
        background: transparent;
        color: var(--pay-muted);
        font: inherit;
        font-size: .8rem;
        font-weight: 650;
        cursor: pointer;
    }

.view-switch button.active[b-n2ncwl7ozx] {
            color: var(--pay-primary);
            background: var(--pay-surface);
            box-shadow: var(--mud-elevation-1);
        }

.toolbar-status[b-n2ncwl7ozx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 22px;
}

.result-summary[b-n2ncwl7ozx] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pay-muted);
    font-size: .8rem;
}

.result-summary strong[b-n2ncwl7ozx] {
        color: var(--pay-text);
    }

.clear-button[b-n2ncwl7ozx] {
    padding: 2px 5px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--pay-primary);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

.clear-button:hover[b-n2ncwl7ozx] {
        text-decoration: underline;
    }

.live-status[b-n2ncwl7ozx] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border-radius: 10px;
    color: #15803d;
    background: #f0fdf4;
    font-size: .72rem;
    font-weight: 700;
}

.live-dot[b-n2ncwl7ozx] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 0 rgba(22,163,74,.35);
    animation: ex-pulse-b-n2ncwl7ozx 1.8s ease-out infinite;
}

@keyframes ex-pulse-b-n2ncwl7ozx {
    0% {
        box-shadow: 0 0 0 0 rgba(22,163,74,.35);
    }

    100% {
        box-shadow: 0 0 0 7px rgba(22,163,74,0);
    }
}

/* Table */
.ex-list[b-n2ncwl7ozx]  .ex-table-card {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.ex-list[b-n2ncwl7ozx]  .ex-table th {
    padding-block: 11px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .72rem;
    font-weight: 750;
    white-space: nowrap;
}

.ex-list[b-n2ncwl7ozx]  .ex-table td {
    padding-block: 12px;
    vertical-align: middle;
}

/* Actions */
.row-actions[b-n2ncwl7ozx] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
}

/* Skeletons */
.table-skeletons[b-n2ncwl7ozx] {
    display: grid;
    gap: 8px;
    padding: 12px 16px;
}

.skeleton-row[b-n2ncwl7ozx] {
    display: grid;
    grid-template-columns: 120px minmax(180px, 1fr) 140px 100px 70px;
    align-items: center;
    gap: 16px;
    min-height: 52px;
}

/* Cards */
.ex-card-grid[b-n2ncwl7ozx] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 14px;
}

.ex-card[b-n2ncwl7ozx] {
    position: relative;
    display: grid;
    align-content: start;
    gap: 14px;
    min-height: 180px;
    padding: 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
    cursor: pointer;
    outline: none;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.ex-card:hover[b-n2ncwl7ozx] {
        transform: translateY(-2px);
        border-color: color-mix(in srgb, var(--pay-primary) 35%, var(--pay-line));
        box-shadow: var(--mud-elevation-3);
    }

.ex-card.selected[b-n2ncwl7ozx] {
        border-color: var(--pay-primary);
        background: color-mix(in srgb, var(--pay-primary) 4%, var(--pay-surface));
        box-shadow: 0 0 0 1px var(--pay-primary);
    }

.selected-indicator[b-n2ncwl7ozx] {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-end: 10px;
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    color: #fff;
    background: var(--pay-primary);
}

.ex-card-header[b-n2ncwl7ozx] {
    display: flex;
    align-items: center;
    gap: 11px;
}

.ex-card-title[b-n2ncwl7ozx] {
    flex: 1;
    display: grid;
    gap: 3px;
    min-width: 0;
}

.ex-card-title strong[b-n2ncwl7ozx] {
        font-size: .9rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.ex-card-title span[b-n2ncwl7ozx] {
        color: var(--pay-muted);
        font-size: .73rem;
    }

.ex-card-content[b-n2ncwl7ozx] {
    display: grid;
    gap: 12px;
}

.ex-card-footer[b-n2ncwl7ozx] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px dashed var(--pay-line);
}

.selection-actions[b-n2ncwl7ozx] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 11px;
    border-top: 1px dashed var(--pay-line);
}

.loading-card[b-n2ncwl7ozx] {
    grid-template-columns: 48px 1fr;
    align-items: center;
    min-height: 132px;
    cursor: default;
}

.loading-card:hover[b-n2ncwl7ozx] {
        transform: none;
        box-shadow: none;
    }

.loading-card-content[b-n2ncwl7ozx] {
    display: grid;
    gap: 8px;
}

.show-more[b-n2ncwl7ozx] {
    display: flex;
    justify-content: center;
    padding: 2px 0 4px;
}

.remaining-count[b-n2ncwl7ozx] {
    margin-inline-start: 2px;
    padding: 1px 7px;
    border-radius: 8px;
    background: var(--pay-background-2);
    font-size: .7rem;
}

/* Empty */
.ex-empty[b-n2ncwl7ozx] {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.empty-state[b-n2ncwl7ozx] {
    display: grid;
    justify-items: center;
    gap: 9px;
    padding: 58px 20px;
    text-align: center;
}

.empty-icon[b-n2ncwl7ozx] {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 22px;
    color: var(--pay-primary);
    background: color-mix(in srgb, var(--pay-primary) 10%, transparent);
}

.empty-state h3[b-n2ncwl7ozx] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.empty-state p[b-n2ncwl7ozx] {
    max-width: 420px;
    margin: 0 0 6px;
    color: var(--pay-muted);
    font-size: .84rem;
}

/* Responsive */
@media (max-width: 900px) {
    .toolbar-main[b-n2ncwl7ozx] {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box[b-n2ncwl7ozx] {
        width: 100%;
    }

    .toolbar-actions[b-n2ncwl7ozx] {
        justify-content: flex-end;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .ex-toolbar[b-n2ncwl7ozx] {
        padding: 12px;
    }

    .toolbar-actions[b-n2ncwl7ozx] {
        display: grid;
        grid-template-columns: auto auto 1fr;
        width: 100%;
    }

    .ex-card-grid[b-n2ncwl7ozx] {
        grid-template-columns: 1fr;
    }

    .skeleton-row[b-n2ncwl7ozx] {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ex-card[b-n2ncwl7ozx], .live-dot[b-n2ncwl7ozx], .refresh-progress-bar[b-n2ncwl7ozx] {
        transition: none;
        animation: none;
    }
}

/* ── Shared inventory building blocks ── */
.ex-identity[b-n2ncwl7ozx] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.ex-avatar[b-n2ncwl7ozx] {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

    .ex-avatar.large[b-n2ncwl7ozx] {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

.avatar-0[b-n2ncwl7ozx] { color: #1d4ed8; background: #dbeafe; }
.avatar-1[b-n2ncwl7ozx] { color: #be185d; background: #fce7f3; }
.avatar-2[b-n2ncwl7ozx] { color: #15803d; background: #dcfce7; }
.avatar-3[b-n2ncwl7ozx] { color: #b45309; background: #fef3c7; }
.avatar-4[b-n2ncwl7ozx] { color: #6d28d9; background: #ede9fe; }
.avatar-5[b-n2ncwl7ozx] { color: #0f766e; background: #ccfbf1; }

.ex-name[b-n2ncwl7ozx] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

    .ex-name strong[b-n2ncwl7ozx] {
        font-size: .9rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ex-name small[b-n2ncwl7ozx] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.cell-stack[b-n2ncwl7ozx] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

    .cell-stack strong[b-n2ncwl7ozx] {
        font-size: .85rem;
        font-weight: 700;
    }

    .cell-stack small[b-n2ncwl7ozx] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.mono[b-n2ncwl7ozx] {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 8px;
    color: #1d4ed8;
    background: #dbeafe;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .78rem;
    font-weight: 700;
}

.money[b-n2ncwl7ozx] {
    font-weight: 750;
    white-space: nowrap;
}

.field-label[b-n2ncwl7ozx] {
    color: var(--pay-muted);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.status-stack[b-n2ncwl7ozx] {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.status-chip[b-n2ncwl7ozx] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

    .status-chip.chip-ok[b-n2ncwl7ozx] { color: #16a34a; background: #dcfce7; }
    .status-chip.chip-warn[b-n2ncwl7ozx] { color: #b45309; background: #fef3c7; }
    .status-chip.chip-orange[b-n2ncwl7ozx] { color: #c2410c; background: #ffedd5; }
    .status-chip.chip-danger[b-n2ncwl7ozx] { color: #dc2626; background: #fee2e2; }
    .status-chip.chip-info[b-n2ncwl7ozx] { color: #1d4ed8; background: #dbeafe; }
    .status-chip.chip-primary[b-n2ncwl7ozx] { color: #6d28d9; background: #ede9fe; }
    .status-chip.chip-muted[b-n2ncwl7ozx] { color: #475569; background: #e2e8f0; }

.stock-cell[b-n2ncwl7ozx] {
    display: grid;
    gap: 5px;
    min-width: 120px;
}

    .stock-cell .qty[b-n2ncwl7ozx] {
        display: flex;
        align-items: baseline;
        gap: 5px;
        font-weight: 800;
        font-size: .95rem;
    }

        .stock-cell .qty small[b-n2ncwl7ozx] {
            color: var(--pay-muted);
            font-size: .7rem;
            font-weight: 650;
        }

.stock-meter[b-n2ncwl7ozx] {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--pay-background-2);
}

    .stock-meter > span[b-n2ncwl7ozx] {
        display: block;
        height: 100%;
        border-radius: inherit;
        background: #16a34a;
    }

    .stock-meter.warn > span[b-n2ncwl7ozx] { background: #f59e0b; }
    .stock-meter.danger > span[b-n2ncwl7ozx] { background: #dc2626; }

.stat-grid[b-n2ncwl7ozx] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-item[b-n2ncwl7ozx] {
    display: grid;
    gap: 4px;
}

.stat-value[b-n2ncwl7ozx] {
    font-size: .95rem;
    font-weight: 750;
}

.expiry-warn[b-n2ncwl7ozx] { color: #dc2626; font-weight: 700; }

.id-pill[b-n2ncwl7ozx] {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 6px;
    color: #b45309;
    background: #fef3c7;
    font-size: .68rem;
    font-weight: 700;
}

.ex-avatar[b-n2ncwl7ozx] {
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.amount[b-n2ncwl7ozx] {
    font-weight: 750;
    white-space: nowrap;
}

.reject-note[b-n2ncwl7ozx] {
    display: block;
    max-width: 260px;
    margin-top: 2px;
    color: #dc2626;
    font-size: .7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* /Pages/Expenses/ExpenseReports.razor.rz.scp.css */
.ex-list[b-zg7gjzuqr9] {
    --pay-primary: var(--mud-palette-primary);
    --pay-surface: var(--mud-palette-surface);
    --pay-background-2: var(--mud-palette-background-grey);
    --pay-line: var(--mud-palette-lines-default);
    --pay-text: var(--mud-palette-text-primary);
    --pay-muted: var(--mud-palette-text-secondary);
    display: grid;
    gap: 16px;
    min-width: 0;
}

/* Refresh bar */
.refresh-progress[b-zg7gjzuqr9] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 28px;
    color: var(--pay-muted);
    font-size: .74rem;
    font-weight: 650;
}

.refresh-progress-track[b-zg7gjzuqr9] {
    position: relative;
    width: 90px;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix(in srgb, var(--pay-primary) 14%, var(--pay-background-2));
}

.refresh-progress-bar[b-zg7gjzuqr9] {
    position: absolute;
    inset-block: 0;
    width: 38%;
    border-radius: inherit;
    background: var(--pay-primary);
    animation: ex-refresh-b-zg7gjzuqr9 1.15s ease-in-out infinite;
}

@keyframes ex-refresh-b-zg7gjzuqr9 {
    0% {
        inset-inline-start: -40%;
    }

    50% {
        inset-inline-start: 55%;
    }

    100% {
        inset-inline-start: 110%;
    }
}

/* Filters */
.filter-row[b-zg7gjzuqr9] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px;
    overflow-x: auto;
    scrollbar-width: none;
    border: 1px solid var(--pay-line);
    border-radius: 13px;
    background: var(--pay-background-2);
}

.filter-row[b-zg7gjzuqr9]::-webkit-scrollbar {
        display: none;
    }

.filter-chip[b-zg7gjzuqr9] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 36px;
    padding: 6px 11px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--pay-muted);
    font: inherit;
    font-size: .78rem;
    font-weight: 650;
    cursor: pointer;
    white-space: nowrap;
    transition: all .16s ease;
}

.filter-chip:hover[b-zg7gjzuqr9] {
        color: var(--pay-text);
        background: color-mix(in srgb, var(--pay-surface) 70%, transparent);
    }

.filter-chip.on[b-zg7gjzuqr9] {
        border-color: color-mix(in srgb, var(--pay-primary) 22%, var(--pay-line));
        color: var(--pay-primary);
        background: var(--pay-surface);
        box-shadow: 0 1px 3px rgba(0,0,0,.06);
    }

.filter-chip.on[b-zg7gjzuqr9]::before {
            content: "";
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--pay-primary);
        }

.chip-count[b-zg7gjzuqr9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    border: 1px solid var(--pay-line);
    border-radius: 7px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .68rem;
    font-weight: 750;
}

.filter-chip.on .chip-count[b-zg7gjzuqr9] {
    border-color: transparent;
    background: var(--pay-primary);
    color: #fff;
}

/* Toolbar */
.ex-toolbar[b-zg7gjzuqr9] {
    display: grid;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.toolbar-main[b-zg7gjzuqr9] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box[b-zg7gjzuqr9] {
    flex: 1 1 auto;
    min-width: 220px;
}

.toolbar-actions[b-zg7gjzuqr9] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.view-switch[b-zg7gjzuqr9] {
    display: inline-flex;
    padding: 3px;
    gap: 2px;
    border: 1px solid var(--pay-line);
    border-radius: 12px;
    background: var(--pay-background-2);
}

.view-switch button[b-zg7gjzuqr9] {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: 34px;
        padding: 6px 12px;
        border: 0;
        border-radius: 9px;
        background: transparent;
        color: var(--pay-muted);
        font: inherit;
        font-size: .8rem;
        font-weight: 650;
        cursor: pointer;
    }

.view-switch button.active[b-zg7gjzuqr9] {
            color: var(--pay-primary);
            background: var(--pay-surface);
            box-shadow: var(--mud-elevation-1);
        }

.toolbar-status[b-zg7gjzuqr9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 22px;
}

.result-summary[b-zg7gjzuqr9] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pay-muted);
    font-size: .8rem;
}

.result-summary strong[b-zg7gjzuqr9] {
        color: var(--pay-text);
    }

.clear-button[b-zg7gjzuqr9] {
    padding: 2px 5px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--pay-primary);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

.clear-button:hover[b-zg7gjzuqr9] {
        text-decoration: underline;
    }

.live-status[b-zg7gjzuqr9] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border-radius: 10px;
    color: #15803d;
    background: #f0fdf4;
    font-size: .72rem;
    font-weight: 700;
}

.live-dot[b-zg7gjzuqr9] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 0 rgba(22,163,74,.35);
    animation: ex-pulse-b-zg7gjzuqr9 1.8s ease-out infinite;
}

@keyframes ex-pulse-b-zg7gjzuqr9 {
    0% {
        box-shadow: 0 0 0 0 rgba(22,163,74,.35);
    }

    100% {
        box-shadow: 0 0 0 7px rgba(22,163,74,0);
    }
}

/* Table */
.ex-list[b-zg7gjzuqr9]  .ex-table-card {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.ex-list[b-zg7gjzuqr9]  .ex-table th {
    padding-block: 11px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .72rem;
    font-weight: 750;
    white-space: nowrap;
}

.ex-list[b-zg7gjzuqr9]  .ex-table td {
    padding-block: 12px;
    vertical-align: middle;
}

/* Actions */
.row-actions[b-zg7gjzuqr9] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
}

/* Skeletons */
.table-skeletons[b-zg7gjzuqr9] {
    display: grid;
    gap: 8px;
    padding: 12px 16px;
}

.skeleton-row[b-zg7gjzuqr9] {
    display: grid;
    grid-template-columns: 120px minmax(180px, 1fr) 140px 100px 70px;
    align-items: center;
    gap: 16px;
    min-height: 52px;
}

/* Cards */
.ex-card-grid[b-zg7gjzuqr9] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 14px;
}

.ex-card[b-zg7gjzuqr9] {
    position: relative;
    display: grid;
    align-content: start;
    gap: 14px;
    min-height: 180px;
    padding: 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
    cursor: pointer;
    outline: none;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.ex-card:hover[b-zg7gjzuqr9] {
        transform: translateY(-2px);
        border-color: color-mix(in srgb, var(--pay-primary) 35%, var(--pay-line));
        box-shadow: var(--mud-elevation-3);
    }

.ex-card.selected[b-zg7gjzuqr9] {
        border-color: var(--pay-primary);
        background: color-mix(in srgb, var(--pay-primary) 4%, var(--pay-surface));
        box-shadow: 0 0 0 1px var(--pay-primary);
    }

.selected-indicator[b-zg7gjzuqr9] {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-end: 10px;
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    color: #fff;
    background: var(--pay-primary);
}

.ex-card-header[b-zg7gjzuqr9] {
    display: flex;
    align-items: center;
    gap: 11px;
}

.ex-card-title[b-zg7gjzuqr9] {
    flex: 1;
    display: grid;
    gap: 3px;
    min-width: 0;
}

.ex-card-title strong[b-zg7gjzuqr9] {
        font-size: .9rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.ex-card-title span[b-zg7gjzuqr9] {
        color: var(--pay-muted);
        font-size: .73rem;
    }

.ex-card-content[b-zg7gjzuqr9] {
    display: grid;
    gap: 12px;
}

.ex-card-footer[b-zg7gjzuqr9] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px dashed var(--pay-line);
}

.selection-actions[b-zg7gjzuqr9] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 11px;
    border-top: 1px dashed var(--pay-line);
}

.loading-card[b-zg7gjzuqr9] {
    grid-template-columns: 48px 1fr;
    align-items: center;
    min-height: 132px;
    cursor: default;
}

.loading-card:hover[b-zg7gjzuqr9] {
        transform: none;
        box-shadow: none;
    }

.loading-card-content[b-zg7gjzuqr9] {
    display: grid;
    gap: 8px;
}

.show-more[b-zg7gjzuqr9] {
    display: flex;
    justify-content: center;
    padding: 2px 0 4px;
}

.remaining-count[b-zg7gjzuqr9] {
    margin-inline-start: 2px;
    padding: 1px 7px;
    border-radius: 8px;
    background: var(--pay-background-2);
    font-size: .7rem;
}

/* Empty */
.ex-empty[b-zg7gjzuqr9] {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.empty-state[b-zg7gjzuqr9] {
    display: grid;
    justify-items: center;
    gap: 9px;
    padding: 58px 20px;
    text-align: center;
}

.empty-icon[b-zg7gjzuqr9] {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 22px;
    color: var(--pay-primary);
    background: color-mix(in srgb, var(--pay-primary) 10%, transparent);
}

.empty-state h3[b-zg7gjzuqr9] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.empty-state p[b-zg7gjzuqr9] {
    max-width: 420px;
    margin: 0 0 6px;
    color: var(--pay-muted);
    font-size: .84rem;
}

/* Responsive */
@media (max-width: 900px) {
    .toolbar-main[b-zg7gjzuqr9] {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box[b-zg7gjzuqr9] {
        width: 100%;
    }

    .toolbar-actions[b-zg7gjzuqr9] {
        justify-content: flex-end;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .ex-toolbar[b-zg7gjzuqr9] {
        padding: 12px;
    }

    .toolbar-actions[b-zg7gjzuqr9] {
        display: grid;
        grid-template-columns: auto auto 1fr;
        width: 100%;
    }

    .ex-card-grid[b-zg7gjzuqr9] {
        grid-template-columns: 1fr;
    }

    .skeleton-row[b-zg7gjzuqr9] {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ex-card[b-zg7gjzuqr9], .live-dot[b-zg7gjzuqr9], .refresh-progress-bar[b-zg7gjzuqr9] {
        transition: none;
        animation: none;
    }
}

/* ── Shared inventory building blocks ── */
.ex-identity[b-zg7gjzuqr9] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.ex-avatar[b-zg7gjzuqr9] {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

    .ex-avatar.large[b-zg7gjzuqr9] {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

.avatar-0[b-zg7gjzuqr9] { color: #1d4ed8; background: #dbeafe; }
.avatar-1[b-zg7gjzuqr9] { color: #be185d; background: #fce7f3; }
.avatar-2[b-zg7gjzuqr9] { color: #15803d; background: #dcfce7; }
.avatar-3[b-zg7gjzuqr9] { color: #b45309; background: #fef3c7; }
.avatar-4[b-zg7gjzuqr9] { color: #6d28d9; background: #ede9fe; }
.avatar-5[b-zg7gjzuqr9] { color: #0f766e; background: #ccfbf1; }

.ex-name[b-zg7gjzuqr9] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

    .ex-name strong[b-zg7gjzuqr9] {
        font-size: .9rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ex-name small[b-zg7gjzuqr9] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.cell-stack[b-zg7gjzuqr9] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

    .cell-stack strong[b-zg7gjzuqr9] {
        font-size: .85rem;
        font-weight: 700;
    }

    .cell-stack small[b-zg7gjzuqr9] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.mono[b-zg7gjzuqr9] {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 8px;
    color: #1d4ed8;
    background: #dbeafe;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .78rem;
    font-weight: 700;
}

.money[b-zg7gjzuqr9] {
    font-weight: 750;
    white-space: nowrap;
}

.field-label[b-zg7gjzuqr9] {
    color: var(--pay-muted);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.status-stack[b-zg7gjzuqr9] {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.status-chip[b-zg7gjzuqr9] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

    .status-chip.chip-ok[b-zg7gjzuqr9] { color: #16a34a; background: #dcfce7; }
    .status-chip.chip-warn[b-zg7gjzuqr9] { color: #b45309; background: #fef3c7; }
    .status-chip.chip-orange[b-zg7gjzuqr9] { color: #c2410c; background: #ffedd5; }
    .status-chip.chip-danger[b-zg7gjzuqr9] { color: #dc2626; background: #fee2e2; }
    .status-chip.chip-info[b-zg7gjzuqr9] { color: #1d4ed8; background: #dbeafe; }
    .status-chip.chip-primary[b-zg7gjzuqr9] { color: #6d28d9; background: #ede9fe; }
    .status-chip.chip-muted[b-zg7gjzuqr9] { color: #475569; background: #e2e8f0; }

.stock-cell[b-zg7gjzuqr9] {
    display: grid;
    gap: 5px;
    min-width: 120px;
}

    .stock-cell .qty[b-zg7gjzuqr9] {
        display: flex;
        align-items: baseline;
        gap: 5px;
        font-weight: 800;
        font-size: .95rem;
    }

        .stock-cell .qty small[b-zg7gjzuqr9] {
            color: var(--pay-muted);
            font-size: .7rem;
            font-weight: 650;
        }

.stock-meter[b-zg7gjzuqr9] {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--pay-background-2);
}

    .stock-meter > span[b-zg7gjzuqr9] {
        display: block;
        height: 100%;
        border-radius: inherit;
        background: #16a34a;
    }

    .stock-meter.warn > span[b-zg7gjzuqr9] { background: #f59e0b; }
    .stock-meter.danger > span[b-zg7gjzuqr9] { background: #dc2626; }

.stat-grid[b-zg7gjzuqr9] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-item[b-zg7gjzuqr9] {
    display: grid;
    gap: 4px;
}

.stat-value[b-zg7gjzuqr9] {
    font-size: .95rem;
    font-weight: 750;
}

.expiry-warn[b-zg7gjzuqr9] { color: #dc2626; font-weight: 700; }

.id-pill[b-zg7gjzuqr9] {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 6px;
    color: #b45309;
    background: #fef3c7;
    font-size: .68rem;
    font-weight: 700;
}

.ex-avatar[b-zg7gjzuqr9] {
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.usage[b-zg7gjzuqr9] {
    display: grid;
    gap: 4px;
    min-width: 150px;
}

.usage-bar[b-zg7gjzuqr9] {
    height: 8px;
    border-radius: 999px;
    background: var(--mud-palette-background-grey);
    overflow: hidden;
}

    .usage-bar span[b-zg7gjzuqr9] {
        display: block;
        height: 100%;
        border-radius: inherit;
    }

        .usage-bar span.ok[b-zg7gjzuqr9] { background: #16a34a; }
        .usage-bar span.warn[b-zg7gjzuqr9] { background: #f59e0b; }
        .usage-bar span.danger[b-zg7gjzuqr9] { background: #dc2626; }

.usage small[b-zg7gjzuqr9] {
    color: var(--mud-palette-text-secondary);
    font-size: .72rem;
}


.rep-filters[b-zg7gjzuqr9] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 14px;
    background: var(--mud-palette-surface);
}

.rep-quick[b-zg7gjzuqr9] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rep-grid[b-zg7gjzuqr9] {
    display: grid;
    gap: 16px;
}

.rep-card[b-zg7gjzuqr9] {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 14px;
    background: var(--mud-palette-surface);
}

    .rep-card h3[b-zg7gjzuqr9] {
        margin: 0;
        font-size: .95rem;
        font-weight: 750;
    }

.rep-cat-row[b-zg7gjzuqr9] {
    display: grid;
    grid-template-columns: minmax(120px, 1.2fr) minmax(140px, 2fr) auto;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

    .rep-cat-row:last-child[b-zg7gjzuqr9] {
        border-bottom: 0;
    }

    .rep-cat-row small[b-zg7gjzuqr9] {
        display: block;
        color: var(--mud-palette-text-secondary);
        font-size: .72rem;
    }

@media (max-width: 700px) {
    .rep-cat-row[b-zg7gjzuqr9] {
        grid-template-columns: 1fr;
    }
}

.kpi-grid[b-zg7gjzuqr9] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
    gap: 12px;
}

.kpi[b-zg7gjzuqr9] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 14px;
    background: var(--mud-palette-surface);
}

.kpi-icon[b-zg7gjzuqr9] {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.avatar-0[b-zg7gjzuqr9] { color: #1d4ed8; background: #dbeafe; }
.avatar-1[b-zg7gjzuqr9] { color: #be185d; background: #fce7f3; }
.avatar-3[b-zg7gjzuqr9] { color: #b45309; background: #fef3c7; }

.kpi-text[b-zg7gjzuqr9] {
    display: grid;
    min-width: 0;
}

    .kpi-text small[b-zg7gjzuqr9], .kpi-text em[b-zg7gjzuqr9] {
        color: var(--mud-palette-text-secondary);
        font-size: .72rem;
        font-style: normal;
    }

    .kpi-text strong[b-zg7gjzuqr9] {
        font-size: 1.15rem;
        font-weight: 800;
    }

.muted[b-zg7gjzuqr9] {
    margin: 0;
    color: var(--mud-palette-text-secondary);
    font-size: .85rem;
}
/* /Pages/Expenses/Expenses.razor.rz.scp.css */
.ex-page[b-utqgd27rhy] {
    --ins-primary: var(--mud-palette-primary);
    --ins-surface: var(--mud-palette-surface);
    --ins-line: var(--mud-palette-lines-default);
    --ins-muted: var(--mud-palette-text-secondary);
    display: grid;
    gap: 16px;
    min-width: 0;
}

.ex-tabs[b-utqgd27rhy] {
    display: flex;
    gap: 6px;
    padding: 4px;
    border: 1px solid var(--ins-line);
    border-radius: 14px;
    background: var(--mud-palette-background-grey);
    overflow-x: auto;
    scrollbar-width: none;
}

    .ex-tabs[b-utqgd27rhy]::-webkit-scrollbar {
        display: none;
    }

.ex-tab[b-utqgd27rhy] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--ins-muted);
    font: inherit;
    font-size: .85rem;
    font-weight: 650;
    cursor: pointer;
    white-space: nowrap;
    transition: all .15s ease;
}

    .ex-tab:hover[b-utqgd27rhy] {
        color: var(--mud-palette-text-primary);
        background: color-mix(in srgb, var(--ins-surface) 60%, transparent);
    }

    .ex-tab.active[b-utqgd27rhy] {
        color: var(--ins-primary);
        background: var(--ins-surface);
        border-color: color-mix(in srgb, var(--ins-primary) 22%, var(--ins-line));
        box-shadow: var(--mud-elevation-1);
    }

    .ex-tab .tab-count[b-utqgd27rhy] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 22px;
        height: 22px;
        padding: 0 6px;
        border-radius: 7px;
        background: var(--mud-palette-background-grey);
        color: var(--ins-muted);
        font-size: .68rem;
        font-weight: 750;
    }

    .ex-tab.active .tab-count[b-utqgd27rhy] {
        background: var(--ins-primary);
        color: #fff;
    }
/* /Pages/Expenses/ExpensesOverview.razor.rz.scp.css */
.ex-ov[b-e4wj19sm4j] {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.ov-head[b-e4wj19sm4j] {
    display: flex;
    align-items: center;
}

.kpi-grid[b-e4wj19sm4j] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
    gap: 12px;
}

.kpi[b-e4wj19sm4j] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 14px;
    background: var(--mud-palette-surface);
    color: inherit;
    font: inherit;
    text-align: start;
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

    .kpi:hover[b-e4wj19sm4j] {
        transform: translateY(-2px);
        border-color: color-mix(in srgb, var(--mud-palette-primary) 35%, var(--mud-palette-lines-default));
        box-shadow: var(--mud-elevation-3);
    }

.kpi-icon[b-e4wj19sm4j] {
    display: grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
}

.avatar-0[b-e4wj19sm4j] { color: #1d4ed8; background: #dbeafe; }
.avatar-1[b-e4wj19sm4j] { color: #be185d; background: #fce7f3; }
.avatar-2[b-e4wj19sm4j] { color: #15803d; background: #dcfce7; }
.avatar-3[b-e4wj19sm4j] { color: #b45309; background: #fef3c7; }
.avatar-4[b-e4wj19sm4j] { color: #6d28d9; background: #ede9fe; }
.avatar-5[b-e4wj19sm4j] { color: #0f766e; background: #ccfbf1; }

.kpi-text[b-e4wj19sm4j] {
    display: grid;
    gap: 1px;
    min-width: 0;
}

    .kpi-text small[b-e4wj19sm4j] {
        color: var(--mud-palette-text-secondary);
        font-size: .72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .03em;
    }

    .kpi-text strong[b-e4wj19sm4j] {
        font-size: 1.25rem;
        font-weight: 800;
    }

    .kpi-text em[b-e4wj19sm4j] {
        color: var(--mud-palette-text-secondary);
        font-size: .72rem;
        font-style: normal;
    }

.ov-grid[b-e4wj19sm4j] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 14px;
}

.ov-panel[b-e4wj19sm4j] {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 16px;
    background: var(--mud-palette-surface);
}

    .ov-panel header[b-e4wj19sm4j] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

        .ov-panel header.mt[b-e4wj19sm4j] {
            margin-top: 10px;
        }

    .ov-panel h3[b-e4wj19sm4j] {
        margin: 0;
        font-size: .95rem;
        font-weight: 800;
    }

    .ov-panel .link[b-e4wj19sm4j] {
        border: 0;
        background: transparent;
        color: var(--mud-palette-primary);
        font: inherit;
        font-size: .78rem;
        font-weight: 650;
        cursor: pointer;
    }

    .ov-panel .muted[b-e4wj19sm4j] {
        margin: 0;
        color: var(--mud-palette-text-secondary);
        font-size: .84rem;
    }

.ov-row[b-e4wj19sm4j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-top: 1px dashed var(--mud-palette-lines-default);
}

.ov-row-main[b-e4wj19sm4j] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

    .ov-row-main strong[b-e4wj19sm4j] {
        font-size: .86rem;
        font-weight: 700;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ov-row-main small[b-e4wj19sm4j] {
        color: var(--mud-palette-text-secondary);
        font-size: .72rem;
    }

.status-chip[b-e4wj19sm4j] {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

    .status-chip.chip-ok[b-e4wj19sm4j] { color: #16a34a; background: #dcfce7; }
    .status-chip.chip-warn[b-e4wj19sm4j] { color: #b45309; background: #fef3c7; }
    .status-chip.chip-orange[b-e4wj19sm4j] { color: #c2410c; background: #ffedd5; }
    .status-chip.chip-danger[b-e4wj19sm4j] { color: #dc2626; background: #fee2e2; }
    .status-chip.chip-info[b-e4wj19sm4j] { color: #1d4ed8; background: #dbeafe; }
    .status-chip.chip-primary[b-e4wj19sm4j] { color: #6d28d9; background: #ede9fe; }
    .status-chip.chip-muted[b-e4wj19sm4j] { color: #475569; background: #e2e8f0; }

.health-bar[b-e4wj19sm4j] {
    display: flex;
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--mud-palette-background-grey);
}

    .health-bar span.ok[b-e4wj19sm4j], .health-legend i.ok[b-e4wj19sm4j] { background: #16a34a; }
    .health-bar span.warn[b-e4wj19sm4j], .health-legend i.warn[b-e4wj19sm4j] { background: #f59e0b; }
    .health-bar span.danger[b-e4wj19sm4j], .health-legend i.danger[b-e4wj19sm4j] { background: #dc2626; }

.health-legend[b-e4wj19sm4j] {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: .78rem;
    color: var(--mud-palette-text-secondary);
}

    .health-legend i[b-e4wj19sm4j] {
        display: inline-block;
        width: 9px;
        height: 9px;
        margin-inline-end: 6px;
        border-radius: 50%;
    }

.pipeline[b-e4wj19sm4j] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
}

.pipe-item[b-e4wj19sm4j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 10px;
}

@media (prefers-reduced-motion: reduce) {
    .kpi[b-e4wj19sm4j] { transition: none; }
}


.usage[b-e4wj19sm4j] {
    display: grid;
    gap: 4px;
    min-width: 150px;
}

.usage-bar[b-e4wj19sm4j] {
    height: 8px;
    border-radius: 999px;
    background: var(--mud-palette-background-grey);
    overflow: hidden;
}

    .usage-bar span[b-e4wj19sm4j] {
        display: block;
        height: 100%;
        border-radius: inherit;
    }

        .usage-bar span.ok[b-e4wj19sm4j] { background: #16a34a; }
        .usage-bar span.warn[b-e4wj19sm4j] { background: #f59e0b; }
        .usage-bar span.danger[b-e4wj19sm4j] { background: #dc2626; }

.usage small[b-e4wj19sm4j] {
    color: var(--mud-palette-text-secondary);
    font-size: .72rem;
}

/* /Pages/Home.razor.rz.scp.css */
.section-heading[b-jnfwzmvwof] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--clinic-ink, #16213E);
    margin-bottom: 16px;
}

.dashboard-subheading[b-jnfwzmvwof] {
    color: var(--clinic-muted, #64748B);
    margin-top: -12px;
}

.quick-actions-row[b-jnfwzmvwof] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.quick-action-btn[b-jnfwzmvwof] {
    border: none;
    border-radius: 10px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: filter 0.15s ease;
}

    .quick-action-btn:hover[b-jnfwzmvwof] {
        filter: brightness(0.96);
    }

    .quick-action-btn:active[b-jnfwzmvwof] {
        transform: scale(0.98);
    }

    .quick-action-btn:focus-visible[b-jnfwzmvwof] {
        outline: 2px solid #635BFF;
        outline-offset: 2px;
    }
/* /Pages/Insurances/ClaimsList.razor.rz.scp.css */
/* Reuse the same visual style as Payments — variables scoped to claims-list */
.claims-list[b-mg053yjq8n] {
    --pay-primary: var(--mud-palette-primary);
    --pay-surface: var(--mud-palette-surface);
    --pay-background-2: var(--mud-palette-background-grey);
    --pay-line: var(--mud-palette-lines-default);
    --pay-text: var(--mud-palette-text-primary);
    --pay-muted: var(--mud-palette-text-secondary);
    display: grid;
    gap: 16px;
    min-width: 0;
}

/* Refresh bar */
.refresh-progress[b-mg053yjq8n] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 28px;
    color: var(--pay-muted);
    font-size: .74rem;
    font-weight: 650;
}

.refresh-progress-track[b-mg053yjq8n] {
    position: relative;
    width: 90px;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix(in srgb, var(--pay-primary) 14%, var(--pay-background-2));
}

.refresh-progress-bar[b-mg053yjq8n] {
    position: absolute;
    inset-block: 0;
    width: 38%;
    border-radius: inherit;
    background: var(--pay-primary);
    animation: claim-refresh-b-mg053yjq8n 1.15s ease-in-out infinite;
}

@keyframes claim-refresh-b-mg053yjq8n {
    0% {
        inset-inline-start: -40%;
    }

    50% {
        inset-inline-start: 55%;
    }

    100% {
        inset-inline-start: 110%;
    }
}

/* Filters */
.filter-row[b-mg053yjq8n] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px;
    overflow-x: auto;
    scrollbar-width: none;
    border: 1px solid var(--pay-line);
    border-radius: 13px;
    background: var(--pay-background-2);
}

    .filter-row[b-mg053yjq8n]::-webkit-scrollbar {
        display: none;
    }

.filter-chip[b-mg053yjq8n] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 36px;
    padding: 6px 11px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--pay-muted);
    font: inherit;
    font-size: .78rem;
    font-weight: 650;
    cursor: pointer;
    white-space: nowrap;
    transition: all .16s ease;
}

    .filter-chip:hover[b-mg053yjq8n] {
        color: var(--pay-text);
        background: color-mix(in srgb, var(--pay-surface) 70%, transparent);
    }

    .filter-chip.on[b-mg053yjq8n] {
        border-color: color-mix(in srgb, var(--pay-primary) 22%, var(--pay-line));
        color: var(--pay-primary);
        background: var(--pay-surface);
        box-shadow: 0 1px 3px rgba(0,0,0,.06);
    }

        .filter-chip.on[b-mg053yjq8n]::before {
            content: "";
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--pay-primary);
        }

.chip-count[b-mg053yjq8n] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    border: 1px solid var(--pay-line);
    border-radius: 7px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .68rem;
    font-weight: 750;
}

.filter-chip.on .chip-count[b-mg053yjq8n] {
    border-color: transparent;
    background: var(--pay-primary);
    color: #fff;
}

/* Toolbar */
.claims-toolbar[b-mg053yjq8n] {
    display: grid;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.toolbar-main[b-mg053yjq8n] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box[b-mg053yjq8n] {
    flex: 1 1 auto;
    min-width: 220px;
}

.toolbar-actions[b-mg053yjq8n] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.view-switch[b-mg053yjq8n] {
    display: inline-flex;
    padding: 3px;
    gap: 2px;
    border: 1px solid var(--pay-line);
    border-radius: 12px;
    background: var(--pay-background-2);
}

    .view-switch button[b-mg053yjq8n] {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: 34px;
        padding: 6px 12px;
        border: 0;
        border-radius: 9px;
        background: transparent;
        color: var(--pay-muted);
        font: inherit;
        font-size: .8rem;
        font-weight: 650;
        cursor: pointer;
    }

        .view-switch button.active[b-mg053yjq8n] {
            color: var(--pay-primary);
            background: var(--pay-surface);
            box-shadow: var(--mud-elevation-1);
        }

.toolbar-status[b-mg053yjq8n] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 22px;
}

.result-summary[b-mg053yjq8n] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pay-muted);
    font-size: .8rem;
}

    .result-summary strong[b-mg053yjq8n] {
        color: var(--pay-text);
    }

.clear-button[b-mg053yjq8n] {
    padding: 2px 5px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--pay-primary);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

    .clear-button:hover[b-mg053yjq8n] {
        text-decoration: underline;
    }

.live-status[b-mg053yjq8n] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border-radius: 10px;
    color: #15803d;
    background: #f0fdf4;
    font-size: .72rem;
    font-weight: 700;
}

.live-dot[b-mg053yjq8n] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 0 rgba(22,163,74,.35);
    animation: claim-pulse-b-mg053yjq8n 1.8s ease-out infinite;
}

@keyframes claim-pulse-b-mg053yjq8n {
    0% {
        box-shadow: 0 0 0 0 rgba(22,163,74,.35);
    }

    100% {
        box-shadow: 0 0 0 7px rgba(22,163,74,0);
    }
}

/* Table */
.claims-list[b-mg053yjq8n]  .claims-table-card {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.claims-list[b-mg053yjq8n]  .claims-table th {
    padding-block: 11px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .72rem;
    font-weight: 750;
    white-space: nowrap;
}

.claims-list[b-mg053yjq8n]  .claims-table td {
    padding-block: 12px;
    vertical-align: middle;
}

/* Cells */
.date-cell[b-mg053yjq8n] {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .date-cell > div[b-mg053yjq8n] {
        display: grid;
        gap: 2px;
    }

    .date-cell strong[b-mg053yjq8n] {
        font-size: .85rem;
        font-weight: 700;
    }

    .date-cell small[b-mg053yjq8n] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.claim-number[b-mg053yjq8n] {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 8px;
    color: #1d4ed8;
    background: #dbeafe;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .78rem;
    font-weight: 700;
}

.claim-identity[b-mg053yjq8n] {
    display: flex;
    align-items: center;
    gap: 11px;
}

.claim-avatar[b-mg053yjq8n] {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

    .claim-avatar.large[b-mg053yjq8n] {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

.avatar-0[b-mg053yjq8n] {
    color: #1d4ed8;
    background: #dbeafe;
}

.avatar-1[b-mg053yjq8n] {
    color: #be185d;
    background: #fce7f3;
}

.avatar-2[b-mg053yjq8n] {
    color: #15803d;
    background: #dcfce7;
}

.avatar-3[b-mg053yjq8n] {
    color: #b45309;
    background: #fef3c7;
}

.avatar-4[b-mg053yjq8n] {
    color: #6d28d9;
    background: #ede9fe;
}

.avatar-5[b-mg053yjq8n] {
    color: #0f766e;
    background: #ccfbf1;
}

.claim-name[b-mg053yjq8n] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

    .claim-name strong[b-mg053yjq8n] {
        font-size: .9rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.urgent-badge[b-mg053yjq8n] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 6px;
    color: #dc2626;
    background: #fee2e2;
    font-size: .68rem;
    font-weight: 700;
}

.insurance-cell[b-mg053yjq8n] {
    display: grid;
    gap: 2px;
}

    .insurance-cell strong[b-mg053yjq8n] {
        font-size: .85rem;
        font-weight: 700;
    }

    .insurance-cell small[b-mg053yjq8n] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

/* Amounts */
.amount-chip[b-mg053yjq8n] {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 9px;
    font-size: .8rem;
    font-weight: 700;
    white-space: nowrap;
}

    .amount-chip.billed[b-mg053yjq8n] {
        color: #4500a3;
        background: #ede9fe;
    }

    .amount-chip.approved[b-mg053yjq8n] {
        color: #16a34a;
        background: #dcfce7;
    }

.amount-grid[b-mg053yjq8n] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.amount-item[b-mg053yjq8n] {
    display: grid;
    gap: 4px;
}

.field-label[b-mg053yjq8n] {
    color: var(--pay-muted);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.amount-value[b-mg053yjq8n] {
    font-size: .95rem;
    font-weight: 750;
}

    .amount-value.billed[b-mg053yjq8n] {
        color: #4500a3;
    }

    .amount-value.approved[b-mg053yjq8n] {
        color: #16a34a;
    }

    .amount-value.patient[b-mg053yjq8n] {
        color: #dc2626;
    }

/* Status */
.status-chip[b-mg053yjq8n] {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

    .status-chip.status-draft[b-mg053yjq8n] {
        color: var(--pay-muted);
        background: var(--pay-background-2);
    }

    .status-chip.status-submitted[b-mg053yjq8n] {
        color: #1d4ed8;
        background: #dbeafe;
    }

    .status-chip.status-review[b-mg053yjq8n] {
        color: #b45309;
        background: #fef3c7;
    }

    .status-chip.status-approved[b-mg053yjq8n] {
        color: #16a34a;
        background: #dcfce7;
    }

    .status-chip.status-rejected[b-mg053yjq8n] {
        color: #dc2626;
        background: #fee2e2;
    }

    .status-chip.status-paid[b-mg053yjq8n] {
        color: #0f766e;
        background: #ccfbf1;
    }

    .status-chip.status-closed[b-mg053yjq8n] {
        color: #475569;
        background: #e2e8f0;
    }

    .status-chip.status-default[b-mg053yjq8n] {
        color: var(--pay-muted);
        background: var(--pay-background-2);
    }

/* Actions */
.row-actions[b-mg053yjq8n] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
}

/* Skeletons */
.table-skeletons[b-mg053yjq8n] {
    display: grid;
    gap: 8px;
    padding: 12px 16px;
}

.skeleton-row[b-mg053yjq8n] {
    display: grid;
    grid-template-columns: 120px minmax(180px, 1fr) 140px 100px 70px;
    align-items: center;
    gap: 16px;
    min-height: 52px;
}

/* Cards */
.claim-card-grid[b-mg053yjq8n] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 14px;
}

.claim-card[b-mg053yjq8n] {
    position: relative;
    display: grid;
    align-content: start;
    gap: 14px;
    min-height: 180px;
    padding: 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
    cursor: pointer;
    outline: none;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

    .claim-card:hover[b-mg053yjq8n] {
        transform: translateY(-2px);
        border-color: color-mix(in srgb, var(--pay-primary) 35%, var(--pay-line));
        box-shadow: var(--mud-elevation-3);
    }

    .claim-card.selected[b-mg053yjq8n] {
        border-color: var(--pay-primary);
        background: color-mix(in srgb, var(--pay-primary) 4%, var(--pay-surface));
        box-shadow: 0 0 0 1px var(--pay-primary);
    }

.selected-indicator[b-mg053yjq8n] {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-end: 10px;
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    color: #fff;
    background: var(--pay-primary);
}

.claim-card-header[b-mg053yjq8n] {
    display: flex;
    align-items: center;
    gap: 11px;
}

.claim-card-title[b-mg053yjq8n] {
    flex: 1;
    display: grid;
    gap: 3px;
    min-width: 0;
}

    .claim-card-title strong[b-mg053yjq8n] {
        font-size: .9rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .claim-card-title span[b-mg053yjq8n] {
        color: var(--pay-muted);
        font-size: .73rem;
    }

.claim-card-content[b-mg053yjq8n] {
    display: grid;
    gap: 12px;
}

.claim-card-footer[b-mg053yjq8n] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px dashed var(--pay-line);
}

.selection-actions[b-mg053yjq8n] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 11px;
    border-top: 1px dashed var(--pay-line);
}

.loading-card[b-mg053yjq8n] {
    grid-template-columns: 48px 1fr;
    align-items: center;
    min-height: 132px;
    cursor: default;
}

    .loading-card:hover[b-mg053yjq8n] {
        transform: none;
        box-shadow: none;
    }

.loading-card-content[b-mg053yjq8n] {
    display: grid;
    gap: 8px;
}

.show-more[b-mg053yjq8n] {
    display: flex;
    justify-content: center;
    padding: 2px 0 4px;
}

.remaining-count[b-mg053yjq8n] {
    margin-inline-start: 2px;
    padding: 1px 7px;
    border-radius: 8px;
    background: var(--pay-background-2);
    font-size: .7rem;
}

/* Empty */
.claims-empty[b-mg053yjq8n] {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.empty-state[b-mg053yjq8n] {
    display: grid;
    justify-items: center;
    gap: 9px;
    padding: 58px 20px;
    text-align: center;
}

.empty-icon[b-mg053yjq8n] {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 22px;
    color: var(--pay-primary);
    background: color-mix(in srgb, var(--pay-primary) 10%, transparent);
}

.empty-state h3[b-mg053yjq8n] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.empty-state p[b-mg053yjq8n] {
    max-width: 420px;
    margin: 0 0 6px;
    color: var(--pay-muted);
    font-size: .84rem;
}

/* Responsive */
@media (max-width: 900px) {
    .toolbar-main[b-mg053yjq8n] {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box[b-mg053yjq8n] {
        width: 100%;
    }

    .toolbar-actions[b-mg053yjq8n] {
        justify-content: flex-end;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .claims-toolbar[b-mg053yjq8n] {
        padding: 12px;
    }

    .toolbar-actions[b-mg053yjq8n] {
        display: grid;
        grid-template-columns: auto auto 1fr;
        width: 100%;
    }

    .claim-card-grid[b-mg053yjq8n] {
        grid-template-columns: 1fr;
    }

    .skeleton-row[b-mg053yjq8n] {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .claim-card[b-mg053yjq8n], .live-dot[b-mg053yjq8n], .refresh-progress-bar[b-mg053yjq8n] {
        transition: none;
        animation: none;
    }
}
/* /Pages/Insurances/Insurance.razor.rz.scp.css */
.insurance-page[b-qu2qjp1fr1] {
    --ins-primary: var(--mud-palette-primary);
    --ins-surface: var(--mud-palette-surface);
    --ins-line: var(--mud-palette-lines-default);
    --ins-muted: var(--mud-palette-text-secondary);
    display: grid;
    gap: 16px;
    min-width: 0;
}

.insurance-tabs[b-qu2qjp1fr1] {
    display: flex;
    gap: 6px;
    padding: 4px;
    border: 1px solid var(--ins-line);
    border-radius: 14px;
    background: var(--mud-palette-background-grey);
    overflow-x: auto;
    scrollbar-width: none;
}

    .insurance-tabs[b-qu2qjp1fr1]::-webkit-scrollbar {
        display: none;
    }

.insurance-tab[b-qu2qjp1fr1] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--ins-muted);
    font: inherit;
    font-size: .85rem;
    font-weight: 650;
    cursor: pointer;
    white-space: nowrap;
    transition: all .15s ease;
}

    .insurance-tab:hover[b-qu2qjp1fr1] {
        color: var(--mud-palette-text-primary);
        background: color-mix(in srgb, var(--ins-surface) 60%, transparent);
    }

    .insurance-tab.active[b-qu2qjp1fr1] {
        color: var(--ins-primary);
        background: var(--ins-surface);
        border-color: color-mix(in srgb, var(--ins-primary) 22%, var(--ins-line));
        box-shadow: var(--mud-elevation-1);
    }

    .insurance-tab .tab-count[b-qu2qjp1fr1] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 22px;
        height: 22px;
        padding: 0 6px;
        border-radius: 7px;
        background: var(--mud-palette-background-grey);
        color: var(--ins-muted);
        font-size: .68rem;
        font-weight: 750;
    }

    .insurance-tab.active .tab-count[b-qu2qjp1fr1] {
        background: var(--ins-primary);
        color: #fff;
    }
/* /Pages/Insurances/InsuranceOverview.razor.rz.scp.css */
.ins-overview[b-j7qntbsjr5] {
    --ov-primary: var(--mud-palette-primary);
    --ov-surface: var(--mud-palette-surface);
    --ov-bg2: var(--mud-palette-background-grey);
    --ov-line: var(--mud-palette-lines-default);
    --ov-text: var(--mud-palette-text-primary);
    --ov-muted: var(--mud-palette-text-secondary);
    --ov-ok: var(--mud-palette-success);
    --ov-warn: var(--mud-palette-warning);
    --ov-danger: var(--mud-palette-error);
    --ov-info: var(--mud-palette-info);
    display: grid;
    gap: 16px;
    min-width: 0;
}

/* Toolbar */
.ov-toolbar[b-j7qntbsjr5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ov-updated[b-j7qntbsjr5] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ov-muted);
    font-size: .74rem;
    font-weight: 650;
}

.ov-state[b-j7qntbsjr5] {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 48px 16px;
    color: var(--ov-muted);
    text-align: center;
}

/* KPI cards */
.ov-kpis[b-j7qntbsjr5] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
}

.kpi[b-j7qntbsjr5] {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid var(--ov-line);
    border-inline-start: 4px solid var(--kpi-accent, var(--ov-primary));
    border-radius: 14px;
    background: var(--ov-surface);
    min-width: 0;
}

    .kpi.claims[b-j7qntbsjr5] {
        --kpi-accent: var(--ov-primary);
    }

    .kpi.billed[b-j7qntbsjr5] {
        --kpi-accent: var(--ov-info);
    }

    .kpi.approved[b-j7qntbsjr5] {
        --kpi-accent: var(--ov-ok);
    }

    .kpi.awaiting[b-j7qntbsjr5] {
        --kpi-accent: var(--ov-warn);
    }

    .kpi.collected[b-j7qntbsjr5] {
        --kpi-accent: #1f9d8a;
    }

    .kpi.rate[b-j7qntbsjr5] {
        --kpi-accent: var(--ov-ok);
    }

    .kpi.speed[b-j7qntbsjr5] {
        --kpi-accent: var(--ov-muted);
    }

.kpi-label[b-j7qntbsjr5] {
    color: var(--ov-muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.kpi-value[b-j7qntbsjr5] {
    color: var(--ov-text);
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.kpi small[b-j7qntbsjr5] {
    color: var(--ov-muted);
    font-size: .72rem;
}

.rate-track[b-j7qntbsjr5] {
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--ov-bg2);
}

    .rate-track span[b-j7qntbsjr5] {
        display: block;
        height: 100%;
        border-radius: inherit;
        background: var(--ov-ok);
    }

/* Cards */
.ov-grid[b-j7qntbsjr5] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ov-card[b-j7qntbsjr5] {
    display: grid;
    gap: 12px;
    align-content: start;
    padding: 16px;
    border: 1px solid var(--ov-line);
    border-radius: 14px;
    background: var(--ov-surface);
    min-width: 0;
}

    .ov-card.wide[b-j7qntbsjr5] {
        grid-column: 1 / -1;
    }

.ov-card-head[b-j7qntbsjr5] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ov-muted);
}

    .ov-card-head h3[b-j7qntbsjr5] {
        margin: 0;
        color: var(--ov-text);
        font-size: .9rem;
        font-weight: 750;
    }

.ov-empty[b-j7qntbsjr5] {
    margin: 0;
    color: var(--ov-muted);
    font-size: .8rem;
}

/* Needs attention */
.alert-grid[b-j7qntbsjr5] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px;
}

.alert-card[b-j7qntbsjr5] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid color-mix(in srgb, var(--alert-color) 35%, var(--ov-line));
    border-radius: 12px;
    background: color-mix(in srgb, var(--alert-color) 9%, var(--ov-surface));
    color: var(--ov-text);
    font: inherit;
    text-align: start;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease;
}

    .alert-card:hover[b-j7qntbsjr5] {
        transform: translateY(-1px);
        box-shadow: var(--mud-elevation-2);
    }

    .alert-card.danger[b-j7qntbsjr5] {
        --alert-color: var(--ov-danger);
    }

    .alert-card.warn[b-j7qntbsjr5] {
        --alert-color: var(--ov-warn);
    }

    .alert-card.info[b-j7qntbsjr5] {
        --alert-color: var(--ov-info);
    }

.alert-count[b-j7qntbsjr5] {
    min-width: 28px;
    padding: 2px 8px;
    border-radius: 8px;
    background: var(--alert-color);
    color: #fff;
    font-size: .8rem;
    font-weight: 800;
    text-align: center;
}

.alert-text[b-j7qntbsjr5] {
    font-size: .8rem;
    font-weight: 600;
}

.all-clear[b-j7qntbsjr5] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ov-ok);
    font-size: .82rem;
    font-weight: 650;
}

/* Status distribution */
.stack-bar[b-j7qntbsjr5] {
    display: flex;
    height: 14px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--ov-bg2);
}

    .stack-bar .seg[b-j7qntbsjr5] {
        height: 100%;
        min-width: 3px;
    }

.legend[b-j7qntbsjr5] {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .legend li[b-j7qntbsjr5] {
        display: grid;
        grid-template-columns: 12px 1fr auto auto;
        align-items: center;
        gap: 8px;
        font-size: .8rem;
    }

    .legend small[b-j7qntbsjr5] {
        min-width: 110px;
        color: var(--ov-muted);
        text-align: end;
    }

.dot[b-j7qntbsjr5] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.seg[b-j7qntbsjr5], .dot[b-j7qntbsjr5] {
    background: var(--ov-muted);
}

.st-draft[b-j7qntbsjr5] {
    background: #9aa4b2;
}

.st-submitted[b-j7qntbsjr5] {
    background: var(--ov-info);
}

.st-underreview[b-j7qntbsjr5] {
    background: #7c6cf0;
}

.st-additionalinforequired[b-j7qntbsjr5] {
    background: var(--ov-warn);
}

.st-approved[b-j7qntbsjr5] {
    background: var(--ov-ok);
}

.st-partiallyapproved[b-j7qntbsjr5] {
    background: #7cc576;
}

.st-rejected[b-j7qntbsjr5] {
    background: var(--ov-danger);
}

.st-appealed[b-j7qntbsjr5] {
    background: #e07b39;
}

.st-paid[b-j7qntbsjr5] {
    background: #1f9d8a;
}

.st-closed[b-j7qntbsjr5] {
    background: #5f6b7a;
}

/* Aging */
.aging[b-j7qntbsjr5] {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .aging li[b-j7qntbsjr5] {
        display: grid;
        grid-template-columns: 56px 1fr 34px auto;
        align-items: center;
        gap: 10px;
        font-size: .8rem;
    }

    .aging small[b-j7qntbsjr5] {
        min-width: 70px;
        color: var(--ov-muted);
        text-align: end;
    }

.aging-label[b-j7qntbsjr5] {
    color: var(--ov-muted);
    font-weight: 700;
}

.aging-track[b-j7qntbsjr5] {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--ov-bg2);
}

.aging-fill[b-j7qntbsjr5] {
    display: block;
    height: 100%;
    border-radius: inherit;
}

    .aging-fill.ok[b-j7qntbsjr5] {
        background: var(--ov-ok);
    }

    .aging-fill.mid[b-j7qntbsjr5] {
        background: var(--ov-info);
    }

    .aging-fill.high[b-j7qntbsjr5] {
        background: var(--ov-warn);
    }

    .aging-fill.crit[b-j7qntbsjr5] {
        background: var(--ov-danger);
    }

/* Monthly chart */
.chart-key[b-j7qntbsjr5] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-inline-start: auto;
    color: var(--ov-muted);
    font-size: .72rem;
    font-weight: 650;
}

    .chart-key .k[b-j7qntbsjr5] {
        width: 10px;
        height: 10px;
        margin-inline-start: 8px;
        border-radius: 3px;
    }

.k.billed[b-j7qntbsjr5], .bar.billed[b-j7qntbsjr5] {
    background: var(--ov-primary);
}

.k.approved[b-j7qntbsjr5], .bar.approved[b-j7qntbsjr5] {
    background: var(--ov-ok);
}

.months[b-j7qntbsjr5] {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.month[b-j7qntbsjr5] {
    display: grid;
    justify-items: center;
    gap: 2px;
    font-size: .75rem;
}

    .month small[b-j7qntbsjr5] {
        color: var(--ov-muted);
    }

.bars[b-j7qntbsjr5] {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    width: 100%;
    height: 120px;
    border-bottom: 1px solid var(--ov-line);
}

.bar[b-j7qntbsjr5] {
    width: 38%;
    max-width: 26px;
    min-height: 2px;
    border-radius: 5px 5px 0 0;
}

/* Insurers */
.insurer-table[b-j7qntbsjr5] {
    display: grid;
    overflow-x: auto;
}

    .insurer-table .row[b-j7qntbsjr5] {
        display: grid;
        grid-template-columns: minmax(140px, 2fr) repeat(3, minmax(80px, 1fr)) minmax(120px, 1.2fr);
        align-items: center;
        gap: 10px;
        padding: 9px 4px;
        border-bottom: 1px solid var(--ov-line);
        font-size: .8rem;
    }

        .insurer-table .row.head[b-j7qntbsjr5] {
            color: var(--ov-muted);
            font-size: .7rem;
            font-weight: 750;
            text-transform: uppercase;
        }

        .insurer-table .row:last-child[b-j7qntbsjr5] {
            border-bottom: 0;
        }

    .insurer-table .name[b-j7qntbsjr5] {
        font-weight: 700;
        overflow-wrap: anywhere;
    }

.rate-cell[b-j7qntbsjr5] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mini-track[b-j7qntbsjr5] {
    flex: 1;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--ov-bg2);
}

    .mini-track span[b-j7qntbsjr5] {
        display: block;
        height: 100%;
        background: var(--ov-ok);
    }

/* Snapshot */
.snapshot[b-j7qntbsjr5] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

    .snapshot button[b-j7qntbsjr5] {
        display: grid;
        gap: 2px;
        padding: 12px;
        border: 1px solid var(--ov-line);
        border-radius: 12px;
        background: var(--ov-bg2);
        color: var(--ov-text);
        font: inherit;
        text-align: start;
        cursor: pointer;
    }

        .snapshot button:hover[b-j7qntbsjr5] {
            border-color: var(--ov-primary);
        }

    .snapshot strong[b-j7qntbsjr5] {
        font-size: 1.3rem;
        font-weight: 800;
    }

    .snapshot span[b-j7qntbsjr5] {
        color: var(--ov-muted);
        font-size: .74rem;
        font-weight: 650;
    }

@media (max-width: 900px) {
    .ov-grid[b-j7qntbsjr5] {
        grid-template-columns: 1fr;
    }

    .months[b-j7qntbsjr5] {
        gap: 4px;
    }

    .insurer-table .row[b-j7qntbsjr5] {
        grid-template-columns: minmax(110px, 2fr) repeat(3, minmax(60px, 1fr)) minmax(100px, 1.2fr);
        font-size: .74rem;
    }
}
/* /Pages/Insurances/PoliciesList.razor.rz.scp.css */
.policies-list[b-cefys613tl] {
    --pay-primary: var(--mud-palette-primary);
    --pay-surface: var(--mud-palette-surface);
    --pay-background-2: var(--mud-palette-background-grey);
    --pay-line: var(--mud-palette-lines-default);
    --pay-text: var(--mud-palette-text-primary);
    --pay-muted: var(--mud-palette-text-secondary);
    display: grid;
    gap: 16px;
    min-width: 0;
}

/* Refresh bar */
.refresh-progress[b-cefys613tl] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 28px;
    color: var(--pay-muted);
    font-size: .74rem;
    font-weight: 650;
}

.refresh-progress-track[b-cefys613tl] {
    position: relative;
    width: 90px;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix(in srgb, var(--pay-primary) 14%, var(--pay-background-2));
}

.refresh-progress-bar[b-cefys613tl] {
    position: absolute;
    inset-block: 0;
    width: 38%;
    border-radius: inherit;
    background: var(--pay-primary);
    animation: policy-refresh-b-cefys613tl 1.15s ease-in-out infinite;
}

@keyframes policy-refresh-b-cefys613tl {
    0% {
        inset-inline-start: -40%;
    }

    50% {
        inset-inline-start: 55%;
    }

    100% {
        inset-inline-start: 110%;
    }
}

/* Filters */
.filter-row[b-cefys613tl] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px;
    overflow-x: auto;
    scrollbar-width: none;
    border: 1px solid var(--pay-line);
    border-radius: 13px;
    background: var(--pay-background-2);
}

    .filter-row[b-cefys613tl]::-webkit-scrollbar {
        display: none;
    }

.filter-chip[b-cefys613tl] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 36px;
    padding: 6px 11px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--pay-muted);
    font: inherit;
    font-size: .78rem;
    font-weight: 650;
    cursor: pointer;
    white-space: nowrap;
    transition: all .16s ease;
}

    .filter-chip:hover[b-cefys613tl] {
        color: var(--pay-text);
        background: color-mix(in srgb, var(--pay-surface) 70%, transparent);
    }

    .filter-chip.on[b-cefys613tl] {
        border-color: color-mix(in srgb, var(--pay-primary) 22%, var(--pay-line));
        color: var(--pay-primary);
        background: var(--pay-surface);
        box-shadow: 0 1px 3px rgba(0,0,0,.06);
    }

        .filter-chip.on[b-cefys613tl]::before {
            content: "";
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--pay-primary);
        }

.chip-count[b-cefys613tl] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    border: 1px solid var(--pay-line);
    border-radius: 7px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .68rem;
    font-weight: 750;
}

.filter-chip.on .chip-count[b-cefys613tl] {
    border-color: transparent;
    background: var(--pay-primary);
    color: #fff;
}

/* Toolbar */
.policies-toolbar[b-cefys613tl] {
    display: grid;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.toolbar-main[b-cefys613tl] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box[b-cefys613tl] {
    flex: 1 1 auto;
    min-width: 220px;
}

.toolbar-actions[b-cefys613tl] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.view-switch[b-cefys613tl] {
    display: inline-flex;
    padding: 3px;
    gap: 2px;
    border: 1px solid var(--pay-line);
    border-radius: 12px;
    background: var(--pay-background-2);
}

    .view-switch button[b-cefys613tl] {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: 34px;
        padding: 6px 12px;
        border: 0;
        border-radius: 9px;
        background: transparent;
        color: var(--pay-muted);
        font: inherit;
        font-size: .8rem;
        font-weight: 650;
        cursor: pointer;
    }

        .view-switch button.active[b-cefys613tl] {
            color: var(--pay-primary);
            background: var(--pay-surface);
            box-shadow: var(--mud-elevation-1);
        }

.toolbar-status[b-cefys613tl] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 22px;
}

.result-summary[b-cefys613tl] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pay-muted);
    font-size: .8rem;
}

    .result-summary strong[b-cefys613tl] {
        color: var(--pay-text);
    }

.clear-button[b-cefys613tl] {
    padding: 2px 5px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--pay-primary);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

    .clear-button:hover[b-cefys613tl] {
        text-decoration: underline;
    }

.live-status[b-cefys613tl] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border-radius: 10px;
    color: #15803d;
    background: #f0fdf4;
    font-size: .72rem;
    font-weight: 700;
}

.live-dot[b-cefys613tl] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 0 rgba(22,163,74,.35);
    animation: policy-pulse-b-cefys613tl 1.8s ease-out infinite;
}

@keyframes policy-pulse-b-cefys613tl {
    0% {
        box-shadow: 0 0 0 0 rgba(22,163,74,.35);
    }

    100% {
        box-shadow: 0 0 0 7px rgba(22,163,74,0);
    }
}

/* Table */
.policies-list[b-cefys613tl]  .policies-table-card {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.policies-list[b-cefys613tl]  .policies-table th {
    padding-block: 11px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .72rem;
    font-weight: 750;
    white-space: nowrap;
}

.policies-list[b-cefys613tl]  .policies-table td {
    padding-block: 12px;
    vertical-align: middle;
}

/* Cells */
.date-cell[b-cefys613tl] {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .date-cell > div[b-cefys613tl] {
        display: grid;
        gap: 2px;
    }

    .date-cell strong[b-cefys613tl] {
        font-size: .85rem;
        font-weight: 700;
    }

    .date-cell small[b-cefys613tl] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.policy-number[b-cefys613tl] {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 8px;
    color: #1d4ed8;
    background: #dbeafe;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .78rem;
    font-weight: 700;
}

.policy-identity[b-cefys613tl] {
    display: flex;
    align-items: center;
    gap: 11px;
}

.policy-avatar[b-cefys613tl] {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

    .policy-avatar.large[b-cefys613tl] {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

.avatar-0[b-cefys613tl] {
    color: #1d4ed8;
    background: #dbeafe;
}

.avatar-1[b-cefys613tl] {
    color: #be185d;
    background: #fce7f3;
}

.avatar-2[b-cefys613tl] {
    color: #15803d;
    background: #dcfce7;
}

.avatar-3[b-cefys613tl] {
    color: #b45309;
    background: #fef3c7;
}

.avatar-4[b-cefys613tl] {
    color: #6d28d9;
    background: #ede9fe;
}

.avatar-5[b-cefys613tl] {
    color: #0f766e;
    background: #ccfbf1;
}

.policy-name[b-cefys613tl] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

    .policy-name strong[b-cefys613tl] {
        font-size: .9rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .policy-name small[b-cefys613tl] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.insurance-cell[b-cefys613tl] {
    display: grid;
    gap: 2px;
}

    .insurance-cell strong[b-cefys613tl] {
        font-size: .85rem;
        font-weight: 700;
    }

    .insurance-cell small[b-cefys613tl] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.plan-cell[b-cefys613tl] {
    display: grid;
    gap: 2px;
}

    .plan-cell strong[b-cefys613tl] {
        font-size: .85rem;
        font-weight: 700;
    }

    .plan-cell small[b-cefys613tl] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.coverage-chip[b-cefys613tl] {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 8px;
    color: #0f766e;
    background: #ccfbf1;
    font-size: .78rem;
    font-weight: 750;
}

/* Status */
.status-stack[b-cefys613tl] {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.status-chip[b-cefys613tl] {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

    .status-chip.status-active[b-cefys613tl] {
        color: #16a34a;
        background: #dcfce7;
    }

    .status-chip.status-inactive[b-cefys613tl] {
        color: #dc2626;
        background: #fee2e2;
    }

.primary-badge[b-cefys613tl] {
    display: inline-flex;
    padding: 3px 8px;
    border-radius: 6px;
    color: #b45309;
    background: #fef3c7;
    font-size: .68rem;
    font-weight: 700;
}

.plan-badge[b-cefys613tl] {
    display: inline-flex;
    padding: 3px 8px;
    border-radius: 6px;
    color: #1d4ed8;
    background: #dbeafe;
    font-size: .68rem;
    font-weight: 700;
}

/* Amounts */
.amount-grid[b-cefys613tl] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.amount-item[b-cefys613tl] {
    display: grid;
    gap: 4px;
}

.field-label[b-cefys613tl] {
    color: var(--pay-muted);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.amount-value[b-cefys613tl] {
    font-size: .95rem;
    font-weight: 750;
    color: #4500a3;
}

    .amount-value.coverage[b-cefys613tl] {
        color: #0f766e;
    }

/* Actions */
.row-actions[b-cefys613tl] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
}

/* Skeletons */
.table-skeletons[b-cefys613tl] {
    display: grid;
    gap: 8px;
    padding: 12px 16px;
}

.skeleton-row[b-cefys613tl] {
    display: grid;
    grid-template-columns: 120px minmax(180px, 1fr) 140px 100px 70px;
    align-items: center;
    gap: 16px;
    min-height: 52px;
}

/* Cards */
.policy-card-grid[b-cefys613tl] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 14px;
}

.policy-card[b-cefys613tl] {
    position: relative;
    display: grid;
    align-content: start;
    gap: 14px;
    min-height: 180px;
    padding: 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
    cursor: pointer;
    outline: none;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

    .policy-card:hover[b-cefys613tl] {
        transform: translateY(-2px);
        border-color: color-mix(in srgb, var(--pay-primary) 35%, var(--pay-line));
        box-shadow: var(--mud-elevation-3);
    }

    .policy-card.selected[b-cefys613tl] {
        border-color: var(--pay-primary);
        background: color-mix(in srgb, var(--pay-primary) 4%, var(--pay-surface));
        box-shadow: 0 0 0 1px var(--pay-primary);
    }

.selected-indicator[b-cefys613tl] {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-end: 10px;
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    color: #fff;
    background: var(--pay-primary);
}

.policy-card-header[b-cefys613tl] {
    display: flex;
    align-items: center;
    gap: 11px;
}

.policy-card-title[b-cefys613tl] {
    flex: 1;
    display: grid;
    gap: 3px;
    min-width: 0;
}

    .policy-card-title strong[b-cefys613tl] {
        font-size: .9rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .policy-card-title span[b-cefys613tl] {
        color: var(--pay-muted);
        font-size: .73rem;
    }

.policy-card-content[b-cefys613tl] {
    display: grid;
    gap: 12px;
}

.policy-card-footer[b-cefys613tl] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px dashed var(--pay-line);
}

.selection-actions[b-cefys613tl] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 11px;
    border-top: 1px dashed var(--pay-line);
}

.loading-card[b-cefys613tl] {
    grid-template-columns: 48px 1fr;
    align-items: center;
    min-height: 132px;
    cursor: default;
}

    .loading-card:hover[b-cefys613tl] {
        transform: none;
        box-shadow: none;
    }

.loading-card-content[b-cefys613tl] {
    display: grid;
    gap: 8px;
}

.show-more[b-cefys613tl] {
    display: flex;
    justify-content: center;
    padding: 2px 0 4px;
}

.remaining-count[b-cefys613tl] {
    margin-inline-start: 2px;
    padding: 1px 7px;
    border-radius: 8px;
    background: var(--pay-background-2);
    font-size: .7rem;
}

/* Empty */
.policies-empty[b-cefys613tl] {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.empty-state[b-cefys613tl] {
    display: grid;
    justify-items: center;
    gap: 9px;
    padding: 58px 20px;
    text-align: center;
}

.empty-icon[b-cefys613tl] {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 22px;
    color: var(--pay-primary);
    background: color-mix(in srgb, var(--pay-primary) 10%, transparent);
}

.empty-state h3[b-cefys613tl] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.empty-state p[b-cefys613tl] {
    max-width: 420px;
    margin: 0 0 6px;
    color: var(--pay-muted);
    font-size: .84rem;
}

/* Responsive */
@media (max-width: 900px) {
    .toolbar-main[b-cefys613tl] {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box[b-cefys613tl] {
        width: 100%;
    }

    .toolbar-actions[b-cefys613tl] {
        justify-content: flex-end;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .policies-toolbar[b-cefys613tl] {
        padding: 12px;
    }

    .toolbar-actions[b-cefys613tl] {
        display: grid;
        grid-template-columns: auto auto 1fr;
        width: 100%;
    }

    .policy-card-grid[b-cefys613tl] {
        grid-template-columns: 1fr;
    }

    .skeleton-row[b-cefys613tl] {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .policy-card[b-cefys613tl], .live-dot[b-cefys613tl], .refresh-progress-bar[b-cefys613tl] {
        transition: none;
        animation: none;
    }
}
/* /Pages/Insurances/PreAuthorizationsList.razor.rz.scp.css */
.preauths-list[b-2d7q2egfy9] {
    --pay-primary: var(--mud-palette-primary);
    --pay-surface: var(--mud-palette-surface);
    --pay-background-2: var(--mud-palette-background-grey);
    --pay-line: var(--mud-palette-lines-default);
    --pay-text: var(--mud-palette-text-primary);
    --pay-muted: var(--mud-palette-text-secondary);
    display: grid;
    gap: 16px;
    min-width: 0;
}

/* Refresh bar */
.refresh-progress[b-2d7q2egfy9] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 28px;
    color: var(--pay-muted);
    font-size: .74rem;
    font-weight: 650;
}

.refresh-progress-track[b-2d7q2egfy9] {
    position: relative;
    width: 90px;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix(in srgb, var(--pay-primary) 14%, var(--pay-background-2));
}

.refresh-progress-bar[b-2d7q2egfy9] {
    position: absolute;
    inset-block: 0;
    width: 38%;
    border-radius: inherit;
    background: var(--pay-primary);
    animation: preauth-refresh-b-2d7q2egfy9 1.15s ease-in-out infinite;
}

@keyframes preauth-refresh-b-2d7q2egfy9 {
    0% {
        inset-inline-start: -40%;
    }

    50% {
        inset-inline-start: 55%;
    }

    100% {
        inset-inline-start: 110%;
    }
}

/* Filters */
.filter-row[b-2d7q2egfy9] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px;
    overflow-x: auto;
    scrollbar-width: none;
    border: 1px solid var(--pay-line);
    border-radius: 13px;
    background: var(--pay-background-2);
}

    .filter-row[b-2d7q2egfy9]::-webkit-scrollbar {
        display: none;
    }

.filter-chip[b-2d7q2egfy9] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 36px;
    padding: 6px 11px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--pay-muted);
    font: inherit;
    font-size: .78rem;
    font-weight: 650;
    cursor: pointer;
    white-space: nowrap;
    transition: all .16s ease;
}

    .filter-chip:hover[b-2d7q2egfy9] {
        color: var(--pay-text);
        background: color-mix(in srgb, var(--pay-surface) 70%, transparent);
    }

    .filter-chip.on[b-2d7q2egfy9] {
        border-color: color-mix(in srgb, var(--pay-primary) 22%, var(--pay-line));
        color: var(--pay-primary);
        background: var(--pay-surface);
        box-shadow: 0 1px 3px rgba(0,0,0,.06);
    }

        .filter-chip.on[b-2d7q2egfy9]::before {
            content: "";
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--pay-primary);
        }

.chip-count[b-2d7q2egfy9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    border: 1px solid var(--pay-line);
    border-radius: 7px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .68rem;
    font-weight: 750;
}

.filter-chip.on .chip-count[b-2d7q2egfy9] {
    border-color: transparent;
    background: var(--pay-primary);
    color: #fff;
}

/* Toolbar */
.preauths-toolbar[b-2d7q2egfy9] {
    display: grid;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.toolbar-main[b-2d7q2egfy9] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box[b-2d7q2egfy9] {
    flex: 1 1 auto;
    min-width: 220px;
}

.toolbar-actions[b-2d7q2egfy9] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.view-switch[b-2d7q2egfy9] {
    display: inline-flex;
    padding: 3px;
    gap: 2px;
    border: 1px solid var(--pay-line);
    border-radius: 12px;
    background: var(--pay-background-2);
}

    .view-switch button[b-2d7q2egfy9] {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: 34px;
        padding: 6px 12px;
        border: 0;
        border-radius: 9px;
        background: transparent;
        color: var(--pay-muted);
        font: inherit;
        font-size: .8rem;
        font-weight: 650;
        cursor: pointer;
    }

        .view-switch button.active[b-2d7q2egfy9] {
            color: var(--pay-primary);
            background: var(--pay-surface);
            box-shadow: var(--mud-elevation-1);
        }

.toolbar-status[b-2d7q2egfy9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 22px;
}

.result-summary[b-2d7q2egfy9] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pay-muted);
    font-size: .8rem;
}

    .result-summary strong[b-2d7q2egfy9] {
        color: var(--pay-text);
    }

.clear-button[b-2d7q2egfy9] {
    padding: 2px 5px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--pay-primary);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

    .clear-button:hover[b-2d7q2egfy9] {
        text-decoration: underline;
    }

.live-status[b-2d7q2egfy9] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border-radius: 10px;
    color: #15803d;
    background: #f0fdf4;
    font-size: .72rem;
    font-weight: 700;
}

.live-dot[b-2d7q2egfy9] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 0 rgba(22,163,74,.35);
    animation: preauth-pulse-b-2d7q2egfy9 1.8s ease-out infinite;
}

@keyframes preauth-pulse-b-2d7q2egfy9 {
    0% {
        box-shadow: 0 0 0 0 rgba(22,163,74,.35);
    }

    100% {
        box-shadow: 0 0 0 7px rgba(22,163,74,0);
    }
}

/* Table */
.preauths-list[b-2d7q2egfy9]  .preauths-table-card {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.preauths-list[b-2d7q2egfy9]  .preauths-table th {
    padding-block: 11px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .72rem;
    font-weight: 750;
    white-space: nowrap;
}

.preauths-list[b-2d7q2egfy9]  .preauths-table td {
    padding-block: 12px;
    vertical-align: middle;
}

/* Cells */
.date-cell[b-2d7q2egfy9] {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .date-cell > div[b-2d7q2egfy9] {
        display: grid;
        gap: 2px;
    }

    .date-cell strong[b-2d7q2egfy9] {
        font-size: .85rem;
        font-weight: 700;
    }

    .date-cell small[b-2d7q2egfy9] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.preauth-number[b-2d7q2egfy9] {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 8px;
    color: #0f766e;
    background: #ccfbf1;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .78rem;
    font-weight: 700;
}

.preauth-identity[b-2d7q2egfy9] {
    display: flex;
    align-items: center;
    gap: 11px;
}

.preauth-avatar[b-2d7q2egfy9] {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

    .preauth-avatar.large[b-2d7q2egfy9] {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

.avatar-0[b-2d7q2egfy9] {
    color: #1d4ed8;
    background: #dbeafe;
}

.avatar-1[b-2d7q2egfy9] {
    color: #be185d;
    background: #fce7f3;
}

.avatar-2[b-2d7q2egfy9] {
    color: #15803d;
    background: #dcfce7;
}

.avatar-3[b-2d7q2egfy9] {
    color: #b45309;
    background: #fef3c7;
}

.avatar-4[b-2d7q2egfy9] {
    color: #6d28d9;
    background: #ede9fe;
}

.avatar-5[b-2d7q2egfy9] {
    color: #0f766e;
    background: #ccfbf1;
}

.preauth-name[b-2d7q2egfy9] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

    .preauth-name strong[b-2d7q2egfy9] {
        font-size: .9rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.urgent-badge[b-2d7q2egfy9] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 6px;
    color: #dc2626;
    background: #fee2e2;
    font-size: .68rem;
    font-weight: 700;
}

.service-cell[b-2d7q2egfy9] {
    display: grid;
    gap: 2px;
}

    .service-cell strong[b-2d7q2egfy9] {
        font-size: .85rem;
        font-weight: 700;
    }

    .service-cell small[b-2d7q2egfy9] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

/* Status */
.status-chip[b-2d7q2egfy9] {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

    .status-chip.status-pending[b-2d7q2egfy9] {
        color: #b45309;
        background: #fef3c7;
    }

    .status-chip.status-approved[b-2d7q2egfy9] {
        color: #16a34a;
        background: #dcfce7;
    }

    .status-chip.status-denied[b-2d7q2egfy9] {
        color: #dc2626;
        background: #fee2e2;
    }

    .status-chip.status-expired[b-2d7q2egfy9] {
        color: #475569;
        background: #e2e8f0;
    }

    .status-chip.status-default[b-2d7q2egfy9] {
        color: var(--pay-muted);
        background: var(--pay-background-2);
    }

/* Amounts / service line */
.amount-grid[b-2d7q2egfy9] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.amount-item[b-2d7q2egfy9] {
    display: grid;
    gap: 4px;
}

.field-label[b-2d7q2egfy9] {
    color: var(--pay-muted);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.amount-value[b-2d7q2egfy9] {
    font-size: .95rem;
    font-weight: 750;
}

    .amount-value.approved[b-2d7q2egfy9] {
        color: #16a34a;
    }

.service-line[b-2d7q2egfy9] {
    display: grid;
    gap: 4px;
}

    .service-line .service-value[b-2d7q2egfy9] {
        font-size: .9rem;
        font-weight: 700;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

/* Actions */
.row-actions[b-2d7q2egfy9] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
}

/* Skeletons */
.table-skeletons[b-2d7q2egfy9] {
    display: grid;
    gap: 8px;
    padding: 12px 16px;
}

.skeleton-row[b-2d7q2egfy9] {
    display: grid;
    grid-template-columns: 120px minmax(180px, 1fr) 140px 100px 70px;
    align-items: center;
    gap: 16px;
    min-height: 52px;
}

/* Cards */
.preauth-card-grid[b-2d7q2egfy9] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 14px;
}

.preauth-card[b-2d7q2egfy9] {
    position: relative;
    display: grid;
    align-content: start;
    gap: 14px;
    min-height: 190px;
    padding: 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
    cursor: pointer;
    outline: none;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

    .preauth-card:hover[b-2d7q2egfy9] {
        transform: translateY(-2px);
        border-color: color-mix(in srgb, var(--pay-primary) 35%, var(--pay-line));
        box-shadow: var(--mud-elevation-3);
    }

    .preauth-card.selected[b-2d7q2egfy9] {
        border-color: var(--pay-primary);
        background: color-mix(in srgb, var(--pay-primary) 4%, var(--pay-surface));
        box-shadow: 0 0 0 1px var(--pay-primary);
    }

.selected-indicator[b-2d7q2egfy9] {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-end: 10px;
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    color: #fff;
    background: var(--pay-primary);
}

.preauth-card-header[b-2d7q2egfy9] {
    display: flex;
    align-items: center;
    gap: 11px;
}

.preauth-card-title[b-2d7q2egfy9] {
    flex: 1;
    display: grid;
    gap: 3px;
    min-width: 0;
}

    .preauth-card-title strong[b-2d7q2egfy9] {
        font-size: .9rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .preauth-card-title span[b-2d7q2egfy9] {
        color: var(--pay-muted);
        font-size: .73rem;
        font-family: ui-monospace, monospace;
    }

.preauth-card-content[b-2d7q2egfy9] {
    display: grid;
    gap: 12px;
}

.preauth-card-footer[b-2d7q2egfy9] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px dashed var(--pay-line);
}

.selection-actions[b-2d7q2egfy9] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 11px;
    border-top: 1px dashed var(--pay-line);
}

.loading-card[b-2d7q2egfy9] {
    grid-template-columns: 48px 1fr;
    align-items: center;
    min-height: 132px;
    cursor: default;
}

    .loading-card:hover[b-2d7q2egfy9] {
        transform: none;
        box-shadow: none;
    }

.loading-card-content[b-2d7q2egfy9] {
    display: grid;
    gap: 8px;
}

.show-more[b-2d7q2egfy9] {
    display: flex;
    justify-content: center;
    padding: 2px 0 4px;
}

.remaining-count[b-2d7q2egfy9] {
    margin-inline-start: 2px;
    padding: 1px 7px;
    border-radius: 8px;
    background: var(--pay-background-2);
    font-size: .7rem;
}

/* Empty */
.preauths-empty[b-2d7q2egfy9] {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.empty-state[b-2d7q2egfy9] {
    display: grid;
    justify-items: center;
    gap: 9px;
    padding: 58px 20px;
    text-align: center;
}

.empty-icon[b-2d7q2egfy9] {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 22px;
    color: var(--pay-primary);
    background: color-mix(in srgb, var(--pay-primary) 10%, transparent);
}

.empty-state h3[b-2d7q2egfy9] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.empty-state p[b-2d7q2egfy9] {
    max-width: 420px;
    margin: 0 0 6px;
    color: var(--pay-muted);
    font-size: .84rem;
}

/* Responsive */
@media (max-width: 900px) {
    .toolbar-main[b-2d7q2egfy9] {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box[b-2d7q2egfy9] {
        width: 100%;
    }

    .toolbar-actions[b-2d7q2egfy9] {
        justify-content: flex-end;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .preauths-toolbar[b-2d7q2egfy9] {
        padding: 12px;
    }

    .toolbar-actions[b-2d7q2egfy9] {
        display: grid;
        grid-template-columns: auto auto 1fr;
        width: 100%;
    }

    .preauth-card-grid[b-2d7q2egfy9] {
        grid-template-columns: 1fr;
    }

    .skeleton-row[b-2d7q2egfy9] {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .preauth-card[b-2d7q2egfy9], .live-dot[b-2d7q2egfy9], .refresh-progress-bar[b-2d7q2egfy9] {
        transition: none;
        animation: none;
    }
}
/* /Pages/Inventory/Inventory.razor.rz.scp.css */
.inv-page[b-cv9ud5sv0w] {
    --ins-primary: var(--mud-palette-primary);
    --ins-surface: var(--mud-palette-surface);
    --ins-line: var(--mud-palette-lines-default);
    --ins-muted: var(--mud-palette-text-secondary);
    display: grid;
    gap: 16px;
    min-width: 0;
}

.inv-tabs[b-cv9ud5sv0w] {
    display: flex;
    gap: 6px;
    padding: 4px;
    border: 1px solid var(--ins-line);
    border-radius: 14px;
    background: var(--mud-palette-background-grey);
    overflow-x: auto;
    scrollbar-width: none;
}

    .inv-tabs[b-cv9ud5sv0w]::-webkit-scrollbar {
        display: none;
    }

.inv-tab[b-cv9ud5sv0w] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--ins-muted);
    font: inherit;
    font-size: .85rem;
    font-weight: 650;
    cursor: pointer;
    white-space: nowrap;
    transition: all .15s ease;
}

    .inv-tab:hover[b-cv9ud5sv0w] {
        color: var(--mud-palette-text-primary);
        background: color-mix(in srgb, var(--ins-surface) 60%, transparent);
    }

    .inv-tab.active[b-cv9ud5sv0w] {
        color: var(--ins-primary);
        background: var(--ins-surface);
        border-color: color-mix(in srgb, var(--ins-primary) 22%, var(--ins-line));
        box-shadow: var(--mud-elevation-1);
    }

    .inv-tab .tab-count[b-cv9ud5sv0w] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 22px;
        height: 22px;
        padding: 0 6px;
        border-radius: 7px;
        background: var(--mud-palette-background-grey);
        color: var(--ins-muted);
        font-size: .68rem;
        font-weight: 750;
    }

    .inv-tab.active .tab-count[b-cv9ud5sv0w] {
        background: var(--ins-primary);
        color: #fff;
    }
/* /Pages/Inventory/InventoryOverview.razor.rz.scp.css */
.inv-ov[b-jldmddqh6e] {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.ov-head[b-jldmddqh6e] {
    display: flex;
    align-items: center;
}

.kpi-grid[b-jldmddqh6e] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
    gap: 12px;
}

.kpi[b-jldmddqh6e] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 14px;
    background: var(--mud-palette-surface);
    color: inherit;
    font: inherit;
    text-align: start;
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

    .kpi:hover[b-jldmddqh6e] {
        transform: translateY(-2px);
        border-color: color-mix(in srgb, var(--mud-palette-primary) 35%, var(--mud-palette-lines-default));
        box-shadow: var(--mud-elevation-3);
    }

.kpi-icon[b-jldmddqh6e] {
    display: grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
}

.avatar-0[b-jldmddqh6e] { color: #1d4ed8; background: #dbeafe; }
.avatar-1[b-jldmddqh6e] { color: #be185d; background: #fce7f3; }
.avatar-2[b-jldmddqh6e] { color: #15803d; background: #dcfce7; }
.avatar-3[b-jldmddqh6e] { color: #b45309; background: #fef3c7; }
.avatar-4[b-jldmddqh6e] { color: #6d28d9; background: #ede9fe; }
.avatar-5[b-jldmddqh6e] { color: #0f766e; background: #ccfbf1; }

.kpi-text[b-jldmddqh6e] {
    display: grid;
    gap: 1px;
    min-width: 0;
}

    .kpi-text small[b-jldmddqh6e] {
        color: var(--mud-palette-text-secondary);
        font-size: .72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .03em;
    }

    .kpi-text strong[b-jldmddqh6e] {
        font-size: 1.25rem;
        font-weight: 800;
    }

    .kpi-text em[b-jldmddqh6e] {
        color: var(--mud-palette-text-secondary);
        font-size: .72rem;
        font-style: normal;
    }

.ov-grid[b-jldmddqh6e] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 14px;
}

.ov-panel[b-jldmddqh6e] {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 16px;
    background: var(--mud-palette-surface);
}

    .ov-panel header[b-jldmddqh6e] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

        .ov-panel header.mt[b-jldmddqh6e] {
            margin-top: 10px;
        }

    .ov-panel h3[b-jldmddqh6e] {
        margin: 0;
        font-size: .95rem;
        font-weight: 800;
    }

    .ov-panel .link[b-jldmddqh6e] {
        border: 0;
        background: transparent;
        color: var(--mud-palette-primary);
        font: inherit;
        font-size: .78rem;
        font-weight: 650;
        cursor: pointer;
    }

    .ov-panel .muted[b-jldmddqh6e] {
        margin: 0;
        color: var(--mud-palette-text-secondary);
        font-size: .84rem;
    }

.ov-row[b-jldmddqh6e] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-top: 1px dashed var(--mud-palette-lines-default);
}

.ov-row-main[b-jldmddqh6e] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

    .ov-row-main strong[b-jldmddqh6e] {
        font-size: .86rem;
        font-weight: 700;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ov-row-main small[b-jldmddqh6e] {
        color: var(--mud-palette-text-secondary);
        font-size: .72rem;
    }

.status-chip[b-jldmddqh6e] {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

    .status-chip.chip-ok[b-jldmddqh6e] { color: #16a34a; background: #dcfce7; }
    .status-chip.chip-warn[b-jldmddqh6e] { color: #b45309; background: #fef3c7; }
    .status-chip.chip-orange[b-jldmddqh6e] { color: #c2410c; background: #ffedd5; }
    .status-chip.chip-danger[b-jldmddqh6e] { color: #dc2626; background: #fee2e2; }
    .status-chip.chip-info[b-jldmddqh6e] { color: #1d4ed8; background: #dbeafe; }
    .status-chip.chip-primary[b-jldmddqh6e] { color: #6d28d9; background: #ede9fe; }
    .status-chip.chip-muted[b-jldmddqh6e] { color: #475569; background: #e2e8f0; }

.health-bar[b-jldmddqh6e] {
    display: flex;
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--mud-palette-background-grey);
}

    .health-bar span.ok[b-jldmddqh6e], .health-legend i.ok[b-jldmddqh6e] { background: #16a34a; }
    .health-bar span.warn[b-jldmddqh6e], .health-legend i.warn[b-jldmddqh6e] { background: #f59e0b; }
    .health-bar span.danger[b-jldmddqh6e], .health-legend i.danger[b-jldmddqh6e] { background: #dc2626; }

.health-legend[b-jldmddqh6e] {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: .78rem;
    color: var(--mud-palette-text-secondary);
}

    .health-legend i[b-jldmddqh6e] {
        display: inline-block;
        width: 9px;
        height: 9px;
        margin-inline-end: 6px;
        border-radius: 50%;
    }

.pipeline[b-jldmddqh6e] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
}

.pipe-item[b-jldmddqh6e] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 10px;
}

@media (prefers-reduced-motion: reduce) {
    .kpi[b-jldmddqh6e] { transition: none; }
}
/* /Pages/Inventory/ProductsList.razor.rz.scp.css */
.inv-list[b-2zw8sg6hu3] {
    --pay-primary: var(--mud-palette-primary);
    --pay-surface: var(--mud-palette-surface);
    --pay-background-2: var(--mud-palette-background-grey);
    --pay-line: var(--mud-palette-lines-default);
    --pay-text: var(--mud-palette-text-primary);
    --pay-muted: var(--mud-palette-text-secondary);
    display: grid;
    gap: 16px;
    min-width: 0;
}

/* Refresh bar */
.refresh-progress[b-2zw8sg6hu3] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 28px;
    color: var(--pay-muted);
    font-size: .74rem;
    font-weight: 650;
}

.refresh-progress-track[b-2zw8sg6hu3] {
    position: relative;
    width: 90px;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix(in srgb, var(--pay-primary) 14%, var(--pay-background-2));
}

.refresh-progress-bar[b-2zw8sg6hu3] {
    position: absolute;
    inset-block: 0;
    width: 38%;
    border-radius: inherit;
    background: var(--pay-primary);
    animation: inv-refresh-b-2zw8sg6hu3 1.15s ease-in-out infinite;
}

@keyframes inv-refresh-b-2zw8sg6hu3 {
    0% {
        inset-inline-start: -40%;
    }

    50% {
        inset-inline-start: 55%;
    }

    100% {
        inset-inline-start: 110%;
    }
}

/* Filters */
.filter-row[b-2zw8sg6hu3] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px;
    overflow-x: auto;
    scrollbar-width: none;
    border: 1px solid var(--pay-line);
    border-radius: 13px;
    background: var(--pay-background-2);
}

.filter-row[b-2zw8sg6hu3]::-webkit-scrollbar {
        display: none;
    }

.filter-chip[b-2zw8sg6hu3] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 36px;
    padding: 6px 11px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--pay-muted);
    font: inherit;
    font-size: .78rem;
    font-weight: 650;
    cursor: pointer;
    white-space: nowrap;
    transition: all .16s ease;
}

.filter-chip:hover[b-2zw8sg6hu3] {
        color: var(--pay-text);
        background: color-mix(in srgb, var(--pay-surface) 70%, transparent);
    }

.filter-chip.on[b-2zw8sg6hu3] {
        border-color: color-mix(in srgb, var(--pay-primary) 22%, var(--pay-line));
        color: var(--pay-primary);
        background: var(--pay-surface);
        box-shadow: 0 1px 3px rgba(0,0,0,.06);
    }

.filter-chip.on[b-2zw8sg6hu3]::before {
            content: "";
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--pay-primary);
        }

.chip-count[b-2zw8sg6hu3] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    border: 1px solid var(--pay-line);
    border-radius: 7px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .68rem;
    font-weight: 750;
}

.filter-chip.on .chip-count[b-2zw8sg6hu3] {
    border-color: transparent;
    background: var(--pay-primary);
    color: #fff;
}

/* Toolbar */
.inv-toolbar[b-2zw8sg6hu3] {
    display: grid;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.toolbar-main[b-2zw8sg6hu3] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box[b-2zw8sg6hu3] {
    flex: 1 1 auto;
    min-width: 220px;
}

.toolbar-actions[b-2zw8sg6hu3] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.view-switch[b-2zw8sg6hu3] {
    display: inline-flex;
    padding: 3px;
    gap: 2px;
    border: 1px solid var(--pay-line);
    border-radius: 12px;
    background: var(--pay-background-2);
}

.view-switch button[b-2zw8sg6hu3] {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: 34px;
        padding: 6px 12px;
        border: 0;
        border-radius: 9px;
        background: transparent;
        color: var(--pay-muted);
        font: inherit;
        font-size: .8rem;
        font-weight: 650;
        cursor: pointer;
    }

.view-switch button.active[b-2zw8sg6hu3] {
            color: var(--pay-primary);
            background: var(--pay-surface);
            box-shadow: var(--mud-elevation-1);
        }

.toolbar-status[b-2zw8sg6hu3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 22px;
}

.result-summary[b-2zw8sg6hu3] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pay-muted);
    font-size: .8rem;
}

.result-summary strong[b-2zw8sg6hu3] {
        color: var(--pay-text);
    }

.clear-button[b-2zw8sg6hu3] {
    padding: 2px 5px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--pay-primary);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

.clear-button:hover[b-2zw8sg6hu3] {
        text-decoration: underline;
    }

.live-status[b-2zw8sg6hu3] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border-radius: 10px;
    color: #15803d;
    background: #f0fdf4;
    font-size: .72rem;
    font-weight: 700;
}

.live-dot[b-2zw8sg6hu3] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 0 rgba(22,163,74,.35);
    animation: inv-pulse-b-2zw8sg6hu3 1.8s ease-out infinite;
}

@keyframes inv-pulse-b-2zw8sg6hu3 {
    0% {
        box-shadow: 0 0 0 0 rgba(22,163,74,.35);
    }

    100% {
        box-shadow: 0 0 0 7px rgba(22,163,74,0);
    }
}

/* Table */
.inv-list[b-2zw8sg6hu3]  .inv-table-card {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.inv-list[b-2zw8sg6hu3]  .inv-table th {
    padding-block: 11px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .72rem;
    font-weight: 750;
    white-space: nowrap;
}

.inv-list[b-2zw8sg6hu3]  .inv-table td {
    padding-block: 12px;
    vertical-align: middle;
}

/* Actions */
.row-actions[b-2zw8sg6hu3] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
}

/* Skeletons */
.table-skeletons[b-2zw8sg6hu3] {
    display: grid;
    gap: 8px;
    padding: 12px 16px;
}

.skeleton-row[b-2zw8sg6hu3] {
    display: grid;
    grid-template-columns: 120px minmax(180px, 1fr) 140px 100px 70px;
    align-items: center;
    gap: 16px;
    min-height: 52px;
}

/* Cards */
.inv-card-grid[b-2zw8sg6hu3] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 14px;
}

.inv-card[b-2zw8sg6hu3] {
    position: relative;
    display: grid;
    align-content: start;
    gap: 14px;
    min-height: 180px;
    padding: 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
    cursor: pointer;
    outline: none;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.inv-card:hover[b-2zw8sg6hu3] {
        transform: translateY(-2px);
        border-color: color-mix(in srgb, var(--pay-primary) 35%, var(--pay-line));
        box-shadow: var(--mud-elevation-3);
    }

.inv-card.selected[b-2zw8sg6hu3] {
        border-color: var(--pay-primary);
        background: color-mix(in srgb, var(--pay-primary) 4%, var(--pay-surface));
        box-shadow: 0 0 0 1px var(--pay-primary);
    }

.selected-indicator[b-2zw8sg6hu3] {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-end: 10px;
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    color: #fff;
    background: var(--pay-primary);
}

.inv-card-header[b-2zw8sg6hu3] {
    display: flex;
    align-items: center;
    gap: 11px;
}

.inv-card-title[b-2zw8sg6hu3] {
    flex: 1;
    display: grid;
    gap: 3px;
    min-width: 0;
}

.inv-card-title strong[b-2zw8sg6hu3] {
        font-size: .9rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.inv-card-title span[b-2zw8sg6hu3] {
        color: var(--pay-muted);
        font-size: .73rem;
    }

.inv-card-content[b-2zw8sg6hu3] {
    display: grid;
    gap: 12px;
}

.inv-card-footer[b-2zw8sg6hu3] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px dashed var(--pay-line);
}

.selection-actions[b-2zw8sg6hu3] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 11px;
    border-top: 1px dashed var(--pay-line);
}

.loading-card[b-2zw8sg6hu3] {
    grid-template-columns: 48px 1fr;
    align-items: center;
    min-height: 132px;
    cursor: default;
}

.loading-card:hover[b-2zw8sg6hu3] {
        transform: none;
        box-shadow: none;
    }

.loading-card-content[b-2zw8sg6hu3] {
    display: grid;
    gap: 8px;
}

.show-more[b-2zw8sg6hu3] {
    display: flex;
    justify-content: center;
    padding: 2px 0 4px;
}

.remaining-count[b-2zw8sg6hu3] {
    margin-inline-start: 2px;
    padding: 1px 7px;
    border-radius: 8px;
    background: var(--pay-background-2);
    font-size: .7rem;
}

/* Empty */
.inv-empty[b-2zw8sg6hu3] {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.empty-state[b-2zw8sg6hu3] {
    display: grid;
    justify-items: center;
    gap: 9px;
    padding: 58px 20px;
    text-align: center;
}

.empty-icon[b-2zw8sg6hu3] {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 22px;
    color: var(--pay-primary);
    background: color-mix(in srgb, var(--pay-primary) 10%, transparent);
}

.empty-state h3[b-2zw8sg6hu3] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.empty-state p[b-2zw8sg6hu3] {
    max-width: 420px;
    margin: 0 0 6px;
    color: var(--pay-muted);
    font-size: .84rem;
}

/* Responsive */
@media (max-width: 900px) {
    .toolbar-main[b-2zw8sg6hu3] {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box[b-2zw8sg6hu3] {
        width: 100%;
    }

    .toolbar-actions[b-2zw8sg6hu3] {
        justify-content: flex-end;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .inv-toolbar[b-2zw8sg6hu3] {
        padding: 12px;
    }

    .toolbar-actions[b-2zw8sg6hu3] {
        display: grid;
        grid-template-columns: auto auto 1fr;
        width: 100%;
    }

    .inv-card-grid[b-2zw8sg6hu3] {
        grid-template-columns: 1fr;
    }

    .skeleton-row[b-2zw8sg6hu3] {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .inv-card[b-2zw8sg6hu3], .live-dot[b-2zw8sg6hu3], .refresh-progress-bar[b-2zw8sg6hu3] {
        transition: none;
        animation: none;
    }
}

/* ── Shared inventory building blocks ── */
.inv-identity[b-2zw8sg6hu3] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.inv-avatar[b-2zw8sg6hu3] {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

    .inv-avatar.large[b-2zw8sg6hu3] {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

.avatar-0[b-2zw8sg6hu3] { color: #1d4ed8; background: #dbeafe; }
.avatar-1[b-2zw8sg6hu3] { color: #be185d; background: #fce7f3; }
.avatar-2[b-2zw8sg6hu3] { color: #15803d; background: #dcfce7; }
.avatar-3[b-2zw8sg6hu3] { color: #b45309; background: #fef3c7; }
.avatar-4[b-2zw8sg6hu3] { color: #6d28d9; background: #ede9fe; }
.avatar-5[b-2zw8sg6hu3] { color: #0f766e; background: #ccfbf1; }

.inv-name[b-2zw8sg6hu3] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

    .inv-name strong[b-2zw8sg6hu3] {
        font-size: .9rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .inv-name small[b-2zw8sg6hu3] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.cell-stack[b-2zw8sg6hu3] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

    .cell-stack strong[b-2zw8sg6hu3] {
        font-size: .85rem;
        font-weight: 700;
    }

    .cell-stack small[b-2zw8sg6hu3] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.mono[b-2zw8sg6hu3] {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 8px;
    color: #1d4ed8;
    background: #dbeafe;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .78rem;
    font-weight: 700;
}

.money[b-2zw8sg6hu3] {
    font-weight: 750;
    white-space: nowrap;
}

.field-label[b-2zw8sg6hu3] {
    color: var(--pay-muted);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.status-stack[b-2zw8sg6hu3] {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.status-chip[b-2zw8sg6hu3] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

    .status-chip.chip-ok[b-2zw8sg6hu3] { color: #16a34a; background: #dcfce7; }
    .status-chip.chip-warn[b-2zw8sg6hu3] { color: #b45309; background: #fef3c7; }
    .status-chip.chip-orange[b-2zw8sg6hu3] { color: #c2410c; background: #ffedd5; }
    .status-chip.chip-danger[b-2zw8sg6hu3] { color: #dc2626; background: #fee2e2; }
    .status-chip.chip-info[b-2zw8sg6hu3] { color: #1d4ed8; background: #dbeafe; }
    .status-chip.chip-primary[b-2zw8sg6hu3] { color: #6d28d9; background: #ede9fe; }
    .status-chip.chip-muted[b-2zw8sg6hu3] { color: #475569; background: #e2e8f0; }

.stock-cell[b-2zw8sg6hu3] {
    display: grid;
    gap: 5px;
    min-width: 120px;
}

    .stock-cell .qty[b-2zw8sg6hu3] {
        display: flex;
        align-items: baseline;
        gap: 5px;
        font-weight: 800;
        font-size: .95rem;
    }

        .stock-cell .qty small[b-2zw8sg6hu3] {
            color: var(--pay-muted);
            font-size: .7rem;
            font-weight: 650;
        }

.stock-meter[b-2zw8sg6hu3] {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--pay-background-2);
}

    .stock-meter > span[b-2zw8sg6hu3] {
        display: block;
        height: 100%;
        border-radius: inherit;
        background: #16a34a;
    }

    .stock-meter.warn > span[b-2zw8sg6hu3] { background: #f59e0b; }
    .stock-meter.danger > span[b-2zw8sg6hu3] { background: #dc2626; }

.stat-grid[b-2zw8sg6hu3] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-item[b-2zw8sg6hu3] {
    display: grid;
    gap: 4px;
}

.stat-value[b-2zw8sg6hu3] {
    font-size: .95rem;
    font-weight: 750;
}

.expiry-warn[b-2zw8sg6hu3] { color: #dc2626; font-weight: 700; }

.id-pill[b-2zw8sg6hu3] {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 6px;
    color: #b45309;
    background: #fef3c7;
    font-size: .68rem;
    font-weight: 700;
}
/* /Pages/Inventory/PurchaseOrdersList.razor.rz.scp.css */
.inv-list[b-xr5rnt60ui] {
    --pay-primary: var(--mud-palette-primary);
    --pay-surface: var(--mud-palette-surface);
    --pay-background-2: var(--mud-palette-background-grey);
    --pay-line: var(--mud-palette-lines-default);
    --pay-text: var(--mud-palette-text-primary);
    --pay-muted: var(--mud-palette-text-secondary);
    display: grid;
    gap: 16px;
    min-width: 0;
}

/* Refresh bar */
.refresh-progress[b-xr5rnt60ui] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 28px;
    color: var(--pay-muted);
    font-size: .74rem;
    font-weight: 650;
}

.refresh-progress-track[b-xr5rnt60ui] {
    position: relative;
    width: 90px;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix(in srgb, var(--pay-primary) 14%, var(--pay-background-2));
}

.refresh-progress-bar[b-xr5rnt60ui] {
    position: absolute;
    inset-block: 0;
    width: 38%;
    border-radius: inherit;
    background: var(--pay-primary);
    animation: inv-refresh-b-xr5rnt60ui 1.15s ease-in-out infinite;
}

@keyframes inv-refresh-b-xr5rnt60ui {
    0% {
        inset-inline-start: -40%;
    }

    50% {
        inset-inline-start: 55%;
    }

    100% {
        inset-inline-start: 110%;
    }
}

/* Filters */
.filter-row[b-xr5rnt60ui] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px;
    overflow-x: auto;
    scrollbar-width: none;
    border: 1px solid var(--pay-line);
    border-radius: 13px;
    background: var(--pay-background-2);
}

.filter-row[b-xr5rnt60ui]::-webkit-scrollbar {
        display: none;
    }

.filter-chip[b-xr5rnt60ui] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 36px;
    padding: 6px 11px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--pay-muted);
    font: inherit;
    font-size: .78rem;
    font-weight: 650;
    cursor: pointer;
    white-space: nowrap;
    transition: all .16s ease;
}

.filter-chip:hover[b-xr5rnt60ui] {
        color: var(--pay-text);
        background: color-mix(in srgb, var(--pay-surface) 70%, transparent);
    }

.filter-chip.on[b-xr5rnt60ui] {
        border-color: color-mix(in srgb, var(--pay-primary) 22%, var(--pay-line));
        color: var(--pay-primary);
        background: var(--pay-surface);
        box-shadow: 0 1px 3px rgba(0,0,0,.06);
    }

.filter-chip.on[b-xr5rnt60ui]::before {
            content: "";
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--pay-primary);
        }

.chip-count[b-xr5rnt60ui] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    border: 1px solid var(--pay-line);
    border-radius: 7px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .68rem;
    font-weight: 750;
}

.filter-chip.on .chip-count[b-xr5rnt60ui] {
    border-color: transparent;
    background: var(--pay-primary);
    color: #fff;
}

/* Toolbar */
.inv-toolbar[b-xr5rnt60ui] {
    display: grid;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.toolbar-main[b-xr5rnt60ui] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box[b-xr5rnt60ui] {
    flex: 1 1 auto;
    min-width: 220px;
}

.toolbar-actions[b-xr5rnt60ui] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.view-switch[b-xr5rnt60ui] {
    display: inline-flex;
    padding: 3px;
    gap: 2px;
    border: 1px solid var(--pay-line);
    border-radius: 12px;
    background: var(--pay-background-2);
}

.view-switch button[b-xr5rnt60ui] {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: 34px;
        padding: 6px 12px;
        border: 0;
        border-radius: 9px;
        background: transparent;
        color: var(--pay-muted);
        font: inherit;
        font-size: .8rem;
        font-weight: 650;
        cursor: pointer;
    }

.view-switch button.active[b-xr5rnt60ui] {
            color: var(--pay-primary);
            background: var(--pay-surface);
            box-shadow: var(--mud-elevation-1);
        }

.toolbar-status[b-xr5rnt60ui] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 22px;
}

.result-summary[b-xr5rnt60ui] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pay-muted);
    font-size: .8rem;
}

.result-summary strong[b-xr5rnt60ui] {
        color: var(--pay-text);
    }

.clear-button[b-xr5rnt60ui] {
    padding: 2px 5px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--pay-primary);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

.clear-button:hover[b-xr5rnt60ui] {
        text-decoration: underline;
    }

.live-status[b-xr5rnt60ui] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border-radius: 10px;
    color: #15803d;
    background: #f0fdf4;
    font-size: .72rem;
    font-weight: 700;
}

.live-dot[b-xr5rnt60ui] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 0 rgba(22,163,74,.35);
    animation: inv-pulse-b-xr5rnt60ui 1.8s ease-out infinite;
}

@keyframes inv-pulse-b-xr5rnt60ui {
    0% {
        box-shadow: 0 0 0 0 rgba(22,163,74,.35);
    }

    100% {
        box-shadow: 0 0 0 7px rgba(22,163,74,0);
    }
}

/* Table */
.inv-list[b-xr5rnt60ui]  .inv-table-card {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.inv-list[b-xr5rnt60ui]  .inv-table th {
    padding-block: 11px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .72rem;
    font-weight: 750;
    white-space: nowrap;
}

.inv-list[b-xr5rnt60ui]  .inv-table td {
    padding-block: 12px;
    vertical-align: middle;
}

/* Actions */
.row-actions[b-xr5rnt60ui] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
}

/* Skeletons */
.table-skeletons[b-xr5rnt60ui] {
    display: grid;
    gap: 8px;
    padding: 12px 16px;
}

.skeleton-row[b-xr5rnt60ui] {
    display: grid;
    grid-template-columns: 120px minmax(180px, 1fr) 140px 100px 70px;
    align-items: center;
    gap: 16px;
    min-height: 52px;
}

/* Cards */
.inv-card-grid[b-xr5rnt60ui] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 14px;
}

.inv-card[b-xr5rnt60ui] {
    position: relative;
    display: grid;
    align-content: start;
    gap: 14px;
    min-height: 180px;
    padding: 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
    cursor: pointer;
    outline: none;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.inv-card:hover[b-xr5rnt60ui] {
        transform: translateY(-2px);
        border-color: color-mix(in srgb, var(--pay-primary) 35%, var(--pay-line));
        box-shadow: var(--mud-elevation-3);
    }

.inv-card.selected[b-xr5rnt60ui] {
        border-color: var(--pay-primary);
        background: color-mix(in srgb, var(--pay-primary) 4%, var(--pay-surface));
        box-shadow: 0 0 0 1px var(--pay-primary);
    }

.selected-indicator[b-xr5rnt60ui] {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-end: 10px;
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    color: #fff;
    background: var(--pay-primary);
}

.inv-card-header[b-xr5rnt60ui] {
    display: flex;
    align-items: center;
    gap: 11px;
}

.inv-card-title[b-xr5rnt60ui] {
    flex: 1;
    display: grid;
    gap: 3px;
    min-width: 0;
}

.inv-card-title strong[b-xr5rnt60ui] {
        font-size: .9rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.inv-card-title span[b-xr5rnt60ui] {
        color: var(--pay-muted);
        font-size: .73rem;
    }

.inv-card-content[b-xr5rnt60ui] {
    display: grid;
    gap: 12px;
}

.inv-card-footer[b-xr5rnt60ui] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px dashed var(--pay-line);
}

.selection-actions[b-xr5rnt60ui] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 11px;
    border-top: 1px dashed var(--pay-line);
}

.loading-card[b-xr5rnt60ui] {
    grid-template-columns: 48px 1fr;
    align-items: center;
    min-height: 132px;
    cursor: default;
}

.loading-card:hover[b-xr5rnt60ui] {
        transform: none;
        box-shadow: none;
    }

.loading-card-content[b-xr5rnt60ui] {
    display: grid;
    gap: 8px;
}

.show-more[b-xr5rnt60ui] {
    display: flex;
    justify-content: center;
    padding: 2px 0 4px;
}

.remaining-count[b-xr5rnt60ui] {
    margin-inline-start: 2px;
    padding: 1px 7px;
    border-radius: 8px;
    background: var(--pay-background-2);
    font-size: .7rem;
}

/* Empty */
.inv-empty[b-xr5rnt60ui] {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.empty-state[b-xr5rnt60ui] {
    display: grid;
    justify-items: center;
    gap: 9px;
    padding: 58px 20px;
    text-align: center;
}

.empty-icon[b-xr5rnt60ui] {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 22px;
    color: var(--pay-primary);
    background: color-mix(in srgb, var(--pay-primary) 10%, transparent);
}

.empty-state h3[b-xr5rnt60ui] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.empty-state p[b-xr5rnt60ui] {
    max-width: 420px;
    margin: 0 0 6px;
    color: var(--pay-muted);
    font-size: .84rem;
}

/* Responsive */
@media (max-width: 900px) {
    .toolbar-main[b-xr5rnt60ui] {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box[b-xr5rnt60ui] {
        width: 100%;
    }

    .toolbar-actions[b-xr5rnt60ui] {
        justify-content: flex-end;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .inv-toolbar[b-xr5rnt60ui] {
        padding: 12px;
    }

    .toolbar-actions[b-xr5rnt60ui] {
        display: grid;
        grid-template-columns: auto auto 1fr;
        width: 100%;
    }

    .inv-card-grid[b-xr5rnt60ui] {
        grid-template-columns: 1fr;
    }

    .skeleton-row[b-xr5rnt60ui] {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .inv-card[b-xr5rnt60ui], .live-dot[b-xr5rnt60ui], .refresh-progress-bar[b-xr5rnt60ui] {
        transition: none;
        animation: none;
    }
}

/* ── Shared inventory building blocks ── */
.inv-identity[b-xr5rnt60ui] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.inv-avatar[b-xr5rnt60ui] {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

    .inv-avatar.large[b-xr5rnt60ui] {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

.avatar-0[b-xr5rnt60ui] { color: #1d4ed8; background: #dbeafe; }
.avatar-1[b-xr5rnt60ui] { color: #be185d; background: #fce7f3; }
.avatar-2[b-xr5rnt60ui] { color: #15803d; background: #dcfce7; }
.avatar-3[b-xr5rnt60ui] { color: #b45309; background: #fef3c7; }
.avatar-4[b-xr5rnt60ui] { color: #6d28d9; background: #ede9fe; }
.avatar-5[b-xr5rnt60ui] { color: #0f766e; background: #ccfbf1; }

.inv-name[b-xr5rnt60ui] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

    .inv-name strong[b-xr5rnt60ui] {
        font-size: .9rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .inv-name small[b-xr5rnt60ui] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.cell-stack[b-xr5rnt60ui] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

    .cell-stack strong[b-xr5rnt60ui] {
        font-size: .85rem;
        font-weight: 700;
    }

    .cell-stack small[b-xr5rnt60ui] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.mono[b-xr5rnt60ui] {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 8px;
    color: #1d4ed8;
    background: #dbeafe;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .78rem;
    font-weight: 700;
}

.money[b-xr5rnt60ui] {
    font-weight: 750;
    white-space: nowrap;
}

.field-label[b-xr5rnt60ui] {
    color: var(--pay-muted);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.status-stack[b-xr5rnt60ui] {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.status-chip[b-xr5rnt60ui] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

    .status-chip.chip-ok[b-xr5rnt60ui] { color: #16a34a; background: #dcfce7; }
    .status-chip.chip-warn[b-xr5rnt60ui] { color: #b45309; background: #fef3c7; }
    .status-chip.chip-orange[b-xr5rnt60ui] { color: #c2410c; background: #ffedd5; }
    .status-chip.chip-danger[b-xr5rnt60ui] { color: #dc2626; background: #fee2e2; }
    .status-chip.chip-info[b-xr5rnt60ui] { color: #1d4ed8; background: #dbeafe; }
    .status-chip.chip-primary[b-xr5rnt60ui] { color: #6d28d9; background: #ede9fe; }
    .status-chip.chip-muted[b-xr5rnt60ui] { color: #475569; background: #e2e8f0; }

.stock-cell[b-xr5rnt60ui] {
    display: grid;
    gap: 5px;
    min-width: 120px;
}

    .stock-cell .qty[b-xr5rnt60ui] {
        display: flex;
        align-items: baseline;
        gap: 5px;
        font-weight: 800;
        font-size: .95rem;
    }

        .stock-cell .qty small[b-xr5rnt60ui] {
            color: var(--pay-muted);
            font-size: .7rem;
            font-weight: 650;
        }

.stock-meter[b-xr5rnt60ui] {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--pay-background-2);
}

    .stock-meter > span[b-xr5rnt60ui] {
        display: block;
        height: 100%;
        border-radius: inherit;
        background: #16a34a;
    }

    .stock-meter.warn > span[b-xr5rnt60ui] { background: #f59e0b; }
    .stock-meter.danger > span[b-xr5rnt60ui] { background: #dc2626; }

.stat-grid[b-xr5rnt60ui] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-item[b-xr5rnt60ui] {
    display: grid;
    gap: 4px;
}

.stat-value[b-xr5rnt60ui] {
    font-size: .95rem;
    font-weight: 750;
}

.expiry-warn[b-xr5rnt60ui] { color: #dc2626; font-weight: 700; }

.id-pill[b-xr5rnt60ui] {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 6px;
    color: #b45309;
    background: #fef3c7;
    font-size: .68rem;
    font-weight: 700;
}
/* /Pages/Inventory/StockAlertsList.razor.rz.scp.css */
.inv-list[b-5b0t2pkfbx] {
    --pay-primary: var(--mud-palette-primary);
    --pay-surface: var(--mud-palette-surface);
    --pay-background-2: var(--mud-palette-background-grey);
    --pay-line: var(--mud-palette-lines-default);
    --pay-text: var(--mud-palette-text-primary);
    --pay-muted: var(--mud-palette-text-secondary);
    display: grid;
    gap: 16px;
    min-width: 0;
}

/* Refresh bar */
.refresh-progress[b-5b0t2pkfbx] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 28px;
    color: var(--pay-muted);
    font-size: .74rem;
    font-weight: 650;
}

.refresh-progress-track[b-5b0t2pkfbx] {
    position: relative;
    width: 90px;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix(in srgb, var(--pay-primary) 14%, var(--pay-background-2));
}

.refresh-progress-bar[b-5b0t2pkfbx] {
    position: absolute;
    inset-block: 0;
    width: 38%;
    border-radius: inherit;
    background: var(--pay-primary);
    animation: inv-refresh-b-5b0t2pkfbx 1.15s ease-in-out infinite;
}

@keyframes inv-refresh-b-5b0t2pkfbx {
    0% {
        inset-inline-start: -40%;
    }

    50% {
        inset-inline-start: 55%;
    }

    100% {
        inset-inline-start: 110%;
    }
}

/* Filters */
.filter-row[b-5b0t2pkfbx] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px;
    overflow-x: auto;
    scrollbar-width: none;
    border: 1px solid var(--pay-line);
    border-radius: 13px;
    background: var(--pay-background-2);
}

.filter-row[b-5b0t2pkfbx]::-webkit-scrollbar {
        display: none;
    }

.filter-chip[b-5b0t2pkfbx] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 36px;
    padding: 6px 11px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--pay-muted);
    font: inherit;
    font-size: .78rem;
    font-weight: 650;
    cursor: pointer;
    white-space: nowrap;
    transition: all .16s ease;
}

.filter-chip:hover[b-5b0t2pkfbx] {
        color: var(--pay-text);
        background: color-mix(in srgb, var(--pay-surface) 70%, transparent);
    }

.filter-chip.on[b-5b0t2pkfbx] {
        border-color: color-mix(in srgb, var(--pay-primary) 22%, var(--pay-line));
        color: var(--pay-primary);
        background: var(--pay-surface);
        box-shadow: 0 1px 3px rgba(0,0,0,.06);
    }

.filter-chip.on[b-5b0t2pkfbx]::before {
            content: "";
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--pay-primary);
        }

.chip-count[b-5b0t2pkfbx] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    border: 1px solid var(--pay-line);
    border-radius: 7px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .68rem;
    font-weight: 750;
}

.filter-chip.on .chip-count[b-5b0t2pkfbx] {
    border-color: transparent;
    background: var(--pay-primary);
    color: #fff;
}

/* Toolbar */
.inv-toolbar[b-5b0t2pkfbx] {
    display: grid;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.toolbar-main[b-5b0t2pkfbx] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box[b-5b0t2pkfbx] {
    flex: 1 1 auto;
    min-width: 220px;
}

.toolbar-actions[b-5b0t2pkfbx] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.view-switch[b-5b0t2pkfbx] {
    display: inline-flex;
    padding: 3px;
    gap: 2px;
    border: 1px solid var(--pay-line);
    border-radius: 12px;
    background: var(--pay-background-2);
}

.view-switch button[b-5b0t2pkfbx] {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: 34px;
        padding: 6px 12px;
        border: 0;
        border-radius: 9px;
        background: transparent;
        color: var(--pay-muted);
        font: inherit;
        font-size: .8rem;
        font-weight: 650;
        cursor: pointer;
    }

.view-switch button.active[b-5b0t2pkfbx] {
            color: var(--pay-primary);
            background: var(--pay-surface);
            box-shadow: var(--mud-elevation-1);
        }

.toolbar-status[b-5b0t2pkfbx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 22px;
}

.result-summary[b-5b0t2pkfbx] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pay-muted);
    font-size: .8rem;
}

.result-summary strong[b-5b0t2pkfbx] {
        color: var(--pay-text);
    }

.clear-button[b-5b0t2pkfbx] {
    padding: 2px 5px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--pay-primary);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

.clear-button:hover[b-5b0t2pkfbx] {
        text-decoration: underline;
    }

.live-status[b-5b0t2pkfbx] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border-radius: 10px;
    color: #15803d;
    background: #f0fdf4;
    font-size: .72rem;
    font-weight: 700;
}

.live-dot[b-5b0t2pkfbx] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 0 rgba(22,163,74,.35);
    animation: inv-pulse-b-5b0t2pkfbx 1.8s ease-out infinite;
}

@keyframes inv-pulse-b-5b0t2pkfbx {
    0% {
        box-shadow: 0 0 0 0 rgba(22,163,74,.35);
    }

    100% {
        box-shadow: 0 0 0 7px rgba(22,163,74,0);
    }
}

/* Table */
.inv-list[b-5b0t2pkfbx]  .inv-table-card {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.inv-list[b-5b0t2pkfbx]  .inv-table th {
    padding-block: 11px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .72rem;
    font-weight: 750;
    white-space: nowrap;
}

.inv-list[b-5b0t2pkfbx]  .inv-table td {
    padding-block: 12px;
    vertical-align: middle;
}

/* Actions */
.row-actions[b-5b0t2pkfbx] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
}

/* Skeletons */
.table-skeletons[b-5b0t2pkfbx] {
    display: grid;
    gap: 8px;
    padding: 12px 16px;
}

.skeleton-row[b-5b0t2pkfbx] {
    display: grid;
    grid-template-columns: 120px minmax(180px, 1fr) 140px 100px 70px;
    align-items: center;
    gap: 16px;
    min-height: 52px;
}

/* Cards */
.inv-card-grid[b-5b0t2pkfbx] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 14px;
}

.inv-card[b-5b0t2pkfbx] {
    position: relative;
    display: grid;
    align-content: start;
    gap: 14px;
    min-height: 180px;
    padding: 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
    cursor: pointer;
    outline: none;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.inv-card:hover[b-5b0t2pkfbx] {
        transform: translateY(-2px);
        border-color: color-mix(in srgb, var(--pay-primary) 35%, var(--pay-line));
        box-shadow: var(--mud-elevation-3);
    }

.inv-card.selected[b-5b0t2pkfbx] {
        border-color: var(--pay-primary);
        background: color-mix(in srgb, var(--pay-primary) 4%, var(--pay-surface));
        box-shadow: 0 0 0 1px var(--pay-primary);
    }

.selected-indicator[b-5b0t2pkfbx] {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-end: 10px;
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    color: #fff;
    background: var(--pay-primary);
}

.inv-card-header[b-5b0t2pkfbx] {
    display: flex;
    align-items: center;
    gap: 11px;
}

.inv-card-title[b-5b0t2pkfbx] {
    flex: 1;
    display: grid;
    gap: 3px;
    min-width: 0;
}

.inv-card-title strong[b-5b0t2pkfbx] {
        font-size: .9rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.inv-card-title span[b-5b0t2pkfbx] {
        color: var(--pay-muted);
        font-size: .73rem;
    }

.inv-card-content[b-5b0t2pkfbx] {
    display: grid;
    gap: 12px;
}

.inv-card-footer[b-5b0t2pkfbx] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px dashed var(--pay-line);
}

.selection-actions[b-5b0t2pkfbx] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 11px;
    border-top: 1px dashed var(--pay-line);
}

.loading-card[b-5b0t2pkfbx] {
    grid-template-columns: 48px 1fr;
    align-items: center;
    min-height: 132px;
    cursor: default;
}

.loading-card:hover[b-5b0t2pkfbx] {
        transform: none;
        box-shadow: none;
    }

.loading-card-content[b-5b0t2pkfbx] {
    display: grid;
    gap: 8px;
}

.show-more[b-5b0t2pkfbx] {
    display: flex;
    justify-content: center;
    padding: 2px 0 4px;
}

.remaining-count[b-5b0t2pkfbx] {
    margin-inline-start: 2px;
    padding: 1px 7px;
    border-radius: 8px;
    background: var(--pay-background-2);
    font-size: .7rem;
}

/* Empty */
.inv-empty[b-5b0t2pkfbx] {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.empty-state[b-5b0t2pkfbx] {
    display: grid;
    justify-items: center;
    gap: 9px;
    padding: 58px 20px;
    text-align: center;
}

.empty-icon[b-5b0t2pkfbx] {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 22px;
    color: var(--pay-primary);
    background: color-mix(in srgb, var(--pay-primary) 10%, transparent);
}

.empty-state h3[b-5b0t2pkfbx] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.empty-state p[b-5b0t2pkfbx] {
    max-width: 420px;
    margin: 0 0 6px;
    color: var(--pay-muted);
    font-size: .84rem;
}

/* Responsive */
@media (max-width: 900px) {
    .toolbar-main[b-5b0t2pkfbx] {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box[b-5b0t2pkfbx] {
        width: 100%;
    }

    .toolbar-actions[b-5b0t2pkfbx] {
        justify-content: flex-end;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .inv-toolbar[b-5b0t2pkfbx] {
        padding: 12px;
    }

    .toolbar-actions[b-5b0t2pkfbx] {
        display: grid;
        grid-template-columns: auto auto 1fr;
        width: 100%;
    }

    .inv-card-grid[b-5b0t2pkfbx] {
        grid-template-columns: 1fr;
    }

    .skeleton-row[b-5b0t2pkfbx] {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .inv-card[b-5b0t2pkfbx], .live-dot[b-5b0t2pkfbx], .refresh-progress-bar[b-5b0t2pkfbx] {
        transition: none;
        animation: none;
    }
}

/* ── Shared inventory building blocks ── */
.inv-identity[b-5b0t2pkfbx] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.inv-avatar[b-5b0t2pkfbx] {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

    .inv-avatar.large[b-5b0t2pkfbx] {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

.avatar-0[b-5b0t2pkfbx] { color: #1d4ed8; background: #dbeafe; }
.avatar-1[b-5b0t2pkfbx] { color: #be185d; background: #fce7f3; }
.avatar-2[b-5b0t2pkfbx] { color: #15803d; background: #dcfce7; }
.avatar-3[b-5b0t2pkfbx] { color: #b45309; background: #fef3c7; }
.avatar-4[b-5b0t2pkfbx] { color: #6d28d9; background: #ede9fe; }
.avatar-5[b-5b0t2pkfbx] { color: #0f766e; background: #ccfbf1; }

.inv-name[b-5b0t2pkfbx] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

    .inv-name strong[b-5b0t2pkfbx] {
        font-size: .9rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .inv-name small[b-5b0t2pkfbx] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.cell-stack[b-5b0t2pkfbx] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

    .cell-stack strong[b-5b0t2pkfbx] {
        font-size: .85rem;
        font-weight: 700;
    }

    .cell-stack small[b-5b0t2pkfbx] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.mono[b-5b0t2pkfbx] {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 8px;
    color: #1d4ed8;
    background: #dbeafe;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .78rem;
    font-weight: 700;
}

.money[b-5b0t2pkfbx] {
    font-weight: 750;
    white-space: nowrap;
}

.field-label[b-5b0t2pkfbx] {
    color: var(--pay-muted);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.status-stack[b-5b0t2pkfbx] {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.status-chip[b-5b0t2pkfbx] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

    .status-chip.chip-ok[b-5b0t2pkfbx] { color: #16a34a; background: #dcfce7; }
    .status-chip.chip-warn[b-5b0t2pkfbx] { color: #b45309; background: #fef3c7; }
    .status-chip.chip-orange[b-5b0t2pkfbx] { color: #c2410c; background: #ffedd5; }
    .status-chip.chip-danger[b-5b0t2pkfbx] { color: #dc2626; background: #fee2e2; }
    .status-chip.chip-info[b-5b0t2pkfbx] { color: #1d4ed8; background: #dbeafe; }
    .status-chip.chip-primary[b-5b0t2pkfbx] { color: #6d28d9; background: #ede9fe; }
    .status-chip.chip-muted[b-5b0t2pkfbx] { color: #475569; background: #e2e8f0; }

.stock-cell[b-5b0t2pkfbx] {
    display: grid;
    gap: 5px;
    min-width: 120px;
}

    .stock-cell .qty[b-5b0t2pkfbx] {
        display: flex;
        align-items: baseline;
        gap: 5px;
        font-weight: 800;
        font-size: .95rem;
    }

        .stock-cell .qty small[b-5b0t2pkfbx] {
            color: var(--pay-muted);
            font-size: .7rem;
            font-weight: 650;
        }

.stock-meter[b-5b0t2pkfbx] {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--pay-background-2);
}

    .stock-meter > span[b-5b0t2pkfbx] {
        display: block;
        height: 100%;
        border-radius: inherit;
        background: #16a34a;
    }

    .stock-meter.warn > span[b-5b0t2pkfbx] { background: #f59e0b; }
    .stock-meter.danger > span[b-5b0t2pkfbx] { background: #dc2626; }

.stat-grid[b-5b0t2pkfbx] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-item[b-5b0t2pkfbx] {
    display: grid;
    gap: 4px;
}

.stat-value[b-5b0t2pkfbx] {
    font-size: .95rem;
    font-weight: 750;
}

.expiry-warn[b-5b0t2pkfbx] { color: #dc2626; font-weight: 700; }

.id-pill[b-5b0t2pkfbx] {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 6px;
    color: #b45309;
    background: #fef3c7;
    font-size: .68rem;
    font-weight: 700;
}
/* /Pages/Inventory/SuppliersList.razor.rz.scp.css */
.inv-list[b-2gvgwkepeu] {
    --pay-primary: var(--mud-palette-primary);
    --pay-surface: var(--mud-palette-surface);
    --pay-background-2: var(--mud-palette-background-grey);
    --pay-line: var(--mud-palette-lines-default);
    --pay-text: var(--mud-palette-text-primary);
    --pay-muted: var(--mud-palette-text-secondary);
    display: grid;
    gap: 16px;
    min-width: 0;
}

/* Refresh bar */
.refresh-progress[b-2gvgwkepeu] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 28px;
    color: var(--pay-muted);
    font-size: .74rem;
    font-weight: 650;
}

.refresh-progress-track[b-2gvgwkepeu] {
    position: relative;
    width: 90px;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix(in srgb, var(--pay-primary) 14%, var(--pay-background-2));
}

.refresh-progress-bar[b-2gvgwkepeu] {
    position: absolute;
    inset-block: 0;
    width: 38%;
    border-radius: inherit;
    background: var(--pay-primary);
    animation: inv-refresh-b-2gvgwkepeu 1.15s ease-in-out infinite;
}

@keyframes inv-refresh-b-2gvgwkepeu {
    0% {
        inset-inline-start: -40%;
    }

    50% {
        inset-inline-start: 55%;
    }

    100% {
        inset-inline-start: 110%;
    }
}

/* Filters */
.filter-row[b-2gvgwkepeu] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px;
    overflow-x: auto;
    scrollbar-width: none;
    border: 1px solid var(--pay-line);
    border-radius: 13px;
    background: var(--pay-background-2);
}

.filter-row[b-2gvgwkepeu]::-webkit-scrollbar {
        display: none;
    }

.filter-chip[b-2gvgwkepeu] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 36px;
    padding: 6px 11px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--pay-muted);
    font: inherit;
    font-size: .78rem;
    font-weight: 650;
    cursor: pointer;
    white-space: nowrap;
    transition: all .16s ease;
}

.filter-chip:hover[b-2gvgwkepeu] {
        color: var(--pay-text);
        background: color-mix(in srgb, var(--pay-surface) 70%, transparent);
    }

.filter-chip.on[b-2gvgwkepeu] {
        border-color: color-mix(in srgb, var(--pay-primary) 22%, var(--pay-line));
        color: var(--pay-primary);
        background: var(--pay-surface);
        box-shadow: 0 1px 3px rgba(0,0,0,.06);
    }

.filter-chip.on[b-2gvgwkepeu]::before {
            content: "";
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--pay-primary);
        }

.chip-count[b-2gvgwkepeu] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    border: 1px solid var(--pay-line);
    border-radius: 7px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .68rem;
    font-weight: 750;
}

.filter-chip.on .chip-count[b-2gvgwkepeu] {
    border-color: transparent;
    background: var(--pay-primary);
    color: #fff;
}

/* Toolbar */
.inv-toolbar[b-2gvgwkepeu] {
    display: grid;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.toolbar-main[b-2gvgwkepeu] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box[b-2gvgwkepeu] {
    flex: 1 1 auto;
    min-width: 220px;
}

.toolbar-actions[b-2gvgwkepeu] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.view-switch[b-2gvgwkepeu] {
    display: inline-flex;
    padding: 3px;
    gap: 2px;
    border: 1px solid var(--pay-line);
    border-radius: 12px;
    background: var(--pay-background-2);
}

.view-switch button[b-2gvgwkepeu] {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: 34px;
        padding: 6px 12px;
        border: 0;
        border-radius: 9px;
        background: transparent;
        color: var(--pay-muted);
        font: inherit;
        font-size: .8rem;
        font-weight: 650;
        cursor: pointer;
    }

.view-switch button.active[b-2gvgwkepeu] {
            color: var(--pay-primary);
            background: var(--pay-surface);
            box-shadow: var(--mud-elevation-1);
        }

.toolbar-status[b-2gvgwkepeu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 22px;
}

.result-summary[b-2gvgwkepeu] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pay-muted);
    font-size: .8rem;
}

.result-summary strong[b-2gvgwkepeu] {
        color: var(--pay-text);
    }

.clear-button[b-2gvgwkepeu] {
    padding: 2px 5px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--pay-primary);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

.clear-button:hover[b-2gvgwkepeu] {
        text-decoration: underline;
    }

.live-status[b-2gvgwkepeu] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border-radius: 10px;
    color: #15803d;
    background: #f0fdf4;
    font-size: .72rem;
    font-weight: 700;
}

.live-dot[b-2gvgwkepeu] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 0 rgba(22,163,74,.35);
    animation: inv-pulse-b-2gvgwkepeu 1.8s ease-out infinite;
}

@keyframes inv-pulse-b-2gvgwkepeu {
    0% {
        box-shadow: 0 0 0 0 rgba(22,163,74,.35);
    }

    100% {
        box-shadow: 0 0 0 7px rgba(22,163,74,0);
    }
}

/* Table */
.inv-list[b-2gvgwkepeu]  .inv-table-card {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.inv-list[b-2gvgwkepeu]  .inv-table th {
    padding-block: 11px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .72rem;
    font-weight: 750;
    white-space: nowrap;
}

.inv-list[b-2gvgwkepeu]  .inv-table td {
    padding-block: 12px;
    vertical-align: middle;
}

/* Actions */
.row-actions[b-2gvgwkepeu] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
}

/* Skeletons */
.table-skeletons[b-2gvgwkepeu] {
    display: grid;
    gap: 8px;
    padding: 12px 16px;
}

.skeleton-row[b-2gvgwkepeu] {
    display: grid;
    grid-template-columns: 120px minmax(180px, 1fr) 140px 100px 70px;
    align-items: center;
    gap: 16px;
    min-height: 52px;
}

/* Cards */
.inv-card-grid[b-2gvgwkepeu] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 14px;
}

.inv-card[b-2gvgwkepeu] {
    position: relative;
    display: grid;
    align-content: start;
    gap: 14px;
    min-height: 180px;
    padding: 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
    cursor: pointer;
    outline: none;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.inv-card:hover[b-2gvgwkepeu] {
        transform: translateY(-2px);
        border-color: color-mix(in srgb, var(--pay-primary) 35%, var(--pay-line));
        box-shadow: var(--mud-elevation-3);
    }

.inv-card.selected[b-2gvgwkepeu] {
        border-color: var(--pay-primary);
        background: color-mix(in srgb, var(--pay-primary) 4%, var(--pay-surface));
        box-shadow: 0 0 0 1px var(--pay-primary);
    }

.selected-indicator[b-2gvgwkepeu] {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-end: 10px;
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    color: #fff;
    background: var(--pay-primary);
}

.inv-card-header[b-2gvgwkepeu] {
    display: flex;
    align-items: center;
    gap: 11px;
}

.inv-card-title[b-2gvgwkepeu] {
    flex: 1;
    display: grid;
    gap: 3px;
    min-width: 0;
}

.inv-card-title strong[b-2gvgwkepeu] {
        font-size: .9rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.inv-card-title span[b-2gvgwkepeu] {
        color: var(--pay-muted);
        font-size: .73rem;
    }

.inv-card-content[b-2gvgwkepeu] {
    display: grid;
    gap: 12px;
}

.inv-card-footer[b-2gvgwkepeu] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px dashed var(--pay-line);
}

.selection-actions[b-2gvgwkepeu] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 11px;
    border-top: 1px dashed var(--pay-line);
}

.loading-card[b-2gvgwkepeu] {
    grid-template-columns: 48px 1fr;
    align-items: center;
    min-height: 132px;
    cursor: default;
}

.loading-card:hover[b-2gvgwkepeu] {
        transform: none;
        box-shadow: none;
    }

.loading-card-content[b-2gvgwkepeu] {
    display: grid;
    gap: 8px;
}

.show-more[b-2gvgwkepeu] {
    display: flex;
    justify-content: center;
    padding: 2px 0 4px;
}

.remaining-count[b-2gvgwkepeu] {
    margin-inline-start: 2px;
    padding: 1px 7px;
    border-radius: 8px;
    background: var(--pay-background-2);
    font-size: .7rem;
}

/* Empty */
.inv-empty[b-2gvgwkepeu] {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.empty-state[b-2gvgwkepeu] {
    display: grid;
    justify-items: center;
    gap: 9px;
    padding: 58px 20px;
    text-align: center;
}

.empty-icon[b-2gvgwkepeu] {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 22px;
    color: var(--pay-primary);
    background: color-mix(in srgb, var(--pay-primary) 10%, transparent);
}

.empty-state h3[b-2gvgwkepeu] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.empty-state p[b-2gvgwkepeu] {
    max-width: 420px;
    margin: 0 0 6px;
    color: var(--pay-muted);
    font-size: .84rem;
}

/* Responsive */
@media (max-width: 900px) {
    .toolbar-main[b-2gvgwkepeu] {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box[b-2gvgwkepeu] {
        width: 100%;
    }

    .toolbar-actions[b-2gvgwkepeu] {
        justify-content: flex-end;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .inv-toolbar[b-2gvgwkepeu] {
        padding: 12px;
    }

    .toolbar-actions[b-2gvgwkepeu] {
        display: grid;
        grid-template-columns: auto auto 1fr;
        width: 100%;
    }

    .inv-card-grid[b-2gvgwkepeu] {
        grid-template-columns: 1fr;
    }

    .skeleton-row[b-2gvgwkepeu] {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .inv-card[b-2gvgwkepeu], .live-dot[b-2gvgwkepeu], .refresh-progress-bar[b-2gvgwkepeu] {
        transition: none;
        animation: none;
    }
}

/* ── Shared inventory building blocks ── */
.inv-identity[b-2gvgwkepeu] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.inv-avatar[b-2gvgwkepeu] {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

    .inv-avatar.large[b-2gvgwkepeu] {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

.avatar-0[b-2gvgwkepeu] { color: #1d4ed8; background: #dbeafe; }
.avatar-1[b-2gvgwkepeu] { color: #be185d; background: #fce7f3; }
.avatar-2[b-2gvgwkepeu] { color: #15803d; background: #dcfce7; }
.avatar-3[b-2gvgwkepeu] { color: #b45309; background: #fef3c7; }
.avatar-4[b-2gvgwkepeu] { color: #6d28d9; background: #ede9fe; }
.avatar-5[b-2gvgwkepeu] { color: #0f766e; background: #ccfbf1; }

.inv-name[b-2gvgwkepeu] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

    .inv-name strong[b-2gvgwkepeu] {
        font-size: .9rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .inv-name small[b-2gvgwkepeu] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.cell-stack[b-2gvgwkepeu] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

    .cell-stack strong[b-2gvgwkepeu] {
        font-size: .85rem;
        font-weight: 700;
    }

    .cell-stack small[b-2gvgwkepeu] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.mono[b-2gvgwkepeu] {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 8px;
    color: #1d4ed8;
    background: #dbeafe;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .78rem;
    font-weight: 700;
}

.money[b-2gvgwkepeu] {
    font-weight: 750;
    white-space: nowrap;
}

.field-label[b-2gvgwkepeu] {
    color: var(--pay-muted);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.status-stack[b-2gvgwkepeu] {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.status-chip[b-2gvgwkepeu] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

    .status-chip.chip-ok[b-2gvgwkepeu] { color: #16a34a; background: #dcfce7; }
    .status-chip.chip-warn[b-2gvgwkepeu] { color: #b45309; background: #fef3c7; }
    .status-chip.chip-orange[b-2gvgwkepeu] { color: #c2410c; background: #ffedd5; }
    .status-chip.chip-danger[b-2gvgwkepeu] { color: #dc2626; background: #fee2e2; }
    .status-chip.chip-info[b-2gvgwkepeu] { color: #1d4ed8; background: #dbeafe; }
    .status-chip.chip-primary[b-2gvgwkepeu] { color: #6d28d9; background: #ede9fe; }
    .status-chip.chip-muted[b-2gvgwkepeu] { color: #475569; background: #e2e8f0; }

.stock-cell[b-2gvgwkepeu] {
    display: grid;
    gap: 5px;
    min-width: 120px;
}

    .stock-cell .qty[b-2gvgwkepeu] {
        display: flex;
        align-items: baseline;
        gap: 5px;
        font-weight: 800;
        font-size: .95rem;
    }

        .stock-cell .qty small[b-2gvgwkepeu] {
            color: var(--pay-muted);
            font-size: .7rem;
            font-weight: 650;
        }

.stock-meter[b-2gvgwkepeu] {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--pay-background-2);
}

    .stock-meter > span[b-2gvgwkepeu] {
        display: block;
        height: 100%;
        border-radius: inherit;
        background: #16a34a;
    }

    .stock-meter.warn > span[b-2gvgwkepeu] { background: #f59e0b; }
    .stock-meter.danger > span[b-2gvgwkepeu] { background: #dc2626; }

.stat-grid[b-2gvgwkepeu] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-item[b-2gvgwkepeu] {
    display: grid;
    gap: 4px;
}

.stat-value[b-2gvgwkepeu] {
    font-size: .95rem;
    font-weight: 750;
}

.expiry-warn[b-2gvgwkepeu] { color: #dc2626; font-weight: 700; }

.id-pill[b-2gvgwkepeu] {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 6px;
    color: #b45309;
    background: #fef3c7;
    font-size: .68rem;
    font-weight: 700;
}
/* /Pages/Invoices/Invoices.razor.rz.scp.css */
/* =========================================================
   invoices Page
   Scoped CSS
   MudBlazor internals are reached with ::deep
   ========================================================= */

.invoices-page[b-v36j10dnas] {
    --pay-primary: var(--mud-palette-primary);
    --pay-surface: var(--mud-palette-surface);
    --pay-background: var(--mud-palette-background);
    --pay-background-2: var(--mud-palette-background-grey);
    --pay-line: var(--mud-palette-lines-default);
    --pay-text: var(--mud-palette-text-primary);
    --pay-muted: var(--mud-palette-text-secondary);
    display: grid;
    gap: 16px;
    min-width: 0;
}

/* =========================================================
   Refresh
   ========================================================= */

.refresh-progress[b-v36j10dnas] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 28px;
    padding-inline: 2px;
    color: var(--pay-muted);
    font-size: .74rem;
    font-weight: 650;
}

.refresh-progress-track[b-v36j10dnas] {
    position: relative;
    width: 90px;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix( in srgb, var(--pay-primary) 14%, var(--pay-background-2) );
}

.refresh-progress-bar[b-v36j10dnas] {
    position: absolute;
    inset-block: 0;
    width: 38%;
    border-radius: inherit;
    background: var(--pay-primary);
    animation: invoice-refresh-progress-b-v36j10dnas 1.15s ease-in-out infinite;
}

.refreshing-label[b-v36j10dnas] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--pay-primary);
    font-size: .78rem;
    font-weight: 650;
}

    .refreshing-label .mud-progress-circular[b-v36j10dnas] {
        width: 16px !important;
        height: 16px !important;
    }

@keyframes invoice-refresh-progress-b-v36j10dnas {

    0% {
        inset-inline-start: -40%;
    }

    50% {
        inset-inline-start: 55%;
    }

    100% {
        inset-inline-start: 110%;
    }
}

/* =========================================================
   Filters
   ========================================================= */

.filter-row[b-v36j10dnas] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 3px;
    overflow-x: auto;
    scrollbar-width: none;
    border: 1px solid var(--pay-line);
    border-radius: 13px;
    background: var(--pay-background-2);
}

    .filter-row[b-v36j10dnas]::-webkit-scrollbar {
        display: none;
    }

.filter-chip[b-v36j10dnas] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 36px;
    padding: 6px 11px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--pay-muted);
    font: inherit;
    font-size: .78rem;
    font-weight: 650;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .12s ease;
}

    .filter-chip:hover[b-v36j10dnas] {
        color: var(--pay-text);
        background: color-mix( in srgb, var(--pay-surface) 70%, transparent );
    }

    .filter-chip:active[b-v36j10dnas] {
        transform: scale(.97);
    }

    .filter-chip:focus-visible[b-v36j10dnas] {
        outline: none;
        border-color: var(--pay-primary);
        box-shadow: 0 0 0 3px color-mix( in srgb, var(--pay-primary) 15%, transparent );
    }

    .filter-chip.on[b-v36j10dnas] {
        border-color: color-mix( in srgb, var(--pay-primary) 22%, var(--pay-line) );
        color: var(--pay-primary);
        background: var(--pay-surface);
        box-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 0 0 1px color-mix( in srgb, var(--pay-primary) 5%, transparent );
    }

        .filter-chip.on[b-v36j10dnas]::before {
            content: "";
            width: 5px;
            height: 5px;
            flex: none;
            border-radius: 50%;
            background: var(--pay-primary);
        }

    .filter-chip .chip-count[b-v36j10dnas] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 21px;
        height: 21px;
        padding: 0 6px;
        border: 1px solid var(--pay-line);
        border-radius: 7px;
        background: var(--pay-background-2);
        color: var(--pay-muted);
        font-size: .68rem;
        font-weight: 750;
        line-height: 1;
        transition: background .16s ease, color .16s ease, border-color .16s ease;
    }

    .filter-chip:hover .chip-count[b-v36j10dnas] {
        color: var(--pay-text);
    }

    .filter-chip.on .chip-count[b-v36j10dnas] {
        border-color: transparent;
        background: var(--pay-primary);
        color: #fff;
    }

/* =========================================================
   Toolbar
   ========================================================= */

.invoices-toolbar[b-v36j10dnas] {
    display: grid;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.toolbar-main[b-v36j10dnas] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.search-box[b-v36j10dnas] {
    flex: 1 1 auto;
    min-width: 220px;
}

.invoices-page[b-v36j10dnas]  .search-box .mud-input-control {
    margin-top: 0;
}

.toolbar-actions[b-v36j10dnas] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.view-switch[b-v36j10dnas] {
    display: inline-flex;
    padding: 3px;
    gap: 2px;
    border: 1px solid var(--pay-line);
    border-radius: 12px;
    background: var(--pay-background-2);
}

    .view-switch button[b-v36j10dnas] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 34px;
        padding: 6px 12px;
        border: 0;
        border-radius: 9px;
        background: transparent;
        color: var(--pay-muted);
        font: inherit;
        font-size: .8rem;
        font-weight: 650;
        cursor: pointer;
        transition: background .15s ease, color .15s ease, box-shadow .15s ease;
    }

        .view-switch button:hover[b-v36j10dnas] {
            color: var(--pay-text);
        }

        .view-switch button.active[b-v36j10dnas] {
            color: var(--pay-primary);
            background: var(--pay-surface);
            box-shadow: var(--mud-elevation-1);
        }

.invoices-page[b-v36j10dnas]  .refresh-button {
    width: 38px;
    height: 38px;
    border: 1px solid var(--pay-line);
    border-radius: 11px;
}

.invoices-page[b-v36j10dnas]  .print-all-button {
    min-height: 38px;
    border-radius: 11px;
    text-transform: none;
    font-weight: 700;
}

.invoices-page[b-v36j10dnas]  .new-button {
    min-height: 38px;
    border-radius: 11px;
    text-transform: none;
    font-weight: 700;
    padding-inline: 16px;
}

.toolbar-status[b-v36j10dnas] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 22px;
}

.result-summary[b-v36j10dnas] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
    color: var(--pay-muted);
    font-size: .8rem;
}

    .result-summary strong[b-v36j10dnas] {
        color: var(--pay-text);
    }

.clear-button[b-v36j10dnas] {
    padding: 2px 5px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--pay-primary);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

    .clear-button:hover[b-v36j10dnas] {
        text-decoration: underline;
    }

.live-status[b-v36j10dnas] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: none;
    padding: 4px 10px;
    border-radius: 10px;
    color: #15803d;
    background: #f0fdf4;
    font-size: .72rem;
    font-weight: 700;
}

.live-dot[b-v36j10dnas] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 0 rgba(22, 163, 74, .35);
    animation: invoice-live-pulse-b-v36j10dnas 1.8s ease-out infinite;
}

@keyframes invoice-live-pulse-b-v36j10dnas {

    0% {
        box-shadow: 0 0 0 0 rgba(22, 163, 74, .35);
    }

    100% {
        box-shadow: 0 0 0 7px rgba(22, 163, 74, 0);
    }
}

/* =========================================================
   Table
   ========================================================= */

.invoices-page[b-v36j10dnas]  .invoices-table-card {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.invoices-page[b-v36j10dnas]  .invoices-table th {
    padding-block: 11px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .72rem;
    font-weight: 750;
    white-space: nowrap;
}

.invoices-page[b-v36j10dnas]  .invoices-table td {
    padding-block: 12px;
    vertical-align: middle;
}

.invoices-page[b-v36j10dnas]  .invoices-table.clickable tbody tr {
    cursor: pointer;
}

.invoices-page[b-v36j10dnas]  .invoices-table tbody tr {
    transition: background .12s ease;
}

.invoices-page[b-v36j10dnas]

.invoices-table.clickable
tbody
tr:hover {
    background: color-mix( in srgb, var(--pay-primary) 4%, var(--pay-surface) );
}

/* =========================================================
   invoice identity
   ========================================================= */

.invoice-date[b-v36j10dnas] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.date-icon[b-v36j10dnas] {
    display: grid;
    place-items: center;
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: var(--pay-primary);
    background: color-mix( in srgb, var(--pay-primary) 10%, transparent );
}

.date-info[b-v36j10dnas] {
    display: grid;
    gap: 2px;
}

    .date-info strong[b-v36j10dnas] {
        color: var(--pay-text);
        font-size: .85rem;
        font-weight: 700;
    }

    .date-info small[b-v36j10dnas] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.invoice-identity[b-v36j10dnas] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.invoice-avatar[b-v36j10dnas] {
    --avatar-background: #dbeafe;
    --avatar-foreground: #1d4ed8;
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: var(--avatar-foreground);
    background: var(--avatar-background);
}

    .invoice-avatar.large[b-v36j10dnas] {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

.avatar-0[b-v36j10dnas] {
    --avatar-background: #dbeafe;
    --avatar-foreground: #1d4ed8;
}

.avatar-1[b-v36j10dnas] {
    --avatar-background: #fce7f3;
    --avatar-foreground: #be185d;
}

.avatar-2[b-v36j10dnas] {
    --avatar-background: #dcfce7;
    --avatar-foreground: #15803d;
}

.avatar-3[b-v36j10dnas] {
    --avatar-background: #fef3c7;
    --avatar-foreground: #b45309;
}

.avatar-4[b-v36j10dnas] {
    --avatar-background: #ede9fe;
    --avatar-foreground: #6d28d9;
}

.avatar-5[b-v36j10dnas] {
    --avatar-background: #ccfbf1;
    --avatar-foreground: #0f766e;
}

.invoice-name[b-v36j10dnas],
.invoice-card-title[b-v36j10dnas] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

    .invoice-name strong[b-v36j10dnas],
    .invoice-card-title strong[b-v36j10dnas] {
        overflow: hidden;
        color: var(--pay-text);
        font-size: .9rem;
        font-weight: 750;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .invoice-name small[b-v36j10dnas],
    .invoice-card-title span[b-v36j10dnas] {
        color: var(--pay-muted);
        font-size: .73rem;
    }

.installment-badge[b-v36j10dnas] {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 6px;
    color: #7c3aed;
    background: #f3e8ff;
    font-size: .68rem;
    font-weight: 700;
}

.doctor-chip[b-v36j10dnas] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 8px;
    color: #1d4ed8;
    background: #dbeafe;
    font-size: .75rem;
    font-weight: 650;
}

.muted-text[b-v36j10dnas] {
    color: var(--pay-muted);
    font-size: .85rem;
}

/* =========================================================
   Amounts
   ========================================================= */

.amount-chip[b-v36j10dnas] {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 9px;
    font-size: .8rem;
    font-weight: 700;
    white-space: nowrap;
}

    .amount-chip.total[b-v36j10dnas] {
        color: #4500a3;
        background: #ede9fe;
    }

    .amount-chip.paid[b-v36j10dnas] {
        color: #16a34a;
        background: #dcfce7;
    }

    .amount-chip.rest-due[b-v36j10dnas] {
        color: #dc2626;
        background: #fee2e2;
    }

    .amount-chip.rest-paid[b-v36j10dnas] {
        color: #15803d;
        background: #f0fdf4;
    }

.amount-grid[b-v36j10dnas] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.amount-item[b-v36j10dnas] {
    display: grid;
    gap: 4px;
}

    .amount-item .field-label[b-v36j10dnas] {
        color: var(--pay-muted);
        font-size: .68rem;
        font-weight: 750;
        letter-spacing: .03em;
        text-transform: uppercase;
    }

    .amount-item .amount-value[b-v36j10dnas] {
        font-size: .95rem;
        font-weight: 750;
    }

        .amount-item .amount-value.total[b-v36j10dnas] {
            color: #4500a3;
        }

        .amount-item .amount-value.paid[b-v36j10dnas] {
            color: #16a34a;
        }

        .amount-item .amount-value.rest-due[b-v36j10dnas] {
            color: #dc2626;
        }

        .amount-item .amount-value.rest-paid[b-v36j10dnas] {
            color: #15803d;
        }

/* =========================================================
   Status
   ========================================================= */

.status-chip[b-v36j10dnas] {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

    .status-chip.status-paid[b-v36j10dnas] {
        color: #16a34a;
        background: #dcfce7;
    }

    .status-chip.status-partial[b-v36j10dnas] {
        color: #ca8a04;
        background: #fef3c7;
    }

    .status-chip.status-pending[b-v36j10dnas] {
        color: #dc2626;
        background: #fee2e2;
    }

    .status-chip.status-default[b-v36j10dnas] {
        color: var(--pay-muted);
        background: var(--pay-background-2);
    }

/* =========================================================
   Actions
   ========================================================= */

.row-actions[b-v36j10dnas] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
}

.invoices-page[b-v36j10dnas]

.row-actions
.mud-icon-button {
    border-radius: 9px;
}

/* =========================================================
   Table skeleton
   ========================================================= */

.table-skeletons[b-v36j10dnas] {
    display: grid;
    gap: 8px;
    padding: 12px 16px;
}

.skeleton-row[b-v36j10dnas] {
    display: grid;
    grid-template-columns: 120px minmax(180px, 1fr) 140px 100px 70px;
    align-items: center;
    gap: 16px;
    min-height: 52px;
}

/* =========================================================
   Cards
   ========================================================= */

.invoice-card-grid[b-v36j10dnas] {
    display: grid;
    grid-template-columns: repeat( auto-fill, minmax( min(100%, 300px), 1fr ) );
    gap: 14px;
    align-items: stretch;
}

.invoice-card[b-v36j10dnas] {
    position: relative;
    display: grid;
    align-content: start;
    gap: 14px;
    min-width: 0;
    min-height: 180px;
    padding: 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
    box-shadow: var(--mud-elevation-0);
    cursor: pointer;
    outline: none;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

    .invoice-card:hover[b-v36j10dnas] {
        transform: translateY(-2px);
        border-color: color-mix( in srgb, var(--pay-primary) 35%, var(--pay-line) );
        box-shadow: var(--mud-elevation-3);
    }

    .invoice-card:focus-visible[b-v36j10dnas] {
        border-color: var(--pay-primary);
        box-shadow: 0 0 0 3px color-mix( in srgb, var(--pay-primary) 18%, transparent );
    }

    .invoice-card.selected[b-v36j10dnas] {
        border-color: var(--pay-primary);
        background: color-mix( in srgb, var(--pay-primary) 4%, var(--pay-surface) );
        box-shadow: 0 0 0 1px var(--pay-primary), var(--mud-elevation-2);
    }

.selected-indicator[b-v36j10dnas] {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-end: 10px;
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    color: #fff;
    background: var(--pay-primary);
}

.invoice-card-header[b-v36j10dnas] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.invoice-card-title[b-v36j10dnas] {
    flex: 1;
}

.card-menu[b-v36j10dnas] {
    flex: none;
    margin-inline-start: auto;
}

.invoice-card-content[b-v36j10dnas] {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.invoice-card-footer[b-v36j10dnas] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px dashed var(--pay-line);
}

.selection-actions[b-v36j10dnas] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 11px;
    border-top: 1px dashed var(--pay-line);
}

    .selection-actions .mud-button[b-v36j10dnas] {
        text-transform: none;
        border-radius: 9px;
    }

.loading-card[b-v36j10dnas] {
    grid-template-columns: 48px 1fr;
    align-items: center;
    min-height: 132px;
    cursor: default;
}

    .loading-card:hover[b-v36j10dnas] {
        transform: none;
        box-shadow: none;
    }

.loading-card-content[b-v36j10dnas] {
    display: grid;
    gap: 8px;
}

.show-more[b-v36j10dnas] {
    display: flex;
    justify-content: center;
    padding: 2px 0 4px;
}

.show-more-button[b-v36j10dnas] {
    border-radius: 11px;
    text-transform: none;
    font-weight: 700;
}

.remaining-count[b-v36j10dnas] {
    margin-inline-start: 2px;
    padding: 1px 7px;
    border-radius: 8px;
    background: var(--pay-background-2);
    font-size: .7rem;
}

/* =========================================================
   Empty
   ========================================================= */

.invoices-empty[b-v36j10dnas] {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.empty-state[b-v36j10dnas] {
    display: grid;
    justify-items: center;
    gap: 9px;
    padding: 58px 20px;
    text-align: center;
}

.empty-icon[b-v36j10dnas] {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin-bottom: 4px;
    border-radius: 22px;
    color: var(--pay-primary);
    background: color-mix( in srgb, var(--pay-primary) 10%, transparent );
}

.empty-state h3[b-v36j10dnas] {
    margin: 0;
    color: var(--pay-text);
    font-size: 1.05rem;
    font-weight: 800;
}

.empty-state p[b-v36j10dnas] {
    max-width: 420px;
    margin: 0 0 6px;
    color: var(--pay-muted);
    font-size: .84rem;
}

.invoices-page[b-v36j10dnas]

.empty-button {
    border-radius: 10px;
    text-transform: none;
    font-weight: 700;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 900px) {

    .toolbar-main[b-v36j10dnas] {
        align-items: stretch;
        flex-direction: column;
    }

    .search-box[b-v36j10dnas] {
        width: 100%;
    }

    .toolbar-actions[b-v36j10dnas] {
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .invoice-card-grid[b-v36j10dnas] {
        grid-template-columns: repeat( auto-fill, minmax( min(100%, 260px), 1fr ) );
    }
}

@media (max-width: 600px) {

    .filter-row[b-v36j10dnas] {
        width: 100%;
        padding: 3px;
        border-radius: 12px;
    }

    .filter-chip[b-v36j10dnas] {
        min-height: 35px;
        padding-inline: 10px;
        font-size: .76rem;
    }

    .invoices-toolbar[b-v36j10dnas] {
        padding: 12px;
    }

    .toolbar-actions[b-v36j10dnas] {
        display: grid;
        grid-template-columns: auto auto 1fr;
        width: 100%;
    }

    .view-switch[b-v36j10dnas] {
        justify-self: start;
    }

    .invoices-page[b-v36j10dnas]
    
    .new-button {
        width: 100%;
    }

    .toolbar-status[b-v36j10dnas] {
        align-items: flex-start;
    }

    .invoice-card-grid[b-v36j10dnas] {
        grid-template-columns: 1fr;
    }

    .invoice-card[b-v36j10dnas] {
        min-height: 0;
    }

    .table-skeletons[b-v36j10dnas] {
        padding-inline: 10px;
    }

    .skeleton-row[b-v36j10dnas] {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .amount-grid[b-v36j10dnas] {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
}

/* =========================================================
   Reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .invoice-card[b-v36j10dnas],
    .view-switch button[b-v36j10dnas],
    .live-dot[b-v36j10dnas],
    .refresh-progress-bar[b-v36j10dnas] {
        transition: none;
        animation: none;
    }
}
/* /Pages/Medications/Medications.razor.rz.scp.css */
/* Medications page
   Scoped CSS. MudBlazor internals are reached with ::deep. */

.medications-page[b-ri7rlff098] {
    --med-primary: var(--mud-palette-primary);
    --med-surface: var(--mud-palette-surface);
    --med-background: var(--mud-palette-background);
    --med-background-2: var(--mud-palette-background-grey);
    --med-line: var(--mud-palette-lines-default);
    --med-text: var(--mud-palette-text-primary);
    --med-muted: var(--mud-palette-text-secondary);
    display: grid;
    gap: 16px;
    min-width: 0;
}

/* ───────────────────────── Refresh ───────────────────────── */

.refresh-progress[b-ri7rlff098] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 28px;
    padding-inline: 2px;
    color: var(--med-muted);
    font-size: .74rem;
    font-weight: 650;
}

.refresh-progress-track[b-ri7rlff098] {
    position: relative;
    width: 90px;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix(in srgb, var(--med-primary) 14%, var(--med-background-2));
}

.refresh-progress-bar[b-ri7rlff098] {
    position: absolute;
    inset-block: 0;
    width: 38%;
    border-radius: inherit;
    background: var(--med-primary);
    animation: medication-refresh-progress-b-ri7rlff098 1.15s ease-in-out infinite;
}

.refreshing-label[b-ri7rlff098] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--med-primary);
    font-size: .78rem;
    font-weight: 650;
}

    .refreshing-label .mud-progress-circular[b-ri7rlff098] {
        width: 16px !important;
        height: 16px !important;
    }

@keyframes medication-refresh-progress-b-ri7rlff098 {
    0% {
        inset-inline-start: -40%;
    }

    50% {
        inset-inline-start: 55%;
    }

    100% {
        inset-inline-start: 110%;
    }
}

/* ───────────────────────── Toolbar ───────────────────────── */

.medications-toolbar[b-ri7rlff098] {
    display: grid;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--med-line);
    border-radius: 16px;
    background: var(--med-surface);
}

.toolbar-main[b-ri7rlff098] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.search-box[b-ri7rlff098] {
    flex: 1 1 auto;
    min-width: 220px;
}

.medications-page[b-ri7rlff098]  .search-box .mud-input-control {
    margin-top: 0;
}

.toolbar-actions[b-ri7rlff098] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.view-switch[b-ri7rlff098] {
    display: inline-flex;
    padding: 3px;
    gap: 2px;
    border: 1px solid var(--med-line);
    border-radius: 12px;
    background: var(--med-background-2);
}

    .view-switch button[b-ri7rlff098] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 34px;
        padding: 6px 12px;
        border: 0;
        border-radius: 9px;
        background: transparent;
        color: var(--med-muted);
        font: inherit;
        font-size: .8rem;
        font-weight: 650;
        cursor: pointer;
        transition: background .15s ease, color .15s ease, box-shadow .15s ease;
    }

        .view-switch button:hover[b-ri7rlff098] {
            color: var(--med-text);
        }

        .view-switch button.active[b-ri7rlff098] {
            color: var(--med-primary);
            background: var(--med-surface);
            box-shadow: var(--mud-elevation-1);
        }

.medications-page[b-ri7rlff098]  .refresh-button {
    width: 38px;
    height: 38px;
    border: 1px solid var(--med-line);
    border-radius: 11px;
}

.medications-page[b-ri7rlff098]  .print-all-button {
    min-height: 38px;
    border-radius: 11px;
    text-transform: none;
    font-weight: 700;
}

.medications-page[b-ri7rlff098]  .new-button {
    min-height: 38px;
    border-radius: 11px;
    text-transform: none;
    font-weight: 700;
    padding-inline: 16px;
}

.toolbar-status[b-ri7rlff098] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 22px;
}

.result-summary[b-ri7rlff098] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
    color: var(--med-muted);
    font-size: .8rem;
}

    .result-summary strong[b-ri7rlff098] {
        color: var(--med-text);
    }

.clear-button[b-ri7rlff098] {
    padding: 2px 5px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--med-primary);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

    .clear-button:hover[b-ri7rlff098] {
        text-decoration: underline;
    }

.live-status[b-ri7rlff098] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: none;
    padding: 4px 10px;
    border-radius: 10px;
    color: #15803d;
    background: #f0fdf4;
    font-size: .72rem;
    font-weight: 700;
}

.live-dot[b-ri7rlff098] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 0 rgba(22, 163, 74, .35);
    animation: medication-live-pulse-b-ri7rlff098 1.8s ease-out infinite;
}

@keyframes medication-live-pulse-b-ri7rlff098 {
    0% {
        box-shadow: 0 0 0 0 rgba(22, 163, 74, .35);
    }

    100% {
        box-shadow: 0 0 0 7px rgba(22, 163, 74, 0);
    }
}

/* ───────────────────────── Table ───────────────────────── */

.medications-page[b-ri7rlff098]  .medications-table-card {
    overflow: hidden;
    border: 1px solid var(--med-line);
    border-radius: 16px;
    background: var(--med-surface);
}

.medications-page[b-ri7rlff098]  .medications-table th {
    padding-block: 11px;
    background: var(--med-background-2);
    color: var(--med-muted);
    font-size: .72rem;
    font-weight: 750;
    white-space: nowrap;
}

.medications-page[b-ri7rlff098]  .medications-table td {
    padding-block: 12px;
    vertical-align: middle;
}

.medications-page[b-ri7rlff098]  .medications-table.clickable tbody tr {
    cursor: pointer;
}

.medications-page[b-ri7rlff098]  .medications-table tbody tr {
    transition: background .12s ease;
}

.medications-page[b-ri7rlff098]  .medications-table.clickable tbody tr:hover {
    background: color-mix(in srgb, var(--med-primary) 4%, var(--med-surface));
}

.drug-identity[b-ri7rlff098] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.drug-avatar[b-ri7rlff098] {
    --avatar-background: #ede9fe;
    --avatar-foreground: #6d28d9;
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: var(--avatar-foreground);
    background: var(--avatar-background);
}

    .drug-avatar.large[b-ri7rlff098] {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

.avatar-0[b-ri7rlff098] {
    --avatar-background: #dbeafe;
    --avatar-foreground: #1d4ed8;
}

.avatar-1[b-ri7rlff098] {
    --avatar-background: #fce7f3;
    --avatar-foreground: #be185d;
}

.avatar-2[b-ri7rlff098] {
    --avatar-background: #dcfce7;
    --avatar-foreground: #15803d;
}

.avatar-3[b-ri7rlff098] {
    --avatar-background: #fef3c7;
    --avatar-foreground: #b45309;
}

.avatar-4[b-ri7rlff098] {
    --avatar-background: #ede9fe;
    --avatar-foreground: #6d28d9;
}

.avatar-5[b-ri7rlff098] {
    --avatar-background: #ccfbf1;
    --avatar-foreground: #0f766e;
}

.drug-name[b-ri7rlff098],
.drug-card-title[b-ri7rlff098] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

    .drug-name strong[b-ri7rlff098],
    .drug-card-title strong[b-ri7rlff098] {
        overflow: hidden;
        color: var(--med-text);
        font-size: .9rem;
        font-weight: 750;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .drug-name small[b-ri7rlff098],
    .drug-card-title span[b-ri7rlff098] {
        color: var(--med-muted);
        font-size: .73rem;
    }

.dosage-chip[b-ri7rlff098] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: min(100%, 320px);
    padding: 5px 10px;
    border: 1px solid color-mix(in srgb, var(--med-primary) 18%, var(--med-line));
    border-radius: 9px;
    color: var(--med-primary);
    background: color-mix(in srgb, var(--med-primary) 7%, var(--med-surface));
    font-size: .76rem;
    font-weight: 650;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.muted-value[b-ri7rlff098] {
    color: var(--med-muted);
    font-size: .78rem;
}

.row-actions[b-ri7rlff098] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
}

.medications-page[b-ri7rlff098]  .row-actions .mud-icon-button {
    border-radius: 9px;
}

.table-skeletons[b-ri7rlff098] {
    display: grid;
    gap: 8px;
    padding: 12px 16px;
}

.skeleton-row[b-ri7rlff098] {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(100px, .7fr) 70px;
    align-items: center;
    gap: 20px;
    min-height: 48px;
}

/* ───────────────────────── Cards ───────────────────────── */

.drug-card-grid[b-ri7rlff098] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 14px;
    align-items: stretch;
}

.drug-card[b-ri7rlff098] {
    position: relative;
    display: grid;
    align-content: start;
    gap: 14px;
    min-width: 0;
    min-height: 156px;
    padding: 16px;
    border: 1px solid var(--med-line);
    border-radius: 16px;
    background: var(--med-surface);
    box-shadow: var(--mud-elevation-0);
    cursor: pointer;
    outline: none;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

    .drug-card:hover[b-ri7rlff098] {
        transform: translateY(-2px);
        border-color: color-mix(in srgb, var(--med-primary) 35%, var(--med-line));
        box-shadow: var(--mud-elevation-3);
    }

    .drug-card:focus-visible[b-ri7rlff098] {
        border-color: var(--med-primary);
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--med-primary) 18%, transparent);
    }

    .drug-card.selected[b-ri7rlff098] {
        border-color: var(--med-primary);
        background: color-mix(in srgb, var(--med-primary) 4%, var(--med-surface));
        box-shadow: 0 0 0 1px var(--med-primary), var(--mud-elevation-2);
    }

.selected-indicator[b-ri7rlff098] {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-end: 10px;
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    color: #fff;
    background: var(--med-primary);
}

.drug-card-header[b-ri7rlff098] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.drug-card-title[b-ri7rlff098] {
    flex: 1;
}

.card-menu[b-ri7rlff098] {
    flex: none;
    margin-inline-start: auto;
}

.drug-card-content[b-ri7rlff098] {
    display: grid;
    gap: 7px;
    min-width: 0;
    padding-top: 2px;
}

.field-label[b-ri7rlff098] {
    color: var(--med-muted);
    font-size: .7rem;
    font-weight: 750;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.drug-card-content .dosage-chip[b-ri7rlff098] {
    width: fit-content;
    max-width: 100%;
}

.selection-actions[b-ri7rlff098] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 11px;
    border-top: 1px dashed var(--med-line);
}

    .selection-actions .mud-button[b-ri7rlff098] {
        text-transform: none;
        border-radius: 9px;
    }

.loading-card[b-ri7rlff098] {
    grid-template-columns: 48px 1fr;
    align-items: center;
    min-height: 132px;
    cursor: default;
}

    .loading-card:hover[b-ri7rlff098] {
        transform: none;
        box-shadow: none;
    }

.loading-card-content[b-ri7rlff098] {
    display: grid;
    gap: 8px;
}

.show-more[b-ri7rlff098] {
    display: flex;
    justify-content: center;
    padding: 2px 0 4px;
}

.show-more-button[b-ri7rlff098] {
    border-radius: 11px;
    text-transform: none;
    font-weight: 700;
}

.remaining-count[b-ri7rlff098] {
    margin-inline-start: 2px;
    padding: 1px 7px;
    border-radius: 8px;
    background: var(--med-background-2);
    font-size: .7rem;
}

/* ───────────────────────── Empty ───────────────────────── */

.medications-empty[b-ri7rlff098] {
    overflow: hidden;
    border: 1px solid var(--med-line);
    border-radius: 16px;
    background: var(--med-surface);
}

.empty-state[b-ri7rlff098] {
    display: grid;
    justify-items: center;
    gap: 9px;
    padding: 58px 20px;
    text-align: center;
}

.empty-icon[b-ri7rlff098] {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin-bottom: 4px;
    border-radius: 22px;
    color: var(--med-primary);
    background: color-mix(in srgb, var(--med-primary) 10%, transparent);
}

.empty-state h3[b-ri7rlff098] {
    margin: 0;
    color: var(--med-text);
    font-size: 1.05rem;
    font-weight: 800;
}

.empty-state p[b-ri7rlff098] {
    max-width: 420px;
    margin: 0 0 6px;
    color: var(--med-muted);
    font-size: .84rem;
}

.medications-page[b-ri7rlff098]  .empty-button {
    border-radius: 10px;
    text-transform: none;
    font-weight: 700;
}

/* ───────────────────────── Responsive ───────────────────────── */

@media (max-width: 900px) {
    .toolbar-main[b-ri7rlff098] {
        align-items: stretch;
        flex-direction: column;
    }

    .search-box[b-ri7rlff098] {
        width: 100%;
    }

    .toolbar-actions[b-ri7rlff098] {
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .drug-card-grid[b-ri7rlff098] {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    }
}

@media (max-width: 600px) {
    .medications-toolbar[b-ri7rlff098] {
        padding: 12px;
    }

    .toolbar-actions[b-ri7rlff098] {
        display: grid;
        grid-template-columns: auto auto 1fr;
        width: 100%;
    }

    .view-switch[b-ri7rlff098] {
        justify-self: start;
    }

    .medications-page[b-ri7rlff098]  .new-button {
        width: 100%;
    }

    .toolbar-status[b-ri7rlff098] {
        align-items: flex-start;
    }

    .drug-card-grid[b-ri7rlff098] {
        grid-template-columns: 1fr;
    }

    .drug-card[b-ri7rlff098] {
        min-height: 0;
    }

    .table-skeletons[b-ri7rlff098] {
        padding-inline: 10px;
    }

    .skeleton-row[b-ri7rlff098] {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .drug-card[b-ri7rlff098],
    .view-switch button[b-ri7rlff098],
    .live-dot[b-ri7rlff098],
    .refresh-progress-bar[b-ri7rlff098] {
        transition: none;
        animation: none;
    }
}
/* /Pages/Payments/PaymentEditor.razor.rz.scp.css */
/* =========================================================
   Payment Editor Dialog
   ========================================================= */

.payment-dialog[b-mmnidszz1p] {
    border-radius: 16px !important;
}

    .payment-dialog[b-mmnidszz1p]  .mud-dialog-content {
        padding: 0;
    }

    .payment-dialog[b-mmnidszz1p]  .mud-dialog-actions {
        padding: 12px 20px 16px;
        border-top: 1px solid var(--mud-palette-lines-default);
    }

.who[b-mmnidszz1p] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.who-text[b-mmnidszz1p] {
    display: grid;
    gap: 2px;
}

    .who-text strong[b-mmnidszz1p] {
        font-size: .95rem;
        font-weight: 750;
    }

    .who-text small[b-mmnidszz1p] {
        color: var(--mud-palette-text-secondary);
        font-size: .75rem;
    }

.avatar[b-mmnidszz1p] {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.avatar-0[b-mmnidszz1p] {
    color: #1d4ed8;
    background: #dbeafe;
}

.avatar-3[b-mmnidszz1p] {
    color: #b45309;
    background: #fef3c7;
}

.tag[b-mmnidszz1p] {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: .7rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .04em;
}

    .tag.payment-new[b-mmnidszz1p] {
        color: #1d4ed8;
        background: #dbeafe;
    }

    .tag.payment-edit[b-mmnidszz1p] {
        color: #b45309;
        background: #fef3c7;
    }

    .tag.payment-installment[b-mmnidszz1p] {
        color: #7c3aed;
        background: #f3e8ff;
    }

/* ── Skeleton ── */

.skeleton-list[b-mmnidszz1p] {
    display: grid;
    gap: 12px;
    padding: 20px;
}

/* ── Scroll container ── */

.payment-editor-scroll[b-mmnidszz1p] {
    max-height: min(75vh, 800px);
    overflow-y: auto;
    padding: 16px 20px 8px;
    scrollbar-width: thin;
}

    .payment-editor-scroll[b-mmnidszz1p]::-webkit-scrollbar {
        width: 6px;
    }

    .payment-editor-scroll[b-mmnidszz1p]::-webkit-scrollbar-thumb {
        background: var(--mud-palette-lines-default);
        border-radius: 3px;
    }

.payment-editor-content[b-mmnidszz1p] {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

/* ── Form sections ── */

.form-section[b-mmnidszz1p] {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 12px;
    background: var(--mud-palette-surface);
}

.section-header[b-mmnidszz1p] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--mud-palette-primary);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.form-row[b-mmnidszz1p] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ── Services ── */

.services-list[b-mmnidszz1p] {
    display: grid;
    gap: 12px;
}

.service-row[b-mmnidszz1p] {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 10px;
    background: var(--mud-palette-background-grey);
}

.service-row-header[b-mmnidszz1p] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-autocomplete[b-mmnidszz1p] {
    flex: 1;
}

.service-row-details[b-mmnidszz1p] {
    display: grid;
    grid-template-columns: 1fr 100px auto;
    gap: 12px;
    align-items: center;
}

.line-total[b-mmnidszz1p] {
    display: grid;
    gap: 2px;
    text-align: end;
    min-width: 100px;
}

    .line-total .label[b-mmnidszz1p] {
        color: var(--mud-palette-text-secondary);
        font-size: .7rem;
        font-weight: 600;
    }

    .line-total .value[b-mmnidszz1p] {
        color: var(--mud-palette-primary);
        font-size: .95rem;
        font-weight: 750;
    }

.add-service-btn[b-mmnidszz1p] {
    text-transform: none;
    font-weight: 650;
    border-radius: 8px;
}

/* ── Totals ── */

.totals-section[b-mmnidszz1p] {
    background: color-mix(in srgb, var(--mud-palette-primary) 4%, var(--mud-palette-surface));
}

.totals-grid[b-mmnidszz1p] {
    display: grid;
    gap: 8px;
}

.total-row[b-mmnidszz1p] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

    .total-row .label[b-mmnidszz1p] {
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--mud-palette-text-secondary);
        font-size: .85rem;
    }

    .total-row .value[b-mmnidszz1p] {
        font-size: .9rem;
        font-weight: 650;
    }

    .total-row.grand-total .label[b-mmnidszz1p],
    .total-row.grand-total .value[b-mmnidszz1p] {
        font-size: 1.05rem;
        font-weight: 800;
    }

    .total-row.grand-total .value[b-mmnidszz1p] {
        color: #4500a3;
    }

.discount-value[b-mmnidszz1p] {
    color: #dc2626 !important;
}

.paid-value[b-mmnidszz1p] {
    color: #16a34a !important;
}

.rest-due[b-mmnidszz1p] {
    color: #dc2626 !important;
}

.rest-ok[b-mmnidszz1p] {
    color: #16a34a !important;
}

/* ── Inline inputs ── */

.discount-input[b-mmnidszz1p],
.paid-input[b-mmnidszz1p] {
    width: 90px;
}

    .discount-input[b-mmnidszz1p]  .mud-input,
    .paid-input[b-mmnidszz1p]  .mud-input {
        text-align: end;
    }

/* ── Alerts ── */

.installment-alert[b-mmnidszz1p],
.debt-alert[b-mmnidszz1p] {
    border-radius: 10px;
}

/* ── Responsive ── */

@media (max-width: 600px) {
    .payment-editor-scroll[b-mmnidszz1p] {
        max-height: 65vh;
        padding: 12px;
    }

    .form-row[b-mmnidszz1p] {
        grid-template-columns: 1fr;
    }

    .service-row-details[b-mmnidszz1p] {
        grid-template-columns: 1fr 1fr;
    }

    .line-total[b-mmnidszz1p] {
        grid-column: span 2;
        text-align: start;
    }

    .who-text small[b-mmnidszz1p] {
        display: none;
    }
}
/* /Pages/Payments/Payments.razor.rz.scp.css */
/* =========================================================
   Payments Page
   Scoped CSS
   MudBlazor internals are reached with ::deep
   ========================================================= */

.payments-page[b-pi6znvca6l] {
    --pay-primary: var(--mud-palette-primary);
    --pay-surface: var(--mud-palette-surface);
    --pay-background: var(--mud-palette-background);
    --pay-background-2: var(--mud-palette-background-grey);
    --pay-line: var(--mud-palette-lines-default);
    --pay-text: var(--mud-palette-text-primary);
    --pay-muted: var(--mud-palette-text-secondary);
    display: grid;
    gap: 16px;
    min-width: 0;
}

/* =========================================================
   Refresh
   ========================================================= */

.refresh-progress[b-pi6znvca6l] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 28px;
    padding-inline: 2px;
    color: var(--pay-muted);
    font-size: .74rem;
    font-weight: 650;
}

.refresh-progress-track[b-pi6znvca6l] {
    position: relative;
    width: 90px;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix( in srgb, var(--pay-primary) 14%, var(--pay-background-2) );
}

.refresh-progress-bar[b-pi6znvca6l] {
    position: absolute;
    inset-block: 0;
    width: 38%;
    border-radius: inherit;
    background: var(--pay-primary);
    animation: payment-refresh-progress-b-pi6znvca6l 1.15s ease-in-out infinite;
}

.refreshing-label[b-pi6znvca6l] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--pay-primary);
    font-size: .78rem;
    font-weight: 650;
}

    .refreshing-label .mud-progress-circular[b-pi6znvca6l] {
        width: 16px !important;
        height: 16px !important;
    }

@keyframes payment-refresh-progress-b-pi6znvca6l {

    0% {
        inset-inline-start: -40%;
    }

    50% {
        inset-inline-start: 55%;
    }

    100% {
        inset-inline-start: 110%;
    }
}

/* =========================================================
   Filters
   ========================================================= */

.filter-row[b-pi6znvca6l] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 3px;
    overflow-x: auto;
    scrollbar-width: none;
    border: 1px solid var(--pay-line);
    border-radius: 13px;
    background: var(--pay-background-2);
}

    .filter-row[b-pi6znvca6l]::-webkit-scrollbar {
        display: none;
    }

.filter-chip[b-pi6znvca6l] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 36px;
    padding: 6px 11px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--pay-muted);
    font: inherit;
    font-size: .78rem;
    font-weight: 650;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .12s ease;
}

    .filter-chip:hover[b-pi6znvca6l] {
        color: var(--pay-text);
        background: color-mix( in srgb, var(--pay-surface) 70%, transparent );
    }

    .filter-chip:active[b-pi6znvca6l] {
        transform: scale(.97);
    }

    .filter-chip:focus-visible[b-pi6znvca6l] {
        outline: none;
        border-color: var(--pay-primary);
        box-shadow: 0 0 0 3px color-mix( in srgb, var(--pay-primary) 15%, transparent );
    }

    .filter-chip.on[b-pi6znvca6l] {
        border-color: color-mix( in srgb, var(--pay-primary) 22%, var(--pay-line) );
        color: var(--pay-primary);
        background: var(--pay-surface);
        box-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 0 0 1px color-mix( in srgb, var(--pay-primary) 5%, transparent );
    }

        .filter-chip.on[b-pi6znvca6l]::before {
            content: "";
            width: 5px;
            height: 5px;
            flex: none;
            border-radius: 50%;
            background: var(--pay-primary);
        }

    .filter-chip .chip-count[b-pi6znvca6l] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 21px;
        height: 21px;
        padding: 0 6px;
        border: 1px solid var(--pay-line);
        border-radius: 7px;
        background: var(--pay-background-2);
        color: var(--pay-muted);
        font-size: .68rem;
        font-weight: 750;
        line-height: 1;
        transition: background .16s ease, color .16s ease, border-color .16s ease;
    }

    .filter-chip:hover .chip-count[b-pi6znvca6l] {
        color: var(--pay-text);
    }

    .filter-chip.on .chip-count[b-pi6znvca6l] {
        border-color: transparent;
        background: var(--pay-primary);
        color: #fff;
    }

/* =========================================================
   Toolbar
   ========================================================= */

.payments-toolbar[b-pi6znvca6l] {
    display: grid;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.toolbar-main[b-pi6znvca6l] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.search-box[b-pi6znvca6l] {
    flex: 1 1 auto;
    min-width: 220px;
}

.payments-page[b-pi6znvca6l]  .search-box .mud-input-control {
    margin-top: 0;
}

.toolbar-actions[b-pi6znvca6l] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.view-switch[b-pi6znvca6l] {
    display: inline-flex;
    padding: 3px;
    gap: 2px;
    border: 1px solid var(--pay-line);
    border-radius: 12px;
    background: var(--pay-background-2);
}

    .view-switch button[b-pi6znvca6l] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 34px;
        padding: 6px 12px;
        border: 0;
        border-radius: 9px;
        background: transparent;
        color: var(--pay-muted);
        font: inherit;
        font-size: .8rem;
        font-weight: 650;
        cursor: pointer;
        transition: background .15s ease, color .15s ease, box-shadow .15s ease;
    }

        .view-switch button:hover[b-pi6znvca6l] {
            color: var(--pay-text);
        }

        .view-switch button.active[b-pi6znvca6l] {
            color: var(--pay-primary);
            background: var(--pay-surface);
            box-shadow: var(--mud-elevation-1);
        }

.payments-page[b-pi6znvca6l]  .refresh-button {
    width: 38px;
    height: 38px;
    border: 1px solid var(--pay-line);
    border-radius: 11px;
}

.payments-page[b-pi6znvca6l]  .print-all-button {
    min-height: 38px;
    border-radius: 11px;
    text-transform: none;
    font-weight: 700;
}

.payments-page[b-pi6znvca6l]  .new-button {
    min-height: 38px;
    border-radius: 11px;
    text-transform: none;
    font-weight: 700;
    padding-inline: 16px;
}

.toolbar-status[b-pi6znvca6l] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 22px;
}

.result-summary[b-pi6znvca6l] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
    color: var(--pay-muted);
    font-size: .8rem;
}

    .result-summary strong[b-pi6znvca6l] {
        color: var(--pay-text);
    }

.clear-button[b-pi6znvca6l] {
    padding: 2px 5px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--pay-primary);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

    .clear-button:hover[b-pi6znvca6l] {
        text-decoration: underline;
    }

.live-status[b-pi6znvca6l] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: none;
    padding: 4px 10px;
    border-radius: 10px;
    color: #15803d;
    background: #f0fdf4;
    font-size: .72rem;
    font-weight: 700;
}

.live-dot[b-pi6znvca6l] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 0 rgba(22, 163, 74, .35);
    animation: payment-live-pulse-b-pi6znvca6l 1.8s ease-out infinite;
}

@keyframes payment-live-pulse-b-pi6znvca6l {

    0% {
        box-shadow: 0 0 0 0 rgba(22, 163, 74, .35);
    }

    100% {
        box-shadow: 0 0 0 7px rgba(22, 163, 74, 0);
    }
}

/* =========================================================
   Table
   ========================================================= */

.payments-page[b-pi6znvca6l]  .payments-table-card {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.payments-page[b-pi6znvca6l]  .payments-table th {
    padding-block: 11px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .72rem;
    font-weight: 750;
    white-space: nowrap;
}

.payments-page[b-pi6znvca6l]  .payments-table td {
    padding-block: 12px;
    vertical-align: middle;
}

.payments-page[b-pi6znvca6l]  .payments-table.clickable tbody tr {
    cursor: pointer;
}

.payments-page[b-pi6znvca6l]  .payments-table tbody tr {
    transition: background .12s ease;
}

.payments-page[b-pi6znvca6l]

.payments-table.clickable
tbody
tr:hover {
    background: color-mix( in srgb, var(--pay-primary) 4%, var(--pay-surface) );
}

/* =========================================================
   Payment identity
   ========================================================= */

.payment-date[b-pi6znvca6l] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.date-icon[b-pi6znvca6l] {
    display: grid;
    place-items: center;
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: var(--pay-primary);
    background: color-mix( in srgb, var(--pay-primary) 10%, transparent );
}

.date-info[b-pi6znvca6l] {
    display: grid;
    gap: 2px;
}

    .date-info strong[b-pi6znvca6l] {
        color: var(--pay-text);
        font-size: .85rem;
        font-weight: 700;
    }

    .date-info small[b-pi6znvca6l] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.payment-identity[b-pi6znvca6l] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.payment-avatar[b-pi6znvca6l] {
    --avatar-background: #dbeafe;
    --avatar-foreground: #1d4ed8;
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: var(--avatar-foreground);
    background: var(--avatar-background);
}

    .payment-avatar.large[b-pi6znvca6l] {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

.avatar-0[b-pi6znvca6l] {
    --avatar-background: #dbeafe;
    --avatar-foreground: #1d4ed8;
}

.avatar-1[b-pi6znvca6l] {
    --avatar-background: #fce7f3;
    --avatar-foreground: #be185d;
}

.avatar-2[b-pi6znvca6l] {
    --avatar-background: #dcfce7;
    --avatar-foreground: #15803d;
}

.avatar-3[b-pi6znvca6l] {
    --avatar-background: #fef3c7;
    --avatar-foreground: #b45309;
}

.avatar-4[b-pi6znvca6l] {
    --avatar-background: #ede9fe;
    --avatar-foreground: #6d28d9;
}

.avatar-5[b-pi6znvca6l] {
    --avatar-background: #ccfbf1;
    --avatar-foreground: #0f766e;
}

.payment-name[b-pi6znvca6l],
.payment-card-title[b-pi6znvca6l] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

    .payment-name strong[b-pi6znvca6l],
    .payment-card-title strong[b-pi6znvca6l] {
        overflow: hidden;
        color: var(--pay-text);
        font-size: .9rem;
        font-weight: 750;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .payment-name small[b-pi6znvca6l],
    .payment-card-title span[b-pi6znvca6l] {
        color: var(--pay-muted);
        font-size: .73rem;
    }

.installment-badge[b-pi6znvca6l] {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 6px;
    color: #7c3aed;
    background: #f3e8ff;
    font-size: .68rem;
    font-weight: 700;
}

.doctor-chip[b-pi6znvca6l] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 8px;
    color: #1d4ed8;
    background: #dbeafe;
    font-size: .75rem;
    font-weight: 650;
}

.muted-text[b-pi6znvca6l] {
    color: var(--pay-muted);
    font-size: .85rem;
}

/* =========================================================
   Amounts
   ========================================================= */

.amount-chip[b-pi6znvca6l] {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 9px;
    font-size: .8rem;
    font-weight: 700;
    white-space: nowrap;
}

    .amount-chip.total[b-pi6znvca6l] {
        color: #4500a3;
        background: #ede9fe;
    }

    .amount-chip.paid[b-pi6znvca6l] {
        color: #16a34a;
        background: #dcfce7;
    }

    .amount-chip.rest-due[b-pi6znvca6l] {
        color: #dc2626;
        background: #fee2e2;
    }

    .amount-chip.rest-paid[b-pi6znvca6l] {
        color: #15803d;
        background: #f0fdf4;
    }

.amount-grid[b-pi6znvca6l] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.amount-item[b-pi6znvca6l] {
    display: grid;
    gap: 4px;
}

    .amount-item .field-label[b-pi6znvca6l] {
        color: var(--pay-muted);
        font-size: .68rem;
        font-weight: 750;
        letter-spacing: .03em;
        text-transform: uppercase;
    }

    .amount-item .amount-value[b-pi6znvca6l] {
        font-size: .95rem;
        font-weight: 750;
    }

        .amount-item .amount-value.total[b-pi6znvca6l] {
            color: #4500a3;
        }

        .amount-item .amount-value.paid[b-pi6znvca6l] {
            color: #16a34a;
        }

        .amount-item .amount-value.rest-due[b-pi6znvca6l] {
            color: #dc2626;
        }

        .amount-item .amount-value.rest-paid[b-pi6znvca6l] {
            color: #15803d;
        }

/* =========================================================
   Status
   ========================================================= */

.status-chip[b-pi6znvca6l] {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

    .status-chip.status-paid[b-pi6znvca6l] {
        color: #16a34a;
        background: #dcfce7;
    }

    .status-chip.status-partial[b-pi6znvca6l] {
        color: #ca8a04;
        background: #fef3c7;
    }

    .status-chip.status-pending[b-pi6znvca6l] {
        color: #dc2626;
        background: #fee2e2;
    }

    .status-chip.status-default[b-pi6znvca6l] {
        color: var(--pay-muted);
        background: var(--pay-background-2);
    }

/* =========================================================
   Actions
   ========================================================= */

.row-actions[b-pi6znvca6l] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
}

.payments-page[b-pi6znvca6l]

.row-actions
.mud-icon-button {
    border-radius: 9px;
}

/* =========================================================
   Table skeleton
   ========================================================= */

.table-skeletons[b-pi6znvca6l] {
    display: grid;
    gap: 8px;
    padding: 12px 16px;
}

.skeleton-row[b-pi6znvca6l] {
    display: grid;
    grid-template-columns: 120px minmax(180px, 1fr) 140px 100px 70px;
    align-items: center;
    gap: 16px;
    min-height: 52px;
}

/* =========================================================
   Cards
   ========================================================= */

.payment-card-grid[b-pi6znvca6l] {
    display: grid;
    grid-template-columns: repeat( auto-fill, minmax( min(100%, 300px), 1fr ) );
    gap: 14px;
    align-items: stretch;
}

.payment-card[b-pi6znvca6l] {
    position: relative;
    display: grid;
    align-content: start;
    gap: 14px;
    min-width: 0;
    min-height: 180px;
    padding: 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
    box-shadow: var(--mud-elevation-0);
    cursor: pointer;
    outline: none;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

    .payment-card:hover[b-pi6znvca6l] {
        transform: translateY(-2px);
        border-color: color-mix( in srgb, var(--pay-primary) 35%, var(--pay-line) );
        box-shadow: var(--mud-elevation-3);
    }

    .payment-card:focus-visible[b-pi6znvca6l] {
        border-color: var(--pay-primary);
        box-shadow: 0 0 0 3px color-mix( in srgb, var(--pay-primary) 18%, transparent );
    }

    .payment-card.selected[b-pi6znvca6l] {
        border-color: var(--pay-primary);
        background: color-mix( in srgb, var(--pay-primary) 4%, var(--pay-surface) );
        box-shadow: 0 0 0 1px var(--pay-primary), var(--mud-elevation-2);
    }

.selected-indicator[b-pi6znvca6l] {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-end: 10px;
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    color: #fff;
    background: var(--pay-primary);
}

.payment-card-header[b-pi6znvca6l] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.payment-card-title[b-pi6znvca6l] {
    flex: 1;
}

.card-menu[b-pi6znvca6l] {
    flex: none;
    margin-inline-start: auto;
}

.payment-card-content[b-pi6znvca6l] {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.payment-card-footer[b-pi6znvca6l] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px dashed var(--pay-line);
}

.selection-actions[b-pi6znvca6l] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 11px;
    border-top: 1px dashed var(--pay-line);
}

    .selection-actions .mud-button[b-pi6znvca6l] {
        text-transform: none;
        border-radius: 9px;
    }

.loading-card[b-pi6znvca6l] {
    grid-template-columns: 48px 1fr;
    align-items: center;
    min-height: 132px;
    cursor: default;
}

    .loading-card:hover[b-pi6znvca6l] {
        transform: none;
        box-shadow: none;
    }

.loading-card-content[b-pi6znvca6l] {
    display: grid;
    gap: 8px;
}

.show-more[b-pi6znvca6l] {
    display: flex;
    justify-content: center;
    padding: 2px 0 4px;
}

.show-more-button[b-pi6znvca6l] {
    border-radius: 11px;
    text-transform: none;
    font-weight: 700;
}

.remaining-count[b-pi6znvca6l] {
    margin-inline-start: 2px;
    padding: 1px 7px;
    border-radius: 8px;
    background: var(--pay-background-2);
    font-size: .7rem;
}

/* =========================================================
   Empty
   ========================================================= */

.payments-empty[b-pi6znvca6l] {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.empty-state[b-pi6znvca6l] {
    display: grid;
    justify-items: center;
    gap: 9px;
    padding: 58px 20px;
    text-align: center;
}

.empty-icon[b-pi6znvca6l] {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin-bottom: 4px;
    border-radius: 22px;
    color: var(--pay-primary);
    background: color-mix( in srgb, var(--pay-primary) 10%, transparent );
}

.empty-state h3[b-pi6znvca6l] {
    margin: 0;
    color: var(--pay-text);
    font-size: 1.05rem;
    font-weight: 800;
}

.empty-state p[b-pi6znvca6l] {
    max-width: 420px;
    margin: 0 0 6px;
    color: var(--pay-muted);
    font-size: .84rem;
}

.payments-page[b-pi6znvca6l]

.empty-button {
    border-radius: 10px;
    text-transform: none;
    font-weight: 700;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 900px) {

    .toolbar-main[b-pi6znvca6l] {
        align-items: stretch;
        flex-direction: column;
    }

    .search-box[b-pi6znvca6l] {
        width: 100%;
    }

    .toolbar-actions[b-pi6znvca6l] {
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .payment-card-grid[b-pi6znvca6l] {
        grid-template-columns: repeat( auto-fill, minmax( min(100%, 260px), 1fr ) );
    }
}

@media (max-width: 600px) {

    .filter-row[b-pi6znvca6l] {
        width: 100%;
        padding: 3px;
        border-radius: 12px;
    }

    .filter-chip[b-pi6znvca6l] {
        min-height: 35px;
        padding-inline: 10px;
        font-size: .76rem;
    }

    .payments-toolbar[b-pi6znvca6l] {
        padding: 12px;
    }

    .toolbar-actions[b-pi6znvca6l] {
        display: grid;
        grid-template-columns: auto auto 1fr;
        width: 100%;
    }

    .view-switch[b-pi6znvca6l] {
        justify-self: start;
    }

    .payments-page[b-pi6znvca6l]
    
    .new-button {
        width: 100%;
    }

    .toolbar-status[b-pi6znvca6l] {
        align-items: flex-start;
    }

    .payment-card-grid[b-pi6znvca6l] {
        grid-template-columns: 1fr;
    }

    .payment-card[b-pi6znvca6l] {
        min-height: 0;
    }

    .table-skeletons[b-pi6znvca6l] {
        padding-inline: 10px;
    }

    .skeleton-row[b-pi6znvca6l] {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .amount-grid[b-pi6znvca6l] {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
}

/* =========================================================
   Reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .payment-card[b-pi6znvca6l],
    .view-switch button[b-pi6znvca6l],
    .live-dot[b-pi6znvca6l],
    .refresh-progress-bar[b-pi6znvca6l] {
        transition: none;
        animation: none;
    }
}
/* /Pages/Services/Services.razor.rz.scp.css */
/* =========================================================
   Services Page
   Scoped CSS
   MudBlazor internals are reached with ::deep
   ========================================================= */

.services-page[b-nibnbbdk92] {
    --sev-primary: var(--mud-palette-primary);
    --sev-surface: var(--mud-palette-surface);
    --sev-background: var(--mud-palette-background);
    --sev-background-2: var(--mud-palette-background-grey);
    --sev-line: var(--mud-palette-lines-default);
    --sev-text: var(--mud-palette-text-primary);
    --sev-muted: var(--mud-palette-text-secondary);
    display: grid;
    gap: 16px;
    min-width: 0;
}


/* =========================================================
   Refresh
   ========================================================= */

.refresh-progress[b-nibnbbdk92] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 28px;
    padding-inline: 2px;
    color: var(--sev-muted);
    font-size: .74rem;
    font-weight: 650;
}

.refresh-progress-track[b-nibnbbdk92] {
    position: relative;
    width: 90px;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix( in srgb, var(--sev-primary) 14%, var(--sev-background-2) );
}

.refresh-progress-bar[b-nibnbbdk92] {
    position: absolute;
    inset-block: 0;
    width: 38%;
    border-radius: inherit;
    background: var(--sev-primary);
    animation: service-refresh-progress-b-nibnbbdk92 1.15s ease-in-out infinite;
}

.refreshing-label[b-nibnbbdk92] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--sev-primary);
    font-size: .78rem;
    font-weight: 650;
}

    .refreshing-label .mud-progress-circular[b-nibnbbdk92] {
        width: 16px !important;
        height: 16px !important;
    }

@keyframes service-refresh-progress-b-nibnbbdk92 {

    0% {
        inset-inline-start: -40%;
    }

    50% {
        inset-inline-start: 55%;
    }

    100% {
        inset-inline-start: 110%;
    }
}


/* =========================================================
   Filters
   ========================================================= */

.filter-row[b-nibnbbdk92] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 3px;
    overflow-x: auto;
    scrollbar-width: none;
    border: 1px solid var(--sev-line);
    border-radius: 13px;
    background: var(--sev-background-2);
}

    .filter-row[b-nibnbbdk92]::-webkit-scrollbar {
        display: none;
    }

.filter-chip[b-nibnbbdk92] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 36px;
    padding: 6px 11px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--sev-muted);
    font: inherit;
    font-size: .78rem;
    font-weight: 650;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .12s ease;
}

    .filter-chip:hover[b-nibnbbdk92] {
        color: var(--sev-text);
        background: color-mix( in srgb, var(--sev-surface) 70%, transparent );
    }

    .filter-chip:active[b-nibnbbdk92] {
        transform: scale(.97);
    }

    .filter-chip:focus-visible[b-nibnbbdk92] {
        outline: none;
        border-color: var(--sev-primary);
        box-shadow: 0 0 0 3px color-mix( in srgb, var(--sev-primary) 15%, transparent );
    }

    .filter-chip.on[b-nibnbbdk92] {
        border-color: color-mix( in srgb, var(--sev-primary) 22%, var(--sev-line) );
        color: var(--sev-primary);
        background: var(--sev-surface);
        box-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 0 0 1px color-mix( in srgb, var(--sev-primary) 5%, transparent );
    }

        .filter-chip.on[b-nibnbbdk92]::before {
            content: "";
            width: 5px;
            height: 5px;
            flex: none;
            border-radius: 50%;
            background: var(--sev-primary);
        }

    .filter-chip .chip-count[b-nibnbbdk92] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 21px;
        height: 21px;
        padding: 0 6px;
        border: 1px solid var(--sev-line);
        border-radius: 7px;
        background: var(--sev-background-2);
        color: var(--sev-muted);
        font-size: .68rem;
        font-weight: 750;
        line-height: 1;
        transition: background .16s ease, color .16s ease, border-color .16s ease;
    }

    .filter-chip:hover .chip-count[b-nibnbbdk92] {
        color: var(--sev-text);
    }

    .filter-chip.on .chip-count[b-nibnbbdk92] {
        border-color: transparent;
        background: var(--sev-primary);
        color: #fff;
    }


/* =========================================================
   Toolbar
   ========================================================= */

.services-toolbar[b-nibnbbdk92] {
    display: grid;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--sev-line);
    border-radius: 16px;
    background: var(--sev-surface);
}

.toolbar-main[b-nibnbbdk92] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.search-box[b-nibnbbdk92] {
    flex: 1 1 auto;
    min-width: 220px;
}

.services-page[b-nibnbbdk92]  .search-box .mud-input-control {
    margin-top: 0;
}

.toolbar-actions[b-nibnbbdk92] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.view-switch[b-nibnbbdk92] {
    display: inline-flex;
    padding: 3px;
    gap: 2px;
    border: 1px solid var(--sev-line);
    border-radius: 12px;
    background: var(--sev-background-2);
}

    .view-switch button[b-nibnbbdk92] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 34px;
        padding: 6px 12px;
        border: 0;
        border-radius: 9px;
        background: transparent;
        color: var(--sev-muted);
        font: inherit;
        font-size: .8rem;
        font-weight: 650;
        cursor: pointer;
        transition: background .15s ease, color .15s ease, box-shadow .15s ease;
    }

        .view-switch button:hover[b-nibnbbdk92] {
            color: var(--sev-text);
        }

        .view-switch button.active[b-nibnbbdk92] {
            color: var(--sev-primary);
            background: var(--sev-surface);
            box-shadow: var(--mud-elevation-1);
        }

.services-page[b-nibnbbdk92]  .refresh-button {
    width: 38px;
    height: 38px;
    border: 1px solid var(--sev-line);
    border-radius: 11px;
}

.services-page[b-nibnbbdk92]  .print-all-button {
    min-height: 38px;
    border-radius: 11px;
    text-transform: none;
    font-weight: 700;
}

.services-page[b-nibnbbdk92]  .new-button {
    min-height: 38px;
    border-radius: 11px;
    text-transform: none;
    font-weight: 700;
    padding-inline: 16px;
}

.toolbar-status[b-nibnbbdk92] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 22px;
}

.result-summary[b-nibnbbdk92] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
    color: var(--sev-muted);
    font-size: .8rem;
}

    .result-summary strong[b-nibnbbdk92] {
        color: var(--sev-text);
    }

.clear-button[b-nibnbbdk92] {
    padding: 2px 5px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--sev-primary);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

    .clear-button:hover[b-nibnbbdk92] {
        text-decoration: underline;
    }

.live-status[b-nibnbbdk92] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: none;
    padding: 4px 10px;
    border-radius: 10px;
    color: #15803d;
    background: #f0fdf4;
    font-size: .72rem;
    font-weight: 700;
}

.live-dot[b-nibnbbdk92] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 0 rgba(22, 163, 74, .35);
    animation: service-live-pulse-b-nibnbbdk92 1.8s ease-out infinite;
}

@keyframes service-live-pulse-b-nibnbbdk92 {

    0% {
        box-shadow: 0 0 0 0 rgba(22, 163, 74, .35);
    }

    100% {
        box-shadow: 0 0 0 7px rgba(22, 163, 74, 0);
    }
}


/* =========================================================
   Table
   ========================================================= */

.services-page[b-nibnbbdk92]  .services-table-card {
    overflow: hidden;
    border: 1px solid var(--sev-line);
    border-radius: 16px;
    background: var(--sev-surface);
}

.services-page[b-nibnbbdk92]  .services-table th {
    padding-block: 11px;
    background: var(--sev-background-2);
    color: var(--sev-muted);
    font-size: .72rem;
    font-weight: 750;
    white-space: nowrap;
}

.services-page[b-nibnbbdk92]  .services-table td {
    padding-block: 12px;
    vertical-align: middle;
}

.services-page[b-nibnbbdk92]  .services-table.clickable tbody tr {
    cursor: pointer;
}

.services-page[b-nibnbbdk92]  .services-table tbody tr {
    transition: background .12s ease;
}

.services-page[b-nibnbbdk92]

.services-table.clickable
tbody
tr:hover {
    background: color-mix( in srgb, var(--sev-primary) 4%, var(--sev-surface) );
}


/* =========================================================
   Service identity
   ========================================================= */

.service-identity[b-nibnbbdk92] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.service-avatar[b-nibnbbdk92] {
    --avatar-background: #ede9fe;
    --avatar-foreground: #6d28d9;
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: var(--avatar-foreground);
    background: var(--avatar-background);
}

    .service-avatar.large[b-nibnbbdk92] {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

.avatar-0[b-nibnbbdk92] {
    --avatar-background: #dbeafe;
    --avatar-foreground: #1d4ed8;
}

.avatar-1[b-nibnbbdk92] {
    --avatar-background: #fce7f3;
    --avatar-foreground: #be185d;
}

.avatar-2[b-nibnbbdk92] {
    --avatar-background: #dcfce7;
    --avatar-foreground: #15803d;
}

.avatar-3[b-nibnbbdk92] {
    --avatar-background: #fef3c7;
    --avatar-foreground: #b45309;
}

.avatar-4[b-nibnbbdk92] {
    --avatar-background: #ede9fe;
    --avatar-foreground: #6d28d9;
}

.avatar-5[b-nibnbbdk92] {
    --avatar-background: #ccfbf1;
    --avatar-foreground: #0f766e;
}

.service-name[b-nibnbbdk92],
.service-card-title[b-nibnbbdk92] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

    .service-name strong[b-nibnbbdk92],
    .service-card-title strong[b-nibnbbdk92] {
        overflow: hidden;
        color: var(--sev-text);
        font-size: .9rem;
        font-weight: 750;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .service-name small[b-nibnbbdk92],
    .service-card-title span[b-nibnbbdk92] {
        color: var(--sev-muted);
        font-size: .73rem;
    }


/* =========================================================
   Price
   ========================================================= */

.price-chip[b-nibnbbdk92] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: min(100%, 320px);
    padding: 5px 10px;
    border: 1px solid color-mix( in srgb, var(--sev-primary) 18%, var(--sev-line) );
    border-radius: 9px;
    color: var(--sev-primary);
    background: color-mix( in srgb, var(--sev-primary) 7%, var(--sev-surface) );
    font-size: .76rem;
    font-weight: 650;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

    .price-chip.tone-free[b-nibnbbdk92] {
        --tone: #16A34A;
    }

    .price-chip.tone-low[b-nibnbbdk92] {
        --tone: #2563EB;
    }

    .price-chip.tone-medium[b-nibnbbdk92] {
        --tone: #D97706;
    }

    .price-chip.tone-high[b-nibnbbdk92] {
        --tone: #DC2626;
    }

    .price-chip.tone-free[b-nibnbbdk92],
    .price-chip.tone-low[b-nibnbbdk92],
    .price-chip.tone-medium[b-nibnbbdk92],
    .price-chip.tone-high[b-nibnbbdk92] {
        border-color: color-mix( in srgb, var(--tone) 30%, var(--sev-line) );
        color: var(--tone);
        background: color-mix( in srgb, var(--tone) 8%, var(--sev-surface) );
    }


/* =========================================================
   Actions
   ========================================================= */

.row-actions[b-nibnbbdk92] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
}

.services-page[b-nibnbbdk92]

.row-actions
.mud-icon-button {
    border-radius: 9px;
}


/* =========================================================
   Table skeleton
   ========================================================= */

.table-skeletons[b-nibnbbdk92] {
    display: grid;
    gap: 8px;
    padding: 12px 16px;
}

.skeleton-row[b-nibnbbdk92] {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(100px, .7fr) 70px;
    align-items: center;
    gap: 20px;
    min-height: 48px;
}


/* =========================================================
   Cards
   ========================================================= */

.service-card-grid[b-nibnbbdk92] {
    display: grid;
    grid-template-columns: repeat( auto-fill, minmax( min(100%, 280px), 1fr ) );
    gap: 14px;
    align-items: stretch;
}

.service-card[b-nibnbbdk92] {
    position: relative;
    display: grid;
    align-content: start;
    gap: 14px;
    min-width: 0;
    min-height: 156px;
    padding: 16px;
    border: 1px solid var(--sev-line);
    border-radius: 16px;
    background: var(--sev-surface);
    box-shadow: var(--mud-elevation-0);
    cursor: pointer;
    outline: none;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

    .service-card:hover[b-nibnbbdk92] {
        transform: translateY(-2px);
        border-color: color-mix( in srgb, var(--sev-primary) 35%, var(--sev-line) );
        box-shadow: var(--mud-elevation-3);
    }

    .service-card:focus-visible[b-nibnbbdk92] {
        border-color: var(--sev-primary);
        box-shadow: 0 0 0 3px color-mix( in srgb, var(--sev-primary) 18%, transparent );
    }

    .service-card.selected[b-nibnbbdk92] {
        border-color: var(--sev-primary);
        background: color-mix( in srgb, var(--sev-primary) 4%, var(--sev-surface) );
        box-shadow: 0 0 0 1px var(--sev-primary), var(--mud-elevation-2);
    }

.selected-indicator[b-nibnbbdk92] {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-end: 10px;
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    color: #fff;
    background: var(--sev-primary);
}

.service-card-header[b-nibnbbdk92] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.service-card-title[b-nibnbbdk92] {
    flex: 1;
}

.card-menu[b-nibnbbdk92] {
    flex: none;
    margin-inline-start: auto;
}

.service-card-content[b-nibnbbdk92] {
    display: grid;
    gap: 7px;
    min-width: 0;
    padding-top: 2px;
}

.field-label[b-nibnbbdk92] {
    color: var(--sev-muted);
    font-size: .7rem;
    font-weight: 750;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.service-card-content .price-chip[b-nibnbbdk92] {
    width: fit-content;
    max-width: 100%;
}

.selection-actions[b-nibnbbdk92] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 11px;
    border-top: 1px dashed var(--sev-line);
}

    .selection-actions .mud-button[b-nibnbbdk92] {
        text-transform: none;
        border-radius: 9px;
    }

.loading-card[b-nibnbbdk92] {
    grid-template-columns: 48px 1fr;
    align-items: center;
    min-height: 132px;
    cursor: default;
}

    .loading-card:hover[b-nibnbbdk92] {
        transform: none;
        box-shadow: none;
    }

.loading-card-content[b-nibnbbdk92] {
    display: grid;
    gap: 8px;
}

.show-more[b-nibnbbdk92] {
    display: flex;
    justify-content: center;
    padding: 2px 0 4px;
}

.show-more-button[b-nibnbbdk92] {
    border-radius: 11px;
    text-transform: none;
    font-weight: 700;
}

.remaining-count[b-nibnbbdk92] {
    margin-inline-start: 2px;
    padding: 1px 7px;
    border-radius: 8px;
    background: var(--sev-background-2);
    font-size: .7rem;
}


/* =========================================================
   Empty
   ========================================================= */

.services-empty[b-nibnbbdk92] {
    overflow: hidden;
    border: 1px solid var(--sev-line);
    border-radius: 16px;
    background: var(--sev-surface);
}

.empty-state[b-nibnbbdk92] {
    display: grid;
    justify-items: center;
    gap: 9px;
    padding: 58px 20px;
    text-align: center;
}

.empty-icon[b-nibnbbdk92] {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin-bottom: 4px;
    border-radius: 22px;
    color: var(--sev-primary);
    background: color-mix( in srgb, var(--sev-primary) 10%, transparent );
}

.empty-state h3[b-nibnbbdk92] {
    margin: 0;
    color: var(--sev-text);
    font-size: 1.05rem;
    font-weight: 800;
}

.empty-state p[b-nibnbbdk92] {
    max-width: 420px;
    margin: 0 0 6px;
    color: var(--sev-muted);
    font-size: .84rem;
}

.services-page[b-nibnbbdk92]

.empty-button {
    border-radius: 10px;
    text-transform: none;
    font-weight: 700;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 900px) {

    .toolbar-main[b-nibnbbdk92] {
        align-items: stretch;
        flex-direction: column;
    }

    .search-box[b-nibnbbdk92] {
        width: 100%;
    }

    .toolbar-actions[b-nibnbbdk92] {
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .service-card-grid[b-nibnbbdk92] {
        grid-template-columns: repeat( auto-fill, minmax( min(100%, 250px), 1fr ) );
    }
}


@media (max-width: 600px) {

    .filter-row[b-nibnbbdk92] {
        width: 100%;
        padding: 3px;
        border-radius: 12px;
    }

    .filter-chip[b-nibnbbdk92] {
        min-height: 35px;
        padding-inline: 10px;
        font-size: .76rem;
    }

    .services-toolbar[b-nibnbbdk92] {
        padding: 12px;
    }

    .toolbar-actions[b-nibnbbdk92] {
        display: grid;
        grid-template-columns: auto auto 1fr;
        width: 100%;
    }

    .view-switch[b-nibnbbdk92] {
        justify-self: start;
    }

    .services-page[b-nibnbbdk92]
    
    .new-button {
        width: 100%;
    }

    .toolbar-status[b-nibnbbdk92] {
        align-items: flex-start;
    }

    .service-card-grid[b-nibnbbdk92] {
        grid-template-columns: 1fr;
    }

    .service-card[b-nibnbbdk92] {
        min-height: 0;
    }

    .table-skeletons[b-nibnbbdk92] {
        padding-inline: 10px;
    }

    .skeleton-row[b-nibnbbdk92] {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}


/* =========================================================
   Reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .service-card[b-nibnbbdk92],
    .view-switch button[b-nibnbbdk92],
    .live-dot[b-nibnbbdk92],
    .refresh-progress-bar[b-nibnbbdk92] {
        transition: none;
        animation: none;
    }
}
/* /Pages/Staff/AttendanceList.razor.rz.scp.css */
.st-list[b-ksf27pplfr] {
    --pay-primary: var(--mud-palette-primary);
    --pay-surface: var(--mud-palette-surface);
    --pay-background-2: var(--mud-palette-background-grey);
    --pay-line: var(--mud-palette-lines-default);
    --pay-text: var(--mud-palette-text-primary);
    --pay-muted: var(--mud-palette-text-secondary);
    display: grid;
    gap: 16px;
    min-width: 0;
}

/* Refresh bar */
.refresh-progress[b-ksf27pplfr] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 28px;
    color: var(--pay-muted);
    font-size: .74rem;
    font-weight: 650;
}

.refresh-progress-track[b-ksf27pplfr] {
    position: relative;
    width: 90px;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix(in srgb, var(--pay-primary) 14%, var(--pay-background-2));
}

.refresh-progress-bar[b-ksf27pplfr] {
    position: absolute;
    inset-block: 0;
    width: 38%;
    border-radius: inherit;
    background: var(--pay-primary);
    animation: st-refresh-b-ksf27pplfr 1.15s ease-in-out infinite;
}

@keyframes st-refresh-b-ksf27pplfr {
    0% {
        inset-inline-start: -40%;
    }

    50% {
        inset-inline-start: 55%;
    }

    100% {
        inset-inline-start: 110%;
    }
}

/* Filters */
.filter-row[b-ksf27pplfr] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px;
    overflow-x: auto;
    scrollbar-width: none;
    border: 1px solid var(--pay-line);
    border-radius: 13px;
    background: var(--pay-background-2);
}

.filter-row[b-ksf27pplfr]::-webkit-scrollbar {
        display: none;
    }

.filter-chip[b-ksf27pplfr] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 36px;
    padding: 6px 11px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--pay-muted);
    font: inherit;
    font-size: .78rem;
    font-weight: 650;
    cursor: pointer;
    white-space: nowrap;
    transition: all .16s ease;
}

.filter-chip:hover[b-ksf27pplfr] {
        color: var(--pay-text);
        background: color-mix(in srgb, var(--pay-surface) 70%, transparent);
    }

.filter-chip.on[b-ksf27pplfr] {
        border-color: color-mix(in srgb, var(--pay-primary) 22%, var(--pay-line));
        color: var(--pay-primary);
        background: var(--pay-surface);
        box-shadow: 0 1px 3px rgba(0,0,0,.06);
    }

.filter-chip.on[b-ksf27pplfr]::before {
            content: "";
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--pay-primary);
        }

.chip-count[b-ksf27pplfr] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    border: 1px solid var(--pay-line);
    border-radius: 7px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .68rem;
    font-weight: 750;
}

.filter-chip.on .chip-count[b-ksf27pplfr] {
    border-color: transparent;
    background: var(--pay-primary);
    color: #fff;
}

/* Toolbar */
.st-toolbar[b-ksf27pplfr] {
    display: grid;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.toolbar-main[b-ksf27pplfr] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box[b-ksf27pplfr] {
    flex: 1 1 auto;
    min-width: 220px;
}

.toolbar-actions[b-ksf27pplfr] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.view-switch[b-ksf27pplfr] {
    display: inline-flex;
    padding: 3px;
    gap: 2px;
    border: 1px solid var(--pay-line);
    border-radius: 12px;
    background: var(--pay-background-2);
}

.view-switch button[b-ksf27pplfr] {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: 34px;
        padding: 6px 12px;
        border: 0;
        border-radius: 9px;
        background: transparent;
        color: var(--pay-muted);
        font: inherit;
        font-size: .8rem;
        font-weight: 650;
        cursor: pointer;
    }

.view-switch button.active[b-ksf27pplfr] {
            color: var(--pay-primary);
            background: var(--pay-surface);
            box-shadow: var(--mud-elevation-1);
        }

.toolbar-status[b-ksf27pplfr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 22px;
}

.result-summary[b-ksf27pplfr] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pay-muted);
    font-size: .8rem;
}

.result-summary strong[b-ksf27pplfr] {
        color: var(--pay-text);
    }

.clear-button[b-ksf27pplfr] {
    padding: 2px 5px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--pay-primary);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

.clear-button:hover[b-ksf27pplfr] {
        text-decoration: underline;
    }

.live-status[b-ksf27pplfr] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border-radius: 10px;
    color: #15803d;
    background: #f0fdf4;
    font-size: .72rem;
    font-weight: 700;
}

.live-dot[b-ksf27pplfr] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 0 rgba(22,163,74,.35);
    animation: st-pulse-b-ksf27pplfr 1.8s ease-out infinite;
}

@keyframes st-pulse-b-ksf27pplfr {
    0% {
        box-shadow: 0 0 0 0 rgba(22,163,74,.35);
    }

    100% {
        box-shadow: 0 0 0 7px rgba(22,163,74,0);
    }
}

/* Table */
.st-list[b-ksf27pplfr]  .st-table-card {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.st-list[b-ksf27pplfr]  .st-table th {
    padding-block: 11px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .72rem;
    font-weight: 750;
    white-space: nowrap;
}

.st-list[b-ksf27pplfr]  .st-table td {
    padding-block: 12px;
    vertical-align: middle;
}

/* Actions */
.row-actions[b-ksf27pplfr] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
}

/* Skeletons */
.table-skeletons[b-ksf27pplfr] {
    display: grid;
    gap: 8px;
    padding: 12px 16px;
}

.skeleton-row[b-ksf27pplfr] {
    display: grid;
    grid-template-columns: 120px minmax(180px, 1fr) 140px 100px 70px;
    align-items: center;
    gap: 16px;
    min-height: 52px;
}

/* Cards */
.st-card-grid[b-ksf27pplfr] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 14px;
}

.st-card[b-ksf27pplfr] {
    position: relative;
    display: grid;
    align-content: start;
    gap: 14px;
    min-height: 180px;
    padding: 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
    cursor: pointer;
    outline: none;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.st-card:hover[b-ksf27pplfr] {
        transform: translateY(-2px);
        border-color: color-mix(in srgb, var(--pay-primary) 35%, var(--pay-line));
        box-shadow: var(--mud-elevation-3);
    }

.st-card.selected[b-ksf27pplfr] {
        border-color: var(--pay-primary);
        background: color-mix(in srgb, var(--pay-primary) 4%, var(--pay-surface));
        box-shadow: 0 0 0 1px var(--pay-primary);
    }

.selected-indicator[b-ksf27pplfr] {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-end: 10px;
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    color: #fff;
    background: var(--pay-primary);
}

.st-card-header[b-ksf27pplfr] {
    display: flex;
    align-items: center;
    gap: 11px;
}

.st-card-title[b-ksf27pplfr] {
    flex: 1;
    display: grid;
    gap: 3px;
    min-width: 0;
}

.st-card-title strong[b-ksf27pplfr] {
        font-size: .9rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.st-card-title span[b-ksf27pplfr] {
        color: var(--pay-muted);
        font-size: .73rem;
    }

.st-card-content[b-ksf27pplfr] {
    display: grid;
    gap: 12px;
}

.st-card-footer[b-ksf27pplfr] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px dashed var(--pay-line);
}

.selection-actions[b-ksf27pplfr] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 11px;
    border-top: 1px dashed var(--pay-line);
}

.loading-card[b-ksf27pplfr] {
    grid-template-columns: 48px 1fr;
    align-items: center;
    min-height: 132px;
    cursor: default;
}

.loading-card:hover[b-ksf27pplfr] {
        transform: none;
        box-shadow: none;
    }

.loading-card-content[b-ksf27pplfr] {
    display: grid;
    gap: 8px;
}

.show-more[b-ksf27pplfr] {
    display: flex;
    justify-content: center;
    padding: 2px 0 4px;
}

.remaining-count[b-ksf27pplfr] {
    margin-inline-start: 2px;
    padding: 1px 7px;
    border-radius: 8px;
    background: var(--pay-background-2);
    font-size: .7rem;
}

/* Empty */
.st-empty[b-ksf27pplfr] {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.empty-state[b-ksf27pplfr] {
    display: grid;
    justify-items: center;
    gap: 9px;
    padding: 58px 20px;
    text-align: center;
}

.empty-icon[b-ksf27pplfr] {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 22px;
    color: var(--pay-primary);
    background: color-mix(in srgb, var(--pay-primary) 10%, transparent);
}

.empty-state h3[b-ksf27pplfr] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.empty-state p[b-ksf27pplfr] {
    max-width: 420px;
    margin: 0 0 6px;
    color: var(--pay-muted);
    font-size: .84rem;
}

/* Responsive */
@media (max-width: 900px) {
    .toolbar-main[b-ksf27pplfr] {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box[b-ksf27pplfr] {
        width: 100%;
    }

    .toolbar-actions[b-ksf27pplfr] {
        justify-content: flex-end;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .st-toolbar[b-ksf27pplfr] {
        padding: 12px;
    }

    .toolbar-actions[b-ksf27pplfr] {
        display: grid;
        grid-template-columns: auto auto 1fr;
        width: 100%;
    }

    .st-card-grid[b-ksf27pplfr] {
        grid-template-columns: 1fr;
    }

    .skeleton-row[b-ksf27pplfr] {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .st-card[b-ksf27pplfr], .live-dot[b-ksf27pplfr], .refresh-progress-bar[b-ksf27pplfr] {
        transition: none;
        animation: none;
    }
}

/* ── Shared inventory building blocks ── */
.st-identity[b-ksf27pplfr] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.st-avatar[b-ksf27pplfr] {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

    .st-avatar.large[b-ksf27pplfr] {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

.avatar-0[b-ksf27pplfr] { color: #1d4ed8; background: #dbeafe; }
.avatar-1[b-ksf27pplfr] { color: #be185d; background: #fce7f3; }
.avatar-2[b-ksf27pplfr] { color: #15803d; background: #dcfce7; }
.avatar-3[b-ksf27pplfr] { color: #b45309; background: #fef3c7; }
.avatar-4[b-ksf27pplfr] { color: #6d28d9; background: #ede9fe; }
.avatar-5[b-ksf27pplfr] { color: #0f766e; background: #ccfbf1; }

.st-name[b-ksf27pplfr] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

    .st-name strong[b-ksf27pplfr] {
        font-size: .9rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .st-name small[b-ksf27pplfr] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.cell-stack[b-ksf27pplfr] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

    .cell-stack strong[b-ksf27pplfr] {
        font-size: .85rem;
        font-weight: 700;
    }

    .cell-stack small[b-ksf27pplfr] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.mono[b-ksf27pplfr] {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 8px;
    color: #1d4ed8;
    background: #dbeafe;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .78rem;
    font-weight: 700;
}

.money[b-ksf27pplfr] {
    font-weight: 750;
    white-space: nowrap;
}

.field-label[b-ksf27pplfr] {
    color: var(--pay-muted);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.status-stack[b-ksf27pplfr] {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.status-chip[b-ksf27pplfr] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

    .status-chip.chip-ok[b-ksf27pplfr] { color: #16a34a; background: #dcfce7; }
    .status-chip.chip-warn[b-ksf27pplfr] { color: #b45309; background: #fef3c7; }
    .status-chip.chip-orange[b-ksf27pplfr] { color: #c2410c; background: #ffedd5; }
    .status-chip.chip-danger[b-ksf27pplfr] { color: #dc2626; background: #fee2e2; }
    .status-chip.chip-info[b-ksf27pplfr] { color: #1d4ed8; background: #dbeafe; }
    .status-chip.chip-primary[b-ksf27pplfr] { color: #6d28d9; background: #ede9fe; }
    .status-chip.chip-muted[b-ksf27pplfr] { color: #475569; background: #e2e8f0; }

.stock-cell[b-ksf27pplfr] {
    display: grid;
    gap: 5px;
    min-width: 120px;
}

    .stock-cell .qty[b-ksf27pplfr] {
        display: flex;
        align-items: baseline;
        gap: 5px;
        font-weight: 800;
        font-size: .95rem;
    }

        .stock-cell .qty small[b-ksf27pplfr] {
            color: var(--pay-muted);
            font-size: .7rem;
            font-weight: 650;
        }

.stock-meter[b-ksf27pplfr] {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--pay-background-2);
}

    .stock-meter > span[b-ksf27pplfr] {
        display: block;
        height: 100%;
        border-radius: inherit;
        background: #16a34a;
    }

    .stock-meter.warn > span[b-ksf27pplfr] { background: #f59e0b; }
    .stock-meter.danger > span[b-ksf27pplfr] { background: #dc2626; }

.stat-grid[b-ksf27pplfr] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-item[b-ksf27pplfr] {
    display: grid;
    gap: 4px;
}

.stat-value[b-ksf27pplfr] {
    font-size: .95rem;
    font-weight: 750;
}

.expiry-warn[b-ksf27pplfr] { color: #dc2626; font-weight: 700; }

.id-pill[b-ksf27pplfr] {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 6px;
    color: #b45309;
    background: #fef3c7;
    font-size: .68rem;
    font-weight: 700;
}

.st-avatar[b-ksf27pplfr] {
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .02em;
}

/* Clock in / out panel */
.clock-panel[b-ksf27pplfr] {
    display: grid;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.clock-title[b-ksf27pplfr] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--pay-primary);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.clock-body[b-ksf27pplfr] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.clock-panel[b-ksf27pplfr]  .clock-select {
    flex: 0 1 280px;
    min-width: 200px;
}

.clock-state[b-ksf27pplfr] {
    flex: 1 1 200px;
    min-width: 0;
}

    .clock-state .muted[b-ksf27pplfr] {
        color: var(--pay-muted);
        font-size: .82rem;
    }

.clock-actions[b-ksf27pplfr] {
    display: flex;
    gap: 8px;
}
/* /Pages/Staff/PayrollList.razor.rz.scp.css */
.st-list[b-ygocdtr0lm] {
    --pay-primary: var(--mud-palette-primary);
    --pay-surface: var(--mud-palette-surface);
    --pay-background-2: var(--mud-palette-background-grey);
    --pay-line: var(--mud-palette-lines-default);
    --pay-text: var(--mud-palette-text-primary);
    --pay-muted: var(--mud-palette-text-secondary);
    display: grid;
    gap: 16px;
    min-width: 0;
}

/* Refresh bar */
.refresh-progress[b-ygocdtr0lm] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 28px;
    color: var(--pay-muted);
    font-size: .74rem;
    font-weight: 650;
}

.refresh-progress-track[b-ygocdtr0lm] {
    position: relative;
    width: 90px;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix(in srgb, var(--pay-primary) 14%, var(--pay-background-2));
}

.refresh-progress-bar[b-ygocdtr0lm] {
    position: absolute;
    inset-block: 0;
    width: 38%;
    border-radius: inherit;
    background: var(--pay-primary);
    animation: st-refresh-b-ygocdtr0lm 1.15s ease-in-out infinite;
}

@keyframes st-refresh-b-ygocdtr0lm {
    0% {
        inset-inline-start: -40%;
    }

    50% {
        inset-inline-start: 55%;
    }

    100% {
        inset-inline-start: 110%;
    }
}

/* Filters */
.filter-row[b-ygocdtr0lm] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px;
    overflow-x: auto;
    scrollbar-width: none;
    border: 1px solid var(--pay-line);
    border-radius: 13px;
    background: var(--pay-background-2);
}

.filter-row[b-ygocdtr0lm]::-webkit-scrollbar {
        display: none;
    }

.filter-chip[b-ygocdtr0lm] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 36px;
    padding: 6px 11px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--pay-muted);
    font: inherit;
    font-size: .78rem;
    font-weight: 650;
    cursor: pointer;
    white-space: nowrap;
    transition: all .16s ease;
}

.filter-chip:hover[b-ygocdtr0lm] {
        color: var(--pay-text);
        background: color-mix(in srgb, var(--pay-surface) 70%, transparent);
    }

.filter-chip.on[b-ygocdtr0lm] {
        border-color: color-mix(in srgb, var(--pay-primary) 22%, var(--pay-line));
        color: var(--pay-primary);
        background: var(--pay-surface);
        box-shadow: 0 1px 3px rgba(0,0,0,.06);
    }

.filter-chip.on[b-ygocdtr0lm]::before {
            content: "";
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--pay-primary);
        }

.chip-count[b-ygocdtr0lm] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    border: 1px solid var(--pay-line);
    border-radius: 7px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .68rem;
    font-weight: 750;
}

.filter-chip.on .chip-count[b-ygocdtr0lm] {
    border-color: transparent;
    background: var(--pay-primary);
    color: #fff;
}

/* Toolbar */
.st-toolbar[b-ygocdtr0lm] {
    display: grid;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.toolbar-main[b-ygocdtr0lm] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box[b-ygocdtr0lm] {
    flex: 1 1 auto;
    min-width: 220px;
}

.toolbar-actions[b-ygocdtr0lm] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.view-switch[b-ygocdtr0lm] {
    display: inline-flex;
    padding: 3px;
    gap: 2px;
    border: 1px solid var(--pay-line);
    border-radius: 12px;
    background: var(--pay-background-2);
}

.view-switch button[b-ygocdtr0lm] {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: 34px;
        padding: 6px 12px;
        border: 0;
        border-radius: 9px;
        background: transparent;
        color: var(--pay-muted);
        font: inherit;
        font-size: .8rem;
        font-weight: 650;
        cursor: pointer;
    }

.view-switch button.active[b-ygocdtr0lm] {
            color: var(--pay-primary);
            background: var(--pay-surface);
            box-shadow: var(--mud-elevation-1);
        }

.toolbar-status[b-ygocdtr0lm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 22px;
}

.result-summary[b-ygocdtr0lm] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pay-muted);
    font-size: .8rem;
}

.result-summary strong[b-ygocdtr0lm] {
        color: var(--pay-text);
    }

.clear-button[b-ygocdtr0lm] {
    padding: 2px 5px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--pay-primary);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

.clear-button:hover[b-ygocdtr0lm] {
        text-decoration: underline;
    }

.live-status[b-ygocdtr0lm] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border-radius: 10px;
    color: #15803d;
    background: #f0fdf4;
    font-size: .72rem;
    font-weight: 700;
}

.live-dot[b-ygocdtr0lm] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 0 rgba(22,163,74,.35);
    animation: st-pulse-b-ygocdtr0lm 1.8s ease-out infinite;
}

@keyframes st-pulse-b-ygocdtr0lm {
    0% {
        box-shadow: 0 0 0 0 rgba(22,163,74,.35);
    }

    100% {
        box-shadow: 0 0 0 7px rgba(22,163,74,0);
    }
}

/* Table */
.st-list[b-ygocdtr0lm]  .st-table-card {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.st-list[b-ygocdtr0lm]  .st-table th {
    padding-block: 11px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .72rem;
    font-weight: 750;
    white-space: nowrap;
}

.st-list[b-ygocdtr0lm]  .st-table td {
    padding-block: 12px;
    vertical-align: middle;
}

/* Actions */
.row-actions[b-ygocdtr0lm] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
}

/* Skeletons */
.table-skeletons[b-ygocdtr0lm] {
    display: grid;
    gap: 8px;
    padding: 12px 16px;
}

.skeleton-row[b-ygocdtr0lm] {
    display: grid;
    grid-template-columns: 120px minmax(180px, 1fr) 140px 100px 70px;
    align-items: center;
    gap: 16px;
    min-height: 52px;
}

/* Cards */
.st-card-grid[b-ygocdtr0lm] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 14px;
}

.st-card[b-ygocdtr0lm] {
    position: relative;
    display: grid;
    align-content: start;
    gap: 14px;
    min-height: 180px;
    padding: 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
    cursor: pointer;
    outline: none;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.st-card:hover[b-ygocdtr0lm] {
        transform: translateY(-2px);
        border-color: color-mix(in srgb, var(--pay-primary) 35%, var(--pay-line));
        box-shadow: var(--mud-elevation-3);
    }

.st-card.selected[b-ygocdtr0lm] {
        border-color: var(--pay-primary);
        background: color-mix(in srgb, var(--pay-primary) 4%, var(--pay-surface));
        box-shadow: 0 0 0 1px var(--pay-primary);
    }

.selected-indicator[b-ygocdtr0lm] {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-end: 10px;
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    color: #fff;
    background: var(--pay-primary);
}

.st-card-header[b-ygocdtr0lm] {
    display: flex;
    align-items: center;
    gap: 11px;
}

.st-card-title[b-ygocdtr0lm] {
    flex: 1;
    display: grid;
    gap: 3px;
    min-width: 0;
}

.st-card-title strong[b-ygocdtr0lm] {
        font-size: .9rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.st-card-title span[b-ygocdtr0lm] {
        color: var(--pay-muted);
        font-size: .73rem;
    }

.st-card-content[b-ygocdtr0lm] {
    display: grid;
    gap: 12px;
}

.st-card-footer[b-ygocdtr0lm] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px dashed var(--pay-line);
}

.selection-actions[b-ygocdtr0lm] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 11px;
    border-top: 1px dashed var(--pay-line);
}

.loading-card[b-ygocdtr0lm] {
    grid-template-columns: 48px 1fr;
    align-items: center;
    min-height: 132px;
    cursor: default;
}

.loading-card:hover[b-ygocdtr0lm] {
        transform: none;
        box-shadow: none;
    }

.loading-card-content[b-ygocdtr0lm] {
    display: grid;
    gap: 8px;
}

.show-more[b-ygocdtr0lm] {
    display: flex;
    justify-content: center;
    padding: 2px 0 4px;
}

.remaining-count[b-ygocdtr0lm] {
    margin-inline-start: 2px;
    padding: 1px 7px;
    border-radius: 8px;
    background: var(--pay-background-2);
    font-size: .7rem;
}

/* Empty */
.st-empty[b-ygocdtr0lm] {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.empty-state[b-ygocdtr0lm] {
    display: grid;
    justify-items: center;
    gap: 9px;
    padding: 58px 20px;
    text-align: center;
}

.empty-icon[b-ygocdtr0lm] {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 22px;
    color: var(--pay-primary);
    background: color-mix(in srgb, var(--pay-primary) 10%, transparent);
}

.empty-state h3[b-ygocdtr0lm] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.empty-state p[b-ygocdtr0lm] {
    max-width: 420px;
    margin: 0 0 6px;
    color: var(--pay-muted);
    font-size: .84rem;
}

/* Responsive */
@media (max-width: 900px) {
    .toolbar-main[b-ygocdtr0lm] {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box[b-ygocdtr0lm] {
        width: 100%;
    }

    .toolbar-actions[b-ygocdtr0lm] {
        justify-content: flex-end;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .st-toolbar[b-ygocdtr0lm] {
        padding: 12px;
    }

    .toolbar-actions[b-ygocdtr0lm] {
        display: grid;
        grid-template-columns: auto auto 1fr;
        width: 100%;
    }

    .st-card-grid[b-ygocdtr0lm] {
        grid-template-columns: 1fr;
    }

    .skeleton-row[b-ygocdtr0lm] {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .st-card[b-ygocdtr0lm], .live-dot[b-ygocdtr0lm], .refresh-progress-bar[b-ygocdtr0lm] {
        transition: none;
        animation: none;
    }
}

/* ── Shared inventory building blocks ── */
.st-identity[b-ygocdtr0lm] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.st-avatar[b-ygocdtr0lm] {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

    .st-avatar.large[b-ygocdtr0lm] {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

.avatar-0[b-ygocdtr0lm] { color: #1d4ed8; background: #dbeafe; }
.avatar-1[b-ygocdtr0lm] { color: #be185d; background: #fce7f3; }
.avatar-2[b-ygocdtr0lm] { color: #15803d; background: #dcfce7; }
.avatar-3[b-ygocdtr0lm] { color: #b45309; background: #fef3c7; }
.avatar-4[b-ygocdtr0lm] { color: #6d28d9; background: #ede9fe; }
.avatar-5[b-ygocdtr0lm] { color: #0f766e; background: #ccfbf1; }

.st-name[b-ygocdtr0lm] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

    .st-name strong[b-ygocdtr0lm] {
        font-size: .9rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .st-name small[b-ygocdtr0lm] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.cell-stack[b-ygocdtr0lm] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

    .cell-stack strong[b-ygocdtr0lm] {
        font-size: .85rem;
        font-weight: 700;
    }

    .cell-stack small[b-ygocdtr0lm] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.mono[b-ygocdtr0lm] {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 8px;
    color: #1d4ed8;
    background: #dbeafe;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .78rem;
    font-weight: 700;
}

.money[b-ygocdtr0lm] {
    font-weight: 750;
    white-space: nowrap;
}

.field-label[b-ygocdtr0lm] {
    color: var(--pay-muted);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.status-stack[b-ygocdtr0lm] {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.status-chip[b-ygocdtr0lm] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

    .status-chip.chip-ok[b-ygocdtr0lm] { color: #16a34a; background: #dcfce7; }
    .status-chip.chip-warn[b-ygocdtr0lm] { color: #b45309; background: #fef3c7; }
    .status-chip.chip-orange[b-ygocdtr0lm] { color: #c2410c; background: #ffedd5; }
    .status-chip.chip-danger[b-ygocdtr0lm] { color: #dc2626; background: #fee2e2; }
    .status-chip.chip-info[b-ygocdtr0lm] { color: #1d4ed8; background: #dbeafe; }
    .status-chip.chip-primary[b-ygocdtr0lm] { color: #6d28d9; background: #ede9fe; }
    .status-chip.chip-muted[b-ygocdtr0lm] { color: #475569; background: #e2e8f0; }

.stock-cell[b-ygocdtr0lm] {
    display: grid;
    gap: 5px;
    min-width: 120px;
}

    .stock-cell .qty[b-ygocdtr0lm] {
        display: flex;
        align-items: baseline;
        gap: 5px;
        font-weight: 800;
        font-size: .95rem;
    }

        .stock-cell .qty small[b-ygocdtr0lm] {
            color: var(--pay-muted);
            font-size: .7rem;
            font-weight: 650;
        }

.stock-meter[b-ygocdtr0lm] {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--pay-background-2);
}

    .stock-meter > span[b-ygocdtr0lm] {
        display: block;
        height: 100%;
        border-radius: inherit;
        background: #16a34a;
    }

    .stock-meter.warn > span[b-ygocdtr0lm] { background: #f59e0b; }
    .stock-meter.danger > span[b-ygocdtr0lm] { background: #dc2626; }

.stat-grid[b-ygocdtr0lm] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-item[b-ygocdtr0lm] {
    display: grid;
    gap: 4px;
}

.stat-value[b-ygocdtr0lm] {
    font-size: .95rem;
    font-weight: 750;
}

.expiry-warn[b-ygocdtr0lm] { color: #dc2626; font-weight: 700; }

.id-pill[b-ygocdtr0lm] {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 6px;
    color: #b45309;
    background: #fef3c7;
    font-size: .68rem;
    font-weight: 700;
}

.st-avatar[b-ygocdtr0lm] {
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .02em;
}
/* /Pages/Staff/SchedulesList.razor.rz.scp.css */
.st-list[b-zzggj7hkk1] {
    --pay-primary: var(--mud-palette-primary);
    --pay-surface: var(--mud-palette-surface);
    --pay-background-2: var(--mud-palette-background-grey);
    --pay-line: var(--mud-palette-lines-default);
    --pay-text: var(--mud-palette-text-primary);
    --pay-muted: var(--mud-palette-text-secondary);
    display: grid;
    gap: 16px;
    min-width: 0;
}

/* Refresh bar */
.refresh-progress[b-zzggj7hkk1] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 28px;
    color: var(--pay-muted);
    font-size: .74rem;
    font-weight: 650;
}

.refresh-progress-track[b-zzggj7hkk1] {
    position: relative;
    width: 90px;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix(in srgb, var(--pay-primary) 14%, var(--pay-background-2));
}

.refresh-progress-bar[b-zzggj7hkk1] {
    position: absolute;
    inset-block: 0;
    width: 38%;
    border-radius: inherit;
    background: var(--pay-primary);
    animation: st-refresh-b-zzggj7hkk1 1.15s ease-in-out infinite;
}

@keyframes st-refresh-b-zzggj7hkk1 {
    0% {
        inset-inline-start: -40%;
    }

    50% {
        inset-inline-start: 55%;
    }

    100% {
        inset-inline-start: 110%;
    }
}

/* Filters */
.filter-row[b-zzggj7hkk1] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px;
    overflow-x: auto;
    scrollbar-width: none;
    border: 1px solid var(--pay-line);
    border-radius: 13px;
    background: var(--pay-background-2);
}

.filter-row[b-zzggj7hkk1]::-webkit-scrollbar {
        display: none;
    }

.filter-chip[b-zzggj7hkk1] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 36px;
    padding: 6px 11px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--pay-muted);
    font: inherit;
    font-size: .78rem;
    font-weight: 650;
    cursor: pointer;
    white-space: nowrap;
    transition: all .16s ease;
}

.filter-chip:hover[b-zzggj7hkk1] {
        color: var(--pay-text);
        background: color-mix(in srgb, var(--pay-surface) 70%, transparent);
    }

.filter-chip.on[b-zzggj7hkk1] {
        border-color: color-mix(in srgb, var(--pay-primary) 22%, var(--pay-line));
        color: var(--pay-primary);
        background: var(--pay-surface);
        box-shadow: 0 1px 3px rgba(0,0,0,.06);
    }

.filter-chip.on[b-zzggj7hkk1]::before {
            content: "";
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--pay-primary);
        }

.chip-count[b-zzggj7hkk1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    border: 1px solid var(--pay-line);
    border-radius: 7px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .68rem;
    font-weight: 750;
}

.filter-chip.on .chip-count[b-zzggj7hkk1] {
    border-color: transparent;
    background: var(--pay-primary);
    color: #fff;
}

/* Toolbar */
.st-toolbar[b-zzggj7hkk1] {
    display: grid;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.toolbar-main[b-zzggj7hkk1] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box[b-zzggj7hkk1] {
    flex: 1 1 auto;
    min-width: 220px;
}

.toolbar-actions[b-zzggj7hkk1] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.view-switch[b-zzggj7hkk1] {
    display: inline-flex;
    padding: 3px;
    gap: 2px;
    border: 1px solid var(--pay-line);
    border-radius: 12px;
    background: var(--pay-background-2);
}

.view-switch button[b-zzggj7hkk1] {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: 34px;
        padding: 6px 12px;
        border: 0;
        border-radius: 9px;
        background: transparent;
        color: var(--pay-muted);
        font: inherit;
        font-size: .8rem;
        font-weight: 650;
        cursor: pointer;
    }

.view-switch button.active[b-zzggj7hkk1] {
            color: var(--pay-primary);
            background: var(--pay-surface);
            box-shadow: var(--mud-elevation-1);
        }

.toolbar-status[b-zzggj7hkk1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 22px;
}

.result-summary[b-zzggj7hkk1] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pay-muted);
    font-size: .8rem;
}

.result-summary strong[b-zzggj7hkk1] {
        color: var(--pay-text);
    }

.clear-button[b-zzggj7hkk1] {
    padding: 2px 5px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--pay-primary);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

.clear-button:hover[b-zzggj7hkk1] {
        text-decoration: underline;
    }

.live-status[b-zzggj7hkk1] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border-radius: 10px;
    color: #15803d;
    background: #f0fdf4;
    font-size: .72rem;
    font-weight: 700;
}

.live-dot[b-zzggj7hkk1] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 0 rgba(22,163,74,.35);
    animation: st-pulse-b-zzggj7hkk1 1.8s ease-out infinite;
}

@keyframes st-pulse-b-zzggj7hkk1 {
    0% {
        box-shadow: 0 0 0 0 rgba(22,163,74,.35);
    }

    100% {
        box-shadow: 0 0 0 7px rgba(22,163,74,0);
    }
}

/* Table */
.st-list[b-zzggj7hkk1]  .st-table-card {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.st-list[b-zzggj7hkk1]  .st-table th {
    padding-block: 11px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .72rem;
    font-weight: 750;
    white-space: nowrap;
}

.st-list[b-zzggj7hkk1]  .st-table td {
    padding-block: 12px;
    vertical-align: middle;
}

/* Actions */
.row-actions[b-zzggj7hkk1] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
}

/* Skeletons */
.table-skeletons[b-zzggj7hkk1] {
    display: grid;
    gap: 8px;
    padding: 12px 16px;
}

.skeleton-row[b-zzggj7hkk1] {
    display: grid;
    grid-template-columns: 120px minmax(180px, 1fr) 140px 100px 70px;
    align-items: center;
    gap: 16px;
    min-height: 52px;
}

/* Cards */
.st-card-grid[b-zzggj7hkk1] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 14px;
}

.st-card[b-zzggj7hkk1] {
    position: relative;
    display: grid;
    align-content: start;
    gap: 14px;
    min-height: 180px;
    padding: 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
    cursor: pointer;
    outline: none;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.st-card:hover[b-zzggj7hkk1] {
        transform: translateY(-2px);
        border-color: color-mix(in srgb, var(--pay-primary) 35%, var(--pay-line));
        box-shadow: var(--mud-elevation-3);
    }

.st-card.selected[b-zzggj7hkk1] {
        border-color: var(--pay-primary);
        background: color-mix(in srgb, var(--pay-primary) 4%, var(--pay-surface));
        box-shadow: 0 0 0 1px var(--pay-primary);
    }

.selected-indicator[b-zzggj7hkk1] {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-end: 10px;
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    color: #fff;
    background: var(--pay-primary);
}

.st-card-header[b-zzggj7hkk1] {
    display: flex;
    align-items: center;
    gap: 11px;
}

.st-card-title[b-zzggj7hkk1] {
    flex: 1;
    display: grid;
    gap: 3px;
    min-width: 0;
}

.st-card-title strong[b-zzggj7hkk1] {
        font-size: .9rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.st-card-title span[b-zzggj7hkk1] {
        color: var(--pay-muted);
        font-size: .73rem;
    }

.st-card-content[b-zzggj7hkk1] {
    display: grid;
    gap: 12px;
}

.st-card-footer[b-zzggj7hkk1] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px dashed var(--pay-line);
}

.selection-actions[b-zzggj7hkk1] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 11px;
    border-top: 1px dashed var(--pay-line);
}

.loading-card[b-zzggj7hkk1] {
    grid-template-columns: 48px 1fr;
    align-items: center;
    min-height: 132px;
    cursor: default;
}

.loading-card:hover[b-zzggj7hkk1] {
        transform: none;
        box-shadow: none;
    }

.loading-card-content[b-zzggj7hkk1] {
    display: grid;
    gap: 8px;
}

.show-more[b-zzggj7hkk1] {
    display: flex;
    justify-content: center;
    padding: 2px 0 4px;
}

.remaining-count[b-zzggj7hkk1] {
    margin-inline-start: 2px;
    padding: 1px 7px;
    border-radius: 8px;
    background: var(--pay-background-2);
    font-size: .7rem;
}

/* Empty */
.st-empty[b-zzggj7hkk1] {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.empty-state[b-zzggj7hkk1] {
    display: grid;
    justify-items: center;
    gap: 9px;
    padding: 58px 20px;
    text-align: center;
}

.empty-icon[b-zzggj7hkk1] {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 22px;
    color: var(--pay-primary);
    background: color-mix(in srgb, var(--pay-primary) 10%, transparent);
}

.empty-state h3[b-zzggj7hkk1] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.empty-state p[b-zzggj7hkk1] {
    max-width: 420px;
    margin: 0 0 6px;
    color: var(--pay-muted);
    font-size: .84rem;
}

/* Responsive */
@media (max-width: 900px) {
    .toolbar-main[b-zzggj7hkk1] {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box[b-zzggj7hkk1] {
        width: 100%;
    }

    .toolbar-actions[b-zzggj7hkk1] {
        justify-content: flex-end;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .st-toolbar[b-zzggj7hkk1] {
        padding: 12px;
    }

    .toolbar-actions[b-zzggj7hkk1] {
        display: grid;
        grid-template-columns: auto auto 1fr;
        width: 100%;
    }

    .st-card-grid[b-zzggj7hkk1] {
        grid-template-columns: 1fr;
    }

    .skeleton-row[b-zzggj7hkk1] {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .st-card[b-zzggj7hkk1], .live-dot[b-zzggj7hkk1], .refresh-progress-bar[b-zzggj7hkk1] {
        transition: none;
        animation: none;
    }
}

/* ── Shared inventory building blocks ── */
.st-identity[b-zzggj7hkk1] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.st-avatar[b-zzggj7hkk1] {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

    .st-avatar.large[b-zzggj7hkk1] {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

.avatar-0[b-zzggj7hkk1] { color: #1d4ed8; background: #dbeafe; }
.avatar-1[b-zzggj7hkk1] { color: #be185d; background: #fce7f3; }
.avatar-2[b-zzggj7hkk1] { color: #15803d; background: #dcfce7; }
.avatar-3[b-zzggj7hkk1] { color: #b45309; background: #fef3c7; }
.avatar-4[b-zzggj7hkk1] { color: #6d28d9; background: #ede9fe; }
.avatar-5[b-zzggj7hkk1] { color: #0f766e; background: #ccfbf1; }

.st-name[b-zzggj7hkk1] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

    .st-name strong[b-zzggj7hkk1] {
        font-size: .9rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .st-name small[b-zzggj7hkk1] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.cell-stack[b-zzggj7hkk1] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

    .cell-stack strong[b-zzggj7hkk1] {
        font-size: .85rem;
        font-weight: 700;
    }

    .cell-stack small[b-zzggj7hkk1] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.mono[b-zzggj7hkk1] {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 8px;
    color: #1d4ed8;
    background: #dbeafe;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .78rem;
    font-weight: 700;
}

.money[b-zzggj7hkk1] {
    font-weight: 750;
    white-space: nowrap;
}

.field-label[b-zzggj7hkk1] {
    color: var(--pay-muted);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.status-stack[b-zzggj7hkk1] {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.status-chip[b-zzggj7hkk1] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

    .status-chip.chip-ok[b-zzggj7hkk1] { color: #16a34a; background: #dcfce7; }
    .status-chip.chip-warn[b-zzggj7hkk1] { color: #b45309; background: #fef3c7; }
    .status-chip.chip-orange[b-zzggj7hkk1] { color: #c2410c; background: #ffedd5; }
    .status-chip.chip-danger[b-zzggj7hkk1] { color: #dc2626; background: #fee2e2; }
    .status-chip.chip-info[b-zzggj7hkk1] { color: #1d4ed8; background: #dbeafe; }
    .status-chip.chip-primary[b-zzggj7hkk1] { color: #6d28d9; background: #ede9fe; }
    .status-chip.chip-muted[b-zzggj7hkk1] { color: #475569; background: #e2e8f0; }

.stock-cell[b-zzggj7hkk1] {
    display: grid;
    gap: 5px;
    min-width: 120px;
}

    .stock-cell .qty[b-zzggj7hkk1] {
        display: flex;
        align-items: baseline;
        gap: 5px;
        font-weight: 800;
        font-size: .95rem;
    }

        .stock-cell .qty small[b-zzggj7hkk1] {
            color: var(--pay-muted);
            font-size: .7rem;
            font-weight: 650;
        }

.stock-meter[b-zzggj7hkk1] {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--pay-background-2);
}

    .stock-meter > span[b-zzggj7hkk1] {
        display: block;
        height: 100%;
        border-radius: inherit;
        background: #16a34a;
    }

    .stock-meter.warn > span[b-zzggj7hkk1] { background: #f59e0b; }
    .stock-meter.danger > span[b-zzggj7hkk1] { background: #dc2626; }

.stat-grid[b-zzggj7hkk1] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-item[b-zzggj7hkk1] {
    display: grid;
    gap: 4px;
}

.stat-value[b-zzggj7hkk1] {
    font-size: .95rem;
    font-weight: 750;
}

.expiry-warn[b-zzggj7hkk1] { color: #dc2626; font-weight: 700; }

.id-pill[b-zzggj7hkk1] {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 6px;
    color: #b45309;
    background: #fef3c7;
    font-size: .68rem;
    font-weight: 700;
}

.st-avatar[b-zzggj7hkk1] {
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .02em;
}
/* /Pages/Staff/Staff.razor.rz.scp.css */
.st-page[b-5avmnutjtb] {
    --ins-primary: var(--mud-palette-primary);
    --ins-surface: var(--mud-palette-surface);
    --ins-line: var(--mud-palette-lines-default);
    --ins-muted: var(--mud-palette-text-secondary);
    display: grid;
    gap: 16px;
    min-width: 0;
}

.st-tabs[b-5avmnutjtb] {
    display: flex;
    gap: 6px;
    padding: 4px;
    border: 1px solid var(--ins-line);
    border-radius: 14px;
    background: var(--mud-palette-background-grey);
    overflow-x: auto;
    scrollbar-width: none;
}

    .st-tabs[b-5avmnutjtb]::-webkit-scrollbar {
        display: none;
    }

.st-tab[b-5avmnutjtb] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--ins-muted);
    font: inherit;
    font-size: .85rem;
    font-weight: 650;
    cursor: pointer;
    white-space: nowrap;
    transition: all .15s ease;
}

    .st-tab:hover[b-5avmnutjtb] {
        color: var(--mud-palette-text-primary);
        background: color-mix(in srgb, var(--ins-surface) 60%, transparent);
    }

    .st-tab.active[b-5avmnutjtb] {
        color: var(--ins-primary);
        background: var(--ins-surface);
        border-color: color-mix(in srgb, var(--ins-primary) 22%, var(--ins-line));
        box-shadow: var(--mud-elevation-1);
    }

    .st-tab .tab-count[b-5avmnutjtb] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 22px;
        height: 22px;
        padding: 0 6px;
        border-radius: 7px;
        background: var(--mud-palette-background-grey);
        color: var(--ins-muted);
        font-size: .68rem;
        font-weight: 750;
    }

    .st-tab.active .tab-count[b-5avmnutjtb] {
        background: var(--ins-primary);
        color: #fff;
    }
/* /Pages/Staff/StaffList.razor.rz.scp.css */
.st-list[b-ikhnapbeet] {
    --pay-primary: var(--mud-palette-primary);
    --pay-surface: var(--mud-palette-surface);
    --pay-background-2: var(--mud-palette-background-grey);
    --pay-line: var(--mud-palette-lines-default);
    --pay-text: var(--mud-palette-text-primary);
    --pay-muted: var(--mud-palette-text-secondary);
    display: grid;
    gap: 16px;
    min-width: 0;
}

/* Refresh bar */
.refresh-progress[b-ikhnapbeet] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 28px;
    color: var(--pay-muted);
    font-size: .74rem;
    font-weight: 650;
}

.refresh-progress-track[b-ikhnapbeet] {
    position: relative;
    width: 90px;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix(in srgb, var(--pay-primary) 14%, var(--pay-background-2));
}

.refresh-progress-bar[b-ikhnapbeet] {
    position: absolute;
    inset-block: 0;
    width: 38%;
    border-radius: inherit;
    background: var(--pay-primary);
    animation: st-refresh-b-ikhnapbeet 1.15s ease-in-out infinite;
}

@keyframes st-refresh-b-ikhnapbeet {
    0% {
        inset-inline-start: -40%;
    }

    50% {
        inset-inline-start: 55%;
    }

    100% {
        inset-inline-start: 110%;
    }
}

/* Filters */
.filter-row[b-ikhnapbeet] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px;
    overflow-x: auto;
    scrollbar-width: none;
    border: 1px solid var(--pay-line);
    border-radius: 13px;
    background: var(--pay-background-2);
}

.filter-row[b-ikhnapbeet]::-webkit-scrollbar {
        display: none;
    }

.filter-chip[b-ikhnapbeet] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 36px;
    padding: 6px 11px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--pay-muted);
    font: inherit;
    font-size: .78rem;
    font-weight: 650;
    cursor: pointer;
    white-space: nowrap;
    transition: all .16s ease;
}

.filter-chip:hover[b-ikhnapbeet] {
        color: var(--pay-text);
        background: color-mix(in srgb, var(--pay-surface) 70%, transparent);
    }

.filter-chip.on[b-ikhnapbeet] {
        border-color: color-mix(in srgb, var(--pay-primary) 22%, var(--pay-line));
        color: var(--pay-primary);
        background: var(--pay-surface);
        box-shadow: 0 1px 3px rgba(0,0,0,.06);
    }

.filter-chip.on[b-ikhnapbeet]::before {
            content: "";
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--pay-primary);
        }

.chip-count[b-ikhnapbeet] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    border: 1px solid var(--pay-line);
    border-radius: 7px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .68rem;
    font-weight: 750;
}

.filter-chip.on .chip-count[b-ikhnapbeet] {
    border-color: transparent;
    background: var(--pay-primary);
    color: #fff;
}

/* Toolbar */
.st-toolbar[b-ikhnapbeet] {
    display: grid;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.toolbar-main[b-ikhnapbeet] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box[b-ikhnapbeet] {
    flex: 1 1 auto;
    min-width: 220px;
}

.toolbar-actions[b-ikhnapbeet] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.view-switch[b-ikhnapbeet] {
    display: inline-flex;
    padding: 3px;
    gap: 2px;
    border: 1px solid var(--pay-line);
    border-radius: 12px;
    background: var(--pay-background-2);
}

.view-switch button[b-ikhnapbeet] {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: 34px;
        padding: 6px 12px;
        border: 0;
        border-radius: 9px;
        background: transparent;
        color: var(--pay-muted);
        font: inherit;
        font-size: .8rem;
        font-weight: 650;
        cursor: pointer;
    }

.view-switch button.active[b-ikhnapbeet] {
            color: var(--pay-primary);
            background: var(--pay-surface);
            box-shadow: var(--mud-elevation-1);
        }

.toolbar-status[b-ikhnapbeet] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 22px;
}

.result-summary[b-ikhnapbeet] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pay-muted);
    font-size: .8rem;
}

.result-summary strong[b-ikhnapbeet] {
        color: var(--pay-text);
    }

.clear-button[b-ikhnapbeet] {
    padding: 2px 5px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--pay-primary);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

.clear-button:hover[b-ikhnapbeet] {
        text-decoration: underline;
    }

.live-status[b-ikhnapbeet] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border-radius: 10px;
    color: #15803d;
    background: #f0fdf4;
    font-size: .72rem;
    font-weight: 700;
}

.live-dot[b-ikhnapbeet] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 0 rgba(22,163,74,.35);
    animation: st-pulse-b-ikhnapbeet 1.8s ease-out infinite;
}

@keyframes st-pulse-b-ikhnapbeet {
    0% {
        box-shadow: 0 0 0 0 rgba(22,163,74,.35);
    }

    100% {
        box-shadow: 0 0 0 7px rgba(22,163,74,0);
    }
}

/* Table */
.st-list[b-ikhnapbeet]  .st-table-card {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.st-list[b-ikhnapbeet]  .st-table th {
    padding-block: 11px;
    background: var(--pay-background-2);
    color: var(--pay-muted);
    font-size: .72rem;
    font-weight: 750;
    white-space: nowrap;
}

.st-list[b-ikhnapbeet]  .st-table td {
    padding-block: 12px;
    vertical-align: middle;
}

/* Actions */
.row-actions[b-ikhnapbeet] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
}

/* Skeletons */
.table-skeletons[b-ikhnapbeet] {
    display: grid;
    gap: 8px;
    padding: 12px 16px;
}

.skeleton-row[b-ikhnapbeet] {
    display: grid;
    grid-template-columns: 120px minmax(180px, 1fr) 140px 100px 70px;
    align-items: center;
    gap: 16px;
    min-height: 52px;
}

/* Cards */
.st-card-grid[b-ikhnapbeet] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 14px;
}

.st-card[b-ikhnapbeet] {
    position: relative;
    display: grid;
    align-content: start;
    gap: 14px;
    min-height: 180px;
    padding: 16px;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
    cursor: pointer;
    outline: none;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.st-card:hover[b-ikhnapbeet] {
        transform: translateY(-2px);
        border-color: color-mix(in srgb, var(--pay-primary) 35%, var(--pay-line));
        box-shadow: var(--mud-elevation-3);
    }

.st-card.selected[b-ikhnapbeet] {
        border-color: var(--pay-primary);
        background: color-mix(in srgb, var(--pay-primary) 4%, var(--pay-surface));
        box-shadow: 0 0 0 1px var(--pay-primary);
    }

.selected-indicator[b-ikhnapbeet] {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-end: 10px;
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    color: #fff;
    background: var(--pay-primary);
}

.st-card-header[b-ikhnapbeet] {
    display: flex;
    align-items: center;
    gap: 11px;
}

.st-card-title[b-ikhnapbeet] {
    flex: 1;
    display: grid;
    gap: 3px;
    min-width: 0;
}

.st-card-title strong[b-ikhnapbeet] {
        font-size: .9rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.st-card-title span[b-ikhnapbeet] {
        color: var(--pay-muted);
        font-size: .73rem;
    }

.st-card-content[b-ikhnapbeet] {
    display: grid;
    gap: 12px;
}

.st-card-footer[b-ikhnapbeet] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px dashed var(--pay-line);
}

.selection-actions[b-ikhnapbeet] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 11px;
    border-top: 1px dashed var(--pay-line);
}

.loading-card[b-ikhnapbeet] {
    grid-template-columns: 48px 1fr;
    align-items: center;
    min-height: 132px;
    cursor: default;
}

.loading-card:hover[b-ikhnapbeet] {
        transform: none;
        box-shadow: none;
    }

.loading-card-content[b-ikhnapbeet] {
    display: grid;
    gap: 8px;
}

.show-more[b-ikhnapbeet] {
    display: flex;
    justify-content: center;
    padding: 2px 0 4px;
}

.remaining-count[b-ikhnapbeet] {
    margin-inline-start: 2px;
    padding: 1px 7px;
    border-radius: 8px;
    background: var(--pay-background-2);
    font-size: .7rem;
}

/* Empty */
.st-empty[b-ikhnapbeet] {
    overflow: hidden;
    border: 1px solid var(--pay-line);
    border-radius: 16px;
    background: var(--pay-surface);
}

.empty-state[b-ikhnapbeet] {
    display: grid;
    justify-items: center;
    gap: 9px;
    padding: 58px 20px;
    text-align: center;
}

.empty-icon[b-ikhnapbeet] {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 22px;
    color: var(--pay-primary);
    background: color-mix(in srgb, var(--pay-primary) 10%, transparent);
}

.empty-state h3[b-ikhnapbeet] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.empty-state p[b-ikhnapbeet] {
    max-width: 420px;
    margin: 0 0 6px;
    color: var(--pay-muted);
    font-size: .84rem;
}

/* Responsive */
@media (max-width: 900px) {
    .toolbar-main[b-ikhnapbeet] {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box[b-ikhnapbeet] {
        width: 100%;
    }

    .toolbar-actions[b-ikhnapbeet] {
        justify-content: flex-end;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .st-toolbar[b-ikhnapbeet] {
        padding: 12px;
    }

    .toolbar-actions[b-ikhnapbeet] {
        display: grid;
        grid-template-columns: auto auto 1fr;
        width: 100%;
    }

    .st-card-grid[b-ikhnapbeet] {
        grid-template-columns: 1fr;
    }

    .skeleton-row[b-ikhnapbeet] {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .st-card[b-ikhnapbeet], .live-dot[b-ikhnapbeet], .refresh-progress-bar[b-ikhnapbeet] {
        transition: none;
        animation: none;
    }
}

/* ── Shared inventory building blocks ── */
.st-identity[b-ikhnapbeet] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.st-avatar[b-ikhnapbeet] {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

    .st-avatar.large[b-ikhnapbeet] {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

.avatar-0[b-ikhnapbeet] { color: #1d4ed8; background: #dbeafe; }
.avatar-1[b-ikhnapbeet] { color: #be185d; background: #fce7f3; }
.avatar-2[b-ikhnapbeet] { color: #15803d; background: #dcfce7; }
.avatar-3[b-ikhnapbeet] { color: #b45309; background: #fef3c7; }
.avatar-4[b-ikhnapbeet] { color: #6d28d9; background: #ede9fe; }
.avatar-5[b-ikhnapbeet] { color: #0f766e; background: #ccfbf1; }

.st-name[b-ikhnapbeet] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

    .st-name strong[b-ikhnapbeet] {
        font-size: .9rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .st-name small[b-ikhnapbeet] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.cell-stack[b-ikhnapbeet] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

    .cell-stack strong[b-ikhnapbeet] {
        font-size: .85rem;
        font-weight: 700;
    }

    .cell-stack small[b-ikhnapbeet] {
        color: var(--pay-muted);
        font-size: .72rem;
    }

.mono[b-ikhnapbeet] {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 8px;
    color: #1d4ed8;
    background: #dbeafe;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .78rem;
    font-weight: 700;
}

.money[b-ikhnapbeet] {
    font-weight: 750;
    white-space: nowrap;
}

.field-label[b-ikhnapbeet] {
    color: var(--pay-muted);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.status-stack[b-ikhnapbeet] {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.status-chip[b-ikhnapbeet] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

    .status-chip.chip-ok[b-ikhnapbeet] { color: #16a34a; background: #dcfce7; }
    .status-chip.chip-warn[b-ikhnapbeet] { color: #b45309; background: #fef3c7; }
    .status-chip.chip-orange[b-ikhnapbeet] { color: #c2410c; background: #ffedd5; }
    .status-chip.chip-danger[b-ikhnapbeet] { color: #dc2626; background: #fee2e2; }
    .status-chip.chip-info[b-ikhnapbeet] { color: #1d4ed8; background: #dbeafe; }
    .status-chip.chip-primary[b-ikhnapbeet] { color: #6d28d9; background: #ede9fe; }
    .status-chip.chip-muted[b-ikhnapbeet] { color: #475569; background: #e2e8f0; }

.stock-cell[b-ikhnapbeet] {
    display: grid;
    gap: 5px;
    min-width: 120px;
}

    .stock-cell .qty[b-ikhnapbeet] {
        display: flex;
        align-items: baseline;
        gap: 5px;
        font-weight: 800;
        font-size: .95rem;
    }

        .stock-cell .qty small[b-ikhnapbeet] {
            color: var(--pay-muted);
            font-size: .7rem;
            font-weight: 650;
        }

.stock-meter[b-ikhnapbeet] {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--pay-background-2);
}

    .stock-meter > span[b-ikhnapbeet] {
        display: block;
        height: 100%;
        border-radius: inherit;
        background: #16a34a;
    }

    .stock-meter.warn > span[b-ikhnapbeet] { background: #f59e0b; }
    .stock-meter.danger > span[b-ikhnapbeet] { background: #dc2626; }

.stat-grid[b-ikhnapbeet] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-item[b-ikhnapbeet] {
    display: grid;
    gap: 4px;
}

.stat-value[b-ikhnapbeet] {
    font-size: .95rem;
    font-weight: 750;
}

.expiry-warn[b-ikhnapbeet] { color: #dc2626; font-weight: 700; }

.id-pill[b-ikhnapbeet] {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 6px;
    color: #b45309;
    background: #fef3c7;
    font-size: .68rem;
    font-weight: 700;
}

.st-avatar[b-ikhnapbeet] {
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .02em;
}
/* /Pages/Staff/StaffOverview.razor.rz.scp.css */
.st-ov[b-8bdanr0r2y] {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.ov-head[b-8bdanr0r2y] {
    display: flex;
    align-items: center;
}

.kpi-grid[b-8bdanr0r2y] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
    gap: 12px;
}

.kpi[b-8bdanr0r2y] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 14px;
    background: var(--mud-palette-surface);
    color: inherit;
    font: inherit;
    text-align: start;
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

    .kpi:hover[b-8bdanr0r2y] {
        transform: translateY(-2px);
        border-color: color-mix(in srgb, var(--mud-palette-primary) 35%, var(--mud-palette-lines-default));
        box-shadow: var(--mud-elevation-3);
    }

.kpi-icon[b-8bdanr0r2y] {
    display: grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
}

.avatar-0[b-8bdanr0r2y] { color: #1d4ed8; background: #dbeafe; }
.avatar-1[b-8bdanr0r2y] { color: #be185d; background: #fce7f3; }
.avatar-2[b-8bdanr0r2y] { color: #15803d; background: #dcfce7; }
.avatar-3[b-8bdanr0r2y] { color: #b45309; background: #fef3c7; }
.avatar-4[b-8bdanr0r2y] { color: #6d28d9; background: #ede9fe; }
.avatar-5[b-8bdanr0r2y] { color: #0f766e; background: #ccfbf1; }

.kpi-text[b-8bdanr0r2y] {
    display: grid;
    gap: 1px;
    min-width: 0;
}

    .kpi-text small[b-8bdanr0r2y] {
        color: var(--mud-palette-text-secondary);
        font-size: .72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .03em;
    }

    .kpi-text strong[b-8bdanr0r2y] {
        font-size: 1.25rem;
        font-weight: 800;
    }

    .kpi-text em[b-8bdanr0r2y] {
        color: var(--mud-palette-text-secondary);
        font-size: .72rem;
        font-style: normal;
    }

.ov-grid[b-8bdanr0r2y] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 14px;
}

.ov-panel[b-8bdanr0r2y] {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 16px;
    background: var(--mud-palette-surface);
}

    .ov-panel header[b-8bdanr0r2y] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

        .ov-panel header.mt[b-8bdanr0r2y] {
            margin-top: 10px;
        }

    .ov-panel h3[b-8bdanr0r2y] {
        margin: 0;
        font-size: .95rem;
        font-weight: 800;
    }

    .ov-panel .link[b-8bdanr0r2y] {
        border: 0;
        background: transparent;
        color: var(--mud-palette-primary);
        font: inherit;
        font-size: .78rem;
        font-weight: 650;
        cursor: pointer;
    }

    .ov-panel .muted[b-8bdanr0r2y] {
        margin: 0;
        color: var(--mud-palette-text-secondary);
        font-size: .84rem;
    }

.ov-row[b-8bdanr0r2y] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-top: 1px dashed var(--mud-palette-lines-default);
}

.ov-row-main[b-8bdanr0r2y] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

    .ov-row-main strong[b-8bdanr0r2y] {
        font-size: .86rem;
        font-weight: 700;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ov-row-main small[b-8bdanr0r2y] {
        color: var(--mud-palette-text-secondary);
        font-size: .72rem;
    }

.status-chip[b-8bdanr0r2y] {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

    .status-chip.chip-ok[b-8bdanr0r2y] { color: #16a34a; background: #dcfce7; }
    .status-chip.chip-warn[b-8bdanr0r2y] { color: #b45309; background: #fef3c7; }
    .status-chip.chip-orange[b-8bdanr0r2y] { color: #c2410c; background: #ffedd5; }
    .status-chip.chip-danger[b-8bdanr0r2y] { color: #dc2626; background: #fee2e2; }
    .status-chip.chip-info[b-8bdanr0r2y] { color: #1d4ed8; background: #dbeafe; }
    .status-chip.chip-primary[b-8bdanr0r2y] { color: #6d28d9; background: #ede9fe; }
    .status-chip.chip-muted[b-8bdanr0r2y] { color: #475569; background: #e2e8f0; }

.health-bar[b-8bdanr0r2y] {
    display: flex;
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--mud-palette-background-grey);
}

    .health-bar span.ok[b-8bdanr0r2y], .health-legend i.ok[b-8bdanr0r2y] { background: #16a34a; }
    .health-bar span.warn[b-8bdanr0r2y], .health-legend i.warn[b-8bdanr0r2y] { background: #f59e0b; }
    .health-bar span.danger[b-8bdanr0r2y], .health-legend i.danger[b-8bdanr0r2y] { background: #dc2626; }

.health-legend[b-8bdanr0r2y] {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: .78rem;
    color: var(--mud-palette-text-secondary);
}

    .health-legend i[b-8bdanr0r2y] {
        display: inline-block;
        width: 9px;
        height: 9px;
        margin-inline-end: 6px;
        border-radius: 50%;
    }

.pipeline[b-8bdanr0r2y] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
}

.pipe-item[b-8bdanr0r2y] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 10px;
}

@media (prefers-reduced-motion: reduce) {
    .kpi[b-8bdanr0r2y] { transition: none; }
}
