@import '_content/FinacctERP.Web.Shared/FinacctERP.Web.Shared.wd3030sf15.bundle.scp.css';

/* /Layout/MainLayout.razor.rz.scp.css */
/* Styling for this component was consolidated into wwwroot/css/app.css (Ledger Precision theme). */
/* /Layout/NavMenu.razor.rz.scp.css */
/* NavMenu styling is consolidated into wwwroot/css/app.css (Finacct Plus
   detached-shell port); this file is intentionally empty so the scoped
   bundle cannot out-rank the shared theme rules. */
/* /Pages/Finance/CashBank.razor.rz.scp.css */
.cbk[b-tc1yr0uo0b] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cbk-head[b-tc1yr0uo0b] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.cbk-head h1[b-tc1yr0uo0b] {
    font-size: 20px;
    margin: 0;
}

.cbk-sub[b-tc1yr0uo0b] {
    margin: 3px 0 0;
    font-size: 12.5px;
    color: var(--muted);
    max-width: 640px;
}

.cbk-cards[b-tc1yr0uo0b] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 12px;
}

.cbk-card[b-tc1yr0uo0b] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 16px;
}

.cbk-card:hover[b-tc1yr0uo0b] {
    border-color: var(--line-strong);
}

.cbk-card-on[b-tc1yr0uo0b] {
    border-color: var(--accent);
    box-shadow: var(--ring);
}

.cbk-card-name[b-tc1yr0uo0b] {
    font-weight: 700;
    font-size: 13.5px;
}

.cbk-card-code[b-tc1yr0uo0b] {
    font-size: 11px;
    color: var(--muted);
}

.cbk-card-balance[b-tc1yr0uo0b] {
    font-size: 19px;
    font-weight: 700;
    margin-top: 3px;
}

.cbk-card-unmatched[b-tc1yr0uo0b] {
    font-size: 11px;
    color: var(--muted);
}

.cbk-card-unmatched.warn[b-tc1yr0uo0b] {
    color: var(--warning, #b7791f);
    font-weight: 700;
}

.cbk-recstrip[b-tc1yr0uo0b] {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 16px;
}

.cbk-recstrip strong[b-tc1yr0uo0b] {
    color: var(--ink);
    margin-left: 4px;
}
/* /Pages/Finance/ChartOfAccounts.razor.rz.scp.css */
/* ============================================================
   Finacct Precision Grid - Chart of Accounts & Group Hierarchy
   Clinical, high-density enterprise accounting layout
   ============================================================ */

.coa-container[b-pturds3sgp] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: var(--font-sans, 'Inter', 'Open Sans', system-ui, sans-serif);
    color: var(--ink);
    padding-bottom: 32px;
}

/* ------------------------------------------------------------
   BREADCRUMB & HEADER BAR
   ------------------------------------------------------------ */
.coa-header[b-pturds3sgp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 2px 0;
}

.coa-title-group[b-pturds3sgp] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.coa-breadcrumbs[b-pturds3sgp] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--muted);
    font-weight: 500;
}

.coa-breadcrumbs a[b-pturds3sgp] {
    color: var(--muted);
    text-decoration: none;
}

.coa-breadcrumbs a:hover[b-pturds3sgp] {
    color: var(--accent);
}

.coa-breadcrumbs .crumb-sep[b-pturds3sgp] {
    color: var(--line-strong);
    font-size: 12px;
}

.coa-breadcrumbs .active-crumb[b-pturds3sgp] {
    color: var(--ink);
    font-weight: 600;
}

.coa-title[b-pturds3sgp] {
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.coa-title .material-symbols-outlined[b-pturds3sgp] {
    font-size: 22px;
    color: var(--accent);
}

.coa-meta-badge[b-pturds3sgp] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--ok);
    background: var(--ok-soft);
    border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.coa-actions[b-pturds3sgp] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-coa-primary[b-pturds3sgp] {
    height: 34px;
    border-radius: 6px;
    border: none;
    background: var(--accent);
    color: var(--surface);
    font-size: 12px;
    font-weight: 600;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-coa-primary:hover[b-pturds3sgp] {
    background: var(--accent-hover);
}

.btn-coa-outline[b-pturds3sgp] {
    height: 34px;
    border-radius: 6px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.btn-coa-outline:hover[b-pturds3sgp] {
    background: var(--raised);
    border-color: var(--faint);
}

/* ------------------------------------------------------------
   SUMMARY KPI BENTO GRID (4 CARDS)
   ------------------------------------------------------------ */
.coa-kpi-grid[b-pturds3sgp] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

@media (max-width: 1080px) {
    .coa-kpi-grid[b-pturds3sgp] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .coa-kpi-grid[b-pturds3sgp] {
        grid-template-columns: 1fr;
    }
}

.coa-kpi-card[b-pturds3sgp] {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 110px;
    transition: all 0.15s ease;
}

.coa-kpi-card:hover[b-pturds3sgp] {
    border-color: var(--line-strong);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.06);
}

.coa-kpi-head[b-pturds3sgp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.coa-kpi-label[b-pturds3sgp] {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: none; letter-spacing: 0.02em;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.coa-kpi-label .material-symbols-outlined[b-pturds3sgp] {
    font-size: 16px;
    color: var(--accent);
}

.coa-kpi-val[b-pturds3sgp] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 21px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    margin: 2px 0 4px;
}

.coa-kpi-sub[b-pturds3sgp] {
    font-size: 11.5px;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.kpi-chip-emerald[b-pturds3sgp] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 12px;
    font-weight: 600;
    color: var(--ok);
    background: var(--ok-soft);
    border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent);
    padding: 2px 6px;
    border-radius: 4px;
}

.kpi-chip-blue[b-pturds3sgp] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-active);
    background: var(--accent-soft);
    border: 1px solid var(--accent-soft);
    padding: 2px 6px;
    border-radius: 4px;
}

/* ------------------------------------------------------------
   SEARCH & CLASSIFICATION TAB STRIP
   ------------------------------------------------------------ */
.coa-filter-strip[b-pturds3sgp] {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-controls-row[b-pturds3sgp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.coa-omnibar[b-pturds3sgp] {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 260px;
}

.coa-omnibar-icon[b-pturds3sgp] {
    position: absolute;
    left: 10px;
    color: var(--faint);
    font-size: 17px;
    pointer-events: none;
}

.coa-omnibar-input[b-pturds3sgp] {
    height: 34px;
    width: 100%;
    border-radius: 6px;
    border: 1px solid var(--line-strong);
    background: var(--raised);
    padding: 0 40px 0 32px;
    font-size: 12.5px;
    color: var(--ink);
    outline: none;
    transition: all 0.15s ease;
}

.coa-omnibar-input:focus[b-pturds3sgp] {
    background: var(--surface);
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.btn-clear-search[b-pturds3sgp] {
    position: absolute;
    right: 8px;
    background: transparent;
    border: none;
    color: var(--faint);
    cursor: pointer;
    font-size: 14px;
}

.filter-dropdowns[b-pturds3sgp] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.select-group-filter[b-pturds3sgp] {
    height: 34px;
    border-radius: 6px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
    padding: 0 10px;
    outline: none;
}

.show-inactive-toggle[b-pturds3sgp] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    user-select: none;
}

.show-inactive-toggle input[b-pturds3sgp] {
    accent-color: var(--accent);
    width: 15px;
    height: 15px;
    cursor: pointer;
}

/* Tabs for Classifications */
.classification-tabs-bar[b-pturds3sgp] {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    padding-top: 4px;
    border-top: 1px solid var(--raised);
}

.class-tab[b-pturds3sgp] {
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid var(--line);
    background: var(--raised);
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.class-tab:hover[b-pturds3sgp] {
    background: var(--raised);
    color: var(--ink);
}

.class-tab.active[b-pturds3sgp] {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--surface);
}

.class-tab-badge[b-pturds3sgp] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 12px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.08);
}

.class-tab.active .class-tab-badge[b-pturds3sgp] {
    background: rgba(255, 255, 255, 0.25);
    color: var(--surface);
}

/* ------------------------------------------------------------
   SPLIT PANE WORKSPACE (65% TABLE / 35% TREE INSPECTOR)
   ------------------------------------------------------------ */
.coa-workspace-grid[b-pturds3sgp] {
    display: grid;
    grid-template-columns: 65fr 35fr;
    gap: 16px;
    align-items: start;
}

@media (max-width: 1080px) {
    .coa-workspace-grid[b-pturds3sgp] {
        grid-template-columns: 1fr;
    }
}

/* Master Table Pane */
.coa-table-pane[b-pturds3sgp] {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    overflow: hidden;
}

.pane-header-row[b-pturds3sgp] {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.pane-title-group[b-pturds3sgp] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pane-title-group h2[b-pturds3sgp] {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
}

.count-pill[b-pturds3sgp] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    font-weight: 600;
    background: var(--raised);
    color: var(--muted);
    border: 1px solid var(--line-strong);
    padding: 2px 7px;
    border-radius: 4px;
}

.table-responsive[b-pturds3sgp] {
    overflow-x: auto;
}

.coa-table[b-pturds3sgp] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.coa-table th[b-pturds3sgp] {
    font-size: 11px;
    font-weight: 700;
    text-transform: none; letter-spacing: 0.02em;
    letter-spacing: 0.04em;
    color: var(--muted);
    background: var(--raised);
    border-bottom: 1px solid var(--line-strong);
    padding: 8px 12px;
    white-space: nowrap;
}

.coa-table td[b-pturds3sgp] {
    font-size: 12.5px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    padding: 9px 12px;
    vertical-align: middle;
}

.coa-table tr:hover td[b-pturds3sgp] {
    background: var(--raised);
}

.coa-table tr.inactive td[b-pturds3sgp] {
    opacity: 0.6;
    background: var(--raised);
}

.code-cell[b-pturds3sgp] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-weight: 700;
    font-size: 12px;
    color: var(--ink);
    white-space: nowrap;
}

.name-cell[b-pturds3sgp] {
    font-weight: 600;
    color: var(--ink);
}

.group-tag[b-pturds3sgp] {
    font-size: 11px;
    color: var(--muted);
    font-weight: 500;
}

.class-badge[b-pturds3sgp] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 12px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: none; letter-spacing: 0.02em;
    display: inline-block;
}

.class-asset[b-pturds3sgp] {
    background: var(--accent-soft);
    color: var(--accent-active);
    border: 1px solid var(--accent-soft);
}

.class-liability[b-pturds3sgp] {
    background: var(--warn-soft);
    color: var(--warn);
    border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent);
}

.class-equity[b-pturds3sgp] {
    background: var(--accent-soft);
    color: var(--accent-active);
    border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}

.class-income[b-pturds3sgp] {
    background: var(--ok-soft);
    color: var(--ok);
    border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent);
}

.class-expense[b-pturds3sgp] {
    background: var(--danger-soft);
    color: var(--danger);
    border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent);
}

.balance-cell[b-pturds3sgp] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 12.5px;
    font-weight: 700;
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.drcr-tag[b-pturds3sgp] {
    font-size: 12px;
    font-weight: 700;
    margin-left: 4px;
    color: var(--muted);
}

.status-pill-active[b-pturds3sgp] {
    font-size: 12px;
    font-weight: 600;
    color: var(--ok);
    background: var(--ok-soft);
    border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent);
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.status-pill-inactive[b-pturds3sgp] {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    background: var(--raised);
    border: 1px solid var(--line-strong);
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.btn-toggle-status[b-pturds3sgp] {
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-toggle-status:hover[b-pturds3sgp] {
    background: var(--raised);
    color: var(--ink);
}

.pane-footer-pagination[b-pturds3sgp] {
    padding: 10px 16px;
    background: var(--raised);
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: var(--muted);
}

/* ------------------------------------------------------------
   RIGHT PANE: ACCOUNT GROUPS HIERARCHY TREE & INSPECTOR
   ------------------------------------------------------------ */
.coa-tree-pane[b-pturds3sgp] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tree-card[b-pturds3sgp] {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tree-card-header[b-pturds3sgp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--raised);
    padding-bottom: 10px;
}

.tree-title[b-pturds3sgp] {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.btn-add-subgroup[b-pturds3sgp] {
    background: var(--raised);
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-add-subgroup:hover[b-pturds3sgp] {
    background: var(--line);
}

/* Group Tree Nodes */
.tree-nodes-list[b-pturds3sgp] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 4px;
}

.tree-node-item[b-pturds3sgp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.15s ease;
    border: 1px solid transparent;
}

.tree-node-item:hover[b-pturds3sgp] {
    background: var(--raised);
    border-color: var(--line);
}

.tree-node-item.selected[b-pturds3sgp] {
    background: var(--accent-soft);
    border-color: var(--accent);
}

.tree-node-left[b-pturds3sgp] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.tree-node-left .material-symbols-outlined[b-pturds3sgp] {
    font-size: 16px;
    color: var(--muted);
}

.tree-node-code[b-pturds3sgp] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-weight: 700;
    color: var(--ink);
    font-size: 11.5px;
}

.tree-node-name[b-pturds3sgp] {
    font-weight: 500;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tree-node-right[b-pturds3sgp] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tree-count-badge[b-pturds3sgp] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 12px;
    background: var(--raised);
    border: 1px solid var(--line);
    padding: 1px 6px;
    border-radius: 4px;
    color: var(--muted);
}

/* Inspector Card for Selected Group */
.inspector-card[b-pturds3sgp] {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.inspector-header[b-pturds3sgp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--raised);
    padding-bottom: 10px;
}

.inspector-tag-row[b-pturds3sgp] {
    font-size: 12px;
    font-weight: 700;
    text-transform: none; letter-spacing: 0.02em;
    color: var(--muted);
    letter-spacing: 0.05em;
}

.inspector-title[b-pturds3sgp] {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    margin: 2px 0 0;
}

.inspector-stats-grid[b-pturds3sgp] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    background: var(--raised);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 10px 12px;
}

.stat-metric[b-pturds3sgp] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-metric-lbl[b-pturds3sgp] {
    font-size: 12px;
    font-weight: 700;
    text-transform: none; letter-spacing: 0.02em;
    color: var(--muted);
}

.stat-metric-val[b-pturds3sgp] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}

