/* /Components/Pages/Calendar.razor.rz.scp.css */
.cal-card[b-unh64kn400] {
    --cal-holiday-bg: #fdecea;
    --cal-holiday-border: #f3b9b4;
    --cal-holiday-text: #b3261e;
    --cal-today-ring: var(--primary);
    --cal-weekend-tint: var(--surface-variant);
    --cal-selected-bg: rgba(0, 71, 171, 0.14);
    --cal-selected-ring: var(--primary);
    overflow: hidden;
    border: 1px solid var(--outline-variant);
    background: var(--card-bg);
}

.dark-theme .cal-card[b-unh64kn400] {
    --cal-holiday-bg: rgba(239, 83, 80, 0.16);
    --cal-holiday-border: rgba(239, 83, 80, 0.38);
    --cal-holiday-text: #ff8a80;
    --cal-selected-bg: rgba(138, 180, 248, 0.3);
}

.cal-toolbar[b-unh64kn400] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    background: var(--card-bg);
    border-bottom: 1px solid var(--outline-variant);
}

.cal-title[b-unh64kn400] {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.cal-title-icon[b-unh64kn400] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--surface-variant);
    color: var(--primary);
    font-size: 20px;
}

.cal-title h5[b-unh64kn400] {
    color: var(--on-surface);
    font-weight: 700;
}

.cal-subtitle[b-unh64kn400] {
    font-size: 12px;
    color: var(--on-surface-variant);
}

.cal-controls[b-unh64kn400] {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

.cal-controls .form-select[b-unh64kn400] {
    min-width: 120px;
}

.cal-month-nav[b-unh64kn400] {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.cal-nav-btn[b-unh64kn400] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    padding: 0;
    flex: 0 0 auto;
}

.cal-bulk-bar[b-unh64kn400] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
    padding: .6rem 1rem;
    background: var(--surface-variant);
    border-bottom: 1px solid var(--outline-variant);
}

.cal-bulk-bar .form-control[b-unh64kn400] {
    max-width: 280px;
}

.cal-bulk-count[b-unh64kn400] {
    font-size: 12px;
    font-weight: 600;
    color: var(--on-surface-variant);
    white-space: nowrap;
}

.cal-grid-wrap[b-unh64kn400] {
    overflow-x: auto;
}

.cal-grid[b-unh64kn400] {
    display: grid;
    grid-template-columns: repeat(7, minmax(110px, 1fr));
    min-width: 700px;
}

.cal-weekday[b-unh64kn400] {
    text-align: center;
    text-transform: uppercase;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--on-surface-variant);
    padding: 10px 4px;
    background: var(--surface-variant);
    border-bottom: 1px solid var(--outline-variant);
}

.day[b-unh64kn400] {
    position: relative;
    min-height: 104px;
    padding: 8px;
    box-sizing: border-box;
    border-right: 1px solid var(--outline-variant);
    border-bottom: 1px solid var(--outline-variant);
    display: flex;
    flex-direction: column;
    transition: background-color .12s ease;
}

.day.other-month[b-unh64kn400] {
    background: var(--surface-variant);
}

.day.selectable[b-unh64kn400] {
    cursor: pointer;
}

.day.selectable:hover[b-unh64kn400] {
    background: var(--surface-variant);
}

.day.today[b-unh64kn400] {
    box-shadow: inset 0 0 0 2px var(--cal-today-ring);
}

.day.holiday[b-unh64kn400] {
    background: var(--cal-holiday-bg);
}

.day.selected[b-unh64kn400] {
    background: var(--cal-selected-bg);
    box-shadow: inset 0 0 0 2px var(--cal-selected-ring);
}

.day.selected .date-badge[b-unh64kn400] {
    background: var(--primary);
    color: var(--on-primary);
}

.day-top[b-unh64kn400] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.date-badge[b-unh64kn400] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 13px;
    color: var(--on-surface-variant);
    background: var(--surface-variant);
}

.day.today .date-badge[b-unh64kn400] {
    background: var(--primary);
    color: var(--on-primary);
}

.day.holiday .date-badge[b-unh64kn400] {
    color: var(--cal-holiday-text);
}

.bulk-check[b-unh64kn400] {
    cursor: pointer;
}

.eng-date[b-unh64kn400] {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--on-surface-variant);
    margin-top: 2px;
}

.holiday-tag[b-unh64kn400] {
    margin-top: auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 4px;
    font-size: 11.5px;
    line-height: 1.3;
    color: var(--cal-holiday-text);
    font-weight: 600;
    word-break: break-word;
}

.holiday-tag.auto-close-tag[b-unh64kn400] {
    color: #0b57d0;
}

