/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* /Components/Pages/AccountPage/ChartOfAccountPage/ChartOfAccountLedgerPage.razor.rz.scp.css */
/* Account ledger — banking-style */
.ldg-wrap[b-796ztww8w6] {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 52px);
    width: 100%;
    max-width: none;
    background: linear-gradient(180deg, #e8edf7 0%, #f1f5f9 42%, #f8fafc 100%);
    font-size: 0.8rem;
    color: #1e293b;
    line-height: 1.35;
}

.ldg-top[b-796ztww8w6] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.38rem 0.75rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 48%, #2563eb 100%);
    color: #fff;
    border-radius: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.2);
    flex-wrap: wrap;
}

.ldg-back[b-796ztww8w6] {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    transition: background 0.12s;
}
.ldg-back:hover[b-796ztww8w6] { background: rgba(255, 255, 255, 0.22); color: #fff; }

.ldg-top-main[b-796ztww8w6] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
    flex: 1;
}

.ldg-top-icon[b-796ztww8w6] {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: grid;
    place-items: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.ldg-top-text[b-796ztww8w6] { min-width: 0; }
.ldg-top-text h1[b-796ztww8w6] {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ldg-top-meta[b-796ztww8w6] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.08rem;
    flex-wrap: wrap;
}
.ldg-code[b-796ztww8w6] {
    font-family: ui-monospace, monospace;
    font-size: 0.62rem;
    font-weight: 600;
    padding: 0.04rem 0.28rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.95);
}
.ldg-type[b-796ztww8w6] {
    font-size: 0.58rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.82;
}
.ldg-type--asset[b-796ztww8w6] { color: #93c5fd; }
.ldg-type--liability[b-796ztww8w6] { color: #fdba74; }
.ldg-type--equity[b-796ztww8w6] { color: #c4b5fd; }
.ldg-type--revenue[b-796ztww8w6] { color: #86efac; }
.ldg-type--expense[b-796ztww8w6] { color: #fca5a5; }

.ldg-closing[b-796ztww8w6] {
    margin-left: auto;
    text-align: right;
    flex-shrink: 0;
    padding: 0.2rem 0.45rem;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.ldg-closing span[b-796ztww8w6] {
    display: block;
    font-size: 0.52rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.75;
}
.ldg-closing strong[b-796ztww8w6] {
    font-size: 0.88rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #fff;
}
.ldg-closing.is-negative strong[b-796ztww8w6] { color: #fecaca; }

.ldg-meta-sep[b-796ztww8w6] {
    color: #94a3b8;
    font-weight: 400;
    opacity: 0.85;
    padding: 0 0.12rem;
}
.ldg-top-meta .ldg-meta-sep[b-796ztww8w6] {
    color: rgba(255, 255, 255, 0.45);
}

.ldg-body[b-796ztww8w6] {
    flex: 1;
    padding: 0.65rem 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    max-width: none;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.ldg-toolbar[b-796ztww8w6] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.4rem;
    padding: 0.35rem 0.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(30, 45, 90, 0.05);
}

.ldg-field[b-796ztww8w6] {
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
}
.ldg-field > span[b-796ztww8w6] {
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}
.ldg-date-input[b-796ztww8w6] {
    width: 132px;
    height: 30px;
    padding: 0 0.45rem;
    border: 1px solid #d1d9ef;
    border-radius: 6px;
    font-size: 0.74rem;
    color: #1e293b;
    background: #fff;
}
.ldg-date-input:focus[b-796ztww8w6] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}

.ldg-banner[b-796ztww8w6] {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.45rem 0.7rem;
    background: linear-gradient(135deg, #eff6ff, #f0f9ff);
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    font-size: 0.74rem;
    color: #1e40af;
}
.ldg-banner i[b-796ztww8w6] { font-size: 0.95rem; flex-shrink: 0; margin-top: 0.05rem; }

.ldg-state-hint[b-796ztww8w6] {
    margin: 0.35rem 0 0;
    font-size: 0.68rem;
    color: #94a3b8;
}
.ldg-retry[b-796ztww8w6] {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.28rem 0.75rem;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 600;
    cursor: pointer;
}
.ldg-retry:hover[b-796ztww8w6] { opacity: 0.92; }

.ldg-rz[b-796ztww8w6] { width: 118px !important; }
.ldg-rz .rz-inputtext[b-796ztww8w6] {
    height: 26px !important;
    min-height: 26px !important;
    font-size: 0.68rem !important;
    padding: 0 0.35rem !important;
    border-radius: 5px !important;
}

.ldg-apply[b-796ztww8w6] {
    height: 26px;
    padding: 0 0.65rem;
    border: none;
    border-radius: 5px;
    background: linear-gradient(135deg, #ea580c, #f97316);
    color: #fff;
    font-size: 0.66rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 1px 3px rgba(234, 88, 12, 0.35);
    transition: opacity 0.12s;
}
.ldg-apply:hover[b-796ztww8w6] { opacity: 0.92; }
.ldg-apply:disabled[b-796ztww8w6] { opacity: 0.55; cursor: not-allowed; }

.ldg-field--page[b-796ztww8w6] { margin-left: 0.15rem; }
.ldg-page-size[b-796ztww8w6] {
    width: 72px;
    height: 30px;
    padding: 0 0.35rem;
    border: 1px solid #d1d9ef;
    border-radius: 6px;
    font-size: 0.74rem;
    color: #1e293b;
    background: #fff;
}
.ldg-page-size:focus[b-796ztww8w6] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}

.ldg-pagination[b-796ztww8w6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    border-top: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #fafbfd 0%, #f8fafc 100%);
}
.ldg-page-info[b-796ztww8w6] {
    font-size: 0.74rem;
    font-weight: 600;
    color: #64748b;
    font-variant-numeric: tabular-nums;
}
.ldg-page-btns[b-796ztww8w6] {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}
.ldg-page-btn[b-796ztww8w6] {
    min-width: 1.75rem;
    height: 1.75rem;
    padding: 0 0.35rem;
    border: 1px solid #d1d9ef;
    background: #fff;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.12s, border-color 0.12s, color 0.12s;
}
.ldg-page-btn:hover:not(:disabled)[b-796ztww8w6] {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1d4ed8;
}
.ldg-page-btn--active[b-796ztww8w6] {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    border-color: #1d4ed8;
    color: #fff;
}
.ldg-page-btn:disabled[b-796ztww8w6] {
    opacity: 0.4;
    cursor: default;
}

.ldg-kpis[b-796ztww8w6] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-left: auto;
}
.ldg-kpi[b-796ztww8w6] {
    display: flex;
    flex-direction: column;
    padding: 0.35rem 0.55rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    min-width: 88px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
.ldg-kpi span[b-796ztww8w6] {
    font-size: 0.58rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
}
.ldg-kpi strong[b-796ztww8w6] {
    font-size: 0.82rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #1e293b;
}
.ldg-kpi--dr strong[b-796ztww8w6] { color: #15803d; }
.ldg-kpi--cr strong[b-796ztww8w6] { color: #b45309; }
.ldg-kpi--bal strong[b-796ztww8w6] { color: #1d4ed8; }
.ldg-kpi--bal.is-negative strong[b-796ztww8w6] { color: #dc2626; }

.ldg-card[b-796ztww8w6] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(30, 45, 90, 0.06);
}

.ldg-state[b-796ztww8w6] {
    padding: 2rem 1rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.75rem;
}
.ldg-state i[b-796ztww8w6] { font-size: 1.5rem; opacity: 0.35; display: block; margin-bottom: 0.35rem; }
.ldg-state--inline[b-796ztww8w6] {
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.ldg-scroll--dim[b-796ztww8w6] {
    opacity: 0.45;
    pointer-events: none;
}
.ldg-legs-loading[b-796ztww8w6] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0;
    font-size: 0.72rem;
    color: #64748b;
}

.ldg-scroll[b-796ztww8w6] { overflow-x: auto; }

.ldg-table[b-796ztww8w6] {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 0.74rem;
}
.ldg-col-exp[b-796ztww8w6] { width: 36px; }
.ldg-col-date[b-796ztww8w6] { width: 76px; }
.ldg-col-src[b-796ztww8w6] { width: 108px; }
.ldg-col-ref[b-796ztww8w6] { width: auto; }
.ldg-col-vch[b-796ztww8w6] { width: 96px; }
.ldg-col-amt[b-796ztww8w6] { width: 108px; }
.ldg-col-bal[b-796ztww8w6] { width: 112px; }
.ldg-table thead tr[b-796ztww8w6] {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
}
.ldg-table thead th[b-796ztww8w6] {
    padding: 0.22rem 0.4rem;
    font-size: 0.54rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.88);
    white-space: nowrap;
    border: none;
}
.ldg-table .num[b-796ztww8w6] { text-align: right; font-variant-numeric: tabular-nums; }
.ldg-th-exp[b-796ztww8w6] { width: 28px; padding: 0 !important; }

.ldg-table tbody tr[b-796ztww8w6] { border-bottom: 1px solid #f1f5f9; }
.ldg-table tbody tr.ldg-row:nth-child(4n+1)[b-796ztww8w6] { background: #fafbfd; }
.ldg-table tbody tr:last-child[b-796ztww8w6] { border-bottom: none; }

.ldg-row[b-796ztww8w6] {
    cursor: pointer;
    transition: background 0.1s;
}
.ldg-row:hover[b-796ztww8w6] { background: #f8fafc; }
.ldg-row.is-expanded[b-796ztww8w6] { background: #eff6ff; }
.ldg-row td[b-796ztww8w6] {
    padding: 0.2rem 0.4rem;
    vertical-align: middle;
}

.ldg-date[b-796ztww8w6] { color: #64748b; white-space: nowrap; font-size: 0.64rem; }
.ldg-src[b-796ztww8w6] {
    display: inline-block;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.64rem;
    color: #1d4ed8;
    background: #eff6ff;
    padding: 0.06rem 0.28rem;
    border-radius: 4px;
}
.ldg-ref[b-796ztww8w6] {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #64748b;
    font-size: 0.64rem;
}
.ldg-vch[b-796ztww8w6] {
    font-family: ui-monospace, monospace;
    font-size: 0.62rem;
    color: #475569;
}
.ldg-amt-dr[b-796ztww8w6] { color: #15803d; font-weight: 600; }
.ldg-amt-cr[b-796ztww8w6] { color: #c2410c; font-weight: 600; }
.ldg-amt-nil[b-796ztww8w6] { color: #cbd5e1; }
.ldg-nil[b-796ztww8w6] {
    display: inline-block;
    min-width: 0.5rem;
    color: #cbd5e1;
    font-weight: 500;
    text-align: center;
}
.ldg-bal[b-796ztww8w6] {
    font-weight: 700;
    color: #1e40af;
}
.ldg-bal.is-negative[b-796ztww8w6] { color: #dc2626; }

.ldg-expand[b-796ztww8w6] {
    width: 20px;
    height: 20px;
    padding: 0;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background: #fff;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.58rem;
    cursor: pointer;
    transition: background 0.1s, border-color 0.1s;
}
.ldg-expand:hover[b-796ztww8w6] { background: #eff6ff; border-color: #93c5fd; }
.ldg-row.is-expanded .ldg-expand[b-796ztww8w6] {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.ldg-detail td[b-796ztww8w6] {
    padding: 0 !important;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.ldg-detail-inner[b-796ztww8w6] {
    padding: 0.3rem 0.45rem 0.35rem 2rem;
}
.ldg-detail-hd[b-796ztww8w6] {
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.ldg-detail-hd i[b-796ztww8w6] { font-size: 0.7rem; color: #2563eb; }

.ldg-sub[b-796ztww8w6] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.64rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}
.ldg-sub thead tr[b-796ztww8w6] { background: #e0e7ff; }
.ldg-sub thead th[b-796ztww8w6] {
    padding: 0.14rem 0.35rem;
    font-size: 0.52rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #4338ca;
    text-align: left;
}
.ldg-sub thead th.num[b-796ztww8w6] { text-align: right; }
.ldg-sub tbody td[b-796ztww8w6] {
    padding: 0.14rem 0.35rem;
    border-top: 1px solid #eef2ff;
}
.ldg-sub tr.is-focus[b-796ztww8w6] {
    background: #dbeafe;
    font-weight: 600;
}
.ldg-sub-code[b-796ztww8w6] {
    font-family: ui-monospace, monospace;
    font-size: 0.58rem;
    color: #64748b;
    margin-right: 0.25rem;
}
.ldg-focus-tag[b-796ztww8w6] {
    font-size: 0.52rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.02rem 0.22rem;
    border-radius: 3px;
    background: #2563eb;
    color: #fff;
    margin-left: 0.25rem;
    vertical-align: middle;
}

.ldg-open-row td[b-796ztww8w6] {
    background: #fafafa;
    font-size: 0.64rem;
    font-weight: 600;
    color: #64748b;
    padding: 0.22rem 0.4rem;
    border-bottom: 1px dashed #e2e8f0;
}

.ldg-spin[b-796ztww8w6] {
    width: 1rem;
    height: 1rem;
    border: 2px solid #e2e8f0;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: ldg-spin-b-796ztww8w6 0.65s linear infinite;
    margin: 0 auto;
}
@keyframes ldg-spin-b-796ztww8w6 { to { transform: rotate(360deg); } }

@media (max-width: 768px) {
    .ldg-kpis[b-796ztww8w6] { margin-left: 0; width: 100%; }
    .ldg-kpi[b-796ztww8w6] { flex: 1; min-width: 0; }
    .ldg-closing[b-796ztww8w6] { margin-left: 0; width: 100%; text-align: left; margin-top: 0.25rem; }
}
/* /Components/Pages/AccountPage/ChartOfAccountPage/ChartOfAccountList.razor.rz.scp.css */
.coa-wrap[b-226jgnjaeg] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f3f5fb;
    font-size: 0.77rem;
    color: #1f2937;
}

.coa-topbar[b-226jgnjaeg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    background: linear-gradient(135deg, #1f2f65 0%, #3655ad 100%);
    color: #fff;
    padding: 0.42rem 0.82rem;
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.2);
}

.coa-topbar-left[b-226jgnjaeg] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.coa-topbar-icon[b-226jgnjaeg] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.coa-topbar-title[b-226jgnjaeg] {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.1;
}

.coa-topbar-sub[b-226jgnjaeg] {
    display: block;
    font-size: 0.65rem;
    opacity: 0.82;
    margin-top: 0.04rem;
}

.coa-top-actions[b-226jgnjaeg] {
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.coa-btn[b-226jgnjaeg] {
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 0.23rem 0.62rem;
    font-size: 0.71rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    cursor: pointer;
    background: #fff;
    color: #1f2937;
}

.coa-btn:disabled[b-226jgnjaeg] {
    opacity: 0.7;
    cursor: not-allowed;
}

.coa-btn--print[b-226jgnjaeg] { border-color: #d1d5db; }
.coa-btn--sync[b-226jgnjaeg] { border-color: #bfdbfe; color: #1d4ed8; background: #eff6ff; }
.coa-btn--add[b-226jgnjaeg] { border-color: #bbf7d0; color: #166534; background: #f0fdf4; }

.coa-body[b-226jgnjaeg] {
    max-width: 1380px;
    width: 100%;
    margin: 0 auto;
    padding: 0.5rem 0.7rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.coa-stats-strip[b-226jgnjaeg] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.38rem;
}

.coa-stat[b-226jgnjaeg] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.46rem 0.58rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.coa-stat-icon[b-226jgnjaeg] {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.coa-stat-icon--blue[b-226jgnjaeg] { background: #dbeafe; color: #1d4ed8; }
.coa-stat-icon--green[b-226jgnjaeg] { background: #dcfce7; color: #15803d; }
.coa-stat-icon--red[b-226jgnjaeg] { background: #fee2e2; color: #b91c1c; }
.coa-stat-icon--purple[b-226jgnjaeg] { background: #f3e8ff; color: #7e22ce; }

.coa-stat-label[b-226jgnjaeg] {
    display: block;
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
}

.coa-stat-val[b-226jgnjaeg] {
    display: block;
    margin-top: 0.06rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.05;
}

.coa-stat-val--blue[b-226jgnjaeg] { color: #1d4ed8; }
.coa-stat-val--green[b-226jgnjaeg] { color: #15803d; }
.coa-stat-val--red[b-226jgnjaeg] { color: #b91c1c; }
.coa-stat-val--purple[b-226jgnjaeg] { color: #7e22ce; }

.coa-filter-card[b-226jgnjaeg],
.coa-table-card[b-226jgnjaeg] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
}

.coa-filter-bar[b-226jgnjaeg] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: space-between;
    padding: 0.45rem 0.58rem;
}

.coa-filter-meta[b-226jgnjaeg] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: auto;
}

.coa-page-size-wrap[b-226jgnjaeg] {
    display: inline-flex;
    align-items: center;
    gap: 0.24rem;
    font-size: 0.62rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.coa-page-size[b-226jgnjaeg] {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    min-width: 52px;
    height: 24px;
    font-size: 0.64rem;
    padding: 0 0.24rem;
    color: #334155;
}

.coa-search-wrap[b-226jgnjaeg] {
    position: relative;
    flex: 1;
    min-width: 210px;
}

.coa-search-ico[b-226jgnjaeg] {
    position: absolute;
    left: 0.45rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
}

.coa-search-input[b-226jgnjaeg] {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 7px;
    padding: 0.34rem 2rem 0.34rem 1.6rem;
    font-size: 0.74rem;
    background: #fff;
}

.coa-search-input:focus[b-226jgnjaeg] {
    outline: none;
    border-color: #93c5fd;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.14);
}

.coa-search-clear[b-226jgnjaeg] {
    position: absolute;
    right: 0.3rem;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #6b7280;
    width: 20px;
    height: 20px;
    border-radius: 999px;
}

.coa-result-count[b-226jgnjaeg] {
    font-size: 0.68rem;
    color: #6b7280;
    white-space: nowrap;
}

.coa-group-panel[b-226jgnjaeg] {
    margin: 0.32rem 0.32rem 0.2rem;
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
    color: #475569;
    border-radius: 8px;
    min-height: 30px;
    display: flex;
    align-items: center;
    gap: 0.32rem;
    padding: 0.2rem 0.42rem;
    font-size: 0.64rem;
}

.coa-group-panel strong[b-226jgnjaeg] {
    color: #1f2937;
}

.coa-group-clear[b-226jgnjaeg] {
    margin-left: auto;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
    border-radius: 6px;
    height: 22px;
    padding: 0 0.45rem;
    font-size: 0.6rem;
    font-weight: 600;
}

.coa-table-wrap[b-226jgnjaeg] {
    overflow-x: auto;
}

.coa-table[b-226jgnjaeg] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.67rem;
}

.coa-table thead th[b-226jgnjaeg] {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.045em;
    font-size: 0.56rem;
    font-weight: 700;
    padding: 0.24rem 0.3rem;
    text-align: left;
    white-space: nowrap;
}

.coa-th-draggable[b-226jgnjaeg] {
    cursor: grab;
}

.coa-th-draggable:active[b-226jgnjaeg] {
    cursor: grabbing;
}

.coa-table tbody td[b-226jgnjaeg] {
    border-bottom: 1px solid #eef2f7;
    padding: 0.2rem 0.3rem;
    vertical-align: middle;
}

.coa-row--parent[b-226jgnjaeg] {
    background: #f8fbff;
}

.coa-row--child1[b-226jgnjaeg],
.coa-row--child2[b-226jgnjaeg] {
    background: #fff;
}

.coa-group-row td[b-226jgnjaeg] {
    background: #eef2ff;
    color: #1e3a8a;
    border-bottom: 1px solid #dbeafe;
    padding: 0.18rem 0.32rem !important;
    font-size: 0.62rem;
}

.coa-group-title[b-226jgnjaeg] {
    font-weight: 700;
    margin-right: 0.25rem;
}

.coa-group-value[b-226jgnjaeg] {
    font-weight: 600;
}

.coa-group-count[b-226jgnjaeg] {
    margin-left: 0.22rem;
    color: #475569;
}

.coa-code-badge[b-226jgnjaeg] {
    display: inline-flex;
    border-radius: 6px;
    background: #eef2ff;
    color: #3730a3;
    border: 1px solid #c7d2fe;
    font-size: 0.61rem;
    font-weight: 700;
    padding: 0.08rem 0.32rem;
}

.coa-name-indent[b-226jgnjaeg] {
    display: inline-flex;
    align-items: center;
    gap: 0.24rem;
}

.coa-name--root[b-226jgnjaeg] { font-weight: 700; }
.coa-tree-arrow[b-226jgnjaeg] { color: #94a3b8; font-size: 0.66rem; }

.coa-global-badge[b-226jgnjaeg] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.52rem;
    border: 1px solid #cbd5e1;
}

.coa-type-badge[b-226jgnjaeg] {
    display: inline-flex;
    border-radius: 999px;
    padding: 0.08rem 0.34rem;
    font-size: 0.56rem;
    font-weight: 700;
}

.coa-type-badge--asset[b-226jgnjaeg] { background: #dbeafe; color: #1d4ed8; }
.coa-type-badge--liability[b-226jgnjaeg] { background: #fee2e2; color: #b91c1c; }
.coa-type-badge--equity[b-226jgnjaeg] { background: #f3e8ff; color: #7e22ce; }
.coa-type-badge--revenue[b-226jgnjaeg] { background: #fef3c7; color: #92400e; }
.coa-type-badge--expense[b-226jgnjaeg] { background: #dcfce7; color: #166534; }
.coa-type-badge--default[b-226jgnjaeg] { background: #e2e8f0; color: #334155; }

.coa-td-num[b-226jgnjaeg],
.coa-td-balance[b-226jgnjaeg] {
    text-align: right;
    white-space: nowrap;
}

.coa-num-val[b-226jgnjaeg] {
    font-variant-numeric: tabular-nums;
}

.coa-num-nil[b-226jgnjaeg] {
    color: #94a3b8;
}

.coa-balance[b-226jgnjaeg] {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

.coa-balance--dr[b-226jgnjaeg] { color: #1d4ed8; }
.coa-balance--cr[b-226jgnjaeg] { color: #b91c1c; }
.coa-balance-side[b-226jgnjaeg] { margin-left: 0.2rem; font-size: 0.62rem; }

.coa-td-act[b-226jgnjaeg] {
    text-align: center;
}

.coa-act-grp[b-226jgnjaeg] {
    display: inline-flex;
    gap: 0.24rem;
}

.coa-act-btn[b-226jgnjaeg] {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border: 1px solid transparent;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.66rem;
}

.coa-act-btn--view[b-226jgnjaeg] { border-color: #d1fae5; color: #047857; text-decoration: none; }
.coa-act-btn--edit[b-226jgnjaeg] { border-color: #bfdbfe; color: #1d4ed8; }
.coa-act-btn--del[b-226jgnjaeg] { border-color: #fecaca; color: #b91c1c; }

.coa-tfoot-row td[b-226jgnjaeg] {
    background: #f8fafc;
    font-weight: 700;
    border-top: 1px solid #e5e7eb;
    padding: 0.24rem 0.3rem;
}

.coa-pager[b-226jgnjaeg] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e5e7eb;
    padding: 0.3rem 0.5rem;
    background: #f8fafc;
}

.coa-pager-meta[b-226jgnjaeg] {
    font-size: 0.64rem;
    color: #64748b;
}

.coa-pager-actions[b-226jgnjaeg] {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
}

.coa-pager-btn[b-226jgnjaeg] {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    height: 24px;
    min-width: 52px;
    font-size: 0.62rem;
    font-weight: 600;
    color: #334155;
}

.coa-pager-btn:disabled[b-226jgnjaeg] {
    opacity: 0.55;
}

.coa-pager-page[b-226jgnjaeg] {
    font-size: 0.62rem;
    color: #475569;
    min-width: 84px;
    text-align: center;
}

.coa-tfoot-label[b-226jgnjaeg] { text-align: right; color: #334155; }
.coa-tfoot-num[b-226jgnjaeg] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.coa-loading[b-226jgnjaeg],
.coa-empty[b-226jgnjaeg] {
    padding: 2rem 0.8rem;
    text-align: center;
    color: #64748b;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: center;
}

.coa-spinner[b-226jgnjaeg] {
    width: 26px;
    height: 26px;
    border: 3px solid #e2e8f0;
    border-top-color: #2563eb;
    border-radius: 999px;
    animation: coa-spin-b-226jgnjaeg 0.8s linear infinite;
}

@keyframes coa-spin-b-226jgnjaeg {
    to { transform: rotate(360deg); }
}

.coa-empty-icon[b-226jgnjaeg] { font-size: 1.7rem; opacity: 0.5; }
.coa-empty-title[b-226jgnjaeg] { font-weight: 700; color: #334155; }

.coa-spinner--sm[b-226jgnjaeg] {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(37, 99, 235, 0.25);
    border-top-color: #2563eb;
    border-radius: 999px;
    display: inline-block;
    animation: coa-spin-b-226jgnjaeg 0.7s linear infinite;
}

.coa-mob-cards[b-226jgnjaeg] {
    display: none;
}

@media (max-width: 980px) {
    .coa-stats-strip[b-226jgnjaeg] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .coa-topbar[b-226jgnjaeg] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.45rem;
    }

    .coa-top-actions[b-226jgnjaeg] {
        justify-content: flex-start;
    }

    .coa-btn[b-226jgnjaeg] {
        padding: 0.2rem 0.5rem;
        font-size: 0.66rem;
    }

    .coa-body[b-226jgnjaeg] {
        padding: 0.42rem 0.42rem 1rem;
        gap: 0.38rem;
    }

    .coa-stats-strip[b-226jgnjaeg] {
        grid-template-columns: 1fr;
    }

    .coa-filter-bar[b-226jgnjaeg] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.36rem;
    }

    .coa-filter-meta[b-226jgnjaeg] {
        width: 100%;
        justify-content: space-between;
    }

    .coa-table-wrap[b-226jgnjaeg] {
        display: none;
    }

    .coa-mob-cards[b-226jgnjaeg] {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.32rem;
    }

    .coa-mob-card[b-226jgnjaeg] {
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        padding: 0.28rem 0.36rem;
        background: #fff;
    }

    .coa-mob-card--root[b-226jgnjaeg] {
        border-color: #bfdbfe;
        background: #f8fbff;
    }

    .coa-mob-card-header[b-226jgnjaeg] {
        display: flex;
        justify-content: space-between;
        gap: 0.35rem;
        align-items: flex-start;
    }

    .coa-mob-left[b-226jgnjaeg] {
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
    }

    .coa-mob-name[b-226jgnjaeg] {
        font-size: 0.66rem;
        color: #1f2937;
    }

    .coa-mob-nums[b-226jgnjaeg] {
        margin-top: 0.3rem;
        border-top: 1px dashed #e2e8f0;
        padding-top: 0.28rem;
        display: flex;
        flex-direction: column;
        gap: 0.22rem;
    }

    .coa-mob-num-row[b-226jgnjaeg] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.62rem;
    }

    .coa-mob-num-lbl[b-226jgnjaeg] {
        color: #64748b;
    }

    .coa-mob-card-footer[b-226jgnjaeg] {
        margin-top: 0.3rem;
        border-top: 1px dashed #e2e8f0;
        padding-top: 0.3rem;
    }

    .coa-pager[b-226jgnjaeg] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.24rem;
    }

    .coa-pager-actions[b-226jgnjaeg] {
        justify-content: space-between;
    }
}
/* /Components/Pages/AccountPage/ChartOfAccountPage/ChartOfAccountModal.razor.rz.scp.css */
.coa-modal-overlay[b-m092ymoxxd] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0.55rem;
}

.coa-modal-overlay.active[b-m092ymoxxd] {
    display: flex;
}

.coa-modal-container[b-m092ymoxxd] {
    width: min(760px, 100%);
    max-height: 88vh;
    border-radius: 9px;
    border: 1px solid #dbe2f0;
    background: #fff;
    box-shadow: 0 24px 50px rgba(2, 6, 23, 0.24);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.coa-modal-header[b-m092ymoxxd] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.32rem 0.46rem;
    color: #fff;
    background: linear-gradient(135deg, #1f2f65 0%, #3655ad 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.coa-header-content[b-m092ymoxxd] {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
}

.coa-icon-circle[b-m092ymoxxd] {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    flex-shrink: 0;
}

.coa-modal-header h3[b-m092ymoxxd] {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.15;
}

.coa-subtitle[b-m092ymoxxd] {
    margin: 0.08rem 0 0;
    font-size: 0.54rem;
    opacity: 0.82;
}

.close-btn[b-m092ymoxxd] {
    width: 21px;
    height: 21px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.close-btn:hover[b-m092ymoxxd] {
    background: rgba(255, 255, 255, 0.26);
}

.coa-modal-body[b-m092ymoxxd] {
    padding: 0.34rem 0.44rem 0.28rem;
    overflow: auto;
}

.coa-form-grid[b-m092ymoxxd] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem 0.34rem;
}

.coa-field[b-m092ymoxxd] {
    margin-bottom: 0 !important;
}

.coa-field label[b-m092ymoxxd] {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    margin-bottom: 0.06rem;
    font-size: 0.51rem;
    font-weight: 700;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    color: #64748b;
}

.coa-modal-body .form-control[b-m092ymoxxd],
.coa-modal-body .form-select[b-m092ymoxxd] {
    min-height: 24px;
    padding: 0.12rem 0.24rem;
    font-size: 0.61rem;
    border-color: #d1d5db;
    border-radius: 7px;
}

.coa-modal-body .form-control:focus[b-m092ymoxxd],
.coa-modal-body .form-select:focus[b-m092ymoxxd] {
    border-color: #93c5fd;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.13);
}

.coa-modal-body[b-m092ymoxxd]  .validation-message {
    color: #dc2626;
    font-size: 0.63rem;
    margin-top: 0.12rem;
    display: block;
}

.coa-modal-footer[b-m092ymoxxd] {
    margin-top: 0.26rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 0.26rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.4rem;
}

.coa-btn-cancel[b-m092ymoxxd],
.coa-btn-save[b-m092ymoxxd] {
    min-width: 84px;
    font-size: 0.62rem;
    font-weight: 600;
}

.coa-btn-save[b-m092ymoxxd] {
    box-shadow: 0 1px 5px rgba(37, 99, 235, 0.2);
}

/* Compact parent picker (inside modal) */
.coa-modal-body .chart-parent-picker .form-label[b-m092ymoxxd] {
    font-size: 0.5rem;
    margin-bottom: 0.06rem;
    letter-spacing: 0.04em;
}

.coa-modal-body .parent-picker-selected[b-m092ymoxxd] {
    font-size: 0.56rem !important;
    margin-bottom: 0.14rem !important;
}

.coa-modal-body .chart-parent-picker .form-control.form-control-sm[b-m092ymoxxd] {
    min-height: 23px;
    font-size: 0.58rem;
    padding: 0.1rem 0.22rem;
    margin-bottom: 0.14rem !important;
}

.coa-modal-body .parent-picker-tree[b-m092ymoxxd] {
    max-height: 168px !important;
}

.coa-modal-body .parent-picker-tree .list-group-item[b-m092ymoxxd] {
    padding: 0.18rem 0.28rem !important;
    font-size: 0.59rem;
}

@media (max-width: 800px) {
    .coa-modal-container[b-m092ymoxxd] {
        width: min(760px, 100%);
        max-height: 94vh;
    }

    .coa-form-grid[b-m092ymoxxd] {
        grid-template-columns: 1fr;
        gap: 0.34rem;
    }
}

@media (max-width: 560px) {
    .coa-modal-overlay[b-m092ymoxxd] {
        padding: 0.25rem;
        align-items: flex-end;
    }

    .coa-modal-container[b-m092ymoxxd] {
        border-radius: 12px 12px 0 0;
    }

    .coa-modal-header[b-m092ymoxxd] {
        padding: 0.34rem 0.42rem;
    }

    .coa-modal-body[b-m092ymoxxd] {
        padding: 0.34rem 0.42rem 0.32rem;
    }

    .coa-modal-footer[b-m092ymoxxd] {
        flex-direction: column-reverse;
    }

    .coa-btn-cancel[b-m092ymoxxd],
    .coa-btn-save[b-m092ymoxxd] {
        width: 100%;
    }
}
/* /Components/Pages/AccountPage/ChartOfAccountPicker.razor.rz.scp.css */
.coa-picker[b-yimr1jsqaq] {
    position: relative;
    width: 100%;
    min-width: 0;
}

.coa-picker-input-wrap[b-yimr1jsqaq] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 32px;
    padding: 0 0.35rem 0 0.4rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.coa-picker-input-wrap:hover[b-yimr1jsqaq] {
    border-color: #cbd5e1;
}

.coa-picker-input-wrap.is-open[b-yimr1jsqaq],
.coa-picker-input-wrap:focus-within[b-yimr1jsqaq] {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.coa-picker-input-wrap.is-filled[b-yimr1jsqaq] {
    background: linear-gradient(180deg, #fafbff 0%, #fff 100%);
}

.coa-picker-input-wrap.is-error[b-yimr1jsqaq] {
    border-color: #fca5a5;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1);
}

.coa-picker-ico[b-yimr1jsqaq] {
    color: #94a3b8;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.coa-picker-chip[b-yimr1jsqaq] {
    font-size: 0.62rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #4338ca;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 4px;
    padding: 0.08rem 0.35rem;
    flex-shrink: 0;
}

.coa-picker-selected-name[b-yimr1jsqaq] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
    flex-shrink: 1;
}

.coa-picker-input[b-yimr1jsqaq] {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.72rem;
    padding: 0.25rem 0;
    color: #1e293b;
}

.coa-picker-input[b-yimr1jsqaq]::placeholder {
    color: #94a3b8;
}

.coa-picker-clear[b-yimr1jsqaq] {
    border: none;
    background: #f1f5f9;
    color: #64748b;
    width: 22px;
    height: 22px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 0.7rem;
    padding: 0;
}

.coa-picker-clear:hover[b-yimr1jsqaq] {
    background: #e2e8f0;
    color: #334155;
}

.coa-picker-panel[b-yimr1jsqaq] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 50;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
    max-height: 260px;
    overflow-y: auto;
    padding: 0.25rem;
}

.coa-picker-option[b-yimr1jsqaq] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    border: none;
    background: transparent;
    border-radius: 7px;
    padding: 0.35rem 0.45rem;
    text-align: left;
    cursor: pointer;
    transition: background 0.1s;
}

.coa-picker-option:hover:not(:disabled)[b-yimr1jsqaq],
.coa-picker-option.is-active[b-yimr1jsqaq] {
    background: #f5f3ff;
}

.coa-picker-option.is-group[b-yimr1jsqaq] {
    opacity: 0.55;
    cursor: not-allowed;
    background: #f8fafc;
}

.coa-picker-tree[b-yimr1jsqaq] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    min-width: 0;
    flex: 1;
}

.coa-picker-tree-ico[b-yimr1jsqaq] {
    font-size: 0.65rem;
    color: #cbd5e1;
    flex-shrink: 0;
}

.coa-picker-option-code[b-yimr1jsqaq] {
    font-size: 0.62rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #6366f1;
    background: #eef2ff;
    border-radius: 4px;
    padding: 0.06rem 0.32rem;
    flex-shrink: 0;
}

.coa-picker-option-name[b-yimr1jsqaq] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.coa-picker-type[b-yimr1jsqaq] {
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: 999px;
    padding: 0.1rem 0.4rem;
    flex-shrink: 0;
}

.coa-picker-type--asset[b-yimr1jsqaq] { background: #dbeafe; color: #1d4ed8; }
.coa-picker-type--liability[b-yimr1jsqaq] { background: #fee2e2; color: #b91c1c; }
.coa-picker-type--equity[b-yimr1jsqaq] { background: #f3e8ff; color: #7c3aed; }
.coa-picker-type--revenue[b-yimr1jsqaq] { background: #d1fae5; color: #047857; }
.coa-picker-type--expense[b-yimr1jsqaq] { background: #ffedd5; color: #c2410c; }
.coa-picker-type--other[b-yimr1jsqaq] { background: #f1f5f9; color: #64748b; }

.coa-picker-empty[b-yimr1jsqaq],
.coa-picker-more[b-yimr1jsqaq] {
    padding: 0.55rem 0.6rem;
    font-size: 0.68rem;
    color: #94a3b8;
    text-align: center;
}

.coa-picker-empty i[b-yimr1jsqaq] {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}
/* /Components/Pages/AccountPage/JournalVoucher/JournalVoucherAdd.razor.rz.scp.css */
.jv-form-wrap[b-e2rw8dwbcx] {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: linear-gradient(180deg, #eef2ff 0%, #f3f5fb 120px, #f3f5fb 100%);
    font-size: 0.77rem;
    color: #1f2937;
    padding-bottom: 3.2rem;
}

/* ── Hero header (voucher meta lives here, not in the card) ── */
.jv-hero[b-e2rw8dwbcx] {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 42%, #4f46e5 100%);
    color: #fff;
    padding: 0.55rem 0.85rem 0.5rem;
    position: sticky;
    top: 0;
    z-index: 25;
    box-shadow: 0 4px 20px rgba(49, 46, 129, 0.28);
}

.jv-hero-main[b-e2rw8dwbcx] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.45rem;
}

.jv-hero-brand[b-e2rw8dwbcx] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.jv-hero-icon[b-e2rw8dwbcx] {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.jv-hero-title[b-e2rw8dwbcx] {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.15;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.jv-hero-sub[b-e2rw8dwbcx] {
    margin: 0.12rem 0 0;
    font-size: 0.62rem;
    opacity: 0.82;
}

.jv-status-badge[b-e2rw8dwbcx] {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.1rem 0.45rem;
    font-size: 0.58rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.jv-btn-back[b-e2rw8dwbcx] {
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 7px;
    padding: 0.28rem 0.65rem;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.jv-btn-back:hover[b-e2rw8dwbcx] {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.jv-hero-fields[b-e2rw8dwbcx] {
    display: grid;
    grid-template-columns: minmax(130px, 1fr) minmax(150px, 1.1fr) minmax(115px, 0.8fr) minmax(180px, 1.6fr);
    gap: 0.4rem 0.5rem;
    align-items: end;
}

.jv-hero-field[b-e2rw8dwbcx] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.jv-hero-label[b-e2rw8dwbcx] {
    font-size: 0.56rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    opacity: 0.78;
}

.jv-hero-control[b-e2rw8dwbcx] {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.74rem;
    padding: 0.3rem 0.5rem;
    min-height: 32px;
    backdrop-filter: blur(4px);
}

.jv-hero-control[b-e2rw8dwbcx]::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.jv-hero-control:focus[b-e2rw8dwbcx] {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.jv-hero-control option[b-e2rw8dwbcx] {
    color: #1e293b;
    background: #fff;
}

.jv-vno-row[b-e2rw8dwbcx] {
    display: flex;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 7px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    min-height: 32px;
}

.jv-vno-mode[b-e2rw8dwbcx] {
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0 0.45rem;
    cursor: pointer;
    flex-shrink: 0;
}

.jv-vno-mode.is-auto[b-e2rw8dwbcx] {
    background: rgba(167, 243, 208, 0.25);
    color: #d1fae5;
}

.jv-vno-input[b-e2rw8dwbcx] {
    flex: 1;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.jv-hero-field[b-e2rw8dwbcx]  .jv-hero-datepicker,
.jv-hero-field[b-e2rw8dwbcx]  .rz-datepicker {
    width: 100%;
}

.jv-hero-field[b-e2rw8dwbcx]  .rz-inputtext {
    font-size: 0.74rem !important;
    padding: 0.3rem 0.5rem !important;
    min-height: 32px !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 7px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}

.jv-hero-foot[b-e2rw8dwbcx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.38rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    flex-wrap: wrap;
}

.jv-hero-hint[b-e2rw8dwbcx] {
    font-size: 0.6rem;
    opacity: 0.75;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.jv-hero-balance[b-e2rw8dwbcx] {
    font-size: 0.65rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    border-radius: 999px;
    padding: 0.15rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.jv-hero-balance.is-balanced[b-e2rw8dwbcx] {
    background: rgba(16, 185, 129, 0.22);
    border-color: rgba(110, 231, 183, 0.45);
    color: #d1fae5;
}

.jv-hero-balance.is-unbalanced[b-e2rw8dwbcx] {
    background: rgba(251, 191, 36, 0.2);
    border-color: rgba(252, 211, 77, 0.45);
    color: #fef3c7;
}

/* ── Body: lines only ── */
.jv-form-body[b-e2rw8dwbcx] {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0.55rem 0.75rem 0.65rem;
}

.jv-lines-card[b-e2rw8dwbcx] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.jv-lines-header[b-e2rw8dwbcx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.65rem;
    background: linear-gradient(180deg, #fafbff 0%, #fff 100%);
    border-bottom: 1px solid #f1f5f9;
    gap: 0.4rem;
}

.jv-lines-title-wrap[b-e2rw8dwbcx] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.jv-lines-title[b-e2rw8dwbcx] {
    font-size: 0.78rem;
    font-weight: 700;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.jv-lines-title i[b-e2rw8dwbcx] {
    color: #6366f1;
}

.jv-lines-count[b-e2rw8dwbcx] {
    font-size: 0.62rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 999px;
    padding: 0.1rem 0.45rem;
}

.jv-btn-add-line[b-e2rw8dwbcx] {
    border: 1px dashed #a5b4fc;
    border-radius: 8px;
    padding: 0.22rem 0.65rem;
    font-size: 0.7rem;
    font-weight: 600;
    background: #eef2ff;
    color: #4338ca;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: background 0.12s;
}

.jv-btn-add-line:hover[b-e2rw8dwbcx] {
    background: #e0e7ff;
}

.jv-table-wrap[b-e2rw8dwbcx] {
    overflow-x: auto;
}

.jv-entries-table[b-e2rw8dwbcx] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.72rem;
}

.jv-entries-table thead th[b-e2rw8dwbcx] {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.56rem;
    font-weight: 700;
    padding: 0.35rem 0.45rem;
    text-align: center;
    white-space: nowrap;
}

.jv-col-account[b-e2rw8dwbcx] { text-align: left !important; width: 34%; }
.jv-col-amount[b-e2rw8dwbcx] { width: 13%; }
.jv-col-narr[b-e2rw8dwbcx] { width: 30%; text-align: left !important; }
.jv-col-num[b-e2rw8dwbcx] { width: 36px; }
.jv-col-act[b-e2rw8dwbcx] { width: 44px; }

.jv-entries-table tbody td[b-e2rw8dwbcx] {
    border-bottom: 1px solid #f1f5f9;
    padding: 0.28rem 0.4rem;
    vertical-align: middle;
}

.jv-entries-table tbody tr:hover td[b-e2rw8dwbcx] {
    background: #fafbff;
}

.jv-entries-table tbody tr.jv-row-invalid td[b-e2rw8dwbcx] {
    background: #fffbeb;
}

.jv-row-num[b-e2rw8dwbcx] {
    text-align: center;
    font-size: 0.62rem;
    font-weight: 700;
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
}

.jv-amount-input[b-e2rw8dwbcx] {
    width: 100%;
    font-size: 0.74rem;
    padding: 0.28rem 0.4rem;
    min-height: 32px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    background: #fff;
}

.jv-amount-input--dr:focus[b-e2rw8dwbcx] {
    border-color: #60a5fa;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.12);
    outline: none;
}

.jv-amount-input--cr:focus[b-e2rw8dwbcx] {
    border-color: #34d399;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.12);
    outline: none;
}

.jv-narr-input[b-e2rw8dwbcx] {
    width: 100%;
    font-size: 0.72rem;
    padding: 0.28rem 0.4rem;
    min-height: 32px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.jv-narr-input:focus[b-e2rw8dwbcx] {
    border-color: #c7d2fe;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
    outline: none;
}

.jv-btn-del-row[b-e2rw8dwbcx] {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    border: 1px solid #fecaca;
    background: #fff;
    color: #dc2626;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    font-size: 0.78rem;
    transition: background 0.12s;
}

.jv-btn-del-row:hover[b-e2rw8dwbcx] {
    background: #fef2f2;
}

.jv-empty-lines[b-e2rw8dwbcx] {
    text-align: center;
    color: #94a3b8;
    padding: 1.4rem 0.5rem !important;
    font-size: 0.74rem;
}

.jv-empty-lines i[b-e2rw8dwbcx] {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: #c7d2fe;
}

.jv-balance-strip[b-e2rw8dwbcx] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.55rem;
    padding: 0.45rem 0.65rem;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.jv-balance-chip[b-e2rw8dwbcx] {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    border-radius: 8px;
    padding: 0.22rem 0.55rem;
    font-size: 0.68rem;
    font-weight: 600;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.jv-balance-chip--dr[b-e2rw8dwbcx] { border-color: #bfdbfe; color: #1d4ed8; background: #eff6ff; }
.jv-balance-chip--cr[b-e2rw8dwbcx] { border-color: #a7f3d0; color: #047857; background: #ecfdf5; }
.jv-balance-chip--ok[b-e2rw8dwbcx] { border-color: #86efac; color: #15803d; background: #f0fdf4; }
.jv-balance-chip--err[b-e2rw8dwbcx] { border-color: #fca5a5; color: #b91c1c; background: #fef2f2; }

.jv-balance-hint[b-e2rw8dwbcx] {
    font-size: 0.62rem;
    color: #94a3b8;
    margin-left: auto;
}

.jv-action-bar[b-e2rw8dwbcx] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 30;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 16px rgba(16, 24, 40, 0.08);
    padding: 0.38rem 0.75rem;
}

.jv-action-inner[b-e2rw8dwbcx] {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.jv-action-summary[b-e2rw8dwbcx] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.28rem;
}

.jv-action-pill[b-e2rw8dwbcx] {
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
    border-radius: 999px;
    padding: 0.14rem 0.5rem;
    font-size: 0.65rem;
    font-weight: 600;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    color: #475569;
}

.jv-action-pill--ok[b-e2rw8dwbcx] { border-color: #86efac; background: #f0fdf4; color: #15803d; }
.jv-action-pill--err[b-e2rw8dwbcx] { border-color: #fca5a5; background: #fef2f2; color: #b91c1c; }

.jv-action-btns[b-e2rw8dwbcx] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.jv-btn-save[b-e2rw8dwbcx] {
    border: none;
    border-radius: 8px;
    padding: 0.32rem 0.9rem;
    font-size: 0.72rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    min-height: 34px;
}

.jv-btn-save:disabled[b-e2rw8dwbcx] {
    opacity: 0.65;
    cursor: not-allowed;
}

.jv-btn-save--primary[b-e2rw8dwbcx] {
    background: linear-gradient(135deg, #4338ca, #6366f1);
    color: #fff;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35);
}

.jv-btn-save--success[b-e2rw8dwbcx] {
    background: linear-gradient(135deg, #047857, #059669);
    color: #fff;
}

@media (max-width: 992px) {
    .jv-hero-fields[b-e2rw8dwbcx] {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .jv-hero-fields[b-e2rw8dwbcx] {
        grid-template-columns: 1fr;
    }

    .jv-hero-field--narr[b-e2rw8dwbcx] {
        grid-column: 1 / -1;
    }

    .jv-balance-hint[b-e2rw8dwbcx] {
        margin-left: 0;
        width: 100%;
    }
}
/* /Components/Pages/AccountPage/JournalVoucher/JournalVoucherListPage.razor.rz.scp.css */
.jv-wrap[b-r3y887s3n2] {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: #f3f5fb;
    font-size: 0.77rem;
    color: #1f2937;
}

.jv-topbar[b-r3y887s3n2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    background: linear-gradient(135deg, #1a2744 0%, #2d4a8a 55%, #3b6fd4 100%);
    color: #fff;
    padding: 0.42rem 0.82rem;
    border-radius: 8px;
    position: relative;
    z-index: 1;
    box-shadow: 0 1px 4px rgba(16, 24, 40, 0.18);
}

.jv-topbar-left[b-r3y887s3n2] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.jv-topbar-icon[b-r3y887s3n2] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.jv-topbar-title[b-r3y887s3n2] {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.1;
}

.jv-topbar-sub[b-r3y887s3n2] {
    display: block;
    font-size: 0.65rem;
    opacity: 0.82;
    margin-top: 0.04rem;
}

.jv-top-actions[b-r3y887s3n2] {
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
}

.jv-btn-create[b-r3y887s3n2] {
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 7px;
    padding: 0.28rem 0.72rem;
    font-size: 0.72rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #f97316;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(249, 115, 22, 0.35);
    transition: background 0.15s, transform 0.1s;
}

.jv-btn-create:hover[b-r3y887s3n2] {
    background: #ea580c;
    color: #fff;
    transform: translateY(-1px);
}

.jv-body[b-r3y887s3n2] {
    max-width: 1380px;
    width: 100%;
    margin: 0 auto;
    padding: 0.85rem 0.7rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.jv-stats-strip[b-r3y887s3n2] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.38rem;
}

.jv-stat[b-r3y887s3n2] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.4rem 0.55rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.jv-stat-icon[b-r3y887s3n2] {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
}

.jv-stat-icon--blue[b-r3y887s3n2] { background: #dbeafe; color: #1d4ed8; }
.jv-stat-icon--amber[b-r3y887s3n2] { background: #fef3c7; color: #b45309; }
.jv-stat-icon--green[b-r3y887s3n2] { background: #dcfce7; color: #15803d; }

.jv-stat-label[b-r3y887s3n2] {
    display: block;
    font-size: 0.56rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
}

.jv-stat-val[b-r3y887s3n2] {
    display: block;
    margin-top: 0.04rem;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.1;
    color: #111827;
}

.jv-filter-card[b-r3y887s3n2],
.jv-table-card[b-r3y887s3n2] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
}

.jv-filter-bar[b-r3y887s3n2] {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.45rem 0.58rem;
}

.jv-field[b-r3y887s3n2] {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
}

.jv-field-label[b-r3y887s3n2] {
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    font-weight: 600;
}

.jv-field--search[b-r3y887s3n2] { flex: 1 1 180px; }
.jv-field--date[b-r3y887s3n2] { flex: 0 1 200px; }
.jv-field--type[b-r3y887s3n2] { flex: 0 1 160px; }

.jv-search-wrap[b-r3y887s3n2] {
    position: relative;
}

.jv-search-ico[b-r3y887s3n2] {
    position: absolute;
    left: 0.42rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.78rem;
    pointer-events: none;
}

.jv-input[b-r3y887s3n2],
.jv-select[b-r3y887s3n2] {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 7px;
    padding: 0.3rem 0.5rem;
    font-size: 0.74rem;
    background: #fff;
    color: #1f2937;
    min-height: 30px;
}

.jv-input--search[b-r3y887s3n2] {
    padding-left: 1.55rem;
}

.jv-input:focus[b-r3y887s3n2],
.jv-select:focus[b-r3y887s3n2] {
    outline: none;
    border-color: #93c5fd;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.14);
}

.jv-btn-search[b-r3y887s3n2] {
    border: none;
    border-radius: 7px;
    padding: 0.3rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 600;
    background: linear-gradient(135deg, #1e3a5f, #2d4a8a);
    color: #fff;
    cursor: pointer;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    white-space: nowrap;
}

.jv-btn-search:hover[b-r3y887s3n2] {
    filter: brightness(1.08);
}

.jv-table-card[b-r3y887s3n2] {
    overflow: hidden;
}

.jv-loading[b-r3y887s3n2],
.jv-empty[b-r3y887s3n2] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 2rem 1rem;
    color: #64748b;
    font-size: 0.78rem;
}

.jv-spinner[b-r3y887s3n2] {
    width: 28px;
    height: 28px;
    border: 3px solid #e5e7eb;
    border-top-color: #3b6fd4;
    border-radius: 50%;
    animation: jv-spin-b-r3y887s3n2 0.7s linear infinite;
}

@keyframes jv-spin-b-r3y887s3n2 {
    to { transform: rotate(360deg); }
}

.jv-empty-icon[b-r3y887s3n2] {
    font-size: 1.6rem;
    color: #cbd5e1;
}

.jv-grid-wrap[b-r3y887s3n2] {
    padding: 0.2rem 0.35rem 0.45rem;
}

.jv-grid-wrap[b-r3y887s3n2]  .rz-data-grid {
    border: none;
    font-size: 0.72rem;
}

.jv-grid-wrap[b-r3y887s3n2]  .rz-grid-table {
    font-size: 0.72rem;
}

.jv-grid-wrap[b-r3y887s3n2]  .rz-grid-table thead th {
    background: #f8fafc !important;
    border-bottom: 1px solid #e5e7eb !important;
    color: #475569 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.58rem !important;
    font-weight: 700 !important;
    padding: 0.28rem 0.4rem !important;
}

.jv-grid-wrap[b-r3y887s3n2]  .rz-grid-table tbody td {
    padding: 0.22rem 0.4rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
    vertical-align: middle !important;
}

.jv-grid-wrap[b-r3y887s3n2]  .rz-grid-table tbody tr:hover td {
    background: #f8fbff !important;
}

.jv-grid-wrap[b-r3y887s3n2]  .rz-paginator {
    padding: 0.25rem 0.4rem !important;
    font-size: 0.68rem !important;
    border-top: 1px solid #f1f5f9;
}

.jv-vno[b-r3y887s3n2] {
    font-weight: 700;
    color: #1e40af;
    font-variant-numeric: tabular-nums;
}

.jv-type-pill[b-r3y887s3n2] {
    display: inline-flex;
    border-radius: 999px;
    padding: 0.06rem 0.38rem;
    font-size: 0.6rem;
    font-weight: 600;
    background: #eef2ff;
    color: #3730a3;
    border: 1px solid #c7d2fe;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jv-amount[b-r3y887s3n2] {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #0f172a;
}

.jv-date[b-r3y887s3n2] {
    font-variant-numeric: tabular-nums;
    color: #475569;
    font-size: 0.7rem;
}

.jv-act-grp[b-r3y887s3n2] {
    display: inline-flex;
    align-items: center;
    gap: 0.18rem;
}

.jv-act-btn[b-r3y887s3n2] {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
    transition: background 0.12s, color 0.12s, border-color 0.12s;
}

.jv-act-btn:hover[b-r3y887s3n2] {
    background: #f8fafc;
}

.jv-act-btn--edit:hover[b-r3y887s3n2] { border-color: #93c5fd; color: #1d4ed8; background: #eff6ff; }
.jv-act-btn--view:hover[b-r3y887s3n2] { border-color: #86efac; color: #15803d; background: #f0fdf4; }
.jv-act-btn--del:hover[b-r3y887s3n2] { border-color: #fca5a5; color: #b91c1c; background: #fef2f2; }

@media (max-width: 768px) {
    .jv-stats-strip[b-r3y887s3n2] {
        grid-template-columns: 1fr;
    }

    .jv-topbar[b-r3y887s3n2] {
        flex-wrap: wrap;
    }
}
/* /Components/Pages/Admin/DiscountsPage.razor.rz.scp.css */
/* Cashbook / P&L visual system — Discount Management */
.pnl-wrap[b-qp4wb61f1c] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f0f2f8;
    font-size: 0.78rem;
    color: #1a1f36;
}

.pnl-topbar[b-qp4wb61f1c] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    color: #fff;
    padding: 0.45rem 1rem;
    gap: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
    position: sticky;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
}
.pnl-topbar-left[b-qp4wb61f1c] { display: flex; align-items: center; gap: 0.55rem; }
.pnl-topbar-icon[b-qp4wb61f1c] { font-size: 1.15rem; opacity: 0.85; }
.pnl-topbar-title[b-qp4wb61f1c] { display: block; font-size: 0.88rem; font-weight: 700; letter-spacing: 0.01em; }
.pnl-topbar-sub[b-qp4wb61f1c] { display: block; font-size: 0.62rem; opacity: 0.7; margin-top: 0.05rem; }
.pnl-top-actions[b-qp4wb61f1c] { display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; }

.pnl-btn[b-qp4wb61f1c] {
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
    padding: 0.26rem 0.75rem;
    border: none;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: opacity .14s, background .14s;
    white-space: nowrap;
}
.pnl-btn:disabled[b-qp4wb61f1c] { opacity: 0.45; cursor: not-allowed; }
.pnl-btn--new[b-qp4wb61f1c] { background: #fff; color: #1e2d5a; }
.pnl-btn--new:hover:not(:disabled)[b-qp4wb61f1c] { background: #eef2ff; }
.pnl-btn--reset[b-qp4wb61f1c] { background: #eef1f7; color: #475569; border: 1px solid #d8dff0; min-height: 1.8rem; }

.pnl-body[b-qp4wb61f1c] {
    flex: 1;
    padding: 0.65rem 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
}

.pnl-filter-card[b-qp4wb61f1c] {
    background: #fff;
    border: 1px solid #e2e7f3;
    border-radius: 8px;
    padding: 0.55rem 0.85rem;
    box-shadow: 0 1px 3px rgba(30,45,90,.05);
}
.pnl-filter-row[b-qp4wb61f1c] {
    display: flex;
    align-items: flex-end;
    gap: 0.85rem;
    flex-wrap: wrap;
}
.pnl-field-group[b-qp4wb61f1c] { display: flex; flex-direction: column; gap: 0.18rem; }
.pnl-field-label[b-qp4wb61f1c] {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8492b4;
}
.pnl-field-wrap[b-qp4wb61f1c] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid #d8dff0;
    border-radius: 6px;
    padding: 0 0.45rem;
    background: #f7f9fd;
    min-height: 1.8rem;
    min-width: 120px;
}
.pnl-field-ico[b-qp4wb61f1c] { font-size: 0.72rem; color: #8492b4; flex-shrink: 0; }
.pnl-field-input[b-qp4wb61f1c] {
    border: none;
    background: transparent;
    font-size: 0.78rem;
    color: #1a1f36;
    width: 100%;
    outline: none;
    padding: 0.1rem 0;
}

.pnl-gen-btn[b-qp4wb61f1c] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.32rem 1rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .14s;
    white-space: nowrap;
    min-height: 1.8rem;
}
.pnl-gen-btn:hover:not(:disabled)[b-qp4wb61f1c] { opacity: 0.88; }
.pnl-gen-btn:disabled[b-qp4wb61f1c] { opacity: 0.55; cursor: not-allowed; }

.pnl-kpi-strip[b-qp4wb61f1c] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}
@media (max-width: 900px) { .pnl-kpi-strip[b-qp4wb61f1c] { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pnl-kpi-strip[b-qp4wb61f1c] { grid-template-columns: 1fr; } }

.pnl-kpi[b-qp4wb61f1c] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #fff;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    border: 1px solid #e2e7f3;
    box-shadow: 0 1px 3px rgba(30,45,90,.05);
    position: relative;
    overflow: hidden;
}
.pnl-kpi[b-qp4wb61f1c]::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    border-radius: 3px 0 0 3px;
}
.pnl-kpi--revenue[b-qp4wb61f1c]::before { background: #2e4494; }
.pnl-kpi--cogs[b-qp4wb61f1c]::before { background: #dc2626; }
.pnl-kpi--gross[b-qp4wb61f1c]::before { background: #0891b2; }
.pnl-kpi--profit[b-qp4wb61f1c]::before { background: #16a34a; }
.pnl-kpi-icon[b-qp4wb61f1c] { font-size: 1.1rem; flex-shrink: 0; opacity: 0.75; }
.pnl-kpi--revenue .pnl-kpi-icon[b-qp4wb61f1c] { color: #2e4494; }
.pnl-kpi--cogs .pnl-kpi-icon[b-qp4wb61f1c] { color: #dc2626; }
.pnl-kpi--gross .pnl-kpi-icon[b-qp4wb61f1c] { color: #0891b2; }
.pnl-kpi--profit .pnl-kpi-icon[b-qp4wb61f1c] { color: #16a34a; }
.pnl-kpi-body[b-qp4wb61f1c] { display: flex; flex-direction: column; gap: 0.04rem; min-width: 0; }
.pnl-kpi-label[b-qp4wb61f1c] {
    font-size: 0.59rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8492b4;
}
.pnl-kpi-val[b-qp4wb61f1c] { font-size: 0.95rem; font-weight: 700; color: #1a1f36; }

.pnl-report-card[b-qp4wb61f1c] {
    background: #fff;
    border: 1px solid #e2e7f3;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(30,45,90,.06);
    overflow: hidden;
}

.pnl-state[b-qp4wb61f1c] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 3rem 2rem;
    color: #8492b4;
    text-align: center;
}
.pnl-state-icon[b-qp4wb61f1c] { font-size: 2rem; opacity: 0.4; }
.pnl-state-title[b-qp4wb61f1c] { font-size: 0.85rem; font-weight: 600; color: #4b5563; }
.pnl-state-sub[b-qp4wb61f1c] { font-size: 0.72rem; color: #9ca3af; }

.pnl-spinner[b-qp4wb61f1c] {
    width: 1.4rem; height: 1.4rem;
    border: 2px solid #e2e7f3;
    border-top-color: #2e4494;
    border-radius: 50%;
    animation: pnl-spin-b-qp4wb61f1c .7s linear infinite;
}
.pnl-spinner-sm[b-qp4wb61f1c] {
    display: inline-block;
    width: 0.75rem; height: 0.75rem;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: pnl-spin-b-qp4wb61f1c .7s linear infinite;
}
@keyframes pnl-spin-b-qp4wb61f1c { to { transform: rotate(360deg); } }

.cb-grid-toolbar[b-qp4wb61f1c] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.45rem 0.75rem;
    border-bottom: 1px solid #eef1f7;
    background: #f8fafc;
}
.cb-grid-meta[b-qp4wb61f1c] { font-size: 0.68rem; color: #8492b4; font-weight: 600; }

.pnl-table-wrap[b-qp4wb61f1c] { overflow-x: auto; }
.pnl-table[b-qp4wb61f1c] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.72rem;
}
.pnl-table thead tr[b-qp4wb61f1c] {
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    color: #fff;
}
.pnl-table th[b-qp4wb61f1c] {
    padding: 0.42rem 0.65rem;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    border: none;
}
.pnl-table td[b-qp4wb61f1c] {
    padding: 0.38rem 0.65rem;
    border-bottom: 1px solid #eef1f7;
    vertical-align: middle;
    color: #1a1f36;
}
.pnl-table tbody tr:hover[b-qp4wb61f1c] { background: #f7f9fd; }

.dm-code[b-qp4wb61f1c] { font-weight: 700; font-family: ui-monospace, monospace; font-size: 0.68rem; }
.dm-name[b-qp4wb61f1c] {
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #334155;
}
.dm-amt[b-qp4wb61f1c] { font-weight: 700; color: #1e2d5a; font-variant-numeric: tabular-nums; }
.dm-muted[b-qp4wb61f1c] { color: #94a3b8; }
.dm-range[b-qp4wb61f1c] { white-space: nowrap; color: #475569; font-size: 0.7rem; }
.dm-arrow[b-qp4wb61f1c] { color: #cbd5e1; margin: 0 0.2rem; }
.dm-prio[b-qp4wb61f1c] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    font-size: 0.65rem;
    font-weight: 700;
    color: #475569;
}

.dm-pill[b-qp4wb61f1c] {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.14rem 0.45rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
}
.dm-pill--pct[b-qp4wb61f1c] { background: #dcfce7; color: #166534; }
.dm-pill--fixed[b-qp4wb61f1c] { background: #fef3c7; color: #92400e; }
.dm-pill--ok[b-qp4wb61f1c] { background: #dcfce7; color: #166534; }
.dm-pill--warn[b-qp4wb61f1c] { background: #fef9c3; color: #854d0e; }
.dm-pill--bad[b-qp4wb61f1c] { background: #fee2e2; color: #991b1b; }
.dm-pill--mute[b-qp4wb61f1c] { background: #f1f5f9; color: #475569; }
.dm-pill--info[b-qp4wb61f1c] { background: #dbeafe; color: #1e40af; }

.dm-actions[b-qp4wb61f1c] { display: inline-flex; gap: 0.25rem; justify-content: flex-end; }
.dm-ico[b-qp4wb61f1c] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    border-radius: 6px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
}
.dm-ico--edit[b-qp4wb61f1c] { color: #2563eb; border-color: #bfdbfe; }
.dm-ico--edit:hover[b-qp4wb61f1c] { background: #eff6ff; }
.dm-ico--del[b-qp4wb61f1c] { color: #b91c1c; border-color: #fecaca; }
.dm-ico--del:hover[b-qp4wb61f1c] { background: #fef2f2; }

.dm-promo-bar[b-qp4wb61f1c] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.85rem;
    background: #fffbeb;
    border-bottom: 1px solid #fde68a;
    color: #92400e;
}
.dm-promo-bar strong[b-qp4wb61f1c] { display: block; font-size: 0.78rem; color: #0f172a; }
.dm-promo-bar span[b-qp4wb61f1c] { font-size: 0.65rem; color: #94a3b8; }
/* /Components/Pages/ExpensePage/AddExpense.razor.rz.scp.css */
.ae-wrap[b-owcew1a81x] {
    font-size: 0.79rem;
    color: #1f2937;
}

.ae-head[b-owcew1a81x] {
    padding: 0.15rem 0.2rem;
}

.ae-voucher[b-owcew1a81x] {
    font-size: 0.68rem;
}

.ae-back-btn[b-owcew1a81x] {
    padding: 0.28rem 0.72rem;
    font-size: 0.7rem;
}

.ae-kpi-row[b-owcew1a81x] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.36rem;
    margin-bottom: 0.45rem;
}

.ae-kpi[b-owcew1a81x] {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    padding: 0.3rem 0.45rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ae-kpi > span[b-owcew1a81x] {
    font-size: 0.61rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
}

.ae-kpi > strong[b-owcew1a81x] {
    font-size: 0.76rem;
}

.ae-kpi--total[b-owcew1a81x] {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.ae-kpi--total > strong[b-owcew1a81x] {
    color: #1d4ed8;
}

.ae-wrap .card[b-owcew1a81x] {
    border-radius: 9px;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05) !important;
}

.ae-wrap .card-header[b-owcew1a81x] {
    padding: 0.4rem 0.62rem;
}

.ae-wrap .card-body[b-owcew1a81x] {
    padding: 0.52rem 0.62rem;
}

.ae-wrap .ae-card-head[b-owcew1a81x] {
    border-bottom: 1px solid #eef2f7 !important;
}

.ae-wrap h6[b-owcew1a81x] {
    font-size: 0.8rem;
}

.ae-wrap .form-label[b-owcew1a81x] {
    margin-bottom: 0.12rem;
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7280;
}

.ae-wrap .form-control[b-owcew1a81x],
.ae-wrap .form-select[b-owcew1a81x] {
    min-height: 29px;
    font-size: 0.7rem;
    padding: 0.2rem 0.36rem;
}

.ae-wrap .form-control:focus[b-owcew1a81x],
.ae-wrap .form-select:focus[b-owcew1a81x] {
    border-color: #93c5fd;
    box-shadow: 0 0 0 0.14rem rgba(59, 130, 246, 0.14);
}

.ae-wrap .table > :not(caption) > * > *[b-owcew1a81x] {
    padding: 0.3rem 0.35rem;
    font-size: 0.69rem;
}

.ae-wrap .ae-lines-table thead th[b-owcew1a81x] {
    font-size: 0.6rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #64748b;
    white-space: nowrap;
}

.ae-wrap .btn[b-owcew1a81x] {
    font-size: 0.69rem;
    padding-top: 0.24rem;
    padding-bottom: 0.24rem;
}

.ae-wrap .ae-add-line-btn[b-owcew1a81x] {
    border-color: #c7d2fe;
    color: #3730a3;
}

.ae-wrap .ae-add-line-btn:hover[b-owcew1a81x] {
    background: #eef2ff;
}

.ae-wrap .ae-del-btn[b-owcew1a81x] {
    padding-inline: 0.36rem;
}

.ae-wrap .ae-pill-count[b-owcew1a81x] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #1e40af;
    color: #fff;
    font-size: 0.62rem;
    margin-left: 0.25rem;
}

.ae-wrap .ae-summary-head[b-owcew1a81x] {
    background: linear-gradient(135deg, #f59e0b 0%, #fb923c 100%) !important;
}

.ae-wrap .ae-action-stack .btn[b-owcew1a81x] {
    font-weight: 600;
}

.ae-wrap .ae-chip-wrap[b-owcew1a81x] {
    max-height: 210px;
    overflow: auto;
}

.ae-wrap .ae-chip-used[b-owcew1a81x] {
    border-color: #bbf7d0;
    color: #15803d;
    background: #f0fdf4;
}

@media (max-width: 991.98px) {
    .ae-wrap .position-sticky[b-owcew1a81x] {
        position: static !important;
        top: auto !important;
    }
    .ae-kpi-row[b-owcew1a81x] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .ae-wrap[b-owcew1a81x] {
        font-size: 0.74rem;
    }

    .ae-wrap .container-fluid[b-owcew1a81x] {
        padding-left: 0.35rem;
        padding-right: 0.35rem;
    }

    .ae-wrap .row.g-2[b-owcew1a81x],
    .ae-wrap .row.g-4[b-owcew1a81x] {
        --bs-gutter-x: 0.44rem;
        --bs-gutter-y: 0.44rem;
    }

    .ae-wrap .ae-form-grid[b-owcew1a81x] {
        --bs-gutter-x: 0.42rem;
        --bs-gutter-y: 0.34rem;
    }

    .ae-wrap .card-header[b-owcew1a81x] {
        padding: 0.4rem 0.5rem;
    }

    .ae-wrap .card-body[b-owcew1a81x] {
        padding: 0.46rem 0.5rem;
    }

    .ae-wrap h4[b-owcew1a81x] {
        font-size: 0.9rem;
        margin-bottom: 0.14rem;
    }

    .ae-wrap .form-label[b-owcew1a81x] {
        font-size: 0.58rem;
        margin-bottom: 0.08rem;
    }

    .ae-wrap .form-control[b-owcew1a81x],
    .ae-wrap .form-select[b-owcew1a81x] {
        min-height: 27px;
        font-size: 0.65rem;
        padding: 0.16rem 0.3rem;
    }

    .ae-wrap .table > :not(caption) > * > *[b-owcew1a81x] {
        padding: 0.26rem 0.28rem;
        font-size: 0.63rem;
    }

    .ae-wrap .btn[b-owcew1a81x] {
        font-size: 0.63rem;
        padding-top: 0.2rem;
        padding-bottom: 0.2rem;
    }

    .ae-wrap .table-responsive[b-owcew1a81x] {
        border-radius: 8px;
    }

    .ae-kpi-row[b-owcew1a81x] {
        grid-template-columns: 1fr;
        gap: 0.28rem;
    }
}
/* /Components/Pages/ExpensePage/DailyExpenses.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════
   Daily Expenses — Modern Enterprise Design (de-*)
   ═══════════════════════════════════════════════════════ */

.de-wrap[b-55xn2ibvg1] {
    display: flex; flex-direction: column; min-height: 100vh;
    background: #f0f2f8; font-size: 0.76rem; color: #1a1f36;
}

/* ── Top bar ── */
.de-topbar[b-55xn2ibvg1] {
    display: flex; align-items: center;
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    color: #fff; padding: 0.32rem 0.75rem; gap: 0.75rem;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
    position: sticky; top: 0; z-index: 100; flex-wrap: wrap;
}
.de-topbar-left[b-55xn2ibvg1]  { display: flex; align-items: center; gap: 0.5rem; flex: 1; min-width: 0; }
.de-topbar-icon[b-55xn2ibvg1]  { font-size: 1.1rem; opacity: .9; flex-shrink: 0; }
.de-topbar-title[b-55xn2ibvg1] { display: block; font-size: 0.86rem; font-weight: 700; letter-spacing: .01em; }
.de-topbar-sub[b-55xn2ibvg1]   { display: block; font-size: 0.62rem; opacity: .75; margin-top: .02rem; }
.de-top-actions[b-55xn2ibvg1]  { display: inline-flex; align-items: center; gap: .35rem; flex-shrink: 0; }

/* ── Body ── */
.de-body[b-55xn2ibvg1] {
    flex: 1; padding: .45rem .75rem 2rem;
    display: flex; flex-direction: column; gap: .4rem;
    max-width: 1200px; width: 100%; margin: 0 auto;
}

/* ── Stats strip ── */
.de-stats-strip[b-55xn2ibvg1] { display: grid; grid-template-columns: repeat(4,1fr); gap: .4rem; }
.de-stat[b-55xn2ibvg1] {
    background: #fff; border-radius: 8px; border: 1px solid #e2e7f3;
    padding: .55rem .7rem; display: flex; align-items: center; gap: .55rem;
    box-shadow: 0 1px 3px rgba(30,45,90,.05);
}
.de-stat-icon[b-55xn2ibvg1] {
    width: 36px; height: 36px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; flex-shrink: 0;
}
.de-stat-icon--blue[b-55xn2ibvg1]  { background:#eff6ff; color:#1d4ed8; }
.de-stat-icon--green[b-55xn2ibvg1] { background:#f0fdf4; color:#15803d; }
.de-stat-icon--amber[b-55xn2ibvg1] { background:#fffbeb; color:#b45309; }
.de-stat-icon--grey[b-55xn2ibvg1]  { background:#f8fafc; color:#64748b; }
.de-stat-label[b-55xn2ibvg1] { display:block; font-size:.59rem; font-weight:700; text-transform:uppercase; letter-spacing:.07em; color:#8492b4; margin-bottom:.1rem; }
.de-stat-val[b-55xn2ibvg1]   { display:block; font-size:1rem; font-weight:700; color:#1a1f36; line-height:1.1; }
.de-stat-val--blue[b-55xn2ibvg1]  { color:#1d4ed8; }
.de-stat-val--green[b-55xn2ibvg1] { color:#15803d; }
.de-stat-val--amber[b-55xn2ibvg1] { color:#b45309; }
@media (max-width:768px) { .de-stats-strip[b-55xn2ibvg1] { grid-template-columns:1fr 1fr; } }

/* ── Filter bar ── */
.de-filter-card[b-55xn2ibvg1] {
    background:#fff; border-radius:8px; border:1px solid #e2e7f3;
    padding:.5rem .7rem; box-shadow:0 1px 3px rgba(30,45,90,.05);
}
.de-filter-bar[b-55xn2ibvg1]  { display:flex; align-items:flex-end; gap:.5rem; flex-wrap:wrap; }
.de-filter-group[b-55xn2ibvg1] { display:flex; flex-direction:column; gap:.1rem; }
.de-filter-label[b-55xn2ibvg1] { font-size:.59rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:#8492b4; }
.de-input[b-55xn2ibvg1] {
    padding:.25rem .5rem; border:1px solid #d1d9ef; border-radius:5px;
    font-size:.74rem; color:#1a1f36; background:#fff; outline:none;
    transition:border-color .15s; min-width:130px;
}
.de-input:focus[b-55xn2ibvg1] { border-color:#2e4494; box-shadow:0 0 0 2px rgba(46,68,148,.12); }
.de-filter-actions[b-55xn2ibvg1] { display:inline-flex; align-items:flex-end; gap:.3rem; margin-left:auto; }

/* ── Table card ── */
.de-table-card[b-55xn2ibvg1] {
    background:#fff; border-radius:8px; border:1px solid #e2e7f3;
    overflow:hidden; box-shadow:0 1px 4px rgba(30,45,90,.06);
}
.de-loading[b-55xn2ibvg1] {
    display:flex; flex-direction:column; align-items:center;
    justify-content:center; padding:3rem 1rem; gap:.5rem; color:#8492b4; font-size:.78rem;
}
.de-spinner[b-55xn2ibvg1] {
    width:28px; height:28px; border:3px solid #e2e7f3; border-top-color:#2e4494;
    border-radius:50%; animation:de-spin-b-55xn2ibvg1 .7s linear infinite;
}
@keyframes de-spin-b-55xn2ibvg1 { to { transform:rotate(360deg); } }
.de-empty[b-55xn2ibvg1] {
    display:flex; flex-direction:column; align-items:center;
    justify-content:center; padding:3rem 1rem; gap:.35rem; color:#8492b4;
}
.de-empty-icon[b-55xn2ibvg1]  { font-size:2.2rem; opacity:.3; }
.de-empty-title[b-55xn2ibvg1] { font-size:.85rem; font-weight:600; color:#4a5568; }
.de-empty-sub[b-55xn2ibvg1]   { font-size:.72rem; color:#8492b4; }
.de-table-wrap[b-55xn2ibvg1] { overflow-x:auto; }
.de-mob-cards[b-55xn2ibvg1]  { display:none; }
@media (max-width:640px) {
    .de-table-wrap[b-55xn2ibvg1] { display:none; }
    .de-mob-cards[b-55xn2ibvg1]  { display:flex; flex-direction:column; }
}

/* ── Desktop table ── */
.de-table[b-55xn2ibvg1] { width:100%; border-collapse:collapse; font-size:.74rem; }
.de-table thead tr[b-55xn2ibvg1] { background:linear-gradient(135deg,#1e2d5a 0%,#2e4494 100%); }
.de-table thead th[b-55xn2ibvg1] {
    padding:.32rem .5rem; font-size:.6rem; font-weight:700; text-transform:uppercase;
    letter-spacing:.06em; color:rgba(255,255,255,.9); white-space:nowrap; border:none; text-align:left;
}
.de-table tbody tr[b-55xn2ibvg1] { border-bottom:1px solid #f0f3fa; transition:background .1s; }
.de-table tbody tr:hover[b-55xn2ibvg1] { background:#f5f7ff; }
.de-table td[b-55xn2ibvg1] { padding:.3rem .5rem; vertical-align:middle; border:none; }
.de-table tfoot[b-55xn2ibvg1] { background:#fafbfe; }
.de-th-no[b-55xn2ibvg1] { width:3%; } .de-th-vchr[b-55xn2ibvg1] { width:11%; } .de-th-desc[b-55xn2ibvg1] { width:26%; }
.de-th-type[b-55xn2ibvg1] { width:9%; } .de-th-pay[b-55xn2ibvg1] { width:9%; } .de-th-loc[b-55xn2ibvg1] { width:10%; }
.de-th-amt[b-55xn2ibvg1] { width:10%; text-align:right; }
.de-th-sts[b-55xn2ibvg1] { width:8%; text-align:center; }
.de-th-act[b-55xn2ibvg1] { width:14%; text-align:center; }
.de-td-no[b-55xn2ibvg1]   { color:#a0aec0; font-size:.68rem; }
.de-td-vchr[b-55xn2ibvg1] { font-weight:600; color:#1e2d5a; }
.de-td-loc[b-55xn2ibvg1]  { color:#8492b4; font-size:.7rem; }
.de-td-amt[b-55xn2ibvg1]  { text-align:right; font-weight:600; }
.de-td-act[b-55xn2ibvg1]  { text-align:center; }
.de-desc-main[b-55xn2ibvg1] { font-weight:500; }
.de-desc-ref[b-55xn2ibvg1]  { font-size:.64rem; color:#a0aec0; }
.de-tfoot-row .de-tfoot-label[b-55xn2ibvg1] { text-align:right; font-weight:700; color:#4a5568; padding:.35rem .5rem; font-size:.72rem; }
.de-tfoot-row .de-tfoot-val[b-55xn2ibvg1]   { text-align:right; font-weight:700; color:#1e2d5a; font-size:.82rem; padding:.35rem .5rem; }

/* ── Badges ── */
.de-badge[b-55xn2ibvg1] { display:inline-block; padding:.12rem .45rem; border-radius:999px; font-size:.62rem; font-weight:600; white-space:nowrap; }
.de-badge--type[b-55xn2ibvg1]      { background:#f0f3fa; color:#4a5568; }
.de-badge--pay[b-55xn2ibvg1]       { background:#e0f2fe; color:#0369a1; }
.de-badge--approved[b-55xn2ibvg1]  { background:#dcfce7; color:#15803d; }
.de-badge--draft[b-55xn2ibvg1]     { background:#fef9c3; color:#854d0e; }
.de-badge--rejected[b-55xn2ibvg1]  { background:#fee2e2; color:#b91c1c; }
.de-badge--cancelled[b-55xn2ibvg1] { background:#f1f5f9; color:#64748b; }
.de-badge--default[b-55xn2ibvg1]   { background:#f1f5f9; color:#64748b; }

/* ── Action buttons ── */
.de-act-grp[b-55xn2ibvg1] { display:inline-flex; gap:.2rem; align-items:center; }
.de-act-btn[b-55xn2ibvg1] {
    display:inline-flex; align-items:center; justify-content:center;
    width:26px; height:26px; border-radius:5px; border:1px solid;
    background:#fff; cursor:pointer; font-size:.76rem; transition:background .12s;
}
.de-act-btn--edit[b-55xn2ibvg1]    { border-color:#bfdbfe; color:#1d4ed8; } .de-act-btn--edit:hover[b-55xn2ibvg1]    { background:#eff6ff; }
.de-act-btn--approve[b-55xn2ibvg1] { border-color:#bbf7d0; color:#15803d; } .de-act-btn--approve:hover[b-55xn2ibvg1] { background:#f0fdf4; }
.de-act-btn--del[b-55xn2ibvg1]     { border-color:#fecaca; color:#b91c1c; } .de-act-btn--del:hover[b-55xn2ibvg1]     { background:#fef2f2; }
.de-act-btn--muted[b-55xn2ibvg1]   { border-color:#e2e8f0; color:#94a3b8; opacity:0.85; }
.de-act-btn--muted:hover[b-55xn2ibvg1] { background:#f8fafc; color:#64748b; }

/* ── Mobile cards ── */
.de-mob-card[b-55xn2ibvg1] { border-bottom:1px solid #f0f3fa; padding:.65rem .85rem; transition:background .1s; }
.de-mob-card:last-child[b-55xn2ibvg1] { border-bottom:none; }
.de-mob-card-header[b-55xn2ibvg1] { display:flex; justify-content:space-between; align-items:center; margin-bottom:.3rem; }
.de-mob-vchr[b-55xn2ibvg1] { font-weight:700; color:#1e2d5a; font-size:.78rem; }
.de-mob-card-body[b-55xn2ibvg1] { margin-bottom:.35rem; }
.de-mob-desc[b-55xn2ibvg1] { font-size:.74rem; font-weight:500; margin-bottom:.2rem; }
.de-mob-meta[b-55xn2ibvg1] { display:flex; flex-wrap:wrap; gap:.35rem; font-size:.64rem; color:#8492b4; }
.de-mob-meta span[b-55xn2ibvg1] { display:inline-flex; align-items:center; gap:.15rem; }
.de-mob-card-footer[b-55xn2ibvg1] { display:flex; justify-content:space-between; align-items:center; padding-top:.35rem; border-top:1px solid #f0f3fa; }
.de-mob-amt[b-55xn2ibvg1] { font-weight:700; color:#1e2d5a; font-size:.82rem; }
.de-mob-total[b-55xn2ibvg1] {
    display:flex; justify-content:space-between; align-items:center;
    padding:.5rem .85rem;
    background:linear-gradient(135deg,#1e2d5a 0%,#2e4494 100%);
    color:#fff; font-size:.76rem; font-weight:600;
}
.de-mob-total-val[b-55xn2ibvg1] { font-size:.95rem; font-weight:700; }

/* ── Buttons ── */
.de-btn[b-55xn2ibvg1] {
    display:inline-flex; align-items:center; gap:.3rem;
    padding:.25rem .85rem; border-radius:6px; font-size:.74rem;
    font-weight:600; cursor:pointer; border:none;
    transition:opacity .15s,background .15s; text-decoration:none; white-space:nowrap;
}
.de-btn:disabled[b-55xn2ibvg1] { opacity:.65; cursor:not-allowed; }
.de-btn--sm[b-55xn2ibvg1] { padding:.2rem .65rem; font-size:.68rem; }
.de-btn--record[b-55xn2ibvg1] { background:rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.4); color:#fff; }
.de-btn--record:hover[b-55xn2ibvg1] { background:rgba(255,255,255,.28); }
.de-btn--excel[b-55xn2ibvg1]  { background:#dcfce7; color:#15803d; border:1px solid #bbf7d0; } .de-btn--excel:hover[b-55xn2ibvg1]  { background:#bbf7d0; }
.de-btn--csv[b-55xn2ibvg1]    { background:#f0f3fa; color:#4a5568; border:1px solid #d1d9ef; } .de-btn--csv:hover[b-55xn2ibvg1]    { background:#e2e7f3; }
.de-btn--print[b-55xn2ibvg1]  { background:#f8fafc; color:#374151; border:1px solid #d1d5db; } .de-btn--print:hover[b-55xn2ibvg1]  { background:#f1f5f9; }
.de-btn--cancel[b-55xn2ibvg1] { background:#fff; border:1.5px solid #d1d5db; color:#6b7280; } .de-btn--cancel:hover[b-55xn2ibvg1] { background:#f9fafb; }
.de-btn--draft[b-55xn2ibvg1]  { background:linear-gradient(135deg,#374151 0%,#4b5563 100%); color:#fff; box-shadow:0 2px 4px rgba(55,65,81,.2); }
.de-btn--draft:hover:not(:disabled)[b-55xn2ibvg1]        { opacity:.88; }
.de-btn--approve-save[b-55xn2ibvg1] { background:linear-gradient(135deg,#14532d 0%,#16a34a 100%); color:#fff; box-shadow:0 2px 4px rgba(20,83,45,.25); }
.de-btn--approve-save:hover:not(:disabled)[b-55xn2ibvg1] { opacity:.88; }
.de-btn--add-line[b-55xn2ibvg1] { background:#eff6ff; color:#1d4ed8; border:1px solid #bfdbfe; padding:.18rem .55rem; font-size:.68rem; }
.de-btn--add-line:hover[b-55xn2ibvg1] { background:#dbeafe; }

/* ════════════════════════════════════════════════════════
   Modal
   ════════════════════════════════════════════════════════ */
.de-overlay[b-55xn2ibvg1] {
    position:fixed; inset:0; background:rgba(15,20,40,.58);
    z-index:9000; display:flex; align-items:center; justify-content:center;
    padding:1rem; backdrop-filter:blur(2px);
}
.de-dialog[b-55xn2ibvg1] {
    background:#fff; border-radius:12px; width:100%;
    max-width:800px; max-height:92vh;
    display:flex; flex-direction:column; overflow:hidden;
    box-shadow:0 24px 64px rgba(0,0,0,.28);
    animation:de-dialog-in-b-55xn2ibvg1 .18s ease-out;
}
@keyframes de-dialog-in-b-55xn2ibvg1 { from{transform:translateY(10px);opacity:0} to{transform:translateY(0);opacity:1} }

/* Header */
.de-dialog-header[b-55xn2ibvg1] {
    display:flex; align-items:center; justify-content:space-between;
    background:linear-gradient(135deg,#1e2d5a 0%,#2e4494 100%);
    color:#fff; padding:.52rem .85rem; flex-shrink:0;
}
.de-dialog-header-left[b-55xn2ibvg1] { display:flex; align-items:center; gap:.5rem; }
.de-dialog-icon[b-55xn2ibvg1] {
    width:32px; height:32px; border-radius:8px;
    background:rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.2);
    display:flex; align-items:center; justify-content:center; font-size:.9rem; flex-shrink:0;
}
.de-dialog-title[b-55xn2ibvg1] { display:block; font-size:.84rem; font-weight:700; }
.de-dialog-sub[b-55xn2ibvg1]   { display:block; font-size:.62rem; opacity:.72; margin-top:.02rem; }
.de-dialog-close[b-55xn2ibvg1] {
    display:flex; align-items:center; justify-content:center;
    width:28px; height:28px; border-radius:6px;
    background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.22);
    color:#fff; cursor:pointer; font-size:.82rem; transition:background .12s;
}
.de-dialog-close:hover[b-55xn2ibvg1] { background:rgba(255,255,255,.28); }

/* Body */
.de-dialog-body[b-55xn2ibvg1] {
    flex:1; overflow-y:auto; padding:.6rem .85rem;
    display:flex; flex-direction:column; gap:.5rem;
}

/* ── Compact meta strip ── */
.de-meta-strip[b-55xn2ibvg1] {
    display:flex; flex-wrap:wrap; gap:.35rem .6rem;
    background:#f8fafc; border:1px solid #e2e7f3; border-radius:7px;
    padding:.42rem .55rem;
}
.de-meta-field[b-55xn2ibvg1] { display:flex; flex-direction:column; gap:.08rem; min-width:90px; flex:1; }
.de-meta-field--sm[b-55xn2ibvg1] { flex:0 0 auto; min-width:110px; }
.de-meta-lbl[b-55xn2ibvg1] {
    font-size:.57rem; font-weight:700; text-transform:uppercase;
    letter-spacing:.06em; color:#8492b4;
    display:flex; align-items:center; gap:.18rem;
}
.de-req[b-55xn2ibvg1] { color:#ef4444; }
.de-meta-input[b-55xn2ibvg1], .de-meta-select[b-55xn2ibvg1] {
    padding:.22rem .4rem; border:1px solid #d1d9ef; border-radius:5px;
    font-size:.72rem; color:#1a1f36; background:#fff; outline:none;
    transition:border-color .15s; width:100%;
}
.de-meta-input:focus[b-55xn2ibvg1], .de-meta-select:focus[b-55xn2ibvg1] { border-color:#2e4494; box-shadow:0 0 0 2px rgba(46,68,148,.1); }
.de-meta-mono[b-55xn2ibvg1] { font-size:.72rem; color:#8492b4; font-weight:500; padding:.22rem 0; font-family:monospace; letter-spacing:.03em; }

/* ── Account row ── */
.de-account-row[b-55xn2ibvg1] {
    display:flex; align-items:center; gap:.55rem; flex-wrap:wrap;
    background:#fff; border:1px solid #e2e7f3; border-radius:7px;
    padding:.38rem .55rem;
}
.de-account-row-lbl[b-55xn2ibvg1] {
    font-size:.68rem; font-weight:700; color:#4a5568; white-space:nowrap;
    display:flex; align-items:center; gap:.25rem; flex-shrink:0;
}
.de-account-field[b-55xn2ibvg1] { display:flex; align-items:center; gap:.4rem; flex:1; flex-wrap:wrap; position:relative; min-width:200px; }
.de-acc-ico[b-55xn2ibvg1] { position:absolute; left:.45rem; color:#8492b4; font-size:.78rem; pointer-events:none; }
.de-acc-input[b-55xn2ibvg1] { padding-left:1.65rem !important; flex:1; min-width:0; }
.de-acc-badge[b-55xn2ibvg1] {
    display:inline-flex; align-items:center; gap:.25rem;
    padding:.15rem .5rem; border-radius:999px;
    background:#dcfce7; color:#15803d; border:1px solid #bbf7d0;
    font-size:.65rem; font-weight:600; white-space:nowrap;
}

/* shared input */
.de-minput[b-55xn2ibvg1], .de-mselect[b-55xn2ibvg1] {
    padding:.25rem .45rem; border:1px solid #d1d9ef; border-radius:5px;
    font-size:.74rem; color:#1a1f36; background:#fff; width:100%;
    outline:none; transition:border-color .15s;
}
.de-minput:focus[b-55xn2ibvg1], .de-mselect:focus[b-55xn2ibvg1] { border-color:#2e4494; box-shadow:0 0 0 2px rgba(46,68,148,.1); }

/* ── Description row ── */
.de-desc-field[b-55xn2ibvg1] { display:flex; flex-direction:column; gap:.1rem; }
.de-account-desc-row[b-55xn2ibvg1] {
    display:grid;
    grid-template-columns:minmax(260px, 1.25fr) minmax(220px, 1fr);
    gap:.45rem;
    align-items:end;
}

/* ── Expense entry section ── */
.de-entry-section[b-55xn2ibvg1] {
    background:#f8fafc; border:1px solid #e2e7f3;
    border-radius:8px; padding:.45rem .55rem;
    display:flex; flex-direction:column; gap:.38rem;
}
.de-entry-hdr[b-55xn2ibvg1] {
    display:flex; align-items:center; gap:.5rem; flex-wrap:wrap;
}
.de-entry-title[b-55xn2ibvg1] {
    display:flex; align-items:center; gap:.3rem;
    font-size:.72rem; font-weight:700; color:#1a1f36; flex:1;
}
.de-entry-count[b-55xn2ibvg1] {
    background:#1e2d5a; color:#fff; font-size:.6rem; font-weight:700;
    padding:.08rem .38rem; border-radius:999px; line-height:1.4;
}
.de-entry-hint[b-55xn2ibvg1] { font-size:.62rem; color:#a0aec0; flex:1; text-align:center; }

/* ── Category grid (toggles) ── */
.de-cat-grid[b-55xn2ibvg1] {
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(88px,1fr));
    gap:.28rem;
}
.de-cat-chip[b-55xn2ibvg1] {
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    gap:.18rem; padding:.3rem .3rem .28rem;
    border-radius:7px; border:1.5px solid #e2e7f3; background:#fff;
    font-size:.64rem; font-weight:600; color:#4a5568;
    cursor:pointer; transition:all .15s; position:relative; text-align:center;
    min-height:48px;
}
.de-cat-chip i[b-55xn2ibvg1]   { font-size:.95rem; opacity:.7; }
.de-cat-chip span[b-55xn2ibvg1] { line-height:1.2; }
.de-cat-chip:hover[b-55xn2ibvg1] { border-color:#bfdbfe; background:#eff6ff; color:#1d4ed8; }
.de-cat-chip:hover i[b-55xn2ibvg1] { opacity:1; }

/* Active (selected) state */
.de-cat-chip--on[b-55xn2ibvg1] { background:#1e2d5a; color:#fff; border-color:#1e2d5a; }
.de-cat-chip--on i[b-55xn2ibvg1]    { opacity:1; }
.de-cat-chip--on:hover[b-55xn2ibvg1] { background:#2e4494; border-color:#2e4494; }
.de-chip-check[b-55xn2ibvg1] {
    position:absolute; top:.2rem; right:.22rem;
    font-size:.55rem; color:#4ade80; font-weight:900;
}

/* ── Expense lines ── */
.de-lines-table-wrap[b-55xn2ibvg1] { display:flex; flex-direction:column; gap:0; }

/* Column headers */
.de-lines-cols[b-55xn2ibvg1] {
    display:grid;
    grid-template-columns:22px 150px 1fr 110px 28px;
    gap:.28rem; padding:.18rem .4rem;
    font-size:.57rem; font-weight:700; text-transform:uppercase;
    letter-spacing:.06em; color:#8492b4;
}
.de-lc-no[b-55xn2ibvg1]  { text-align:center; }
.de-lc-amt[b-55xn2ibvg1] { text-align:right; }

/* Each line */
.de-expense-line[b-55xn2ibvg1] {
    display:grid;
    grid-template-columns:22px 150px 1fr 110px 28px;
    gap:.28rem; align-items:center;
    background:#fff; border:1px solid #e2e7f3;
    border-radius:6px; padding:.25rem .4rem;
    margin-bottom:.22rem;
    transition:border-color .12s, box-shadow .12s;
}
.de-expense-line:hover[b-55xn2ibvg1] { border-color:#bfdbfe; box-shadow:0 0 0 2px rgba(46,68,148,.06); }

.de-el-no[b-55xn2ibvg1]  { text-align:center; font-size:.62rem; color:#a0aec0; font-weight:700; }
.de-el-cat[b-55xn2ibvg1] { min-width:0; }
.de-el-desc[b-55xn2ibvg1] { min-width:0; }
.de-el-amt[b-55xn2ibvg1]  { }

.de-linput[b-55xn2ibvg1] {
    width:100%; padding:.22rem .35rem;
    border:1px solid #d1d9ef; border-radius:5px;
    font-size:.72rem; color:#1a1f36; background:#fff; outline:none;
    transition:border-color .15s;
}
.de-linput:focus[b-55xn2ibvg1]  { border-color:#2e4494; box-shadow:0 0 0 2px rgba(46,68,148,.08); }
.de-linput--num[b-55xn2ibvg1]   { text-align:right; }

/* Inline delete button (X style) */
.de-line-del[b-55xn2ibvg1] {
    display:flex; align-items:center; justify-content:center;
    width:24px; height:24px; border-radius:4px;
    border:1px solid #fecaca; background:#fff; color:#b91c1c;
    cursor:pointer; font-size:.7rem; transition:background .12s;
}
.de-line-del:hover[b-55xn2ibvg1] { background:#fef2f2; }

/* Total row */
.de-lines-total[b-55xn2ibvg1] {
    display:flex; justify-content:flex-end; align-items:center;
    gap:.75rem; padding:.32rem .42rem;
    border-top:2px solid #e2e7f3; margin-top:.08rem;
}
.de-lines-total-lbl[b-55xn2ibvg1] { font-size:.68rem; font-weight:700; color:#8492b4; text-transform:uppercase; letter-spacing:.05em; }
.de-lines-total-val[b-55xn2ibvg1] { font-size:1.05rem; font-weight:700; color:#1e2d5a; }

/* Empty state */
.de-lines-empty[b-55xn2ibvg1] {
    display:flex; align-items:center; justify-content:center; gap:.45rem;
    padding:1.2rem; border:2px dashed #d1d9ef; border-radius:8px;
    color:#a0aec0; font-size:.74rem; background:#fff;
}
.de-lines-empty i[b-55xn2ibvg1] { font-size:1.1rem; }
.de-hint-txt[b-55xn2ibvg1] { color:#a0aec0; font-size:.9em; }

/* Footer */
.de-dialog-footer[b-55xn2ibvg1] {
    display:flex; align-items:center; justify-content:space-between;
    padding:.45rem .85rem; background:#f8fafc;
    border-top:1px solid #e2e7f3; flex-shrink:0; flex-wrap:wrap; gap:.4rem;
}
.de-dialog-meta[b-55xn2ibvg1] { display:flex; gap:.7rem; flex-wrap:wrap; font-size:.66rem; color:#8492b4; align-items:center; }
.de-dialog-meta strong[b-55xn2ibvg1] { color:#1a1f36; }
.de-footer-total[b-55xn2ibvg1] { color:#1e2d5a; }
.de-footer-total strong[b-55xn2ibvg1] { font-size:.78rem; }
.de-dialog-btns[b-55xn2ibvg1] { display:flex; gap:.4rem; flex-shrink:0; }
.de-spinner--sm[b-55xn2ibvg1] {
    display:inline-block; width:12px; height:12px;
    border:2px solid rgba(255,255,255,.3); border-top-color:#fff;
    border-radius:50%; animation:de-spin-b-55xn2ibvg1 .6s linear infinite;
}

/* ── Responsive ── */
@media (max-width:900px) {
    .de-topbar[b-55xn2ibvg1] { gap:.3rem; }
    .de-top-actions[b-55xn2ibvg1] { width:100%; justify-content:flex-end; }
    .de-lines-cols[b-55xn2ibvg1], .de-expense-line[b-55xn2ibvg1] { grid-template-columns:22px 130px 1fr 95px 24px; }
}
@media (max-width:640px) {
    .de-body[b-55xn2ibvg1] { padding:.4rem .4rem 2rem; }
    .de-account-desc-row[b-55xn2ibvg1] { grid-template-columns:1fr; gap:.35rem; }
    .de-account-row[b-55xn2ibvg1] { padding:.28rem .4rem; }
    .de-account-row-lbl[b-55xn2ibvg1] { font-size:.62rem; }
    .de-account-field[b-55xn2ibvg1] { gap:.28rem; min-width:0; }
    .de-minput[b-55xn2ibvg1], .de-mselect[b-55xn2ibvg1], .de-linput[b-55xn2ibvg1], .de-meta-input[b-55xn2ibvg1], .de-meta-select[b-55xn2ibvg1] { font-size:.68rem; padding:.2rem .3rem; }
    .de-expense-line[b-55xn2ibvg1] { padding:.2rem .3rem; margin-bottom:.18rem; }
    .de-line-del[b-55xn2ibvg1] { width:22px; height:22px; }
    .de-lines-total-lbl[b-55xn2ibvg1] { font-size:.62rem; }
    .de-lines-total-val[b-55xn2ibvg1] { font-size:.92rem; }
    .de-lines-cols[b-55xn2ibvg1]  { display:none; }
    .de-expense-line[b-55xn2ibvg1] { grid-template-columns:22px 120px 85px 24px; }
    .de-el-desc[b-55xn2ibvg1] { display:none; }
    .de-cat-grid[b-55xn2ibvg1] { grid-template-columns:repeat(auto-fill,minmax(74px,1fr)); }
    .de-dialog[b-55xn2ibvg1] { max-height:96vh; border-radius:14px 14px 0 0; align-self:flex-end; }
    .de-dialog-footer[b-55xn2ibvg1] { flex-direction:column; align-items:stretch; }
    .de-dialog-btns[b-55xn2ibvg1]   { justify-content:flex-end; }
    .de-filter-bar[b-55xn2ibvg1]    { flex-direction:column; align-items:stretch; }
    .de-filter-actions[b-55xn2ibvg1] { margin-left:0; }
    .de-input[b-55xn2ibvg1] { min-width:0; width:100%; }
    .de-meta-strip[b-55xn2ibvg1] { gap:.28rem .4rem; }
}
@media (max-width:480px) {
    .de-btn[b-55xn2ibvg1] { padding:.22rem .65rem; font-size:.7rem; }
}
/* /Components/Pages/ExpensePage/ExpenseRecordModal.razor.rz.scp.css */
/* Premium expense record modal — enterprise banking (exm-*) */

.exm-overlay[b-s2yh83lie8] {
    position: fixed;
    inset: 0;
    z-index: 9500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(8, 15, 35, 0.62);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.exm-dialog[b-s2yh83lie8] {
    width: 100%;
    max-width: 920px;
    max-height: 90vh;
    min-height: min(520px, 90vh);
    display: flex;
    flex-direction: column;
    background: #f7f9fc;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 32px 80px rgba(6, 16, 45, 0.45);
    animation: exm-in-b-s2yh83lie8 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes exm-in-b-s2yh83lie8 {
    from { opacity: 0; transform: translateY(12px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header — ultra compact single row */
.exm-header[b-s2yh83lie8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    padding: 0.22rem 0.5rem;
    min-height: 0;
    background: linear-gradient(125deg, #0b1f3f 0%, #14325f 42%, #1a4d8c 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.exm-header[b-s2yh83lie8]::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 120% at 100% 0%, rgba(96, 165, 250, 0.18), transparent 55%);
    pointer-events: none;
}

.exm-header-main[b-s2yh83lie8] {
    display: flex;
    align-items: center;
    gap: 0.32rem;
    position: relative;
    z-index: 1;
    min-width: 0;
}

.exm-header-text[b-s2yh83lie8] {
    display: flex;
    align-items: center;
    gap: 0.28rem;
    flex-wrap: wrap;
    min-width: 0;
}

.exm-header-icon[b-s2yh83lie8] {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.exm-title[b-s2yh83lie8] {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #fff;
    line-height: 1.1;
    white-space: nowrap;
}

.exm-voucher[b-s2yh83lie8] {
    font-size: 0.5rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 0.03em;
    line-height: 1.1;
}

.exm-status[b-s2yh83lie8] {
    font-size: 0.48rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.04rem 0.28rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    line-height: 1.2;
}

.exm-status--approved[b-s2yh83lie8] { background: rgba(34, 197, 94, 0.25); color: #bbf7d0; }
.exm-status--draft[b-s2yh83lie8] { background: rgba(251, 191, 36, 0.25); color: #fde68a; }
.exm-status--rejected[b-s2yh83lie8] { background: rgba(239, 68, 68, 0.25); color: #fecaca; }

.exm-close[b-s2yh83lie8] {
    position: relative;
    z-index: 1;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 5px;
    font-size: 0.65rem;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.exm-close:hover[b-s2yh83lie8] { background: rgba(255, 255, 255, 0.22); }

/* Lock banner */
.exm-lock[b-s2yh83lie8] {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.32rem 0.7rem;
    background: #fff7ed;
    border-bottom: 1px solid #fed7aa;
    color: #9a3412;
    font-size: 0.62rem;
}

.exm-lock i[b-s2yh83lie8] { font-size: 1rem; margin-top: 0.1rem; flex-shrink: 0; }
.exm-lock strong[b-s2yh83lie8] { display: block; font-size: 0.76rem; margin-bottom: 0.1rem; }
.exm-lock span[b-s2yh83lie8] { color: #c2410c; opacity: 0.9; }

/* Body layout */
.exm-body[b-s2yh83lie8] {
    flex: 1;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 220px;
    min-height: 0;
}

.exm-main[b-s2yh83lie8] {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    padding: 0.28rem 0.38rem;
    display: grid;
    grid-template-rows: auto minmax(0, 3fr);
    gap: 0.28rem;
}

.exm-panel--compact[b-s2yh83lie8] {
    min-height: 0;
    padding: 0.22rem 0.3rem 0.26rem;
}

.exm-panel--lines[b-s2yh83lie8] {
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: 0.2rem;
}

.exm-panel--lines .exm-panel-head[b-s2yh83lie8] {
    flex-shrink: 0;
    margin-bottom: 0.15rem;
}

.exm-lines-scroll[b-s2yh83lie8] {
    flex: 1;
    min-height: 0;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e8edf5;
    border-radius: 4px;
    background: #fafbfd;
}

.exm-aside[b-s2yh83lie8] {
    background: #fff;
    border-left: 1px solid #e5eaf3;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* Panels */
.exm-panel[b-s2yh83lie8] {
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 6px;
    padding: 0.28rem 0.35rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.exm-panel-head[b-s2yh83lie8] {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin-bottom: 0.2rem;
    font-size: 0.54rem;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.exm-panel-head i[b-s2yh83lie8] { color: #3b82f6; font-size: 0.72rem; }
.exm-panel-action[b-s2yh83lie8] { margin-left: auto; }

.exm-line-count[b-s2yh83lie8] {
    margin-left: 0.25rem;
    background: #1e3a5f;
    color: #fff;
    font-size: 0.58rem;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
}

.exm-fields-grid[b-s2yh83lie8] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.28rem 0.38rem;
}

.exm-fields-grid--dense[b-s2yh83lie8] {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.12rem 0.2rem;
}

.exm-span3[b-s2yh83lie8] { grid-column: span 3; }

.exm-fields-grid--dense .exm-field[b-s2yh83lie8] {
    display: grid;
    grid-template-columns: minmax(2.1rem, auto) 1fr;
    align-items: center;
    column-gap: 0.18rem;
    row-gap: 0;
}

.exm-fields-grid--dense .exm-field span[b-s2yh83lie8] {
    margin: 0;
    white-space: nowrap;
}

.exm-fields-grid--dense .exm-field--readonly[b-s2yh83lie8] {
    grid-template-columns: minmax(2.4rem, auto) 1fr;
}

.exm-fields-grid--dense .exm-span3[b-s2yh83lie8] {
    grid-template-columns: minmax(3.2rem, auto) 1fr;
}

.exm-field[b-s2yh83lie8] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.exm-field--full[b-s2yh83lie8] { grid-column: 1 / -1; }

.exm-field span[b-s2yh83lie8] {
    font-size: 0.48rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    line-height: 1.1;
}

.exm-field span em[b-s2yh83lie8] { color: #ef4444; font-style: normal; }

.exm-field input[b-s2yh83lie8],
.exm-field select[b-s2yh83lie8] {
    width: 100%;
    padding: 0.12rem 0.28rem;
    border: 1px solid #dbe3f0;
    border-radius: 4px;
    font-size: 0.62rem;
    line-height: 1.15;
    min-height: 1.28rem;
    color: #0f172a;
    background: #fafbfd;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.exm-field input:focus[b-s2yh83lie8],
.exm-field select:focus[b-s2yh83lie8] {
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.exm-field input:disabled[b-s2yh83lie8],
.exm-field select:disabled[b-s2yh83lie8] {
    opacity: 0.72;
    cursor: not-allowed;
    background: #f1f5f9;
}

.exm-field--readonly input[b-s2yh83lie8] {
    font-family: ui-monospace, monospace;
    color: #64748b;
}

/* Account */
.exm-account-wrap[b-s2yh83lie8] {
    display: block;
    position: relative;
}

.exm-account-ico[b-s2yh83lie8] {
    position: absolute;
    left: 0.38rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.68rem;
    pointer-events: none;
}

.exm-account-input[b-s2yh83lie8] {
    width: 100%;
    padding: 0.12rem 0.28rem 0.12rem 1.25rem !important;
    border: 1px solid #dbe3f0;
    border-radius: 4px;
    font-size: 0.62rem;
    line-height: 1.15;
    min-height: 1.28rem;
    background: #fafbfd;
}

/* Lines */
.exm-lines[b-s2yh83lie8] {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
    padding: 0.2rem 0.22rem 0.28rem;
}

.exm-lines-head[b-s2yh83lie8],
.exm-line[b-s2yh83lie8] {
    display: grid;
    grid-template-columns: 24px 1.1fr 1.4fr 100px 28px;
    gap: 0.35rem;
    align-items: center;
}

.exm-lines-head[b-s2yh83lie8] {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 0.12rem 0.2rem 0.14rem;
    margin: 0 0 0.1rem;
    font-size: 0.52rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.exm-lines-head span:last-child:nth-child(5)[b-s2yh83lie8] { }

.exm-line[b-s2yh83lie8] {
    background: #f8fafc;
    border: 1px solid #e8edf5;
    border-radius: 8px;
    padding: 0.3rem 0.4rem;
    transition: border-color 0.12s, box-shadow 0.12s;
}

.exm-line:hover[b-s2yh83lie8] {
    border-color: #bfdbfe;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.06);
}

.exm-line-no[b-s2yh83lie8] {
    text-align: center;
    font-size: 0.62rem;
    font-weight: 700;
    color: #94a3b8;
}

.exm-line-input[b-s2yh83lie8] {
    width: 100%;
    padding: 0.18rem 0.32rem;
    border: 1px solid #dbe3f0;
    border-radius: 4px;
    font-size: 0.64rem;
    background: #fff;
}

.exm-line-amt[b-s2yh83lie8] { text-align: right; font-variant-numeric: tabular-nums; }

.exm-line-remove[b-s2yh83lie8] {
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 6px;
    background: #fef2f2;
    color: #dc2626;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exm-line-remove:hover[b-s2yh83lie8] { background: #fee2e2; }

.exm-lines-empty[b-s2yh83lie8] {
    text-align: center;
    padding: 1rem 0.65rem;
    margin: 0.2rem;
    min-height: 4.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px dashed #cbd5e1;
    border-radius: 6px;
    color: #94a3b8;
    font-size: 0.62rem;
}

.exm-lines-empty i[b-s2yh83lie8] { font-size: 1.4rem; display: block; margin-bottom: 0.35rem; opacity: 0.5; }
.exm-lines-empty p[b-s2yh83lie8] { margin: 0; }

/* Aside */
.exm-total-card[b-s2yh83lie8] {
    padding: 0.55rem 0.65rem;
    background: linear-gradient(145deg, #0b1f3f 0%, #1a4d8c 100%);
    color: #fff;
}

.exm-total-label[b-s2yh83lie8] {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.75;
}

.exm-total-value[b-s2yh83lie8] {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0.2rem 0;
    font-variant-numeric: tabular-nums;
}

.exm-total-meta[b-s2yh83lie8] { font-size: 0.68rem; opacity: 0.7; }

.exm-cat-panel[b-s2yh83lie8] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0.4rem 0.45rem 0.45rem;
}

.exm-cat-head[b-s2yh83lie8] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #334155;
}

.exm-cat-hint[b-s2yh83lie8] { font-size: 0.6rem; font-weight: 500; color: #94a3b8; }

.exm-cat-search-wrap[b-s2yh83lie8] {
    position: relative;
    margin-bottom: 0.45rem;
}

.exm-cat-search-wrap i[b-s2yh83lie8] {
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.8rem;
}

.exm-cat-search[b-s2yh83lie8] {
    width: 100%;
    padding: 0.35rem 0.5rem 0.35rem 1.75rem;
    border: 1px solid #dbe3f0;
    border-radius: 8px;
    font-size: 0.74rem;
    background: #f8fafc;
}

.exm-cat-search:focus[b-s2yh83lie8] {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.12);
}

.exm-cat-list[b-s2yh83lie8] {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    padding-right: 0.15rem;
}

.exm-cat-item[b-s2yh83lie8] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    width: 100%;
    padding: 0.26rem 0.38rem;
    border: 1px solid #e8edf5;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    text-align: left;
    font-size: 0.62rem;
    font-weight: 600;
    color: #475569;
    transition: all 0.14s;
}

.exm-cat-item:hover:not(:disabled)[b-s2yh83lie8] {
    border-color: #93c5fd;
    background: #eff6ff;
    color: #1d4ed8;
}

.exm-cat-item--on[b-s2yh83lie8] {
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    border-color: #1e3a5f;
    color: #fff;
    box-shadow: 0 2px 8px rgba(30, 58, 95, 0.25);
}

.exm-cat-item:disabled[b-s2yh83lie8] { opacity: 0.55; cursor: not-allowed; }

.exm-cat-dot[b-s2yh83lie8] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.exm-cat-icon[b-s2yh83lie8] { font-size: 0.95rem; opacity: 0.85; flex-shrink: 0; }
.exm-cat-name[b-s2yh83lie8] { flex: 1; min-width: 0; line-height: 1.25; }
.exm-cat-check[b-s2yh83lie8] { font-size: 0.75rem; color: #4ade80; }
.exm-cat-none[b-s2yh83lie8] { font-size: 0.7rem; color: #94a3b8; text-align: center; padding: 0.75rem; }

/* Footer */
.exm-footer[b-s2yh83lie8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.3rem;
    flex-wrap: wrap;
    padding: 0.26rem 0.45rem;
    background: #fff;
    border-top: 1px solid #e8edf5;
}

.exm-footer-meta[b-s2yh83lie8] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.7rem;
    color: #64748b;
}

.exm-footer-meta small[b-s2yh83lie8] {
    display: block;
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

.exm-footer-meta strong[b-s2yh83lie8] { color: #0f172a; font-size: 0.76rem; }

.exm-footer-actions[b-s2yh83lie8] { display: flex; gap: 0.4rem; flex-wrap: wrap; }

.exm-btn[b-s2yh83lie8] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.28rem 0.6rem;
    border-radius: 6px;
    font-size: 0.64rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.1s, box-shadow 0.15s, opacity 0.15s;
}

.exm-btn:disabled[b-s2yh83lie8] { opacity: 0.55; cursor: not-allowed; }

.exm-btn--outline[b-s2yh83lie8] {
    background: #fff;
    border: 1px solid #cbd5e1;
    color: #64748b;
}

.exm-btn--outline:hover:not(:disabled)[b-s2yh83lie8] { background: #f8fafc; }

.exm-btn--ghost[b-s2yh83lie8] {
    background: transparent;
    border: 1px dashed #93c5fd;
    color: #2563eb;
    padding: 0.25rem 0.55rem;
    font-size: 0.66rem;
}

.exm-btn--secondary[b-s2yh83lie8] {
    background: linear-gradient(135deg, #334155, #475569);
    color: #fff;
    box-shadow: 0 2px 6px rgba(51, 65, 85, 0.2);
}

.exm-btn--primary[b-s2yh83lie8] {
    background: linear-gradient(135deg, #047857, #10b981);
    color: #fff;
    box-shadow: 0 2px 8px rgba(4, 120, 87, 0.3);
}

.exm-btn--primary:hover:not(:disabled)[b-s2yh83lie8],
.exm-btn--secondary:hover:not(:disabled)[b-s2yh83lie8] {
    transform: translateY(-1px);
    opacity: 0.95;
}

.exm-spinner[b-s2yh83lie8] {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: exm-spin-b-s2yh83lie8 0.65s linear infinite;
}

@keyframes exm-spin-b-s2yh83lie8 { to { transform: rotate(360deg); } }

@media (max-width: 860px) {
    .exm-body[b-s2yh83lie8] { grid-template-columns: 1fr; }
    .exm-aside[b-s2yh83lie8] {
        border-left: none;
        border-top: 1px solid #e5eaf3;
        max-height: 240px;
    }
    .exm-cat-list[b-s2yh83lie8] {
        flex-direction: row;
        flex-wrap: wrap;
        overflow-y: auto;
    }
    .exm-cat-item[b-s2yh83lie8] { width: auto; flex: 1 1 calc(50% - 0.3rem); min-width: 140px; }
    .exm-fields-grid--dense[b-s2yh83lie8] { grid-template-columns: repeat(3, 1fr); }
    .exm-span3[b-s2yh83lie8] { grid-column: span 3; }
    .exm-fields-grid[b-s2yh83lie8] { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .exm-overlay[b-s2yh83lie8] { padding: 0; align-items: flex-end; }
    .exm-dialog[b-s2yh83lie8] { max-height: 96vh; border-radius: 16px 16px 0 0; }
    .exm-fields-grid[b-s2yh83lie8],
    .exm-fields-grid--dense[b-s2yh83lie8] { grid-template-columns: 1fr; }
    .exm-span3[b-s2yh83lie8] { grid-column: 1 / -1; }
    .exm-lines-head[b-s2yh83lie8] { display: none; }
    .exm-line[b-s2yh83lie8] {
        grid-template-columns: 24px 1fr 28px;
        grid-template-rows: auto auto;
    }
    .exm-line .exm-line-input:nth-child(3)[b-s2yh83lie8] { grid-column: 2 / 3; }
    .exm-line .exm-line-amt[b-s2yh83lie8] { grid-column: 2 / 3; }
    .exm-line-remove[b-s2yh83lie8] { grid-row: 1 / 3; grid-column: 3; align-self: center; }
    .exm-footer[b-s2yh83lie8] { flex-direction: column; align-items: stretch; }
    .exm-footer-actions[b-s2yh83lie8] { justify-content: flex-end; }
}
/* /Components/Pages/ExpensePage/MonthlyExpenses.razor.rz.scp.css */
/* Monthly expenses uses global daily-expenses-smart.css (de-*). */
/* /Components/Pages/HrPages/Setup/EmployeeModal.razor.rz.scp.css */
/* Compact smart style for Add/Edit Employee modal */
.employee-modal-compact .modal-header[b-0wd280vmnb] {
    padding: 0.35rem 0.75rem;
    border-bottom: 1px solid var(--bs-border-color);
}

.employee-modal-compact .modal-title[b-0wd280vmnb] {
    font-size: 0.85rem;
    font-weight: 600;
}

.employee-modal-compact .modal-header .btn-close[b-0wd280vmnb] {
    padding: 0.25rem;
    font-size: 0.65rem;
}

.employee-modal-compact .modal-body[b-0wd280vmnb] {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
}

.employee-modal-compact .modal-footer[b-0wd280vmnb] {
    padding: 0.35rem 0.75rem;
    border-top: 1px solid var(--bs-border-color);
}

.employee-modal-compact .form-label[b-0wd280vmnb] {
    font-size: 0.7rem;
    font-weight: 500;
    margin-bottom: 0.15rem;
    color: var(--bs-secondary);
}

.employee-modal-compact .form-control[b-0wd280vmnb],
.employee-modal-compact .form-select[b-0wd280vmnb] {
    font-size: 0.75rem;
    padding: 0.25rem 0.4rem;
    min-height: 1.6rem;
    border-radius: 4px;
}

.employee-modal-compact .form-check-label[b-0wd280vmnb] {
    font-size: 0.75rem;
}

.employee-modal-compact .form-check-input[b-0wd280vmnb] {
    margin-top: 0.15rem;
    width: 0.9em;
    height: 0.9em;
}

.employee-modal-compact .mb-3[b-0wd280vmnb] {
    margin-bottom: 0.35rem !important;
}

.employee-modal-compact .row[b-0wd280vmnb] {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.15rem;
}

.employee-modal-compact hr[b-0wd280vmnb] {
    margin: 0.35rem 0;
}

.employee-modal-compact h6.fw-semibold[b-0wd280vmnb] {
    font-size: 0.78rem;
    margin-bottom: 0.3rem !important;
}

.employee-modal-compact small.text-muted[b-0wd280vmnb] {
    font-size: 0.65rem;
}

.employee-modal-compact .btn[b-0wd280vmnb] {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.employee-modal-compact .form-control[readonly][b-0wd280vmnb] {
    font-size: 0.75rem;
    padding: 0.25rem 0.4rem;
}

.employee-modal-compact textarea.form-control[b-0wd280vmnb] {
    font-size: 0.75rem;
    padding: 0.25rem 0.4rem;
    min-height: 2rem;
}

.employee-modal-compact .validation-message[b-0wd280vmnb] {
    font-size: 0.65rem;
}

.employee-modal-compact .form-check.mt-2[b-0wd280vmnb] {
    margin-top: 0.25rem !important;
}
/* /Components/Pages/ItemsPage/ProductPage/ProductListPage.razor.rz.scp.css */
/* Product/Items List - Ultra compact grid, smallest font, minimal row/column space */
.product-list-compact[b-t5flmfm10f] {
    font-size: 0.7rem;
}

.product-list-compact .container-fluid[b-t5flmfm10f] {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.product-list-compact .page-header[b-t5flmfm10f] {
    margin-bottom: 0.25rem;
}

.product-list-compact .page-title h4[b-t5flmfm10f] {
    font-size: 0.85rem;
    font-weight: 700;
}

.product-list-compact .btn-primary[b-t5flmfm10f],
.product-list-compact .btn-secondary[b-t5flmfm10f] {
    padding: 0.15rem 0.35rem;
    font-size: 0.65rem;
}

.product-list-compact .card[b-t5flmfm10f] {
    border-radius: 4px;
}

.product-list-compact .card-header[b-t5flmfm10f] {
    padding: 0.25rem 0.5rem;
}

.product-list-compact .card-body[b-t5flmfm10f] {
    padding: 0.25rem 0.5rem !important;
}

/* Summary cards - minimal */
.product-list-compact .summary-card .card-body[b-t5flmfm10f] {
    padding: 0.2rem 0.35rem !important;
}

.product-list-compact .summary-card .fw-medium[b-t5flmfm10f] {
    font-size: 0.6rem;
}

.product-list-compact .summary-card h6[b-t5flmfm10f] {
    font-size: 0.75rem !important;
}

.product-list-compact .avatar-sm[b-t5flmfm10f] {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.65rem;
}

.product-list-compact .form-control[b-t5flmfm10f] {
    font-size: 0.65rem;
    padding: 0.12rem 0.25rem;
    min-height: 22px;
}

.product-list-compact .form-control-sm[b-t5flmfm10f] {
    font-size: 0.65rem;
}

.product-list-compact .btn-white[b-t5flmfm10f] {
    font-size: 0.65rem;
    padding: 0.15rem 0.35rem;
}

/* RadzenDataGrid - smallest font, minimal cell padding, compact rows/columns */
.product-list-compact .rz-grid-table[b-t5flmfm10f] {
    border-collapse: collapse;
}

.product-list-compact .rz-grid-table thead th[b-t5flmfm10f],
.product-list-compact .rz-datatable .rz-datatable-thead th[b-t5flmfm10f] {
    padding: 0.12rem 0.25rem !important;
    font-size: 0.6rem !important;
    font-weight: 600;
    background: #21507C !important;
    color: #fff !important;
    line-height: 1.15;
}

.product-list-compact .rz-grid-table tbody td[b-t5flmfm10f],
.product-list-compact .rz-datatable .rz-datatable-tbody td[b-t5flmfm10f] {
    padding: 0.12rem 0.25rem !important;
    font-size: 0.65rem !important;
    line-height: 1.15;
}

.product-list-compact .rz-grid-table tbody tr[b-t5flmfm10f],
.product-list-compact .rz-datatable .rz-datatable-tbody tr[b-t5flmfm10f] {
    min-height: 0;
}

.product-list-compact .rz-grid-table tbody tr:nth-child(even)[b-t5flmfm10f],
.product-list-compact .rz-datatable .rz-datatable-tbody tr:nth-child(even)[b-t5flmfm10f] {
    background: #f5f5f5;
}

/* Action icons - smaller */
.product-list-compact .rz-grid-table tbody td a i[b-t5flmfm10f],
.product-list-compact .rz-datatable .rz-datatable-tbody td a i[b-t5flmfm10f] {
    font-size: 0.7rem;
}

/* Pagination footer - compact */
.product-list-compact .rz-datatable .rz-paginator[b-t5flmfm10f],
.product-list-compact .rz-grid .rz-paginator[b-t5flmfm10f] {
    padding: 0.2rem 0.35rem !important;
    font-size: 0.6rem !important;
}

.product-list-compact .rz-paginator .rz-paginator-element[b-t5flmfm10f] {
    padding: 0.1rem 0.25rem !important;
    font-size: 0.6rem !important;
}

.product-list-compact .rz-dropdown[b-t5flmfm10f] {
    font-size: 0.65rem;
}

.product-list-compact .rz-dropdown .rz-dropdown-trigger[b-t5flmfm10f] {
    min-height: 22px;
}

/* Custom banner - compact */
.product-list-compact .custom-banner h5[b-t5flmfm10f] {
    font-size: 0.75rem;
}

.product-list-compact .custom-banner p[b-t5flmfm10f] {
    font-size: 0.65rem;
}

.product-list-compact .custom-banner .btn-excel[b-t5flmfm10f] {
    padding: 0.2rem 0.5rem;
    font-size: 0.65rem;
}
/* /Components/Pages/ItemsPage/ProductPage/ProductRelationshipPage.razor.rz.scp.css */
.pr-wrap[b-w1u56rhhjr] {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.pr-topbar[b-w1u56rhhjr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 7px 9px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.pr-top-left[b-w1u56rhhjr] {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pr-icon[b-w1u56rhhjr] {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: #eef2ff;
    color: #4338ca;
    display: grid;
    place-items: center;
}

.pr-title[b-w1u56rhhjr] {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
}

.pr-sub[b-w1u56rhhjr] {
    font-size: 0.64rem;
    color: #64748b;
}

.pr-actions[b-w1u56rhhjr] {
    display: flex;
    gap: 8px;
}

.pr-btn[b-w1u56rhhjr] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 7px;
    padding: 4px 8px;
    font-size: 0.66rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #dbe3ef;
    color: #334155;
    background: #fff;
}

.pr-btn--primary[b-w1u56rhhjr] {
    color: #fff;
    border-color: #4f46e5;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.pr-btn--ghost:hover[b-w1u56rhhjr],
.pr-btn--primary:hover[b-w1u56rhhjr] {
    filter: brightness(.98);
}

.pr-body[b-w1u56rhhjr] {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px;
    background: #fff;
}

.pr-stats[b-w1u56rhhjr] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 7px;
}

.pr-stat[b-w1u56rhhjr] {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 4px 7px;
    background: #f8fafc;
    display: flex;
    justify-content: space-between;
    font-size: 0.64rem;
}

.pr-stat strong[b-w1u56rhhjr] {
    color: #1e293b;
    font-size: 0.74rem;
}

.pr-filter[b-w1u56rhhjr] {
    display: grid;
    grid-template-columns: 1fr 170px 90px;
    gap: 6px;
    margin-bottom: 7px;
}

.pr-input[b-w1u56rhhjr],
.pr-select[b-w1u56rhhjr] {
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    min-height: 28px;
    padding: 0 8px;
    font-size: 0.66rem;
    background: #fff;
}

.pr-page-size[b-w1u56rhhjr] {
    text-align: center;
}

.pr-card[b-w1u56rhhjr] {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.pr-table-wrap[b-w1u56rhhjr] {
    overflow: auto;
}

.pr-table[b-w1u56rhhjr] {
    width: 100%;
    border-collapse: collapse;
    min-width: 820px;
}

.pr-table thead th[b-w1u56rhhjr] {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.56rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    padding: 4px 6px;
    text-align: left;
}

.pr-table tbody td[b-w1u56rhhjr] {
    border-bottom: 1px solid #eef2f7;
    padding: 3px 6px;
    font-size: 0.66rem;
    color: #0f172a;
    vertical-align: middle;
}

.pr-code[b-w1u56rhhjr] {
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.63rem;
    color: #0f766e;
}

.pr-badge[b-w1u56rhhjr] {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    border-radius: 999px;
    font-size: 0.58rem;
    background: #e2e8f0;
    color: #334155;
}

.pr-badge--mother[b-w1u56rhhjr] { background: #dcfce7; color: #166534; }
.pr-badge--child[b-w1u56rhhjr] { background: #dbeafe; color: #1d4ed8; }
.pr-badge--orphan[b-w1u56rhhjr] { background: #fee2e2; color: #b91c1c; }

.pr-act[b-w1u56rhhjr] {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.pr-act-btn[b-w1u56rhhjr] {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
    border-radius: 6px;
    min-height: 22px;
    padding: 0 7px;
    font-size: 0.61rem;
}

.pr-act-btn--primary[b-w1u56rhhjr] {
    border-color: #4f46e5;
    color: #fff;
    background: #4f46e5;
}

.pr-act-btn--danger[b-w1u56rhhjr] {
    border-color: #ef4444;
    color: #b91c1c;
    background: #fff;
}

.pr-pager[b-w1u56rhhjr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 8px;
    font-size: 0.62rem;
    color: #475569;
}

.pr-pager-act[b-w1u56rhhjr] {
    display: flex;
    gap: 6px;
    align-items: center;
}

.pr-empty[b-w1u56rhhjr] {
    padding: 14px;
    text-align: center;
    color: #64748b;
    font-size: 0.68rem;
}

.pr-row-mother td[b-w1u56rhhjr] {
    background: #f8fbff;
}

.pr-name-cell[b-w1u56rhhjr] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.pr-name-row[b-w1u56rhhjr] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 18px;
}

.pr-tree[b-w1u56rhhjr] {
    color: #64748b;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.6rem;
    white-space: pre;
}

.pr-tree-toggle[b-w1u56rhhjr] {
    width: 14px;
    height: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    background: #fff;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.58rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
}

.pr-tree-toggle--ghost[b-w1u56rhhjr] {
    border-color: transparent;
    background: transparent;
    cursor: default;
}

.pr-name-text[b-w1u56rhhjr] {
    color: #111827;
}

.pr-tree-meta[b-w1u56rhhjr] {
    color: #64748b;
    font-size: 0.58rem;
}

.pr-child-count[b-w1u56rhhjr] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 0.58rem;
    font-weight: 700;
}

.pr-modal-overlay[b-w1u56rhhjr] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.36);
    display: grid;
    place-items: center;
    z-index: 3000;
}

.pr-modal[b-w1u56rhhjr] {
    width: min(460px, calc(100vw - 24px));
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pr-modal h6[b-w1u56rhhjr] {
    margin: 0;
    font-size: 0.88rem;
    color: #0f172a;
}

.pr-modal-actions[b-w1u56rhhjr] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.w-100[b-w1u56rhhjr] { width: 100%; }

.pr-picker[b-w1u56rhhjr] {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.pr-picker-selected[b-w1u56rhhjr] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    padding: 5px 8px;
    font-size: 0.66rem;
    color: #0f172a;
    min-height: 28px;
    flex-wrap: wrap;
}

.pr-picker-selected-label[b-w1u56rhhjr] {
    color: #64748b;
    font-weight: 600;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.pr-picker-selected-value[b-w1u56rhhjr] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0f172a;
}

.pr-picker-list[b-w1u56rhhjr] {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    max-height: 240px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.pr-picker-item[b-w1u56rhhjr] {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 8px;
    align-items: center;
    padding: 5px 8px;
    border: 0;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
    text-align: left;
    font-size: 0.66rem;
    color: #0f172a;
    cursor: pointer;
}

.pr-picker-item:last-child[b-w1u56rhhjr] {
    border-bottom: 0;
}

.pr-picker-item:hover[b-w1u56rhhjr] {
    background: #f8fafc;
}

.pr-picker-item--active[b-w1u56rhhjr],
.pr-picker-item--active:hover[b-w1u56rhhjr] {
    background: #eef2ff;
    color: #3730a3;
}

.pr-picker-code[b-w1u56rhhjr] {
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.62rem;
    color: #0f766e;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pr-picker-item--active .pr-picker-code[b-w1u56rhhjr] {
    color: #4338ca;
}

.pr-picker-name[b-w1u56rhhjr] {
    color: inherit;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pr-picker-empty[b-w1u56rhhjr],
.pr-picker-more[b-w1u56rhhjr] {
    padding: 10px 8px;
    text-align: center;
    color: #64748b;
    font-size: 0.62rem;
}

.pr-picker-more[b-w1u56rhhjr] {
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

@media (max-width: 920px) {
    .pr-topbar[b-w1u56rhhjr] { flex-direction: column; align-items: flex-start; }
    .pr-actions[b-w1u56rhhjr] { width: 100%; }
    .pr-actions .pr-btn[b-w1u56rhhjr] { flex: 1; justify-content: center; }
    .pr-stats[b-w1u56rhhjr] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pr-filter[b-w1u56rhhjr] { grid-template-columns: 1fr; }
}
/* /Components/Pages/PartyPage/SupplierListPage.razor.rz.scp.css */
/* Suppliers page - compact layout */
.supplier-list-compact .page-header[b-0j9d7tj3zs] {
    padding: 0.25rem 0;
    margin-bottom: 0.5rem;
}

.supplier-list-compact .page-header h4[b-0j9d7tj3zs] {
    font-size: 1.1rem;
}

.supplier-list-compact .page-header .btn[b-0j9d7tj3zs] {
    padding: 0.25rem 0.6rem;
    font-size: 0.8rem;
}

.supplier-card-compact .card-header-compact[b-0j9d7tj3zs] {
    padding: 0.4rem 0.75rem;
    min-height: auto;
}

.supplier-card-compact .card-header-compact .search-input .form-control[b-0j9d7tj3zs] {
    font-size: 0.8rem;
    padding: 0.2rem 0.4rem;
}

.supplier-card-compact .card-header-compact .btn-white[b-0j9d7tj3zs] {
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
}

/* Radzen DataGrid compact overrides */
.supplier-grid-compact[b-0j9d7tj3zs] (.rz-datatable-data td),
.supplier-grid-compact[b-0j9d7tj3zs] (.rz-datatable-thead th) {
    padding: 0.25rem 0.4rem !important;
    font-size: 0.8rem !important;
}

.supplier-grid-compact[b-0j9d7tj3zs] (.rz-datatable-data tr) {
    min-height: 28px;
}

.supplier-grid-compact[b-0j9d7tj3zs] (.rz-paginator) {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

.supplier-grid-compact[b-0j9d7tj3zs] (.rz-datatable .rz-cell-data a) {
    padding: 0.15rem 0.3rem !important;
    font-size: 0.75rem;
}

/* Compact banner */
.supplier-banner-compact[b-0j9d7tj3zs] {
    padding: 0.5rem 0.75rem !important;
    margin-top: 0.5rem;
}

.supplier-banner-compact .banner-text h5[b-0j9d7tj3zs] {
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

.supplier-banner-compact .banner-text p[b-0j9d7tj3zs] {
    font-size: 0.75rem;
    margin-bottom: 0;
}

.supplier-banner-compact .btn-excel[b-0j9d7tj3zs] {
    padding: 0.25rem 0.75rem !important;
    font-size: 0.8rem;
}
/* /Components/Pages/PaymentInPage/PaymentInAddPage.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════
   Payment In Add — Modern Compact Design (pin-*)
   ═══════════════════════════════════════════════════════ */

.pin-wrap[b-mbft3y8qk8] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f0f2f8;
    font-size: 0.76rem;
    color: #1a1f36;
}

/* ── Top bar ── */
.pin-topbar[b-mbft3y8qk8] {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #14532d 0%, #16a34a 100%);
    color: #fff;
    padding: 0.32rem 0.75rem;
    gap: 0.75rem;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
    position: sticky;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
}
.pin-topbar-left[b-mbft3y8qk8] { display: flex; align-items: center; gap: 0.5rem; flex: 1; min-width: 0; }
.pin-topbar-icon[b-mbft3y8qk8] { font-size: 1.05rem; opacity: 0.9; flex-shrink: 0; }
.pin-topbar-title[b-mbft3y8qk8] { display: block; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.01em; }
.pin-topbar-sub[b-mbft3y8qk8]   { display: block; font-size: 0.62rem; opacity: 0.75; margin-top: 0.02rem; }
.pin-top-actions[b-mbft3y8qk8]  { display: inline-flex; align-items: center; gap: 0.35rem; flex-shrink: 0; }
.pin-btn--top[b-mbft3y8qk8]     { padding: 0.22rem 0.7rem; font-size: 0.7rem; }

.pin-back-btn[b-mbft3y8qk8] {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 5px;
    color: #fff;
    font-size: 0.7rem;
    text-decoration: none;
    transition: background .15s;
    white-space: nowrap;
    flex-shrink: 0;
}
.pin-back-btn:hover[b-mbft3y8qk8] { background: rgba(255,255,255,.18); color: #fff; }

/* ── Body ── */
.pin-body[b-mbft3y8qk8] {
    flex: 1;
    padding: 0.45rem 0.75rem 4.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

/* ── Cards ── */
.pin-card[b-mbft3y8qk8] {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e7f3;
    padding: 0.55rem 0.7rem;
    box-shadow: 0 1px 3px rgba(30,45,90,.06);
}
.pin-card-label[b-mbft3y8qk8] {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #8492b4;
    margin-bottom: 0.3rem;
}

/* ── Meta row ── */
.pin-meta-row[b-mbft3y8qk8] {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 0.4rem;
    align-items: start;
}
@media (max-width: 768px) { .pin-meta-row[b-mbft3y8qk8] { grid-template-columns: 1fr; } }

/* ── Details grid ── */
.pin-details-grid[b-mbft3y8qk8] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 0.5rem;
}
@media (max-width: 480px) { .pin-details-grid[b-mbft3y8qk8] { grid-template-columns: 1fr; } }

.pin-field label[b-mbft3y8qk8] {
    display: block;
    font-size: 0.6rem;
    font-weight: 600;
    color: #8492b4;
    margin-bottom: 0.1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.pin-field--full[b-mbft3y8qk8] { grid-column: 1 / -1; }

/* ── Table card ── */
.pin-table-card[b-mbft3y8qk8] {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e7f3;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(30,45,90,.06);
}

/* Table head bar */
.pin-table-head-bar[b-mbft3y8qk8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.38rem 0.75rem;
    border-bottom: 1px solid #eef2fb;
    background: #fafbfe;
}
.pin-section-label[b-mbft3y8qk8] { font-size: 0.72rem; font-weight: 600; color: #1a1f36; }
.pin-inv-count[b-mbft3y8qk8] {
    font-size: 0.62rem; font-weight: 600; color: #8492b4;
    background: #f0f3fa; padding: 0.1rem 0.45rem; border-radius: 999px;
}

/* Empty state */
.pin-empty[b-mbft3y8qk8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
    gap: 0.35rem;
    color: #8492b4;
}
.pin-empty-icon[b-mbft3y8qk8] { font-size: 2rem; opacity: 0.35; }
.pin-empty-title[b-mbft3y8qk8] { font-size: 0.82rem; font-weight: 600; color: #4a5568; }
.pin-empty-sub[b-mbft3y8qk8]   { font-size: 0.72rem; color: #8492b4; }

/* Responsive: table vs cards */
.pin-table-wrap[b-mbft3y8qk8]  { overflow-x: auto; }
.pin-inv-cards[b-mbft3y8qk8]   { display: none; }
@media (max-width: 640px) {
    .pin-table-wrap[b-mbft3y8qk8] { display: none; }
    .pin-inv-cards[b-mbft3y8qk8]  { display: flex; flex-direction: column; }
}

/* ── Desktop table ── */
.pin-table[b-mbft3y8qk8] { width: 100%; border-collapse: collapse; font-size: 0.74rem; }
.pin-table thead tr[b-mbft3y8qk8] { background: linear-gradient(135deg, #14532d 0%, #16a34a 100%); }
.pin-table thead th[b-mbft3y8qk8] {
    padding: 0.32rem 0.5rem;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,.9);
    white-space: nowrap;
    border: none;
    text-align: left;
}
.pin-table tbody tr[b-mbft3y8qk8] { border-bottom: 1px solid #f0f3fa; transition: background .1s; cursor: pointer; }
.pin-table tbody tr:hover[b-mbft3y8qk8]  { background: #f5fff8; }
.pin-row--selected[b-mbft3y8qk8] { background: #f0fdf4 !important; }
.pin-row--selected:hover[b-mbft3y8qk8]   { background: #dcfce7 !important; }
.pin-table td[b-mbft3y8qk8] { padding: 0.3rem 0.5rem; vertical-align: middle; border: none; }

.pin-th-chk[b-mbft3y8qk8]     { width: 3%; text-align: center; }
.pin-th-date[b-mbft3y8qk8]    { width: 10%; }
.pin-th-due[b-mbft3y8qk8]     { width: 10%; }
.pin-th-inv[b-mbft3y8qk8]     { width: 15%; }
.pin-th-amt[b-mbft3y8qk8]     { width: 20%; }
.pin-th-settled[b-mbft3y8qk8] { width: 14%; text-align: right; }
.pin-th-pay[b-mbft3y8qk8]     { width: 18%; }

.pin-td-chk[b-mbft3y8qk8]     { text-align: center; }
.pin-td-inv[b-mbft3y8qk8]     { font-weight: 600; color: #14532d; }
.pin-td-amt[b-mbft3y8qk8]     { }
.pin-td-settled[b-mbft3y8qk8] { text-align: right; font-weight: 500; }
.pin-td-pay[b-mbft3y8qk8]     { }

.pin-amt-main[b-mbft3y8qk8] { display: block; font-weight: 600; color: #1a1f36; }
.pin-amt-due[b-mbft3y8qk8]  { display: block; font-size: 0.62rem; color: #dc2626; margin-top: 0.05rem; }
.pin-overdue[b-mbft3y8qk8]  { color: #dc2626; font-weight: 600; }

.pin-pay-grp[b-mbft3y8qk8] { max-width: 140px; }
.pin-pay-input[b-mbft3y8qk8] { text-align: right; }

/* ── Mobile invoice cards ── */
.pin-inv-card[b-mbft3y8qk8] {
    border-bottom: 1px solid #f0f3fa;
    padding: 0.65rem 0.85rem;
    cursor: pointer;
    transition: background .1s;
}
.pin-inv-card:last-child[b-mbft3y8qk8] { border-bottom: none; }
.pin-inv-card--selected[b-mbft3y8qk8] { background: #f0fdf4; }

.pin-inv-card-header[b-mbft3y8qk8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
}
.pin-inv-no[b-mbft3y8qk8] { font-weight: 700; color: #14532d; font-size: 0.78rem; }

.pin-inv-card-body[b-mbft3y8qk8] { margin-bottom: 0.4rem; display: flex; flex-direction: column; gap: 0.2rem; }
.pin-inv-meta[b-mbft3y8qk8] { display: flex; justify-content: space-between; font-size: 0.68rem; color: #8492b4; }

.pin-inv-card-footer[b-mbft3y8qk8] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.4rem;
    border-top: 1px solid #f0f3fa;
}
.pin-pay-label[b-mbft3y8qk8] { font-size: 0.62rem; font-weight: 600; color: #8492b4; text-transform: uppercase; white-space: nowrap; }

/* ── Summary bar ── */
.pin-summary-bar[b-mbft3y8qk8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, #14532d 0%, #16a34a 100%);
    color: #fff;
}
.pin-summary-label[b-mbft3y8qk8] { font-size: 0.75rem; font-weight: 600; }
.pin-summary-val[b-mbft3y8qk8]   { font-size: 1rem; font-weight: 700; }

/* ── Action bar ── */
.pin-action-bar[b-mbft3y8qk8] {
    position: sticky;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid #e2e7f3;
    padding: 0.4rem 1rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    z-index: 350;
    box-shadow: 0 -3px 8px rgba(30,45,90,.09);
}

.pin-btn[b-mbft3y8qk8] {
    display: inline-flex; align-items: center; gap: 0.3rem;
    padding: 0.32rem 1.1rem; border-radius: 6px;
    font-size: 0.78rem; font-weight: 600;
    cursor: pointer; border: none;
    transition: opacity .15s;
    text-decoration: none;
}
.pin-btn:disabled[b-mbft3y8qk8] { opacity: 0.65; cursor: not-allowed; }
.pin-btn--cancel[b-mbft3y8qk8] { background: #fff; border: 1.5px solid #d1d5db; color: #6b7280; }
.pin-btn--cancel:hover[b-mbft3y8qk8] { background: #f9fafb; color: #374151; }
.pin-btn--save[b-mbft3y8qk8] {
    background: linear-gradient(135deg, #14532d 0%, #16a34a 100%);
    color: #fff;
    box-shadow: 0 2px 5px rgba(20,83,45,.25);
}
.pin-btn--save:hover:not(:disabled)[b-mbft3y8qk8] { opacity: 0.88; }

/* ── Mobile ── */
@media (max-width: 900px) {
    .pin-topbar[b-mbft3y8qk8] { gap: 0.3rem; }
    .pin-top-actions[b-mbft3y8qk8] { width: 100%; justify-content: flex-end; }
}
@media (max-width: 600px) {
    .pin-body[b-mbft3y8qk8] { padding: 0.4rem 0.4rem 4.5rem; }
    .pin-action-bar[b-mbft3y8qk8] { padding: 0.4rem 0.5rem; }
    .pin-btn[b-mbft3y8qk8] { padding: 0.3rem 0.75rem; font-size: 0.74rem; }
}
/* /Components/Pages/PaymentOutPage/PaymentoutAddPage.razor.rz.scp.css */
/* Add-page styles live in wwwroot/css/payment-out-smart.css (same theme as the list). */
/* /Components/Pages/PaymentOutPage/PaymentoutList.razor.rz.scp.css */
/* Styles live in wwwroot/css/payment-out-smart.css (Corecent navy nav theme).
   Keep this file empty so scoped CSS does not override the global smart design. */
/* /Components/Pages/POSPage/PartyPosModal.razor.rz.scp.css */
.pos-customer-dropdown[b-ewj2d1gxpf] {
    width: 100%;
    cursor: pointer;
}
/* /Components/Pages/POSPage/PosList.razor.rz.scp.css */
/* ════════════════════════════════════════════════════════════
   POS — Modern Clean Design  (vars live in app.css :root)
   ════════════════════════════════════════════════════════════ */

/* ── Root wrapper ── */
.pos-wrap[b-a12v9pk4es] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    background: var(--pos-bg);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ════════════════════════════════════════
   MOBILE TOP BAR
════════════════════════════════════════ */
.pos-mobile-topbar[b-a12v9pk4es] {
    display: none;
    align-items: center;
    padding: 0.45rem 0.9rem;
    background: #fff;
    border-bottom: 1px solid var(--pos-border);
    gap: 0.5rem;
    flex-shrink: 0;
    z-index: 20;
    box-shadow: 0 1px 6px rgba(108,92,231,.07);
}

.pmtb-tab[b-a12v9pk4es] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: none;
    border: none;
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--pos-muted);
    cursor: pointer;
    padding: 0.3rem 0.75rem;
    border-radius: var(--pos-radius-sm);
    transition: color 0.2s, background 0.2s;
    line-height: 1;
}

.pmtb-tab i[b-a12v9pk4es] { font-size: 1.05rem; margin-bottom: 1px; }

.pmtb-tab.pmtb-active[b-a12v9pk4es] {
    color: var(--pos-primary);
    background: var(--pos-primary-light);
}

.pmtb-center[b-a12v9pk4es] { flex: 1; text-align: center; }

.pmtb-order-chip[b-a12v9pk4es] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--pos-primary-light);
    color: var(--pos-primary);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.22rem 0.8rem;
    border-radius: 999px;
    letter-spacing: 0.01em;
}

.pmtb-badge[b-a12v9pk4es] {
    position: absolute;
    top: 1px;
    right: 1px;
    min-width: 15px;
    height: 15px;
    padding: 0 3px;
    border-radius: 999px;
    background: var(--pos-danger);
    color: #fff;
    font-size: 0.52rem;
    font-weight: 700;
    line-height: 15px;
    text-align: center;
    pointer-events: none;
}

/* ════════════════════════════════════════
   MAIN BODY
════════════════════════════════════════ */
.pos-body[b-a12v9pk4es] {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

/* ════════════════════════════════════════
   LEFT — PRODUCTS PANEL
════════════════════════════════════════ */
.pos-products-panel[b-a12v9pk4es] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    background: var(--pos-bg);
}

.salesperson-dashboard-host[b-a12v9pk4es] { flex-shrink: 0; }

/* ── Controls Row (search + category combo + warehouse) ── */
.ppp-controls[b-a12v9pk4es] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.75rem;
    background: #fff;
    border-bottom: 1px solid #e2dffe;
    flex-wrap: nowrap;
}

.ppp-search[b-a12v9pk4es] {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    background: var(--pos-primary-xlight);
    border: 1.5px solid var(--pos-border);
    border-radius: 999px;
    padding: 0 0.7rem;
    gap: 0.45rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    height: 36px;
}

.ppp-search:focus-within[b-a12v9pk4es] {
    border-color: var(--pos-primary);
    box-shadow: 0 0 0 3px rgba(108,92,231,.11);
}

.ppp-search-icon[b-a12v9pk4es] {
    color: var(--pos-muted);
    font-size: 0.78rem;
    flex-shrink: 0;
}

.ppp-search-input[b-a12v9pk4es] {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    font-size: 0.82rem;
    color: var(--pos-text);
    outline: none;
    height: 100%;
}

.ppp-search-input[b-a12v9pk4es]::placeholder { color: var(--pos-muted); }

.ppp-search-action[b-a12v9pk4es] {
    background: none;
    border: none;
    color: var(--pos-primary);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    opacity: 0.75;
}

.ppp-warehouse-select[b-a12v9pk4es] {
    flex-shrink: 0;
    background: #fff;
    border: 1.5px solid var(--pos-border);
    border-radius: var(--pos-radius-sm);
    font-size: 0.78rem;
    color: var(--pos-text);
    padding: 0 0.55rem;
    height: 36px;
    outline: none;
    cursor: pointer;
    min-width: 120px;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ppp-warehouse-select:focus[b-a12v9pk4es] {
    border-color: var(--pos-primary);
    box-shadow: 0 0 0 3px rgba(108,92,231,.11);
}

/* ── Stats row (slim info bar) ── */
.ppp-stats[b-a12v9pk4es] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.75rem;
    height: 30px;
    background: #faf9ff;
    border-bottom: 1px solid #e2dffe;
    overflow: hidden;
}

.ppp-stat-chip[b-a12v9pk4es] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--pos-primary-light);
    color: var(--pos-primary);
    font-size: 0.68rem;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.ppp-stat-chip i[b-a12v9pk4es] { font-size: 0.65rem; }
.ppp-stat-chip strong[b-a12v9pk4es] { font-weight: 700; }

/* .ppp-categories and .ppp-cat-pill removed — replaced by .ppp-cat-select combo in controls row */

/* ── Category combo (select in controls row) ── */
.ppp-cat-select[b-a12v9pk4es] {
    flex-shrink: 0;
    height: 36px;
    background: #fff;
    border: 1.5px solid #c9c3f7;
    border-radius: var(--pos-radius-sm);
    font-size: 0.78rem;
    font-weight: 600;
    color: #5a4bd1;
    padding: 0 0.55rem;
    outline: none;
    cursor: pointer;
    max-width: 148px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 1px 4px rgba(108,92,231,.08);
}

.ppp-cat-select:focus[b-a12v9pk4es] {
    border-color: #6C5CE7;
    box-shadow: 0 0 0 3px rgba(108,92,231,.12);
}

/* ── Products Grid ── */
.ppp-grid[b-a12v9pk4es] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.4rem;
    align-content: start;
    background: #f8fafc;
}

.ppp-grid[b-a12v9pk4es]::-webkit-scrollbar { width: 4px; }
.ppp-grid[b-a12v9pk4es]::-webkit-scrollbar-track { background: transparent; }
.ppp-grid[b-a12v9pk4es]::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 2px; }

/* ── Product Card ── */
.ppp-card[b-a12v9pk4es] {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s;
    position: relative;
    display: flex;
    flex-direction: column;
    user-select: none;
    min-height: 122px !important;
}

.ppp-card:hover[b-a12v9pk4es] {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
    border-color: #93c5fd;
}

.ppp-card:active[b-a12v9pk4es] { transform: scale(0.97); }

.ppp-card.ppp-card-oos[b-a12v9pk4es] {
    opacity: 1;
    cursor: default;
    border-color: #e5e7eb;
    background: #ffffff;
}

/* Image area — clean soft background with icon */
.ppp-card-img[b-a12v9pk4es] {
    width: 100%;
    height: 62px;
    background: #ffffff;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Shopping icon placeholder */
.ppp-card-img[b-a12v9pk4es]::before {
    content: "\f291"; /* fa-shopping-basket */
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", FontAwesome;
    font-weight: 900;
    font-size: 1.5rem;
    color: #60a5fa;
    pointer-events: none;
    z-index: 0;
}

.ppp-card-img img[b-a12v9pk4es] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.22s;
    z-index: 1;
    /* Hide alt text when image URL is broken */
    color: transparent;
    font-size: 0;
    line-height: 0;
}

.ppp-card:hover .ppp-card-img img[b-a12v9pk4es] { transform: scale(1.05); }

.ppp-stock-badge[b-a12v9pk4es] {
    position: absolute;
    top: 5px;
    left: 5px;
    padding: 0.1rem 0.35rem;
    border-radius: 999px;
    font-size: 0.56rem;
    font-weight: 700;
    line-height: 1.5;
    pointer-events: none;
    z-index: 2;
}

.ppp-stock-out[b-a12v9pk4es] { background: #ef4444; color: #fff; }
.ppp-stock-low[b-a12v9pk4es] { background: #f59e0b; color: #fff; }

/* Card body */
.ppp-card-body[b-a12v9pk4es] {
    padding: 0.4rem 0.45rem 0.38rem;
    padding-right: 1.9rem; /* keep text clear of + button */
    flex: 1;
    display: flex !important;
    flex-direction: column;
    gap: 0.22rem;
    background: #ffffff;
}

.ppp-card-name[b-a12v9pk4es] {
    font-size: 0.68rem;
    font-weight: 400;
    color: #0b1220 !important;
    text-shadow: none;
    margin: 0;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: normal;
    min-height: 2.2em;
    letter-spacing: 0;
    opacity: 1 !important;
}

.ppp-card-footer[b-a12v9pk4es] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.2rem;
    border-top: 1px solid #f1f5f9;
}

.ppp-card-prices[b-a12v9pk4es] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.ppp-card-price[b-a12v9pk4es] {
    font-size: 0.62rem;
    font-weight: 800;
    color: #1e40af;
    line-height: 1;
}

.ppp-card-price.is-offer[b-a12v9pk4es] { color: #b91c1c; }

.ppp-card-was[b-a12v9pk4es],
.pci-was[b-a12v9pk4es] {
    font-size: 0.52rem;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: line-through;
    line-height: 1;
    white-space: nowrap;
}

.ppp-card-stock[b-a12v9pk4es] {
    font-size: 0.56rem;
    font-weight: 600;
    color: #065f46;
    line-height: 1;
    background: #ecfdf5;
    padding: 0.08rem 0.24rem;
    border-radius: 999px;
    border: 1px solid #a7f3d0;
}

.ppp-oos-text[b-a12v9pk4es] { color: #ef4444 !important; background: #fef2f2 !important; border-color: #fecaca !important; }

/* Add button — bottom-right corner, clearly visible */
.ppp-card-add[b-a12v9pk4es] {
    position: absolute;
    bottom: 0.38rem;
    right: 0.38rem;
    width: 24px;
    height: 24px;
    background: #2563eb;
    border: 1px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.6rem;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
    pointer-events: none;
    transition: transform 0.15s, background 0.15s;
    z-index: 2;
}

.ppp-card:hover .ppp-card-add[b-a12v9pk4es] {
    transform: scale(1.18);
    background: #1d4ed8;
}

/* ── Pagination Bar ── */
.ppp-pager[b-a12v9pk4es] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 0.38rem 0.7rem;
    background: #fff;
    border-top: 1px solid #e2dffe;
    overflow-x: auto;
}

.ppp-page-btn[b-a12v9pk4es] {
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border: 1.5px solid #d4cffa;
    border-radius: 6px;
    background: #faf9ff;
    color: #5a4bd1;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s, border-color 0.15s;
}

.ppp-page-btn:disabled[b-a12v9pk4es] {
    opacity: 0.35;
    cursor: default;
}

.ppp-page-btn:not(:disabled):hover[b-a12v9pk4es] {
    background: #ede9fe;
    border-color: #9b8ef5;
}

.ppp-page-btn.ppp-page-active[b-a12v9pk4es] {
    background: #6C5CE7;
    border-color: #6C5CE7;
    color: #fff;
}

.ppp-page-info[b-a12v9pk4es] {
    margin-left: auto;
    font-size: 0.68rem;
    color: #7b7a9b;
    white-space: nowrap;
    flex-shrink: 0;
}


/* ════════════════════════════════════════
   RIGHT — ORDER PANEL
════════════════════════════════════════ */
.pos-order-panel[b-a12v9pk4es] {
    flex: 0 0 360px;
    width: 360px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;          /* prevent sections from spilling below viewport */
    background: #fff;
    border-left: 1.5px solid var(--pos-border);
}

/* ── Header ── */
.pop-header[b-a12v9pk4es] {
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.38rem 0.62rem;
    background: linear-gradient(135deg, var(--pos-primary) 0%, var(--pos-primary-dark) 100%);
    color: #fff;
}

.pop-header-left[b-a12v9pk4es] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.pop-order-icon[b-a12v9pk4es] {
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    flex-shrink: 0;
}

.pop-order-title[b-a12v9pk4es] {
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.2;
}

.pop-order-time[b-a12v9pk4es] {
    font-size: 0.52rem;
    opacity: 0.8;
    margin-top: 0;
}

.pop-icon-btn[b-a12v9pk4es] {
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,.15);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 0.68rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s;
    flex-shrink: 0;
}

.pop-icon-btn:hover[b-a12v9pk4es] { background: rgba(255,255,255,.28); }

/* ── Customer / Meta ── */
.pop-meta[b-a12v9pk4es] {
    flex-shrink: 0;
    padding: 0.42rem 0.62rem 0.38rem;
    background: #fff;
    border-bottom: 1px solid var(--pos-border);
}

.pop-meta-row[b-a12v9pk4es] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 30px;
}

.pop-meta-icon[b-a12v9pk4es] {
    width: 26px;
    height: 26px;
    border-radius: var(--pos-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
    background: var(--pos-primary-light);
    color: var(--pos-primary);
}

.pop-meta-content[b-a12v9pk4es] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pop-meta-label[b-a12v9pk4es] {
    font-size: 0.6rem;
    color: var(--pos-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}

.pop-customer-select[b-a12v9pk4es] { flex: 1; min-width: 0; }

/* Customer input override */
.pop-customer-select .form-select[b-a12v9pk4es],
.pop-customer-select input[type="text"][b-a12v9pk4es],
.pop-customer-select input:not([type="checkbox"]):not([type="radio"])[b-a12v9pk4es] {
    border: 1.5px solid var(--pos-border) !important;
    border-radius: var(--pos-radius-sm) !important;
    font-size: 0.79rem !important;
    padding: 0.28rem 0.6rem !important;
    background: var(--pos-primary-xlight) !important;
    color: var(--pos-text) !important;
    box-shadow: none !important;
    height: auto !important;
    min-height: 0 !important;
    outline: none !important;
}

.pop-customer-select .form-select:focus[b-a12v9pk4es],
.pop-customer-select input:focus[b-a12v9pk4es] {
    border-color: var(--pos-primary) !important;
    box-shadow: 0 0 0 3px rgba(108,92,231,.10) !important;
}

/* Dropdown inside customer select */
.pop-customer-select .dropdown-menu[b-a12v9pk4es] {
    font-size: 0.78rem;
    border: 1.5px solid var(--pos-border);
    border-radius: var(--pos-radius-sm);
    box-shadow: var(--pos-shadow-md);
    z-index: 100;
}

.pop-customer-select .dropdown-item[b-a12v9pk4es] { padding: 0.35rem 0.75rem; }
.pop-customer-select .dropdown-item:hover[b-a12v9pk4es],
.pop-customer-select .active-item[b-a12v9pk4es] { background: var(--pos-primary-light); color: var(--pos-primary); }

/* ── Items Label ── */
.pop-items-header[b-a12v9pk4es] {
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0.9rem 0.2rem;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--pos-text);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    background: #fff;
}

.pop-items-count[b-a12v9pk4es] {
    background: var(--pos-primary);
    color: #fff;
    font-size: 0.58rem;
    font-weight: 700;
    padding: 0.08rem 0.42rem;
    border-radius: 999px;
    min-width: 18px;
    text-align: center;
}

/* ── Cart area ── */
.pop-cart[b-a12v9pk4es] {
    flex: 1 1 0;          /* allow it to shrink so fixed sections always show */
    min-height: 60px;     /* always show at least a sliver so empty state is visible */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--pos-primary-xlight);
}

.pop-cart-scroll[b-a12v9pk4es] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.5rem 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.pop-cart-scroll[b-a12v9pk4es]::-webkit-scrollbar { width: 3px; }
.pop-cart-scroll[b-a12v9pk4es]::-webkit-scrollbar-track { background: transparent; }
.pop-cart-scroll[b-a12v9pk4es]::-webkit-scrollbar-thumb { background: #bdb6f0; border-radius: 2px; }

/* ── Empty cart ── */
.pop-empty[b-a12v9pk4es] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    text-align: center;
}

.pop-empty-icon[b-a12v9pk4es] {
    width: 56px;
    height: 56px;
    background: var(--pos-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: var(--pos-primary);
    margin-bottom: 0.65rem;
}

.pop-empty-title[b-a12v9pk4es] {
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--pos-text);
    margin: 0 0 0.2rem;
}

.pop-empty-sub[b-a12v9pk4es] {
    font-size: 0.7rem;
    color: var(--pos-muted);
    margin: 0;
}

/* ── Cart Item ── */
.pop-cart-item[b-a12v9pk4es] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: #fff;
    border-radius: var(--pos-radius);
    padding: 0.34rem 0.48rem;
    box-shadow: 0 1px 5px rgba(108,92,231,.07);
    border: 1px solid var(--pos-border);
    transition: box-shadow 0.15s;
    min-width: 0;
}

.pop-cart-item:hover[b-a12v9pk4es] { box-shadow: 0 3px 10px rgba(108,92,231,.12); }

.pci-thumb[b-a12v9pk4es] {
    display: none !important;
}

.pci-thumb img[b-a12v9pk4es] { width: 100%; height: 100%; object-fit: cover; display: block; }

.pci-info[b-a12v9pk4es] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    padding-left: 0.1rem;
}

.pci-name[b-a12v9pk4es] {
    font-size: 0.62rem;
    font-weight: 500;
    color: var(--pos-text);
    margin: 0 0 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pci-rate[b-a12v9pk4es] {
    font-size: 0.56rem;
    color: var(--pos-muted);
    white-space: nowrap;
}

.pci-rate.is-offer[b-a12v9pk4es] {
    color: #b91c1c;
    font-weight: 700;
}

/* Qty controls */
.pci-controls[b-a12v9pk4es] {
    display: flex;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
}

.pci-qty-btn[b-a12v9pk4es] {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1.5px solid var(--pos-border);
    background: #fff;
    color: var(--pos-primary);
    font-size: 0.52rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.14s;
    flex-shrink: 0;
}

.pci-qty-btn:hover[b-a12v9pk4es] {
    background: var(--pos-primary-light);
    border-color: var(--pos-primary);
}

.pci-qty-btn.pci-qty-add[b-a12v9pk4es] {
    background: var(--pos-primary);
    border-color: var(--pos-primary);
    color: #fff;
}

.pci-qty-btn.pci-qty-add:hover[b-a12v9pk4es] { background: var(--pos-primary-dark); }

.pci-qty-input[b-a12v9pk4es] {
    width: 26px;
    height: 20px;
    text-align: center;
    border: 1.5px solid var(--pos-border);
    border-radius: 6px;
    font-size: 0.64rem;
    font-weight: 700;
    color: var(--pos-text);
    background: #fff;
    padding: 0;
    outline: none;
    -moz-appearance: textfield;
    flex-shrink: 0;
}

.pci-qty-input:focus[b-a12v9pk4es] {
    border-color: var(--pos-primary);
    box-shadow: 0 0 0 2px rgba(108,92,231,.10);
}

.pci-qty-input[b-a12v9pk4es]::-webkit-outer-spin-button,
.pci-qty-input[b-a12v9pk4es]::-webkit-inner-spin-button { -webkit-appearance: none; }

.pci-total[b-a12v9pk4es] {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--pos-primary);
    flex-shrink: 0;
    min-width: 44px;
    text-align: right;
    white-space: nowrap;
}

.pci-del[b-a12v9pk4es] {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1.5px solid #fdd;
    background: #fff7f7;
    color: var(--pos-danger);
    font-size: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    transition: all 0.14s;
}

.pci-del:hover[b-a12v9pk4es] {
    background: var(--pos-danger);
    border-color: var(--pos-danger);
    color: #fff;
}

/* ── Summary ── */
.pop-summary[b-a12v9pk4es] {
    flex-shrink: 0;
    padding: 0.24rem 0.58rem;
    background: #fff;
    border-top: 1.5px solid var(--pos-border);
}

.pop-sum-row[b-a12v9pk4es] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.64rem;
    color: var(--pos-muted);
    padding: 0.03rem 0;
}

.pop-sum-tax[b-a12v9pk4es] { color: var(--pos-danger); }

.pop-sum-discount[b-a12v9pk4es] {
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: center;
}

.pop-discount-inputs[b-a12v9pk4es] {
    display: flex;
    gap: 0.35rem;
    align-items: center;
}

.pop-disc-group[b-a12v9pk4es] {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--pos-border);
    border-radius: 5px;
    overflow: hidden;
    background: var(--pos-primary-xlight);
    height: 22px;
}

.pop-disc-unit[b-a12v9pk4es] {
    padding: 0 0.26rem;
    font-size: 0.6rem;
    color: var(--pos-muted);
    background: var(--pos-border);
    line-height: 22px;
    flex-shrink: 0;
    white-space: nowrap;
}

.pop-disc-input[b-a12v9pk4es] {
    width: 40px;
    border: none;
    background: transparent;
    font-size: 0.64rem;
    color: var(--pos-text);
    padding: 0 0.22rem;
    outline: none;
    text-align: right;
    -moz-appearance: textfield;
}

.pop-disc-input[b-a12v9pk4es]::-webkit-outer-spin-button,
.pop-disc-input[b-a12v9pk4es]::-webkit-inner-spin-button { -webkit-appearance: none; }

.pop-sum-total[b-a12v9pk4es] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.2rem;
    margin-top: 0.08rem;
    border-top: 1.5px dashed var(--pos-border);
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--pos-text);
}

.pop-sum-total-amount[b-a12v9pk4es] {
    font-size: 0.84rem;
    color: #1d4ed8;
    font-weight: 800;
}

/* ── Payment Methods ── */
.pop-payment[b-a12v9pk4es] {
    flex-shrink: 0;
    padding: 0.12rem 0.5rem 0.12rem;
    background: #fff;
    border-top: 1.5px solid var(--pos-border);
}

.pop-payment-label[b-a12v9pk4es] {
    font-size: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--pos-muted);
    margin-bottom: 0.1rem;
    line-height: 1;
}

.pop-payment-selected[b-a12v9pk4es] {
    color: var(--pos-primary);
    text-transform: none;
    font-weight: 700;
    letter-spacing: 0;
}

.pop-payment-grid[b-a12v9pk4es] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.12rem;
}

.pop-pay-btn[b-a12v9pk4es] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0.1rem 0.06rem;
    border-radius: var(--pos-radius-sm);
    border: 1px solid transparent;
    background: var(--pay-bg, #ccc);
    color: var(--pay-fg, #fff);
    font-size: 0.43rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.17s, box-shadow 0.17s, filter 0.17s;
    box-shadow: 0 1px 4px rgba(0,0,0,.13);
    min-height: 24px;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.pop-pay-btn i[b-a12v9pk4es] { font-size: 0.52rem; }

/* Ultra-small screens: keep one-line payment row, icon-only buttons */
@media (max-width: 420px) {
    .pop-payment-grid[b-a12v9pk4es] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.1rem;
    }

    .pop-pay-btn[b-a12v9pk4es] {
        min-height: 24px;
        padding: 0.08rem 0.04rem;
        justify-content: center;
    }

    .pop-pay-btn span[b-a12v9pk4es] {
        display: none;
    }

    .pop-pay-btn i[b-a12v9pk4es] {
        font-size: 0.62rem;
        margin: 0;
    }
}

.pop-pay-btn:hover[b-a12v9pk4es] {
    transform: translateY(-1px);
    box-shadow: 0 3px 9px rgba(0,0,0,.18);
    filter: brightness(1.06);
}

.pop-pay-btn.pop-pay-active[b-a12v9pk4es] {
    border-color: rgba(255,255,255,.95);
    box-shadow: 0 0 0 2px var(--pos-primary), 0 3px 9px rgba(0,0,0,.18);
    transform: scale(1.02);
}

/* Compact split payment summary */
.pop-split-card[b-a12v9pk4es] {
    margin-top: 0.14rem;
    border: 1px solid #dbe2f0;
    border-radius: 8px;
    background: #f8fafc;
    padding: 0.32rem 0.4rem;
}

.pop-split-head[b-a12v9pk4es] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.3rem;
}

.pop-split-title[b-a12v9pk4es] {
    font-size: 0.62rem;
    font-weight: 700;
    color: #334155;
    line-height: 1;
}

.pop-split-edit-btn[b-a12v9pk4es] {
    padding: 0.08rem 0.34rem;
    font-size: 0.56rem;
    border-radius: 6px;
    line-height: 1.1;
}

.pop-split-meta[b-a12v9pk4es] {
    margin-top: 0.2rem;
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
    font-size: 0.58rem;
    color: #475569;
    line-height: 1.15;
}

.pop-split-meta strong[b-a12v9pk4es] {
    font-size: 0.64rem;
}

/* Desktop: keep Paid/Remaining on one line */
@media (min-width: 992px) {
    .pop-split-meta[b-a12v9pk4es] {
        flex-wrap: nowrap;
        white-space: nowrap;
        justify-content: flex-start;
        gap: 0.9rem;
    }
}

/* Split payment modal modern compact styling */
.split-modern-body[b-a12v9pk4es] {
    background: #fbfdff;
}

.split-modern-grid[b-a12v9pk4es] {
    display: grid;
    grid-template-columns: 0.9fr 1.9fr;
    gap: 0.8rem;
    align-items: start;
}

.split-modern-input[b-a12v9pk4es] {
    border-radius: 8px;
    border-color: #e2e8f0;
    font-size: 0.82rem;
}

.split-modern-tags[b-a12v9pk4es] {
    display: inline-flex;
    gap: 0.22rem;
    flex-wrap: wrap;
}

.split-modern-tag[b-a12v9pk4es] {
    font-size: 0.62rem;
    color: #0369a1;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    border-radius: 999px;
    padding: 0.02rem 0.36rem;
    line-height: 1.25;
    font-weight: 600;
}

.split-line-row[b-a12v9pk4es] {
    display: grid;
    grid-template-columns: 1.1fr 1.05fr 0.9fr 2fr auto;
    gap: 0.42rem;
    align-items: center;
    margin-bottom: 0.36rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.3rem;
    background: #ffffff;
}

.split-method-select[b-a12v9pk4es] {
    border-radius: 8px;
    font-size: 0.78rem;
    border-color: #e2e8f0;
}

.split-method-badge[b-a12v9pk4es] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 8px;
    padding: 0.28rem 0.46rem;
    line-height: 1;
    border: 1px solid transparent;
}

.split-method-badge i[b-a12v9pk4es] {
    font-size: 0.74rem;
}

.split-line-row.ep-mpesa[b-a12v9pk4es] {
    border-color: #b7f0d0;
    background: #f2fdf7;
}

.split-line-row.ep-card[b-a12v9pk4es] {
    border-color: #bfdbfe;
    background: #f5f9ff;
}

.split-line-row.ep-bank[b-a12v9pk4es] {
    border-color: #bae6fd;
    background: #f0fcff;
}

.split-method-badge.ep-mpesa[b-a12v9pk4es] {
    color: #065f46;
    background: #dcfce7;
    border-color: #86efac;
}

.split-method-badge.ep-card[b-a12v9pk4es] {
    color: #1e40af;
    background: #dbeafe;
    border-color: #93c5fd;
}

.split-method-badge.ep-bank[b-a12v9pk4es] {
    color: #0e7490;
    background: #cffafe;
    border-color: #67e8f9;
}

.split-amt-input[b-a12v9pk4es] {
    min-width: 90px;
}

.split-del-btn[b-a12v9pk4es] {
    border-radius: 8px;
    width: 32px;
    height: 32px;
    padding: 0;
}

.split-add-btn[b-a12v9pk4es] {
    border-radius: 8px;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 0.18rem 0.52rem;
}

.split-modern-summary[b-a12v9pk4es] {
    margin-top: 0.56rem;
    padding: 0.44rem 0.54rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: #475569;
}

.split-modern-summary strong[b-a12v9pk4es] {
    font-size: 0.94rem;
}

@media (max-width: 991.98px) {
    .split-modern-grid[b-a12v9pk4es] {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .split-line-row[b-a12v9pk4es] {
        grid-template-columns: 1fr;
        gap: 0.32rem;
    }

    .split-modern-summary[b-a12v9pk4es] {
        flex-wrap: wrap;
        gap: 0.4rem 0.8rem;
    }
}

/* ── Action Buttons ── */
.pop-actions[b-a12v9pk4es] {
    flex-shrink: 0;
    display: flex;
    gap: 0.35rem;
    padding: 0.22rem 0.65rem 0.28rem;
    background: #fff;
    border-top: 1.5px solid var(--pos-border);
    position: sticky;
    bottom: 0;
    z-index: 10;
    box-shadow: 0 -4px 12px rgba(15, 23, 42, 0.08);
}

.pop-btn-cancel[b-a12v9pk4es] {
    flex: 1;
    padding: 0.48rem 0.6rem;
    border-radius: var(--pos-radius);
    border: 1.5px solid #fcc;
    background: #fff7f7;
    color: var(--pos-danger);
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
}

.pop-btn-cancel:hover[b-a12v9pk4es] {
    background: var(--pos-danger);
    border-color: var(--pos-danger);
    color: #fff;
}

.pop-btn-pay[b-a12v9pk4es] {
    flex: 2;
    padding: 0.48rem 0.6rem;
    border-radius: var(--pos-radius);
    border: none;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(22, 163, 74, 0.28);
    transition: all 0.18s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
}

.pop-btn-pay:hover[b-a12v9pk4es] {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(22, 163, 74, 0.34);
}

.pop-btn-pay:disabled[b-a12v9pk4es] {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ── Mobile Proceed Bar ── */
.pop-proceed[b-a12v9pk4es] {
    display: none;
    flex-shrink: 0;
    align-items: center;
    gap: 0.45rem;
    padding: 0.38rem 0.75rem;
    padding-bottom: calc(0.38rem + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1.5px solid var(--pos-border);
}

.pop-proceed-btn[b-a12v9pk4es] {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(22, 163, 74, 0.25);
    transition: all 0.18s;
    gap: 0.5rem;
}

.pop-proceed-btn:hover[b-a12v9pk4es] {
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(22, 163, 74, 0.32);
}

.pop-proceed-btn:disabled[b-a12v9pk4es] { opacity: 0.65; cursor: not-allowed; transform: none; }

.pop-proceed-meta[b-a12v9pk4es] {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    opacity: 0.9;
    white-space: nowrap;
}

.pop-proceed-meta strong[b-a12v9pk4es] { font-size: 0.88rem; font-weight: 800; }

.pop-proceed-cancel[b-a12v9pk4es] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid #fcc;
    background: #fff7f7;
    color: var(--pos-danger);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.18s;
}

.pop-proceed-cancel:hover[b-a12v9pk4es] {
    background: var(--pos-danger);
    border-color: var(--pos-danger);
    color: #fff;
}

/* ════════════════════════════════════════
   RESPONSIVE ≤ 1100px
════════════════════════════════════════ */
@media (max-width: 1100px) {
    .pos-order-panel[b-a12v9pk4es] { flex: 0 0 320px; width: 320px; }
    .ppp-grid[b-a12v9pk4es] { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}

/* ════════════════════════════════════════
   RESPONSIVE ≤ 992px  (tablet + mobile)
════════════════════════════════════════ */
@media (max-width: 992px) {

    .pos-mobile-topbar[b-a12v9pk4es] { display: flex; }

    .pos-body[b-a12v9pk4es] { display: block; overflow: visible; height: auto; }

    /* hide dashboard on small screens */
    .salesperson-dashboard-host[b-a12v9pk4es] { display: none !important; }

    /* Both panels: full width, flex col */
    .pos-products-panel[b-a12v9pk4es],
    .pos-order-panel[b-a12v9pk4es] {
        flex: none;
        width: 100%;
        max-width: 100%;
        border: none;
        box-shadow: none;
    }

    /* Height: fill viewport minus mobile top bar (~52px) */
    .pos-products-panel.ppp-show[b-a12v9pk4es],
    .pos-order-panel.pop-show[b-a12v9pk4es] {
        display: flex;
        flex-direction: column;
        height: calc(100dvh - 106px); /* dynamic viewport for mobile browsers */
    }

    /* Reserve space for fixed proceed bar (tight; FAB removed) */
    .pos-order-panel.pop-show[b-a12v9pk4es] {
        padding-bottom: calc(54px + env(safe-area-inset-bottom, 0px));
    }

    .ppp-hide[b-a12v9pk4es] { display: none !important; }
    .pop-hide[b-a12v9pk4es] { display: none !important; }

    /* Show mobile proceed, hide desktop actions */
    .pop-proceed[b-a12v9pk4es] {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 12;
        border-top: 1.5px solid var(--pos-border);
        background: #fff;
        box-shadow: 0 -6px 18px rgba(15, 23, 42, 0.12);
    }
    .pop-actions[b-a12v9pk4es] { display: none !important; }

    /* Let cart body shrink first so summary/payment/save stay visible */
    .pop-cart[b-a12v9pk4es] {
        min-height: 0;
    }
}

/* ════════════════════════════════════════
   RESPONSIVE ≤ 576px  (phone)
════════════════════════════════════════ */
@media (max-width: 576px) {

    .ppp-controls[b-a12v9pk4es] { padding: 0.42rem 0.55rem; gap: 0.3rem; }
    .ppp-search[b-a12v9pk4es], .ppp-cat-select[b-a12v9pk4es], .ppp-warehouse-select[b-a12v9pk4es] { height: 32px; }
    .ppp-cat-select[b-a12v9pk4es] { max-width: 104px; font-size: 0.7rem; padding: 0 0.4rem; }
    .ppp-warehouse-select[b-a12v9pk4es] { min-width: 100px; max-width: 130px; font-size: 0.7rem; padding: 0 0.4rem; }

    .ppp-stats[b-a12v9pk4es] { padding: 0 0.65rem; }
    .ppp-categories[b-a12v9pk4es] { padding: 0.45rem 0.65rem; }

    .ppp-grid[b-a12v9pk4es] {
        padding: 0.42rem;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
    }

    .ppp-card-img[b-a12v9pk4es] { height: 62px; }
    .ppp-card-body[b-a12v9pk4es] { padding: 0.34rem 0.38rem 0.32rem; }
    .ppp-card-name[b-a12v9pk4es] {
        font-size: 0.62rem;
        font-weight: 400;
        -webkit-line-clamp: 2;
        min-height: 2em;
        color: #0b1220 !important;
        opacity: 1 !important;
    }
    .ppp-card-price[b-a12v9pk4es] { font-size: 0.58rem; }
    .ppp-card-stock[b-a12v9pk4es] { font-size: 0.5rem; padding: 0.06rem 0.2rem; }
    .ppp-card-add[b-a12v9pk4es] { width: 20px; height: 20px; font-size: 0.52rem; }

    .pop-header[b-a12v9pk4es] { padding: 0.45rem 0.65rem; }
    .pop-order-icon[b-a12v9pk4es], .pop-icon-btn[b-a12v9pk4es] { width: 26px; height: 26px; font-size: 0.72rem; }
    .pop-order-title[b-a12v9pk4es] { font-size: 0.78rem; }
    .pop-order-time[b-a12v9pk4es] { font-size: 0.56rem; }

    .pop-meta[b-a12v9pk4es] { padding: 0.3rem 0.6rem; }
    .pop-items-header[b-a12v9pk4es] { padding: 0.24rem 0.6rem 0.18rem; font-size: 0.6rem; }

    /* Empty cart state must not eat vertical space on small screens */
    .pop-empty[b-a12v9pk4es] {
        padding: 0.45rem 0.5rem;
        min-height: 58px;
        justify-content: center;
    }
    .pop-empty-icon[b-a12v9pk4es] {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
        margin-bottom: 0.2rem;
    }
    .pop-empty-title[b-a12v9pk4es] { font-size: 0.68rem; margin-bottom: 0.1rem; }
    .pop-empty-sub[b-a12v9pk4es] { font-size: 0.58rem; }

    .pop-summary[b-a12v9pk4es] { padding: 0.26rem 0.55rem; }
    .pop-sum-row[b-a12v9pk4es] { font-size: 0.66rem; padding: 0.04rem 0; }
    .pop-disc-group[b-a12v9pk4es] { height: 22px; }
    .pop-disc-unit[b-a12v9pk4es] { line-height: 22px; font-size: 0.6rem; padding: 0 0.2rem; }
    .pop-disc-input[b-a12v9pk4es] { width: 36px; font-size: 0.66rem; padding: 0 0.2rem; }
    .pop-sum-total[b-a12v9pk4es] { padding-top: 0.2rem; font-size: 0.76rem; }
    .pop-sum-total-amount[b-a12v9pk4es] { font-size: 0.9rem; }

    .pop-payment[b-a12v9pk4es] { padding: 0.18rem 0.42rem 0.2rem; }
    .pop-payment-label[b-a12v9pk4es] { margin-bottom: 0.12rem; font-size: 0.52rem; }
    .pop-payment-grid[b-a12v9pk4es] { grid-template-columns: repeat(3, 1fr); gap: 0.3rem; }
    .pop-pay-btn[b-a12v9pk4es] { min-height: 44px; font-size: 0.62rem; padding: 0.4rem 0.2rem; }
    .pop-pay-btn i[b-a12v9pk4es] { font-size: 0.85rem; }

    .pop-cart-scroll[b-a12v9pk4es] { padding: 0.3rem 0.38rem; }
    .pci-thumb[b-a12v9pk4es] { display: none !important; }
    .pop-cart-item[b-a12v9pk4es] { padding: 0.26rem 0.34rem; gap: 0.25rem; }
    .pci-name[b-a12v9pk4es] { font-size: 0.56rem; font-weight: 500; }
    .pci-rate[b-a12v9pk4es] { font-size: 0.5rem; }
    .pci-qty-btn[b-a12v9pk4es] { width: 18px; height: 18px; font-size: 0.48rem; }
    .pci-qty-input[b-a12v9pk4es] { width: 22px; height: 18px; font-size: 0.56rem; }
    .pci-total[b-a12v9pk4es] { min-width: 36px; font-size: 0.6rem; }
    .pci-del[b-a12v9pk4es] { width: 18px; height: 18px; font-size: 0.44rem; }

    .pop-proceed[b-a12v9pk4es] {
        padding: 0.32rem 0.42rem;
        padding-bottom: calc(0.32rem + env(safe-area-inset-bottom));
    }

    .pop-proceed-btn[b-a12v9pk4es] {
        font-size: 0.64rem;
        padding: 0.44rem 0.56rem;
    }

    .pop-proceed-meta[b-a12v9pk4es] {
        font-size: 0.58rem;
        gap: 3px;
    }

    .pop-proceed-meta strong[b-a12v9pk4es] { font-size: 0.72rem; }

    .pop-proceed-cancel[b-a12v9pk4es] {
        width: 30px;
        height: 30px;
        font-size: 0.66rem;
    }
}

/* Extra small screens: force save bar visibility and compact everything */
@media (max-width: 380px), (max-height: 740px) {
    .pop-summary[b-a12v9pk4es] { padding: 0.2rem 0.45rem; }
    .pop-sum-row[b-a12v9pk4es] { font-size: 0.62rem; }
    .pop-payment[b-a12v9pk4es] { padding: 0.14rem 0.34rem 0.16rem; }
    .pop-pay-btn[b-a12v9pk4es] { min-height: 40px; font-size: 0.58rem; padding: 0.35rem 0.15rem; }
    .pop-pay-btn i[b-a12v9pk4es] { font-size: 0.8rem; }
    .pop-proceed[b-a12v9pk4es] {
        padding: 0.26rem 0.36rem;
        padding-bottom: calc(0.26rem + env(safe-area-inset-bottom));
    }
    .pop-proceed-btn[b-a12v9pk4es] {
        font-size: 0.6rem;
        padding: 0.4rem 0.48rem;
    }
    .pop-proceed-meta[b-a12v9pk4es] { font-size: 0.54rem; }
}

/* ════════════════════════════════════════
   DESKTOP ≥ 993px — always show both panels
════════════════════════════════════════ */
@media (min-width: 993px) {
    .pos-products-panel[b-a12v9pk4es] { display: flex !important; }
    .pos-order-panel[b-a12v9pk4es] { display: flex !important; }
}

/* ── Carrier bag modal: keep qty visible when multiple rows (flex was collapsing input-group) ── */
.carrier-bag-row[b-a12v9pk4es] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.carrier-bag-select[b-a12v9pk4es] {
    flex: 1 1 12rem;
    min-width: 0;
    width: 100%;
}

.carrier-bag-qty[b-a12v9pk4es] {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    flex: 0 0 auto;
    width: 9rem;
    min-width: 9rem;
    max-width: 9rem;
    gap: 0;
}

.carrier-bag-qty-btn[b-a12v9pk4es] {
    flex: 0 0 2.25rem;
    min-width: 2.25rem;
    padding-left: 0.15rem;
    padding-right: 0.15rem;
}

.carrier-bag-qty-input[b-a12v9pk4es] {
    flex: 1 1 auto;
    min-width: 2.5rem !important;
    max-width: none !important;
    width: auto !important;
    -webkit-appearance: textfield;
    appearance: textfield;
}

.carrier-bag-qty-input[b-a12v9pk4es]::-webkit-outer-spin-button,
.carrier-bag-qty-input[b-a12v9pk4es]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.carrier-bag-remove[b-a12v9pk4es] {
    margin-left: auto;
}

@media (max-width: 399px) {
    .carrier-bag-select[b-a12v9pk4es] {
        flex: 1 1 100%;
    }
    .carrier-bag-qty[b-a12v9pk4es] {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }
}
/* /Components/Pages/PurchasePage/PurchaseInvoicePage/PartyPurchaseinvoiceModal.razor.rz.scp.css */
/* Party picker + compact details (Purchase Invoice) */
.psi-party[b-o67jj46imr] {
    position: relative;
}

.psi-party-input[b-o67jj46imr] {
    font-size: 0.7rem !important;
    min-height: 1.6rem !important;
    padding-top: 0.12rem !important;
    padding-bottom: 0.12rem !important;
}

.psi-party-details[b-o67jj46imr] {
    margin-top: 0.22rem;
    padding-top: 0.2rem;
    border-top: 1px solid #eef1f7;
}

.psi-party-name[b-o67jj46imr] {
    font-size: 0.68rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.25;
    margin-bottom: 0.12rem;
    word-break: break-word;
}

.psi-party-line[b-o67jj46imr] {
    font-size: 0.61rem;
    line-height: 1.2;
    color: #475569;
    margin-bottom: 0.08rem;
    word-break: break-word;
}

.psi-party-line:last-child[b-o67jj46imr] {
    margin-bottom: 0;
}

.psi-party-k[b-o67jj46imr] {
    display: inline-block;
    min-width: 3.5rem;
    margin-right: 0.25rem;
    font-weight: 600;
    color: #94a3b8;
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    vertical-align: top;
}

@media (max-width: 576px) {
    .psi-party-input[b-o67jj46imr] {
        font-size: 0.66rem !important;
        min-height: 1.5rem !important;
    }

    .psi-party-details[b-o67jj46imr] {
        margin-top: 0.18rem;
        padding-top: 0.18rem;
    }

    .psi-party-name[b-o67jj46imr] {
        font-size: 0.64rem;
        margin-bottom: 0.1rem;
    }

    .psi-party-line[b-o67jj46imr] {
        font-size: 0.57rem;
        line-height: 1.2;
        margin-bottom: 0.08rem;
    }

    .psi-party-k[b-o67jj46imr] {
        min-width: 3rem;
        font-size: 0.52rem;
    }
}
/* /Components/Pages/PurchasePage/PurchaseInvoicePage/PurchaseInvoiceAdd.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════
   Purchase Invoice Add — Modern Compact Design (pi-*)
   ═══════════════════════════════════════════════════════ */

.pi-wrap[b-w9mi8qvqd0] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f0f2f8;
    font-size: 0.71rem;
    color: #1a1f36;
}

/* ── Top bar ── */
.pi-topbar[b-w9mi8qvqd0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    color: #fff;
    padding: 0.28rem 0.62rem;
    gap: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
    position: sticky;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
}
.pi-topbar-left[b-w9mi8qvqd0] { display: flex; align-items: center; gap: 0.55rem; }
.pi-top-actions[b-w9mi8qvqd0] { display: inline-flex; align-items: center; gap: 0.35rem; margin-left: auto; }
.pi-btn--top[b-w9mi8qvqd0] { padding: 0.2rem 0.58rem; font-size: 0.64rem; }
.pi-topbar-icon[b-w9mi8qvqd0] { font-size: 1.1rem; opacity: 0.9; }
.pi-topbar-title[b-w9mi8qvqd0] { display: block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.01em; }
.pi-topbar-sub[b-w9mi8qvqd0]   { display: block; font-size: 0.58rem; opacity: 0.72; margin-top: 0.02rem; }

.pi-back-btn[b-w9mi8qvqd0] {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.56rem;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 5px;
    color: #fff;
    font-size: 0.63rem;
    text-decoration: none;
    transition: background .15s;
    white-space: nowrap;
}
.pi-back-btn:hover[b-w9mi8qvqd0] { background: rgba(255,255,255,.15); color: #fff; }

/* ── Body ── */
.pi-body[b-w9mi8qvqd0] {
    flex: 1;
    padding: 0.32rem 0.56rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    max-width: 1220px;
    width: 100%;
    margin: 0 auto;
}

/* ── Cards ── */
.pi-card[b-w9mi8qvqd0] {
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e2e7f3;
    padding: 0.42rem 0.56rem;
    box-shadow: 0 1px 2px rgba(30,45,90,.05);
}
.pi-card-label[b-w9mi8qvqd0] {
    font-size: 0.56rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #8492b4;
    margin-bottom: 0.2rem;
}

/* ── Meta row ── */
.pi-meta-row[b-w9mi8qvqd0] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
    align-items: start;
}
@media (max-width: 768px) { .pi-meta-row[b-w9mi8qvqd0] { grid-template-columns: 1fr; } }

/* ── Invoice details 2×3 grid ── */
.pi-details-grid[b-w9mi8qvqd0] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.26rem 0.44rem;
}
@media (min-width: 1100px) { .pi-details-grid[b-w9mi8qvqd0] { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 480px) { .pi-details-grid[b-w9mi8qvqd0] { grid-template-columns: 1fr; } }

.pi-field label[b-w9mi8qvqd0] {
    display: block;
    font-size: 0.56rem;
    font-weight: 600;
    color: #8492b4;
    margin-bottom: 0.08rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── Search bar ── */
.pi-search-bar[b-w9mi8qvqd0] {
    background: #fff;
    border: 1px solid #e2e7f3;
    border-radius: 6px;
    padding: 0.24rem 0.5rem;
    box-shadow: 0 1px 3px rgba(30,45,90,.04);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.28rem;
    font-size: 0.67rem;
}
.pi-search-bar > div:first-child[b-w9mi8qvqd0] {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.pi-search-bar .form-check-inline[b-w9mi8qvqd0] {
    margin-right: 0;
}

.pi-barcode-grp[b-w9mi8qvqd0] {
    max-width: 360px;
    margin-top: 0 !important;
}

/* ── Table wrapper ── */
.pi-table-wrap[b-w9mi8qvqd0] {
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e2e7f3;
    box-shadow: 0 1px 2px rgba(30,45,90,.05);
    position: relative;
    z-index: 25;
    overflow: visible;
}

.pi-table-scroll[b-w9mi8qvqd0] {
    overflow-x: auto;
    overflow-y: visible;
}

/* ── Table ── */
.pi-table[b-w9mi8qvqd0] { width: 100%; border-collapse: collapse; font-size: 0.67rem; line-height: 1.08; }
.pi-table thead tr[b-w9mi8qvqd0] { background: #2b3d73; }
.pi-table thead th[b-w9mi8qvqd0] {
    padding: 0.22rem 0.3rem;
    font-size: 0.53rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,.9);
    white-space: nowrap;
    text-align: center;
    border: none;
}
.pi-table thead th.pi-col-item[b-w9mi8qvqd0] { text-align: left; }
.pi-table tbody tr[b-w9mi8qvqd0] { border-bottom: 1px solid #f0f3fa; transition: background .1s; }
.pi-table tbody tr:hover[b-w9mi8qvqd0] { background: #f5f8ff; }
.pi-table tbody tr:nth-child(even)[b-w9mi8qvqd0] { background: #fafcff; }
.pi-table tfoot[b-w9mi8qvqd0] { border-top: 2px solid #e2e7f3; background: #fafbfe; }
.pi-table td[b-w9mi8qvqd0] { padding: 0.12rem 0.28rem; vertical-align: middle; border-right: 1px solid #eef2fb; }
.pi-table td:last-child[b-w9mi8qvqd0] { border-right: none; }
.pi-table td[b-w9mi8qvqd0] { overflow: visible; }


/* Column widths */
.pi-col-item[b-w9mi8qvqd0]  { width: 26%; text-align: left; }
.pi-col-batch[b-w9mi8qvqd0] { width: 11%; }
.pi-col-qty[b-w9mi8qvqd0]   { width: 8%; }
.pi-col-price[b-w9mi8qvqd0] { width: 10%; }
.pi-col-disc[b-w9mi8qvqd0]  { width: 14%; }
.pi-col-tax[b-w9mi8qvqd0]   { width: 11%; }
.pi-col-amt[b-w9mi8qvqd0]   { width: 12%; text-align: right; font-weight: 600; white-space: nowrap; }
.pi-col-del[b-w9mi8qvqd0]   { width: 4%; text-align: center; }

/* Compact inputs inside table */
.pi-table .form-control[b-w9mi8qvqd0],
.pi-table .form-select[b-w9mi8qvqd0] { font-size: 0.65rem; padding: 0.08rem 0.2rem; height: 1.22rem; line-height: 1.15; }
.pi-table .form-control-sm[b-w9mi8qvqd0],
.pi-table .form-select-sm[b-w9mi8qvqd0] { font-size: 0.65rem; padding: 0.08rem 0.2rem; height: 1.22rem; }
.pi-table .input-group-text[b-w9mi8qvqd0] { font-size: 0.61rem; padding: 0.06rem 0.2rem; }

.pi-unit[b-w9mi8qvqd0] { display: block; font-size: 0.55rem; color: #aab2cc; text-align: center; margin-top: 0.05rem; line-height: 1; }

/* IMEI row inside item cell */
.pi-imei-row[b-w9mi8qvqd0] { display: flex; align-items: center; gap: 0.3rem; margin-top: 0.25rem; }
.pi-imei-btn[b-w9mi8qvqd0] {
    display: inline-flex; align-items: center;
    padding: 0.04rem 0.24rem;
    border: 1px solid #4c74d9; border-radius: 4px;
    background: none; color: #4c74d9;
    font-size: 0.57rem; font-weight: 600;
    cursor: pointer; transition: background .12s;
}
.pi-imei-btn:hover[b-w9mi8qvqd0] { background: #eef2fd; }

.pi-disc-pct[b-w9mi8qvqd0] { margin-bottom: 0; }

/* Delete button */
.pi-del-btn[b-w9mi8qvqd0] {
    display: inline-flex; align-items: center; justify-content: center;
    width: 1.18rem; height: 1.18rem;
    border: none; background: none; color: #d32f2f;
    border-radius: 4px; cursor: pointer; font-size: 0.58rem;
    transition: background .12s;
}
.pi-del-btn:hover[b-w9mi8qvqd0] { background: #fdecea; }

/* Tfoot */
.pi-tfoot-cell[b-w9mi8qvqd0] { padding: 0.4rem 0.65rem; }
.pi-add-row-btn[b-w9mi8qvqd0] {
    display: inline-flex; align-items: center; gap: 0.2rem;
    padding: 0.16rem 0.48rem;
    border: 1px dashed #4c74d9; border-radius: 5px;
    background: none; color: #4c74d9; font-size: 0.62rem;
    cursor: pointer; transition: background .12s;
}
.pi-add-row-btn:hover[b-w9mi8qvqd0] { background: #eef2fd; }

/* ── Footer row ── */
.pi-footer-row[b-w9mi8qvqd0] {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 0.35rem;
    align-items: start;
    position: relative;
    z-index: 1;
}
@media (max-width: 768px) { .pi-footer-row[b-w9mi8qvqd0] { grid-template-columns: 1fr; } }

.pi-notes-card .form-control[b-w9mi8qvqd0] { font-size: 0.66rem; padding: 0.16rem 0.3rem; }

/* Attachment row */
.pi-attachment[b-w9mi8qvqd0] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.4rem;
    background: #f7f9fd;
    border: 1px solid #e2e7f3;
    border-radius: 5px;
    font-size: 0.64rem;
}
.pi-attach-icon[b-w9mi8qvqd0] { color: #4c74d9; font-size: 0.9rem; flex-shrink: 0; }
.pi-attach-name[b-w9mi8qvqd0] { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #1a1f36; }
.pi-attach-remove[b-w9mi8qvqd0] {
    display: inline-flex; align-items: center; justify-content: center;
    width: 1.3rem; height: 1.3rem;
    border: none; background: none; color: #dc2626;
    border-radius: 3px; cursor: pointer; font-size: 0.72rem;
    transition: background .12s; flex-shrink: 0;
}
.pi-attach-remove:hover[b-w9mi8qvqd0] { background: #fef2f2; }

/* ── Totals card ── */
.pi-totals-card[b-w9mi8qvqd0] { padding: 0; overflow: hidden; }

.pi-total-row[b-w9mi8qvqd0] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-bottom: 1px solid #f0f3fa;
    gap: 0.4rem;
    font-size: 0.66rem;
}
.pi-total-row:last-child[b-w9mi8qvqd0] { border-bottom: none; }
.pi-total-row--input[b-w9mi8qvqd0] { flex-wrap: wrap; gap: 0.3rem; }
.pi-disc-total[b-w9mi8qvqd0] { max-width: 210px; flex-shrink: 0; }

.pi-grand-total[b-w9mi8qvqd0] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0.55rem;
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
}

/* Payment grid */
.pi-paid-grid[b-w9mi8qvqd0] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.24rem;
    padding: 0.22rem 0.55rem;
}
.pi-paid-full[b-w9mi8qvqd0] { grid-column: 1 / -1; }

.pi-balance-row[b-w9mi8qvqd0] { background: #fafbfe; font-weight: 700; font-size: 0.68rem; padding: 0.26rem 0.55rem; }
.pi-balance-val[b-w9mi8qvqd0] { font-weight: 700; color: #dc2626; }

/* ── Posting info ── */
.pi-posting-info[b-w9mi8qvqd0] {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 7px;
    padding: 0.45rem 0.7rem;
    font-size: 0.64rem;
    color: #1e40af;
    line-height: 1.4;
}

.pi-btn[b-w9mi8qvqd0] {
    display: inline-flex; align-items: center; gap: 0.3rem;
    padding: 0.24rem 0.74rem; border-radius: 6px;
    font-size: 0.66rem; font-weight: 600;
    cursor: pointer; border: none;
    transition: opacity .15s, box-shadow .15s;
}
.pi-btn:disabled[b-w9mi8qvqd0] { opacity: 0.65; cursor: not-allowed; }
.pi-btn--new[b-w9mi8qvqd0] { background: #fff; border: 1.5px solid #276739; color: #276739; }
.pi-btn--new:hover:not(:disabled)[b-w9mi8qvqd0] { background: #eaf4ec; }
.pi-btn--save[b-w9mi8qvqd0] {
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    color: #fff;
    box-shadow: 0 2px 5px rgba(30,45,90,.22);
}
.pi-btn--save:hover:not(:disabled)[b-w9mi8qvqd0] { opacity: 0.88; }

/* ── Mobile breakpoints ── */
@media (max-width: 900px) {
    .pi-topbar[b-w9mi8qvqd0] { flex-wrap: wrap; gap: 0.35rem; }
    .pi-top-actions[b-w9mi8qvqd0] { width: 100%; justify-content: flex-end; }
}
@media (max-width: 600px) {
    .pi-body[b-w9mi8qvqd0] { padding: 0.34rem 0.34rem 0.7rem; }
    .pi-btn[b-w9mi8qvqd0] { padding: 0.32rem 0.75rem; font-size: 0.74rem; }
    .pi-paid-grid[b-w9mi8qvqd0] { grid-template-columns: 1fr; }
    .pi-paid-full[b-w9mi8qvqd0] { grid-column: 1; }
    .pi-disc-total[b-w9mi8qvqd0] { max-width: 100%; }
}

@media (min-width: 769px) {
    .pi-table tbody tr[b-w9mi8qvqd0] { height: 1.55rem; }
    .pi-col-item[b-w9mi8qvqd0], .pi-col-batch[b-w9mi8qvqd0], .pi-col-qty[b-w9mi8qvqd0], .pi-col-price[b-w9mi8qvqd0], .pi-col-disc[b-w9mi8qvqd0], .pi-col-tax[b-w9mi8qvqd0], .pi-col-amt[b-w9mi8qvqd0], .pi-col-del[b-w9mi8qvqd0] {
        white-space: nowrap;
    }
    .pi-wrap .form-control[b-w9mi8qvqd0],
    .pi-wrap .form-select[b-w9mi8qvqd0],
    .pi-wrap .input-group-text[b-w9mi8qvqd0] {
        border-radius: 4px;
    }
}
/* /Components/Pages/PurchasePage/PurchaseInvoicePage/PurchaseInvoiceList.razor.rz.scp.css */
.pil-wrap[b-95afneo3qv] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f0f2f8;
    font-size: 0.8rem;
    color: #1a1f36;
}

.pil-topbar[b-95afneo3qv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    color: #fff;
    padding: 0.45rem 1rem;
    gap: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
    position: sticky;
    top: 0;
    z-index: 100;
}
.pil-topbar-left[b-95afneo3qv] { display: flex; align-items: center; gap: 0.55rem; }
.pil-topbar-icon[b-95afneo3qv] { font-size: 1.1rem; opacity: 0.85; }
.pil-topbar-title[b-95afneo3qv] { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.01em; }
.pil-top-actions[b-95afneo3qv] { display: inline-flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; justify-content: flex-end; }

.pil-count-pill[b-95afneo3qv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    background: rgba(255,255,255,.2);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
}

.pil-link-btn[b-95afneo3qv],
.pil-create-btn[b-95afneo3qv] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.72rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.pil-link-btn[b-95afneo3qv] {
    color: #fff;
    border: 1px solid rgba(255,255,255,.42);
    background: rgba(255,255,255,.08);
}
.pil-link-btn:hover[b-95afneo3qv] { background: rgba(255,255,255,.2); color: #fff; }
.pil-create-btn[b-95afneo3qv] {
    background: #f59e0b;
    color: #fff;
}
.pil-create-btn:hover[b-95afneo3qv] { background: #d97706; color: #fff; }

.pil-body[b-95afneo3qv] {
    flex: 1;
    padding: 0.65rem 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
}

.pil-stats[b-95afneo3qv] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.pil-stat[b-95afneo3qv] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #fff;
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    border: 1px solid #e2e7f3;
    box-shadow: 0 1px 3px rgba(30,45,90,.06);
    position: relative;
    overflow: hidden;
}
.pil-stat[b-95afneo3qv]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
}
.pil-stat--total[b-95afneo3qv]::before { background: #4c74d9; }
.pil-stat--paid[b-95afneo3qv]::before { background: #16a34a; }
.pil-stat--unpaid[b-95afneo3qv]::before { background: #dc2626; }
.pil-stat--count[b-95afneo3qv]::before { background: #7c3aed; }
.pil-stat-icon[b-95afneo3qv] { font-size: 1.05rem; opacity: 0.75; }
.pil-stat-label[b-95afneo3qv] { font-size: 0.63rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #8492b4; display: block; }
.pil-stat-val[b-95afneo3qv] { font-size: 0.92rem; font-weight: 700; color: #1a1f36; }

.pil-filter-bar[b-95afneo3qv] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid #e2e7f3;
    border-radius: 8px;
    padding: 0.4rem 0.7rem;
    box-shadow: 0 1px 3px rgba(30,45,90,.04);
    flex-wrap: wrap;
}
.pil-filter-field[b-95afneo3qv] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid #d8dff0;
    border-radius: 5px;
    padding: 0 0.4rem;
    background: #f7f9fd;
    min-height: 1.7rem;
    flex: 1;
    min-width: 140px;
}
.pil-filter-icon[b-95afneo3qv] { font-size: 0.7rem; color: #8492b4; }
.pil-filter-input[b-95afneo3qv] {
    border: none;
    background: transparent;
    font-size: 0.75rem;
    width: 100%;
    outline: none;
    padding: 0.1rem 0;
}
.pil-filter-search[b-95afneo3qv] { flex: 2; min-width: 180px; }
.pil-filter-date[b-95afneo3qv] { flex: 1.5; min-width: 160px; }
.pil-filter-party[b-95afneo3qv] { flex: 2; min-width: 180px; border: none; background: none; padding: 0; }
.pil-search-btn[b-95afneo3qv] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.32rem 0.9rem;
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}
.pil-search-btn:hover[b-95afneo3qv] { opacity: 0.9; }

.pil-table-card[b-95afneo3qv] {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e7f3;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(30,45,90,.06);
}
.pil-loading[b-95afneo3qv], .pil-empty[b-95afneo3qv] {
    padding: 2rem;
    text-align: center;
    color: #8492b4;
}

.pil-table-wrap[b-95afneo3qv] { overflow-x: auto; }
.pil-cards[b-95afneo3qv] { display: none; }

.pil-table[b-95afneo3qv] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.69rem;
    line-height: 1.12;
}
.pil-table thead tr[b-95afneo3qv] { background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%); }
.pil-table thead th[b-95afneo3qv] {
    padding: 0.26rem 0.45rem;
    font-size: 0.56rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,.85);
    border: none;
    white-space: nowrap;
    text-align: left;
}
.pil-table tbody tr[b-95afneo3qv] { border-bottom: 1px solid #f0f3fa; transition: background .1s; }
.pil-table tbody tr:hover[b-95afneo3qv] { background: #f7f9fd; }
.pil-table tbody tr:last-child[b-95afneo3qv] { border-bottom: none; }
.pil-row--overdue[b-95afneo3qv] { background: #fff8f8 !important; }
.pil-row--overdue:hover[b-95afneo3qv] { background: #fff0f0 !important; }
.pil-table td[b-95afneo3qv] { padding: 0.2rem 0.45rem; vertical-align: middle; border: none; }

.pil-th-inv[b-95afneo3qv] { width: 12%; }
.pil-th-supplier[b-95afneo3qv] { width: 24%; }
.pil-th-date[b-95afneo3qv] { width: 12%; }
.pil-th-due[b-95afneo3qv] { width: 11%; }
.pil-th-amt[b-95afneo3qv] { width: 17%; text-align: right; }
.pil-th-status[b-95afneo3qv] { width: 10%; text-align: center; }
.pil-th-actions[b-95afneo3qv] { width: 14%; text-align: center; }

.pil-inv-no[b-95afneo3qv] { font-weight: 700; color: #1e2d5a; font-size: 0.74rem; display: block; }
.pil-vendor-inv[b-95afneo3qv] { display: block; font-size: 0.62rem; color: #6b7a99; margin-top: 0.08rem; }
.pil-supplier-name[b-95afneo3qv] { font-weight: 600; color: #1a1f36; }
.pil-date[b-95afneo3qv] { color: #3d4864; }
.pil-due-ok[b-95afneo3qv] { font-size: 0.62rem; color: #16a34a; font-weight: 500; }
.pil-due-days[b-95afneo3qv] { font-size: 0.63rem; color: #1a1f36; }
.pil-due-overdue[b-95afneo3qv] { font-size: 0.62rem; color: #dc2626; font-weight: 600; }

.pil-td-amt[b-95afneo3qv] { text-align: right; }
.pil-amt-total[b-95afneo3qv] { display: block; font-weight: 700; color: #1a1f36; font-size: 0.72rem; }
.pil-amt-balance[b-95afneo3qv] { display: block; font-size: 0.6rem; color: #dc2626; margin-top: 0.03rem; }

.pil-td-status[b-95afneo3qv] { text-align: center; }
.pil-badge[b-95afneo3qv] {
    display: inline-block;
    padding: 0.1rem 0.36rem;
    border-radius: 20px;
    font-size: 0.56rem;
    font-weight: 700;
    text-transform: uppercase;
}
.pil-badge--paid[b-95afneo3qv] { background: #dcfce7; color: #15803d; }
.pil-badge--partial[b-95afneo3qv] { background: #fef9c3; color: #a16207; }
.pil-badge--unpaid[b-95afneo3qv] { background: #fee2e2; color: #dc2626; }

.pil-td-actions[b-95afneo3qv] { text-align: center; }
.pil-actions[b-95afneo3qv] { display: inline-flex; align-items: center; gap: 0.2rem; }
.pil-action-btn[b-95afneo3qv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.22rem;
    height: 1.22rem;
    border-radius: 5px;
    border: 1px solid transparent;
    font-size: 0.58rem;
    cursor: pointer;
    text-decoration: none;
    background: none;
    padding: 0;
}
.pil-action-btn--view[b-95afneo3qv] { color: #0369a1; border-color: #bae6fd; background: #f0f9ff; }
.pil-action-btn--view:hover[b-95afneo3qv] { background: #bae6fd; }
.pil-action-btn--edit[b-95afneo3qv] { color: #1d4ed8; border-color: #bfdbfe; background: #eff6ff; }
.pil-action-btn--edit:hover[b-95afneo3qv] { background: #bfdbfe; }
.pil-action-btn--pay[b-95afneo3qv] { color: #15803d; border-color: #bbf7d0; background: #f0fdf4; }
.pil-action-btn--pay:hover[b-95afneo3qv] { background: #bbf7d0; }
.pil-action-btn--ret[b-95afneo3qv] { color: #7c3aed; border-color: #ddd6fe; background: #f5f3ff; }
.pil-action-btn--ret:hover[b-95afneo3qv] { background: #ddd6fe; }
.pil-action-btn--del[b-95afneo3qv] { color: #dc2626; border-color: #fecaca; background: #fef2f2; }
.pil-action-btn--del:hover[b-95afneo3qv] { background: #fecaca; }

.pil-pagination[b-95afneo3qv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.75rem;
    border-top: 1px solid #f0f3fa;
    background: #fafbfe;
    font-size: 0.72rem;
    color: #8492b4;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.pil-page-btns[b-95afneo3qv] { display: flex; align-items: center; gap: 0.2rem; }
.pil-page-btn[b-95afneo3qv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.65rem;
    height: 1.65rem;
    padding: 0 0.3rem;
    border: 1px solid #e2e7f3;
    border-radius: 5px;
    background: #fff;
    font-size: 0.72rem;
    color: #1a1f36;
}
.pil-page-btn:disabled[b-95afneo3qv] { opacity: 0.4; cursor: not-allowed; }
.pil-page-btn:not(:disabled):hover[b-95afneo3qv] { background: #eef2fd; border-color: #4c74d9; color: #4c74d9; }
.pil-page-btn--active[b-95afneo3qv] { background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%) !important; color: #fff !important; border-color: transparent !important; }

@media (max-width: 900px) {
    .pil-topbar[b-95afneo3qv] { flex-wrap: wrap; }
    .pil-top-actions[b-95afneo3qv] { width: 100%; }
}
@media (max-width: 768px) {
    .pil-stats[b-95afneo3qv] { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .pil-table-wrap[b-95afneo3qv] { display: none; }
    .pil-cards[b-95afneo3qv] { display: flex; flex-direction: column; }
}
@media (max-width: 480px) {
    .pil-stats[b-95afneo3qv] { grid-template-columns: 1fr; }
}

.pil-card[b-95afneo3qv] {
    border-bottom: 1px solid #f0f3fa;
    padding: 0.7rem 0.85rem;
}
.pil-card:last-child[b-95afneo3qv] { border-bottom: none; }
.pil-card--overdue[b-95afneo3qv] { background: #fff8f8; }
.pil-card-header[b-95afneo3qv] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}
.pil-inv-date[b-95afneo3qv] { display: inline; font-size: 0.62rem; color: #8492b4; margin-left: 0.24rem; }
.pil-card-body[b-95afneo3qv] { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.5rem; }
.pil-card-row[b-95afneo3qv] { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; gap: 0.5rem; }
.pil-card-lbl[b-95afneo3qv] { color: #8492b4; font-size: 0.67rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.pil-card-val[b-95afneo3qv] { font-weight: 500; color: #1a1f36; text-align: right; }
.pil-card-actions[b-95afneo3qv] { display: flex; gap: 0.35rem; flex-wrap: wrap; padding-top: 0.45rem; border-top: 1px solid #f0f3fa; }
.pil-action-btn--labeled[b-95afneo3qv] { width: auto; height: auto; padding: 0.22rem 0.6rem; gap: 0.2rem; font-size: 0.72rem; }

@media (min-width: 641px) {
    .pil-table tbody tr[b-95afneo3qv] { height: 1.7rem; }
    .pil-td-inv[b-95afneo3qv],
    .pil-td-supplier[b-95afneo3qv],
    .pil-td-date[b-95afneo3qv],
    .pil-td-due[b-95afneo3qv],
    .pil-td-amt[b-95afneo3qv],
    .pil-td-status[b-95afneo3qv],
    .pil-td-actions[b-95afneo3qv] {
        white-space: nowrap;
    }
}
/* /Components/Pages/PurchasePage/PurchaseReturnPage/PurchaseReturnList.razor.rz.scp.css */
.prl-wrap[b-so1axh7dtz] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f0f2f8;
    font-size: 0.8rem;
    color: #1a1f36;
}

.prl-topbar[b-so1axh7dtz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    color: #fff;
    padding: 0.45rem 1rem;
    gap: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
    position: sticky;
    top: 0;
    z-index: 100;
}
.prl-topbar-left[b-so1axh7dtz] { display: flex; align-items: center; gap: 0.55rem; }
.prl-topbar-icon[b-so1axh7dtz] { font-size: 1.1rem; opacity: 0.85; }
.prl-topbar-title[b-so1axh7dtz] { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.01em; }
.prl-count-pill[b-so1axh7dtz] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    background: rgba(255,255,255,.2);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
}
.prl-create-btn[b-so1axh7dtz] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.28rem 0.85rem;
    background: #f59e0b;
    color: #fff;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s;
    white-space: nowrap;
}
.prl-create-btn:hover[b-so1axh7dtz] { background: #d97706; color: #fff; }

.prl-body[b-so1axh7dtz] {
    flex: 1;
    padding: 0.65rem 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
}

.prl-stats[b-so1axh7dtz] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}
.prl-stat[b-so1axh7dtz] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #fff;
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    border: 1px solid #e2e7f3;
    box-shadow: 0 1px 3px rgba(30,45,90,.06);
    position: relative;
    overflow: hidden;
}
.prl-stat[b-so1axh7dtz]::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
}
.prl-stat--total[b-so1axh7dtz]::before { background: #4c74d9; }
.prl-stat--paid[b-so1axh7dtz]::before { background: #16a34a; }
.prl-stat--unpaid[b-so1axh7dtz]::before { background: #dc2626; }
.prl-stat--count[b-so1axh7dtz]::before { background: #7c3aed; }
.prl-stat-icon[b-so1axh7dtz] { font-size: 1.05rem; opacity: 0.75; }
.prl-stat-label[b-so1axh7dtz] { font-size: 0.63rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #8492b4; display: block; }
.prl-stat-val[b-so1axh7dtz] { font-size: 0.92rem; font-weight: 700; color: #1a1f36; }

.prl-filter-bar[b-so1axh7dtz] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid #e2e7f3;
    border-radius: 8px;
    padding: 0.4rem 0.7rem;
    box-shadow: 0 1px 3px rgba(30,45,90,.04);
    flex-wrap: wrap;
}
.prl-filter-field[b-so1axh7dtz] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid #d8dff0;
    border-radius: 5px;
    padding: 0 0.4rem;
    background: #f7f9fd;
    min-height: 1.7rem;
    flex: 1;
    min-width: 140px;
}
.prl-filter-icon[b-so1axh7dtz] { font-size: 0.7rem; color: #8492b4; }
.prl-filter-input[b-so1axh7dtz] {
    border: none;
    background: transparent;
    font-size: 0.75rem;
    color: #1a1f36;
    width: 100%;
    outline: none;
    padding: 0.1rem 0;
}
.prl-filter-search[b-so1axh7dtz] { flex: 2; min-width: 180px; }
.prl-filter-date[b-so1axh7dtz] { flex: 1.5; min-width: 160px; }
.prl-filter-party[b-so1axh7dtz] { flex: 2; min-width: 180px; border: none; background: none; padding: 0; }
.prl-search-btn[b-so1axh7dtz] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.32rem 0.9rem;
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
}
.prl-search-btn:hover[b-so1axh7dtz] { opacity: 0.88; }

.prl-table-card[b-so1axh7dtz] {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e7f3;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(30,45,90,.06);
}
.prl-loading[b-so1axh7dtz], .prl-empty[b-so1axh7dtz] {
    padding: 2rem;
    text-align: center;
    color: #8492b4;
    font-size: 0.82rem;
}

.prl-table-wrap[b-so1axh7dtz] { overflow-x: auto; }
.prl-cards[b-so1axh7dtz] { display: none; }

.prl-table[b-so1axh7dtz] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.69rem;
    line-height: 1.12;
}
.prl-table thead tr[b-so1axh7dtz] { background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%); }
.prl-table thead th[b-so1axh7dtz] {
    padding: 0.26rem 0.45rem;
    font-size: 0.56rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,.85);
    white-space: nowrap;
    border: none;
    text-align: left;
}
.prl-table tbody tr[b-so1axh7dtz] {
    border-bottom: 1px solid #f0f3fa;
    transition: background .1s;
}
.prl-table tbody tr:hover[b-so1axh7dtz] { background: #f7f9fd; }
.prl-table tbody tr:last-child[b-so1axh7dtz] { border-bottom: none; }
.prl-table td[b-so1axh7dtz] {
    padding: 0.2rem 0.45rem;
    vertical-align: middle;
    border: none;
}

.prl-th-inv[b-so1axh7dtz] { width: 16%; }
.prl-th-supplier[b-so1axh7dtz] { width: 28%; }
.prl-th-date[b-so1axh7dtz] { width: 16%; }
.prl-th-amt[b-so1axh7dtz] { width: 18%; text-align: right; }
.prl-th-status[b-so1axh7dtz] { width: 10%; text-align: center; }
.prl-th-actions[b-so1axh7dtz] { width: 12%; text-align: center; }

.prl-inv-no[b-so1axh7dtz] { font-weight: 700; color: #1e2d5a; font-size: 0.74rem; }
.prl-supplier-name[b-so1axh7dtz] { font-weight: 600; color: #1a1f36; }
.prl-date[b-so1axh7dtz] { color: #3d4864; }
.prl-td-amt[b-so1axh7dtz] { text-align: right; }
.prl-amt-total[b-so1axh7dtz] { display: block; font-weight: 700; color: #1a1f36; font-size: 0.72rem; }
.prl-amt-balance[b-so1axh7dtz] { display: block; font-size: 0.6rem; color: #dc2626; margin-top: 0.03rem; }

.prl-td-status[b-so1axh7dtz] { text-align: center; }
.prl-badge[b-so1axh7dtz] {
    display: inline-block;
    padding: 0.1rem 0.36rem;
    border-radius: 20px;
    font-size: 0.56rem;
    font-weight: 700;
    text-transform: uppercase;
}
.prl-badge--paid[b-so1axh7dtz] { background: #dcfce7; color: #15803d; }
.prl-badge--unpaid[b-so1axh7dtz] { background: #fee2e2; color: #dc2626; }

.prl-td-actions[b-so1axh7dtz] { text-align: center; }
.prl-actions[b-so1axh7dtz] { display: inline-flex; align-items: center; gap: 0.2rem; }
.prl-action-btn[b-so1axh7dtz] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.22rem;
    height: 1.22rem;
    border-radius: 5px;
    border: 1px solid transparent;
    font-size: 0.58rem;
    cursor: pointer;
    transition: background .12s, border-color .12s;
    text-decoration: none;
    background: none;
    padding: 0;
}
.prl-action-btn--view[b-so1axh7dtz] { color: #0369a1; border-color: #bae6fd; background: #f0f9ff; }
.prl-action-btn--view:hover[b-so1axh7dtz] { background: #bae6fd; }
.prl-action-btn--edit[b-so1axh7dtz] { color: #1d4ed8; border-color: #bfdbfe; background: #eff6ff; }
.prl-action-btn--edit:hover[b-so1axh7dtz] { background: #bfdbfe; }
.prl-action-btn--del[b-so1axh7dtz] { color: #dc2626; border-color: #fecaca; background: #fef2f2; }
.prl-action-btn--del:hover[b-so1axh7dtz] { background: #fecaca; }

.prl-pagination[b-so1axh7dtz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.75rem;
    border-top: 1px solid #f0f3fa;
    background: #fafbfe;
    font-size: 0.72rem;
    color: #8492b4;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.prl-page-btns[b-so1axh7dtz] { display: flex; align-items: center; gap: 0.2rem; }
.prl-page-btn[b-so1axh7dtz] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.65rem;
    height: 1.65rem;
    padding: 0 0.3rem;
    border: 1px solid #e2e7f3;
    border-radius: 5px;
    background: #fff;
    font-size: 0.72rem;
    color: #1a1f36;
    cursor: pointer;
}
.prl-page-btn:disabled[b-so1axh7dtz] { opacity: 0.4; cursor: not-allowed; }
.prl-page-btn:not(:disabled):hover[b-so1axh7dtz] { background: #eef2fd; border-color: #4c74d9; color: #4c74d9; }
.prl-page-btn--active[b-so1axh7dtz] { background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%) !important; color: #fff !important; border-color: transparent !important; }

@media (max-width: 768px) { .prl-stats[b-so1axh7dtz] { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
    .prl-table-wrap[b-so1axh7dtz] { display: none; }
    .prl-cards[b-so1axh7dtz] { display: flex; flex-direction: column; }
}
@media (max-width: 480px) { .prl-stats[b-so1axh7dtz] { grid-template-columns: 1fr; } }

.prl-card[b-so1axh7dtz] {
    border-bottom: 1px solid #f0f3fa;
    padding: 0.7rem 0.85rem;
}
.prl-card:last-child[b-so1axh7dtz] { border-bottom: none; }
.prl-card-header[b-so1axh7dtz] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.prl-card-body[b-so1axh7dtz] { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.5rem; }
.prl-card-row[b-so1axh7dtz] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    gap: 0.5rem;
}
.prl-card-lbl[b-so1axh7dtz] {
    color: #8492b4;
    font-size: 0.67rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.prl-card-val[b-so1axh7dtz] { font-weight: 500; color: #1a1f36; text-align: right; }
.prl-card-actions[b-so1axh7dtz] {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    padding-top: 0.45rem;
    border-top: 1px solid #f0f3fa;
}
.prl-action-btn--labeled[b-so1axh7dtz] {
    width: auto;
    height: auto;
    padding: 0.22rem 0.6rem;
    gap: 0.2rem;
    font-size: 0.72rem;
}

@media (min-width: 641px) {
    .prl-table tbody tr[b-so1axh7dtz] { height: 1.7rem; }
    .prl-td-inv[b-so1axh7dtz],
    .prl-td-supplier[b-so1axh7dtz],
    .prl-td-date[b-so1axh7dtz],
    .prl-td-amt[b-so1axh7dtz],
    .prl-td-status[b-so1axh7dtz],
    .prl-td-actions[b-so1axh7dtz] {
        white-space: nowrap;
    }
}
/* /Components/Pages/Reports/AccountReports/CashflowStatementPage.razor.rz.scp.css */
/* Reuse Profit & Loss visual system for Cashbook page */
/* ═══════════════════════════════════════════════════════
   Profit & Loss Statement — Modern Compact Design
   ═══════════════════════════════════════════════════════ */

.pnl-wrap[b-ubij4v3chq] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f0f2f8;
    font-size: 0.78rem;
    color: #1a1f36;
}

/* ── Top bar ── */
.pnl-topbar[b-ubij4v3chq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    color: #fff;
    padding: 0.45rem 1rem;
    gap: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
    position: sticky;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
}
.pnl-topbar-left[b-ubij4v3chq] { display: flex; align-items: center; gap: 0.55rem; }
.pnl-topbar-icon[b-ubij4v3chq] { font-size: 1.15rem; opacity: 0.85; }
.pnl-topbar-title[b-ubij4v3chq] { display: block; font-size: 0.88rem; font-weight: 700; letter-spacing: 0.01em; }
.pnl-topbar-sub[b-ubij4v3chq]   { display: block; font-size: 0.62rem; opacity: 0.7; margin-top: 0.05rem; }

.pnl-top-actions[b-ubij4v3chq] { display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; }

.pnl-btn[b-ubij4v3chq] {
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
    padding: 0.26rem 0.75rem;
    border: none;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: opacity .14s, background .14s;
    white-space: nowrap;
}
.pnl-btn--back[b-ubij4v3chq]  { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.pnl-btn--back:hover[b-ubij4v3chq]  { background: rgba(255,255,255,.25); color: #fff; }
.pnl-btn--print[b-ubij4v3chq] { background: #4b5563; color: #fff; }
.pnl-btn--print:hover[b-ubij4v3chq] { opacity: 0.85; }
.pnl-btn--pdf[b-ubij4v3chq]   { background: #dc2626; color: #fff; }
.pnl-btn--pdf:hover[b-ubij4v3chq] { opacity: 0.85; }
.pnl-btn--excel[b-ubij4v3chq] { background: #16a34a; color: #fff; }
.pnl-btn--excel:hover[b-ubij4v3chq] { opacity: 0.85; }

/* ── Body ── */
.pnl-body[b-ubij4v3chq] {
    flex: 1;
    padding: 0.65rem 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
}

/* ── Filter card ── */
.pnl-filter-card[b-ubij4v3chq] {
    background: #fff;
    border: 1px solid #e2e7f3;
    border-radius: 8px;
    padding: 0.55rem 0.85rem;
    box-shadow: 0 1px 3px rgba(30,45,90,.05);
}
.pnl-filter-row[b-ubij4v3chq] {
    display: flex;
    align-items: flex-end;
    gap: 0.85rem;
    flex-wrap: wrap;
}
.pnl-field-group[b-ubij4v3chq] { display: flex; flex-direction: column; gap: 0.18rem; }
.pnl-field-label[b-ubij4v3chq] {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8492b4;
}
.pnl-field-wrap[b-ubij4v3chq] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid #d8dff0;
    border-radius: 6px;
    padding: 0 0.45rem;
    background: #f7f9fd;
    min-height: 1.8rem;
    min-width: 120px;
}
.pnl-field-ico[b-ubij4v3chq] { font-size: 0.72rem; color: #8492b4; flex-shrink: 0; }
.pnl-field-input[b-ubij4v3chq] {
    border: none;
    background: transparent;
    font-size: 0.78rem;
    color: #1a1f36;
    width: 80px;
    outline: none;
    padding: 0.1rem 0;
}
.pnl-field-input[b-ubij4v3chq]::-webkit-inner-spin-button,
.pnl-field-input[b-ubij4v3chq]::-webkit-outer-spin-button { -webkit-appearance: none; }

.pnl-gen-btn[b-ubij4v3chq] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.32rem 1rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .14s;
    white-space: nowrap;
    min-height: 1.8rem;
}
.pnl-gen-btn:hover:not(:disabled)[b-ubij4v3chq] { opacity: 0.88; }
.pnl-gen-btn:disabled[b-ubij4v3chq] { opacity: 0.55; cursor: not-allowed; }

/* ── KPI strip ── */
.pnl-kpi-strip[b-ubij4v3chq] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}
@media (max-width: 900px) { .pnl-kpi-strip[b-ubij4v3chq] { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pnl-kpi-strip[b-ubij4v3chq] { grid-template-columns: 1fr; } }

.pnl-kpi[b-ubij4v3chq] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #fff;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    border: 1px solid #e2e7f3;
    box-shadow: 0 1px 3px rgba(30,45,90,.05);
    position: relative;
    overflow: hidden;
}
.pnl-kpi[b-ubij4v3chq]::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    border-radius: 3px 0 0 3px;
}
.pnl-kpi--revenue[b-ubij4v3chq]::before { background: #2e4494; }
.pnl-kpi--cogs[b-ubij4v3chq]::before    { background: #dc2626; }
.pnl-kpi--gross[b-ubij4v3chq]::before   { background: #0891b2; }
.pnl-kpi--profit[b-ubij4v3chq]::before  { background: #16a34a; }
.pnl-kpi--loss[b-ubij4v3chq]::before    { background: #dc2626; }

.pnl-kpi-icon[b-ubij4v3chq] {
    font-size: 1.1rem;
    flex-shrink: 0;
    opacity: 0.75;
}
.pnl-kpi--revenue .pnl-kpi-icon[b-ubij4v3chq] { color: #2e4494; }
.pnl-kpi--cogs    .pnl-kpi-icon[b-ubij4v3chq] { color: #dc2626; }
.pnl-kpi--gross   .pnl-kpi-icon[b-ubij4v3chq] { color: #0891b2; }
.pnl-kpi--profit  .pnl-kpi-icon[b-ubij4v3chq] { color: #16a34a; }
.pnl-kpi--loss    .pnl-kpi-icon[b-ubij4v3chq] { color: #dc2626; }

.pnl-kpi-body[b-ubij4v3chq] { display: flex; flex-direction: column; gap: 0.04rem; min-width: 0; }
.pnl-kpi-label[b-ubij4v3chq] {
    font-size: 0.59rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8492b4;
    white-space: nowrap;
}
.pnl-kpi-val[b-ubij4v3chq] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1f36;
    white-space: nowrap;
}

/* ── Report card ── */
.pnl-report-card[b-ubij4v3chq] {
    background: #fff;
    border: 1px solid #e2e7f3;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(30,45,90,.06);
    overflow: hidden;
}

/* ── States ── */
.pnl-state[b-ubij4v3chq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 3rem 2rem;
    color: #8492b4;
    text-align: center;
}
.pnl-state--loading[b-ubij4v3chq] { gap: 0.6rem; }
.pnl-state-icon[b-ubij4v3chq] { font-size: 2rem; opacity: 0.4; }
.pnl-state-title[b-ubij4v3chq] { font-size: 0.85rem; font-weight: 600; color: #4b5563; }
.pnl-state-sub[b-ubij4v3chq] { font-size: 0.72rem; color: #9ca3af; }

.pnl-spinner[b-ubij4v3chq] {
    width: 1.4rem;
    height: 1.4rem;
    border: 2px solid #e2e7f3;
    border-top-color: #2e4494;
    border-radius: 50%;
    animation: pnl-spin-b-ubij4v3chq .7s linear infinite;
}
.pnl-spinner-sm[b-ubij4v3chq] {
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: pnl-spin-b-ubij4v3chq .7s linear infinite;
}
@keyframes pnl-spin-b-ubij4v3chq { to { transform: rotate(360deg); } }

/* ── Print header ── */
.pnl-print-header[b-ubij4v3chq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0.9rem 0.5rem;
    border-bottom: 2px solid #e2e7f3;
    gap: 1rem;
    flex-wrap: wrap;
}
.pnl-print-company[b-ubij4v3chq] { display: flex; align-items: center; gap: 0.6rem; }
.pnl-print-logo[b-ubij4v3chq] {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e2e7f3;
    flex-shrink: 0;
}
.pnl-print-name[b-ubij4v3chq] { font-size: 0.88rem; font-weight: 700; color: #1a1f36; }
.pnl-print-sub[b-ubij4v3chq]  { font-size: 0.62rem; color: #8492b4; margin-top: 0.05rem; }

.pnl-print-meta[b-ubij4v3chq] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    text-align: right;
    font-size: 0.62rem;
    color: #8492b4;
}

/* ── Table ── */
.pnl-table-wrap[b-ubij4v3chq] { overflow-x: auto; }

.pnl-table[b-ubij4v3chq] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.68rem;
    line-height: 1.15;
}

.pnl-table thead tr[b-ubij4v3chq] {
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    position: sticky;
    top: 0;
    z-index: 2;
}
.pnl-table thead th[b-ubij4v3chq] {
    padding: 0.12rem 0.3rem;
    font-size: 0.52rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    color: rgba(255,255,255,.85);
    white-space: nowrap;
    border: none;
}
.pnl-th-label[b-ubij4v3chq] { text-align: left; min-width: 200px; width: 22%; position: sticky; left: 0; background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%); z-index: 3; }
.pnl-th-total[b-ubij4v3chq] { text-align: right; min-width: 80px; background: rgba(255,255,255,.08); }

/* Row types */
.pnl-table tbody tr[b-ubij4v3chq] { border-bottom: 1px solid #f0f3fa; }
.pnl-table tbody tr:last-child[b-ubij4v3chq] { border-bottom: none; }

.pnl-tr--data td[b-ubij4v3chq] { padding: 0.18rem 0.4rem; }
.pnl-tr--data:hover[b-ubij4v3chq] { background: #f7f9fd; }

.pnl-tr--subtotal[b-ubij4v3chq] {
    background: #eff6ff;
}
.pnl-tr--subtotal td[b-ubij4v3chq] {
    padding: 0.2rem 0.4rem;
    font-weight: 700;
    border-top: 1px solid #bfdbfe;
    border-bottom: 1px solid #bfdbfe;
}

.pnl-tr--grand[b-ubij4v3chq] {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
}
.pnl-tr--grand td[b-ubij4v3chq] {
    padding: 0.24rem 0.4rem;
    font-weight: 800;
    font-size: 0.75rem;
    border-top: 2px solid #16a34a;
    border-bottom: 2px solid #16a34a;
    color: #14532d;
}

/* Cells */
.pnl-td-label[b-ubij4v3chq] {
    white-space: nowrap;
    position: sticky;
    left: 0;
    background: inherit;
    z-index: 1;
    min-width: 200px;
}
.pnl-td-total[b-ubij4v3chq] { text-align: right; white-space: nowrap; font-weight: 600; background: #fafbfe; }
.pnl-label-leaf[b-ubij4v3chq] { color: #374151; }

/* Cashbook extensions */
.pnl-field-wrap--date[b-ubij4v3chq] { min-width: 260px; padding: 0 0.5rem; }
.pnl-date-input[b-ubij4v3chq] { width: 100%; min-width: 180px; }
.cb-kpi-strip .pnl-kpi-val[b-ubij4v3chq] { font-size: 0.9rem; }

.pnl-tr--expandable .pnl-td-label[b-ubij4v3chq] { display: flex; align-items: center; gap: 0.35rem; }
.cb-expand-btn[b-ubij4v3chq] {
    width: 18px; height: 18px; flex-shrink: 0;
    border: 1px solid #cbd5e1; border-radius: 4px;
    background: #fff; color: #2e4494;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.62rem; cursor: pointer; padding: 0;
    transition: background .12s, border-color .12s;
}
.cb-expand-btn:hover[b-ubij4v3chq] { background: #eff6ff; border-color: #93c5fd; }
.cb-expand-spacer[b-ubij4v3chq] { width: 18px; flex-shrink: 0; display: inline-block; }
.cb-acct-count[b-ubij4v3chq] { font-size: 0.58rem; color: #94a3b8; font-weight: 500; margin-left: 0.15rem; }

.cb-detail-hidden[b-ubij4v3chq] { display: none; }
.pnl-tr--detail[b-ubij4v3chq] { background: #f8fafc; }
.pnl-tr--detail td[b-ubij4v3chq] { padding: 0.14rem 0.4rem; font-size: 0.64rem; border-bottom: 1px solid #eef2f7; }
.pnl-tr--detail:hover[b-ubij4v3chq] { background: #f1f5f9; }
.cb-line-code[b-ubij4v3chq] {
    font-family: ui-monospace, monospace;
    font-size: 0.6rem; color: #64748b;
    margin-right: 0.35rem;
}
.cb-line-name[b-ubij4v3chq] { color: #374151; }
.cb-line-ledger[b-ubij4v3chq] {
    margin-left: 0.35rem; color: #2e4494; opacity: 0.7;
    text-decoration: none; font-size: 0.7rem;
}
.cb-line-ledger:hover[b-ubij4v3chq] { opacity: 1; }
.pnl-td-total--detail[b-ubij4v3chq] { font-weight: 500; color: #4b5563; }

/* ── Cashbook table (debit / credit) ── */
.cb-amt-dr[b-ubij4v3chq] { color: #16a34a !important; }
.cb-amt-cr[b-ubij4v3chq] { color: #dc2626 !important; }

.cb-cashbook-table[b-ubij4v3chq] { font-size: 0.66rem; }
.cb-cashbook-table thead th[b-ubij4v3chq] {
    padding: 0.12rem 0.28rem;
    font-size: 0.52rem;
}
.cb-sort[b-ubij4v3chq] {
    display: inline-flex;
    align-items: center;
    gap: 0.18rem;
    width: 100%;
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    cursor: pointer;
    white-space: nowrap;
}
.cb-sort--num[b-ubij4v3chq] { justify-content: flex-end; }
.cb-sort i[b-ubij4v3chq] { font-size: 0.7rem; opacity: 0.55; }
.cb-sort.is-active i[b-ubij4v3chq] { opacity: 1; }
.cb-sort:hover[b-ubij4v3chq] { color: #fff; }
.cb-th-date[b-ubij4v3chq] { min-width: 72px; }
.cb-th-acct[b-ubij4v3chq] { min-width: 100px; text-align: left; }
.cb-th-type[b-ubij4v3chq] { min-width: 120px; text-align: left; }
.cb-th-part[b-ubij4v3chq] { min-width: 180px; text-align: left; }
.cb-th-ref[b-ubij4v3chq] { min-width: 90px; text-align: left; }
.cb-th-num[b-ubij4v3chq] { text-align: right; min-width: 88px; }
.cb-th-dr[b-ubij4v3chq] { color: #bbf7d0 !important; }
.cb-th-cr[b-ubij4v3chq] { color: #fecaca !important; }

.cb-cashbook-table tbody td[b-ubij4v3chq] {
    padding: 0.22rem 0.45rem;
    vertical-align: top;
    border-bottom: 1px solid #f0f3fa;
}
.cb-cashbook-table tfoot td[b-ubij4v3chq] {
    padding: 0.28rem 0.45rem;
    background: #f8fafc;
    border-top: 2px solid #cbd5e1;
}

.cb-td-date[b-ubij4v3chq] { white-space: nowrap; color: #64748b; }
.cb-td-acct[b-ubij4v3chq] { white-space: nowrap; }
.cb-acct-link[b-ubij4v3chq] { color: #2e4494; text-decoration: none; font-weight: 500; }
.cb-acct-link:hover[b-ubij4v3chq] { text-decoration: underline; }
.cb-td-type[b-ubij4v3chq] { white-space: nowrap; }
.cb-td-part[b-ubij4v3chq] { max-width: 260px; }
.cb-party[b-ubij4v3chq] { display: block; font-weight: 600; color: #1e293b; }
.cb-narr[b-ubij4v3chq] { display: block; color: #64748b; }
.cb-narr--sub[b-ubij4v3chq] { font-size: 0.62rem; margin-top: 0.05rem; }
.cb-shop[b-ubij4v3chq] { display: block; font-size: 0.6rem; color: #94a3b8; margin-top: 0.08rem; }
.cb-td-ref[b-ubij4v3chq] { color: #64748b; font-size: 0.62rem; }
.cb-td-num[b-ubij4v3chq] { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cb-td-dr[b-ubij4v3chq] { color: #16a34a; font-weight: 500; }
.cb-td-cr[b-ubij4v3chq] { color: #dc2626; font-weight: 500; }
.cb-td-bal[b-ubij4v3chq] { color: #1e293b; }

.cb-row-opening td[b-ubij4v3chq] { background: #f0fdf4; font-weight: 600; }
.cb-row-closing td[b-ubij4v3chq] { background: #f8fafc; font-weight: 700; }
.cb-row-supplier-pv td[b-ubij4v3chq] { background: #fff7ed; }
.cb-row-purchase td[b-ubij4v3chq] { background: #fefce8; }

.cb-type-pill[b-ubij4v3chq] {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    font-size: 0.58rem;
    font-weight: 600;
    white-space: nowrap;
    border: 0;
    background: #f1f5f9;
    color: #475569;
}
.cb-pill--ap[b-ubij4v3chq] {
    cursor: pointer;
    transition: filter .12s, box-shadow .12s;
}
.cb-pill--ap:hover[b-ubij4v3chq] {
    filter: brightness(0.96);
    box-shadow: 0 0 0 2px rgba(0,120,130,.18);
}
.cb-pill--ap i[b-ubij4v3chq] { font-size: 0.7rem; }

.cb-party--ap[b-ubij4v3chq] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.08rem;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-align: left;
    font: inherit;
    font-weight: 600;
    color: #007882;
}
.cb-party--ap:hover[b-ubij4v3chq] { text-decoration: underline; }
.cb-ap-count[b-ubij4v3chq] {
    font-size: 0.58rem;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: none !important;
}
.cb-pill--receipt[b-ubij4v3chq] { background: #dcfce7; color: #166534; }
.cb-pill--payment[b-ubij4v3chq] { background: #fee2e2; color: #991b1b; }
.cb-pill--supplier[b-ubij4v3chq] { background: #ffedd5; color: #9a3412; }
.cb-pill--purchase[b-ubij4v3chq] { background: #fef9c3; color: #854d0e; }
.cb-pill--balance[b-ubij4v3chq] { background: #e0e7ff; color: #3730a3; }
.cb-pill--other[b-ubij4v3chq] { background: #f1f5f9; color: #475569; }

.cb-grid-toolbar[b-ubij4v3chq] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0.65rem;
    border-bottom: 1px solid #e2e7f3;
    flex-wrap: wrap;
}
.cb-grid-search-wrap[b-ubij4v3chq] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex: 1;
    min-width: 180px;
    border: 1px solid #d8dff0;
    border-radius: 6px;
    padding: 0 0.45rem;
    background: #f7f9fd;
}
.cb-grid-search-wrap i[b-ubij4v3chq] { color: #8492b4; font-size: 0.72rem; }
.cb-grid-search[b-ubij4v3chq] {
    border: none;
    background: transparent;
    font-size: 0.72rem;
    padding: 0.28rem 0;
    width: 100%;
    outline: none;
}
.cb-grid-meta[b-ubij4v3chq] { font-size: 0.62rem; color: #94a3b8; }

.d-print-flex[b-ubij4v3chq] { display: none; }
@media print {
    .d-print-flex[b-ubij4v3chq] { display: flex !important; }
    .cb-grid-toolbar[b-ubij4v3chq] { display: none !important; }
    .cb-sort i[b-ubij4v3chq] { display: none !important; }
    .cb-cashbook-table[b-ubij4v3chq] { font-size: 0.58rem; }
}

@media print {
    .pnl-topbar[b-ubij4v3chq],
    .pnl-filter-card[b-ubij4v3chq],
    .pnl-kpi-strip[b-ubij4v3chq] { display: none !important; }

    .pnl-body[b-ubij4v3chq] { padding: 0; }
    .pnl-report-card[b-ubij4v3chq] { border: none; box-shadow: none; }

    .pnl-table[b-ubij4v3chq] { font-size: 0.6rem; }
    .pnl-table thead tr[b-ubij4v3chq] { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .pnl-tr--subtotal[b-ubij4v3chq],
    .pnl-tr--grand[b-ubij4v3chq] { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

    .cb-expand-btn[b-ubij4v3chq] { display: none; }
    .cb-expand-spacer[b-ubij4v3chq] { display: none; }
    .cb-detail-hidden[b-ubij4v3chq] { display: table-row !important; }
    .cb-line-ledger[b-ubij4v3chq] { display: none; }
    .ap-modal[b-ubij4v3chq] { display: none !important; }
}

/* ── Accounts Payable drill-down (BC + D365 Sales, compact) ── */
.ap-modal[b-ubij4v3chq] {
    --ap-teal: #007882;
    --ap-teal-dark: #00626a;
    --ap-link: #0f6cbd;
    --ap-ink: #242424;
    --ap-muted: #616161;
    --ap-line: #e1dfdd;
    --ap-bg: #f3f2f1;
    position: fixed;
    inset: 0;
    z-index: 2400;
    background: rgba(36, 36, 36, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    font-family: "Segoe UI", "Segoe UI Web (West European)", system-ui, sans-serif;
}
.ap-modal__panel[b-ubij4v3chq] {
    width: min(760px, 100%);
    max-height: min(82vh, 560px);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(0,0,0,.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.ap-modal__head[b-ubij4v3chq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.45rem 0.7rem;
    border-bottom: 1px solid var(--ap-line);
    border-top: 3px solid var(--ap-teal);
}
.ap-modal__kicker[b-ubij4v3chq] {
    display: block;
    font-size: 0.52rem;
    font-weight: 600;
    color: var(--ap-muted);
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1;
}
.ap-modal__title[b-ubij4v3chq] {
    margin: 0.04rem 0 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ap-ink);
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.ap-modal__sub[b-ubij4v3chq] {
    margin: 0.04rem 0 0;
    font-size: 0.64rem;
    color: var(--ap-muted);
}
.ap-sort[b-ubij4v3chq] {
    display: flex;
    align-items: center;
    gap: 0.28rem;
    margin-left: auto;
}
.ap-sort__label[b-ubij4v3chq] {
    font-size: 0.58rem;
    font-weight: 600;
    color: var(--ap-muted);
    text-transform: uppercase;
    letter-spacing: .03em;
    margin: 0;
}
.ap-sort__select[b-ubij4v3chq] {
    border: 1px solid var(--ap-line);
    border-radius: 4px;
    font-size: 0.68rem;
    padding: 0.18rem 0.35rem;
    color: var(--ap-ink);
    background: #fff;
}
.ap-sort__dir[b-ubij4v3chq] {
    width: 24px;
    height: 24px;
    border: 1px solid var(--ap-line);
    border-radius: 4px;
    background: #fff;
    color: var(--ap-ink);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}
.ap-sort__dir:hover[b-ubij4v3chq] { background: #f3f2f1; }
.ap-modal__close[b-ubij4v3chq] {
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--ap-muted);
    cursor: pointer;
    font-size: 0.9rem;
}
.ap-modal__close:hover[b-ubij4v3chq] { background: #f3f2f1; color: var(--ap-ink); }

.ap-modal__body[b-ubij4v3chq] {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 200px;
    background: var(--ap-bg);
}
.ap-modal__main[b-ubij4v3chq] {
    padding: 0.4rem 0.5rem 0.5rem;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.ap-modal__toolbar[b-ubij4v3chq] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.ap-search[b-ubij4v3chq] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.28rem;
    background: #fff;
    border: 1px solid var(--ap-line);
    border-radius: 5px;
    padding: 0 0.4rem;
}
.ap-search i[b-ubij4v3chq] { color: #8a8886; font-size: 0.7rem; }
.ap-search input[b-ubij4v3chq] {
    border: 0;
    outline: none;
    width: 100%;
    padding: 0.22rem 0;
    font-size: 0.68rem;
    background: transparent;
}
.ap-modal__meta[b-ubij4v3chq] { font-size: 0.58rem; color: var(--ap-muted); white-space: nowrap; }
.ap-empty[b-ubij4v3chq] {
    background: #fff;
    border-radius: 6px;
    padding: 0.85rem;
    text-align: center;
    color: var(--ap-muted);
    font-size: 0.7rem;
}
.ap-pay-list[b-ubij4v3chq] { display: flex; flex-direction: column; gap: 0.3rem; }
.ap-pay-card[b-ubij4v3chq] {
    display: flex;
    gap: 0.45rem;
    background: #fff;
    border: 1px solid var(--ap-line);
    border-radius: 6px;
    padding: 0.35rem 0.45rem;
}
.ap-avatar[b-ubij4v3chq] {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #cfe8eb;
    color: var(--ap-teal-dark);
    font-size: 0.55rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.05rem;
}
.ap-pay-body[b-ubij4v3chq] { flex: 1; min-width: 0; }
.ap-pay-top[b-ubij4v3chq] {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    align-items: center;
}
.ap-pay-name[b-ubij4v3chq] { font-size: 0.74rem; font-weight: 650; color: var(--ap-ink); line-height: 1.2; }
.ap-pay-meta[b-ubij4v3chq] { font-size: 0.58rem; color: var(--ap-muted); margin-top: 0; }
.ap-pay-amt[b-ubij4v3chq] { font-size: 0.74rem; font-weight: 700; color: #c50f1f; white-space: nowrap; }
.ap-pay-note[b-ubij4v3chq] { font-size: 0.6rem; color: #8a8886; margin-top: 0.12rem; }
.ap-inv[b-ubij4v3chq] {
    margin-top: 0.22rem;
    background: #f8f8f8;
    border-radius: 4px;
    padding: 0.18rem 0.35rem;
}
.ap-inv__label[b-ubij4v3chq] {
    font-size: 0.52rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--ap-muted);
    margin-bottom: 0.06rem;
}
.ap-inv__row[b-ubij4v3chq] {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.5rem;
    font-size: 0.62rem;
    padding: 0.04rem 0;
    color: var(--ap-ink);
}
.ap-inv__date[b-ubij4v3chq] { color: var(--ap-muted); }
.ap-inv__paid[b-ubij4v3chq] { font-weight: 650; }
.ap-pay-link[b-ubij4v3chq] {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    margin-top: 0.18rem;
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--ap-link);
    text-decoration: none;
}
.ap-pay-link:hover[b-ubij4v3chq] { text-decoration: underline; }

.ap-modal__side[b-ubij4v3chq] {
    border-left: 1px solid var(--ap-line);
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    background: #faf9f8;
}
.ap-score[b-ubij4v3chq] {
    background: #fff;
    border: 1px solid var(--ap-line);
    border-radius: 6px;
    padding: 0.45rem 0.5rem;
}
.ap-score__label[b-ubij4v3chq] { font-size: 0.58rem; color: var(--ap-muted); font-weight: 600; }
.ap-score__value[b-ubij4v3chq] {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ap-teal);
    letter-spacing: -0.03em;
    margin: 0.06rem 0 0.28rem;
}
.ap-score__bar[b-ubij4v3chq] {
    height: 4px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--ap-teal) 0%, #4db6be 100%);
    margin-bottom: 0.35rem;
}
.ap-score__facts[b-ubij4v3chq] {
    margin: 0;
    padding-left: 0.9rem;
    font-size: 0.62rem;
    color: var(--ap-ink);
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}
.ap-side-link[b-ubij4v3chq] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: #fff;
    border: 1px solid var(--ap-line);
    border-radius: 5px;
    padding: 0.32rem 0.45rem;
    color: var(--ap-link);
    text-decoration: none;
    font-size: 0.64rem;
    font-weight: 600;
}
.ap-side-link:hover[b-ubij4v3chq] { background: #f3f2f1; }

.ap-modal__foot[b-ubij4v3chq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.35rem 0.65rem;
    border-top: 1px solid var(--ap-line);
    background: #fff;
}
.ap-modal__foot-total[b-ubij4v3chq] { font-size: 0.68rem; color: var(--ap-muted); }
.ap-modal__foot-total strong[b-ubij4v3chq] { color: var(--ap-ink); font-size: 0.78rem; }
.ap-modal__done[b-ubij4v3chq] {
    background: var(--ap-teal);
    color: #fff;
    border: 0;
    border-radius: 4px;
    padding: 0.22rem 0.7rem;
    font-size: 0.68rem;
    font-weight: 600;
    cursor: pointer;
}
.ap-modal__done:hover[b-ubij4v3chq] { background: var(--ap-teal-dark); }

@media (max-width: 760px) {
    .ap-modal__body[b-ubij4v3chq] { grid-template-columns: 1fr; }
    .ap-modal__side[b-ubij4v3chq] { border-left: 0; border-top: 1px solid var(--ap-line); }
    .ap-modal__head[b-ubij4v3chq] { flex-wrap: wrap; }
    .ap-sort[b-ubij4v3chq] { margin-left: 0; }
}
/* /Components/Pages/Reports/AccountReports/ProfitNLossPage.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════
   Profit & Loss Statement — Modern Compact Design
   ═══════════════════════════════════════════════════════ */

.pnl-wrap[b-044fw5v2tf] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f0f2f8;
    font-size: 0.78rem;
    color: #1a1f36;
}

/* ── Top bar ── */
.pnl-topbar[b-044fw5v2tf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    color: #fff;
    padding: 0.45rem 1rem;
    gap: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
    position: sticky;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
}
.pnl-topbar-left[b-044fw5v2tf] { display: flex; align-items: center; gap: 0.55rem; }
.pnl-topbar-icon[b-044fw5v2tf] { font-size: 1.15rem; opacity: 0.85; }
.pnl-topbar-title[b-044fw5v2tf] { display: block; font-size: 0.88rem; font-weight: 700; letter-spacing: 0.01em; }
.pnl-topbar-sub[b-044fw5v2tf]   { display: block; font-size: 0.62rem; opacity: 0.7; margin-top: 0.05rem; }

.pnl-top-actions[b-044fw5v2tf] { display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; }

.pnl-btn[b-044fw5v2tf] {
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
    padding: 0.26rem 0.75rem;
    border: none;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: opacity .14s, background .14s;
    white-space: nowrap;
}
.pnl-btn--back[b-044fw5v2tf]  { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.pnl-btn--back:hover[b-044fw5v2tf]  { background: rgba(255,255,255,.25); color: #fff; }
.pnl-btn--print[b-044fw5v2tf] { background: #4b5563; color: #fff; }
.pnl-btn--print:hover[b-044fw5v2tf] { opacity: 0.85; }
.pnl-btn--pdf[b-044fw5v2tf]   { background: #dc2626; color: #fff; }
.pnl-btn--pdf:hover[b-044fw5v2tf] { opacity: 0.85; }
.pnl-btn--excel[b-044fw5v2tf] { background: #16a34a; color: #fff; }
.pnl-btn--excel:hover[b-044fw5v2tf] { opacity: 0.85; }

/* ── Body ── */
.pnl-body[b-044fw5v2tf] {
    flex: 1;
    padding: 0.65rem 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
}

/* ── Filter card ── */
.pnl-filter-card[b-044fw5v2tf] {
    background: #fff;
    border: 1px solid #e2e7f3;
    border-radius: 8px;
    padding: 0.55rem 0.85rem;
    box-shadow: 0 1px 3px rgba(30,45,90,.05);
}
.pnl-filter-row[b-044fw5v2tf] {
    display: flex;
    align-items: flex-end;
    gap: 0.85rem;
    flex-wrap: wrap;
}
.pnl-field-group[b-044fw5v2tf] { display: flex; flex-direction: column; gap: 0.18rem; }
.pnl-field-label[b-044fw5v2tf] {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8492b4;
}
.pnl-field-wrap[b-044fw5v2tf] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid #d8dff0;
    border-radius: 6px;
    padding: 0 0.45rem;
    background: #f7f9fd;
    min-height: 1.8rem;
    min-width: 120px;
}
.pnl-field-ico[b-044fw5v2tf] { font-size: 0.72rem; color: #8492b4; flex-shrink: 0; }
.pnl-field-input[b-044fw5v2tf] {
    border: none;
    background: transparent;
    font-size: 0.78rem;
    color: #1a1f36;
    width: 80px;
    outline: none;
    padding: 0.1rem 0;
}
.pnl-field-input[b-044fw5v2tf]::-webkit-inner-spin-button,
.pnl-field-input[b-044fw5v2tf]::-webkit-outer-spin-button { -webkit-appearance: none; }

.pnl-gen-btn[b-044fw5v2tf] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.32rem 1rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .14s;
    white-space: nowrap;
    min-height: 1.8rem;
}
.pnl-gen-btn:hover:not(:disabled)[b-044fw5v2tf] { opacity: 0.88; }
.pnl-gen-btn:disabled[b-044fw5v2tf] { opacity: 0.55; cursor: not-allowed; }

.pnl-gen-btn--secondary[b-044fw5v2tf] {
    background: #fff;
    color: #2e4494;
    border: 1px solid #c7d2e8;
    box-shadow: 0 1px 2px rgba(30,45,90,.06);
}
.pnl-gen-btn--secondary:hover:not(:disabled)[b-044fw5v2tf] {
    background: #f0f4fc;
    opacity: 1;
}

.pnl-filter-hint[b-044fw5v2tf] {
    margin: 0.45rem 0 0;
    font-size: 0.65rem;
    line-height: 1.35;
    color: #5c6b8a;
    max-width: 920px;
}

/* ── KPI strip ── */
.pnl-kpi-strip[b-044fw5v2tf] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}
@media (max-width: 900px) { .pnl-kpi-strip[b-044fw5v2tf] { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pnl-kpi-strip[b-044fw5v2tf] { grid-template-columns: 1fr; } }

.pnl-kpi[b-044fw5v2tf] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #fff;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    border: 1px solid #e2e7f3;
    box-shadow: 0 1px 3px rgba(30,45,90,.05);
    position: relative;
    overflow: hidden;
}
.pnl-kpi[b-044fw5v2tf]::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    border-radius: 3px 0 0 3px;
}
.pnl-kpi--revenue[b-044fw5v2tf]::before { background: #2e4494; }
.pnl-kpi--cogs[b-044fw5v2tf]::before    { background: #dc2626; }
.pnl-kpi--gross[b-044fw5v2tf]::before   { background: #0891b2; }
.pnl-kpi--profit[b-044fw5v2tf]::before  { background: #16a34a; }
.pnl-kpi--loss[b-044fw5v2tf]::before    { background: #dc2626; }

.pnl-kpi-icon[b-044fw5v2tf] {
    font-size: 1.1rem;
    flex-shrink: 0;
    opacity: 0.75;
}
.pnl-kpi--revenue .pnl-kpi-icon[b-044fw5v2tf] { color: #2e4494; }
.pnl-kpi--cogs    .pnl-kpi-icon[b-044fw5v2tf] { color: #dc2626; }
.pnl-kpi--gross   .pnl-kpi-icon[b-044fw5v2tf] { color: #0891b2; }
.pnl-kpi--profit  .pnl-kpi-icon[b-044fw5v2tf] { color: #16a34a; }
.pnl-kpi--loss    .pnl-kpi-icon[b-044fw5v2tf] { color: #dc2626; }

.pnl-kpi-body[b-044fw5v2tf] { display: flex; flex-direction: column; gap: 0.04rem; min-width: 0; }
.pnl-kpi-label[b-044fw5v2tf] {
    font-size: 0.59rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8492b4;
    white-space: nowrap;
}
.pnl-kpi-val[b-044fw5v2tf] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1f36;
    white-space: nowrap;
}

/* ── Report card ── */
.pnl-report-card[b-044fw5v2tf] {
    background: #fff;
    border: 1px solid #e2e7f3;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(30,45,90,.06);
    overflow: hidden;
}

/* ── States ── */
.pnl-state[b-044fw5v2tf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 3rem 2rem;
    color: #8492b4;
    text-align: center;
}
.pnl-state--loading[b-044fw5v2tf] { gap: 0.6rem; }
.pnl-state-icon[b-044fw5v2tf] { font-size: 2rem; opacity: 0.4; }
.pnl-state-title[b-044fw5v2tf] { font-size: 0.85rem; font-weight: 600; color: #4b5563; }
.pnl-state-sub[b-044fw5v2tf] { font-size: 0.72rem; color: #9ca3af; }

.pnl-spinner[b-044fw5v2tf] {
    width: 1.4rem;
    height: 1.4rem;
    border: 2px solid #e2e7f3;
    border-top-color: #2e4494;
    border-radius: 50%;
    animation: pnl-spin-b-044fw5v2tf .7s linear infinite;
}
.pnl-spinner-sm[b-044fw5v2tf] {
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: pnl-spin-b-044fw5v2tf .7s linear infinite;
}
@keyframes pnl-spin-b-044fw5v2tf { to { transform: rotate(360deg); } }

/* ── Print header ── */
.pnl-print-header[b-044fw5v2tf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0.9rem 0.5rem;
    border-bottom: 2px solid #e2e7f3;
    gap: 1rem;
    flex-wrap: wrap;
}
.pnl-print-company[b-044fw5v2tf] { display: flex; align-items: center; gap: 0.6rem; }
.pnl-print-logo[b-044fw5v2tf] {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e2e7f3;
    flex-shrink: 0;
}
.pnl-print-name[b-044fw5v2tf] { font-size: 0.88rem; font-weight: 700; color: #1a1f36; }
.pnl-print-sub[b-044fw5v2tf]  { font-size: 0.62rem; color: #8492b4; margin-top: 0.05rem; }

.pnl-print-meta[b-044fw5v2tf] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    text-align: right;
    font-size: 0.62rem;
    color: #8492b4;
}

/* ── Table ── */
.pnl-table-wrap[b-044fw5v2tf] { overflow-x: auto; }

.pnl-table[b-044fw5v2tf] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.68rem;
    line-height: 1.15;
}

.pnl-table thead tr[b-044fw5v2tf] {
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    position: sticky;
    top: 0;
    z-index: 2;
}
.pnl-table thead th[b-044fw5v2tf] {
    padding: 0.28rem 0.4rem;
    font-size: 0.56rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    color: rgba(255,255,255,.85);
    white-space: nowrap;
    border: none;
}
.pnl-th-label[b-044fw5v2tf] { text-align: left; min-width: 200px; width: 22%; position: sticky; left: 0; background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%); z-index: 3; }
.pnl-th-num[b-044fw5v2tf]   { text-align: right; min-width: 62px; }
.pnl-th-total[b-044fw5v2tf] { text-align: right; min-width: 80px; background: rgba(255,255,255,.08); }

/* Row types */
.pnl-table tbody tr[b-044fw5v2tf] { border-bottom: 1px solid #f0f3fa; }
.pnl-table tbody tr:last-child[b-044fw5v2tf] { border-bottom: none; }

.pnl-tr--section[b-044fw5v2tf] {
    background: #f1f5f9;
}
.pnl-tr--section td[b-044fw5v2tf] {
    padding: 0.22rem 0.4rem;
    border-top: 2px solid #e2e7f3;
}

.pnl-tr--data td[b-044fw5v2tf] { padding: 0.18rem 0.4rem; }
.pnl-tr--data:hover[b-044fw5v2tf] { background: #f7f9fd; }

.pnl-tr--subtotal[b-044fw5v2tf] {
    background: #eff6ff;
}
.pnl-tr--subtotal td[b-044fw5v2tf] {
    padding: 0.2rem 0.4rem;
    font-weight: 700;
    border-top: 1px solid #bfdbfe;
    border-bottom: 1px solid #bfdbfe;
}

.pnl-tr--grand[b-044fw5v2tf] {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
}
.pnl-tr--grand td[b-044fw5v2tf] {
    padding: 0.24rem 0.4rem;
    font-weight: 800;
    font-size: 0.75rem;
    border-top: 2px solid #16a34a;
    border-bottom: 2px solid #16a34a;
    color: #14532d;
}

/* Cells */
.pnl-td-label[b-044fw5v2tf] {
    white-space: nowrap;
    position: sticky;
    left: 0;
    background: inherit;
    z-index: 1;
    min-width: 200px;
}
.pnl-td-num[b-044fw5v2tf]   { text-align: right; white-space: nowrap; }
.pnl-td-total[b-044fw5v2tf] { text-align: right; white-space: nowrap; font-weight: 600; background: #fafbfe; }

/* Label styles */
.pnl-section-label[b-044fw5v2tf] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #334155;
}
.pnl-section-dot[b-044fw5v2tf] {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2e4494;
    flex-shrink: 0;
}
.pnl-label-indent[b-044fw5v2tf] { display: inline-block; padding-left: 0.8rem; }
.pnl-label-leaf[b-044fw5v2tf]   { color: #374151; }

/* Number states */
.pnl-num--neg[b-044fw5v2tf] { color: #dc2626; font-style: italic; }
.pnl-num--nil[b-044fw5v2tf] { color: #c4cbe0; }

/* ── Print overrides ── */
@media print {
    .pnl-topbar[b-044fw5v2tf],
    .pnl-filter-card[b-044fw5v2tf],
    .pnl-kpi-strip[b-044fw5v2tf] { display: none !important; }

    .pnl-body[b-044fw5v2tf] { padding: 0; }
    .pnl-report-card[b-044fw5v2tf] { border: none; box-shadow: none; }

    .pnl-table[b-044fw5v2tf] { font-size: 0.6rem; }
    .pnl-table thead tr[b-044fw5v2tf] { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .pnl-tr--section[b-044fw5v2tf],
    .pnl-tr--subtotal[b-044fw5v2tf],
    .pnl-tr--grand[b-044fw5v2tf] { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
/* /Components/Pages/Reports/AccountReports/SalesCashMpesaReportPage.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════
   Sales Report — matches P&L / account report styling
   ═══════════════════════════════════════════════════════ */

.sr-wrap[b-i1vmb33uau] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f0f2f8;
    font-size: 0.78rem;
    color: #1a1f36;
}

/* ── Top bar ── */
.sr-topbar[b-i1vmb33uau] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    color: #fff;
    padding: 0.45rem 1rem;
    gap: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    position: sticky;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
}

.sr-topbar-left[b-i1vmb33uau] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.sr-topbar-icon[b-i1vmb33uau] {
    font-size: 1.15rem;
    opacity: 0.85;
    flex-shrink: 0;
}

.sr-topbar-title[b-i1vmb33uau] {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.sr-topbar-sub[b-i1vmb33uau] {
    display: block;
    font-size: 0.62rem;
    opacity: 0.78;
    margin-top: 0.05rem;
    line-height: 1.35;
}

.sr-top-actions[b-i1vmb33uau] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.sr-btn[b-i1vmb33uau] {
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
    padding: 0.26rem 0.75rem;
    border: none;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.14s, background 0.14s;
    white-space: nowrap;
}

.sr-btn--back[b-i1vmb33uau] {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.sr-btn--back:hover[b-i1vmb33uau] {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.sr-btn--print[b-i1vmb33uau] {
    background: #4b5563;
    color: #fff;
}

.sr-btn--print:hover[b-i1vmb33uau] {
    opacity: 0.88;
}

.sr-btn--pdf[b-i1vmb33uau] {
    background: #dc2626;
    color: #fff;
}

.sr-btn--pdf:hover[b-i1vmb33uau] {
    opacity: 0.88;
}

.sr-btn--excel[b-i1vmb33uau] {
    background: #16a34a;
    color: #fff;
}

.sr-btn--excel:hover[b-i1vmb33uau] {
    opacity: 0.88;
}

/* ── Body ── */
.sr-body[b-i1vmb33uau] {
    flex: 1;
    padding: 0.28rem 0.7rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
}

/* ── Filter card ── */
.sr-filter-card[b-i1vmb33uau] {
    background: #fff;
    border: 1px solid #e2e7f3;
    border-radius: 5px;
    padding: 0.28rem 0.5rem;
    box-shadow: 0 1px 3px rgba(30, 45, 90, 0.05);
}

.sr-filter-row[b-i1vmb33uau] {
    display: flex;
    align-items: flex-end;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.sr-field-group[b-i1vmb33uau] {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    min-width: 0;
}

.sr-field-group--grow[b-i1vmb33uau] {
    flex: 1 1 140px;
    min-width: 132px;
}

.sr-field-group--btn[b-i1vmb33uau] {
    flex-shrink: 0;
    align-self: flex-end;
}

.sr-field-label[b-i1vmb33uau] {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8492b4;
}

.sr-field-wrap[b-i1vmb33uau] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid #d8dff0;
    border-radius: 4px;
    padding: 0 0.32rem;
    background: #f7f9fd;
    min-height: 1.42rem;
}

.sr-field-wrap--date[b-i1vmb33uau] {
    min-width: 168px;
}

.sr-field-wrap--select[b-i1vmb33uau] {
    min-width: 200px;
}

.sr-field-ico[b-i1vmb33uau] {
    font-size: 0.72rem;
    color: #8492b4;
    flex-shrink: 0;
}

.sr-field-input[b-i1vmb33uau] {
    border: none;
    background: transparent;
    font-size: 0.75rem;
    color: #1a1f36;
    flex: 1;
    min-width: 0;
    outline: none;
    padding: 0.1rem 0;
}

/* Radzen dropdown inside filter */
.sr-field-wrap--select[b-i1vmb33uau]  .rz-dropdown {
    width: 100% !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    min-height: 1.65rem !important;
}

.sr-field-wrap--select[b-i1vmb33uau]  .rz-inputtext {
    font-size: 0.75rem !important;
    padding: 0.2rem 0 !important;
}

.sr-gen-btn[b-i1vmb33uau] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    padding: 0.12rem 0.7rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.14s;
    white-space: nowrap;
    min-height: 1.42rem;
}

.sr-gen-btn:hover:not(:disabled)[b-i1vmb33uau] {
    opacity: 0.9;
}

.sr-gen-btn:disabled[b-i1vmb33uau] {
    opacity: 0.55;
    cursor: not-allowed;
}

.sr-spinner-sm[b-i1vmb33uau] {
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: sr-spin-b-i1vmb33uau 0.7s linear infinite;
}

@keyframes sr-spin-b-i1vmb33uau {
    to {
        transform: rotate(360deg);
    }
}

/* ── KPI strip ── */
.sr-kpi-strip[b-i1vmb33uau] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
}

@media (max-width: 900px) {
    .sr-kpi-strip[b-i1vmb33uau] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .sr-kpi-strip[b-i1vmb33uau] {
        grid-template-columns: 1fr;
    }
}

.sr-kpi[b-i1vmb33uau] {
    display: flex;
    align-items: center;
    gap: 0.32rem;
    background: #fff;
    border-radius: 5px;
    padding: 0.18rem 0.45rem 0.16rem 0.5rem;
    border: 1px solid #e2e7f3;
    box-shadow: 0 1px 3px rgba(30, 45, 90, 0.05);
    position: relative;
    overflow: hidden;
}

.sr-kpi[b-i1vmb33uau]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 3px 0 0 3px;
}

.sr-kpi--invoices[b-i1vmb33uau]::before {
    background: #6366f1;
}

.sr-kpi--sales[b-i1vmb33uau]::before {
    background: #2e4494;
}

.sr-kpi--received[b-i1vmb33uau]::before {
    background: #16a34a;
}

.sr-kpi--balance[b-i1vmb33uau]::before {
    background: #ea580c;
}

.sr-kpi--clear[b-i1vmb33uau]::before {
    background: #16a34a;
}

.sr-kpi-icon[b-i1vmb33uau] {
    display: none;
}

.sr-kpi--invoices .sr-kpi-icon[b-i1vmb33uau] {
    color: #6366f1;
}

.sr-kpi--sales .sr-kpi-icon[b-i1vmb33uau] {
    color: #2e4494;
}

.sr-kpi--received .sr-kpi-icon[b-i1vmb33uau] {
    color: #16a34a;
}

.sr-kpi--balance .sr-kpi-icon[b-i1vmb33uau] {
    color: #ea580c;
}

.sr-kpi--clear .sr-kpi-icon[b-i1vmb33uau] {
    color: #16a34a;
}

.sr-kpi-body[b-i1vmb33uau] {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
    flex: 1;
}

.sr-kpi-label[b-i1vmb33uau] {
    font-size: 0.59rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8492b4;
}

.sr-kpi-val[b-i1vmb33uau] {
    font-size: 0.78rem;
    font-weight: 700;
    color: #1a1f36;
    line-height: 1.15;
    word-break: break-word;
}

.sr-kpi-sub[b-i1vmb33uau] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.62rem;
    color: #64748b;
    line-height: 1.4;
    margin-top: 0.05rem;
}

.sr-pill[b-i1vmb33uau] {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.sr-pill--paid[b-i1vmb33uau] {
    background: #dcfce7;
    color: #166534;
}

.sr-pill--partial[b-i1vmb33uau] {
    background: #fef3c7;
    color: #92400e;
}

.sr-pill--unpaid[b-i1vmb33uau] {
    background: #fee2e2;
    color: #991b1b;
}

/* ── Report card ── */
.sr-report-card[b-i1vmb33uau] {
    background: #fff;
    border: 1px solid #e2e7f3;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(30, 45, 90, 0.06);
    overflow: hidden;
}

/* ── States ── */
.sr-state[b-i1vmb33uau] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 3rem 2rem;
    color: #8492b4;
    text-align: center;
}

.sr-state--loading[b-i1vmb33uau] {
    gap: 0.6rem;
}

.sr-state-icon[b-i1vmb33uau] {
    font-size: 2rem;
    opacity: 0.4;
}

.sr-state-title[b-i1vmb33uau] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4b5563;
}

.sr-state-sub[b-i1vmb33uau] {
    font-size: 0.72rem;
    color: #9ca3af;
    max-width: 22rem;
}

.sr-spinner[b-i1vmb33uau] {
    width: 1.4rem;
    height: 1.4rem;
    border: 2px solid #e2e7f3;
    border-top-color: #2e4494;
    border-radius: 50%;
    animation: sr-spin-b-i1vmb33uau 0.7s linear infinite;
}

/* ── Print header ── */
.sr-print-header[b-i1vmb33uau] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0.75rem 0.9rem 0.55rem;
    border-bottom: 2px solid #e2e7f3;
    gap: 1rem;
    flex-wrap: wrap;
    background: linear-gradient(180deg, #fafbff 0%, #fff 100%);
}

.sr-print-company[b-i1vmb33uau] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.sr-print-logo[b-i1vmb33uau] {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: contain;
    border: 1px solid #e2e7f3;
    background: #fff;
    flex-shrink: 0;
}

.sr-print-name[b-i1vmb33uau] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1f36;
    line-height: 1.25;
}

.sr-print-sub[b-i1vmb33uau] {
    font-size: 0.64rem;
    color: #8492b4;
    margin-top: 0.08rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sr-print-meta[b-i1vmb33uau] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    text-align: right;
    font-size: 0.62rem;
    color: #8492b4;
}

.sr-print-meta strong[b-i1vmb33uau] {
    color: #334155;
    font-weight: 600;
}

/* ── Table (desktop) ── */
.sr-table-wrap[b-i1vmb33uau] {
    overflow-x: auto;
    display: block;
}

.sr-table[b-i1vmb33uau] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.68rem;
    line-height: 1.2;
}

.sr-table thead tr[b-i1vmb33uau] {
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    position: sticky;
    top: 0;
    z-index: 2;
}

.sr-table thead th[b-i1vmb33uau] {
    padding: 0.32rem 0.45rem;
    font-size: 0.56rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    border: none;
    text-align: left;
}

.sr-th-num[b-i1vmb33uau],
.sr-td-num[b-i1vmb33uau] {
    text-align: right;
}

.sr-th-date[b-i1vmb33uau] {
    min-width: 5.5rem;
}

.sr-th-inv[b-i1vmb33uau] {
    min-width: 5rem;
}

.sr-th-customer[b-i1vmb33uau] {
    min-width: 8rem;
}

.sr-th-wh[b-i1vmb33uau] {
    min-width: 5rem;
}

.sr-th-status[b-i1vmb33uau] {
    min-width: 4.5rem;
    text-align: center;
}

.sr-table tbody tr[b-i1vmb33uau] {
    border-bottom: 1px solid #f0f3fa;
    transition: background 0.12s;
}

.sr-table tbody tr:hover[b-i1vmb33uau] {
    background: #f7f9fd;
}

.sr-row--overdue[b-i1vmb33uau] {
    background: #fffbeb;
}

.sr-row--overdue:hover[b-i1vmb33uau] {
    background: #fef3c7;
}

.sr-table tbody td[b-i1vmb33uau] {
    padding: 0.28rem 0.45rem;
    vertical-align: middle;
}

.sr-td-date[b-i1vmb33uau] {
    white-space: nowrap;
    color: #475569;
}

.sr-td-inv[b-i1vmb33uau] {
    white-space: nowrap;
}

.sr-inv-no[b-i1vmb33uau] {
    font-weight: 600;
    color: #1e3a5f;
}

.sr-overdue-badge[b-i1vmb33uau] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.25rem;
    width: 1rem;
    height: 1rem;
    font-size: 0.55rem;
    font-weight: 800;
    border-radius: 50%;
    background: #f97316;
    color: #fff;
    vertical-align: middle;
}

.sr-td-customer[b-i1vmb33uau] {
    max-width: 14rem;
}

.sr-customer-name[b-i1vmb33uau] {
    display: block;
    font-weight: 500;
    color: #1a1f36;
}

.sr-customer-meta[b-i1vmb33uau] {
    display: block;
    font-size: 0.58rem;
    color: #94a3b8;
    margin-top: 0.06rem;
}

.sr-wh-badge[b-i1vmb33uau] {
    display: inline-block;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.58rem;
    font-weight: 600;
}

.sr-num--green[b-i1vmb33uau] {
    color: #15803d;
    font-weight: 600;
}

.sr-num--red[b-i1vmb33uau] {
    color: #dc2626;
    font-weight: 600;
}

.sr-num--nil[b-i1vmb33uau] {
    color: #c4cbe0;
}

.sr-td-status[b-i1vmb33uau] {
    text-align: center;
}

.sr-badge[b-i1vmb33uau] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.14rem 0.45rem;
    border-radius: 4px;
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: capitalize;
}

.sr-badge--paid[b-i1vmb33uau] {
    background: #dcfce7;
    color: #166534;
}

.sr-badge--partial[b-i1vmb33uau] {
    background: #fef3c7;
    color: #92400e;
}

.sr-badge--unpaid[b-i1vmb33uau] {
    background: #fee2e2;
    color: #991b1b;
}

.sr-tfoot-row[b-i1vmb33uau] {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 2px solid #e2e7f3;
}

.sr-tfoot-row td[b-i1vmb33uau] {
    padding: 0.4rem 0.45rem;
    font-weight: 700;
    font-size: 0.72rem;
    color: #1e293b;
}

.sr-tfoot-label[b-i1vmb33uau] {
    text-align: left;
}

.sr-tfoot-count[b-i1vmb33uau] {
    font-weight: 600;
    color: #64748b;
    font-size: 0.62rem;
}

.sr-tfoot-num[b-i1vmb33uau] {
    text-align: right;
    white-space: nowrap;
}

/* ── Mobile cards ── */
.sr-mob-cards[b-i1vmb33uau] {
    display: none;
    padding: 0.5rem 0.65rem 0.75rem;
    flex-direction: column;
    gap: 0.45rem;
}

.sr-mob-card[b-i1vmb33uau] {
    border: 1px solid #e2e7f3;
    border-radius: 8px;
    padding: 0.55rem 0.65rem;
    background: #fafbff;
}

.sr-mob-card--overdue[b-i1vmb33uau] {
    border-color: #fcd34d;
    background: #fffbeb;
}

.sr-mob-top[b-i1vmb33uau] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.sr-mob-left[b-i1vmb33uau] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.sr-mob-date[b-i1vmb33uau] {
    font-size: 0.58rem;
    color: #64748b;
}

.sr-mob-customer[b-i1vmb33uau] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.4rem;
    word-break: break-word;
}

.sr-mob-nums[b-i1vmb33uau] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.sr-mob-num-row[b-i1vmb33uau] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.65rem;
}

.sr-mob-lbl[b-i1vmb33uau] {
    color: #8492b4;
}

.sr-mob-val[b-i1vmb33uau] {
    font-weight: 600;
    color: #1a1f36;
}

.sr-mob-total[b-i1vmb33uau] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.65rem;
    margin-top: 0.15rem;
    border-radius: 8px;
    background: #1e2d5a;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
}

.sr-mob-total strong[b-i1vmb33uau] {
    font-size: 0.82rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .sr-table-wrap[b-i1vmb33uau] {
        display: none;
    }

    .sr-mob-cards[b-i1vmb33uau] {
        display: flex;
    }
}

/* ── Pagination (10 per page) ── */
.sr-pagination[b-i1vmb33uau] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.55rem 0.65rem;
    margin-top: 0.35rem;
    border-radius: 8px;
    background: #eef2fb;
    border: 1px solid #d8e0f0;
}

.sr-page-info[b-i1vmb33uau] {
    font-size: 0.72rem;
    color: #3d4a6b;
}

.sr-page-info strong[b-i1vmb33uau] {
    color: #1e2d5a;
    font-weight: 700;
}

.sr-page-meta[b-i1vmb33uau] {
    color: #8492b4;
    font-weight: 500;
    margin-left: 0.25rem;
}

.sr-page-btns[b-i1vmb33uau] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
}

.sr-page-btn[b-i1vmb33uau] {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0.28rem 0.55rem;
    border: 1px solid #c5cee0;
    border-radius: 6px;
    background: #fff;
    font-size: 0.68rem;
    font-weight: 600;
    color: #1e2d5a;
    cursor: pointer;
    transition: background 0.12s, border-color 0.12s;
}

.sr-page-btn:hover:not(:disabled)[b-i1vmb33uau] {
    background: #e8edfa;
    border-color: #9aaccc;
}

.sr-page-btn:disabled[b-i1vmb33uau] {
    opacity: 0.45;
    cursor: not-allowed;
}

.sr-page-num[b-i1vmb33uau] {
    min-width: 1.65rem;
    padding: 0.26rem 0.35rem;
    border: 1px solid #c5cee0;
    border-radius: 6px;
    background: #fff;
    font-size: 0.68rem;
    font-weight: 600;
    color: #3d4a6b;
    cursor: pointer;
    line-height: 1.2;
}

.sr-page-num:hover[b-i1vmb33uau] {
    background: #e8edfa;
    border-color: #9aaccc;
}

.sr-page-num--active[b-i1vmb33uau] {
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    border-color: #1e2d5a;
    color: #fff;
}

/* ── Print ── */
@media print {
    .sr-topbar[b-i1vmb33uau],
    .sr-filter-card[b-i1vmb33uau],
    .sr-kpi-strip[b-i1vmb33uau],
    .sr-pagination[b-i1vmb33uau] {
        display: none !important;
    }

    .sr-wrap[b-i1vmb33uau] {
        background: #fff;
    }

    .sr-body[b-i1vmb33uau] {
        padding: 0;
    }

    .sr-report-card[b-i1vmb33uau] {
        border: none;
        box-shadow: none;
    }

    .sr-table[b-i1vmb33uau] {
        font-size: 0.58rem;
    }

    .sr-table thead tr[b-i1vmb33uau] {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .sr-mob-cards[b-i1vmb33uau] {
        display: none !important;
    }

    .sr-table-wrap[b-i1vmb33uau] {
        display: block !important;
    }
}

/* Compact smart redesign overrides */
.sr-wrap[b-i1vmb33uau] {
    font-size: 0.72rem;
}

.sr-topbar[b-i1vmb33uau] {
    padding: 0.35rem 0.75rem;
}

.sr-body[b-i1vmb33uau] {
    padding: 0.28rem 0.7rem 1rem;
    gap: 0.28rem;
}

.sr-filter-card[b-i1vmb33uau] {
    border-radius: 5px;
    padding: 0.28rem 0.5rem;
}

.sr-filter-row[b-i1vmb33uau] {
    gap: 0.5rem;
}

.sr-field-group--channel[b-i1vmb33uau] {
    flex: 0 0 auto;
    min-width: 0;
}

.sr-channel-toggle[b-i1vmb33uau] {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid #d8dff0;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    min-height: 1.42rem;
}

.sr-channel-btn[b-i1vmb33uau] {
    border: 0;
    border-right: 1px solid #d8dff0;
    background: #f8fafc;
    color: #334155;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.1rem 0.38rem;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.2;
}

.sr-channel-btn:last-child[b-i1vmb33uau] {
    border-right: 0;
}

.sr-channel-btn:hover:not(:disabled):not(.sr-channel-btn--active)[b-i1vmb33uau] {
    background: #eef2ff;
    color: #1e3a8a;
}

.sr-channel-btn--active[b-i1vmb33uau] {
    background: #243b8f;
    color: #fff;
}

.sr-channel-btn:disabled[b-i1vmb33uau] {
    opacity: 0.45;
    cursor: not-allowed;
}

.sr-field-group--search[b-i1vmb33uau] {
    flex: 1 1 140px;
    min-width: 132px;
}

.sr-field-wrap[b-i1vmb33uau] {
    border-radius: 4px;
    min-height: 1.42rem;
}

.sr-gen-btn[b-i1vmb33uau] {
    padding: 0.12rem 0.7rem;
    border-radius: 4px;
    min-height: 1.42rem;
}

.sr-clear-btn[b-i1vmb33uau] {
    border: 0;
    background: transparent;
    color: #94a3b8;
    padding: 0;
    line-height: 1;
    cursor: pointer;
}

.sr-clear-btn:hover[b-i1vmb33uau] {
    color: #dc2626;
}

.sr-smart-row[b-i1vmb33uau] {
    border-top: 1px solid #eef2fb;
    margin-top: 0.18rem;
    padding-top: 0.18rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.sr-status-chips[b-i1vmb33uau] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.sr-chip[b-i1vmb33uau] {
    border: 1px solid #d8e0f0;
    background: #f8fafc;
    color: #475569;
    border-radius: 4px;
    padding: 0.1rem 0.45rem;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.35;
    cursor: pointer;
}

.sr-chip span[b-i1vmb33uau] {
    display: inline-block;
    min-width: 1rem;
    margin-left: 0.2rem;
    padding: 0 0.2rem;
    border-radius: 3px;
    background: #e2e8f0;
    color: #334155;
    text-align: center;
}

.sr-chip--active[b-i1vmb33uau] {
    background: #2e4494;
    border-color: #2e4494;
    color: #fff;
}

.sr-chip--active span[b-i1vmb33uau] {
    background: rgba(255,255,255,.28);
    color: #fff;
}

.sr-chip--paid.sr-chip--active[b-i1vmb33uau] {
    background: #16a34a;
    border-color: #16a34a;
}

.sr-chip--partial.sr-chip--active[b-i1vmb33uau] {
    background: #d97706;
    border-color: #d97706;
}

.sr-chip--unpaid.sr-chip--active[b-i1vmb33uau],
.sr-chip--overdue.sr-chip--active[b-i1vmb33uau] {
    background: #dc2626;
    border-color: #dc2626;
}

.sr-page-size[b-i1vmb33uau] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #64748b;
    font-size: 0.62rem;
    font-weight: 700;
}

.sr-page-size select[b-i1vmb33uau] {
    border: 1px solid #d8e0f0;
    background: #fff;
    border-radius: 4px;
    color: #334155;
    font-size: 0.65rem;
    padding: 0.08rem 0.25rem;
}

.sr-kpi-strip[b-i1vmb33uau] {
    gap: 0.28rem;
}

.sr-kpi[b-i1vmb33uau] {
    border-radius: 5px;
    padding: 0.18rem 0.45rem 0.16rem 0.5rem;
}

.sr-report-card[b-i1vmb33uau] {
    border-radius: 6px;
}

.sr-print-header[b-i1vmb33uau] {
    padding: 0.55rem 0.75rem 0.4rem;
}

.sr-table[b-i1vmb33uau] {
    font-size: 0.64rem;
    line-height: 1.12;
    border-collapse: collapse;
}

.sr-table thead th[b-i1vmb33uau] {
    padding: 0.22rem 0.35rem;
}

.sr-table tbody td[b-i1vmb33uau] {
    padding: 0.18rem 0.35rem;
    border: 1px solid #e5e7eb;
}

.sr-table tbody tr:hover[b-i1vmb33uau] {
    background: #fff8b6;
    cursor: pointer;
}

.sr-inv-btn[b-i1vmb33uau] {
    border: 1px solid #93c5fd;
    background: #eef4ff;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 0.18rem;
    padding: 0.02rem 0.35rem;
    font-size: 0.62rem;
    line-height: 1.35;
    cursor: pointer;
}

.sr-inv-btn:hover[b-i1vmb33uau] {
    background: #2e4494;
    border-color: #2e4494;
    color: #fff;
}

/* Invoice details modal */
.sr-modal-backdrop[b-i1vmb33uau] {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(15, 23, 42, .55);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 28px 12px;
    overflow-y: auto;
}

.sr-modal[b-i1vmb33uau] {
    width: min(560px, 96vw);
    max-height: calc(100vh - 32px);
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .32);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sr-modal-head[b-i1vmb33uau] {
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    color: #fff;
    padding: 0.55rem 0.8rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.sr-modal-title[b-i1vmb33uau] {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.sr-modal-sub[b-i1vmb33uau] {
    font-size: 0.64rem;
    opacity: .78;
    margin-top: 0.1rem;
}

.sr-modal-close[b-i1vmb33uau] {
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.16);
    color: #fff;
    border-radius: 4px;
    padding: 0.1rem 0.45rem;
    cursor: pointer;
}

.sr-modal-body[b-i1vmb33uau] {
    padding: 0.65rem 0.8rem;
    overflow-y: auto;
}

.sr-modal-grid[b-i1vmb33uau] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.45rem;
}

.sr-modal-card[b-i1vmb33uau] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    padding: 0.45rem 0.55rem;
}

.sr-modal-card--outlet[b-i1vmb33uau] {
    background: #eef4ff;
    border-color: #93c5fd;
}

.sr-modal-label[b-i1vmb33uau] {
    color: #64748b;
    font-size: 0.56rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.sr-modal-value[b-i1vmb33uau] {
    color: #0f172a;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 0.12rem;
}

.sr-modal-mini[b-i1vmb33uau] {
    color: #64748b;
    font-size: 0.64rem;
    margin-top: 0.12rem;
    line-height: 1.35;
}

.sr-modal-money[b-i1vmb33uau] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
    margin-top: 0.55rem;
}

.sr-modal-money div[b-i1vmb33uau] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    padding: 0.42rem 0.55rem;
}

.sr-modal-money span[b-i1vmb33uau] {
    display: block;
    color: #64748b;
    font-size: 0.58rem;
    font-weight: 800;
    text-transform: uppercase;
}

.sr-modal-money strong[b-i1vmb33uau] {
    display: block;
    margin-top: 0.08rem;
    color: #0f172a;
    font-size: 0.84rem;
}

.sr-progress[b-i1vmb33uau] {
    height: 7px;
    background: #e5e7eb;
    border-radius: 999px;
    margin-top: 0.45rem;
    overflow: hidden;
}

.sr-progress span[b-i1vmb33uau] {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #16a34a, #22c55e);
}

.sr-modal-section[b-i1vmb33uau] {
    margin: 0.7rem 0 0.3rem;
    padding-bottom: 0.16rem;
    border-bottom: 1px solid #e2e8f0;
    color: #1e2d5a;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.sr-detail-table-wrap[b-i1vmb33uau] {
    max-height: 280px;
    overflow: auto;
    border: 1px solid #d4d4d4;
}

.sr-detail-table[b-i1vmb33uau] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.64rem;
}

.sr-detail-table th[b-i1vmb33uau],
.sr-detail-table td[b-i1vmb33uau] {
    border: 1px solid #d4d4d4;
    padding: 0.18rem 0.35rem;
    white-space: nowrap;
}

.sr-detail-table th[b-i1vmb33uau] {
    position: sticky;
    top: 0;
    background: #f0f0f0;
    z-index: 1;
}

.sr-detail-table tfoot td[b-i1vmb33uau] {
    background: #f8fafc;
    font-weight: 800;
}

.sr-modal-note[b-i1vmb33uau] {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 5px;
    padding: 0.45rem 0.55rem;
    color: #78350f;
    font-size: 0.68rem;
}

@media (max-width: 700px) {
    .sr-modal-money[b-i1vmb33uau] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Cash & M-Pesa report card chrome */
.sr-report-head[b-i1vmb33uau] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.35rem 0.55rem;
    border-bottom: 1px solid #e2e8f0;
}
.sr-report-title[b-i1vmb33uau] {
    font-size: 0.72rem;
    font-weight: 800;
    color: #1e2d5a;
}
.sr-report-count[b-i1vmb33uau] {
    font-size: 0.62rem;
    font-weight: 800;
    background: #eef2fb;
    color: #243b8f;
    border-radius: 999px;
    padding: 0.05rem 0.45rem;
}
.sr-empty[b-i1vmb33uau] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 1.4rem 0.8rem;
    color: #64748b;
    font-size: 0.72rem;
}
.sr-foot[b-i1vmb33uau] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.4rem 0.55rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 0.68rem;
    font-weight: 700;
}
.sr-foot-val[b-i1vmb33uau] {
    font-size: 0.82rem;
    font-weight: 800;
    color: #1e2d5a;
}
.sr-page-info[b-i1vmb33uau] {
    font-size: 0.65rem;
    color: #64748b;
}
.sr-th-num[b-i1vmb33uau] {
    text-align: right !important;
}
/* /Components/Pages/Reports/AccountReports/TrailBalancePage.razor.rz.scp.css */
.tb-diag[b-hjontup1wu] {
    border-radius: 8px;
    padding: 0.5rem 0.65rem;
    margin-bottom: 0.45rem;
    font-size: 0.72rem;
    border: 1px solid transparent;
}
.tb-diag--warn[b-hjontup1wu] {
    background: #fffbeb;
    border-color: #fcd34d;
    color: #78350f;
}
.tb-diag--ok[b-hjontup1wu] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #ecfdf5;
    border-color: #6ee7b7;
    color: #065f46;
    padding: 0.35rem 0.55rem;
}
.tb-diag--ok i[b-hjontup1wu] { color: #059669; font-size: 1rem; }

.tb-diag__head[b-hjontup1wu] {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin-bottom: 0.4rem;
}
.tb-diag__head > i[b-hjontup1wu] {
    font-size: 1.1rem;
    color: #d97706;
    flex-shrink: 0;
    margin-top: 0.1rem;
}
.tb-diag__head strong[b-hjontup1wu] { display: block; font-size: 0.78rem; color: #92400e; }
.tb-diag__head span[b-hjontup1wu] { font-size: 0.68rem; color: #a16207; }

.tb-diag__grid[b-hjontup1wu] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.35rem;
    margin-bottom: 0.35rem;
}
.tb-diag__cell[b-hjontup1wu] {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid #fde68a;
    border-radius: 6px;
    padding: 0.25rem 0.4rem;
}
.tb-diag__cell span[b-hjontup1wu] {
    display: block;
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #a16207;
}
.tb-diag__cell strong[b-hjontup1wu] {
    font-size: 0.72rem;
    font-variant-numeric: tabular-nums;
    color: #78350f;
}
.tb-diag__cell--ok[b-hjontup1wu] { border-color: #86efac; }
.tb-diag__cell--ok strong[b-hjontup1wu] { color: #15803d; }
.tb-diag__cell--bad[b-hjontup1wu] { border-color: #fca5a5; background: #fef2f2; }
.tb-diag__cell--bad strong[b-hjontup1wu] { color: #b91c1c; }

.tb-diag__explain[b-hjontup1wu] {
    margin: 0.35rem 0 0;
    font-size: 0.68rem;
    line-height: 1.4;
    color: #92400e;
}

.tb-diag__list[b-hjontup1wu] {
    margin-top: 0.4rem;
    font-size: 0.68rem;
}
.tb-diag__list summary[b-hjontup1wu] {
    cursor: pointer;
    font-weight: 600;
    color: #92400e;
    padding: 0.2rem 0;
}
.tb-diag__table[b-hjontup1wu] {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.35rem;
    font-size: 0.65rem;
}
.tb-diag__table th[b-hjontup1wu],
.tb-diag__table td[b-hjontup1wu] {
    padding: 0.18rem 0.35rem;
    border-bottom: 1px solid #fde68a;
    text-align: left;
}
.tb-diag__table th[b-hjontup1wu] {
    background: rgba(255, 255, 255, 0.5);
    font-size: 0.55rem;
    text-transform: uppercase;
    color: #a16207;
}
.tb-diag__table .num[b-hjontup1wu] { text-align: right; font-variant-numeric: tabular-nums; }
.tb-diag__diff[b-hjontup1wu] { color: #b91c1c; font-weight: 700; }

@media print {
    .tb-diag--warn[b-hjontup1wu] { break-inside: avoid; }
}
/* /Components/Pages/Reports/InventoryReports/SalesReportPage.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════
   Sales Report — matches P&L / account report styling
   ═══════════════════════════════════════════════════════ */

.sr-wrap[b-5s09o00hr6] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f0f2f8;
    font-size: 0.78rem;
    color: #1a1f36;
}

/* ── Top bar ── */
.sr-topbar[b-5s09o00hr6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    color: #fff;
    padding: 0.45rem 1rem;
    gap: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    position: sticky;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
}

.sr-topbar-left[b-5s09o00hr6] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.sr-topbar-icon[b-5s09o00hr6] {
    font-size: 1.15rem;
    opacity: 0.85;
    flex-shrink: 0;
}

.sr-topbar-title[b-5s09o00hr6] {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.sr-topbar-sub[b-5s09o00hr6] {
    display: block;
    font-size: 0.62rem;
    opacity: 0.78;
    margin-top: 0.05rem;
    line-height: 1.35;
}

.sr-top-actions[b-5s09o00hr6] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.sr-btn[b-5s09o00hr6] {
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
    padding: 0.26rem 0.75rem;
    border: none;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.14s, background 0.14s;
    white-space: nowrap;
}

.sr-btn--back[b-5s09o00hr6] {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.sr-btn--back:hover[b-5s09o00hr6] {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.sr-btn--print[b-5s09o00hr6] {
    background: #4b5563;
    color: #fff;
}

.sr-btn--print:hover[b-5s09o00hr6] {
    opacity: 0.88;
}

.sr-btn--pdf[b-5s09o00hr6] {
    background: #dc2626;
    color: #fff;
}

.sr-btn--pdf:hover[b-5s09o00hr6] {
    opacity: 0.88;
}

.sr-btn--excel[b-5s09o00hr6] {
    background: #16a34a;
    color: #fff;
}

.sr-btn--excel:hover[b-5s09o00hr6] {
    opacity: 0.88;
}

/* ── Body ── */
.sr-body[b-5s09o00hr6] {
    flex: 1;
    padding: 0.28rem 0.7rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
}

/* ── Filter card ── */
.sr-filter-card[b-5s09o00hr6] {
    background: #fff;
    border: 1px solid #e2e7f3;
    border-radius: 5px;
    padding: 0.28rem 0.5rem;
    box-shadow: 0 1px 3px rgba(30, 45, 90, 0.05);
}

.sr-filter-row[b-5s09o00hr6] {
    display: flex;
    align-items: flex-end;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.sr-field-group[b-5s09o00hr6] {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    min-width: 0;
}

.sr-field-group--grow[b-5s09o00hr6] {
    flex: 1 1 140px;
    min-width: 132px;
}

.sr-field-group--btn[b-5s09o00hr6] {
    flex-shrink: 0;
    align-self: flex-end;
}

.sr-field-label[b-5s09o00hr6] {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8492b4;
}

.sr-field-wrap[b-5s09o00hr6] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid #d8dff0;
    border-radius: 4px;
    padding: 0 0.32rem;
    background: #f7f9fd;
    min-height: 1.42rem;
}

.sr-field-wrap--date[b-5s09o00hr6] {
    min-width: 168px;
}

.sr-field-wrap--select[b-5s09o00hr6] {
    min-width: 200px;
}

.sr-field-ico[b-5s09o00hr6] {
    font-size: 0.72rem;
    color: #8492b4;
    flex-shrink: 0;
}

.sr-field-input[b-5s09o00hr6] {
    border: none;
    background: transparent;
    font-size: 0.75rem;
    color: #1a1f36;
    flex: 1;
    min-width: 0;
    outline: none;
    padding: 0.1rem 0;
}

/* Radzen dropdown inside filter */
.sr-field-wrap--select[b-5s09o00hr6]  .rz-dropdown {
    width: 100% !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    min-height: 1.65rem !important;
}

.sr-field-wrap--select[b-5s09o00hr6]  .rz-inputtext {
    font-size: 0.75rem !important;
    padding: 0.2rem 0 !important;
}

.sr-gen-btn[b-5s09o00hr6] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    padding: 0.12rem 0.7rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.14s;
    white-space: nowrap;
    min-height: 1.42rem;
}

.sr-gen-btn:hover:not(:disabled)[b-5s09o00hr6] {
    opacity: 0.9;
}

.sr-gen-btn:disabled[b-5s09o00hr6] {
    opacity: 0.55;
    cursor: not-allowed;
}

.sr-spinner-sm[b-5s09o00hr6] {
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: sr-spin-b-5s09o00hr6 0.7s linear infinite;
}

@keyframes sr-spin-b-5s09o00hr6 {
    to {
        transform: rotate(360deg);
    }
}

/* ── KPI strip ── */
.sr-kpi-strip[b-5s09o00hr6] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
}

@media (max-width: 900px) {
    .sr-kpi-strip[b-5s09o00hr6] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .sr-kpi-strip[b-5s09o00hr6] {
        grid-template-columns: 1fr;
    }
}

.sr-kpi[b-5s09o00hr6] {
    display: flex;
    align-items: center;
    gap: 0.32rem;
    background: #fff;
    border-radius: 5px;
    padding: 0.18rem 0.45rem 0.16rem 0.5rem;
    border: 1px solid #e2e7f3;
    box-shadow: 0 1px 3px rgba(30, 45, 90, 0.05);
    position: relative;
    overflow: hidden;
}

.sr-kpi[b-5s09o00hr6]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 3px 0 0 3px;
}

.sr-kpi--invoices[b-5s09o00hr6]::before {
    background: #6366f1;
}

.sr-kpi--sales[b-5s09o00hr6]::before {
    background: #2e4494;
}

.sr-kpi--received[b-5s09o00hr6]::before {
    background: #16a34a;
}

.sr-kpi--balance[b-5s09o00hr6]::before {
    background: #ea580c;
}

.sr-kpi--clear[b-5s09o00hr6]::before {
    background: #16a34a;
}

.sr-kpi-icon[b-5s09o00hr6] {
    display: none;
}

.sr-kpi--invoices .sr-kpi-icon[b-5s09o00hr6] {
    color: #6366f1;
}

.sr-kpi--sales .sr-kpi-icon[b-5s09o00hr6] {
    color: #2e4494;
}

.sr-kpi--received .sr-kpi-icon[b-5s09o00hr6] {
    color: #16a34a;
}

.sr-kpi--balance .sr-kpi-icon[b-5s09o00hr6] {
    color: #ea580c;
}

.sr-kpi--clear .sr-kpi-icon[b-5s09o00hr6] {
    color: #16a34a;
}

.sr-kpi-body[b-5s09o00hr6] {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
    flex: 1;
}

.sr-kpi-label[b-5s09o00hr6] {
    font-size: 0.59rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8492b4;
}

.sr-kpi-val[b-5s09o00hr6] {
    font-size: 0.78rem;
    font-weight: 700;
    color: #1a1f36;
    line-height: 1.15;
    word-break: break-word;
}

.sr-kpi-sub[b-5s09o00hr6] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.62rem;
    color: #64748b;
    line-height: 1.4;
    margin-top: 0.05rem;
}

.sr-pill[b-5s09o00hr6] {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.sr-pill--paid[b-5s09o00hr6] {
    background: #dcfce7;
    color: #166534;
}

.sr-pill--partial[b-5s09o00hr6] {
    background: #fef3c7;
    color: #92400e;
}

.sr-pill--unpaid[b-5s09o00hr6] {
    background: #fee2e2;
    color: #991b1b;
}

/* ── Report card ── */
.sr-report-card[b-5s09o00hr6] {
    background: #fff;
    border: 1px solid #e2e7f3;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(30, 45, 90, 0.06);
    overflow: hidden;
}

/* ── States ── */
.sr-state[b-5s09o00hr6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 3rem 2rem;
    color: #8492b4;
    text-align: center;
}

.sr-state--loading[b-5s09o00hr6] {
    gap: 0.6rem;
}

.sr-state-icon[b-5s09o00hr6] {
    font-size: 2rem;
    opacity: 0.4;
}

.sr-state-title[b-5s09o00hr6] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4b5563;
}

.sr-state-sub[b-5s09o00hr6] {
    font-size: 0.72rem;
    color: #9ca3af;
    max-width: 22rem;
}

.sr-spinner[b-5s09o00hr6] {
    width: 1.4rem;
    height: 1.4rem;
    border: 2px solid #e2e7f3;
    border-top-color: #2e4494;
    border-radius: 50%;
    animation: sr-spin-b-5s09o00hr6 0.7s linear infinite;
}

/* ── Print header ── */
.sr-print-header[b-5s09o00hr6] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0.75rem 0.9rem 0.55rem;
    border-bottom: 2px solid #e2e7f3;
    gap: 1rem;
    flex-wrap: wrap;
    background: linear-gradient(180deg, #fafbff 0%, #fff 100%);
}

.sr-print-company[b-5s09o00hr6] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.sr-print-logo[b-5s09o00hr6] {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: contain;
    border: 1px solid #e2e7f3;
    background: #fff;
    flex-shrink: 0;
}

.sr-print-name[b-5s09o00hr6] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1f36;
    line-height: 1.25;
}

.sr-print-sub[b-5s09o00hr6] {
    font-size: 0.64rem;
    color: #8492b4;
    margin-top: 0.08rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sr-print-meta[b-5s09o00hr6] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    text-align: right;
    font-size: 0.62rem;
    color: #8492b4;
}

.sr-print-meta strong[b-5s09o00hr6] {
    color: #334155;
    font-weight: 600;
}

/* ── Table (desktop) ── */
.sr-table-wrap[b-5s09o00hr6] {
    overflow-x: auto;
    display: block;
}

.sr-table[b-5s09o00hr6] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.68rem;
    line-height: 1.2;
}

.sr-table thead tr[b-5s09o00hr6] {
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    position: sticky;
    top: 0;
    z-index: 2;
}

.sr-table thead th[b-5s09o00hr6] {
    padding: 0.32rem 0.45rem;
    font-size: 0.56rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    border: none;
    text-align: left;
}

.sr-th-num[b-5s09o00hr6],
.sr-td-num[b-5s09o00hr6] {
    text-align: right;
}

.sr-th-date[b-5s09o00hr6] {
    min-width: 5.5rem;
}

.sr-th-inv[b-5s09o00hr6] {
    min-width: 5rem;
}

.sr-th-customer[b-5s09o00hr6] {
    min-width: 8rem;
}

.sr-th-wh[b-5s09o00hr6] {
    min-width: 5rem;
}

.sr-th-status[b-5s09o00hr6] {
    min-width: 4.5rem;
    text-align: center;
}

.sr-table tbody tr[b-5s09o00hr6] {
    border-bottom: 1px solid #f0f3fa;
    transition: background 0.12s;
}

.sr-table tbody tr:hover[b-5s09o00hr6] {
    background: #f7f9fd;
}

.sr-row--overdue[b-5s09o00hr6] {
    background: #fffbeb;
}

.sr-row--overdue:hover[b-5s09o00hr6] {
    background: #fef3c7;
}

.sr-table tbody td[b-5s09o00hr6] {
    padding: 0.28rem 0.45rem;
    vertical-align: middle;
}

.sr-td-date[b-5s09o00hr6] {
    white-space: nowrap;
    color: #475569;
}

.sr-td-inv[b-5s09o00hr6] {
    white-space: nowrap;
}

.sr-inv-no[b-5s09o00hr6] {
    font-weight: 600;
    color: #1e3a5f;
}

.sr-overdue-badge[b-5s09o00hr6] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.25rem;
    width: 1rem;
    height: 1rem;
    font-size: 0.55rem;
    font-weight: 800;
    border-radius: 50%;
    background: #f97316;
    color: #fff;
    vertical-align: middle;
}

.sr-td-customer[b-5s09o00hr6] {
    max-width: 14rem;
}

.sr-customer-name[b-5s09o00hr6] {
    display: block;
    font-weight: 500;
    color: #1a1f36;
}

.sr-customer-meta[b-5s09o00hr6] {
    display: block;
    font-size: 0.58rem;
    color: #94a3b8;
    margin-top: 0.06rem;
}

.sr-wh-badge[b-5s09o00hr6] {
    display: inline-block;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.58rem;
    font-weight: 600;
}

.sr-num--green[b-5s09o00hr6] {
    color: #15803d;
    font-weight: 600;
}

.sr-num--red[b-5s09o00hr6] {
    color: #dc2626;
    font-weight: 600;
}

.sr-num--nil[b-5s09o00hr6] {
    color: #c4cbe0;
}

.sr-td-status[b-5s09o00hr6] {
    text-align: center;
}

.sr-badge[b-5s09o00hr6] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.14rem 0.45rem;
    border-radius: 4px;
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: capitalize;
}

.sr-badge--paid[b-5s09o00hr6] {
    background: #dcfce7;
    color: #166534;
}

.sr-badge--partial[b-5s09o00hr6] {
    background: #fef3c7;
    color: #92400e;
}

.sr-badge--unpaid[b-5s09o00hr6] {
    background: #fee2e2;
    color: #991b1b;
}

.sr-tfoot-row[b-5s09o00hr6] {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 2px solid #e2e7f3;
}

.sr-tfoot-row td[b-5s09o00hr6] {
    padding: 0.4rem 0.45rem;
    font-weight: 700;
    font-size: 0.72rem;
    color: #1e293b;
}

.sr-tfoot-label[b-5s09o00hr6] {
    text-align: left;
}

.sr-tfoot-count[b-5s09o00hr6] {
    font-weight: 600;
    color: #64748b;
    font-size: 0.62rem;
}

.sr-tfoot-num[b-5s09o00hr6] {
    text-align: right;
    white-space: nowrap;
}

/* ── Mobile cards ── */
.sr-mob-cards[b-5s09o00hr6] {
    display: none;
    padding: 0.5rem 0.65rem 0.75rem;
    flex-direction: column;
    gap: 0.45rem;
}

.sr-mob-card[b-5s09o00hr6] {
    border: 1px solid #e2e7f3;
    border-radius: 8px;
    padding: 0.55rem 0.65rem;
    background: #fafbff;
}

.sr-mob-card--overdue[b-5s09o00hr6] {
    border-color: #fcd34d;
    background: #fffbeb;
}

.sr-mob-top[b-5s09o00hr6] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.sr-mob-left[b-5s09o00hr6] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.sr-mob-date[b-5s09o00hr6] {
    font-size: 0.58rem;
    color: #64748b;
}

.sr-mob-customer[b-5s09o00hr6] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.4rem;
    word-break: break-word;
}

.sr-mob-nums[b-5s09o00hr6] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.sr-mob-num-row[b-5s09o00hr6] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.65rem;
}

.sr-mob-lbl[b-5s09o00hr6] {
    color: #8492b4;
}

.sr-mob-val[b-5s09o00hr6] {
    font-weight: 600;
    color: #1a1f36;
}

.sr-mob-total[b-5s09o00hr6] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.65rem;
    margin-top: 0.15rem;
    border-radius: 8px;
    background: #1e2d5a;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
}

.sr-mob-total strong[b-5s09o00hr6] {
    font-size: 0.82rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .sr-table-wrap[b-5s09o00hr6] {
        display: none;
    }

    .sr-mob-cards[b-5s09o00hr6] {
        display: flex;
    }
}

/* ── Pagination (10 per page) ── */
.sr-pagination[b-5s09o00hr6] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.55rem 0.65rem;
    margin-top: 0.35rem;
    border-radius: 8px;
    background: #eef2fb;
    border: 1px solid #d8e0f0;
}

.sr-page-info[b-5s09o00hr6] {
    font-size: 0.72rem;
    color: #3d4a6b;
}

.sr-page-info strong[b-5s09o00hr6] {
    color: #1e2d5a;
    font-weight: 700;
}

.sr-page-meta[b-5s09o00hr6] {
    color: #8492b4;
    font-weight: 500;
    margin-left: 0.25rem;
}

.sr-page-btns[b-5s09o00hr6] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
}

.sr-page-btn[b-5s09o00hr6] {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0.28rem 0.55rem;
    border: 1px solid #c5cee0;
    border-radius: 6px;
    background: #fff;
    font-size: 0.68rem;
    font-weight: 600;
    color: #1e2d5a;
    cursor: pointer;
    transition: background 0.12s, border-color 0.12s;
}

.sr-page-btn:hover:not(:disabled)[b-5s09o00hr6] {
    background: #e8edfa;
    border-color: #9aaccc;
}

.sr-page-btn:disabled[b-5s09o00hr6] {
    opacity: 0.45;
    cursor: not-allowed;
}

.sr-page-num[b-5s09o00hr6] {
    min-width: 1.65rem;
    padding: 0.26rem 0.35rem;
    border: 1px solid #c5cee0;
    border-radius: 6px;
    background: #fff;
    font-size: 0.68rem;
    font-weight: 600;
    color: #3d4a6b;
    cursor: pointer;
    line-height: 1.2;
}

.sr-page-num:hover[b-5s09o00hr6] {
    background: #e8edfa;
    border-color: #9aaccc;
}

.sr-page-num--active[b-5s09o00hr6] {
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    border-color: #1e2d5a;
    color: #fff;
}

/* ── Print ── */
@media print {
    .sr-topbar[b-5s09o00hr6],
    .sr-filter-card[b-5s09o00hr6],
    .sr-kpi-strip[b-5s09o00hr6],
    .sr-pagination[b-5s09o00hr6] {
        display: none !important;
    }

    .sr-wrap[b-5s09o00hr6] {
        background: #fff;
    }

    .sr-body[b-5s09o00hr6] {
        padding: 0;
    }

    .sr-report-card[b-5s09o00hr6] {
        border: none;
        box-shadow: none;
    }

    .sr-table[b-5s09o00hr6] {
        font-size: 0.58rem;
    }

    .sr-table thead tr[b-5s09o00hr6] {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .sr-mob-cards[b-5s09o00hr6] {
        display: none !important;
    }

    .sr-table-wrap[b-5s09o00hr6] {
        display: block !important;
    }
}

/* Compact smart redesign overrides */
.sr-wrap[b-5s09o00hr6] {
    font-size: 0.72rem;
}

.sr-topbar[b-5s09o00hr6] {
    padding: 0.35rem 0.75rem;
}

.sr-body[b-5s09o00hr6] {
    padding: 0.28rem 0.7rem 1rem;
    gap: 0.28rem;
}

.sr-filter-card[b-5s09o00hr6] {
    border-radius: 5px;
    padding: 0.28rem 0.5rem;
}

.sr-filter-row[b-5s09o00hr6] {
    gap: 0.5rem;
}

.sr-field-group--channel[b-5s09o00hr6] {
    flex: 0 0 auto;
    min-width: 0;
}

.sr-channel-toggle[b-5s09o00hr6] {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid #d8dff0;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    min-height: 1.42rem;
}

.sr-channel-btn[b-5s09o00hr6] {
    border: 0;
    border-right: 1px solid #d8dff0;
    background: #f8fafc;
    color: #334155;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.1rem 0.38rem;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.2;
}

.sr-channel-btn:last-child[b-5s09o00hr6] {
    border-right: 0;
}

.sr-channel-btn:hover:not(:disabled):not(.sr-channel-btn--active)[b-5s09o00hr6] {
    background: #eef2ff;
    color: #1e3a8a;
}

.sr-channel-btn--active[b-5s09o00hr6] {
    background: #243b8f;
    color: #fff;
}

.sr-channel-btn:disabled[b-5s09o00hr6] {
    opacity: 0.45;
    cursor: not-allowed;
}

.sr-field-group--search[b-5s09o00hr6] {
    flex: 1 1 140px;
    min-width: 132px;
}

.sr-field-wrap[b-5s09o00hr6] {
    border-radius: 4px;
    min-height: 1.42rem;
}

.sr-gen-btn[b-5s09o00hr6] {
    padding: 0.12rem 0.7rem;
    border-radius: 4px;
    min-height: 1.42rem;
}

.sr-clear-btn[b-5s09o00hr6] {
    border: 0;
    background: transparent;
    color: #94a3b8;
    padding: 0;
    line-height: 1;
    cursor: pointer;
}

.sr-clear-btn:hover[b-5s09o00hr6] {
    color: #dc2626;
}

.sr-smart-row[b-5s09o00hr6] {
    border-top: 1px solid #eef2fb;
    margin-top: 0.18rem;
    padding-top: 0.18rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.sr-status-chips[b-5s09o00hr6] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.sr-chip[b-5s09o00hr6] {
    border: 1px solid #d8e0f0;
    background: #f8fafc;
    color: #475569;
    border-radius: 4px;
    padding: 0.1rem 0.45rem;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.35;
    cursor: pointer;
}

.sr-chip span[b-5s09o00hr6] {
    display: inline-block;
    min-width: 1rem;
    margin-left: 0.2rem;
    padding: 0 0.2rem;
    border-radius: 3px;
    background: #e2e8f0;
    color: #334155;
    text-align: center;
}

.sr-chip--active[b-5s09o00hr6] {
    background: #2e4494;
    border-color: #2e4494;
    color: #fff;
}

.sr-chip--active span[b-5s09o00hr6] {
    background: rgba(255,255,255,.28);
    color: #fff;
}

.sr-chip--paid.sr-chip--active[b-5s09o00hr6] {
    background: #16a34a;
    border-color: #16a34a;
}

.sr-chip--partial.sr-chip--active[b-5s09o00hr6] {
    background: #d97706;
    border-color: #d97706;
}

.sr-chip--unpaid.sr-chip--active[b-5s09o00hr6],
.sr-chip--overdue.sr-chip--active[b-5s09o00hr6] {
    background: #dc2626;
    border-color: #dc2626;
}

.sr-page-size[b-5s09o00hr6] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #64748b;
    font-size: 0.62rem;
    font-weight: 700;
}

.sr-page-size select[b-5s09o00hr6] {
    border: 1px solid #d8e0f0;
    background: #fff;
    border-radius: 4px;
    color: #334155;
    font-size: 0.65rem;
    padding: 0.08rem 0.25rem;
}

.sr-kpi-strip[b-5s09o00hr6] {
    gap: 0.28rem;
}

.sr-kpi[b-5s09o00hr6] {
    border-radius: 5px;
    padding: 0.18rem 0.45rem 0.16rem 0.5rem;
}

.sr-report-card[b-5s09o00hr6] {
    border-radius: 6px;
}

.sr-print-header[b-5s09o00hr6] {
    padding: 0.55rem 0.75rem 0.4rem;
}

.sr-table[b-5s09o00hr6] {
    font-size: 0.64rem;
    line-height: 1.12;
    border-collapse: collapse;
}

.sr-table thead th[b-5s09o00hr6] {
    padding: 0.22rem 0.35rem;
}

.sr-table tbody td[b-5s09o00hr6] {
    padding: 0.18rem 0.35rem;
    border: 1px solid #e5e7eb;
}

.sr-table tbody tr:hover[b-5s09o00hr6] {
    background: #fff8b6;
    cursor: pointer;
}

.sr-inv-btn[b-5s09o00hr6] {
    border: 1px solid #93c5fd;
    background: #eef4ff;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 0.18rem;
    padding: 0.02rem 0.35rem;
    font-size: 0.62rem;
    line-height: 1.35;
    cursor: pointer;
}

.sr-inv-btn:hover[b-5s09o00hr6] {
    background: #2e4494;
    border-color: #2e4494;
    color: #fff;
}

/* Invoice details modal */
.sr-modal-backdrop[b-5s09o00hr6] {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(15, 23, 42, .55);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 28px 12px;
    overflow-y: auto;
}

.sr-modal[b-5s09o00hr6] {
    width: min(560px, 96vw);
    max-height: calc(100vh - 32px);
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .32);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sr-modal-head[b-5s09o00hr6] {
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    color: #fff;
    padding: 0.55rem 0.8rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.sr-modal-title[b-5s09o00hr6] {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.sr-modal-sub[b-5s09o00hr6] {
    font-size: 0.64rem;
    opacity: .78;
    margin-top: 0.1rem;
}

.sr-modal-close[b-5s09o00hr6] {
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.16);
    color: #fff;
    border-radius: 4px;
    padding: 0.1rem 0.45rem;
    cursor: pointer;
}

.sr-modal-body[b-5s09o00hr6] {
    padding: 0.65rem 0.8rem;
    overflow-y: auto;
}

.sr-modal-grid[b-5s09o00hr6] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.45rem;
}

.sr-modal-card[b-5s09o00hr6] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    padding: 0.45rem 0.55rem;
}

.sr-modal-card--outlet[b-5s09o00hr6] {
    background: #eef4ff;
    border-color: #93c5fd;
}

.sr-modal-label[b-5s09o00hr6] {
    color: #64748b;
    font-size: 0.56rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.sr-modal-value[b-5s09o00hr6] {
    color: #0f172a;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 0.12rem;
}

.sr-modal-mini[b-5s09o00hr6] {
    color: #64748b;
    font-size: 0.64rem;
    margin-top: 0.12rem;
    line-height: 1.35;
}

.sr-modal-money[b-5s09o00hr6] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
    margin-top: 0.55rem;
}

.sr-modal-money div[b-5s09o00hr6] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    padding: 0.42rem 0.55rem;
}

.sr-modal-money span[b-5s09o00hr6] {
    display: block;
    color: #64748b;
    font-size: 0.58rem;
    font-weight: 800;
    text-transform: uppercase;
}

.sr-modal-money strong[b-5s09o00hr6] {
    display: block;
    margin-top: 0.08rem;
    color: #0f172a;
    font-size: 0.84rem;
}

.sr-progress[b-5s09o00hr6] {
    height: 7px;
    background: #e5e7eb;
    border-radius: 999px;
    margin-top: 0.45rem;
    overflow: hidden;
}

.sr-progress span[b-5s09o00hr6] {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #16a34a, #22c55e);
}

.sr-modal-section[b-5s09o00hr6] {
    margin: 0.7rem 0 0.3rem;
    padding-bottom: 0.16rem;
    border-bottom: 1px solid #e2e8f0;
    color: #1e2d5a;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.sr-detail-table-wrap[b-5s09o00hr6] {
    max-height: 280px;
    overflow: auto;
    border: 1px solid #d4d4d4;
}

.sr-detail-table[b-5s09o00hr6] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.64rem;
}

.sr-detail-table th[b-5s09o00hr6],
.sr-detail-table td[b-5s09o00hr6] {
    border: 1px solid #d4d4d4;
    padding: 0.18rem 0.35rem;
    white-space: nowrap;
}

.sr-detail-table th[b-5s09o00hr6] {
    position: sticky;
    top: 0;
    background: #f0f0f0;
    z-index: 1;
}

.sr-detail-table tfoot td[b-5s09o00hr6] {
    background: #f8fafc;
    font-weight: 800;
}

.sr-modal-note[b-5s09o00hr6] {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 5px;
    padding: 0.45rem 0.55rem;
    color: #78350f;
    font-size: 0.68rem;
}

@media (max-width: 700px) {
    .sr-modal-money[b-5s09o00hr6] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* /Components/Pages/Reports/PosReports/PosBranchPerformancePage.razor.rz.scp.css */
.pbp-page[b-mfqazzds3d] {
    font-size: 0.82rem;
}

.pbp-header[b-mfqazzds3d] {
    margin-bottom: 0.6rem !important;
    gap: 0.5rem;
}

.pbp-title[b-mfqazzds3d] {
    font-size: 0.95rem !important;
}

.pbp-sub[b-mfqazzds3d] {
    font-size: 0.7rem !important;
}

.pbp-filters[b-mfqazzds3d] {
    border-radius: var(--pos-radius) !important;
}

.pbp-filters-body[b-mfqazzds3d] {
    padding: 0.55rem 0.65rem !important;
}

.pbp-date[b-mfqazzds3d] {
    width: 148px;
}

.pbp-run[b-mfqazzds3d] {
    white-space: nowrap;
}

.pbp-summary-row[b-mfqazzds3d] {
    margin-bottom: 0.6rem !important;
}

.pbp-branch-card[b-mfqazzds3d] {
    border-radius: var(--pos-radius) !important;
}

.pbp-branch-card-body[b-mfqazzds3d] {
    padding: 0.65rem 0.7rem !important;
}

.pbp-branch-card-body h6[b-mfqazzds3d] {
    font-size: 0.82rem !important;
}

.pbp-branch-card-body small[b-mfqazzds3d] {
    font-size: 0.68rem !important;
}

.pbp-branch-card-body .badge[b-mfqazzds3d] {
    font-size: 0.6rem !important;
    padding: 0.16rem 0.45rem !important;
}

.pbp-branch-card-body .row.g-2[b-mfqazzds3d] {
    margin-top: 0.25rem !important;
}

.pbp-branch-card-body .row.g-2 > [class^="col-"] > div:first-child[b-mfqazzds3d] {
    font-size: 0.58rem !important;
}

.pbp-branch-card-body .row.g-2 > [class^="col-"] > div:last-child[b-mfqazzds3d] {
    font-size: 0.8rem !important;
}

.pbp-table-card[b-mfqazzds3d] {
    border-radius: var(--pos-radius) !important;
}

.pbp-table-body[b-mfqazzds3d] {
    padding: 0.7rem !important;
}

.pbp-table-h[b-mfqazzds3d] {
    font-size: 0.7rem !important;
    margin-bottom: 0.45rem !important;
}

.pbp-table-scroll[b-mfqazzds3d] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pbp-table th[b-mfqazzds3d],
.pbp-table td[b-mfqazzds3d] {
    padding: 0.35rem 0.45rem !important;
    font-size: 0.78rem !important;
    vertical-align: middle;
}

.pbp-table thead th[b-mfqazzds3d] {
    font-size: 0.62rem !important;
}

@media (max-width: 576px) {
    .pbp-page[b-mfqazzds3d] {
        padding-left: 0.35rem;
        padding-right: 0.35rem;
    }

    .pbp-header[b-mfqazzds3d] {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .pbp-header .btn[b-mfqazzds3d] {
        align-self: flex-end;
    }

    /* Filters stack and become easier to tap */
    .pbp-filters-body[b-mfqazzds3d] {
        padding: 0.5rem 0.55rem !important;
    }

    .pbp-filters-row[b-mfqazzds3d] {
        flex-wrap: wrap;
    }

    .pbp-date[b-mfqazzds3d] {
        width: 100% !important;
        min-width: 0;
    }

    .pbp-filters-row .col-auto[b-mfqazzds3d] {
        flex: 1 1 160px;
        min-width: 0;
    }

    .pbp-run[b-mfqazzds3d] {
        width: 100%;
    }

    /* Cards: tighter */
    .pbp-branch-card-body[b-mfqazzds3d] {
        padding: 0.48rem 0.55rem !important;
    }

    .pbp-branch-card-body h6[b-mfqazzds3d] {
        font-size: 0.78rem !important;
    }

    .pbp-branch-card-body small[b-mfqazzds3d] {
        font-size: 0.64rem !important;
    }

    .pbp-branch-card-body .badge[b-mfqazzds3d] {
        font-size: 0.56rem !important;
        padding: 0.12rem 0.4rem !important;
    }

    .pbp-branch-card-body .row.g-2 > [class^="col-"] > div:first-child[b-mfqazzds3d] {
        font-size: 0.54rem !important;
    }

    .pbp-branch-card-body .row.g-2 > [class^="col-"] > div:last-child[b-mfqazzds3d] {
        font-size: 0.76rem !important;
    }

    /* Table: ensure it scrolls nicely */
    .pbp-table[b-mfqazzds3d] {
        min-width: 720px;
    }
}

/* /Components/Pages/SalesPage/SalesInvoicePage/PartySalesInvoiceModal.razor.rz.scp.css */
/* Party picker + compact details (Sales Invoice) */
.psi-party[b-62nw27ntmt] {
    position: relative;
}

.psi-party-input[b-62nw27ntmt] {
    font-size: 0.7rem !important;
    min-height: 1.6rem !important;
    padding-top: 0.12rem !important;
    padding-bottom: 0.12rem !important;
}

.psi-party-details[b-62nw27ntmt] {
    margin-top: 0.22rem;
    padding-top: 0.2rem;
    border-top: 1px solid #eef1f7;
}

.psi-party-name[b-62nw27ntmt] {
    font-size: 0.68rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.25;
    margin-bottom: 0.12rem;
    word-break: break-word;
}

.psi-party-line[b-62nw27ntmt] {
    font-size: 0.61rem;
    line-height: 1.2;
    color: #475569;
    margin-bottom: 0.08rem;
    word-break: break-word;
}

.psi-party-line:last-child[b-62nw27ntmt] {
    margin-bottom: 0;
}

.psi-party-k[b-62nw27ntmt] {
    display: inline-block;
    min-width: 3.5rem;
    margin-right: 0.25rem;
    font-weight: 600;
    color: #94a3b8;
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    vertical-align: top;
}

@media (max-width: 576px) {
    .psi-party-input[b-62nw27ntmt] {
        font-size: 0.66rem !important;
        min-height: 1.5rem !important;
    }

    .psi-party-details[b-62nw27ntmt] {
        margin-top: 0.18rem;
        padding-top: 0.18rem;
    }

    .psi-party-name[b-62nw27ntmt] {
        font-size: 0.64rem;
        margin-bottom: 0.1rem;
    }

    .psi-party-line[b-62nw27ntmt] {
        font-size: 0.57rem;
        line-height: 1.2;
        margin-bottom: 0.08rem;
    }

    .psi-party-k[b-62nw27ntmt] {
        min-width: 3rem;
        font-size: 0.52rem;
    }
}
/* /Components/Pages/SalesPage/SalesInvoicePage/SalesInvoiceAdd.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════
   Sales Invoice Add — Compact Modern Design
   ═══════════════════════════════════════════════════════ */

/* ── Root ── */
.si-wrap[b-cbtdsvnuf8] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f0f2f8;
    font-size: 0.71rem;
    color: #1a1f36;
}

/* ── Top bar ── */
.si-topbar[b-cbtdsvnuf8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    color: #fff;
    padding: 0.28rem 0.62rem;
    gap: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
    position: sticky;
    top: 0;
    z-index: 100;
}
.si-topbar-left[b-cbtdsvnuf8] { display: flex; align-items: center; gap: 0.55rem; }
.si-top-actions[b-cbtdsvnuf8] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
}
.si-btn--top[b-cbtdsvnuf8] {
    padding: 0.2rem 0.58rem;
    font-size: 0.64rem;
}
.si-topbar-icon[b-cbtdsvnuf8] { font-size: 1.1rem; opacity: 0.9; }
.si-topbar-title[b-cbtdsvnuf8] { display: block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.01em; }
.si-topbar-sub[b-cbtdsvnuf8]   { display: block; font-size: 0.58rem; opacity: 0.72; margin-top: 0.02rem; }

.si-back-btn[b-cbtdsvnuf8] {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.56rem;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 5px;
    color: #fff;
    font-size: 0.63rem;
    text-decoration: none;
    transition: background .15s;
    white-space: nowrap;
}
.si-back-btn:hover[b-cbtdsvnuf8] { background: rgba(255,255,255,.15); color: #fff; }

/* ── Body ── */
.si-body[b-cbtdsvnuf8] {
    flex: 1;
    padding: 0.32rem 0.56rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    max-width: 1220px;
    width: 100%;
    margin: 0 auto;
}

/* ── Cards ── */
.si-card[b-cbtdsvnuf8] {
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e2e7f3;
    padding: 0.42rem 0.56rem;
    box-shadow: 0 1px 2px rgba(30,45,90,.05);
}
.si-card-label[b-cbtdsvnuf8] {
    font-size: 0.56rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #8492b4;
    margin-bottom: 0.2rem;
}

/* ── Meta row ── */
.si-meta-row[b-cbtdsvnuf8] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
    align-items: start;
}
@media (max-width: 768px) { .si-meta-row[b-cbtdsvnuf8] { grid-template-columns: 1fr; } }

/* ── Mobile: compact meta (Customer + Invoice details) ── */
@media (max-width: 576px) {
    .si-wrap[b-cbtdsvnuf8] {
        font-size: 0.72rem;
    }
    .si-body[b-cbtdsvnuf8] {
        padding: 0.3rem 0.4rem 4rem;
        gap: 0.3rem;
    }
    .si-meta-row[b-cbtdsvnuf8] {
        gap: 0.35rem;
    }
    .si-card[b-cbtdsvnuf8] {
        padding: 0.42rem 0.5rem;
        border-radius: 6px;
    }
    .si-card-label[b-cbtdsvnuf8] {
        font-size: 0.58rem;
        margin-bottom: 0.25rem;
        letter-spacing: 0.05em;
    }
    .si-details-grid[b-cbtdsvnuf8] {
        gap: 0.28rem 0.35rem;
    }
    .si-field label[b-cbtdsvnuf8] {
        font-size: 0.58rem;
        margin-bottom: 0.06rem;
    }
    .si-warehouse-badge[b-cbtdsvnuf8] {
        padding: 0.14rem 0.45rem;
        font-size: 0.65rem;
        border-radius: 14px;
    }
    .si-search-bar[b-cbtdsvnuf8] {
        padding: 0.3rem 0.5rem;
        font-size: 0.72rem;
    }
    .si-barcode-grp[b-cbtdsvnuf8] {
        max-width: none;
        width: 100%;
    }
    /* Radzen date pickers in invoice details */
    .si-wrap[b-cbtdsvnuf8]  .rz-datepicker {
        width: 100% !important;
    }
    .si-wrap[b-cbtdsvnuf8]  .rz-inputtext,
    .si-wrap[b-cbtdsvnuf8]  .rz-input {
        font-size: 0.74rem !important;
        min-height: 2rem !important;
        padding: 0.22rem 0.4rem !important;
    }
    .si-field .input-group-sm > .form-control[b-cbtdsvnuf8] {
        font-size: 0.74rem;
        min-height: 2rem;
    }
    .si-table thead th[b-cbtdsvnuf8] {
        padding: 0.28rem 0.3rem;
        font-size: 0.58rem;
    }
    .si-table td[b-cbtdsvnuf8] {
        padding: 0.2rem 0.28rem;
    }
    .si-table .form-control[b-cbtdsvnuf8],
    .si-table .form-select[b-cbtdsvnuf8] {
        font-size: 0.7rem !important;
        height: 1.45rem !important;
    }
}

@media (max-width: 480px) {
    .si-details-grid[b-cbtdsvnuf8] {
        grid-template-columns: 1fr;
    }
    .si-topbar-title[b-cbtdsvnuf8] {
        font-size: 0.74rem;
    }
    .si-topbar-sub[b-cbtdsvnuf8] {
        font-size: 0.6rem;
    }
}

/* ── Invoice details 2×2 grid ── */
.si-details-grid[b-cbtdsvnuf8] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.26rem 0.44rem;
}
.si-field label[b-cbtdsvnuf8] {
    display: block;
    font-size: 0.56rem;
    font-weight: 600;
    color: #8492b4;
    margin-bottom: 0.08rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── Warehouse badge ── */
.si-warehouse-badge[b-cbtdsvnuf8] {
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
    padding: 0.15rem 0.45rem;
    background: #eaf4ec;
    color: #276739;
    border: 1px solid #b2dfbd;
    border-radius: 14px;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: default;
    user-select: none;
}
.si-warehouse-lock[b-cbtdsvnuf8] { font-size: 0.58rem; opacity: 0.55; margin-left: 0.15rem; }

/* ── Search bar ── */
.si-search-bar[b-cbtdsvnuf8] {
    background: #fff;
    border: 1px solid #e2e7f3;
    border-radius: 6px;
    padding: 0.24rem 0.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.28rem;
    box-shadow: 0 1px 3px rgba(30,45,90,.04);
    font-size: 0.67rem;
}
.si-stock-context[b-cbtdsvnuf8] {
    margin-left: auto;
    color: #4b587a;
    font-size: 0.58rem;
    background: #edf3ff;
    border: 1px solid #d6e2ff;
    border-radius: 999px;
    padding: 0.1rem 0.36rem;
    white-space: nowrap;
}
.si-barcode-grp[b-cbtdsvnuf8] { max-width: 300px; }

/* ── Table wrapper ── */
.si-table-wrap[b-cbtdsvnuf8] {
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e2e7f3;
    position: relative;
    z-index: 25;
    overflow: visible;
    box-shadow: 0 1px 2px rgba(30,45,90,.05);
}

.si-table-scroll[b-cbtdsvnuf8] {
    overflow-x: auto;
    overflow-y: visible;
}

/* ── Table ── */
.si-table[b-cbtdsvnuf8] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.67rem;
    line-height: 1.08;
}
.si-table thead tr[b-cbtdsvnuf8] { background: #2b3d73; }
.si-table thead th[b-cbtdsvnuf8] {
    padding: 0.22rem 0.3rem;
    font-size: 0.53rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,.9);
    white-space: nowrap;
    text-align: center;
    border: none;
}
.si-table thead th.si-col-item[b-cbtdsvnuf8] { text-align: left; }
.si-table tbody tr[b-cbtdsvnuf8] { border-bottom: 1px solid #f0f3fa; transition: background .1s; }
.si-table tbody tr:hover[b-cbtdsvnuf8] { background: #f5f8ff; }
.si-table tbody tr:nth-child(even)[b-cbtdsvnuf8] { background: #fafcff; }
.si-table tfoot[b-cbtdsvnuf8] { border-top: 2px solid #e2e7f3; background: #fafbfe; }
.si-table td[b-cbtdsvnuf8] {
    padding: 0.12rem 0.28rem;
    vertical-align: middle;
    border-right: 1px solid #eef2fb;
    overflow: visible;
}
.si-table td:last-child[b-cbtdsvnuf8] { border-right: none; }

/* column widths */
.si-col-item[b-cbtdsvnuf8]  { width: 24%; text-align: left; }
.si-col-batch[b-cbtdsvnuf8] { width: 11%; }
.si-col-avail[b-cbtdsvnuf8] { width: 8%; text-align: center; }
.si-col-qty[b-cbtdsvnuf8]   { width: 8%; }
.si-col-price[b-cbtdsvnuf8] { width: 10%; }
.si-col-disc[b-cbtdsvnuf8]  { width: 13%; }
.si-col-tax[b-cbtdsvnuf8]   { width: 11%; }
.si-col-amt[b-cbtdsvnuf8]   { width: 10%; text-align: right; font-weight: 600; white-space: nowrap; }
.si-col-del[b-cbtdsvnuf8]   { width: 4%; text-align: center; }

/* Compact inputs inside table */
.si-table .form-control[b-cbtdsvnuf8],
.si-table .form-select[b-cbtdsvnuf8] {
    font-size: 0.65rem;
    padding: 0.08rem 0.2rem;
    height: 1.22rem;
    line-height: 1.15;
}
.si-table .form-control-sm[b-cbtdsvnuf8],
.si-table .form-select-sm[b-cbtdsvnuf8] {
    font-size: 0.65rem;
    padding: 0.08rem 0.2rem;
    height: 1.22rem;
}
.si-table .input-group-text[b-cbtdsvnuf8] {
    font-size: 0.61rem;
    padding: 0.06rem 0.2rem;
}

.si-unit[b-cbtdsvnuf8] {
    display: block;
    font-size: 0.55rem;
    color: #aab2cc;
    text-align: center;
    margin-top: 0.05rem;
    line-height: 1;
}
.si-disc-pct[b-cbtdsvnuf8] { margin-bottom: 0; }
.si-row-over[b-cbtdsvnuf8] { background: #fff8ed !important; }
.si-stock-chip[b-cbtdsvnuf8] {
    display: inline-block;
    font-size: 0.55rem;
    font-weight: 700;
    line-height: 1.4;
    border-radius: 8px;
    padding: 0.02rem 0.26rem;
}
.si-stock-chip--ok[b-cbtdsvnuf8] { background: #e7f7eb; color: #1f7a36; }
.si-stock-chip--low[b-cbtdsvnuf8] { background: #feeaea; color: #b62020; }
.si-stock-ratio[b-cbtdsvnuf8] {
    display: block;
    font-size: 0.5rem;
    color: #7c8bad;
    line-height: 1.1;
    margin-top: 0.1rem;
}
.si-stock-dash[b-cbtdsvnuf8] {
    color: #aab2cc;
    font-size: 0.62rem;
}
.si-qty-over[b-cbtdsvnuf8] {
    border-color: #f59e0b !important;
    background: #fffaf0 !important;
}

/* IMEI */
.si-imei-row[b-cbtdsvnuf8] { display: flex; align-items: center; gap: 0.2rem; margin-top: 0.15rem; }
.si-imei-btn[b-cbtdsvnuf8] {
    display: inline-flex; align-items: center; gap: 0.15rem;
    padding: 0.04rem 0.24rem; font-size: 0.57rem;
    border: 1px solid #4c74d9; border-radius: 4px;
    color: #4c74d9; background: none; cursor: pointer;
    transition: background .12s;
}
.si-imei-btn:hover[b-cbtdsvnuf8] { background: #eef2fd; }
.si-imei-list[b-cbtdsvnuf8] {
    font-size: 0.54rem; color: #aab2cc;
    margin-top: 0.08rem; display: flex; gap: 0.2rem; flex-wrap: wrap;
}

/* Delete button */
.si-del-btn[b-cbtdsvnuf8] {
    display: inline-flex; align-items: center; justify-content: center;
    width: 1.18rem; height: 1.18rem;
    border: none; background: none; color: #d32f2f;
    border-radius: 4px; cursor: pointer; font-size: 0.58rem;
    transition: background .12s;
}
.si-del-btn:hover[b-cbtdsvnuf8] { background: #fdecea; }

/* Tfoot */
.si-tfoot-cell[b-cbtdsvnuf8] { padding: 0.4rem 0.65rem; }
.si-add-row-btn[b-cbtdsvnuf8] {
    display: inline-flex; align-items: center; gap: 0.2rem;
    padding: 0.16rem 0.48rem;
    border: 1px dashed #4c74d9; border-radius: 5px;
    background: none; color: #4c74d9; font-size: 0.62rem;
    cursor: pointer; transition: background .12s;
}
.si-add-row-btn:hover[b-cbtdsvnuf8] { background: #eef2fd; }

/* ── Footer row ── */
.si-footer-row[b-cbtdsvnuf8] {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 0.35rem;
    align-items: start;
    position: relative;
    z-index: 1;
}
@media (max-width: 768px) { .si-footer-row[b-cbtdsvnuf8] { grid-template-columns: 1fr; } }


/* Notes card */
.si-notes-card .form-control[b-cbtdsvnuf8] {
    font-size: 0.66rem;
    padding: 0.16rem 0.3rem;
}

/* ── Totals card ── */
.si-totals-card[b-cbtdsvnuf8] { padding: 0; overflow: hidden; }

.si-total-row[b-cbtdsvnuf8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-bottom: 1px solid #f0f3fa;
    gap: 0.4rem;
    font-size: 0.66rem;
}
.si-total-row:last-child[b-cbtdsvnuf8] { border-bottom: none; }
.si-total-row--input[b-cbtdsvnuf8] { flex-wrap: wrap; gap: 0.3rem; }
.si-disc-total[b-cbtdsvnuf8] { max-width: 195px; flex-shrink: 0; }

.si-delivery-fields[b-cbtdsvnuf8] {
    padding: 0.2rem 0.55rem;
    font-size: 0.64rem;
}

.si-grand-total[b-cbtdsvnuf8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0.55rem;
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
}

.si-paid-grid[b-cbtdsvnuf8] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.24rem;
    padding: 0.22rem 0.55rem;
    font-size: 0.64rem;
}
.si-paid-full[b-cbtdsvnuf8] { grid-column: 1 / -1; }
.si-paid-grid .si-field label[b-cbtdsvnuf8] { font-size: 0.55rem; margin-bottom: 0.08rem; }
.si-paid-grid .form-control[b-cbtdsvnuf8],
.si-paid-grid .form-select[b-cbtdsvnuf8] { font-size: 0.64rem; padding: 0.08rem 0.2rem; height: 1.26rem; }

.si-balance-row[b-cbtdsvnuf8] { font-weight: 700; font-size: 0.68rem; padding: 0.26rem 0.55rem; }
.si-balance-val[b-cbtdsvnuf8] { color: #c62828; }

.si-btn[b-cbtdsvnuf8] {
    display: inline-flex; align-items: center; gap: 0.3rem;
    padding: 0.24rem 0.74rem; border-radius: 6px;
    font-size: 0.66rem; font-weight: 600;
    cursor: pointer; border: none;
    transition: opacity .15s, box-shadow .15s;
}

/* Dense desktop: SQL-engine-like rows and compact controls */
@media (min-width: 769px) {
    .si-table tbody tr[b-cbtdsvnuf8] { height: 1.55rem; }
    .si-col-item[b-cbtdsvnuf8], .si-col-batch[b-cbtdsvnuf8], .si-col-avail[b-cbtdsvnuf8], .si-col-qty[b-cbtdsvnuf8],
    .si-col-price[b-cbtdsvnuf8], .si-col-disc[b-cbtdsvnuf8], .si-col-tax[b-cbtdsvnuf8], .si-col-amt[b-cbtdsvnuf8], .si-col-del[b-cbtdsvnuf8] {
        white-space: nowrap;
    }
    .si-wrap .form-control[b-cbtdsvnuf8],
    .si-wrap .form-select[b-cbtdsvnuf8],
    .si-wrap .input-group-text[b-cbtdsvnuf8] {
        border-radius: 4px;
    }
}

/* Ultra Dense preset: large desktops (auto) */
@media (min-width: 1600px) {
    .si-wrap[b-cbtdsvnuf8] { font-size: 0.64rem; }

    .si-topbar[b-cbtdsvnuf8] {
        padding: 0.22rem 0.5rem;
    }
    .si-topbar-title[b-cbtdsvnuf8] { font-size: 0.69rem; }
    .si-topbar-sub[b-cbtdsvnuf8] { font-size: 0.53rem; }
    .si-back-btn[b-cbtdsvnuf8] { font-size: 0.58rem; padding: 0.14rem 0.46rem; }
    .si-btn--top[b-cbtdsvnuf8] { font-size: 0.58rem; padding: 0.16rem 0.46rem; }

    .si-body[b-cbtdsvnuf8] {
        padding: 0.28rem 0.46rem 3.7rem;
        gap: 0.24rem;
        max-width: 1420px;
    }
    .si-card[b-cbtdsvnuf8] {
        padding: 0.34rem 0.44rem;
        border-radius: 5px;
    }
    .si-card-label[b-cbtdsvnuf8] {
        font-size: 0.51rem;
        margin-bottom: 0.14rem;
    }
    .si-details-grid[b-cbtdsvnuf8] { gap: 0.2rem 0.35rem; }
    .si-field label[b-cbtdsvnuf8] { font-size: 0.51rem; margin-bottom: 0.06rem; }
    .si-search-bar[b-cbtdsvnuf8] {
        padding: 0.2rem 0.42rem;
        gap: 0.2rem;
        border-radius: 5px;
        font-size: 0.61rem;
    }
    .si-stock-context[b-cbtdsvnuf8] { font-size: 0.53rem; padding: 0.08rem 0.28rem; }

    .si-table[b-cbtdsvnuf8] { font-size: 0.6rem; }
    .si-table thead th[b-cbtdsvnuf8] {
        font-size: 0.47rem;
        padding: 0.18rem 0.24rem;
    }
    .si-table tbody tr[b-cbtdsvnuf8] { height: 1.38rem; }
    .si-table td[b-cbtdsvnuf8] { padding: 0.08rem 0.2rem; }

    .si-table .form-control[b-cbtdsvnuf8],
    .si-table .form-select[b-cbtdsvnuf8],
    .si-table .form-control-sm[b-cbtdsvnuf8],
    .si-table .form-select-sm[b-cbtdsvnuf8] {
        font-size: 0.58rem;
        height: 1.08rem;
        padding: 0.05rem 0.14rem;
    }
    .si-table .input-group-text[b-cbtdsvnuf8] {
        font-size: 0.54rem;
        padding: 0.05rem 0.14rem;
    }

    .si-inv-no[b-cbtdsvnuf8] { font-size: 0.66rem; }
    .si-unit[b-cbtdsvnuf8], .si-stock-chip[b-cbtdsvnuf8], .si-imei-list[b-cbtdsvnuf8] { font-size: 0.5rem; }
    .si-stock-ratio[b-cbtdsvnuf8] { font-size: 0.46rem; }
    .si-imei-btn[b-cbtdsvnuf8] { font-size: 0.52rem; padding: 0.03rem 0.2rem; }
    .si-del-btn[b-cbtdsvnuf8] { width: 1.06rem; height: 1.06rem; font-size: 0.52rem; }

    .si-total-row[b-cbtdsvnuf8] { font-size: 0.6rem; padding: 0.16rem 0.44rem; }
    .si-grand-total[b-cbtdsvnuf8] { font-size: 0.7rem; padding: 0.24rem 0.44rem; }
    .si-paid-grid[b-cbtdsvnuf8] { font-size: 0.58rem; padding: 0.16rem 0.44rem; gap: 0.18rem; }
    .si-balance-row[b-cbtdsvnuf8] { font-size: 0.62rem; padding: 0.2rem 0.44rem; }

    .si-btn[b-cbtdsvnuf8] { font-size: 0.6rem; padding: 0.18rem 0.54rem; }
}
.si-btn:disabled[b-cbtdsvnuf8] { opacity: 0.65; cursor: not-allowed; }

/* ── Save busy state ── */
.si-wrap--busy .si-body[b-cbtdsvnuf8] {
    pointer-events: none;
    user-select: none;
    filter: saturate(0.92);
    transition: filter 0.25s ease;
}

.si-btn--loading[b-cbtdsvnuf8] {
    pointer-events: none;
    opacity: 0.92;
}

.si-btn-spinner[b-cbtdsvnuf8] {
    width: 0.85rem;
    height: 0.85rem;
    border: 2px solid rgba(46, 68, 148, 0.25);
    border-top-color: #2e4494;
    border-radius: 50%;
    animation: siBtnSpin-b-cbtdsvnuf8 0.65s linear infinite;
    flex-shrink: 0;
}
.si-btn-spinner--light[b-cbtdsvnuf8] {
    border-color: rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
}

@keyframes siBtnSpin-b-cbtdsvnuf8 {
    to { transform: rotate(360deg); }
}

.si-save-busy[b-cbtdsvnuf8] {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    animation: siBusyFadeIn-b-cbtdsvnuf8 0.22s ease-out;
}

.si-save-busy__panel[b-cbtdsvnuf8] {
    background: #fff;
    border-radius: 12px;
    padding: 1.35rem 1.6rem 1.2rem;
    min-width: 240px;
    max-width: 320px;
    text-align: center;
    box-shadow: 0 16px 48px rgba(30, 45, 90, 0.22), 0 0 0 1px rgba(46, 68, 148, 0.08);
    animation: siBusySlideUp-b-cbtdsvnuf8 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.si-save-busy__spinner[b-cbtdsvnuf8] {
    width: 46px;
    height: 46px;
    margin: 0 auto 0.85rem;
    border: 3px solid #e8ecf4;
    border-top-color: #2e4494;
    border-right-color: #5b7fd4;
    border-radius: 50%;
    animation: siBtnSpin-b-cbtdsvnuf8 0.7s linear infinite;
}

.si-save-busy__title[b-cbtdsvnuf8] {
    margin: 0 0 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1a1f36;
    letter-spacing: 0.01em;
}

.si-save-busy__msg[b-cbtdsvnuf8] {
    margin: 0;
    font-size: 0.68rem;
    color: #5c6b8a;
    line-height: 1.4;
    min-height: 1.1em;
    animation: siBusyMsgIn-b-cbtdsvnuf8 0.28s ease-out;
}

.si-save-busy__track[b-cbtdsvnuf8] {
    height: 3px;
    margin-top: 0.9rem;
    background: #e8ecf4;
    border-radius: 999px;
    overflow: hidden;
}

.si-save-busy__track-fill[b-cbtdsvnuf8] {
    display: block;
    height: 100%;
    width: 40%;
    border-radius: 999px;
    background: linear-gradient(90deg, #2e4494, #6b8fd4, #2e4494);
    background-size: 200% 100%;
    animation: siBusyTrack-b-cbtdsvnuf8 1.15s ease-in-out infinite;
}

@keyframes siBusyFadeIn-b-cbtdsvnuf8 {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes siBusySlideUp-b-cbtdsvnuf8 {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes siBusyMsgIn-b-cbtdsvnuf8 {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes siBusyTrack-b-cbtdsvnuf8 {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(320%); }
}
.si-btn--new[b-cbtdsvnuf8] {
    background: #fff; border: 1.5px solid #276739; color: #276739;
}
.si-btn--new:hover:not(:disabled)[b-cbtdsvnuf8] { background: #eaf4ec; }
.si-btn--save[b-cbtdsvnuf8] {
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    color: #fff;
    box-shadow: 0 2px 5px rgba(30,45,90,.22);
}
.si-btn--save:hover:not(:disabled)[b-cbtdsvnuf8] { opacity: 0.88; }

/* ── Carrier bag modal ── */
.carrier-bag-row[b-cbtdsvnuf8] { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.carrier-bag-select[b-cbtdsvnuf8] { flex: 1 1 12rem; min-width: 0; width: 100%; }
.carrier-bag-qty[b-cbtdsvnuf8] {
    display: flex; flex-direction: row; align-items: stretch;
    flex: 0 0 auto; width: 9rem; min-width: 9rem; max-width: 9rem; gap: 0;
}
.carrier-bag-qty-btn[b-cbtdsvnuf8] { flex: 0 0 2.25rem; min-width: 2.25rem; padding-left: .15rem; padding-right: .15rem; }
.carrier-bag-qty-input[b-cbtdsvnuf8] {
    flex: 1 1 auto; min-width: 2.5rem !important; max-width: none !important;
    width: auto !important; -webkit-appearance: textfield; appearance: textfield;
}
.carrier-bag-qty-input[b-cbtdsvnuf8]::-webkit-outer-spin-button,
.carrier-bag-qty-input[b-cbtdsvnuf8]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.carrier-bag-remove[b-cbtdsvnuf8] { margin-left: auto; }

@media (max-width: 399px) {
    .carrier-bag-select[b-cbtdsvnuf8] { flex: 1 1 100%; }
    .carrier-bag-qty[b-cbtdsvnuf8] { width: 100%; min-width: 100%; max-width: 100%; }
}

@media (max-width: 900px) {
    .si-topbar[b-cbtdsvnuf8] { flex-wrap: wrap; gap: 0.35rem; }
    .si-top-actions[b-cbtdsvnuf8] { width: 100%; justify-content: flex-end; }
    .si-stock-context[b-cbtdsvnuf8] { margin-left: 0; }
}
@media (max-width: 600px) {
    .si-body[b-cbtdsvnuf8] { padding: 0.34rem 0.34rem 0.7rem; }
    .si-btn[b-cbtdsvnuf8] { padding: 0.32rem 0.75rem; font-size: 0.74rem; }
    .si-paid-grid[b-cbtdsvnuf8] { grid-template-columns: 1fr; }
    .si-paid-full[b-cbtdsvnuf8] { grid-column: 1; }
    .si-disc-total[b-cbtdsvnuf8] { max-width: 100%; }
}
/* /Components/Pages/SalesPage/SalesInvoicePage/SalesInvoiceList.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════
   Sales Invoice List — Modern Compact Design
   ═══════════════════════════════════════════════════════ */

.sil-wrap[b-26zcn8ba54] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f0f2f8;
    font-size: 0.8rem;
    color: #1a1f36;
}

/* ── Top bar ── */
.sil-topbar[b-26zcn8ba54] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    color: #fff;
    padding: 0.45rem 1rem;
    gap: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
    position: sticky;
    top: 0;
    z-index: 100;
}
.sil-topbar-left[b-26zcn8ba54] { display: flex; align-items: center; gap: 0.55rem; }
.sil-topbar-icon[b-26zcn8ba54] { font-size: 1.1rem; opacity: 0.85; }
.sil-topbar-title[b-26zcn8ba54] { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.01em; }

.sil-count-pill[b-26zcn8ba54] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    background: rgba(255,255,255,.2);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
}

.sil-create-btn[b-26zcn8ba54] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.28rem 0.85rem;
    background: #f59e0b;
    color: #fff;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s;
    white-space: nowrap;
}
.sil-create-btn:hover[b-26zcn8ba54] { background: #d97706; color: #fff; }

/* ── Body ── */
.sil-body[b-26zcn8ba54] {
    flex: 1;
    padding: 0.65rem 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
}

/* ── Stats strip ── */
.sil-stats[b-26zcn8ba54] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}
@media (max-width: 768px) { .sil-stats[b-26zcn8ba54] { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sil-stats[b-26zcn8ba54] { grid-template-columns: 1fr; } }

.sil-stat[b-26zcn8ba54] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #fff;
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    border: 1px solid #e2e7f3;
    box-shadow: 0 1px 3px rgba(30,45,90,.06);
    position: relative;
    overflow: hidden;
}
.sil-stat[b-26zcn8ba54]::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    border-radius: 3px 0 0 3px;
}
.sil-stat--total[b-26zcn8ba54]::before  { background: #4c74d9; }
.sil-stat--paid[b-26zcn8ba54]::before   { background: #16a34a; }
.sil-stat--unpaid[b-26zcn8ba54]::before { background: #dc2626; }
.sil-stat--count[b-26zcn8ba54]::before  { background: #7c3aed; }

.sil-stat-icon[b-26zcn8ba54] {
    font-size: 1.05rem;
    opacity: 0.75;
    flex-shrink: 0;
}
.sil-stat--total .sil-stat-icon[b-26zcn8ba54]  { color: #4c74d9; }
.sil-stat--paid .sil-stat-icon[b-26zcn8ba54]   { color: #16a34a; }
.sil-stat--unpaid .sil-stat-icon[b-26zcn8ba54] { color: #dc2626; }
.sil-stat--count .sil-stat-icon[b-26zcn8ba54]  { color: #7c3aed; }

.sil-stat > div[b-26zcn8ba54] { display: flex; flex-direction: column; gap: 0.05rem; min-width: 0; }
.sil-stat-label[b-26zcn8ba54] { font-size: 0.63rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #8492b4; }
.sil-stat-val[b-26zcn8ba54]   { font-size: 0.92rem; font-weight: 700; color: #1a1f36; white-space: nowrap; }

/* ── Filter bar ── */
.sil-filter-bar[b-26zcn8ba54] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid #e2e7f3;
    border-radius: 8px;
    padding: 0.4rem 0.7rem;
    box-shadow: 0 1px 3px rgba(30,45,90,.04);
    flex-wrap: wrap;
}

.sil-filter-field[b-26zcn8ba54] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid #d8dff0;
    border-radius: 5px;
    padding: 0 0.4rem;
    background: #f7f9fd;
    min-height: 1.7rem;
    flex: 1;
    min-width: 140px;
}
.sil-filter-field--focused[b-26zcn8ba54] { border-color: #4c74d9; box-shadow: 0 0 0 2px rgba(76,116,217,.12); }
.sil-filter-icon[b-26zcn8ba54] { font-size: 0.7rem; color: #8492b4; flex-shrink: 0; }

.sil-filter-input[b-26zcn8ba54] {
    border: none;
    background: transparent;
    font-size: 0.75rem;
    color: #1a1f36;
    width: 100%;
    outline: none;
    padding: 0.1rem 0;
}
.sil-filter-input[b-26zcn8ba54]::placeholder { color: #b0b8d0; }

.sil-filter-search[b-26zcn8ba54] { flex: 2; min-width: 180px; }
.sil-filter-date[b-26zcn8ba54]   { flex: 1.5; min-width: 160px; }
.sil-filter-customer[b-26zcn8ba54] { flex: 2; min-width: 180px; border: none; background: none; padding: 0; }

.sil-search-btn[b-26zcn8ba54] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.32rem 0.9rem;
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity .15s;
    flex-shrink: 0;
}
.sil-search-btn:hover[b-26zcn8ba54] { opacity: 0.88; }

/* ── Table card ── */
.sil-table-card[b-26zcn8ba54] {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e7f3;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(30,45,90,.06);
}

.sil-loading[b-26zcn8ba54], .sil-empty[b-26zcn8ba54] {
    padding: 2rem;
    text-align: center;
    color: #8492b4;
    font-size: 0.82rem;
}

/* ── Responsive: table vs cards ── */
.sil-table-wrap[b-26zcn8ba54] { overflow-x: auto; }
.sil-cards[b-26zcn8ba54] { display: none; }

@media (max-width: 640px) {
    .sil-table-wrap[b-26zcn8ba54] { display: none; }
    .sil-cards[b-26zcn8ba54] { display: flex; flex-direction: column; }
}

/* ── Mobile Cards ── */
.sil-card[b-26zcn8ba54] {
    border-bottom: 1px solid #f0f3fa;
    padding: 0.7rem 0.85rem;
    transition: background .1s;
}
.sil-card:last-child[b-26zcn8ba54] { border-bottom: none; }
.sil-card--overdue[b-26zcn8ba54] { background: #fff8f8; }

.sil-card-header[b-26zcn8ba54] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}
.sil-card-body[b-26zcn8ba54] { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.5rem; }
.sil-card-row[b-26zcn8ba54] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    gap: 0.5rem;
}
.sil-card-lbl[b-26zcn8ba54] {
    color: #8492b4;
    font-size: 0.67rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}
.sil-card-val[b-26zcn8ba54] { font-weight: 500; color: #1a1f36; text-align: right; }

.sil-card-actions[b-26zcn8ba54] {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    padding-top: 0.45rem;
    border-top: 1px solid #f0f3fa;
}
.sil-action-btn--labeled[b-26zcn8ba54] { width: auto; height: auto; padding: 0.22rem 0.6rem; gap: 0.2rem; font-size: 0.72rem; }

/* ── Table ── */
.sil-table-wrap[b-26zcn8ba54] { overflow-x: auto; }

.sil-table[b-26zcn8ba54] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.69rem;
    line-height: 1.12;
}

.sil-table thead tr[b-26zcn8ba54] {
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
}
.sil-table thead th[b-26zcn8ba54] {
    padding: 0.26rem 0.45rem;
    font-size: 0.56rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,.85);
    white-space: nowrap;
    border: none;
    text-align: left;
}
.sil-table tbody tr[b-26zcn8ba54] {
    border-bottom: 1px solid #f0f3fa;
    transition: background .1s;
}
.sil-table tbody tr:hover[b-26zcn8ba54] { background: #f7f9fd; }
.sil-table tbody tr:last-child[b-26zcn8ba54] { border-bottom: none; }
.sil-row--overdue[b-26zcn8ba54] { background: #fff8f8 !important; }
.sil-row--overdue:hover[b-26zcn8ba54] { background: #fff0f0 !important; }

.sil-table td[b-26zcn8ba54] {
    padding: 0.2rem 0.45rem;
    vertical-align: middle;
    border: none;
}

/* Column widths */
.sil-th-inv[b-26zcn8ba54]      { width: 11%; }
.sil-th-customer[b-26zcn8ba54] { width: 20%; }
.sil-th-by[b-26zcn8ba54]       { width: 10%; }
.sil-th-from[b-26zcn8ba54]     { width: 10%; }
.sil-th-due[b-26zcn8ba54]      { width: 9%; }
.sil-th-amt[b-26zcn8ba54]      { width: 14%; text-align: right; }
.sil-th-status[b-26zcn8ba54]   { width: 8%; text-align: center; }
.sil-th-actions[b-26zcn8ba54]  { width: 13%; text-align: center; }

/* Invoice # + date */
.sil-td-inv[b-26zcn8ba54] { }
.sil-inv-no[b-26zcn8ba54]   { display: inline; font-weight: 700; color: #1e2d5a; font-size: 0.74rem; }
.sil-inv-date[b-26zcn8ba54] { display: inline; font-size: 0.62rem; color: #8492b4; margin-left: 0.24rem; }

/* Customer */
.sil-td-customer[b-26zcn8ba54] { }
.sil-customer-name[b-26zcn8ba54] { display: block; font-weight: 600; color: #1a1f36; }
.sil-customer-meta[b-26zcn8ba54] { display: none; font-size: 0.62rem; color: #8492b4; }

/* By / From */
.sil-by-badge[b-26zcn8ba54], .sil-from-badge[b-26zcn8ba54] {
    display: inline-flex;
    align-items: center;
    padding: 0.08rem 0.28rem;
    border-radius: 4px;
    font-size: 0.61rem;
    font-weight: 500;
    white-space: nowrap;
}
.sil-by-badge[b-26zcn8ba54]   { background: #ede9fe; color: #5b21b6; }
.sil-from-badge[b-26zcn8ba54] { background: #e0f2fe; color: #0369a1; }

/* Due */
.sil-due-ok[b-26zcn8ba54]      { font-size: 0.62rem; color: #16a34a; font-weight: 500; }
.sil-due-days[b-26zcn8ba54]    { font-size: 0.63rem; color: #1a1f36; }
.sil-due-overdue[b-26zcn8ba54] { font-size: 0.62rem; color: #dc2626; font-weight: 600; }

/* Amount */
.sil-td-amt[b-26zcn8ba54] { text-align: right; }
.sil-amt-total[b-26zcn8ba54]   { display: block; font-weight: 700; color: #1a1f36; font-size: 0.72rem; }
.sil-amt-balance[b-26zcn8ba54] { display: none; font-size: 0.6rem; color: #dc2626; margin-top: 0.03rem; }

/* Status badges */
.sil-td-status[b-26zcn8ba54] { text-align: center; }
.sil-badge[b-26zcn8ba54] {
    display: inline-block;
    padding: 0.1rem 0.36rem;
    border-radius: 20px;
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.sil-badge--paid[b-26zcn8ba54]    { background: #dcfce7; color: #15803d; }
.sil-badge--partial[b-26zcn8ba54] { background: #fef9c3; color: #a16207; }
.sil-badge--unpaid[b-26zcn8ba54]  { background: #fee2e2; color: #dc2626; }

/* Actions */
.sil-td-actions[b-26zcn8ba54] { text-align: center; }
.sil-actions[b-26zcn8ba54] { display: inline-flex; align-items: center; gap: 0.2rem; }

.sil-action-btn[b-26zcn8ba54] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.22rem;
    height: 1.22rem;
    border-radius: 5px;
    border: 1px solid transparent;
    font-size: 0.58rem;
    cursor: pointer;
    transition: background .12s, border-color .12s;
    text-decoration: none;
    background: none;
    padding: 0;
}

/* SQL-grid-like dense rows on desktop */
@media (min-width: 641px) {
    .sil-table tbody tr[b-26zcn8ba54] { height: 1.7rem; }
    .sil-td-inv[b-26zcn8ba54],
    .sil-td-customer[b-26zcn8ba54],
    .sil-td-by[b-26zcn8ba54],
    .sil-td-from[b-26zcn8ba54],
    .sil-td-due[b-26zcn8ba54],
    .sil-td-amt[b-26zcn8ba54],
    .sil-td-status[b-26zcn8ba54],
    .sil-td-actions[b-26zcn8ba54] {
        white-space: nowrap;
    }
}
.sil-action-btn--view[b-26zcn8ba54] { color: #0369a1; border-color: #bae6fd; background: #f0f9ff; }
.sil-action-btn--view:hover[b-26zcn8ba54] { background: #bae6fd; }
.sil-action-btn--edit[b-26zcn8ba54] { color: #1d4ed8; border-color: #bfdbfe; background: #eff6ff; }
.sil-action-btn--edit:hover[b-26zcn8ba54] { background: #bfdbfe; }
.sil-action-btn--pay[b-26zcn8ba54]  { color: #15803d; border-color: #bbf7d0; background: #f0fdf4; }
.sil-action-btn--pay:hover[b-26zcn8ba54]  { background: #bbf7d0; }
.sil-action-btn--del[b-26zcn8ba54]  { color: #dc2626; border-color: #fecaca; background: #fef2f2; }
.sil-action-btn--del:hover[b-26zcn8ba54]  { background: #fecaca; }

/* ── Pagination ── */
.sil-pagination[b-26zcn8ba54] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.75rem;
    border-top: 1px solid #f0f3fa;
    background: #fafbfe;
    font-size: 0.72rem;
    color: #8492b4;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.sil-page-btns[b-26zcn8ba54] { display: flex; align-items: center; gap: 0.2rem; }
.sil-page-btn[b-26zcn8ba54] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.65rem;
    height: 1.65rem;
    padding: 0 0.3rem;
    border: 1px solid #e2e7f3;
    border-radius: 5px;
    background: #fff;
    font-size: 0.72rem;
    color: #1a1f36;
    cursor: pointer;
    transition: background .12s, border-color .12s;
}
.sil-page-btn:disabled[b-26zcn8ba54] { opacity: 0.4; cursor: not-allowed; }
.sil-page-btn:not(:disabled):hover[b-26zcn8ba54] { background: #eef2fd; border-color: #4c74d9; color: #4c74d9; }
.sil-page-btn--active[b-26zcn8ba54] { background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%) !important; color: #fff !important; border-color: transparent !important; }
/* /Components/Pages/SalesPage/SalesOrderPage/SalesorderAdd.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════
   Sales Order Add — Modern Compact Design (so-*)
   ═══════════════════════════════════════════════════════ */

.so-wrap[b-9ajuo6cdrk] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f0f2f8;
    font-size: 0.76rem;
    color: #1a1f36;
}

/* ── Top bar ── */
.so-topbar[b-9ajuo6cdrk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    color: #fff;
    padding: 0.35rem 0.75rem;
    gap: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
    position: sticky;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
}
.so-topbar-left[b-9ajuo6cdrk] { display: flex; align-items: center; gap: 0.55rem; }
.so-top-actions[b-9ajuo6cdrk] { display: inline-flex; align-items: center; gap: 0.35rem; margin-left: auto; }
.so-btn--top[b-9ajuo6cdrk] { padding: 0.24rem 0.7rem; font-size: 0.7rem; }
.so-topbar-icon[b-9ajuo6cdrk] { font-size: 1.1rem; opacity: 0.9; }
.so-topbar-title[b-9ajuo6cdrk] { display: block; font-size: 0.87rem; font-weight: 700; letter-spacing: 0.01em; }
.so-topbar-sub[b-9ajuo6cdrk]   { display: block; font-size: 0.65rem; opacity: 0.72; margin-top: 0.02rem; }

.so-back-btn[b-9ajuo6cdrk] {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.7rem;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 5px;
    color: #fff;
    font-size: 0.72rem;
    text-decoration: none;
    transition: background .15s;
    white-space: nowrap;
}
.so-back-btn:hover[b-9ajuo6cdrk] { background: rgba(255,255,255,.15); color: #fff; }

/* ── Body ── */
.so-body[b-9ajuo6cdrk] {
    flex: 1;
    padding: 0.45rem 0.7rem 4.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    max-width: 1220px;
    width: 100%;
    margin: 0 auto;
}

/* ── Cards ── */
.so-card[b-9ajuo6cdrk] {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e7f3;
    padding: 0.6rem 0.75rem;
    box-shadow: 0 1px 3px rgba(30,45,90,.06);
}
.so-card-label[b-9ajuo6cdrk] {
    font-size: 0.63rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #8492b4;
    margin-bottom: 0.35rem;
}

/* ── Meta row ── */
.so-meta-row[b-9ajuo6cdrk] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}
@media (max-width: 768px) { .so-meta-row[b-9ajuo6cdrk] { grid-template-columns: 1fr; } }

/* ── Order details 2×2 grid ── */
.so-details-grid[b-9ajuo6cdrk] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 0.6rem;
}
@media (max-width: 480px) { .so-details-grid[b-9ajuo6cdrk] { grid-template-columns: 1fr; } }

.so-field label[b-9ajuo6cdrk] {
    display: block;
    font-size: 0.63rem;
    font-weight: 600;
    color: #8492b4;
    margin-bottom: 0.12rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── Table wrapper ── */
.so-table-wrap[b-9ajuo6cdrk] {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e7f3;
    box-shadow: 0 1px 3px rgba(30,45,90,.06);
    overflow-x: auto;
    overflow-y: visible;
}

/* ── Table ── */
.so-table[b-9ajuo6cdrk] { width: 100%; border-collapse: collapse; font-size: 0.77rem; }
.so-table thead tr[b-9ajuo6cdrk] { background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%); }
.so-table thead th[b-9ajuo6cdrk] {
    padding: 0.38rem 0.45rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,.88);
    white-space: nowrap;
    text-align: center;
    border: none;
}
.so-table thead th.so-col-item[b-9ajuo6cdrk] { text-align: left; }
.so-table tbody tr[b-9ajuo6cdrk] { border-bottom: 1px solid #f0f3fa; transition: background .1s; }
.so-table tbody tr:hover[b-9ajuo6cdrk] { background: #f7f9fd; }
.so-table tfoot[b-9ajuo6cdrk] { border-top: 2px solid #e2e7f3; background: #fafbfe; }
.so-table td[b-9ajuo6cdrk] { padding: 0.28rem 0.38rem; vertical-align: middle; border: none; }

/* Column widths */
.so-col-item[b-9ajuo6cdrk]  { width: 26%; text-align: left; }
.so-col-batch[b-9ajuo6cdrk] { width: 11%; }
.so-col-qty[b-9ajuo6cdrk]   { width: 8%; }
.so-col-price[b-9ajuo6cdrk] { width: 10%; }
.so-col-disc[b-9ajuo6cdrk]  { width: 14%; }
.so-col-tax[b-9ajuo6cdrk]   { width: 11%; }
.so-col-amt[b-9ajuo6cdrk]   { width: 12%; text-align: right; font-weight: 600; white-space: nowrap; }
.so-col-del[b-9ajuo6cdrk]   { width: 4%; text-align: center; }

/* Compact inputs inside table */
.so-table .form-control[b-9ajuo6cdrk],
.so-table .form-select[b-9ajuo6cdrk] { font-size: 0.75rem; padding: 0.2rem 0.3rem; height: 1.55rem; line-height: 1.15; }
.so-table .form-control-sm[b-9ajuo6cdrk],
.so-table .form-select-sm[b-9ajuo6cdrk] { font-size: 0.75rem; padding: 0.18rem 0.3rem; height: 1.55rem; }
.so-table .input-group-text[b-9ajuo6cdrk] { font-size: 0.72rem; padding: 0.18rem 0.3rem; }

.so-unit[b-9ajuo6cdrk] { display: block; font-size: 0.63rem; color: #aab2cc; text-align: center; margin-top: 0.05rem; line-height: 1; }
.so-disc-pct[b-9ajuo6cdrk] { margin-bottom: 0; }

/* Delete button */
.so-del-btn[b-9ajuo6cdrk] {
    display: inline-flex; align-items: center; justify-content: center;
    width: 1.45rem; height: 1.45rem;
    border: none; background: none; color: #d32f2f;
    border-radius: 4px; cursor: pointer; font-size: 0.72rem;
    transition: background .12s;
}
.so-del-btn:hover[b-9ajuo6cdrk] { background: #fdecea; }

/* Tfoot */
.so-tfoot-cell[b-9ajuo6cdrk] { padding: 0.4rem 0.65rem; }
.so-add-row-btn[b-9ajuo6cdrk] {
    display: inline-flex; align-items: center; gap: 0.2rem;
    padding: 0.22rem 0.7rem;
    border: 1px dashed #4c74d9; border-radius: 5px;
    background: none; color: #4c74d9; font-size: 0.72rem;
    cursor: pointer; transition: background .12s;
}
.so-add-row-btn:hover[b-9ajuo6cdrk] { background: #eef2fd; }

/* ── Footer row ── */
.so-footer-row[b-9ajuo6cdrk] {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 0.5rem;
    align-items: start;
}
@media (max-width: 768px) { .so-footer-row[b-9ajuo6cdrk] { grid-template-columns: 1fr; } }

.so-notes-card .form-control[b-9ajuo6cdrk] { font-size: 0.75rem; padding: 0.25rem 0.4rem; }

/* ── Totals card ── */
.so-totals-card[b-9ajuo6cdrk] { padding: 0; overflow: hidden; }

.so-total-row[b-9ajuo6cdrk] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-bottom: 1px solid #f0f3fa;
    gap: 0.4rem;
    font-size: 0.78rem;
}
.so-total-row:last-child[b-9ajuo6cdrk] { border-bottom: none; }
.so-total-row--input[b-9ajuo6cdrk] { flex-wrap: wrap; gap: 0.3rem; }
.so-disc-total[b-9ajuo6cdrk] { max-width: 195px; flex-shrink: 0; }

.so-grand-total[b-9ajuo6cdrk] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
}

/* ── Action bar ── */
.so-action-bar[b-9ajuo6cdrk] {
    position: sticky;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid #e2e7f3;
    padding: 0.4rem 1rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    z-index: 350;
    box-shadow: 0 -3px 8px rgba(30,45,90,.09);
}

.so-btn[b-9ajuo6cdrk] {
    display: inline-flex; align-items: center; gap: 0.3rem;
    padding: 0.32rem 1.1rem; border-radius: 6px;
    font-size: 0.78rem; font-weight: 600;
    cursor: pointer; border: none;
    transition: opacity .15s, box-shadow .15s;
}
.so-btn:disabled[b-9ajuo6cdrk] { opacity: 0.65; cursor: not-allowed; }
.so-btn--new[b-9ajuo6cdrk] { background: #fff; border: 1.5px solid #276739; color: #276739; }
.so-btn--new:hover:not(:disabled)[b-9ajuo6cdrk] { background: #eaf4ec; }
.so-btn--save[b-9ajuo6cdrk] {
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    color: #fff;
    box-shadow: 0 2px 5px rgba(30,45,90,.22);
}
.so-btn--save:hover:not(:disabled)[b-9ajuo6cdrk] { opacity: 0.88; }

/* ── Mobile breakpoints ── */
@media (max-width: 900px) {
    .so-topbar[b-9ajuo6cdrk] { flex-wrap: wrap; gap: 0.35rem; }
    .so-top-actions[b-9ajuo6cdrk] { width: 100%; justify-content: flex-end; }
}
@media (max-width: 600px) {
    .so-body[b-9ajuo6cdrk] { padding: 0.4rem 0.4rem 4.5rem; }
    .so-action-bar[b-9ajuo6cdrk] { padding: 0.4rem 0.5rem; }
    .so-btn[b-9ajuo6cdrk] { padding: 0.32rem 0.75rem; font-size: 0.74rem; }
}
/* /Components/Pages/SalesPage/SalesOrderPage/SalesorderList.razor.rz.scp.css */
.sol-wrap[b-dxz9tk7hzh] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f0f2f8;
    font-size: 0.8rem;
    color: #1a1f36;
}

.sol-topbar[b-dxz9tk7hzh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 45%, #0ea5e9 100%);
    color: #fff;
    padding: 0.45rem 1rem;
    gap: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
    position: sticky;
    top: 0;
    z-index: 100;
}
.sol-topbar-left[b-dxz9tk7hzh] { display: flex; align-items: center; gap: 0.55rem; }
.sol-topbar-icon[b-dxz9tk7hzh] { font-size: 1.1rem; opacity: 0.85; }
.sol-topbar-title[b-dxz9tk7hzh] { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.01em; }

.sol-count-pill[b-dxz9tk7hzh] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    background: rgba(255,255,255,.2);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
}

.sol-create-btn[b-dxz9tk7hzh] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.28rem 0.85rem;
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: #fff;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s;
    white-space: nowrap;
}
.sol-create-btn:hover[b-dxz9tk7hzh] { background: #d97706; color: #fff; }

.sol-order-banner[b-dxz9tk7hzh] {
    margin: 0.45rem 1rem 0;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 60%, #fffbeb 100%);
    border: 1px solid #fdba74;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(251, 146, 60, .16);
    padding: 0.5rem 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.sol-order-banner-badge[b-dxz9tk7hzh] {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    color: #fff;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(239, 68, 68, .3);
}

.sol-order-banner-text[b-dxz9tk7hzh] {
    font-size: 0.71rem;
    font-weight: 600;
    color: #9a3412;
    line-height: 1.3;
}

.sol-body[b-dxz9tk7hzh] {
    flex: 1;
    padding: 0.65rem 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
}

.sol-stats[b-dxz9tk7hzh] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}
@media (max-width: 768px) { .sol-stats[b-dxz9tk7hzh] { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sol-stats[b-dxz9tk7hzh] { grid-template-columns: 1fr; } }

.sol-stat[b-dxz9tk7hzh] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #fff;
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    border: 1px solid #e2e7f3;
    box-shadow: 0 1px 3px rgba(30,45,90,.06);
    position: relative;
    overflow: hidden;
}
.sol-stat[b-dxz9tk7hzh]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 3px 0 0 3px;
}
.sol-stat--total[b-dxz9tk7hzh]::before { background: #4c74d9; }
.sol-stat--open[b-dxz9tk7hzh]::before { background: #16a34a; }
.sol-stat--closed[b-dxz9tk7hzh]::before { background: #7c3aed; }
.sol-stat--count[b-dxz9tk7hzh]::before { background: #0ea5e9; }
.sol-stat--total[b-dxz9tk7hzh] { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); border-color: #bfdbfe; }
.sol-stat--open[b-dxz9tk7hzh] { background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%); border-color: #a7f3d0; }
.sol-stat--closed[b-dxz9tk7hzh] { background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%); border-color: #ddd6fe; }
.sol-stat--count[b-dxz9tk7hzh] { background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%); border-color: #a5f3fc; }

.sol-stat-icon[b-dxz9tk7hzh] { font-size: 1.05rem; opacity: 0.75; flex-shrink: 0; }
.sol-stat--total .sol-stat-icon[b-dxz9tk7hzh] { color: #4c74d9; }
.sol-stat--open .sol-stat-icon[b-dxz9tk7hzh] { color: #16a34a; }
.sol-stat--closed .sol-stat-icon[b-dxz9tk7hzh] { color: #7c3aed; }
.sol-stat--count .sol-stat-icon[b-dxz9tk7hzh] { color: #0ea5e9; }

.sol-stat > div[b-dxz9tk7hzh] { display: flex; flex-direction: column; gap: 0.05rem; min-width: 0; }
.sol-stat-label[b-dxz9tk7hzh] {
    font-size: 0.63rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8492b4;
}
.sol-stat-val[b-dxz9tk7hzh] { font-size: 0.92rem; font-weight: 700; color: #1a1f36; white-space: nowrap; }

.sol-filter-bar[b-dxz9tk7hzh] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid #e2e7f3;
    border-radius: 8px;
    padding: 0.4rem 0.7rem;
    box-shadow: 0 1px 3px rgba(30,45,90,.04);
    flex-wrap: wrap;
}
.sol-filter-field[b-dxz9tk7hzh] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid #d8dff0;
    border-radius: 5px;
    padding: 0 0.4rem;
    background: #f7f9fd;
    min-height: 1.7rem;
    flex: 1;
    min-width: 140px;
}
.sol-filter-icon[b-dxz9tk7hzh] { font-size: 0.7rem; color: #8492b4; flex-shrink: 0; }
.sol-filter-input[b-dxz9tk7hzh] {
    border: none;
    background: transparent;
    font-size: 0.75rem;
    color: #1a1f36;
    width: 100%;
    outline: none;
    padding: 0.1rem 0;
}
.sol-filter-input[b-dxz9tk7hzh]::placeholder { color: #b0b8d0; }
.sol-filter-search[b-dxz9tk7hzh] { flex: 2; min-width: 180px; }
.sol-filter-date[b-dxz9tk7hzh] { flex: 1.5; min-width: 160px; }
.sol-filter-customer[b-dxz9tk7hzh] { flex: 2; min-width: 180px; border: none; background: none; padding: 0; }

.sol-search-btn[b-dxz9tk7hzh] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.32rem 0.9rem;
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity .15s;
    flex-shrink: 0;
}
.sol-search-btn:hover[b-dxz9tk7hzh] { opacity: 0.88; }

.sol-table-card[b-dxz9tk7hzh] {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e7f3;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(30,45,90,.06);
}
.sol-loading[b-dxz9tk7hzh], .sol-empty[b-dxz9tk7hzh] {
    padding: 2rem;
    text-align: center;
    color: #8492b4;
    font-size: 0.82rem;
}

.sol-table-wrap[b-dxz9tk7hzh] { overflow-x: auto; }
.sol-cards[b-dxz9tk7hzh] { display: none; }
@media (max-width: 640px) {
    .sol-table-wrap[b-dxz9tk7hzh] { display: none; }
    .sol-cards[b-dxz9tk7hzh] { display: flex; flex-direction: column; }
}

.sol-table[b-dxz9tk7hzh] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.69rem;
    line-height: 1.12;
}
.sol-table thead tr[b-dxz9tk7hzh] { background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 55%, #0ea5e9 100%); }
.sol-table thead th[b-dxz9tk7hzh] {
    padding: 0.26rem 0.45rem;
    font-size: 0.56rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,.85);
    white-space: nowrap;
    border: none;
    text-align: left;
}
.sol-table tbody tr[b-dxz9tk7hzh] { border-bottom: 1px solid #f0f3fa; transition: background .1s; }
.sol-table tbody tr:hover[b-dxz9tk7hzh] { background: #f7f9fd; }
.sol-table tbody tr:last-child[b-dxz9tk7hzh] { border-bottom: none; }
.sol-row--expired[b-dxz9tk7hzh] { background: #fff8f8 !important; }
.sol-row--expired:hover[b-dxz9tk7hzh] { background: #fff0f0 !important; }
.sol-table td[b-dxz9tk7hzh] { padding: 0.2rem 0.45rem; vertical-align: middle; border: none; }

.sol-th-order[b-dxz9tk7hzh] { width: 14%; }
.sol-th-customer[b-dxz9tk7hzh] { width: 28%; }
.sol-th-valid[b-dxz9tk7hzh] { width: 14%; }
.sol-th-amt[b-dxz9tk7hzh] { width: 16%; text-align: right; }
.sol-th-status[b-dxz9tk7hzh] { width: 10%; text-align: center; }
.sol-th-pending[b-dxz9tk7hzh] { width: 18%; text-align: left; }
.sol-th-actions[b-dxz9tk7hzh] { width: 10%; text-align: center; }

.sol-order-no[b-dxz9tk7hzh] { display: inline; font-weight: 700; color: #1e2d5a; font-size: 0.74rem; }
.sol-order-date[b-dxz9tk7hzh] { display: inline; font-size: 0.62rem; color: #8492b4; margin-left: 0.24rem; }
.sol-customer-name[b-dxz9tk7hzh] { display: block; font-weight: 600; color: #1a1f36; }

.sol-due-ok[b-dxz9tk7hzh] { font-size: 0.62rem; color: #16a34a; font-weight: 500; }
.sol-due-days[b-dxz9tk7hzh] { font-size: 0.63rem; color: #1a1f36; }
.sol-due-expired[b-dxz9tk7hzh] { font-size: 0.62rem; color: #dc2626; font-weight: 600; }

.sol-td-amt[b-dxz9tk7hzh] { text-align: right; }
.sol-amt-total[b-dxz9tk7hzh] { display: block; font-weight: 700; color: #1a1f36; font-size: 0.72rem; }

.sol-td-status[b-dxz9tk7hzh] { text-align: center; }
.sol-badge[b-dxz9tk7hzh] {
    display: inline-block;
    padding: 0.1rem 0.36rem;
    border-radius: 20px;
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.sol-badge--open[b-dxz9tk7hzh] { background: #bbf7d0; color: #166534; }
.sol-badge--closed[b-dxz9tk7hzh] { background: #c7d2fe; color: #3730a3; }

.sol-td-pending[b-dxz9tk7hzh] { text-align: left; }
.sol-pending-stack[b-dxz9tk7hzh] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.18rem;
}
.sol-pending-chip[b-dxz9tk7hzh] {
    display: inline-flex;
    align-items: center;
    padding: 0.08rem 0.28rem;
    border-radius: 999px;
    font-size: 0.53rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    border: 1px solid transparent;
    text-transform: uppercase;
}
.sol-pending-chip--pending[b-dxz9tk7hzh] { background: #fff7ed; color: #9a3412; border-color: #fdba74; }
.sol-pending-chip--confirm[b-dxz9tk7hzh] { background: #dcfce7; color: #166534; border-color: #86efac; }
.sol-pending-chip--reject[b-dxz9tk7hzh] { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }
.sol-pending-chip--convert[b-dxz9tk7hzh] { background: #dbeafe; color: #1e40af; border-color: #93c5fd; }
.sol-pending-chip--done[b-dxz9tk7hzh] { background: #ede9fe; color: #5b21b6; border-color: #c4b5fd; }

.sol-td-actions[b-dxz9tk7hzh] { text-align: center; }
.sol-actions[b-dxz9tk7hzh] { display: inline-flex; align-items: center; gap: 0.2rem; }
.sol-action-btn[b-dxz9tk7hzh] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.22rem;
    height: 1.22rem;
    border-radius: 5px;
    border: 1px solid transparent;
    font-size: 0.58rem;
    cursor: pointer;
    transition: background .12s, border-color .12s;
    text-decoration: none;
    background: none;
    padding: 0;
}
.sol-action-btn--labeled[b-dxz9tk7hzh] { width: auto; height: auto; padding: 0.22rem 0.6rem; gap: 0.2rem; font-size: 0.72rem; }
.sol-action-btn--view[b-dxz9tk7hzh] { color: #0369a1; border-color: #bae6fd; background: #f0f9ff; }
.sol-action-btn--view:hover[b-dxz9tk7hzh] { background: #bae6fd; color: #0369a1; }
.sol-action-btn--edit[b-dxz9tk7hzh] { color: #1d4ed8; border-color: #bfdbfe; background: #eff6ff; }
.sol-action-btn--edit:hover[b-dxz9tk7hzh] { background: #bfdbfe; color: #1d4ed8; }
.sol-action-btn--convert[b-dxz9tk7hzh] { color: #c2410c; border-color: #fdba74; background: #fff7ed; }
.sol-action-btn--convert:hover[b-dxz9tk7hzh] { background: #fed7aa; color: #9a3412; }
.sol-action-btn--del[b-dxz9tk7hzh] { color: #dc2626; border-color: #fecaca; background: #fef2f2; }
.sol-action-btn--del:hover[b-dxz9tk7hzh] { background: #fecaca; }

.sol-card[b-dxz9tk7hzh] {
    border-bottom: 1px solid #f0f3fa;
    padding: 0.7rem 0.85rem;
    transition: background .1s;
}
.sol-card:last-child[b-dxz9tk7hzh] { border-bottom: none; }
.sol-card--expired[b-dxz9tk7hzh] { background: #fff8f8; }
.sol-card-header[b-dxz9tk7hzh] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}
.sol-card-body[b-dxz9tk7hzh] { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.5rem; }
.sol-card-row[b-dxz9tk7hzh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    gap: 0.5rem;
}
.sol-card-lbl[b-dxz9tk7hzh] {
    color: #8492b4;
    font-size: 0.67rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}
.sol-card-val[b-dxz9tk7hzh] { font-weight: 500; color: #1a1f36; text-align: right; }
.sol-card-actions[b-dxz9tk7hzh] {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    padding-top: 0.45rem;
    border-top: 1px solid #f0f3fa;
}

.sol-pagination[b-dxz9tk7hzh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.75rem;
    border-top: 1px solid #f0f3fa;
    background: #fafbfe;
    font-size: 0.72rem;
    color: #8492b4;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.sol-page-btns[b-dxz9tk7hzh] { display: flex; align-items: center; gap: 0.2rem; }
.sol-page-btn[b-dxz9tk7hzh] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.65rem;
    height: 1.65rem;
    padding: 0 0.3rem;
    border: 1px solid #e2e7f3;
    border-radius: 5px;
    background: #fff;
    font-size: 0.72rem;
    color: #1a1f36;
    cursor: pointer;
    transition: background .12s, border-color .12s;
}
.sol-page-btn:disabled[b-dxz9tk7hzh] { opacity: 0.4; cursor: not-allowed; }
.sol-page-btn:not(:disabled):hover[b-dxz9tk7hzh] { background: #eef2fd; border-color: #4c74d9; color: #4c74d9; }
.sol-page-btn--active[b-dxz9tk7hzh] { background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%) !important; color: #fff !important; border-color: transparent !important; }

@media (min-width: 641px) {
    .sol-table tbody tr[b-dxz9tk7hzh] { height: 1.7rem; }
    .sol-td-order[b-dxz9tk7hzh],
    .sol-td-customer[b-dxz9tk7hzh],
    .sol-td-valid[b-dxz9tk7hzh],
    .sol-td-amt[b-dxz9tk7hzh],
    .sol-td-status[b-dxz9tk7hzh],
    .sol-td-pending[b-dxz9tk7hzh],
    .sol-td-actions[b-dxz9tk7hzh] {
        white-space: nowrap;
    }
}
/* Sales Order List - Compact style (Product Types / Commission Types style) */
.sales-order-compact[b-dxz9tk7hzh] {
    font-size: 0.8rem;
}

.sales-order-compact .container-fluid[b-dxz9tk7hzh] {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.sales-order-compact .page-header[b-dxz9tk7hzh] {
    margin-bottom: 0.5rem;
}

.sales-order-compact .page-title[b-dxz9tk7hzh] {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.08rem;
}

.sales-order-compact .btn-primary[b-dxz9tk7hzh] {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

.sales-order-compact .card[b-dxz9tk7hzh] {
    border-radius: 6px;
}

.sales-order-compact .card-body[b-dxz9tk7hzh] {
    padding: 0.5rem 0.75rem !important;
}

.sales-order-compact .input-group[b-dxz9tk7hzh] {
    font-size: 0.75rem;
}

.sales-order-compact .input-group-text[b-dxz9tk7hzh] {
    padding: 0.2rem 0.4rem;
    font-size: 0.75rem;
}

.sales-order-compact .form-control[b-dxz9tk7hzh],
.sales-order-compact .custom-date[b-dxz9tk7hzh] {
    font-size: 0.75rem;
    color: #1a1f36;
    width: 100%;
    outline: none;
    padding: 0.1rem 0;
}
.sol-filter-input[b-dxz9tk7hzh]::placeholder { color: #b0b8d0; }
.sol-filter-search[b-dxz9tk7hzh]   { flex: 2; min-width: 180px; }
.sol-filter-date[b-dxz9tk7hzh]     { flex: 1.5; min-width: 160px; }
.sol-filter-customer[b-dxz9tk7hzh] { flex: 2; min-width: 180px; border: none; background: none; padding: 0; }

.sol-search-btn[b-dxz9tk7hzh] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.32rem 0.9rem;
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity .15s;
    flex-shrink: 0;
}
.sol-search-btn:hover[b-dxz9tk7hzh] { opacity: 0.88; }

/* ── Table card ── */
.sol-table-card[b-dxz9tk7hzh] {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e7f3;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(30,45,90,.06);
}
.sol-loading[b-dxz9tk7hzh], .sol-empty[b-dxz9tk7hzh] {
    padding: 2rem;
    text-align: center;
    color: #8492b4;
    font-size: 0.82rem;
}

/* ── Responsive: table vs cards ── */
.sol-table-wrap[b-dxz9tk7hzh] { overflow-x: auto; }
.sol-cards[b-dxz9tk7hzh] { display: none; }

@media (max-width: 640px) {
    .sol-table-wrap[b-dxz9tk7hzh] { display: none; }
    .sol-cards[b-dxz9tk7hzh] { display: flex; flex-direction: column; }
    .sol-order-banner[b-dxz9tk7hzh] {
        margin: 0.35rem 0.55rem 0;
        padding: 0.42rem 0.5rem;
        gap: 0.35rem;
        flex-direction: column;
        align-items: flex-start;
    }
    .sol-order-banner-badge[b-dxz9tk7hzh] {
        font-size: 0.6rem;
        padding: 0.2rem 0.5rem;
    }
    .sol-order-banner-text[b-dxz9tk7hzh] {
        font-size: 0.64rem;
    }
}

/* ── Desktop Table ── */
.sol-table[b-dxz9tk7hzh] { width: 100%; border-collapse: collapse; font-size: 0.77rem; }
.sol-table thead tr[b-dxz9tk7hzh] { background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 55%, #0ea5e9 100%); }
.sol-table thead th[b-dxz9tk7hzh] {
    padding: 0.42rem 0.6rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,.85);
    white-space: nowrap;
    border: none;
    text-align: left;
}
.sol-table tbody tr[b-dxz9tk7hzh] { border-bottom: 1px solid #f0f3fa; transition: background .1s; }
.sol-table tbody tr:hover[b-dxz9tk7hzh] { background: #f7f9fd; }
.sol-table tbody tr:last-child[b-dxz9tk7hzh] { border-bottom: none; }
.sol-row--expired[b-dxz9tk7hzh] { background: #fff8f8 !important; }
.sol-row--expired:hover[b-dxz9tk7hzh] { background: #fff0f0 !important; }
.sol-table td[b-dxz9tk7hzh] { padding: 0.38rem 0.6rem; vertical-align: middle; border: none; }

.sol-th-order[b-dxz9tk7hzh]    { width: 14%; }
.sol-th-customer[b-dxz9tk7hzh] { width: 30%; }
.sol-th-valid[b-dxz9tk7hzh]    { width: 13%; }
.sol-th-amt[b-dxz9tk7hzh]      { width: 16%; text-align: right; }
.sol-th-status[b-dxz9tk7hzh]   { width: 10%; text-align: center; }
.sol-th-pending[b-dxz9tk7hzh]  { width: 18%; text-align: left; }
.sol-th-actions[b-dxz9tk7hzh]  { width: 9%; text-align: center; }

.sol-order-no[b-dxz9tk7hzh]      { display: block; font-weight: 700; color: #1e2d5a; font-size: 0.78rem; }
.sol-order-date[b-dxz9tk7hzh]    { display: block; font-size: 0.65rem; color: #8492b4; margin-top: 0.05rem; }
.sol-customer-name[b-dxz9tk7hzh] { display: block; font-weight: 600; color: #1a1f36; }

.sol-due-ok[b-dxz9tk7hzh]      { font-size: 0.68rem; color: #16a34a; font-weight: 500; }
.sol-due-days[b-dxz9tk7hzh]    { font-size: 0.7rem; color: #1a1f36; }
.sol-due-expired[b-dxz9tk7hzh] { font-size: 0.68rem; color: #dc2626; font-weight: 600; }

.sol-td-amt[b-dxz9tk7hzh] { text-align: right; }
.sol-amt-total[b-dxz9tk7hzh] { font-weight: 700; color: #1a1f36; }

.sol-td-status[b-dxz9tk7hzh] { text-align: center; }
.sol-badge[b-dxz9tk7hzh] {
    display: inline-block;
    padding: 0.18rem 0.5rem;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.sol-badge--open[b-dxz9tk7hzh]   { background: #bbf7d0; color: #166534; }
.sol-badge--closed[b-dxz9tk7hzh] { background: #c7d2fe; color: #3730a3; }

.sol-td-pending[b-dxz9tk7hzh] { text-align: left; }
.sol-pending-stack[b-dxz9tk7hzh] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.18rem;
}
.sol-pending-chip[b-dxz9tk7hzh] {
    display: inline-flex;
    align-items: center;
    padding: 0.08rem 0.28rem;
    border-radius: 999px;
    font-size: 0.53rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    border: 1px solid transparent;
    text-transform: uppercase;
}
.sol-pending-chip--pending[b-dxz9tk7hzh] { background: #fff7ed; color: #9a3412; border-color: #fdba74; }
.sol-pending-chip--confirm[b-dxz9tk7hzh] { background: #dcfce7; color: #166534; border-color: #86efac; }
.sol-pending-chip--reject[b-dxz9tk7hzh] { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }
.sol-pending-chip--convert[b-dxz9tk7hzh] { background: #dbeafe; color: #1e40af; border-color: #93c5fd; }
.sol-pending-chip--done[b-dxz9tk7hzh] { background: #ede9fe; color: #5b21b6; border-color: #c4b5fd; }

/* Actions */
.sol-td-actions[b-dxz9tk7hzh] { text-align: center; }
.sol-actions[b-dxz9tk7hzh] { display: inline-flex; align-items: center; gap: 0.2rem; }

.sol-action-btn[b-dxz9tk7hzh] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 5px;
    border: 1px solid transparent;
    font-size: 0.7rem;
    cursor: pointer;
    transition: background .12s;
    text-decoration: none;
    background: none;
    padding: 0;
}
.sol-action-btn--labeled[b-dxz9tk7hzh] { width: auto; height: auto; padding: 0.22rem 0.6rem; gap: 0.2rem; font-size: 0.72rem; }
.sol-action-btn--view[b-dxz9tk7hzh]    { color: #0369a1; border-color: #bae6fd; background: #f0f9ff; }
.sol-action-btn--view:hover[b-dxz9tk7hzh]    { background: #bae6fd; color: #0369a1; }
.sol-action-btn--edit[b-dxz9tk7hzh]    { color: #1d4ed8; border-color: #bfdbfe; background: #eff6ff; }
.sol-action-btn--edit:hover[b-dxz9tk7hzh]    { background: #bfdbfe; color: #1d4ed8; }
.sol-action-btn--convert[b-dxz9tk7hzh] { color: #c2410c; border-color: #fdba74; background: #fff7ed; }
.sol-action-btn--convert:hover[b-dxz9tk7hzh] { background: #fed7aa; color: #9a3412; }
.sol-action-btn--del[b-dxz9tk7hzh]     { color: #dc2626; border-color: #fecaca; background: #fef2f2; }
.sol-action-btn--del:hover[b-dxz9tk7hzh]     { background: #fecaca; }

/* ── Mobile Cards ── */
.sol-card[b-dxz9tk7hzh] {
    border-bottom: 1px solid #f0f3fa;
    padding: 0.7rem 0.85rem;
    transition: background .1s;
}
.sol-card:last-child[b-dxz9tk7hzh] { border-bottom: none; }
.sol-card--expired[b-dxz9tk7hzh] { background: #fff8f8; }

.sol-card-header[b-dxz9tk7hzh] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}
.sol-card-body[b-dxz9tk7hzh] { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.5rem; }
.sol-card-row[b-dxz9tk7hzh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    gap: 0.5rem;
}
.sol-card-lbl[b-dxz9tk7hzh] {
    color: #8492b4;
    font-size: 0.67rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}
.sol-card-val[b-dxz9tk7hzh] { font-weight: 500; color: #1a1f36; text-align: right; }

.sol-card-actions[b-dxz9tk7hzh] {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    padding-top: 0.45rem;
    border-top: 1px solid #f0f3fa;
}

/* ── Pagination ── */
.sol-pagination[b-dxz9tk7hzh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.75rem;
    border-top: 1px solid #f0f3fa;
    background: #fafbfe;
    font-size: 0.72rem;
    color: #8492b4;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.sol-page-btns[b-dxz9tk7hzh] { display: flex; align-items: center; gap: 0.2rem; }
.sol-page-btn[b-dxz9tk7hzh] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.65rem;
    height: 1.65rem;
    padding: 0 0.3rem;
    border: 1px solid #e2e7f3;
    border-radius: 5px;
    background: #fff;
    font-size: 0.72rem;
    color: #1a1f36;
    cursor: pointer;
    transition: background .12s, border-color .12s;
}
.sol-page-btn:disabled[b-dxz9tk7hzh] { opacity: 0.4; cursor: not-allowed; }
.sol-page-btn:not(:disabled):hover[b-dxz9tk7hzh] { background: #eef2fd; border-color: #4c74d9; color: #4c74d9; }
.sol-page-btn--active[b-dxz9tk7hzh] { background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%) !important; color: #fff !important; border-color: transparent !important; }
/* /Components/Pages/StockManagement/PackagingApplicationPage/PackagingApplicationPage.razor.rz.scp.css */
/* External Labeling — compact enterprise (pla-*) */

.pla-wrap[b-71bedp7hsc] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f0f2f8;
    font-size: 0.74rem;
    color: #1a1f36;
}

.pla-topbar[b-71bedp7hsc] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.28rem 0.65rem;
    background: linear-gradient(135deg, #0f3d3e 0%, #14746f 55%, #0d9488 100%);
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
    position: sticky;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
}

.pla-topbar-left[b-71bedp7hsc] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex: 1;
    min-width: 0;
}

.pla-topbar-icon[b-71bedp7hsc] {
    font-size: 1rem;
    opacity: 0.92;
    flex-shrink: 0;
}

.pla-topbar-title[b-71bedp7hsc] {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.pla-topbar-sub[b-71bedp7hsc] {
    display: block;
    font-size: 0.6rem;
    opacity: 0.78;
    font-family: ui-monospace, monospace;
}

.pla-top-actions[b-71bedp7hsc] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex-shrink: 0;
}

.pla-body[b-71bedp7hsc] {
    flex: 1;
    padding: 0.4rem 0.75rem 1.25rem;
    width: 100%;
    min-width: 0;
}

.pla-content[b-71bedp7hsc] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.4rem;
    align-items: start;
}

.pla-main[b-71bedp7hsc] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

@media (min-width: 1024px) {
    .pla-content[b-71bedp7hsc] {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    }
}

.pla-stats[b-71bedp7hsc] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.3rem;
}

.pla-stat[b-71bedp7hsc] {
    background: #fff;
    border: 1px solid #e2e7f3;
    border-radius: 6px;
    padding: 0.35rem 0.5rem;
    box-shadow: 0 1px 2px rgba(15, 61, 62, 0.04);
}

.pla-stat-k[b-71bedp7hsc] {
    display: block;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8492b4;
    margin-bottom: 0.05rem;
}

.pla-stat-v[b-71bedp7hsc] {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #1a1f36;
    line-height: 1.1;
}

.pla-stat-v--teal[b-71bedp7hsc] { color: #0f766e; }
.pla-stat-v--warn[b-71bedp7hsc] { color: #b45309; }
.pla-stat-v--ok[b-71bedp7hsc] { color: #15803d; }

.pla-toolbar[b-71bedp7hsc] {
    display: flex;
    align-items: flex-end;
    gap: 0.35rem;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid #e2e7f3;
    border-radius: 6px;
    padding: 0.35rem 0.45rem;
    box-shadow: 0 1px 2px rgba(15, 61, 62, 0.04);
}

.pla-field[b-71bedp7hsc] {
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
    min-width: 0;
}

.pla-field--xs[b-71bedp7hsc] { flex: 0 0 4.2rem; }
.pla-field--sm[b-71bedp7hsc] { flex: 0 0 7rem; }
.pla-field--grow[b-71bedp7hsc] { flex: 1 1 12rem; }

.pla-label[b-71bedp7hsc] {
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #8492b4;
}

.pla-input[b-71bedp7hsc] {
    padding: 0.22rem 0.42rem;
    border: 1px solid #d1d9ef;
    border-radius: 5px;
    font-size: 0.72rem;
    color: #1a1f36;
    background: #fff;
    outline: none;
    transition: border-color 0.12s, box-shadow 0.12s;
    min-height: 1.65rem;
    width: 100%;
}

.pla-input:focus[b-71bedp7hsc] {
    border-color: #0d9488;
    box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.12);
}

.pla-input--full[b-71bedp7hsc] { width: 100%; }
.pla-input--dense[b-71bedp7hsc] { font-size: 0.7rem; }
.pla-input--qty[b-71bedp7hsc] {
    width: 100%;
    padding: 0.2rem 0.35rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.pla-notes[b-71bedp7hsc] {
    background: #fff;
    border: 1px solid #e2e7f3;
    border-radius: 6px;
    padding: 0.3rem 0.4rem;
}

.pla-alert[b-71bedp7hsc] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    font-size: 0.68rem;
    font-weight: 500;
}

.pla-alert--info[b-71bedp7hsc] {
    background: #f0fdfa;
    border-color: #99f6e4;
    color: #0f766e;
}

.pla-alert i[b-71bedp7hsc] { font-size: 0.85rem; flex-shrink: 0; }

.pla-link[b-71bedp7hsc] {
    background: none;
    border: none;
    padding: 0;
    color: #0d9488;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    font-size: inherit;
}

.pla-grid-card[b-71bedp7hsc] {
    background: #fff;
    border: 1px solid #e2e7f3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 61, 62, 0.05);
}

.pla-grid-head[b-71bedp7hsc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.32rem 0.55rem;
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 100%);
    border-bottom: 1px solid #ccfbf1;
    font-size: 0.7rem;
    font-weight: 700;
    color: #0f3d3e;
}

.pla-grid-actions[b-71bedp7hsc] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.pla-grid-hint[b-71bedp7hsc] {
    font-size: 0.58rem;
    font-weight: 500;
    color: #64748b;
}

.pla-line-list[b-71bedp7hsc] {
    display: flex;
    flex-direction: column;
}

.pla-line[b-71bedp7hsc] {
    display: grid;
    grid-template-columns: 1.75rem minmax(5.5rem, 0.7fr) minmax(0, 1.4fr) 3.2rem 3.8rem 3.2rem 1.2rem;
    gap: 0.35rem;
    align-items: center;
    padding: 0.28rem 0.5rem;
    border-bottom: 1px solid #f0f3fa;
    transition: background 0.1s;
}

.pla-line:last-child[b-71bedp7hsc] { border-bottom: none; }
.pla-line:hover[b-71bedp7hsc] { background: #f8fffe; }
.pla-line--on[b-71bedp7hsc] { background: #f0fdfa; }
.pla-line--warn[b-71bedp7hsc] { background: #fffbeb; }

.pla-line-icon[b-71bedp7hsc] {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    flex-shrink: 0;
}

.pla-line-icon--sticker[b-71bedp7hsc] { background: #fef3c7; color: #b45309; }
.pla-line-icon--seal[b-71bedp7hsc] { background: #fce7f3; color: #be185d; }
.pla-line-icon--pkg[b-71bedp7hsc] { background: #e0e7ff; color: #4338ca; }
.pla-line-icon--bottle[b-71bedp7hsc] { background: #dbeafe; color: #1d4ed8; }
.pla-line-icon--default[b-71bedp7hsc] { background: #f1f5f9; color: #475569; }

.pla-line-type[b-71bedp7hsc] {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
}

.pla-line-badge[b-71bedp7hsc] {
    font-size: 0.55rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0f766e;
}

.pla-line-name[b-71bedp7hsc] {
    font-size: 0.65rem;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pla-line-product[b-71bedp7hsc] { min-width: 0; }

.pla-line-per[b-71bedp7hsc],
.pla-line-qty[b-71bedp7hsc],
.pla-line-stock[b-71bedp7hsc] {
    display: flex;
    flex-direction: column;
    gap: 0.06rem;
}

.pla-per-val[b-71bedp7hsc] {
    font-size: 0.72rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    padding: 0.2rem 0;
}

.pla-stock-val[b-71bedp7hsc] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #15803d;
    font-variant-numeric: tabular-nums;
}

.pla-stock-val--bad[b-71bedp7hsc] { color: #dc2626; }
.pla-stock-val--zero[b-71bedp7hsc] { color: #b45309; }
.pla-stock-val--na[b-71bedp7hsc] { color: #cbd5e1; font-weight: 500; }

.pla-line-clear[b-71bedp7hsc] {
    width: 1.3rem;
    height: 1.3rem;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    padding: 0;
}

.pla-line-clear:hover[b-71bedp7hsc] {
    background: #fee2e2;
    color: #b91c1c;
}

.pla-grid-foot[b-71bedp7hsc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.32rem 0.55rem;
    background: #fafbfe;
    border-top: 1px solid #e2e7f3;
    font-size: 0.68rem;
    color: #64748b;
}

.pla-empty[b-71bedp7hsc] {
    margin: 0;
    padding: 1rem 0.75rem;
    font-size: 0.68rem;
    color: #8492b4;
    text-align: center;
}

.pla-btn[b-71bedp7hsc] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.22rem 0.55rem;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.12s, background 0.12s;
    min-height: 1.65rem;
}

.pla-btn:disabled[b-71bedp7hsc] { opacity: 0.55; cursor: not-allowed; }

.pla-btn--ghost[b-71bedp7hsc] {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}

.pla-btn--ghost:hover[b-71bedp7hsc] { background: rgba(255, 255, 255, 0.24); color: #fff; }

.pla-btn--post[b-71bedp7hsc] {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    color: #fff;
    box-shadow: 0 1px 3px rgba(15, 118, 110, 0.35);
}

.pla-btn--post:hover:not(:disabled)[b-71bedp7hsc] { opacity: 0.92; }

.pla-btn--primary[b-71bedp7hsc] {
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
    color: #fff;
}

.pla-btn--outline[b-71bedp7hsc] {
    background: #fff;
    border: 1px solid #d1d9ef;
    color: #4a5568;
    padding: 0.22rem 0.4rem;
}

.pla-btn--outline:hover:not(:disabled)[b-71bedp7hsc] { background: #f8fafc; }
.pla-btn--outline.active[b-71bedp7hsc] { background: #f0fdfa; border-color: #5eead4; color: #0f766e; }

.pla-btn--add[b-71bedp7hsc] {
    background: #f0fdfa;
    border: 1px solid #99f6e4;
    color: #0f766e;
    font-size: 0.65rem;
    padding: 0.16rem 0.45rem;
}

.pla-btn--add:hover[b-71bedp7hsc] { background: #ccfbf1; }

.pla-btn--sm[b-71bedp7hsc] { font-size: 0.65rem; padding: 0.18rem 0.5rem; }

.pla-spinner[b-71bedp7hsc] {
    width: 0.85rem;
    height: 0.85rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: pla-spin-b-71bedp7hsc 0.65s linear infinite;
}

@keyframes pla-spin-b-71bedp7hsc { to { transform: rotate(360deg); } }

.pla-side[b-71bedp7hsc] {
    background: #fff;
    border: 1px solid #e2e7f3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 61, 62, 0.05);
    position: sticky;
    top: 2.5rem;
    max-height: calc(100vh - 3rem);
    display: flex;
    flex-direction: column;
}

.pla-side-head[b-71bedp7hsc] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.55rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: #0f3d3e;
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 100%);
    border-bottom: 1px solid #ccfbf1;
}

.pla-badge[b-71bedp7hsc] {
    display: inline-block;
    padding: 0.05rem 0.35rem;
    border-radius: 999px;
    background: #ccfbf1;
    font-size: 0.58rem;
    font-weight: 700;
    color: #0f766e;
}

.pla-recent-wrap[b-71bedp7hsc] { overflow: auto; flex: 1; }

.pla-recent-table[b-71bedp7hsc] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.66rem;
}

.pla-recent-table th[b-71bedp7hsc] {
    padding: 0.25rem 0.45rem;
    text-align: left;
    font-size: 0.54rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #8492b4;
    background: #fafbfe;
}

.pla-recent-table td[b-71bedp7hsc] {
    padding: 0.22rem 0.45rem;
    border-top: 1px solid #f0f3fa;
    vertical-align: middle;
}

.pla-mono[b-71bedp7hsc] { font-family: ui-monospace, monospace; font-weight: 600; color: #0f3d3e; font-size: 0.62rem; }

.pla-prod-cell[b-71bedp7hsc] {
    max-width: 8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #475569;
}

@media (max-width: 900px) {
    .pla-stats[b-71bedp7hsc] { grid-template-columns: repeat(2, 1fr); }

    .pla-line[b-71bedp7hsc] {
        grid-template-columns: 1.75rem 1fr 3.5rem;
        grid-template-rows: auto auto auto;
    }

    .pla-line-type[b-71bedp7hsc] { grid-column: 2; grid-row: 1; }
    .pla-line-product[b-71bedp7hsc] { grid-column: 1 / 4; grid-row: 2; }
    .pla-line-per[b-71bedp7hsc] { grid-column: 1; grid-row: 3; }
    .pla-line-qty[b-71bedp7hsc] { grid-column: 2; grid-row: 3; }
    .pla-line-stock[b-71bedp7hsc] { grid-column: 3; grid-row: 3; }
    .pla-line-clear[b-71bedp7hsc] { grid-column: 3; grid-row: 1; justify-self: end; }

    .pla-grid-hint[b-71bedp7hsc] { display: none; }
}
/* /Components/Pages/StockManagement/PackagingSpoilagePage/PackagingSpoilagePage.razor.rz.scp.css */
/* Packaging Spoilage — compact enterprise (psp-*) */

.psp-wrap[b-zbvhpo7kvo] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f0f2f8;
    font-size: 0.74rem;
    color: #1a1f36;
}

/* ── Top bar ── */
.psp-topbar[b-zbvhpo7kvo] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.28rem 0.65rem;
    background: linear-gradient(135deg, #1e2d5a 0%, #2e4494 100%);
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
    position: sticky;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
}

.psp-topbar-left[b-zbvhpo7kvo] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex: 1;
    min-width: 0;
}

.psp-topbar-icon[b-zbvhpo7kvo] {
    font-size: 1rem;
    opacity: 0.9;
    flex-shrink: 0;
}

.psp-topbar-title[b-zbvhpo7kvo] {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.psp-topbar-sub[b-zbvhpo7kvo] {
    display: block;
    font-size: 0.6rem;
    opacity: 0.72;
    font-family: ui-monospace, monospace;
}

.psp-top-actions[b-zbvhpo7kvo] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex-shrink: 0;
}

/* ── Body ── */
.psp-body[b-zbvhpo7kvo] {
    flex: 1;
    padding: 0.4rem 0.75rem 1.25rem;
    width: 100%;
    min-width: 0;
}

.psp-content[b-zbvhpo7kvo] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.4rem;
    align-items: start;
}

.psp-main[b-zbvhpo7kvo] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

@media (min-width: 1024px) {
    .psp-content[b-zbvhpo7kvo] {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
    }
}

/* ── Stats ── */
.psp-stats[b-zbvhpo7kvo] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.3rem;
}

.psp-stat[b-zbvhpo7kvo] {
    background: #fff;
    border: 1px solid #e2e7f3;
    border-radius: 6px;
    padding: 0.35rem 0.5rem;
    box-shadow: 0 1px 2px rgba(30, 45, 90, 0.04);
}

.psp-stat-k[b-zbvhpo7kvo] {
    display: block;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8492b4;
    margin-bottom: 0.05rem;
}

.psp-stat-v[b-zbvhpo7kvo] {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #1a1f36;
    line-height: 1.1;
}

.psp-stat-v--blue[b-zbvhpo7kvo] { color: #1d4ed8; }
.psp-stat-v--warn[b-zbvhpo7kvo] { color: #b45309; }
.psp-stat-v--ok[b-zbvhpo7kvo] { color: #15803d; }
.psp-stat-v--muted[b-zbvhpo7kvo] { color: #64748b; }

/* ── Toolbar ── */
.psp-toolbar[b-zbvhpo7kvo] {
    display: flex;
    align-items: flex-end;
    gap: 0.35rem;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid #e2e7f3;
    border-radius: 6px;
    padding: 0.35rem 0.45rem;
    box-shadow: 0 1px 2px rgba(30, 45, 90, 0.04);
}

.psp-field[b-zbvhpo7kvo] {
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
    min-width: 0;
}

.psp-field--sm[b-zbvhpo7kvo] { flex: 0 0 7.5rem; }
.psp-field--grow[b-zbvhpo7kvo] { flex: 1 1 10rem; }

.psp-label[b-zbvhpo7kvo] {
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #8492b4;
}

.psp-input[b-zbvhpo7kvo] {
    padding: 0.22rem 0.42rem;
    border: 1px solid #d1d9ef;
    border-radius: 5px;
    font-size: 0.72rem;
    color: #1a1f36;
    background: #fff;
    outline: none;
    transition: border-color 0.12s, box-shadow 0.12s;
    min-height: 1.65rem;
}

.psp-input:focus[b-zbvhpo7kvo] {
    border-color: #2e4494;
    box-shadow: 0 0 0 2px rgba(46, 68, 148, 0.1);
}

.psp-input--full[b-zbvhpo7kvo] { width: 100%; }
.psp-input--dense[b-zbvhpo7kvo] { width: 100%; font-size: 0.7rem; }
.psp-input--qty[b-zbvhpo7kvo] {
    width: 4.5rem;
    padding: 0.2rem 0.35rem;
    font-weight: 600;
}

.psp-notes[b-zbvhpo7kvo] {
    background: #fff;
    border: 1px solid #e2e7f3;
    border-radius: 6px;
    padding: 0.3rem 0.4rem;
}

.psp-alert[b-zbvhpo7kvo] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    font-size: 0.68rem;
    font-weight: 500;
}

.psp-alert i[b-zbvhpo7kvo] { font-size: 0.85rem; flex-shrink: 0; }

/* ── Slot grid ── */
.psp-grid-card[b-zbvhpo7kvo] {
    background: #fff;
    border: 1px solid #e2e7f3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(30, 45, 90, 0.05);
}

.psp-grid-head[b-zbvhpo7kvo] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.32rem 0.55rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f3fa 100%);
    border-bottom: 1px solid #e2e7f3;
    font-size: 0.7rem;
    font-weight: 700;
    color: #1e2d5a;
}

.psp-grid-hint[b-zbvhpo7kvo] {
    font-size: 0.58rem;
    font-weight: 500;
    color: #8492b4;
}

.psp-slot-list[b-zbvhpo7kvo] {
    display: flex;
    flex-direction: column;
}

.psp-slot[b-zbvhpo7kvo] {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr) 5.5rem 4rem 1.4rem;
    gap: 0.4rem;
    align-items: center;
    padding: 0.28rem 0.55rem;
    border-bottom: 1px solid #f0f3fa;
    transition: background 0.1s;
}

.psp-slot:last-child[b-zbvhpo7kvo] { border-bottom: none; }
.psp-slot:hover[b-zbvhpo7kvo] { background: #fafbff; }
.psp-slot--on[b-zbvhpo7kvo] { background: #f8faff; }
.psp-slot--warn[b-zbvhpo7kvo] { background: #fffbeb; }

.psp-slot-icon[b-zbvhpo7kvo] {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.psp-slot-icon--sticker[b-zbvhpo7kvo] { background: #fef3c7; color: #b45309; }
.psp-slot-icon--seal[b-zbvhpo7kvo] { background: #fce7f3; color: #be185d; }
.psp-slot-icon--jar[b-zbvhpo7kvo] { background: #e0e7ff; color: #4338ca; }
.psp-slot-icon--bottle[b-zbvhpo7kvo] { background: #dbeafe; color: #1d4ed8; }
.psp-slot-icon--paper[b-zbvhpo7kvo] { background: #f1f5f9; color: #475569; }

.psp-slot-main[b-zbvhpo7kvo] { min-width: 0; }

.psp-slot-title[b-zbvhpo7kvo] {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 0.1rem;
}

.psp-slot-qty[b-zbvhpo7kvo],
.psp-slot-stock[b-zbvhpo7kvo] {
    display: flex;
    flex-direction: column;
    gap: 0.06rem;
}

.psp-stock-val[b-zbvhpo7kvo] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #15803d;
    font-variant-numeric: tabular-nums;
}

.psp-stock-val--bad[b-zbvhpo7kvo] { color: #dc2626; }
.psp-stock-val--zero[b-zbvhpo7kvo] { color: #b45309; }
.psp-stock-val--na[b-zbvhpo7kvo] { color: #cbd5e1; font-weight: 500; }

.psp-slot-clear[b-zbvhpo7kvo] {
    width: 1.4rem;
    height: 1.4rem;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    padding: 0;
}

.psp-slot-clear:hover[b-zbvhpo7kvo] {
    background: #fee2e2;
    color: #b91c1c;
}

.psp-grid-foot[b-zbvhpo7kvo] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.32rem 0.55rem;
    background: #fafbfe;
    border-top: 1px solid #e2e7f3;
    font-size: 0.68rem;
    color: #64748b;
}

/* ── Buttons ── */
.psp-btn[b-zbvhpo7kvo] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.22rem 0.55rem;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.12s, background 0.12s;
    min-height: 1.65rem;
}

.psp-btn:disabled[b-zbvhpo7kvo] { opacity: 0.55; cursor: not-allowed; }

.psp-btn--ghost[b-zbvhpo7kvo] {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}

.psp-btn--ghost:hover[b-zbvhpo7kvo] { background: rgba(255, 255, 255, 0.22); color: #fff; }

.psp-btn--post[b-zbvhpo7kvo] {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    color: #fff;
    box-shadow: 0 1px 3px rgba(185, 28, 28, 0.3);
}

.psp-btn--post:hover:not(:disabled)[b-zbvhpo7kvo] { opacity: 0.92; }

.psp-btn--outline[b-zbvhpo7kvo] {
    background: #fff;
    border: 1px solid #d1d9ef;
    color: #4a5568;
    padding: 0.22rem 0.4rem;
}

.psp-btn--outline:hover:not(:disabled)[b-zbvhpo7kvo] { background: #f8fafc; }
.psp-btn--outline.active[b-zbvhpo7kvo] { background: #eff6ff; border-color: #93c5fd; color: #1d4ed8; }

.psp-btn--danger[b-zbvhpo7kvo] {
    background: linear-gradient(135deg, #991b1b 0%, #dc2626 100%);
    color: #fff;
}

.psp-btn--danger:hover:not(:disabled)[b-zbvhpo7kvo] { opacity: 0.9; }

.psp-btn--sm[b-zbvhpo7kvo] { font-size: 0.65rem; padding: 0.18rem 0.5rem; }

.psp-spinner[b-zbvhpo7kvo] {
    width: 0.85rem;
    height: 0.85rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: psp-spin-b-zbvhpo7kvo 0.65s linear infinite;
}

@keyframes psp-spin-b-zbvhpo7kvo { to { transform: rotate(360deg); } }

/* ── Side panel (recent) ── */
.psp-side[b-zbvhpo7kvo] {
    background: #fff;
    border: 1px solid #e2e7f3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(30, 45, 90, 0.05);
    position: sticky;
    top: 2.5rem;
    max-height: calc(100vh - 3rem);
    display: flex;
    flex-direction: column;
}

.psp-side-head[b-zbvhpo7kvo] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.55rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: #1e2d5a;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f3fa 100%);
    border-bottom: 1px solid #e2e7f3;
}

.psp-badge[b-zbvhpo7kvo] {
    display: inline-block;
    padding: 0.05rem 0.35rem;
    border-radius: 999px;
    background: #e2e7f3;
    font-size: 0.58rem;
    font-weight: 700;
    color: #475569;
}

.psp-recent-table-wrap[b-zbvhpo7kvo] { overflow: auto; flex: 1; }

.psp-recent-table[b-zbvhpo7kvo] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.68rem;
}

.psp-recent-table th[b-zbvhpo7kvo] {
    padding: 0.25rem 0.5rem;
    text-align: left;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #8492b4;
    background: #fafbfe;
}

.psp-recent-table td[b-zbvhpo7kvo] {
    padding: 0.22rem 0.5rem;
    border-top: 1px solid #f0f3fa;
    vertical-align: middle;
}

.psp-mono[b-zbvhpo7kvo] { font-family: ui-monospace, monospace; font-weight: 600; color: #1e2d5a; }
.psp-notes-cell[b-zbvhpo7kvo] { color: #8492b4; max-width: 12rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Responsive ── */
@media (max-width: 640px) {
    .psp-stats[b-zbvhpo7kvo] { grid-template-columns: repeat(2, 1fr); }

    .psp-slot[b-zbvhpo7kvo] {
        grid-template-columns: 2rem 1fr 4.2rem;
        grid-template-rows: auto auto;
    }

    .psp-slot-stock[b-zbvhpo7kvo] { grid-column: 3; grid-row: 1; }
    .psp-slot-qty[b-zbvhpo7kvo] { grid-column: 2 / 4; grid-row: 2; }
    .psp-slot-clear[b-zbvhpo7kvo] { grid-column: 3; grid-row: 2; justify-self: end; }

    .psp-grid-hint[b-zbvhpo7kvo] { display: none; }
    .psp-top-actions .psp-btn--post span:not(.psp-spinner)[b-zbvhpo7kvo] { display: none; }
}
/* /Components/Pages/StockManagement/StockTakePage/StockTakeAdd.razor.rz.scp.css */
/* Add Stock Take — compact wizard form */
.sta-wrap[b-gznx29q006] {
    min-height: auto;
    background: linear-gradient(180deg, #ecfdf5 0%, #f0f2f8 72px, #f0f2f8 100%);
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: 11px;
    color: #1a1f36;
}

.sta-hero[b-gznx29q006] {
    background: linear-gradient(135deg, #064e3b 0%, #059669 50%, #10b981 100%);
    color: #fff;
    padding: 8px 14px 10px;
    box-shadow: 0 2px 10px rgba(5, 150, 105, 0.2);
    position: relative;
    overflow: hidden;
}

.sta-hero[b-gznx29q006]::after {
    content: "";
    position: absolute;
    top: -60%;
    right: -6%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.sta-hero-top[b-gznx29q006] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.sta-hero-title[b-gznx29q006] {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: -0.01em;
}

.sta-hero-sub[b-gznx29q006] {
    margin: 1px 0 0;
    font-size: 10px;
    opacity: 0.85;
    max-width: 420px;
    line-height: 1.3;
}

.sta-btn-back[b-gznx29q006] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 5px;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.sta-btn-back:hover[b-gznx29q006] { background: rgba(255,255,255,0.28); color: #fff; }

.sta-steps[b-gznx29q006] {
    display: flex;
    gap: 0;
    margin-top: 8px;
    position: relative;
    z-index: 1;
}

.sta-step[b-gznx29q006] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    font-size: 9px;
    font-weight: 600;
    opacity: 0.65;
}

.sta-step:first-child[b-gznx29q006] { border-radius: 4px 0 0 4px; }
.sta-step:last-child[b-gznx29q006] { border-radius: 0 4px 4px 0; }
.sta-step + .sta-step[b-gznx29q006] { border-left: none; }

.sta-step.active[b-gznx29q006] {
    background: rgba(255,255,255,0.22);
    opacity: 1;
    border-color: rgba(255,255,255,0.35);
}

.sta-step-num[b-gznx29q006] {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
    flex-shrink: 0;
}

.sta-step.active .sta-step-num[b-gznx29q006] {
    background: #fff;
    color: #059669;
}

.sta-body[b-gznx29q006] {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 10px;
    padding: 10px 14px 16px;
    max-width: 960px;
    margin: 0 auto;
}

@media (max-width: 860px) {
    .sta-body[b-gznx29q006] { grid-template-columns: 1fr; }
    .sta-preview[b-gznx29q006] { order: -1; }
}

.sta-card[b-gznx29q006] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.sta-section-title[b-gznx29q006] {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sta-section-title i[b-gznx29q006] { color: #059669; font-size: 11px; }

.sta-section + .sta-section[b-gznx29q006] {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

.sta-row-2[b-gznx29q006] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

@media (max-width: 560px) {
    .sta-row-2[b-gznx29q006] { grid-template-columns: 1fr; }
}

.sta-row-workflow .sta-chips[b-gznx29q006] { flex-wrap: wrap; }

.sta-field[b-gznx29q006] { margin-bottom: 6px; }
.sta-field:last-child[b-gznx29q006] { margin-bottom: 0; }

.sta-label[b-gznx29q006] {
    display: block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #64748b;
    margin-bottom: 3px;
}

.sta-req[b-gznx29q006] { color: #dc2626; }

.sta-input[b-gznx29q006],
.sta-wrap .rz-dropdown[b-gznx29q006],
.sta-wrap .rz-datepicker[b-gznx29q006] {
    width: 100% !important;
    font-size: 11px !important;
    min-height: 28px !important;
}

.sta-wrap .rz-dropdown .rz-dropdown-label[b-gznx29q006] {
    padding: 4px 8px !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
}

.sta-wrap .rz-datepicker .rz-inputtext[b-gznx29q006] {
    padding: 4px 8px !important;
    font-size: 11px !important;
    min-height: 28px !important;
}

.sta-textarea[b-gznx29q006] {
    width: 100%;
    border: 1px solid #d8dff0;
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 11px;
    background: #f8fafc;
    resize: vertical;
    min-height: 36px;
    font-family: inherit;
}

.sta-textarea:focus[b-gznx29q006] {
    outline: none;
    border-color: #34d399;
    box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.18);
}

.sta-type-grid[b-gznx29q006] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

@media (max-width: 600px) {
    .sta-type-grid[b-gznx29q006] { grid-template-columns: 1fr; }
}

.sta-type-card[b-gznx29q006] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    padding: 7px 8px;
    background: #fafbfc;
    cursor: pointer;
    text-align: left;
    transition: all 0.12s;
}

.sta-type-card:hover[b-gznx29q006] { border-color: #86efac; background: #f0fdf4; }

.sta-type-card.selected[b-gznx29q006] {
    border-color: #059669;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    box-shadow: 0 0 0 1px #059669;
}

.sta-type-icon[b-gznx29q006] {
    font-size: 14px;
    color: #059669;
    margin-bottom: 0;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 1px;
}

.sta-type-text[b-gznx29q006] { min-width: 0; flex: 1; }

.sta-type-name[b-gznx29q006] {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.sta-type-desc[b-gznx29q006] {
    font-size: 9px;
    color: #64748b;
    margin-top: 1px;
    line-height: 1.25;
}

.sta-chips[b-gznx29q006] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.sta-chip[b-gznx29q006] {
    padding: 3px 9px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    font-size: 10px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.12s;
    line-height: 1.3;
}

.sta-chip-sm[b-gznx29q006] { padding: 3px 7px; font-size: 9px; }

.sta-chip:hover[b-gznx29q006] { border-color: #86efac; color: #059669; }

.sta-chip.selected[b-gznx29q006] {
    background: #059669;
    border-color: #059669;
    color: #fff;
}

.sta-loc-chips[b-gznx29q006] { margin-bottom: 6px; }

.sta-toggle-row[b-gznx29q006] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 7px 9px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 6px;
}

.sta-toggle-row input[b-gznx29q006] { margin-top: 1px; accent-color: #059669; width: 13px; height: 13px; }

.sta-toggle-text strong[b-gznx29q006] {
    display: block;
    font-size: 10.5px;
    color: #1e293b;
    line-height: 1.3;
}

.sta-toggle-text span[b-gznx29q006] {
    font-size: 9px;
    color: #64748b;
    line-height: 1.3;
}

.sta-footer[b-gznx29q006] {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

.sta-btn-cancel[b-gznx29q006] {
    padding: 5px 12px;
    border: 1px solid #d8dff0;
    border-radius: 6px;
    background: #fff;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
}

.sta-btn-cancel:hover[b-gznx29q006] { background: #f8fafc; }

.sta-btn-save[b-gznx29q006] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    background: linear-gradient(135deg, #16a34a, #059669);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 1px 6px rgba(5, 150, 105, 0.3);
}

.sta-btn-save:hover:not(:disabled)[b-gznx29q006] { filter: brightness(1.05); }
.sta-btn-save:disabled[b-gznx29q006] { opacity: 0.55; cursor: not-allowed; }

/* Preview panel */
.sta-preview[b-gznx29q006] {
    position: sticky;
    top: 10px;
    align-self: start;
}

.sta-preview-card[b-gznx29q006] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.sta-preview-head[b-gznx29q006] {
    background: linear-gradient(135deg, #064e3b, #059669);
    color: #fff;
    padding: 8px 10px;
}

.sta-preview-head h3[b-gznx29q006] {
    margin: 0;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.85;
    font-weight: 600;
}

.sta-preview-no[b-gznx29q006] {
    font-size: 15px;
    font-weight: 800;
    margin-top: 2px;
    letter-spacing: -0.02em;
}

.sta-preview-body[b-gznx29q006] { padding: 8px 10px; }

.sta-preview-row[b-gznx29q006] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 10px;
}

.sta-preview-row:last-child[b-gznx29q006] { border-bottom: none; }

.sta-preview-label[b-gznx29q006] {
    color: #94a3b8;
    font-weight: 600;
    font-size: 9px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.sta-preview-value[b-gznx29q006] {
    color: #1e293b;
    font-weight: 600;
    text-align: right;
    font-size: 10px;
}

.sta-preview-pill[b-gznx29q006] {
    display: inline-block;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 700;
    background: #ecfdf5;
    color: #047857;
}

.sta-preview-hint[b-gznx29q006] {
    margin-top: 6px;
    padding: 6px 8px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 5px;
    font-size: 9px;
    color: #166534;
    line-height: 1.35;
}

.sta-preview-hint i[b-gznx29q006] { margin-right: 3px; }

.sta-spin[b-gznx29q006] {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: sta-spin-b-gznx29q006 0.7s linear infinite;
    display: inline-block;
}

@keyframes sta-spin-b-gznx29q006 { to { transform: rotate(360deg); } }

.sta-slide-in[b-gznx29q006] {
    animation: sta-slide-b-gznx29q006 0.2s ease;
}

@keyframes sta-slide-b-gznx29q006 {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
/* /Components/Pages/StockManagement/StockTakePage/StockTakeList.razor.rz.scp.css */
/* Stock Take — modern compact design */
.stk-wrap[b-kh5ep3ex1q] { min-height: 100vh; background: #f0f2f8; font-size: 0.78rem; color: #1a1f36; }
.stk-topbar[b-kh5ep3ex1q] {
    display: flex; align-items: center; justify-content: space-between;
    background: linear-gradient(135deg, #0f4c3a 0%, #15803d 100%);
    color: #fff; padding: 0.55rem 1rem; box-shadow: 0 2px 8px rgba(0,0,0,.15);
    position: sticky; top: 0; z-index: 50;
}
.stk-topbar-left[b-kh5ep3ex1q] { display: flex; align-items: center; gap: 0.6rem; }
.stk-topbar-icon[b-kh5ep3ex1q] { font-size: 1.3rem; opacity: .9; }
.stk-topbar-title[b-kh5ep3ex1q] { margin: 0; font-size: 0.95rem; font-weight: 700; }
.stk-topbar-sub[b-kh5ep3ex1q] { margin: 0; font-size: 0.62rem; opacity: .75; }
.stk-top-actions[b-kh5ep3ex1q] { display: flex; gap: 0.35rem; }
.stk-btn[b-kh5ep3ex1q] { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.3rem 0.7rem; border-radius: 6px; font-size: 0.72rem; font-weight: 600; text-decoration: none; border: none; cursor: pointer; }
.stk-btn--ghost[b-kh5ep3ex1q] { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.25); }

.stk-hub-nav[b-kh5ep3ex1q] {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.5rem; padding: 0.65rem 1rem; background: #fff; border-bottom: 1px solid #e2e7f3;
}
.stk-hub-card[b-kh5ep3ex1q] {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.35rem;
    padding: 0.65rem 0.5rem; border: 1px solid #e2e7f3; border-radius: 8px; background: #f8fafc;
    text-decoration: none; color: #334155; font-size: 0.68rem; font-weight: 600; cursor: pointer;
    transition: border-color .12s, background .12s, transform .12s; position: relative;
}
.stk-hub-card i[b-kh5ep3ex1q] { font-size: 1.25rem; color: #15803d; }
.stk-hub-card:hover[b-kh5ep3ex1q] { border-color: #86efac; background: #f0fdf4; transform: translateY(-1px); }
.stk-hub-card--primary[b-kh5ep3ex1q] { background: linear-gradient(135deg, #ecfdf5, #d1fae5); border-color: #6ee7b7; }
.stk-badge[b-kh5ep3ex1q] {
    position: absolute; top: 6px; right: 8px; background: #dc2626; color: #fff;
    font-size: 0.58rem; padding: 0.1rem 0.35rem; border-radius: 10px; min-width: 18px; text-align: center;
}

.stk-body[b-kh5ep3ex1q] { padding: 0.65rem 1rem 1.5rem; max-width: 1600px; margin: 0 auto; }
.stk-filter-card[b-kh5ep3ex1q] { background: #fff; border: 1px solid #e2e7f3; border-radius: 8px; padding: 0.55rem 0.75rem; margin-bottom: 0.55rem; }
.stk-filter-row[b-kh5ep3ex1q] { display: flex; flex-wrap: wrap; gap: 0.65rem; align-items: flex-end; }
.stk-field[b-kh5ep3ex1q] { display: flex; flex-direction: column; gap: 0.15rem; }
.stk-field label[b-kh5ep3ex1q] { font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #8492b4; }
.stk-field--search[b-kh5ep3ex1q] { flex: 1; min-width: 180px; }
.stk-input[b-kh5ep3ex1q] { border: 1px solid #d8dff0; border-radius: 6px; padding: 0.28rem 0.5rem; font-size: 0.75rem; background: #f7f9fd; min-height: 1.85rem; }
.stk-date[b-kh5ep3ex1q] { min-width: 220px; }
.stk-gen-btn[b-kh5ep3ex1q] {
    display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.35rem 1rem;
    background: linear-gradient(135deg, #16a34a, #15803d); color: #fff; border: none; border-radius: 6px;
    font-size: 0.74rem; font-weight: 700; cursor: pointer; min-height: 1.85rem;
}
.stk-gen-btn:disabled[b-kh5ep3ex1q] { opacity: .55; }

.stk-table-card[b-kh5ep3ex1q] { background: #fff; border: 1px solid #e2e7f3; border-radius: 8px; overflow: hidden; }
.stk-table[b-kh5ep3ex1q] { width: 100%; border-collapse: collapse; font-size: 0.7rem; }
.stk-table thead[b-kh5ep3ex1q] { background: linear-gradient(135deg, #0f4c3a, #15803d); }
.stk-table th[b-kh5ep3ex1q] { padding: 0.35rem 0.5rem; color: rgba(255,255,255,.9); font-size: 0.58rem; text-transform: uppercase; letter-spacing: .04em; text-align: left; white-space: nowrap; }
.stk-table td[b-kh5ep3ex1q] { padding: 0.3rem 0.5rem; border-bottom: 1px solid #f0f3fa; vertical-align: middle; }
.stk-table tbody tr:hover[b-kh5ep3ex1q] { background: #f8fafc; }
.stk-table .num[b-kh5ep3ex1q] { text-align: right; font-variant-numeric: tabular-nums; }
.stk-table .has-variance[b-kh5ep3ex1q] { color: #dc2626; font-weight: 600; }
.stk-desc[b-kh5ep3ex1q] { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.stk-pill[b-kh5ep3ex1q] { display: inline-block; padding: 0.12rem 0.4rem; border-radius: 4px; font-size: 0.58rem; font-weight: 700; white-space: nowrap; }
.stk-pill--type[b-kh5ep3ex1q] { background: #e0e7ff; color: #3730a3; }
.stk-pill--pending[b-kh5ep3ex1q] { background: #f1f5f9; color: #475569; }
.stk-pill--progress[b-kh5ep3ex1q] { background: #dbeafe; color: #1d4ed8; }
.stk-pill--approval[b-kh5ep3ex1q] { background: #ffedd5; color: #c2410c; }
.stk-pill--approved[b-kh5ep3ex1q] { background: #dcfce7; color: #166534; }
.stk-pill--posted[b-kh5ep3ex1q] { background: #d1fae5; color: #065f46; }
.stk-pill--rejected[b-kh5ep3ex1q] { background: #fee2e2; color: #991b1b; }

.stk-actions[b-kh5ep3ex1q] { white-space: nowrap; }
.stk-icon-btn[b-kh5ep3ex1q] { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 5px; border: 1px solid #e2e7f3; background: #fff; color: #64748b; text-decoration: none; margin-left: 2px; }
.stk-icon-btn:hover[b-kh5ep3ex1q] { background: #f1f5f9; }
.stk-icon-btn--accent[b-kh5ep3ex1q] { color: #15803d; border-color: #bbf7d0; }
.stk-icon-btn--ok[b-kh5ep3ex1q] { color: #16a34a; border-color: #bbf7d0; }

.stk-state[b-kh5ep3ex1q] { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; padding: 3rem; color: #94a3b8; text-align: center; }
.stk-state--empty i[b-kh5ep3ex1q] { font-size: 2rem; opacity: .4; }
.stk-spin[b-kh5ep3ex1q] { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: stk-spin-b-kh5ep3ex1q .7s linear infinite; display: inline-block; }
.stk-spin--lg[b-kh5ep3ex1q] { width: 28px; height: 28px; border-color: #e2e7f3; border-top-color: #15803d; }
@keyframes stk-spin-b-kh5ep3ex1q { to { transform: rotate(360deg); } }

.stk-modal-backdrop[b-kh5ep3ex1q] { position: fixed; inset: 0; background: rgba(15,23,42,.45); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.stk-modal[b-kh5ep3ex1q] { background: #fff; border-radius: 10px; width: min(520px, 100%); max-height: 80vh; overflow: auto; box-shadow: 0 20px 50px rgba(0,0,0,.2); }
.stk-modal__head[b-kh5ep3ex1q] { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 1rem; border-bottom: 1px solid #e2e7f3; }
.stk-modal__head h2[b-kh5ep3ex1q] { margin: 0; font-size: 0.9rem; }
.stk-modal__close[b-kh5ep3ex1q] { border: none; background: none; font-size: 1.1rem; cursor: pointer; color: #64748b; }
.stk-modal__hint[b-kh5ep3ex1q] { padding: 0.5rem 1rem; margin: 0; font-size: 0.68rem; color: #64748b; }
.stk-modal__empty[b-kh5ep3ex1q] { padding: 1.5rem; text-align: center; color: #94a3b8; }
.stk-modal__list[b-kh5ep3ex1q] { padding: 0 0.5rem 0.75rem; }
.stk-modal__row[b-kh5ep3ex1q] {
    display: grid; grid-template-columns: 1fr 1.2fr auto auto; gap: 0.5rem; align-items: center;
    width: 100%; padding: 0.55rem 0.65rem; border: 1px solid #e2e7f3; border-radius: 6px;
    background: #f8fafc; margin-bottom: 0.35rem; cursor: pointer; text-align: left; font-size: 0.72rem;
}
.stk-modal__row:hover[b-kh5ep3ex1q] { border-color: #86efac; background: #f0fdf4; }
.stk-modal__no[b-kh5ep3ex1q] { font-weight: 700; color: #15803d; }

@media print { .stk-hub-nav[b-kh5ep3ex1q], .stk-filter-card[b-kh5ep3ex1q], .stk-top-actions[b-kh5ep3ex1q] { display: none !important; } }
/* /Components/Pages/StockManagement/StockTransferPage/MyStockTransferRequestsPage.razor.rz.scp.css */
.str-ml-wrap[b-3nkkai160l] {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: var(--pos-bg);
}

.str-ml-top[b-3nkkai160l] {
    flex-shrink: 0;
    padding: 0.55rem 0.65rem 0.4rem;
}

.str-ml-back[b-3nkkai160l] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--pos-primary);
    text-decoration: none;
    background: #fff;
    border: 1.5px solid var(--pos-border);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
}

.str-ml-title[b-3nkkai160l] {
    margin-top: 0.55rem;
    background: #fff;
    border: 1px solid var(--pos-border);
    border-radius: var(--pos-radius);
    box-shadow: var(--pos-shadow);
    padding: 0.55rem 0.65rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.str-ml-title-row[b-3nkkai160l] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.str-ml-title-icon[b-3nkkai160l] {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--pos-primary-light);
    color: var(--pos-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.str-ml-h[b-3nkkai160l] {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--pos-text);
    line-height: 1.1;
}

.str-ml-sub[b-3nkkai160l] {
    font-size: 0.72rem;
    color: var(--pos-muted);
    margin-top: 0.12rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 56vw;
}

.str-ml-create[b-3nkkai160l] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #fff;
    border: none;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(22, 163, 74, 0.28);
    flex-shrink: 0;
}

.str-ml-filter[b-3nkkai160l] {
    margin: 0.45rem 0.65rem 0;
    padding: 0.55rem 0.6rem;
    background: #fff;
    border: 1px solid var(--pos-border);
    border-radius: var(--pos-radius);
    box-shadow: var(--pos-shadow);
}

.str-ml-presets[b-3nkkai160l] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.str-ml-preset[b-3nkkai160l] {
    border: 1.5px solid var(--pos-border);
    background: #fff;
    color: var(--pos-text);
    border-radius: 999px;
    padding: 0.32rem 0.72rem;
    font-size: 0.72rem;
    font-weight: 800;
    cursor: pointer;
}

.str-ml-preset.active[b-3nkkai160l] {
    background: var(--pos-primary-light);
    border-color: var(--pos-primary);
    color: var(--pos-primary-dark);
}

.str-ml-range[b-3nkkai160l] {
    margin-top: 0.55rem;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.45rem;
}

.str-ml-range-field[b-3nkkai160l] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    flex: 1 1 7.5rem;
}

.str-ml-range-k[b-3nkkai160l] {
    font-size: 0.62rem;
    font-weight: 900;
    color: var(--pos-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.str-ml-date[b-3nkkai160l] {
    width: 100%;
    border: 1.5px solid var(--pos-border);
    border-radius: 10px;
    padding: 0.38rem 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--pos-text);
    background: #fff;
}

.str-ml-apply[b-3nkkai160l] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border: none;
    border-radius: 999px;
    padding: 0.42rem 0.9rem;
    background: var(--pos-primary);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 800;
    flex-shrink: 0;
}

.str-ml-apply:disabled[b-3nkkai160l] {
    opacity: 0.65;
}

.str-ml-scroll[b-3nkkai160l] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 0.4rem 0.65rem 0.9rem;
}

.str-ml-list[b-3nkkai160l] {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.str-ml-card[b-3nkkai160l] {
    text-align: left;
    border: 1px solid var(--pos-border);
    border-radius: var(--pos-radius);
    background: #fff;
    box-shadow: var(--pos-shadow);
    padding: 0.6rem 0.65rem;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.str-ml-card:active[b-3nkkai160l] { transform: scale(0.99); }

.str-ml-card-top[b-3nkkai160l] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.str-ml-no[b-3nkkai160l] {
    font-weight: 900;
    color: var(--pos-text);
    font-size: 0.88rem;
}

.str-ml-badge[b-3nkkai160l] {
    font-size: 0.62rem;
    font-weight: 900;
    padding: 0.16rem 0.55rem;
    border-radius: 999px;
    border: 1px solid transparent;
    white-space: nowrap;
}

.str-ml-card-mid[b-3nkkai160l] {
    margin-top: 0.4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 0.55rem;
}

.str-ml-row[b-3nkkai160l] {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    min-width: 0;
}

.str-ml-k[b-3nkkai160l] {
    font-size: 0.62rem;
    font-weight: 900;
    color: var(--pos-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}

.str-ml-v[b-3nkkai160l] {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--pos-text);
    min-width: 0;
}

.str-ml-card-bot[b-3nkkai160l] {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.str-ml-chip[b-3nkkai160l] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: var(--pos-primary-xlight);
    border: 1px solid var(--pos-border);
    color: var(--pos-primary-dark);
    font-weight: 700;
}

.str-ml-chip strong[b-3nkkai160l] { font-weight: 900; color: var(--pos-text); }
.str-ml-arrow[b-3nkkai160l] { margin-left: auto; color: var(--pos-muted); }

.str-ml-empty[b-3nkkai160l] {
    margin-top: 1.6rem;
    padding: 1rem 0.65rem;
    background: #fff;
    border: 1px solid var(--pos-border);
    border-radius: var(--pos-radius);
    box-shadow: var(--pos-shadow);
    text-align: center;
}

.str-ml-empty-icon[b-3nkkai160l] {
    width: 56px;
    height: 56px;
    background: var(--pos-primary-light);
    color: var(--pos-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 0.6rem;
}

.str-ml-empty-title[b-3nkkai160l] {
    font-size: 0.95rem;
    font-weight: 900;
    color: var(--pos-text);
}

.str-ml-empty-sub[b-3nkkai160l] {
    font-size: 0.75rem;
    color: var(--pos-muted);
    margin-top: 0.2rem;
}

.str-ml-empty-cta[b-3nkkai160l] {
    margin-top: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #6C5CE7 0%, #5a4bd1 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    font-size: 0.78rem;
}

/* badges */
.str-b-gray[b-3nkkai160l] { background: #f1f5f9; color: #334155; border-color: #e2e8f0; }
.str-b-purple[b-3nkkai160l] { background: #ede9fe; color: #5b21b6; border-color: #ddd6fe; }
.str-b-blue[b-3nkkai160l] { background: #e0f2fe; color: #075985; border-color: #bae6fd; }
.str-b-indigo[b-3nkkai160l] { background: #e0e7ff; color: #3730a3; border-color: #c7d2fe; }
.str-b-amber[b-3nkkai160l] { background: #fffbeb; color: #92400e; border-color: #fde68a; }
.str-b-red[b-3nkkai160l] { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.str-b-teal[b-3nkkai160l] { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.str-b-green[b-3nkkai160l] { background: #dcfce7; color: #166534; border-color: #86efac; }

@media (max-width: 576px) {
    .str-ml-title[b-3nkkai160l] { flex-direction: column; align-items: flex-start; }
    .str-ml-sub[b-3nkkai160l] { max-width: 100%; }
    .str-ml-card-mid[b-3nkkai160l] { grid-template-columns: 1fr; }
}

/* /Components/Pages/StockManagement/StockTransferPage/ReceiveDispatchedRequestsPage.razor.rz.scp.css */
.rd-wrap[b-yfymut3e5z] {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: var(--pos-bg);
}

.rd-top[b-yfymut3e5z] {
    flex-shrink: 0;
    padding: 0.5rem 0.6rem 0.35rem;
}

.rd-back[b-yfymut3e5z] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--pos-primary);
    text-decoration: none;
    background: #fff;
    border: 1.5px solid var(--pos-border);
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
}

.rd-title[b-yfymut3e5z] {
    margin-top: 0.5rem;
    background: #fff;
    border: 1px solid var(--pos-border);
    border-radius: var(--pos-radius);
    box-shadow: var(--pos-shadow);
    padding: 0.5rem 0.6rem;
}

.rd-title-row[b-yfymut3e5z] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.rd-title-icon[b-yfymut3e5z] {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #fffbeb;
    color: #92400e;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rd-h[b-yfymut3e5z] {
    font-size: 0.92rem;
    font-weight: 950;
    color: var(--pos-text);
    line-height: 1.1;
}

.rd-sub[b-yfymut3e5z] {
    font-size: 0.72rem;
    color: var(--pos-muted);
    margin-top: 0.12rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rd-scroll[b-yfymut3e5z] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 0.35rem 0.6rem 0.9rem;
}

.rd-list[b-yfymut3e5z] {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.rd-card[b-yfymut3e5z] {
    text-align: left;
    border: 1px solid var(--pos-border);
    border-radius: var(--pos-radius);
    background: #fff;
    box-shadow: var(--pos-shadow);
    padding: 0.55rem 0.6rem;
    cursor: pointer;
}

.rd-card-top[b-yfymut3e5z] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.rd-no[b-yfymut3e5z] {
    font-weight: 950;
    color: var(--pos-text);
    font-size: 0.86rem;
}

.rd-badge[b-yfymut3e5z] {
    font-size: 0.6rem;
    font-weight: 950;
    padding: 0.14rem 0.55rem;
    border-radius: 999px;
    border: 1px solid transparent;
    white-space: nowrap;
}

.rd-card-mid[b-yfymut3e5z] {
    margin-top: 0.4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem 0.55rem;
}

.rd-row[b-yfymut3e5z] { display: flex; align-items: baseline; gap: 0.35rem; min-width: 0; }
.rd-k[b-yfymut3e5z] {
    font-size: 0.6rem;
    font-weight: 950;
    color: var(--pos-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}
.rd-v[b-yfymut3e5z] { font-size: 0.78rem; font-weight: 850; color: var(--pos-text); min-width: 0; }

.rd-card-bot[b-yfymut3e5z] {
    margin-top: 0.45rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.rd-chip[b-yfymut3e5z] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    padding: 0.14rem 0.55rem;
    border-radius: 999px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-weight: 800;
}
.rd-chip strong[b-yfymut3e5z] { font-weight: 950; color: var(--pos-text); }

.rd-cta[b-yfymut3e5z] {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 900;
    color: var(--pos-primary);
    white-space: nowrap;
}

.rd-empty[b-yfymut3e5z] {
    margin-top: 1.4rem;
    padding: 0.95rem 0.65rem;
    background: #fff;
    border: 1px solid var(--pos-border);
    border-radius: var(--pos-radius);
    box-shadow: var(--pos-shadow);
    text-align: center;
}

.rd-empty-icon[b-yfymut3e5z] {
    width: 52px;
    height: 52px;
    background: #fffbeb;
    color: #92400e;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 0.55rem;
}

.rd-empty-title[b-yfymut3e5z] { font-size: 0.92rem; font-weight: 950; color: var(--pos-text); }
.rd-empty-sub[b-yfymut3e5z] { font-size: 0.74rem; color: var(--pos-muted); margin-top: 0.2rem; }

.rd-empty-cta[b-yfymut3e5z] {
    margin-top: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.48rem 0.9rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #6C5CE7 0%, #5a4bd1 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 950;
    font-size: 0.78rem;
}

.rd-b-amber[b-yfymut3e5z] { background: #fffbeb; color: #92400e; border-color: #fde68a; }

@media (max-width: 576px) {
    .rd-top[b-yfymut3e5z] { padding: 0.35rem 0.5rem 0.25rem; }
    .rd-scroll[b-yfymut3e5z] { padding: 0.25rem 0.5rem 0.75rem; }
    .rd-card-mid[b-yfymut3e5z] { grid-template-columns: 1fr; }
}

/* /Components/Pages/StockManagement/StockTransferPage/StockTransferRequestPage.razor.rz.scp.css */
/* Transfer request uses global pos-shell.css; scoped tweaks only */

.ppp-stats[b-l4ko7ajdsp] {
    height: auto !important;
    min-height: 30px;
    flex-wrap: wrap;
    padding-top: 0.28rem !important;
    padding-bottom: 0.28rem !important;
    row-gap: 0.25rem;
}

a.pop-icon-btn[b-l4ko7ajdsp] {
    text-decoration: none;
}

.str-req-batch[b-l4ko7ajdsp] {
    margin-top: 0.25rem;
    font-size: 0.65rem;
}

.str-req-batch .form-select[b-l4ko7ajdsp] {
    font-size: 0.65rem;
    padding: 0.15rem 0.35rem;
    min-height: 26px;
    border-radius: var(--pos-radius-sm);
}

.pci-store-line[b-l4ko7ajdsp] {
    display: block;
    font-size: 0.58rem;
    font-weight: 600;
    color: var(--pos-muted);
    margin-top: 2px;
}

/* Product grid: footer with shop qty only (no price) */
.str-req-card-footer[b-l4ko7ajdsp] {
    justify-content: flex-start !important;
    border-top: 1px solid #f1f5f9;
    padding-top: 0.25rem;
}

.str-req-card-footer .ppp-card-stock[b-l4ko7ajdsp] {
    max-width: 100%;
}
/* /Components/Pages/StockManagement/StockTransferPage/StockTransferRequestStatusView.razor.rz.scp.css */
.str-rv-scroll[b-mcykk9788y] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 0.45rem 0.55rem 0.85rem;
}

.str-rv-head[b-mcykk9788y] {
    background: #fff;
    border: 1px solid var(--pos-border);
    border-radius: var(--pos-radius);
    box-shadow: var(--pos-shadow);
    padding: 0.55rem 0.6rem;
}

.str-rv-back[b-mcykk9788y] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--pos-primary);
    text-decoration: none;
    background: var(--pos-primary-xlight);
    border: 1px solid var(--pos-border);
    border-radius: 999px;
    padding: 0.28rem 0.65rem;
}

.str-rv-title[b-mcykk9788y] {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.str-rv-no[b-mcykk9788y] {
    font-size: 1.0rem;
    font-weight: 950;
    color: var(--pos-text);
    letter-spacing: -0.02em;
}

.str-rv-badge[b-mcykk9788y] {
    font-size: 0.62rem;
    font-weight: 950;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    border: 1px solid transparent;
}

.str-rv-meta[b-mcykk9788y] {
    margin-top: 0.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem 0.55rem;
}

.str-rv-meta-row[b-mcykk9788y] {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    min-width: 0;
}

.str-rv-k[b-mcykk9788y] {
    font-size: 0.6rem;
    font-weight: 950;
    color: var(--pos-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}

.str-rv-v[b-mcykk9788y] {
    font-size: 0.78rem;
    font-weight: 850;
    color: var(--pos-text);
    min-width: 0;
}

.str-rv-panel[b-mcykk9788y] {
    margin-top: 0.45rem;
    background: #fff;
    border: 1px solid var(--pos-border);
    border-radius: var(--pos-radius);
    box-shadow: var(--pos-shadow);
    overflow: hidden;
}

.str-rv-panel-h[b-mcykk9788y] {
    padding: 0.32rem 0.6rem;
    background: #faf9ff;
    border-bottom: 1px solid var(--pos-border);
    font-size: 0.62rem;
    font-weight: 950;
    color: var(--pos-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.str-rv-lines[b-mcykk9788y] {
    display: flex;
    flex-direction: column;
}

.str-rv-line[b-mcykk9788y] {
    padding: 0.42rem 0.6rem;
    border-bottom: 1px solid rgba(226, 223, 250, 0.7);
}
.str-rv-line:last-child[b-mcykk9788y] { border-bottom: none; }

.str-rv-ln[b-mcykk9788y] {
    font-weight: 900;
    color: var(--pos-text);
    font-size: 0.82rem;
    line-height: 1.2;
}

.str-rv-sub[b-mcykk9788y] {
    margin-top: 0.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.str-rv-pill[b-mcykk9788y] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.68rem;
    padding: 0.12rem 0.5rem;
    border-radius: 999px;
    background: var(--pos-primary-xlight);
    border: 1px solid var(--pos-border);
    color: var(--pos-primary-dark);
    font-weight: 800;
}
.str-rv-pill strong[b-mcykk9788y] { font-weight: 900; color: var(--pos-text); }

.str-rv-actions[b-mcykk9788y] {
    margin-top: 0.5rem;
}

.str-rv-confirm[b-mcykk9788y] {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.52rem 0.8rem;
    border-radius: var(--pos-radius);
    border: none;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #fff;
    font-weight: 950;
    font-size: 0.82rem;
    box-shadow: 0 3px 10px rgba(22, 163, 74, 0.28);
}

.str-rv-hint[b-mcykk9788y] {
    background: #fff;
    border: 1px dashed rgba(124, 58, 237, 0.35);
    color: var(--pos-muted);
    border-radius: var(--pos-radius);
    padding: 0.55rem 0.7rem;
    font-size: 0.75rem;
}
.str-rv-hint-warn[b-mcykk9788y] {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}
.str-rv-hint-danger[b-mcykk9788y] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}
.str-rv-hint-info[b-mcykk9788y] {
    background: #ede9fe;
    border: 1px solid #c7d2fe;
    color: #3730a3;
}
.str-rv-hint-success[b-mcykk9788y] {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}
.str-rv-hint-sub[b-mcykk9788y] {
    margin-top: 0.3rem;
    padding: 0.2rem 0.7rem;
}
.str-rv-recall[b-mcykk9788y] {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.52rem 0.8rem;
    margin-top: 0.4rem;
    border-radius: var(--pos-radius);
    border: 2px solid #f59e0b;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #78350f;
    font-weight: 950;
    font-size: 0.82rem;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.28);
}

/* badges (same palette as list) */
.str-b-gray[b-mcykk9788y] { background: #f1f5f9; color: #334155; border-color: #e2e8f0; }
.str-b-purple[b-mcykk9788y] { background: #ede9fe; color: #5b21b6; border-color: #ddd6fe; }
.str-b-blue[b-mcykk9788y] { background: #e0f2fe; color: #075985; border-color: #bae6fd; }
.str-b-indigo[b-mcykk9788y] { background: #e0e7ff; color: #3730a3; border-color: #c7d2fe; }
.str-b-amber[b-mcykk9788y] { background: #fffbeb; color: #92400e; border-color: #fde68a; }
.str-b-red[b-mcykk9788y] { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.str-b-teal[b-mcykk9788y] { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.str-b-green[b-mcykk9788y] { background: #dcfce7; color: #166534; border-color: #86efac; }

@media (max-width: 576px) {
    .str-rv-scroll[b-mcykk9788y] { padding: 0.28rem 0.45rem 0.65rem; }

    .str-rv-head[b-mcykk9788y] { padding: 0.38rem 0.5rem; }
    .str-rv-back[b-mcykk9788y] { font-size: 0.7rem; padding: 0.22rem 0.55rem; }

    .str-rv-title[b-mcykk9788y] { margin-top: 0.35rem; gap: 0.4rem; }
    .str-rv-no[b-mcykk9788y] { font-size: 0.95rem; }
    .str-rv-badge[b-mcykk9788y] { font-size: 0.58rem; padding: 0.12rem 0.5rem; }

    .str-rv-meta[b-mcykk9788y] {
        grid-template-columns: 1fr;
        gap: 0.25rem 0.45rem;
        margin-top: 0.35rem;
    }

    .str-rv-panel[b-mcykk9788y] { margin-top: 0.32rem; }
    .str-rv-panel-h[b-mcykk9788y] { padding: 0.28rem 0.5rem; font-size: 0.6rem; }

    .str-rv-line[b-mcykk9788y] { padding: 0.32rem 0.5rem; }
    .str-rv-ln[b-mcykk9788y] { font-size: 0.78rem; }

    .str-rv-sub[b-mcykk9788y] { margin-top: 0.18rem; gap: 0.2rem; }
    .str-rv-pill[b-mcykk9788y] { font-size: 0.62rem; padding: 0.1rem 0.42rem; }

    .str-rv-actions[b-mcykk9788y] { margin-top: 0.4rem; }
    .str-rv-confirm[b-mcykk9788y] { padding: 0.5rem 0.75rem; font-size: 0.78rem; }
    .str-rv-hint[b-mcykk9788y] { padding: 0.45rem 0.55rem; font-size: 0.7rem; }
}