.audit-note-box[b-pturds3sgp] {
    background: var(--accent-soft);
    border: 1px solid var(--accent-soft);
    border-radius: 6px;
    padding: 10px;
    font-size: 11.5px;
    color: var(--accent-active);
    line-height: 1.45;
}

.inspector-actions-row[b-pturds3sgp] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

/* ------------------------------------------------------------
   MODALS / DRAWERS FOR CREATION
   ------------------------------------------------------------ */
.coa-modal-backdrop[b-pturds3sgp] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(2px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.coa-modal-card[b-pturds3sgp] {
    background: var(--surface);
    border-radius: 10px;
    box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.2);
    border: 1px solid var(--line-strong);
    width: 100%;
    max-width: 520px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: modal-pop-b-pturds3sgp 0.2s ease-out;
}

@keyframes modal-pop-b-pturds3sgp {
    from {
        opacity: 0;
        transform: scale(0.97);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.coa-modal-header[b-pturds3sgp] {
    padding: 14px 18px;
    background: var(--raised);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.coa-modal-header h3[b-pturds3sgp] {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
}

.btn-close-modal[b-pturds3sgp] {
    background: transparent;
    border: none;
    font-size: 18px;
    color: var(--muted);
    cursor: pointer;
}

.coa-modal-body[b-pturds3sgp] {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.coa-modal-footer[b-pturds3sgp] {
    padding: 12px 18px;
    background: var(--raised);
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.form-group-item[b-pturds3sgp] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group-item label[b-pturds3sgp] {
    font-size: 11px;
    font-weight: 700;
    text-transform: none; letter-spacing: 0.02em;
    color: var(--muted);
}

.form-group-item input[b-pturds3sgp],
.form-group-item select[b-pturds3sgp] {
    height: 36px;
    border-radius: 6px;
    border: 1px solid var(--line-strong);
    padding: 0 10px;
    font-size: 13px;
    color: var(--ink);
    outline: none;
}

.form-group-item input:focus[b-pturds3sgp],
.form-group-item select:focus[b-pturds3sgp] {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}
/* /Pages/Finance/Customers.razor.rz.scp.css */
/* Finance > Customers: fixed-height grid, per-column search, server-side paging. */

.fcust[b-mxmzm7ihde] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ---------- header ---------- */
.fcust-head[b-mxmzm7ihde] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}

.fcust-head h1[b-mxmzm7ihde] {
    font-size: 20px;
    margin: 0;
}

.fcust-sub[b-mxmzm7ihde] {
    margin: 3px 0 0;
    font-size: 12.5px;
    color: var(--muted);
}

.fcust-actions[b-mxmzm7ihde] {
    margin-left: auto;
    display: flex;
    gap: 8px;
    align-self: center;
}

.fcust-actions .material-symbols-outlined[b-mxmzm7ihde] {
    font-size: 16px;
    vertical-align: -3px;
    margin-right: 2px;
}

/* ---------- stat tiles ---------- */
.fcust-stats[b-mxmzm7ihde] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.fcust-stat[b-mxmzm7ihde] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    box-shadow: var(--shadow-sm);
    padding: 12px 16px;
}

.fcust-stat-label[b-mxmzm7ihde] {
    font-size: 12px;
    font-weight: 700;
    text-transform: none; letter-spacing: 0.02em;
    letter-spacing: .06em;
    color: var(--faint);
}

.fcust-stat-value[b-mxmzm7ihde] {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.fcust-stat-sub[b-mxmzm7ihde] {
    font-size: 11.5px;
    color: var(--muted);
}

@media (max-width: 900px) {
    .fcust-stats[b-mxmzm7ihde] {
        grid-template-columns: 1fr;
    }
}

/* ---------- create form ---------- */
.fcust-form[b-mxmzm7ihde] {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fcust-form-head[b-mxmzm7ihde] {
    font-size: 13px;
    font-weight: 700;
}

.fcust-form-grid[b-mxmzm7ihde] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.fcust-form-grid label[b-mxmzm7ihde] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--muted);
}

.fcust-form-foot[b-mxmzm7ihde] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* ---------- table card ---------- */
.fcust-card[b-mxmzm7ihde] {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Fixed-height body: title + search rows pinned, rows scroll inside. */
.fcust-scroll[b-mxmzm7ihde] {
    --fcust-head-h: 38px;
    --fcust-search-h: 44px;
    height: clamp(420px, calc(100vh - 330px), 640px);
    overflow: auto;
    background: var(--surface);
}

.fcust-table[b-mxmzm7ihde] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 860px;
    color: var(--ink);
}

.fcust-table thead th[b-mxmzm7ihde] {
    position: sticky;
    z-index: 2;
    background: var(--raised);
}

.fcust-titlerow th[b-mxmzm7ihde] {
    top: 0;
    height: var(--fcust-head-h);
    padding: 0 12px;
    font-size: 12px;
    text-transform: none; letter-spacing: 0.02em;
    letter-spacing: .06em;
    color: var(--faint);
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
    border-bottom: 1px solid var(--line-strong);
}

.fcust-searchrow th[b-mxmzm7ihde] {
    top: var(--fcust-head-h);
    height: var(--fcust-search-h);
    padding: 6px 8px;
    background: var(--surface);
    border-bottom: 1px solid var(--line-strong);
}

.fcust-sbox[b-mxmzm7ihde] {
    position: relative;
}

.fcust-sbox .material-symbols-outlined[b-mxmzm7ihde] {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: var(--faint);
    pointer-events: none;
}

.fcust-sbox input[b-mxmzm7ihde] {
    width: 100%;
    height: 30px;
    padding: 0 8px 0 28px;
    font-size: 12.5px;
    color: var(--ink);
    background: var(--raised);
    border: 1px solid var(--line);
    border-radius: 6px;
}

.fcust-sbox input[b-mxmzm7ihde]::placeholder {
    color: var(--faint);
}

.fcust-sbox input:focus[b-mxmzm7ihde] {
    background: var(--surface);
    border-color: var(--accent);
    outline: none;
    box-shadow: var(--ring);
}

.fcust-table tbody td[b-mxmzm7ihde] {
    padding: 9px 12px;
    border-bottom: 1px solid var(--line);
    font-size: 13.5px;
    vertical-align: middle;
}

.fcust-table tbody tr:hover td[b-mxmzm7ihde] {
    background: var(--raised);
}

.fcust-table td.mono[b-mxmzm7ihde] {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    font-size: 12.5px;
}

.fcust-name[b-mxmzm7ihde] {
    font-weight: 600;
}

.fcust-dash[b-mxmzm7ihde] {
    color: var(--faint);
}

.fcust-ledger[b-mxmzm7ihde] {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted);
    background: var(--raised);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 1px 8px;
    white-space: nowrap;
}

/* ---------- empty / loading ---------- */
.fcust-state[b-mxmzm7ihde] {
    padding: 48px 20px;
    text-align: center;
    color: var(--muted);
}

.fcust-empty .material-symbols-outlined[b-mxmzm7ihde] {
    font-size: 34px;
    color: var(--faint);
}

.fcust-empty h2[b-mxmzm7ihde] {
    font-size: 15px;
    margin: 8px 0 4px;
    color: var(--ink);
}

.fcust-empty p[b-mxmzm7ihde] {
    font-size: 13px;
    margin: 0 0 14px;
}

.fcust-busy .fcust-scroll[b-mxmzm7ihde] {
    opacity: .55;
    pointer-events: none;
}

/* ---------- footer: showing + pager ---------- */
.fcust-foot[b-mxmzm7ihde] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 9px 14px;
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.fcust-showing[b-mxmzm7ihde] {
    font-size: 12.5px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.fcust-showing .num[b-mxmzm7ihde] {
    font-family: var(--font-mono);
    color: var(--ink);
    font-weight: 700;
}

.fcust-clear[b-mxmzm7ihde] {
    border: 0;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    padding: 3px 10px;
}

.fcust-clear:hover[b-mxmzm7ihde] {
    color: var(--accent-hover);
}

.fcust-pager[b-mxmzm7ihde] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.fcust-size[b-mxmzm7ihde] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: var(--muted);
}

.fcust-size select[b-mxmzm7ihde] {
    height: 28px;
    font-size: 12.5px;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: var(--surface);
    color: var(--ink);
    padding: 0 6px;
}

.fcust-pages[b-mxmzm7ihde] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.fcust-pages button[b-mxmzm7ihde] {
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: var(--surface);
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 600;
    font-family: var(--font-mono);
}

.fcust-pages button:hover:not(:disabled):not(.on)[b-mxmzm7ihde] {
    color: var(--accent);
    border-color: var(--accent);
}

.fcust-pages button.on[b-mxmzm7ihde] {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-ink);
}

.fcust-pages button:disabled[b-mxmzm7ihde] {
    opacity: .45;
    cursor: default;
}

.fcust-ellipsis[b-mxmzm7ihde] {
    color: var(--faint);
    padding: 0 2px;
    font-size: 12.5px;
}

@media (max-width: 900px) {
    .fcust-form-grid[b-mxmzm7ihde] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* /Pages/Finance/Expenses.razor.rz.scp.css */
.exp[b-fb8a76xfp3] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.exp-head[b-fb8a76xfp3] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.exp-head h1[b-fb8a76xfp3] {
    font-size: 20px;
    margin: 0;
}

.exp-sub[b-fb8a76xfp3] {
    margin: 3px 0 0;
    font-size: 12.5px;
    color: var(--muted);
    max-width: 640px;
}

.exp-kpi[b-fb8a76xfp3] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.exp-kpi-card[b-fb8a76xfp3] {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.exp-kpi-num[b-fb8a76xfp3] {
    font-size: 20px;
    font-weight: 700;
}

.exp-kpi-top[b-fb8a76xfp3] {
    font-size: 14px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kpi-lbl[b-fb8a76xfp3] {
    font-size: 12px;
    text-transform: none; letter-spacing: 0.02em;
    letter-spacing: .06em;
    color: var(--muted);
    font-weight: 700;
}
/* /Pages/Finance/Income.razor.rz.scp.css */
.inc[b-ylbxkhjulw] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.inc-head[b-ylbxkhjulw] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.inc-head h1[b-ylbxkhjulw] {
    font-size: 20px;
    margin: 0;
}

.inc-sub[b-ylbxkhjulw] {
    margin: 3px 0 0;
    font-size: 12.5px;
    color: var(--muted);
    max-width: 640px;
}

.inc-kpi[b-ylbxkhjulw] {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 12px;
}

.inc-kpi-card[b-ylbxkhjulw] {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.inc-kpi-num[b-ylbxkhjulw] {
    font-size: 20px;
    font-weight: 700;
}

.inc-kpi-sub[b-ylbxkhjulw] {
    font-size: 12px;
    color: var(--muted);
}

.kpi-lbl[b-ylbxkhjulw] {
    font-size: 12px;
    text-transform: none; letter-spacing: 0.02em;
    letter-spacing: .06em;
    color: var(--muted);
    font-weight: 700;
}
/* /Pages/Finance/PurchaseBillEditor.razor.rz.scp.css */
.pbx[b-ptat8wyc28] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pbx-crumb[b-ptat8wyc28] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
}

.pbx-crumb a[b-ptat8wyc28] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.pbx-crumb a .material-symbols-outlined[b-ptat8wyc28] {
    font-size: 16px;
}

.pbx-crumb-sep[b-ptat8wyc28] {
    color: var(--faint);
}

.pbx-head[b-ptat8wyc28] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}

.pbx-head h1[b-ptat8wyc28] {
    font-size: 20px;
    margin: 0;
}

.pbx-meta[b-ptat8wyc28] {
    margin: 4px 0 0;
    font-size: 12.5px;
    color: var(--muted);
    max-width: 62ch;
}

.pbx-actions[b-ptat8wyc28] {
    margin-left: auto;
    display: flex;
    gap: 8px;
    align-self: center;
}

.pbx-valbar[b-ptat8wyc28] {
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--danger-soft);
    color: var(--danger);
    border-radius: var(--r-in);
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 600;
}

.pbx-valbar .material-symbols-outlined[b-ptat8wyc28] {
    font-size: 18px;
}

.pbx-valbar-ok[b-ptat8wyc28] {
    background: var(--ok-soft);
    color: var(--ok);
}

.pbx-grid[b-ptat8wyc28] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 14px;
    align-items: start;
}

.pbx-main[b-ptat8wyc28] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.pbx-card-head[b-ptat8wyc28] {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
}

.pbx-card-head .material-symbols-outlined[b-ptat8wyc28] {
    font-size: 18px;
    color: var(--faint);
}

.pbx-card-head h2[b-ptat8wyc28] {
    font-size: 13px;
    text-transform: none; letter-spacing: 0.02em;
    letter-spacing: .05em;
    color: var(--muted);
    margin: 0;
}

.pbx-headchip[b-ptat8wyc28] {
    margin-left: auto;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--faint);
}