.auto-close-badge[b-unh64kn400] {
    display: inline-block;
    background: #e8f0fe;
    color: #1a73e8;
    border: 1px solid #c2e7ff;
    border-radius: 4px;
    padding: 1px 4px;
    font-size: 9.5px;
    font-weight: 700;
    margin-right: 3px;
    white-space: nowrap;
}

.holiday-remove[b-unh64kn400] {
    flex: 0 0 auto;
    border: none;
    background: transparent;
    color: var(--cal-holiday-text);
    font-size: 15px;
    line-height: 1;
    padding: 0 0 0 4px;
    cursor: pointer;
    opacity: .7;
}

.holiday-remove:hover[b-unh64kn400] {
    opacity: 1;
}

.cal-modal-backdrop[b-unh64kn400] {
    background: rgba(0, 0, 0, .45);
}

.cal-hint[b-unh64kn400] {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: .6rem 1rem;
    font-size: 12px;
    color: var(--on-surface-variant);
    border-top: 1px solid var(--outline-variant);
}

@media (max-width: 772px) {
    .cal-grid[b-unh64kn400] {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .cal-weekday[b-unh64kn400] {
        display: none;
    }

    .day.other-month[b-unh64kn400] {
        display: none;
    }

    .day[b-unh64kn400] {
        border-right: none;
    }
}
/* /Components/Pages/Loans/LoanView.razor.rz.scp.css */
/* Scoped to LoanView.razor only (Blazor CSS isolation). */

/* Section/sub-card headings are <h6> (16px) but their material-symbols icons are
   tagged font-18 (18px), so the icon renders larger than the heading text. Tie the
   icon to the heading's own font-size so the two stay aligned. */
h6 .material-symbols-outlined[b-31rd5hl6h9] {
    font-size: 1em !important;
}
/* /Components/Pages/Login.razor.rz.scp.css */
.login-page[b-07mmcc3d1w] {
    display: flex;
    width: 100%;
    min-height: 100vh;
    background-color: #f9f9ff !important;
    font-family: 'Inter', sans-serif;
    color: #191c20 !important;
    color-scheme: light !important;

    /* Explicit Light Mode Tokens */
    --background: #f9f9ff;
    --on-background: #191c20;
    --surface: #ffffff;
    --surface-variant: #e2e8f0;
    --on-surface: #191c20;
    --on-surface-variant: #64748b;
    --primary: #00327d;
    --on-primary: #ffffff;
    --primary-container: #d9e2ff;
    --on-primary-container: #001945;
    --primary-fixed: #d9e2ff;
    --primary-fixed-dim: #adc7ff;
    --on-primary-fixed: #001945;
    --on-primary-fixed-variant: #004494;
    --secondary: #575e71;
    --outline: #74777f;
    --outline-variant: #c4c6cf;
    --surface-container-lowest: #ffffff;
    --surface-container-low: #f3f3fa;
    --surface-container: #ededf4;
    --surface-container-high: #e8e8ee;
    --surface-container-highest: #e2e2e9;
    --content-bg: #f5f7fb;
}

/* Visual Section (Left) */
.visual-section[b-07mmcc3d1w] {
    display: none;
    width: 50%;
    position: relative;
    overflow: hidden;
    background-color: var(--primary) !important;
    color: var(--on-primary);
}

@media (min-width: 1024px) {
    .visual-section[b-07mmcc3d1w] {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0 6rem;
    }
}

.visual-section .bg-img[b-07mmcc3d1w] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    mix-blend-mode: overlay;
}

.visual-content[b-07mmcc3d1w] {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.brand-row[b-07mmcc3d1w] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-row .material-symbols-outlined[b-07mmcc3d1w] {
    font-size: 3rem;
    color: var(--on-primary);
}

.visual-section h1[b-07mmcc3d1w] {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.025em;
    color: var(--on-primary);
}

.visual-section h2[b-07mmcc3d1w] {
    font-size: 2rem;
    line-height: 1.25;
    margin: 0;
    color: var(--on-primary);
}

.visual-section p[b-07mmcc3d1w] {
    font-size: 1rem;
    max-width: 28rem;
    opacity: 0.9;
    color: var(--primary-fixed);
    line-height: 1.5;
}

.stats-row[b-07mmcc3d1w] {
    padding-top: 2rem;
    display: flex;
    gap: 1rem;
}

.stat-item[b-07mmcc3d1w] {
    display: flex;
    flex-direction: column;
}

.stat-item .value[b-07mmcc3d1w] {
    font-size: 1.25rem;
    font-weight: 600;
}

.stat-item .label[b-07mmcc3d1w] {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary-fixed);
}

.divider-v[b-07mmcc3d1w] {
    width: 1px;
    height: 3rem;
    background-color: var(--primary-fixed);
    opacity: 0.3;
}