.pbx-card-body[b-ptat8wyc28] {
    padding: 16px;
}

.pbx-fields[b-ptat8wyc28] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px 14px;
}

.pbx-field[b-ptat8wyc28] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.pbx-field.pbx-span2[b-ptat8wyc28] {
    grid-column: span 2;
}

.pbx-field label[b-ptat8wyc28] {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
}

.pbx-req[b-ptat8wyc28] {
    color: var(--danger);
}

.pbx-hint[b-ptat8wyc28] {
    font-size: 11.5px;
    color: var(--muted);
}

.pbx-tablewrap[b-ptat8wyc28] {
    overflow-x: auto;
}

.pbx-table[b-ptat8wyc28] {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.pbx-table th[b-ptat8wyc28] {
    font-size: 12px;
    text-transform: none; letter-spacing: 0.02em;
    letter-spacing: .06em;
    color: var(--faint);
    font-weight: 700;
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid var(--line-strong);
    background: var(--raised);
    white-space: nowrap;
}

.pbx-table td[b-ptat8wyc28] {
    padding: 8px 10px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
    font-size: 13.5px;
}

.pbx-table tbody tr:hover[b-ptat8wyc28] {
    background: var(--raised);
}

.pbx-table tbody tr:last-child td[b-ptat8wyc28] {
    border-bottom: 0;
}

.pbx-row-issue[b-ptat8wyc28] {
    background: var(--danger-soft);
}

.pbx-col-num[b-ptat8wyc28] {
    width: 36px;
}

.pbx-col-x[b-ptat8wyc28] {
    width: 44px;
}

.pbx-num-col[b-ptat8wyc28] {
    width: 130px;
}

.pbx-rownum[b-ptat8wyc28] {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--muted);
    font-weight: 700;
}

.pbx-num[b-ptat8wyc28] {
    width: 100%;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 6px;
    padding: 5px 7px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--ink);
    text-align: right;
}

.pbx-num:hover[b-ptat8wyc28] {
    border-color: var(--line-strong);
    background: var(--surface);
}

.pbx-num:focus[b-ptat8wyc28] {
    border-color: var(--accent);
    background: var(--surface);
    box-shadow: var(--ring);
    outline: none;
}

.pbx-num-invalid[b-ptat8wyc28] {
    border-color: var(--danger);
    background: var(--danger-soft);
    color: var(--danger);
}

.pbx-uom[b-ptat8wyc28] {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    text-align: right;
}

.pbx-linetotal[b-ptat8wyc28] {
    text-align: right;
    font-family: var(--font-mono);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.pbx-rowdel .material-symbols-outlined[b-ptat8wyc28] {
    font-size: 16px;
}

.pbx-tablefoot[b-ptat8wyc28] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 16px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
}

.pbx-tfoot-actions[b-ptat8wyc28] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.btn-ghost[b-ptat8wyc28] {
    border: 0;
    background: none;
    color: var(--accent);
}

.btn-ghost:hover[b-ptat8wyc28] {
    background: var(--accent-soft);
    color: var(--accent);
}

.pbx-totals[b-ptat8wyc28] {
    margin-left: auto;
    width: 300px;
    max-width: 100%;
}

.pbx-tr[b-ptat8wyc28] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
    padding: 3.5px 0;
    color: var(--muted);
    font-weight: 600;
}

.pbx-tr .num[b-ptat8wyc28] {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--ink);
}

.pbx-sep[b-ptat8wyc28] {
    border-top: 1px solid var(--line-strong);
    margin: 7px 0;
}

.pbx-grand[b-ptat8wyc28] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: baseline;
    font-size: 13px;
    font-weight: 700;
}

.pbx-grand .num[b-ptat8wyc28] {
    font-family: var(--font-mono);
    font-size: 19px;
    color: var(--accent);
}

.pbx-totalnote[b-ptat8wyc28] {
    font-size: 11.5px;
    color: var(--muted);
    margin: 6px 0 0;
    text-align: right;
}

.pbx-rail[b-ptat8wyc28] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pbx-snap[b-ptat8wyc28] {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 12.5px;
}

.pbx-snaprow[b-ptat8wyc28] {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.pbx-snaprow span[b-ptat8wyc28] {
    color: var(--muted);
    font-weight: 600;
}

.pbx-snaprow .num[b-ptat8wyc28] {
    font-family: var(--font-mono);
}

.pbx-postinfo ul[b-ptat8wyc28] {
    margin: 0 0 8px;
    padding-left: 18px;
    font-size: 12.5px;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pbx-postinfo .pbx-muted[b-ptat8wyc28] {
    margin: 0;
}

.pbx-muted[b-ptat8wyc28] {
    font-size: 12.5px;
    color: var(--muted);
}

@media (max-width: 1180px) {
    .pbx-grid[b-ptat8wyc28] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .pbx-fields[b-ptat8wyc28] {
        grid-template-columns: 1fr;
    }

    .pbx-field.pbx-span2[b-ptat8wyc28] {
        grid-column: auto;
    }

    .pbx-actions[b-ptat8wyc28] {
        width: 100%;
    }

    .pbx-totals[b-ptat8wyc28] {
        width: 100%;
    }
}
/* /Pages/Finance/Receipts.razor.rz.scp.css */
.rcv[b-jire6ohgut] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rcv-head[b-jire6ohgut] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}

.rcv-head h1[b-jire6ohgut] {
    font-size: 20px;
    margin: 0;
}

.rcv-sub[b-jire6ohgut] {
    margin: 3px 0 0;
    font-size: 12.5px;
    color: var(--muted);
}

.rcv-actions[b-jire6ohgut] {
    margin-left: auto;
    align-self: center;
}

.rcv-panel[b-jire6ohgut] {
    border-color: var(--accent);
}

.rcv-panelhead[b-jire6ohgut] {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
}

.rcv-panelhead h2[b-jire6ohgut] {
    font-size: 14.5px;
    margin: 0;
}

.rcv-panelmeta[b-jire6ohgut] {
    font-size: 12px;
    color: var(--muted);
}

.rcv-panelbody[b-jire6ohgut] {
    padding: 16px;
}

.rcv-fields[b-jire6ohgut] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 14px;
}

.rcv-field[b-jire6ohgut] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.rcv-field.rcv-span2[b-jire6ohgut] {
    grid-column: span 2;
}

.rcv-field label[b-jire6ohgut] {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
}

.rcv-req[b-jire6ohgut] {
    color: var(--danger);
}

.rcv-hint[b-jire6ohgut] {
    font-size: 11.5px;
    color: var(--muted);
}

.rcv-hint-err[b-jire6ohgut] {
    color: var(--danger);
    font-weight: 700;
}

.rcv-panelfoot[b-jire6ohgut] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.rcv-val[b-jire6ohgut] {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
}

.rcv-val .material-symbols-outlined[b-jire6ohgut] {
    font-size: 17px;
}

.rcv-okico[b-jire6ohgut] {
    color: var(--ok);
}

.rcv-errico[b-jire6ohgut] {
    color: var(--danger);
}

.rcv-panelfoot .btn[b-jire6ohgut] {
    margin-left: auto;
}

@media (max-width: 900px) {
    .rcv-fields[b-jire6ohgut] {
        grid-template-columns: 1fr;
    }

    .rcv-field.rcv-span2[b-jire6ohgut] {
        grid-column: auto;
    }
}
/* /Pages/Finance/Reports.razor.rz.scp.css */
/* Finance > Reports — report workbench layout (prefix: rpt-).
   Tokens come from wwwroot/css/app.css ("Ledger Precision" theme). */

.rpt[b-5uer589v8m] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ---------- page head ---------- */

.rpt-head h1[b-5uer589v8m] {
    font-size: 20px;
    margin: 0;
}

.rpt-sub[b-5uer589v8m] {
    margin: 3px 0 0;
    font-size: 12.5px;
    color: var(--muted);
}

/* ---------- report tabs (underline style) ---------- */

.rpt-tabs[b-5uer589v8m] {
    display: flex;
    gap: 2px;
    border-bottom: 1px solid var(--line-strong);
    overflow-x: auto;
}

.rpt-tab[b-5uer589v8m] {
    appearance: none;
    background: transparent;
    border: 0;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    padding: .55rem .9rem;
    font: inherit;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    white-space: nowrap;
}

.rpt-tab:hover[b-5uer589v8m] {
    color: var(--ink);
}

.rpt-tab.on[b-5uer589v8m] {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* ---------- filter toolbar ---------- */

.rpt-toolbar[b-5uer589v8m] {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    padding: .8rem 1rem;
    box-shadow: var(--shadow-sm);
}

.rpt-field[b-5uer589v8m] {
    min-width: 230px;
}

.rpt-field-wide[b-5uer589v8m] {
    min-width: 290px;
    flex: 1 1 290px;
    max-width: 420px;
}

.rpt-label[b-5uer589v8m] {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 5px;
}

.rpt-run[b-5uer589v8m] {
    margin-left: auto;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.rpt-toolbar .btn[b-5uer589v8m] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rpt-toolbar .btn .material-symbols-outlined[b-5uer589v8m] {
    font-size: 16px;
}

/* ---------- report panels ---------- */

.rpt-panel[b-5uer589v8m] {
    overflow: hidden;
}

.rpt-table[b-5uer589v8m] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.rpt-table th[b-5uer589v8m] {
    font-size: 12px;
    text-transform: none; letter-spacing: 0.02em;
    letter-spacing: .06em;
    color: var(--faint);
    font-weight: 700;
    text-align: left;
    padding: 9px 12px;
    border-bottom: 1px solid var(--line-strong);
    background: var(--raised);
    white-space: nowrap;
}

.rpt-table td[b-5uer589v8m] {
    padding: 9px 12px;
    border-bottom: 1px solid var(--line);
    font-size: 13.5px;
    vertical-align: middle;
}

.rpt-table tbody tr[b-5uer589v8m] {
    transition: background-color .12s ease;
}

.rpt-table tbody tr:hover td[b-5uer589v8m] {
    background: var(--raised);
}

.rpt-table tfoot td[b-5uer589v8m] {
    border-bottom: 0;
}

.rpt-num[b-5uer589v8m] {
    text-align: right;
    white-space: nowrap;
}

.rpt-table .num[b-5uer589v8m] {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
}

.rpt-code[b-5uer589v8m] {
    color: var(--muted);
    white-space: nowrap;
}

.rpt-groupcell[b-5uer589v8m] {
    color: var(--muted);
    font-size: 12.5px;
}

.rpt-totrow td[b-5uer589v8m] {
    border-bottom: 0;
    border-top: 1px solid var(--line-strong);
    background: var(--raised);
    font-weight: 700;
    font-size: 12.5px;
    color: var(--muted);
}

.rpt-totrow .num[b-5uer589v8m] {
    color: var(--ink);
    font-size: 13.5px;
}

.rpt-panelfoot[b-5uer589v8m] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: .6rem .9rem;
    background: var(--raised);
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--muted);
}

/* ---------- ledger statement ---------- */

.rpt-lheader[b-5uer589v8m] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: .7rem .9rem;
    background: var(--raised);
    border-bottom: 1px solid var(--line);
}

.rpt-ltitle[b-5uer589v8m] {
    font-weight: 700;
    font-size: 14.5px;
}

.rpt-ltitle .num[b-5uer589v8m] {
    font-family: var(--font-mono);
}

.rpt-lchips[b-5uer589v8m] {
    margin-left: auto;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.rpt-lchip[b-5uer589v8m] {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    font-size: 11px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 2px 9px;
    color: var(--muted);
    white-space: nowrap;
}

.rpt-opening td[b-5uer589v8m] {
    background: var(--raised);
    border-top: 1px solid var(--line-strong);
}

.rpt-voucherno[b-5uer589v8m] {
    font-weight: 700;
    white-space: nowrap;
}

.rpt-adsub[b-5uer589v8m] {
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}

.rpt-narr[b-5uer589v8m] {
    color: var(--muted);
    max-width: 340px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rpt-balance[b-5uer589v8m] {
    font-weight: 700;
}

/* ---------- profit & loss ---------- */

.rpt-twocol[b-5uer589v8m] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 991.98px) {
    .rpt-twocol[b-5uer589v8m] {
        grid-template-columns: 1fr;
    }
}

.rpt-plhead[b-5uer589v8m] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: .6rem .9rem;
    font-weight: 700;
    font-size: 13.5px;
    border-bottom: 1px solid var(--line);
}

.rpt-plhead .material-symbols-outlined[b-5uer589v8m] {
    font-size: 19px;
}

.rpt-plhead-income[b-5uer589v8m] {
    background: var(--ok-soft);
    color: var(--ok);
}

.rpt-plhead-expense[b-5uer589v8m] {
    background: var(--danger-soft);
    color: var(--danger);
}

.rpt-plfoot[b-5uer589v8m] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .6rem .9rem;
    background: var(--raised);
    border-top: 1px solid var(--line-strong);
    font-weight: 700;
    font-size: 12.5px;
    color: var(--muted);
}

.rpt-plfoot .num[b-5uer589v8m] {
    color: var(--ink);
    font-size: 13.5px;
}

.rpt-netbanner[b-5uer589v8m] {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: .85rem 1.1rem;
    border-radius: var(--r-card);
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
}

.rpt-netbanner.pos[b-5uer589v8m] {
    background: var(--ok-soft);
    color: var(--ok);
}

.rpt-netbanner.neg[b-5uer589v8m] {
    background: var(--danger-soft);
    color: var(--danger);
}

/* Cash-flow KPI strip (opening / net / closing). */
.rpt-cfkpi[b-5uer589v8m] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

.rpt-cfcard[b-5uer589v8m] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px;
}

.rpt-cfcard .num[b-5uer589v8m] {
    font-size: 18px;
    font-weight: 700;
}

.rpt-cfcard.pos .num[b-5uer589v8m] {
    color: var(--ok);
}

.rpt-cfcard.neg .num[b-5uer589v8m] {
    color: var(--danger);
}

.rpt-cflbl[b-5uer589v8m] {
    font-size: 12px;
    text-transform: none; letter-spacing: 0.02em;
    letter-spacing: .06em;
    color: var(--muted);
    font-weight: 700;
}

/* Day book day header. */
.rpt-dayhead[b-5uer589v8m] {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 10px 14px 6px;
    border-bottom: 1px solid var(--line);
    font-size: 12.5px;
    color: var(--muted);
}

.rpt-daydate[b-5uer589v8m] {
    font-weight: 700;
    color: var(--ink);
}

.rpt-daybs[b-5uer589v8m] {
    font-family: var(--font-mono);
    font-size: 11.5px;
}

.rpt-netlabel[b-5uer589v8m] {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .13em;
    text-transform: none; letter-spacing: 0.02em;
}

.rpt-netval[b-5uer589v8m] {
    font-size: 1.5rem;
    font-weight: 700;
}

.rpt-netnote[b-5uer589v8m] {
    margin-left: auto;
    font-size: 12px;
    color: var(--muted);
}

/* ---------- balance sheet ---------- */

.rpt-bsright[b-5uer589v8m] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rpt-bshead[b-5uer589v8m] {
    padding: .6rem .9rem;
    background: var(--raised);
    border-bottom: 1px solid var(--line);
    font-weight: 700;
    font-size: 13.5px;
}

.rpt-bsnet td[b-5uer589v8m] {
    background: var(--ok-soft);
    color: var(--ok);
    font-weight: 600;
}

.rpt-bsstrip[b-5uer589v8m] {
    display: flex;
    justify-content: flex-end;
}
/* /Pages/Finance/SalesInvoiceEditor.razor.rz.scp.css */
.pbx[b-xj11qsrysy] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pbx-crumb[b-xj11qsrysy] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
}

.pbx-crumb a[b-xj11qsrysy] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.pbx-crumb a .material-symbols-outlined[b-xj11qsrysy] {
    font-size: 16px;
}

.pbx-crumb-sep[b-xj11qsrysy] {
    color: var(--faint);
}

.pbx-head[b-xj11qsrysy] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}

.pbx-head h1[b-xj11qsrysy] {
    font-size: 20px;
    margin: 0;
}

.pbx-meta[b-xj11qsrysy] {
    margin: 4px 0 0;
    font-size: 12.5px;
    color: var(--muted);
    max-width: 62ch;
}

.pbx-actions[b-xj11qsrysy] {
    margin-left: auto;
    display: flex;
    gap: 8px;
    align-self: center;
}

.pbx-valbar[b-xj11qsrysy] {
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--danger-soft);
    color: var(--danger);
    border-radius: var(--r-in);
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 600;
}

.pbx-valbar .material-symbols-outlined[b-xj11qsrysy] {
    font-size: 18px;
}

.pbx-valbar-ok[b-xj11qsrysy] {
    background: var(--ok-soft);
    color: var(--ok);
}

.pbx-grid[b-xj11qsrysy] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 14px;
    align-items: start;
}

.pbx-main[b-xj11qsrysy] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.pbx-card-head[b-xj11qsrysy] {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
}

.pbx-card-head .material-symbols-outlined[b-xj11qsrysy] {
    font-size: 18px;
    color: var(--faint);
}

.pbx-card-head h2[b-xj11qsrysy] {
    font-size: 13px;
    text-transform: none; letter-spacing: 0.02em;
    letter-spacing: .05em;
    color: var(--muted);
    margin: 0;
}

.pbx-headchip[b-xj11qsrysy] {
    margin-left: auto;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--faint);
}

.pbx-card-body[b-xj11qsrysy] {
    padding: 16px;
}

.pbx-fields[b-xj11qsrysy] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px 14px;
}

.pbx-field[b-xj11qsrysy] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.pbx-field.pbx-span2[b-xj11qsrysy] {
    grid-column: span 2;
}

.pbx-field label[b-xj11qsrysy] {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
}

.pbx-req[b-xj11qsrysy] {
    color: var(--danger);
}

.pbx-hint[b-xj11qsrysy] {
    font-size: 11.5px;
    color: var(--muted);
}

.pbx-tablewrap[b-xj11qsrysy] {
    overflow-x: auto;
}

.pbx-table[b-xj11qsrysy] {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.pbx-table th[b-xj11qsrysy] {
    font-size: 12px;
    text-transform: none; letter-spacing: 0.02em;
    letter-spacing: .06em;
    color: var(--faint);
    font-weight: 700;
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid var(--line-strong);
    background: var(--raised);
    white-space: nowrap;
}

.pbx-table td[b-xj11qsrysy] {
    padding: 8px 10px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
    font-size: 13.5px;
}

.pbx-table tbody tr:hover[b-xj11qsrysy] {
    background: var(--raised);
}

.pbx-table tbody tr:last-child td[b-xj11qsrysy] {
    border-bottom: 0;
}

.pbx-row-issue[b-xj11qsrysy] {
    background: var(--danger-soft);
}

.pbx-col-num[b-xj11qsrysy] {
    width: 36px;
}

.pbx-col-x[b-xj11qsrysy] {
    width: 44px;
}

.pbx-num-col[b-xj11qsrysy] {
    width: 130px;
}

.pbx-rownum[b-xj11qsrysy] {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--muted);
    font-weight: 700;
}

.pbx-num[b-xj11qsrysy] {
    width: 100%;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 6px;
    padding: 5px 7px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--ink);
    text-align: right;
}

.pbx-num:hover[b-xj11qsrysy] {
    border-color: var(--line-strong);
    background: var(--surface);
}

.pbx-num:focus[b-xj11qsrysy] {
    border-color: var(--accent);
    background: var(--surface);
    box-shadow: var(--ring);
    outline: none;
}

.pbx-num-invalid[b-xj11qsrysy] {
    border-color: var(--danger);
    background: var(--danger-soft);
    color: var(--danger);
}

/* Inline discount entry inside the totals block. */
.pbx-discount[b-xj11qsrysy] {
    width: 110px;
    margin-left: 8px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    border-radius: 6px;
    padding: 3px 7px;
    font-family: var(--font-mono);
    font-size: 12px;
    text-align: right;
}

.pbx-discount:focus[b-xj11qsrysy] {
    border-color: var(--accent);
    box-shadow: var(--ring);
    outline: none;
}

.pbx-neg[b-xj11qsrysy] {
    color: var(--danger);
}

.pbx-uom[b-xj11qsrysy] {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    text-align: right;
}

.pbx-linetotal[b-xj11qsrysy] {
    text-align: right;
    font-family: var(--font-mono);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.pbx-rowdel .material-symbols-outlined[b-xj11qsrysy] {
    font-size: 16px;
}

.pbx-tablefoot[b-xj11qsrysy] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 16px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
}

.pbx-tfoot-actions[b-xj11qsrysy] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.btn-ghost[b-xj11qsrysy] {
    border: 0;
    background: none;
    color: var(--accent);
}

.btn-ghost:hover[b-xj11qsrysy] {
    background: var(--accent-soft);
    color: var(--accent);
}

.pbx-totals[b-xj11qsrysy] {
    margin-left: auto;
    width: 300px;
    max-width: 100%;
}

.pbx-tr[b-xj11qsrysy] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
    padding: 3.5px 0;
    color: var(--muted);
    font-weight: 600;
}

.pbx-tr .num[b-xj11qsrysy] {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--ink);
}

.pbx-sep[b-xj11qsrysy] {
    border-top: 1px solid var(--line-strong);
    margin: 7px 0;
}

.pbx-grand[b-xj11qsrysy] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: baseline;
    font-size: 13px;
    font-weight: 700;
}

.pbx-grand .num[b-xj11qsrysy] {
    font-family: var(--font-mono);
    font-size: 19px;
    color: var(--accent);
}

.pbx-totalnote[b-xj11qsrysy] {
    font-size: 11.5px;
    color: var(--muted);
    margin: 6px 0 0;
    text-align: right;
}

.pbx-rail[b-xj11qsrysy] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pbx-snap[b-xj11qsrysy] {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 12.5px;
}

.pbx-snaprow[b-xj11qsrysy] {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.pbx-snaprow span[b-xj11qsrysy] {
    color: var(--muted);
    font-weight: 600;
}

.pbx-snaprow .num[b-xj11qsrysy] {
    font-family: var(--font-mono);
}

.pbx-postinfo ul[b-xj11qsrysy] {
    margin: 0 0 8px;
    padding-left: 18px;
    font-size: 12.5px;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pbx-postinfo .pbx-muted[b-xj11qsrysy] {
    margin: 0;
}

.pbx-muted[b-xj11qsrysy] {
    font-size: 12.5px;
    color: var(--muted);
}

@media (max-width: 1180px) {
    .pbx-grid[b-xj11qsrysy] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .pbx-fields[b-xj11qsrysy] {
        grid-template-columns: 1fr;
    }

    .pbx-field.pbx-span2[b-xj11qsrysy] {
        grid-column: auto;
    }

    .pbx-actions[b-xj11qsrysy] {
        width: 100%;
    }

    .pbx-totals[b-xj11qsrysy] {
        width: 100%;
    }
}
/* /Pages/Finance/SalesInvoices.razor.rz.scp.css */
.siv[b-efav1mvkm1] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.siv-head[b-efav1mvkm1] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}

.siv-head h1[b-efav1mvkm1] {
    font-size: 20px;
    margin: 0;
}

.siv-sub[b-efav1mvkm1] {
    margin: 3px 0 0;
    font-size: 12.5px;
    color: var(--muted);
}

.siv-actions[b-efav1mvkm1] {
    margin-left: auto;
    display: flex;
    gap: 8px;
    align-self: center;
}

.siv-chips[b-efav1mvkm1] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.siv-chip[b-efav1mvkm1] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    color: var(--muted);
    border-radius: var(--md-sys-shape-corner-small, 8px);
    padding: 5px 13px;
    font-size: 12.5px;
    font-weight: 600;
}

.siv-chip:hover[b-efav1mvkm1] {
    color: var(--ink);
    border-color: var(--faint);
}

.siv-chip-on[b-efav1mvkm1] {
    background: var(--accent-soft);
    border-color: transparent;
    color: var(--accent);
}

.siv-chipcount[b-efav1mvkm1] {
    font-family: var(--font-mono);
    font-size: 11px;
    background: var(--raised);
    border-radius: 999px;
    padding: 1px 7px;
}

.siv-chip-on .siv-chipcount[b-efav1mvkm1] {
    background: rgba(255, 255, 255, .55);
}

body.dark-theme .siv-chip-on .siv-chipcount[b-efav1mvkm1] {
    background: rgba(0, 0, 0, .25);
}

.siv-card[b-efav1mvkm1] {
    overflow: hidden;
}