.copyright-accent[b-07mmcc3d1w] {
    position: absolute;
    bottom: 3rem;
    left: 6rem;
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--primary-fixed);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Form Section (Right) */
.form-section[b-07mmcc3d1w] {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: #ffffff !important;
    color: #191c20 !important;
}

@media (min-width: 1024px) {
    .form-section[b-07mmcc3d1w] {
        width: 50%;
    }
}

.form-container[b-07mmcc3d1w] {
    width: 100%;
    max-width: 420px;
}

.mobile-header[b-07mmcc3d1w] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 1024px) {
    .mobile-header[b-07mmcc3d1w] {
        display: none;
    }
}

.mobile-logo-box[b-07mmcc3d1w] {
    width: 4rem;
    height: 4rem;
    background-color: var(--primary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--on-primary);
}

.form-header[b-07mmcc3d1w] {
    margin-bottom: 2rem;
}

.form-header h2[b-07mmcc3d1w] {
    font-size: 1.5rem;
    font-weight: 600;
    color: #191c20 !important;
    margin: 0 0 0.5rem 0;
}

.form-header p[b-07mmcc3d1w] {
    font-size: 0.875rem;
    color: #64748b !important;
    margin: 0;
}

.form-group[b-07mmcc3d1w] {
    margin-bottom: 1.25rem;
}

.form-group label[b-07mmcc3d1w] {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #475569 !important;
    margin-bottom: 0.5rem;
    padding: 0 0.25rem;
}

.input-wrapper[b-07mmcc3d1w] {
    position: relative;
}

.input-wrapper .material-symbols-outlined[b-07mmcc3d1w] {
    position: absolute;
    left: -2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--outline);
    font-size: 1.25rem;
    z-index: 5;
}

.input-wrapper input[b-07mmcc3d1w] {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3.5rem !important; /* Increased left padding */
    background-color: #ffffff !important;
    border: 1px solid #c4c6cf !important;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #191c20 !important;
    transition: all 0.2s;
    outline: none;
}

.input-wrapper input[b-07mmcc3d1w]::placeholder {
    color: #94a3b8 !important;
}

.input-wrapper input:focus[b-07mmcc3d1w] {
    background-color: #ffffff !important;
    border-color: #00327d !important;
    color: #191c20 !important;
    box-shadow: 0 0 0 2px rgba(0, 50, 125, 0.2) !important;
}

.password-header[b-07mmcc3d1w] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot-link[b-07mmcc3d1w] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.forgot-link:hover[b-07mmcc3d1w] {
    text-decoration: underline;
}

.remember-me[b-07mmcc3d1w] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 0.25rem;
    margin-bottom: 1.25rem;
}

.remember-me input[b-07mmcc3d1w] {
    width: 1rem;
    height: 1rem;
    color: #00327d !important;
    background-color: #ffffff !important;
    border: 1px solid #c4c6cf !important;
    border-radius: 0.25rem;
}

.remember-me label[b-07mmcc3d1w] {
    font-size: 0.75rem;
    color: #64748b !important;
    user-select: none;
}