.siv-table[b-efav1mvkm1] {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.siv-table th[b-efav1mvkm1] {
    font-size: 12px;
    text-transform: none; letter-spacing: 0.02em;
    letter-spacing: .06em;
    color: var(--faint);
    font-weight: 700;
    text-align: left;
    padding: 9px 12px;
    border-bottom: 1px solid var(--line-strong);
    background: var(--raised);
    white-space: nowrap;
}

.siv-table td[b-efav1mvkm1] {
    padding: 9px 12px;
    border-bottom: 1px solid var(--line);
    font-size: 13.5px;
    vertical-align: middle;
}

.siv-table tbody tr:hover[b-efav1mvkm1] {
    background: var(--raised);
}

.siv-num[b-efav1mvkm1] {
    text-align: right;
    white-space: nowrap;
}

.siv-table .num[b-efav1mvkm1] {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
}

.siv-docno[b-efav1mvkm1] {
    font-weight: 700;
}

.siv-total[b-efav1mvkm1] {
    font-weight: 700;
}

.siv-paidhint[b-efav1mvkm1] {
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}

.siv-actions[b-efav1mvkm1] {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    white-space: nowrap;
}

.siv-col-x[b-efav1mvkm1] {
    width: 1%;
}

.siv-totrow td[b-efav1mvkm1] {
    border-bottom: 0;
    border-top: 1px solid var(--line-strong);
    background: var(--raised);
    font-weight: 700;
    font-size: 12.5px;
    color: var(--muted);
}

.siv-totrow .num[b-efav1mvkm1] {
    font-family: var(--font-mono);
    color: var(--ink);
    font-size: 13.5px;
}

.siv-empty[b-efav1mvkm1] {
    padding: 40px 20px;
    text-align: center;
    color: var(--muted);
}

.siv-empty .material-symbols-outlined[b-efav1mvkm1] {
    font-size: 34px;
    color: var(--faint);
}

.siv-empty h2[b-efav1mvkm1] {
    font-size: 15px;
    margin: 8px 0 4px;
    color: var(--ink);
}

.siv-empty p[b-efav1mvkm1] {
    font-size: 13px;
    margin: 0 0 14px;
}

.siv-overdue[b-efav1mvkm1] {
    display: inline-block;
    margin-left: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--danger, #c0392b);
    background: var(--danger-soft, rgba(192, 57, 43, .12));
    border-radius: 999px;
    padding: 1px 7px;
    white-space: nowrap;
}
/* /Pages/Finance/Vouchers.razor.rz.scp.css */
/* Finance > Vouchers — "ledger workbench" layout (prefix: vch-).
   Tokens come from wwwroot/css/app.css ("Ledger Precision" theme). */

.vch[b-ybfoi7i4a0] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ---------- page head ---------- */

.vch-head[b-ybfoi7i4a0] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}

.vch-head h1[b-ybfoi7i4a0] {
    font-size: 20px;
    margin: 0;
}

.vch-sub[b-ybfoi7i4a0] {
    margin: 3px 0 0;
    font-size: 12.5px;
    color: var(--muted);
}

.vch-actions[b-ybfoi7i4a0] {
    margin-left: auto;
    display: flex;
    gap: 8px;
    align-self: center;
}

.vch-actions .btn[b-ybfoi7i4a0] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vch-actions .material-symbols-outlined[b-ybfoi7i4a0] {
    font-size: 17px;
}

/* ---------- filter chips + search ---------- */

.vch-toolbar[b-ybfoi7i4a0] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.vch-chips[b-ybfoi7i4a0] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.vch-chip[b-ybfoi7i4a0] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    color: var(--muted);
    border-radius: 999px;
    padding: 5px 13px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
}

.vch-chip:hover[b-ybfoi7i4a0] {
    color: var(--ink);
    border-color: var(--faint);
}

.vch-chip-on[b-ybfoi7i4a0] {
    background: var(--accent-soft);
    border-color: transparent;
    color: var(--accent);
}

.vch-chipcount[b-ybfoi7i4a0] {
    font-family: var(--font-mono);
    font-size: 11px;
    background: var(--raised);
    border-radius: 999px;
    padding: 1px 7px;
}

.vch-chip-on .vch-chipcount[b-ybfoi7i4a0] {
    background: rgba(255, 255, 255, .55);
}

body.dark-theme .vch-chip-on .vch-chipcount[b-ybfoi7i4a0] {
    background: rgba(0, 0, 0, .25);
}

.vch-searchwrap[b-ybfoi7i4a0] {
    position: relative;
    margin-left: auto;
}

.vch-search[b-ybfoi7i4a0] {
    width: 280px;
    max-width: 100%;
    height: 36px;
    font-size: 13px;
    padding-left: 2.1rem;
}

.vch-searchicon[b-ybfoi7i4a0] {
    position: absolute;
    left: .8rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--faint);
    pointer-events: none;
}

/* ---------- voucher list ---------- */

.vch-listcard[b-ybfoi7i4a0] {
    overflow: hidden;
}

.vch-table[b-ybfoi7i4a0] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 860px;
}

.vch-table th[b-ybfoi7i4a0] {
    font-size: 12px;
    text-transform: none; letter-spacing: 0.02em;
    letter-spacing: .06em;
    color: var(--faint);
    font-weight: 700;
    text-align: left;
    padding: 9px 12px;
    border-bottom: 1px solid var(--line-strong);
    background: var(--raised);
    white-space: nowrap;
}

.vch-table td[b-ybfoi7i4a0] {
    padding: 9px 12px;
    border-bottom: 1px solid var(--line);
    font-size: 13.5px;
    vertical-align: middle;
}

.vch-table tbody tr[b-ybfoi7i4a0] {
    transition: background-color .12s ease;
}

.vch-table tbody tr:hover td[b-ybfoi7i4a0] {
    background: var(--raised);
}

.vch-num[b-ybfoi7i4a0] {
    text-align: right;
    white-space: nowrap;
}

.vch-table .num[b-ybfoi7i4a0] {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
}

.vch-docno[b-ybfoi7i4a0] {
    font-weight: 700;
}

.vch-docno-lg[b-ybfoi7i4a0] {
    font-size: 16px;
}

.vch-amt[b-ybfoi7i4a0] {
    font-weight: 700;
}

.vch-adsub[b-ybfoi7i4a0] {
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}

.vch-narrcell[b-ybfoi7i4a0] {
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--muted);
}

.vch-rowact[b-ybfoi7i4a0] {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    white-space: nowrap;
}

.vch-col-x[b-ybfoi7i4a0] {
    width: 1%;
}

.vch-totrow td[b-ybfoi7i4a0] {
    border-bottom: 0;
    border-top: 1px solid var(--line-strong);
    background: var(--raised);
    font-weight: 700;
    font-size: 12.5px;
    color: var(--muted);
}

.vch-totrow .num[b-ybfoi7i4a0] {
    color: var(--ink);
    font-size: 13.5px;
}

/* ---------- empty state ---------- */

.vch-empty[b-ybfoi7i4a0] {
    padding: 40px 20px;
    text-align: center;
    color: var(--muted);
}

.vch-empty .material-symbols-outlined[b-ybfoi7i4a0] {
    font-size: 34px;
    color: var(--faint);
}

.vch-empty h2[b-ybfoi7i4a0] {
    font-size: 15px;
    margin: 8px 0 4px;
    color: var(--ink);
}

.vch-empty p[b-ybfoi7i4a0] {
    font-size: 13px;
    margin: 0 0 14px;
}

/* ---------- new voucher entry panel ---------- */

.vch-entry[b-ybfoi7i4a0] {
    overflow: hidden;
}

.vch-entryhead[b-ybfoi7i4a0] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .65rem 1.25rem;
    background: var(--raised);
    border-bottom: 1px solid var(--line);
    font-weight: 700;
    font-size: 14px;
}

.vch-entryclose[b-ybfoi7i4a0] {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--faint);
    border-radius: 6px;
    padding: 0;
}

.vch-entryclose:hover[b-ybfoi7i4a0] {
    color: var(--danger);
    background: var(--danger-soft);
}

.vch-entryclose .material-symbols-outlined[b-ybfoi7i4a0] {
    font-size: 18px;
}

.vch-entrybody[b-ybfoi7i4a0] {
    padding: 1.25rem;
}

.vch-entrygrid[b-ybfoi7i4a0] {
    display: grid;
    grid-template-columns: minmax(320px, 2fr) 3fr;
    gap: 1.25rem;
}

@media (max-width: 767.98px) {
    .vch-entrygrid[b-ybfoi7i4a0] {
        grid-template-columns: 1fr;
    }
}

.vch-entryleft[b-ybfoi7i4a0] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.vch-entryright[b-ybfoi7i4a0] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.vch-entryright .vch-narration[b-ybfoi7i4a0] {
    flex: 1;
}

.vch-label[b-ybfoi7i4a0] {
    display: block;
    color: var(--muted);
    font-weight: 600;
    font-size: 12.5px;
    margin-bottom: 6px;
}

.vch-narration[b-ybfoi7i4a0] {
    min-height: 96px;
    resize: none;
}

.vch-seg[b-ybfoi7i4a0] {
    display: flex;
    flex-wrap: wrap;
    border-radius: var(--r-in);
    overflow: hidden;
}

.vch-segitem[b-ybfoi7i4a0] {
    flex: 1 1 auto;
    text-align: center;
    padding: .5rem .6rem;
    font-size: 13px;
    font-weight: 600;
    background: var(--surface);
    color: var(--muted);
    border: 1px solid var(--line-strong);
    cursor: pointer;
    white-space: nowrap;
}

.vch-segitem + .vch-segitem[b-ybfoi7i4a0] {
    margin-left: -1px;
}

.vch-segitem:hover[b-ybfoi7i4a0] {
    color: var(--accent);
    background: var(--accent-soft);
}

.vch-segitem.on[b-ybfoi7i4a0] {
    position: relative;
    z-index: 1;
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-ink);
}

/* ---------- ledger entry lines ---------- */

.vch-lines[b-ybfoi7i4a0] {
    margin-top: 1.4rem;
}

.vch-linestitle[b-ybfoi7i4a0] {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    text-transform: none; letter-spacing: 0.02em;
    letter-spacing: .06em;
    margin-bottom: 8px;
}

.vch-linegrid[b-ybfoi7i4a0] {
    border: 1px solid var(--line-strong);
    border-radius: var(--r-in);
    background: var(--surface);
}

.vch-linetable[b-ybfoi7i4a0] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 620px;
}

.vch-linetable th[b-ybfoi7i4a0] {
    font-size: 12px;
    text-transform: none; letter-spacing: 0.02em;
    letter-spacing: .06em;
    color: var(--faint);
    font-weight: 700;
    text-align: left;
    padding: .55rem .75rem;
    border-bottom: 1px solid var(--line);
    background: var(--raised);
    white-space: nowrap;
}

.vch-linetable th.vch-num[b-ybfoi7i4a0] {
    text-align: right;
    width: 160px;
}

.vch-linetable th.vch-line-x[b-ybfoi7i4a0] {
    width: 40px;
}

.vch-linetable td[b-ybfoi7i4a0] {
    padding: .4rem .5rem;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

.vch-linetable tbody tr:last-child td[b-ybfoi7i4a0] {
    border-bottom: 0;
}

/* keep the rounded corners without overflow:hidden so account
   suggestion dropdowns can escape the grid */
.vch-linetable thead tr th:first-child[b-ybfoi7i4a0] { border-top-left-radius: 7px; }
.vch-linetable thead tr th:last-child[b-ybfoi7i4a0] { border-top-right-radius: 7px; }
.vch-linetable tbody tr:last-child td:first-child[b-ybfoi7i4a0] { border-bottom-left-radius: 7px; }
.vch-linetable tbody tr:last-child td:last-child[b-ybfoi7i4a0] { border-bottom-right-radius: 7px; }

.vch-line-acc[b-ybfoi7i4a0] {
    min-width: 260px;
}

.vch-line-amt[b-ybfoi7i4a0] {
    width: 160px;
}

.vch-line-x[b-ybfoi7i4a0] {
    width: 40px;
    text-align: center;
}

.vch-line-input[b-ybfoi7i4a0] {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

.vch-line-input:hover[b-ybfoi7i4a0] {
    border-color: transparent;
}

.vch-linedel[b-ybfoi7i4a0] {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--danger);
    opacity: .5;
    border-radius: 6px;
    padding: 0;
}

.vch-linedel:hover[b-ybfoi7i4a0] {
    opacity: 1;
    background: var(--danger-soft);
}

.vch-linedel:disabled[b-ybfoi7i4a0] {
    opacity: .2;
    cursor: default;
}

.vch-linedel .material-symbols-outlined[b-ybfoi7i4a0] {
    font-size: 18px;
}

.vch-addline[b-ybfoi7i4a0] {
    width: 100%;
    margin-top: 10px;
    padding: .5rem;
    border: 2px dashed var(--line-strong);
    border-radius: var(--r-in);
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.vch-addline:hover[b-ybfoi7i4a0] {
    border-color: var(--accent);
    color: var(--accent);
}

/* ---------- entry footer (running balance) ---------- */

.vch-entryfoot[b-ybfoi7i4a0] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: .9rem 1.25rem;
    background: var(--raised);
    border-top: 1px solid var(--line);
}

.vch-baltot[b-ybfoi7i4a0] {
    display: flex;
    flex-direction: column;
}

.vch-baltotlbl[b-ybfoi7i4a0] {
    font-size: 12px;
    font-weight: 700;
    text-transform: none; letter-spacing: 0.02em;
    letter-spacing: .08em;
    color: var(--faint);
}

.vch-baltotval[b-ybfoi7i4a0] {
    font-size: 15px;
    font-weight: 700;
}

.vch-entryfoot .status-badge[b-ybfoi7i4a0] {
    align-self: center;
    margin-top: .9rem;
}

.vch-postbtn[b-ybfoi7i4a0] {
    margin-left: auto;
}

/* ---------- voucher detail ---------- */

.vch-detail[b-ybfoi7i4a0] {
    overflow: hidden;
}

.vch-detailhead[b-ybfoi7i4a0] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    padding: .8rem 1.25rem;
    background: var(--raised);
    border-bottom: 1px solid var(--line);
}

.vch-detailhead > div:first-child[b-ybfoi7i4a0] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.vch-detailbtns[b-ybfoi7i4a0] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vch-detailmeta[b-ybfoi7i4a0] {
    font-size: 12px;
    color: var(--muted);
}

.vch-detaillines[b-ybfoi7i4a0] {
    min-width: 480px;
}

.vch-detailnarr[b-ybfoi7i4a0] {
    margin: 1rem 1.25rem 1.25rem;
    padding: .55rem .85rem;
    background: var(--raised);
    border-left: 3px solid var(--accent-soft);
    border-radius: 6px;
    font-size: 13px;
    color: var(--muted);
}
/* /Pages/Help.razor.rz.scp.css */
.help-head[b-arepqp4w9z] {
    margin-bottom: 1.25rem;
}

.help-head h1[b-arepqp4w9z] {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: .25rem;
}

.help-sub[b-arepqp4w9z] {
    color: var(--muted);
    max-width: 60rem;
    margin-bottom: 0;
}

.help-toc[b-arepqp4w9z] {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.5rem;
}

.help-toc-item[b-arepqp4w9z] {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .8rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
    font-size: .85rem;
    text-decoration: none;
}

.help-toc-item:hover[b-arepqp4w9z] {
    border-color: var(--accent);
    color: var(--accent);
}

.help-toc-item .material-symbols-outlined[b-arepqp4w9z] {
    font-size: 1rem;
    color: var(--accent);
}

.help-toc-count[b-arepqp4w9z] {
    font-size: .72rem;
    color: var(--faint);
}

.help-section[b-arepqp4w9z] {
    margin-bottom: 2rem;
}

.help-section-intro[b-arepqp4w9z] {
    color: var(--muted);
    max-width: 65rem;
    margin: -0.25rem 0 1rem;
}

.help-section h2[b-arepqp4w9z] {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.15rem;
    font-weight: 700;
    scroll-margin-top: 5rem;
    margin-bottom: .9rem;
}

.help-section h2 .material-symbols-outlined[b-arepqp4w9z] {
    color: var(--accent);
}

.help-card[b-arepqp4w9z] {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    box-shadow: var(--shadow-sm);
    padding: 1rem 1.25rem;
    margin-bottom: .9rem;
    scroll-margin-top: 5rem;
}

.help-card h3[b-arepqp4w9z] {
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: .35rem;
}

.help-purpose[b-arepqp4w9z] {
    color: var(--muted);
    margin-bottom: .75rem;
}

.help-cols[b-arepqp4w9z] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .help-cols[b-arepqp4w9z] {
        grid-template-columns: 1fr 1fr;
    }
}

.help-cols h4[b-arepqp4w9z] {
    font-size: .78rem;
    font-weight: 700;
    text-transform: none; letter-spacing: 0.02em;
    letter-spacing: .04em;
    color: var(--muted);
    margin-bottom: .35rem;
}

.help-cols ol[b-arepqp4w9z],
.help-cols ul[b-arepqp4w9z] {
    margin: 0;
    padding-left: 1.2rem;
}

.help-cols li[b-arepqp4w9z] {
    margin-bottom: .25rem;
}

.help-cols li[b-arepqp4w9z]::marker {
    color: var(--accent);
    font-weight: 600;
}
/* /Pages/Home.razor.rz.scp.css */
/* ============================================================
   Finacct Precision Grid - Executive Command Center & Dashboard
   Engineered for high-density enterprise operations
   ============================================================ */

.dash-container[b-0goivdts2l] {
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-family: var(--font-sans, 'Inter', 'Open Sans', system-ui, sans-serif);
    color: var(--ink);
    padding-bottom: 32px;
}

/* ------------------------------------------------------------
   TOP COMMAND BAR
   ------------------------------------------------------------ */
.command-header[b-0goivdts2l] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 4px 0 2px;
}

.command-title-block[b-0goivdts2l] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.command-title[b-0goivdts2l] {
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.command-title .material-symbols-outlined[b-0goivdts2l] {
    font-size: 22px;
    color: var(--accent);
}

.command-meta-row[b-0goivdts2l] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.command-date[b-0goivdts2l] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    color: var(--muted);
    font-weight: 500;
}

.command-date .material-symbols-outlined[b-0goivdts2l] {
    font-size: 16px;
    color: var(--muted);
}

.fiscal-pill[b-0goivdts2l] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid var(--accent-soft);
    padding: 2px 8px;
    border-radius: 4px;
}

.command-controls-row[b-0goivdts2l] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-left: auto;
}

.command-omnibar[b-0goivdts2l] {
    position: relative;
    display: flex;
    align-items: center;
    width: 280px;
}

@media (max-width: 900px) {
    .command-omnibar[b-0goivdts2l] {
        width: 100%;
    }
}

.omnibar-icon[b-0goivdts2l] {
    position: absolute;
    left: 10px;
    color: var(--faint);
    font-size: 17px;
    pointer-events: none;
}

.omnibar-input[b-0goivdts2l] {
    height: 34px;
    width: 100%;
    border-radius: 6px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    padding: 0 54px 0 32px;
    font-size: 12.5px;
    color: var(--ink);
    outline: none;
    transition: all 0.15s ease;
}

.omnibar-input:focus[b-0goivdts2l] {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 0.15, transparent);
}

.omnibar-shortcut[b-0goivdts2l] {
    position: absolute;
    right: 8px;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    background: var(--raised);
    border: 1px solid var(--line-strong);
    padding: 2px 6px;
    border-radius: 4px;
    pointer-events: none;
}

.currency-badge[b-0goivdts2l] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--muted);
    background: var(--raised);
    border: 1px solid var(--line);
    height: 34px;
    padding: 0 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
}

.command-actions[b-0goivdts2l] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-action-outline[b-0goivdts2l] {
    height: 34px;
    border-radius: 6px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
    padding: 0 11px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.btn-action-outline:hover[b-0goivdts2l] {
    background: var(--raised);
    border-color: var(--faint);
    color: var(--ink);
}

.btn-action-primary[b-0goivdts2l] {
    height: 34px;
    border-radius: 6px;
    border: none;
    background: var(--accent);
    color: var(--surface);
    font-size: 12px;
    font-weight: 600;
    padding: 0 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 6px color-mix(in srgb, var(--accent) 0.25, transparent);
    transition: all 0.15s ease;
}

.btn-action-primary:hover[b-0goivdts2l] {
    background: var(--accent-hover);
    color: var(--surface);
}

/* ------------------------------------------------------------
   NEPAL IRD & COMPLIANCE STRIP
   ------------------------------------------------------------ */
.compliance-strip[b-0goivdts2l] {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 4px solid var(--ok);
    border-radius: 8px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.compliance-left[b-0goivdts2l] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ird-status-chip[b-0goivdts2l] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ok);
    background: var(--ok-soft);
    border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent);
    padding: 3px 9px;
    border-radius: 6px;
}

.live-pulse[b-0goivdts2l] {
    position: relative;
    display: flex;
    height: 8px;
    width: 8px;
}

.live-pulse .ping[b-0goivdts2l] {
    position: absolute;
    display: inline-flex;
    height: 100%;
    width: 100%;
    border-radius: 9999px;
    background-color: var(--ok);
    opacity: 0.75;
    animation: ping-slow-b-0goivdts2l 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.live-pulse .dot[b-0goivdts2l] {
    position: relative;
    display: inline-flex;
    height: 8px;
    width: 8px;
    border-radius: 9999px;
    background-color: var(--ok);
}

@keyframes ping-slow-b-0goivdts2l {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.compliance-meta-text[b-0goivdts2l] {
    font-size: 12.5px;
    color: var(--muted);
    font-weight: 500;
}

.compliance-meta-text code[b-0goivdts2l] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-weight: 600;
    color: var(--ink);
}

.compliance-right[b-0goivdts2l] {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
}

.tax-deadline-tag[b-0goivdts2l] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--warn);
    background: var(--warn-soft);
    border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent);
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
}

.tax-link[b-0goivdts2l] {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.tax-link:hover[b-0goivdts2l] {
    text-decoration: underline;
}

/* ------------------------------------------------------------
   8-METRIC EXECUTIVE KPI BENTO
   ------------------------------------------------------------ */
.kpi-bento-grid[b-0goivdts2l] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

@media (max-width: 1200px) {
    .kpi-bento-grid[b-0goivdts2l] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .kpi-bento-grid[b-0goivdts2l] {
        grid-template-columns: 1fr;
    }
}

.kpi-tile[b-0goivdts2l] {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 116px;
    transition: all 0.15s ease;
}

.kpi-tile:hover[b-0goivdts2l] {
    border-color: var(--line-strong);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.06);
}

.kpi-tile-head[b-0goivdts2l] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.kpi-tile-label[b-0goivdts2l] {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: none; letter-spacing: 0.02em;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.kpi-tile-label .material-symbols-outlined[b-0goivdts2l] {
    font-size: 16px;
    color: var(--accent);
}

.kpi-trend-pill[b-0goivdts2l] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 12px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 4px;
}

.trend-emerald[b-0goivdts2l] {
    background: var(--ok-soft);
    color: var(--ok);
    border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent);
}

.trend-amber[b-0goivdts2l] {
    background: var(--warn-soft);
    color: var(--warn);
    border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent);
}

.trend-rose[b-0goivdts2l] {
    background: var(--danger-soft);
    color: var(--danger);
    border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent);
}

.kpi-tile-amount[b-0goivdts2l] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 21px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    margin: 3px 0 6px;
}

.kpi-tile-amount.warn[b-0goivdts2l] {
    color: var(--warn);
}

.kpi-tile-sub[b-0goivdts2l] {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
}

.kpi-tile-sub a[b-0goivdts2l] {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.kpi-tile-sub a:hover[b-0goivdts2l] {
    text-decoration: underline;
}

/* ------------------------------------------------------------
   MIDDLE ANALYTICS SPLIT (AR AGING & CASH FLOW)
   ------------------------------------------------------------ */
.analytics-split-grid[b-0goivdts2l] {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 16px;
}

@media (max-width: 1080px) {
    .analytics-split-grid[b-0goivdts2l] {
        grid-template-columns: 1fr;
    }
}

.analytics-card[b-0goivdts2l] {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.analytics-card-header[b-0goivdts2l] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--raised);
    padding-bottom: 12px;
}

.card-title-group h2[b-0goivdts2l] {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
}

.card-title-group span[b-0goivdts2l] {
    font-size: 11.5px;
    color: var(--muted);
}

.card-highlight-badge[b-0goivdts2l] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    font-weight: 600;
    color: var(--ok);
    background: var(--ok-soft);
    border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent);
    padding: 2px 8px;
    border-radius: 4px;
}

/* Receivables Aging Progress Bar */
.aging-multibar[b-0goivdts2l] {
    display: flex;
    height: 10px;
    border-radius: 9999px;
    overflow: hidden;
    background: var(--raised);
    margin: 4px 0 2px;
}

.aging-seg-current[b-0goivdts2l] { background: var(--ok); }
.aging-seg-30[b-0goivdts2l] { background: var(--accent); }
.aging-seg-60[b-0goivdts2l] { background: #f59e0b; }
.aging-seg-90[b-0goivdts2l] { background: #ea580c; }
.aging-seg-late[b-0goivdts2l] { background: var(--danger); }

.aging-buckets-strip[b-0goivdts2l] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

@media (max-width: 600px) {
    .aging-buckets-strip[b-0goivdts2l] {
        grid-template-columns: repeat(2, 1fr);
    }
}

.bucket-cell[b-0goivdts2l] {
    background: var(--raised);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bucket-name[b-0goivdts2l] {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    text-transform: none; letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 4px;
}

.bucket-dot[b-0goivdts2l] {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
}

.bucket-sum[b-0goivdts2l] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 12px;
    font-weight: 700;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.bucket-pct[b-0goivdts2l] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 12px;
    color: var(--muted);
}

/* Top Debtors summary */
.debtors-box[b-0goivdts2l] {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid var(--raised);
}

.debtors-head[b-0goivdts2l] {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: none; letter-spacing: 0.02em;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.debtors-grid[b-0goivdts2l] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

@media (max-width: 600px) {
    .debtors-grid[b-0goivdts2l] {
        grid-template-columns: 1fr;
    }
}

.debtor-item[b-0goivdts2l] {
    background: var(--raised);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 8px;
}

.debtor-name[b-0goivdts2l] {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.debtor-amt[b-0goivdts2l] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--accent);
    margin-top: 2px;
}

/* Cash Flow Inflow/Outflow Cards */
.flow-summary-row[b-0goivdts2l] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.flow-box[b-0goivdts2l] {
    border-radius: 6px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.flow-inflow[b-0goivdts2l] {
    background: var(--ok-soft);
    border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent);
}

.flow-outflow[b-0goivdts2l] {
    background: var(--accent-soft);
    border: 1px solid var(--accent-soft);
}

.flow-lbl[b-0goivdts2l] {
    font-size: 11px;
    font-weight: 700;
    text-transform: none; letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flow-inflow .flow-lbl[b-0goivdts2l] { color: var(--ok); }
.flow-outflow .flow-lbl[b-0goivdts2l] { color: var(--accent-active); }

.flow-val[b-0goivdts2l] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
}

.flow-sub[b-0goivdts2l] {
    font-size: 12px;
    color: var(--muted);
}

/* Cash Flow BS Month Bars */
.flow-chart-box[b-0goivdts2l] {
    padding: 4px 0;
}

.flow-chart-head[b-0goivdts2l] {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: none; letter-spacing: 0.02em;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.chart-bars-wrap[b-0goivdts2l] {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 100px;
    padding-top: 10px;
}

.chart-col[b-0goivdts2l] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    height: 100%;
    justify-content: flex-end;
}

.chart-bar-fill[b-0goivdts2l] {
    width: 100%;
    background: var(--accent);
    border-radius: 4px 4px 0 0;
    min-height: 4px;
    transition: height 0.3s ease;
}

.chart-col.current .chart-bar-fill[b-0goivdts2l] {
    background: var(--ok);
}

.chart-col-label[b-0goivdts2l] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 12px;
    color: var(--muted);
}

.chart-val-hint[b-0goivdts2l] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 9.5px;
    color: var(--muted);
    font-weight: 600;
}