.btn-signin[b-07mmcc3d1w] {
    width: 100%;
    background-color: #00327d !important;
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.btn-signin:hover[b-07mmcc3d1w] {
    background-color: #004494 !important;
}

.btn-signin:active[b-07mmcc3d1w] {
    transform: scale(0.98);
}

.btn-signin:disabled[b-07mmcc3d1w] {
    background-color: #c4c6cf !important;
    cursor: not-allowed;
}

.footer-links[b-07mmcc3d1w] {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.footer-links a[b-07mmcc3d1w] {
    font-size: 0.625rem;
    color: #64748b !important;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover[b-07mmcc3d1w] {
    color: #00327d !important;
}

.dot[b-07mmcc3d1w] {
    width: 4px;
    height: 4px;
    background-color: #c4c6cf !important;
    border-radius: 50%;
}
/* /Components/Pages/Reports/FixedAssetsReportView.razor.rz.scp.css */
/*
    Fixed-asset registers — scoped styling shared by the four asset reports.

    Colours come from the app theme tokens (--surface-variant, --on-surface, --primary…)
    rather than Bootstrap's --bs-* variables: .dark-theme sits on #wrapper, so Bootstrap
    colours derived at :root keep their light value inside a dark page.
*/

/* ── Scope chips ─────────────────────────────────────────────────────────── */

.fx-chip[b-egnjh6x5ro] {
    background: var(--surface-variant);
    color: var(--on-surface-variant);
    border: 1px solid var(--outline-variant);
    font-weight: 600;
    padding: 0.35rem 0.6rem;
}

/* ── Summary tiles ───────────────────────────────────────────────────────── */

.fx-stat p[b-egnjh6x5ro] {
    line-height: 1.35;
}

/* The headline reads first: a left rule ties it to the primary colour. The label
   already names it, so colour is never the only carrier of meaning. */
.fx-stat-headline[b-egnjh6x5ro] {
    border-left: 3px solid var(--primary) !important;
}

/* ── Grid ────────────────────────────────────────────────────────────────── */

.fx-grid[b-egnjh6x5ro] {
    max-height: calc(100vh - 420px);
    min-height: 260px;
    overflow: auto;
}

/* Stick the whole thead rather than each th: the purchase-date register has a
   two-level header with rowspan=2 cells, and offsetting the second row by a fixed
   top value would misalign the moment a header height changed. */
.fx-grid thead[b-egnjh6x5ro] {
    position: sticky;
    top: 0;
    z-index: 3;
}

.fx-grid thead th[b-egnjh6x5ro] {
    background: var(--surface-variant);
    color: var(--on-surface);
    font-weight: 700;
}

/* The grand total is the point of the report — keep it in view while scrolling. */
.fx-grid tfoot[b-egnjh6x5ro] {
    position: sticky;
    bottom: 0;
    z-index: 3;
}

.fx-grid tfoot td[b-egnjh6x5ro] {
    background: var(--card-bg);
    border-top: 2px solid var(--outline-variant);
}

/* ── Money cells ─────────────────────────────────────────────────────────── */

/* Tabular figures so digits line up down a column. Not a database rule — standard
   practice for financial tables. */
.fx-num[b-egnjh6x5ro] {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

/* ── Groups ──────────────────────────────────────────────────────────────── */

.fx-group-row td[b-egnjh6x5ro] {
    background: var(--surface-variant);
    padding: 0 !important;
}

.fx-group-toggle[b-egnjh6x5ro] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    /* Comfortably past the 44px touch target: the whole band is the hit area. */
    min-height: 44px;
    padding: 0.25rem 0.75rem;
    border: 0;
    background: transparent;
    color: var(--on-surface);
    font-size: 12px;
    text-align: left;
}

.fx-group-toggle:hover[b-egnjh6x5ro] {
    background: var(--outline-variant);
}

.fx-group-toggle:focus-visible[b-egnjh6x5ro] {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
}

/* Rotation carries the open/closed state alongside the aria-expanded the button
   already exposes. */
.fx-caret[b-egnjh6x5ro] {
    transition: transform 140ms ease;
}

.fx-caret.collapsed[b-egnjh6x5ro] {
    transform: rotate(-90deg);
}

@media (prefers-reduced-motion: reduce) {
    .fx-caret[b-egnjh6x5ro] {
        transition: none;
    }
}

.fx-count-badge[b-egnjh6x5ro] {
    background: var(--card-bg);
    color: var(--on-surface-variant);
    border: 1px solid var(--outline-variant);
    font-weight: 600;
}

/* A lighter tint than the group heading band, so the subtotal reads as belonging to
   the group without competing with it. The first declaration is the fallback for
   engines without color-mix; the row is bold either way, so the tint is never the
   only thing marking it. */
.fx-group-total td[b-egnjh6x5ro] {
    background: var(--card-bg);
    background: color-mix(in srgb, var(--surface-variant) 45%, transparent);
}

@media (max-width: 767.98px) {
    .fx-grid[b-egnjh6x5ro] {
        max-height: none;
    }

    /* Sticky rows inside a page-level scroll just cover content on small screens. */
    .fx-grid thead[b-egnjh6x5ro],
    .fx-grid tfoot[b-egnjh6x5ro] {
        position: static;
    }
}
/* /Components/Pages/Reports/FutureInterestReport.razor.rz.scp.css */
/*
    Future Interest report — scoped styling.

    Colours come from the app theme tokens (--surface-variant, --on-surface, --primary…)
    rather than Bootstrap's --bs-* variables: .dark-theme sits on #wrapper, so Bootstrap
    colours derived at :root keep their light value inside a dark page.
*/

/* ── Interest-type segmented control ─────────────────────────────────────── */

.fi-type-group[b-l7edlrxx5u] {
    background: var(--surface-variant);
    max-width: 100%;
}

.fi-type-btn[b-l7edlrxx5u] {
    border: 1px solid transparent;
    background: transparent;
    color: var(--on-surface-variant);
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    /* Comfortably past the 44px touch target once padding and line-height are counted. */
    min-height: 40px;
    padding: 0 0.85rem;
    border-radius: 0.5rem;
    transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.fi-type-btn:hover[b-l7edlrxx5u] {
    background: var(--card-bg);
    color: var(--on-surface);
}

.fi-type-btn.active[b-l7edlrxx5u] {
    background: var(--card-bg);
    color: var(--primary);
    border-color: var(--outline-variant);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.fi-type-btn:focus-visible[b-l7edlrxx5u] {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .fi-type-btn[b-l7edlrxx5u] {
        transition: none;
    }
}

/* ── Summary tiles ───────────────────────────────────────────────────────── */

.fi-stat p[b-l7edlrxx5u] {
    line-height: 1.35;
}

/* The headline reads first: a left rule ties it to the primary colour without
   relying on colour alone, since the label already names it. */
.fi-stat-headline[b-l7edlrxx5u] {
    border-left: 3px solid var(--primary) !important;
}

/* ── Grid ────────────────────────────────────────────────────────────────── */

.fi-grid[b-l7edlrxx5u] {
    max-height: calc(100vh - 480px);
    min-height: 240px;
    overflow: auto;
}

/* Stick the whole thead rather than each th, so a multi-level header stays aligned. */
.fi-grid thead[b-l7edlrxx5u] {
    position: sticky;
    top: 0;
    z-index: 2;
}

.fi-grid thead th[b-l7edlrxx5u] {
    background: var(--surface-variant);
    color: var(--on-surface);
}

/* Totals stay in view while the page rows scroll — on a money report the footing is
   the point, and scrolling to find it defeats paging. */
.fi-grid tfoot[b-l7edlrxx5u] {
    position: sticky;
    bottom: 0;
    z-index: 2;
}

.fi-grid tfoot td[b-l7edlrxx5u] {
    background: var(--card-bg);
}

.fi-grid tfoot tr.fi-foot-rule td[b-l7edlrxx5u] {
    border-top: 2px solid var(--outline-variant);
}

@media (max-width: 767.98px) {
    .fi-grid[b-l7edlrxx5u] {
        max-height: none;
    }

    /* Sticky rows inside a page-level scroll just cover content on small screens. */
    .fi-grid thead[b-l7edlrxx5u],
    .fi-grid tfoot[b-l7edlrxx5u] {
        position: static;
    }
}
/* /Components/Pages/Reports/LoanAgeingReport.razor.rz.scp.css */
/*
    Loan Ageing Report — scoped styling.

    Shares the report-grid look of the fixed-asset registers and Provision and Loan. Colours
    come from the app theme tokens rather than Bootstrap's --bs-* variables: .dark-theme sits
    on #wrapper, so Bootstrap colours derived at :root keep their light value inside a dark
    page.
*/

/* ── Parameter checklists ────────────────────────────────────────────────── */

/* The loan-head and column lists both run long enough to push the Generate button off
   screen, so each scrolls in its own box and the panel keeps a predictable height. */
.la-checklist[b-kgxub19a6q] {
    max-height: 210px;
    overflow-y: auto;
    background: var(--card-bg);
    border-color: var(--outline-variant) !important;
}

.la-checklist .form-check[b-kgxub19a6q] {
    margin-bottom: 0.15rem;
}

/* ── Summary tiles ───────────────────────────────────────────────────────── */

.fx-stat p[b-kgxub19a6q] {
    line-height: 1.35;
}

.fx-stat-headline[b-kgxub19a6q] {
    border-left: 3px solid var(--primary) !important;
}

/* ── Grid ────────────────────────────────────────────────────────────────── */

.fx-grid[b-kgxub19a6q] {
    max-height: calc(100vh - 460px);
    min-height: 260px;
    overflow: auto;
}

.fx-grid thead[b-kgxub19a6q] {
    position: sticky;
    top: 0;
    z-index: 3;
}

.fx-grid thead th[b-kgxub19a6q] {
    background: var(--surface-variant);
    color: var(--on-surface);
    font-weight: 700;
}

/* The totals and the provision-rate line below them are the point of the report. */
.fx-grid tfoot[b-kgxub19a6q] {
    position: sticky;
    bottom: 0;
    z-index: 3;
}

.fx-grid tfoot td[b-kgxub19a6q] {
    background: var(--card-bg);
    border-top: 2px solid var(--outline-variant);
}

/* ── Money cells ─────────────────────────────────────────────────────────── */

.fx-num[b-kgxub19a6q] {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

@media (max-width: 767.98px) {
    .fx-grid[b-kgxub19a6q] {
        max-height: none;
    }

    .fx-grid thead[b-kgxub19a6q],
    .fx-grid tfoot[b-kgxub19a6q] {
        position: static;
    }
}
/* /Components/Pages/Reports/LoanAnalysisReport.razor.rz.scp.css */
/*
    Loan analysis charts — scoped styling.

    The chart palette lives here as custom properties on .an-canvas. The SVG inside is built
    through the render tree, so scoped CSS never stamps those elements; custom properties, in
    contrast, inherit straight down the DOM, which is why the drawing reads its colours as
    var(--an-*) presentation attributes rather than through classes.

    Hues are mid-tone on purpose so a bar keeps enough contrast against both the light and the
    dark page background, and the legend and the table beneath name every series in words —
    colour is never the only thing carrying the meaning.
*/

.an-canvas[b-6kyavfxtj4] {
    --an-1: #3b7ddd; /* loan exposure / total loan */
    --an-2: #2ea56a; /* deposit */
    --an-3: #12a2b8; /* share */
    --an-4: #d94a4a; /* provision */
    --an-5: #d99012; /* assets */
    --an-muted: var(--outline-variant);
    --an-grid: var(--outline-variant);
    --an-axis: var(--on-surface-variant);
    --an-value: var(--on-surface);
}

/* ── Scope chip ──────────────────────────────────────────────────────────── */

.an-chip[b-6kyavfxtj4] {
    background: var(--surface-variant);
    color: var(--on-surface-variant);
    border: 1px solid var(--outline-variant);
    font-weight: 600;
    padding: 0.35rem 0.6rem;
}

/* ── Figures table ───────────────────────────────────────────────────────── */

.an-head th[b-6kyavfxtj4] {
    background: var(--surface-variant);
    color: var(--on-surface);
    font-weight: 700;
}

/* Tabular figures so digits line up down a column. */
.an-num[b-6kyavfxtj4] {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

table tfoot td[b-6kyavfxtj4] {
    border-top: 2px solid var(--outline-variant);
}
/* /Components/Pages/Reports/ProvisionAndLoanReport.razor.rz.scp.css */
/*
    Provision and Loan — scoped styling for the eleven variants.

    Mirrors the fixed-asset registers so the two families of report read the same. Colours
    come from the app theme tokens (--surface-variant, --on-surface, --primary…) rather than
    Bootstrap's --bs-* variables: .dark-theme sits on #wrapper, so Bootstrap colours derived
    at :root keep their light value inside a dark page.
*/

/* ── Scope chips ─────────────────────────────────────────────────────────── */

.fx-chip[b-sy3df4ug56] {
    background: var(--surface-variant);
    color: var(--on-surface-variant);
    border: 1px solid var(--outline-variant);
    font-weight: 600;
    padding: 0.35rem 0.6rem;
}

/* ── Summary tiles ───────────────────────────────────────────────────────── */

.fx-stat p[b-sy3df4ug56] {
    line-height: 1.35;
}

/* The headline reads first: a left rule ties it to the primary colour. The label already
   names it, so colour is never the only carrier of meaning. */
.fx-stat-headline[b-sy3df4ug56] {
    border-left: 3px solid var(--primary) !important;
}

/* ── Grid ────────────────────────────────────────────────────────────────── */

/* Twenty-two columns on the provision layouts, so the grid scrolls in both directions
   inside its own box rather than pushing the page sideways. */
.fx-grid[b-sy3df4ug56] {
    max-height: calc(100vh - 420px);
    min-height: 260px;
    overflow: auto;
}

.fx-grid thead[b-sy3df4ug56] {
    position: sticky;
    top: 0;
    z-index: 3;
}

.fx-grid thead th[b-sy3df4ug56] {
    background: var(--surface-variant);
    color: var(--on-surface);
    font-weight: 700;
}

/* The footings are the point of the report — keep them in view while scrolling. */
.fx-grid tfoot[b-sy3df4ug56] {
    position: sticky;
    bottom: 0;
    z-index: 3;
}

.fx-grid tfoot td[b-sy3df4ug56] {
    background: var(--card-bg);
    border-top: 2px solid var(--outline-variant);
}

/* ── Money cells ─────────────────────────────────────────────────────────── */

/* Tabular figures so digits line up down a column — standard practice for financial tables. */
.fx-num[b-sy3df4ug56] {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

/* ── Groups ──────────────────────────────────────────────────────────────── */

.fx-group-row td[b-sy3df4ug56] {
    background: var(--surface-variant);
    padding: 0 !important;
}

.fx-group-toggle[b-sy3df4ug56] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    /* Comfortably past the 44px touch target: the whole band is the hit area. */
    min-height: 44px;
    padding: 0.25rem 0.75rem;
    border: 0;
    background: transparent;
    color: var(--on-surface);
    font-size: 12px;
    text-align: left;
}

.fx-group-toggle:hover[b-sy3df4ug56] {
    background: var(--outline-variant);
}

.fx-group-toggle:focus-visible[b-sy3df4ug56] {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
}

/* Rotation carries the open/closed state alongside the aria-expanded the button exposes. */
.fx-caret[b-sy3df4ug56] {
    transition: transform 140ms ease;
}

.fx-caret.collapsed[b-sy3df4ug56] {
    transform: rotate(-90deg);
}

@media (prefers-reduced-motion: reduce) {
    .fx-caret[b-sy3df4ug56] {
        transition: none;
    }
}

.fx-count-badge[b-sy3df4ug56] {
    background: var(--card-bg);
    color: var(--on-surface-variant);
    border: 1px solid var(--outline-variant);
    font-weight: 600;
}

/* A lighter tint than the group heading band, so the subtotal reads as belonging to the
   group without competing with it. The first declaration is the fallback for engines
   without color-mix; the row is bold either way, so the tint is never the only marker. */
.fx-group-total td[b-sy3df4ug56] {
    background: var(--card-bg);
    background: color-mix(in srgb, var(--surface-variant) 45%, transparent);
}

@media (max-width: 767.98px) {
    .fx-grid[b-sy3df4ug56] {
        max-height: none;
    }

    /* Sticky rows inside a page-level scroll just cover content on small screens. */
    .fx-grid thead[b-sy3df4ug56],
    .fx-grid tfoot[b-sy3df4ug56] {
        position: static;
    }
}
/* /Components/Pages/Settings/GLedgerManage.razor.rz.scp.css */
.category-card[b-7wqknblr24] {
    cursor: pointer;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    padding: 12px 16px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.category-card:hover[b-7wqknblr24] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.category-card.active[b-7wqknblr24] {
    border-color: var(--bs-primary, #4f46e5);
    background: linear-gradient(to bottom right, #ffffff, #f8fafc);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.12);
}

.category-card.active[b-7wqknblr24]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--bs-primary, #4f46e5);
}

.category-card-icon[b-7wqknblr24] {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-backdrop-blur[b-7wqknblr24] {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1055;
}

.tree-panel[b-7wqknblr24] {
    min-height: 420px;
    background: #ffffff;
}

.modal-dialog-custom[b-7wqknblr24] {
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-dialog-custom .card-body[b-7wqknblr24] {
    overflow-y: auto;
}

.search-input-group[b-7wqknblr24] {
    position: relative;
    max-width: 320px;
}

.search-input-group .clear-btn[b-7wqknblr24] {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.search-input-group .clear-btn:hover[b-7wqknblr24] {
    color: #475569;
}
/* /Components/Shared/AssistantPanel.razor.rz.scp.css */
/* The panel lives inside #wrapper, so the .dark-theme variable overrides in
   app.css apply to it. Colours come from the app's own tokens rather than
   Bootstrap's --bs-* values, which keep their light-mode value under
   .dark-theme because they are defined at :root. */

.assistant-fab[b-fcxfd4udd1] {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    background: var(--primary, #00327d);
    color: var(--on-primary, #ffffff);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    z-index: 1040;
}

.assistant-fab:hover[b-fcxfd4udd1] {
    filter: brightness(1.1);
}

.assistant-fab:focus-visible[b-fcxfd4udd1] {
    outline: 2px solid var(--primary, #00327d);
    outline-offset: 3px;
}

.assistant-panel[b-fcxfd4udd1] {
    position: fixed;
    right: 24px;
    bottom: 88px;
    width: 360px;
    max-height: 62vh;
    display: flex;
    flex-direction: column;
    background: var(--card-bg, #ffffff);
    color: var(--on-surface, #141b2b);
    border: 1px solid var(--outline-variant, #c3c6d5);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    z-index: 1041;
}

.assistant-header[b-fcxfd4udd1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 14px;
    background: var(--surface-container-low, #f1f3ff);
    border-bottom: 1px solid var(--outline-variant, #c3c6d5);
}

.assistant-header-text[b-fcxfd4udd1] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.assistant-header-actions[b-fcxfd4udd1] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}

/* Overlays the conversation rather than pushing it down. Rendered inline it
   was squeezed between the header and the messages and barely readable. */
.assistant-history[b-fcxfd4udd1] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background: var(--card-bg, #fff);
}

.assistant-history-title[b-fcxfd4udd1] {
    position: sticky;
    top: 0;
    padding: 10px 14px 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--on-surface-variant, #434653);
    background: var(--card-bg, #fff);
    border-bottom: 1px solid var(--outline-variant, #c3c6d5);
}

.assistant-history-empty[b-fcxfd4udd1] {
    padding: 10px 14px;
    font-size: 12px;
    color: var(--on-surface-variant, #434653);
}

.assistant-history-item[b-fcxfd4udd1] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    text-align: left;
    padding: 8px 14px;
    border: none;
    border-bottom: 1px solid var(--outline-variant, #c3c6d5);
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.assistant-history-item:hover[b-fcxfd4udd1] {
    background: var(--surface-variant, #dce2f7);
}

.assistant-history-current[b-fcxfd4udd1] {
    background: var(--surface-variant, #dce2f7);
}

.assistant-history-preview[b-fcxfd4udd1] {
    font-size: 12px;
    line-height: 1.3;
}

.assistant-history-when[b-fcxfd4udd1] {
    font-size: 10px;
    color: var(--on-surface-variant, #434653);
}

.assistant-new[b-fcxfd4udd1] {
    flex: 0 0 auto;
    font-size: 11px;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid var(--outline-variant, #c3c6d5);
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.assistant-new:hover:not(:disabled)[b-fcxfd4udd1] {
    background: var(--surface-variant, #dce2f7);
}

.assistant-new:disabled[b-fcxfd4udd1] {
    opacity: 0.45;
    cursor: default;
}

.assistant-title[b-fcxfd4udd1] {
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.02em;
}

.assistant-subtitle[b-fcxfd4udd1] {
    font-size: 11px;
    color: var(--on-surface-variant, #434653);
}

/* Positioning context for the history overlay. */
.assistant-body-wrap[b-fcxfd4udd1] {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
}

.assistant-body[b-fcxfd4udd1] {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 12px 14px;
}

.assistant-empty[b-fcxfd4udd1] {
    font-size: 12px;
    color: var(--on-surface-variant, #434653);
}

.assistant-examples[b-fcxfd4udd1] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
}

.assistant-example[b-fcxfd4udd1] {
    text-align: left;
    font-size: 12px;
    padding: 6px 9px;
    border-radius: 8px;
    border: 1px solid var(--outline-variant, #c3c6d5);
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.assistant-example:hover[b-fcxfd4udd1] {
    background: var(--surface-variant, #dce2f7);
}

.assistant-turn[b-fcxfd4udd1] {
    margin-bottom: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.45;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.assistant-user[b-fcxfd4udd1] {
    background: var(--surface-variant, #dce2f7);
}

.assistant-assistant[b-fcxfd4udd1] {
    background: var(--surface-container-low, #f1f3ff);
    border: 1px solid var(--outline-variant, #c3c6d5);
}

.assistant-busy[b-fcxfd4udd1] {
    opacity: 0.7;
    font-style: italic;
}

.assistant-cited[b-fcxfd4udd1] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.assistant-cited-label[b-fcxfd4udd1] {
    font-size: 11px;
    color: var(--on-surface-variant, #434653);
}

.assistant-route[b-fcxfd4udd1] {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid var(--outline-variant, #c3c6d5);
    text-decoration: none;
    color: var(--primary, #00327d);
}

.assistant-route:hover[b-fcxfd4udd1] {
    background: var(--surface-variant, #dce2f7);
}

.assistant-input[b-fcxfd4udd1] {
    display: flex;
    gap: 8px;
    padding: 10px 14px;
    border-top: 1px solid var(--outline-variant, #c3c6d5);
    background: var(--card-bg, #ffffff);
}

.assistant-input .form-control[b-fcxfd4udd1] {
    background: var(--surface-container-lowest, #ffffff);
    color: var(--on-surface, #141b2b);
    border-color: var(--outline-variant, #c3c6d5);
}

@media (max-width: 576px) {
    .assistant-panel[b-fcxfd4udd1] {
        right: 12px;
        left: 12px;
        width: auto;
        max-height: 70vh;
    }
}
/* /Components/Shared/InfoTip.razor.rz.scp.css */
.info-tip[b-kfv5t0sz88] {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
    cursor: help;
    outline: none;
    vertical-align: middle;
}

.info-tip-icon[b-kfv5t0sz88] {
    font-size: 15px;
    line-height: 1;
    color: #8a94a6;
}

.info-tip:hover .info-tip-icon[b-kfv5t0sz88],
.info-tip:focus .info-tip-icon[b-kfv5t0sz88] {
    color: #0d6efd;
}

.info-tip-bubble[b-kfv5t0sz88] {
    position: absolute;
    z-index: 1050;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    width: max-content;
    max-width: 260px;
    background: #212529;
    color: #fff;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.4;
    padding: 8px 10px;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.info-tip-bubble[b-kfv5t0sz88]::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #212529;
}

.info-tip:hover .info-tip-bubble[b-kfv5t0sz88],
.info-tip:focus .info-tip-bubble[b-kfv5t0sz88],
.info-tip:focus-within .info-tip-bubble[b-kfv5t0sz88] {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
/* /Components/Shared/MemberAccountsPanel.razor.rz.scp.css */
tr.cursor-pointer[b-yt0twbe40r] {
    cursor: pointer;
}

thead th[b-yt0twbe40r] {
    background-color: #f8f9fa !important;
    border-bottom: 2px solid var(--primary) !important;
    white-space: nowrap;
}

.dark-theme thead th[b-yt0twbe40r] {
    background-color: var(--surface-variant) !important;
}