.telemetry-footer[b-0goivdts2l] {
    border-top: 1px solid var(--raised);
    padding-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 12px;
    color: var(--muted);
}

/* ------------------------------------------------------------
   HIGH-DENSITY DATA TABLE (RECENT INVOICES & VOUCHERS)
   ------------------------------------------------------------ */
.ledger-table-card[b-0goivdts2l] {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    overflow: hidden;
}

.ledger-table-top[b-0goivdts2l] {
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    border-bottom: 1px solid var(--line);
}

.table-title-group[b-0goivdts2l] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-title-group h2[b-0goivdts2l] {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
}

.table-count-pill[b-0goivdts2l] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    font-weight: 600;
    background: var(--raised);
    color: var(--muted);
    border: 1px solid var(--line-strong);
    padding: 2px 7px;
    border-radius: 4px;
}

.table-controls[b-0goivdts2l] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.category-tabs[b-0goivdts2l] {
    display: inline-flex;
    background: var(--raised);
    padding: 2px;
    border-radius: 6px;
    border: 1px solid var(--line);
}

.cat-tab[b-0goivdts2l] {
    padding: 4px 10px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--muted);
    border-radius: 4px;
    cursor: pointer;
    background: transparent;
    border: none;
    transition: all 0.15s ease;
}

.cat-tab.active[b-0goivdts2l] {
    background: var(--surface);
    color: var(--ink);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.table-responsive[b-0goivdts2l] {
    overflow-x: auto;
}

.dense-ledger-table[b-0goivdts2l] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.dense-ledger-table th[b-0goivdts2l] {
    font-size: 11px;
    font-weight: 700;
    text-transform: none; letter-spacing: 0.02em;
    letter-spacing: 0.04em;
    color: var(--muted);
    background: var(--raised);
    border-bottom: 1px solid var(--line-strong);
    padding: 9px 14px;
    white-space: nowrap;
}

.dense-ledger-table td[b-0goivdts2l] {
    font-size: 12.5px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    padding: 10px 14px;
    vertical-align: middle;
}

.dense-ledger-table tr:hover td[b-0goivdts2l] {
    background: var(--raised);
}

.tbl-num[b-0goivdts2l] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-weight: 700;
    font-size: 13px;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.dense-ledger-table th.th-num[b-0goivdts2l] {
    text-align: right;
}

.status-badge[b-0goivdts2l] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
    white-space: nowrap;
}

.badge-paid[b-0goivdts2l] {
    background: var(--ok-soft);
    color: var(--ok);
    border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent);
}

.badge-pending[b-0goivdts2l] {
    background: var(--warn-soft);
    color: var(--warn);
    border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent);
}

.badge-cbms[b-0goivdts2l] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    background: var(--accent-soft);
    color: var(--accent-active);
    border: 1px solid var(--accent-soft);
    font-size: 12px;
}

.table-pagination[b-0goivdts2l] {
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--raised);
    font-size: 12px;
    color: var(--muted);
    border-top: 1px solid var(--line);
}
/* /Pages/Login.razor.rz.scp.css */
/* Stitch Redone Design: Enterprise Portal Login (Desktop) */

.login-page-root[b-tn9918yj8s] {
    min-height: 100vh;
    width: 100%;
    background-color: #0b1329;
    font-family: var(--font-sans, 'Open Sans', system-ui, sans-serif);
    color: #0b1c30;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.login-grid[b-tn9918yj8s] {
    display: grid;
    grid-template-columns: 5fr 6fr;
    min-height: 100vh;
    width: 100%;
}

@media (max-width: 1024px) {
    .login-grid[b-tn9918yj8s] {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   LEFT PANEL: Showcase & Telemetry
   ============================================================ */
.showcase-panel[b-tn9918yj8s] {
    position: relative;
    background-color: #0b1329;
    color: #eaf1ff;
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border-right: 1px solid rgba(30, 41, 59, 0.7);
    user-select: none;
}

@media (max-width: 1024px) {
    .showcase-panel[b-tn9918yj8s] {
        display: none;
    }
}

.grid-blueprint[b-tn9918yj8s] {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.8;
    background-size: 36px 36px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

.ambient-glow-blue[b-tn9918yj8s] {
    position: absolute;
    top: -120px;
    left: -120px;
    width: 380px;
    height: 380px;
    background-color: rgba(37, 99, 235, 0.15);
    border-radius: 9999px;
    filter: blur(80px);
    pointer-events: none;
}

.ambient-glow-emerald[b-tn9918yj8s] {
    position: absolute;
    bottom: -90px;
    right: -90px;
    width: 340px;
    height: 340px;
    background-color: rgba(0, 125, 87, 0.15);
    border-radius: 9999px;
    filter: blur(80px);
    pointer-events: none;
}

.showcase-header[b-tn9918yj8s] {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.showcase-brand-row[b-tn9918yj8s] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.brand-wrapper[b-tn9918yj8s] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-badge[b-tn9918yj8s] {
    height: 48px;
    width: 144px;
    padding: 4px 10px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.logo-badge img[b-tn9918yj8s] {
    height: 100%;
    width: 100%;
    object-fit: contain;
    display: block;
}

.brand-divider[b-tn9918yj8s] {
    height: 48px;
    width: 1px;
    background: rgba(51, 65, 85, 0.8);
}

.brand-meta-col[b-tn9918yj8s] {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-title-text[b-tn9918yj8s] {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1;
}

.brand-subtitle-text[b-tn9918yj8s] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    color: #93c5fd;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 6px;
}

.cluster-status-badge[b-tn9918yj8s] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 9999px;
    background: rgba(6, 78, 59, 0.7);
    border: 1px solid rgba(52, 211, 153, 0.3);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.pulse-dot-container[b-tn9918yj8s] {
    position: relative;
    display: flex;
    height: 8px;
    width: 8px;
}

.pulse-ping[b-tn9918yj8s] {
    position: absolute;
    display: inline-flex;
    height: 100%;
    width: 100%;
    border-radius: 9999px;
    background-color: #34d399;
    opacity: 0.75;
    animation: ping-b-tn9918yj8s 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.pulse-solid[b-tn9918yj8s] {
    position: relative;
    display: inline-flex;
    height: 8px;
    width: 8px;
    border-radius: 9999px;
    background-color: #34d399;
}

@keyframes ping-b-tn9918yj8s {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.hero-section[b-tn9918yj8s] {
    padding-top: 4px;
}

.hero-eyebrow[b-tn9918yj8s] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    color: rgba(147, 197, 253, 0.85);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
}

.hero-title[b-tn9918yj8s] {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 10px 0 0 0;
}

@media (min-width: 1280px) {
    .hero-title[b-tn9918yj8s] {
        font-size: 32px;
    }
}

.hero-description[b-tn9918yj8s] {
    font-size: 13.5px;
    color: #94a3b8;
    margin: 12px 0 0 0;
    max-width: 540px;
    line-height: 1.6;
}

.capabilities-grid[b-tn9918yj8s] {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 28px 0;
}

.capability-card[b-tn9918yj8s] {
    padding: 16px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.capability-card:hover[b-tn9918yj8s] {
    border-color: rgba(71, 85, 105, 0.8);
    transform: translateY(-1px);
}

.capability-head[b-tn9918yj8s] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.icon-box[b-tn9918yj8s] {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box .material-symbols-outlined[b-tn9918yj8s] {
    font-size: 17px;
}

.icon-blue[b-tn9918yj8s] {
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: #60a5fa;
}

.icon-emerald[b-tn9918yj8s] {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.icon-indigo[b-tn9918yj8s] {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #818cf8;
}

.icon-cyan[b-tn9918yj8s] {
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: #22d3ee;
}

.capability-title[b-tn9918yj8s] {
    font-size: 12px;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0;
    letter-spacing: -0.01em;
}

.capability-desc[b-tn9918yj8s] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.55;
    margin: 0;
}

.capability-desc code[b-tn9918yj8s] {
    color: #93c5fd;
    font-weight: 600;
    background: rgba(37, 99, 235, 0.1);
    padding: 1px 4px;
    border-radius: 4px;
}

.showcase-footer[b-tn9918yj8s] {
    position: relative;
    z-index: 10;
    padding-top: 20px;
    border-top: 1px solid rgba(30, 41, 59, 0.8);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.telemetry-row[b-tn9918yj8s] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(30, 41, 59, 0.8);
}

.telemetry-left[b-tn9918yj8s] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
}

.telemetry-left .material-symbols-outlined[b-tn9918yj8s] {
    font-size: 16px;
    color: #60a5fa;
}

.telemetry-val[b-tn9918yj8s] {
    color: #e2e8f0;
}

.telemetry-dot[b-tn9918yj8s] {
    color: #475569;
}

.telemetry-status[b-tn9918yj8s] {
    color: #34d399;
}

.telemetry-sparkline[b-tn9918yj8s] {
    width: 96px;
    height: 20px;
    display: flex;
    align-items: center;
}

.telemetry-sparkline svg[b-tn9918yj8s] {
    width: 100%;
    height: 100%;
    color: #60a5fa;
}

.compliance-row[b-tn9918yj8s] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    color: #94a3b8;
}

.badge-item[b-tn9918yj8s] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-item .material-symbols-outlined[b-tn9918yj8s] {
    font-size: 14px;
    color: #94a3b8;
}

/* ============================================================
   RIGHT PANEL: Clean Authentication Portal
   ============================================================ */
.portal-panel[b-tn9918yj8s] {
    background-color: #f8f9ff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px 56px;
    overflow-y: auto;
}

@media (max-width: 640px) {
    .portal-panel[b-tn9918yj8s] {
        padding: 32px 20px;
    }
}

.auth-box[b-tn9918yj8s] {
    width: 100%;
    max-width: 540px;
    margin: auto auto;
    padding: 32px 0;
}

.portal-title-block[b-tn9918yj8s] {
    margin-bottom: 28px;
}

.portal-title[b-tn9918yj8s] {
    font-size: 30px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0;
}

/* Redone Clean Divider */
.auth-divider[b-tn9918yj8s] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px 0 28px 0;
}

.divider-line[b-tn9918yj8s] {
    width: 100%;
    border-top: 1px solid #e2e8f0;
}

.divider-text[b-tn9918yj8s] {
    position: absolute;
    padding: 0 12px;
    background: #f8f9ff;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

/* Credentials Form */
.credentials-form[b-tn9918yj8s] {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-field-group[b-tn9918yj8s] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-label-row[b-tn9918yj8s] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.field-label[b-tn9918yj8s] {
    font-size: 11.5px;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.domain-enforced-chip[b-tn9918yj8s] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    color: #047857;
    background: #ecfdf5;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid #a7f3d0;
}

.domain-dot[b-tn9918yj8s] {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background-color: #10b981;
}

.forgot-link[b-tn9918yj8s] {
    font-size: 12px;
    font-weight: 500;
    color: #2563eb;
    text-decoration: none;
}

.forgot-link:hover[b-tn9918yj8s] {
    color: #1d4ed8;
    text-decoration: underline;
}

.input-with-icon[b-tn9918yj8s] {
    position: relative;
    display: flex;
    align-items: center;
}

.input-lead-icon[b-tn9918yj8s] {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 19px;
    pointer-events: none;
}

.auth-input[b-tn9918yj8s] {
    width: 100%;
    height: 44px;
    padding-left: 42px;
    padding-right: 44px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 13.5px;
    outline: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: all 0.15s ease;
}

.auth-input[b-tn9918yj8s]::placeholder {
    color: #94a3b8;
    font-family: var(--font-sans, sans-serif);
}

.auth-input:focus[b-tn9918yj8s] {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.btn-toggle-eye[b-tn9918yj8s] {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 6px;
}

.btn-toggle-eye:hover[b-tn9918yj8s] {
    color: #475569;
}

.btn-toggle-eye .material-symbols-outlined[b-tn9918yj8s] {
    font-size: 19px;
}

/* Tenant Selector (if user spans multiple workspaces) */
.tenant-select[b-tn9918yj8s] {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 13px;
    outline: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.tenant-select:focus[b-tn9918yj8s] {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Security Options Row */
.security-options-row[b-tn9918yj8s] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    color: #475569;
    padding-top: 2px;
}

.remember-checkbox-label[b-tn9918yj8s] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.remember-checkbox[b-tn9918yj8s] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    accent-color: #2563eb;
    cursor: pointer;
}

.ttl-text[b-tn9918yj8s] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    color: #94a3b8;
}

/* Actions */
.form-actions[b-tn9918yj8s] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 4px;
}

.btn-submit-primary[b-tn9918yj8s] {
    width: 100%;
    height: 44px;
    border-radius: 12px;
    background: #2563eb;
    border: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
    transition: all 0.15s ease;
}

.btn-submit-primary:hover:not(:disabled)[b-tn9918yj8s] {
    background: #1d4ed8;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.btn-submit-primary:disabled[b-tn9918yj8s] {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Error banner */
.auth-error-banner[b-tn9918yj8s] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    font-size: 13px;
    margin-top: 4px;
}

.auth-error-banner .material-symbols-outlined[b-tn9918yj8s] {
    font-size: 18px;
    color: #dc2626;
}

/* Footer */
.portal-footer[b-tn9918yj8s] {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.footer-content[b-tn9918yj8s] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #64748b;
}

.footer-links[b-tn9918yj8s] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-links a[b-tn9918yj8s] {
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-links a:hover[b-tn9918yj8s] {
    color: #2563eb;
}

.footer-bullet[b-tn9918yj8s] {
    color: #cbd5e1;
}

.system-status-indicator[b-tn9918yj8s] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.status-dot-green[b-tn9918yj8s] {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background-color: #10b981;
}

.footer-crypto-info[b-tn9918yj8s] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    color: #94a3b8;
}

/* Alternate entry: /superlogin cross-link */
.alt-login-row[b-tn9918yj8s] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 2px;
}

.alt-login-text[b-tn9918yj8s] {
    font-size: 12.5px;
    color: #64748b;
}

.alt-login-link[b-tn9918yj8s] {
    font-size: 12.5px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.alt-login-link:hover[b-tn9918yj8s] {
    color: #1d4ed8;
    text-decoration: underline;
}
/* /Pages/SuperLogin.razor.rz.scp.css */
/* Tenant Sign-In (/superlogin): direct workspace access */

.super-root[b-g97pvcguzx] {
    position: relative;
    min-height: 100vh;
    width: 100%;
    background-color: #0b1329;
    font-family: var(--font-sans, 'Open Sans', system-ui, sans-serif);
    color: #0b1c30;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.grid-bg[b-g97pvcguzx] {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.8;
    background-size: 36px 36px;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

.glow[b-g97pvcguzx] {
    position: absolute;
    border-radius: 9999px;
    filter: blur(80px);
    pointer-events: none;
}

.glow-blue[b-g97pvcguzx] {
    top: -120px;
    left: -120px;
    width: 380px;
    height: 380px;
    background-color: rgba(37, 99, 235, 0.15);
}

.glow-emerald[b-g97pvcguzx] {
    bottom: -90px;
    right: -90px;
    width: 340px;
    height: 340px;
    background-color: rgba(0, 125, 87, 0.15);
}

/* Top bar */
.top-bar[b-g97pvcguzx] {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 28px 40px;
}

.brand[b-g97pvcguzx] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-badge[b-g97pvcguzx] {
    height: 44px;
    width: 132px;
    padding: 4px 10px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.logo-badge img[b-g97pvcguzx] {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.brand-sub[b-g97pvcguzx] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: #8ea3c8;
}

.channel-chip[b-g97pvcguzx] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 6px 12px;
    border-radius: 9999px;
}

.chip-dot[b-g97pvcguzx] {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background-color: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.9);
}

/* Card */
.card-wrap[b-g97pvcguzx] {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px 48px 20px;
}

.card[b-g97pvcguzx] {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border-radius: 18px;
    padding: 32px 32px 24px 32px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.card-head[b-g97pvcguzx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    margin-bottom: 24px;
}

.head-icon[b-g97pvcguzx] {
    height: 52px;
    width: 52px;
    border-radius: 14px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.head-icon .material-symbols-outlined[b-g97pvcguzx] {
    font-size: 26px;
}

.card-title[b-g97pvcguzx] {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0;
}

.card-sub[b-g97pvcguzx] {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.55;
}

/* Form */
.super-form[b-g97pvcguzx] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group[b-g97pvcguzx] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.group-label[b-g97pvcguzx] {
    font-size: 11.5px;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.input-wrap[b-g97pvcguzx] {
    position: relative;
    display: flex;
    align-items: center;
}

.lead[b-g97pvcguzx] {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 19px;
    pointer-events: none;
}

.super-input[b-g97pvcguzx] {
    width: 100%;
    height: 44px;
    padding-left: 42px;
    padding-right: 44px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 13.5px;
    outline: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: all 0.15s ease;
}

.super-input[b-g97pvcguzx]::placeholder {
    color: #94a3b8;
    font-family: var(--font-sans, sans-serif);
}

.super-input:focus[b-g97pvcguzx] {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.hint[b-g97pvcguzx] {
    font-size: 11.5px;
    color: #94a3b8;
}

.eye[b-g97pvcguzx] {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 6px;
}

.eye:hover[b-g97pvcguzx] {
    color: #475569;
}

.eye .material-symbols-outlined[b-g97pvcguzx] {
    font-size: 19px;
}

/* Error banner */
.error-banner[b-g97pvcguzx] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    font-size: 13px;
}

.error-banner .material-symbols-outlined[b-g97pvcguzx] {
    font-size: 18px;
    color: #dc2626;
}

/* Submit */
.submit[b-g97pvcguzx] {
    width: 100%;
    height: 44px;
    margin-top: 4px;
    border-radius: 12px;
    background: #2563eb;
    border: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
    transition: all 0.15s ease;
}

.submit:hover:not(:disabled)[b-g97pvcguzx] {
    background: #1d4ed8;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.submit:disabled[b-g97pvcguzx] {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Card footer */
.card-foot[b-g97pvcguzx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}

.back-link[b-g97pvcguzx] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12.5px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.back-link:hover[b-g97pvcguzx] {
    color: #1d4ed8;
    text-decoration: underline;
}

.back-link .material-symbols-outlined[b-g97pvcguzx] {
    font-size: 15px;
}

.foot-note[b-g97pvcguzx] {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    color: #94a3b8;
}

@media (max-width: 640px) {
    .top-bar[b-g97pvcguzx] {
        padding: 20px;
    }

    .card[b-g97pvcguzx] {
        padding: 24px 20px 18px 20px;
    }
}
/* /Pages/Workflows.razor.rz.scp.css */
.wf-head[b-igbms28cgz] {
    margin-bottom: 1.25rem;
}

.wf-head h1[b-igbms28cgz] {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: .25rem;
}

.wf-head p[b-igbms28cgz] {
    color: var(--muted);
    max-width: 65rem;
    margin-bottom: .75rem;
}

.wf-head a[b-igbms28cgz] {
    color: var(--accent);
}

.wf-legend[b-igbms28cgz] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .8rem;
    color: var(--muted);
}

.wf-key[b-igbms28cgz] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.wf-dot[b-igbms28cgz] {
    width: .65rem;
    height: .65rem;
    border-radius: 50%;
    display: inline-block;
}

.wf-card[b-igbms28cgz] {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    box-shadow: var(--shadow-sm);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.wf-card h2[b-igbms28cgz] {
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .2rem;
}

.wf-badge[b-igbms28cgz] {
    font-size: .68rem;
    font-weight: 700;
    text-transform: none; letter-spacing: 0.02em;
    letter-spacing: .05em;
    padding: .15rem .55rem;
    border-radius: 999px;
}

.wf-desc[b-igbms28cgz] {
    color: var(--muted);
    margin-bottom: .85rem;
    max-width: 65rem;
}

.wf-chain[b-igbms28cgz] {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: .45rem;
    margin-bottom: .75rem;
}

.wf-arrow[b-igbms28cgz] {
    align-self: center;
    color: var(--faint);
    font-size: 1.15rem;
    flex: none;
}

.wf-node[b-igbms28cgz] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .1rem;
    min-width: 8.5rem;
    max-width: 14rem;
    padding: .5rem .75rem;
    background: var(--raised);
    border: 1px solid var(--line);
    border-left-width: 3px;
    border-radius: var(--r-in);
    text-decoration: none;
    color: var(--ink);
    transition: border-color .12s ease, box-shadow .12s ease, transform .12s ease;
}

a.wf-node:hover[b-igbms28cgz] {
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.wf-node-plain[b-igbms28cgz] {
    border-style: dashed;
    background: transparent;
}

.wf-node-label[b-igbms28cgz] {
    font-weight: 600;
    font-size: .88rem;
}

.wf-node-sub[b-igbms28cgz] {
    font-size: .74rem;
    color: var(--muted);
}

/* Module accents: colour + matching soft background. */
.wf-module-finance[b-igbms28cgz] {
    border-left-color: var(--accent);
    background: var(--accent-soft);
}

.wf-module-inventory[b-igbms28cgz] {
    border-left-color: var(--ok);
    background: var(--ok-soft);
}

.wf-module-sales[b-igbms28cgz] {
    border-left-color: var(--warn);
    background: var(--warn-soft);
}

.wf-module-crm[b-igbms28cgz] {
    border-left-color: #7c3aed;
    background: rgba(124, 58, 237, 0.10);
}

.wf-module-hr[b-igbms28cgz] {
    border-left-color: #0d9488;
    background: rgba(13, 148, 136, 0.10);
}

.wf-module-manufacturing[b-igbms28cgz] {
    border-left-color: #ea580c;
    background: rgba(234, 88, 12, 0.10);
}

.wf-module-system[b-igbms28cgz] {
    border-left-color: var(--faint);
    background: transparent;
}

span.wf-badge.wf-module-finance[b-igbms28cgz] { color: var(--accent); }
span.wf-badge.wf-module-inventory[b-igbms28cgz] { color: var(--ok); }
span.wf-badge.wf-module-sales[b-igbms28cgz] { color: var(--warn); }
span.wf-badge.wf-module-crm[b-igbms28cgz] { color: #7c3aed; }
span.wf-badge.wf-module-hr[b-igbms28cgz] { color: #0d9488; }
span.wf-badge.wf-module-manufacturing[b-igbms28cgz] { color: #ea580c; }
span.wf-badge.wf-module-system[b-igbms28cgz] { color: var(--muted); }

.wf-dot.wf-module-finance[b-igbms28cgz] { background: var(--accent); }
.wf-dot.wf-module-inventory[b-igbms28cgz] { background: var(--ok); }
.wf-dot.wf-module-sales[b-igbms28cgz] { background: var(--warn); }
.wf-dot.wf-module-crm[b-igbms28cgz] { background: #7c3aed; }
.wf-dot.wf-module-hr[b-igbms28cgz] { background: #0d9488; }
.wf-dot.wf-module-manufacturing[b-igbms28cgz] { background: #ea580c; }
.wf-dot.wf-module-system[b-igbms28cgz] { background: var(--faint); }

.wf-notes[b-igbms28cgz] {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--muted);
    font-size: .85rem;
}

.wf-notes li[b-igbms28cgz] {
    margin-bottom: .25rem;
}

.wf-notes li[b-igbms28cgz]::marker {
    color: var(--accent);
}
/* /Shared/PageHelp.razor.rz.scp.css */
.page-help[b-dvdeufkv2z] {
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: var(--r-card);
    background: var(--raised);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.page-help-toggle[b-dvdeufkv2z] {
    display: flex;
    align-items: center;
    gap: .5rem;
    width: 100%;
    padding: .55rem .9rem;
    border: 0;
    background: transparent;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
}

.page-help-toggle:focus-visible[b-dvdeufkv2z] {
    outline: none;
    box-shadow: var(--ring);
    border-radius: var(--r-card);
}

.page-help-icon[b-dvdeufkv2z] {
    font-size: 1.15rem;
    color: var(--accent);
    flex: none;
}

.page-help-what[b-dvdeufkv2z] {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--accent);
    white-space: nowrap;
}

.page-help-title[b-dvdeufkv2z] {
    font-weight: 600;
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-help-chevron[b-dvdeufkv2z] {
    margin-left: auto;
    color: var(--faint);
    flex: none;
}

.page-help-body[b-dvdeufkv2z] {
    padding: .25rem 1.1rem 1rem;
    border-top: 1px solid var(--line);
}

.page-help-purpose[b-dvdeufkv2z] {
    color: var(--muted);
    margin: .75rem 0 .9rem;
    max-width: 70rem;
}

.page-help-cols[b-dvdeufkv2z] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .page-help-cols[b-dvdeufkv2z] {
        grid-template-columns: 1fr 1fr;
    }
}

.page-help-col h4[b-dvdeufkv2z] {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted);
    margin-bottom: .4rem;
}

.page-help-col ol[b-dvdeufkv2z],
.page-help-col ul[b-dvdeufkv2z] {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--ink);
}

.page-help-col li[b-dvdeufkv2z] {
    margin-bottom: .3rem;
}

.page-help-col li[b-dvdeufkv2z]::marker {
    color: var(--accent);
    font-weight: 600;
}

.page-help-link[b-dvdeufkv2z] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: .9rem;
    font-size: .85rem;
    color: var(--accent);
    text-decoration: none;
}

.page-help-link:hover[b-dvdeufkv2z] {
    text-decoration: underline;
    color: var(--accent-hover);
}
