/* /Components/BazaarYar/BazaarYarProductMarket.razor.rz.scp.css */
.market-products[b-az6z5ce67f]{margin-top:18px;overflow:hidden;border:1px solid rgba(148,163,184,.14);border-radius:22px;background:rgba(18,25,52,.78);box-shadow:0 14px 36px rgba(0,0,0,.14);color:#e8eefc}
.market-products__header[b-az6z5ce67f]{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid rgba(148,163,184,.12)}
.market-products__header span[b-az6z5ce67f]{color:#8da2fb;font-size:12px;font-weight:900}.market-products__header h2[b-az6z5ce67f]{margin:4px 0 0;font-size:18px}
.market-agent[b-az6z5ce67f]{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:12px;color:#fca5a5;background:rgba(127,29,29,.18);font-size:11px;font-weight:850}.market-agent--online[b-az6z5ce67f]{color:#86efac;background:rgba(22,101,52,.18)}
.market-agent i[b-az6z5ce67f]{width:8px;height:8px;border-radius:50%;background:currentColor}.market-agent a[b-az6z5ce67f]{color:inherit;font-size:10px;font-weight:900;text-decoration:underline}.market-agent button[b-az6z5ce67f]{border:0;color:inherit;background:transparent;font:inherit;text-decoration:underline;cursor:pointer}
.market-search[b-az6z5ce67f]{display:flex;gap:10px;padding:16px 22px}.market-search input[b-az6z5ce67f]{flex:1;min-width:0;padding:12px 14px;border:1px solid rgba(148,163,184,.18);border-radius:13px;color:#e8eefc;background:rgba(8,15,36,.55);font:inherit;outline:none}.market-search button[b-az6z5ce67f],.market-pager button[b-az6z5ce67f]{padding:10px 16px;border:0;border-radius:11px;color:#fff;background:#2563eb;font:inherit;font-weight:850;cursor:pointer}.market-search button:disabled[b-az6z5ce67f],.market-pager button:disabled[b-az6z5ce67f]{opacity:.45;cursor:not-allowed}
.market-product-list[b-az6z5ce67f]{border-top:1px solid rgba(148,163,184,.08)}.market-product-row[b-az6z5ce67f]{display:grid;grid-template-columns:minmax(260px,1fr) 100px 150px 120px;align-items:center;gap:14px;width:100%;padding:14px 20px;border:0;border-bottom:1px solid rgba(148,163,184,.08);color:#aebbd3;background:transparent;font:inherit;text-align:right;cursor:pointer}.market-product-row:hover[b-az6z5ce67f]{background:rgba(59,130,246,.08)}
.market-product-row span[b-az6z5ce67f]{display:grid;gap:5px}.market-product-row strong[b-az6z5ce67f]{color:#edf2ff;font-size:12px}.market-product-row small[b-az6z5ce67f]{color:#7f8eaa;font-size:10px}.market-product-row b[b-az6z5ce67f]{font-weight:700}.market-product-row__action[b-az6z5ce67f]{color:#93c5fd!important;font-size:11px;font-weight:900}
.market-pager[b-az6z5ce67f]{display:flex;align-items:center;justify-content:center;gap:14px;padding:15px;color:#8290ab;font-size:11px}.market-alert[b-az6z5ce67f]{margin:10px 20px;padding:12px 14px;border-radius:12px;font-size:11px;font-weight:800}.market-alert--error[b-az6z5ce67f]{color:#fca5a5;background:rgba(127,29,29,.24)}.market-alert--success[b-az6z5ce67f]{color:#86efac;background:rgba(22,101,52,.22)}.market-empty[b-az6z5ce67f]{display:grid;place-items:center;min-height:120px;padding:25px;color:#7f8eaa;font-size:12px}
.market-modal-backdrop[b-az6z5ce67f]{position:fixed;inset:0;z-index:2100;display:grid;place-items:center;padding:18px;background:rgba(2,6,23,.74);backdrop-filter:blur(8px)}.market-modal[b-az6z5ce67f]{width:min(1050px,100%);max-height:92vh;overflow:auto;border:1px solid rgba(148,163,184,.2);border-radius:24px;color:#e8eefc;background:#0d152c;box-shadow:0 30px 90px rgba(0,0,0,.45)}.market-modal>header[b-az6z5ce67f]{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px;border-bottom:1px solid rgba(148,163,184,.12)}.market-modal>header span[b-az6z5ce67f]{color:#8da2fb;font-size:11px;font-weight:900}.market-modal>header h2[b-az6z5ce67f]{margin:5px 0;color:#fff;font-size:21px}.market-modal>header small[b-az6z5ce67f]{color:#8391ae}.market-modal__close[b-az6z5ce67f]{width:38px;height:38px;border:0;border-radius:12px;color:#cbd5e1;background:rgba(148,163,184,.12);font-size:24px;cursor:pointer}
.market-summary[b-az6z5ce67f]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:18px 22px}.market-summary article[b-az6z5ce67f]{display:grid;gap:8px;padding:15px;border:1px solid rgba(148,163,184,.12);border-radius:15px;background:rgba(18,25,52,.7)}.market-summary span[b-az6z5ce67f]{color:#8290ab;font-size:10px}.market-summary strong[b-az6z5ce67f]{color:#fff;font-size:16px}.market-summary__suggested[b-az6z5ce67f]{border-color:rgba(52,211,153,.28)!important}.market-summary__suggested strong[b-az6z5ce67f]{color:#86efac}
.market-scan-actions[b-az6z5ce67f]{display:flex;align-items:center;gap:14px;padding:0 22px 18px}.market-scan-button[b-az6z5ce67f]{padding:12px 16px;border:0;border-radius:13px;color:#fff;background:linear-gradient(135deg,#4f46e5,#2563eb);font:inherit;font-weight:900;cursor:pointer}.market-scan-button:disabled[b-az6z5ce67f]{opacity:.5;cursor:not-allowed}.market-scan-actions span a[b-az6z5ce67f]{margin-right:6px;color:#93c5fd;font-weight:900}.market-scan-actions span[b-az6z5ce67f]{color:#8290ab;font-size:10px}
.market-offers[b-az6z5ce67f]{overflow-x:auto;border-top:1px solid rgba(148,163,184,.1)}.market-offers table[b-az6z5ce67f]{width:100%;min-width:850px;border-collapse:collapse}.market-offers th[b-az6z5ce67f],.market-offers td[b-az6z5ce67f]{padding:13px 16px;border-bottom:1px solid rgba(148,163,184,.08);text-align:right;font-size:10px}.market-offers th[b-az6z5ce67f]{color:#8290ab;background:rgba(8,15,36,.5)}.market-offers td[b-az6z5ce67f]{color:#aebbd3}.market-offers td strong[b-az6z5ce67f]{color:#edf2ff}.market-offers a[b-az6z5ce67f]{color:#93c5fd;font-weight:900}.market-stock[b-az6z5ce67f]{display:inline-flex;padding:4px 8px;border-radius:999px;color:#fca5a5;background:rgba(127,29,29,.2)}.market-stock--yes[b-az6z5ce67f]{color:#86efac;background:rgba(22,101,52,.2)}
@media(max-width:850px){.market-products__header[b-az6z5ce67f]{align-items:stretch;flex-direction:column}.market-product-row[b-az6z5ce67f]{grid-template-columns:1fr 80px}.market-product-row>span:nth-child(3)[b-az6z5ce67f]{display:none}.market-product-row__action[b-az6z5ce67f]{display:none!important}.market-summary[b-az6z5ce67f]{grid-template-columns:repeat(2,minmax(0,1fr))}.market-scan-actions[b-az6z5ce67f]{align-items:stretch;flex-direction:column}.market-scan-button[b-az6z5ce67f]{width:100%}}
@media(max-width:560px){.market-search[b-az6z5ce67f]{flex-direction:column}.market-product-row[b-az6z5ce67f]{grid-template-columns:1fr auto;padding:13px 15px}.market-summary[b-az6z5ce67f]{grid-template-columns:1fr 1fr;padding:14px}.market-modal-backdrop[b-az6z5ce67f]{padding:7px}.market-modal[b-az6z5ce67f]{max-height:96vh;border-radius:18px}.market-modal>header[b-az6z5ce67f]{padding:16px}}

.market-competitors[b-az6z5ce67f]{padding:18px 22px;border-bottom:1px solid rgba(148,163,184,.1);background:rgba(8,15,36,.22)}
.market-competitors__title[b-az6z5ce67f]{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:13px}.market-competitors__title div[b-az6z5ce67f]{display:grid;gap:4px}.market-competitors__title strong[b-az6z5ce67f]{color:#edf2ff;font-size:13px}.market-competitors__title small[b-az6z5ce67f]{color:#7f8eaa;font-size:10px}.market-competitors__title>span[b-az6z5ce67f]{padding:6px 10px;border-radius:999px;color:#86efac;background:rgba(22,101,52,.18);font-size:10px;font-weight:900}
.market-competitor-form[b-az6z5ce67f]{display:grid;grid-template-columns:minmax(140px,.45fr) minmax(260px,1fr) auto;gap:9px}.market-competitor-form input[b-az6z5ce67f]{min-width:0;padding:11px 13px;border:1px solid rgba(148,163,184,.18);border-radius:12px;color:#e8eefc;background:rgba(8,15,36,.55);font:inherit;outline:none}.market-competitor-form button[b-az6z5ce67f]{padding:10px 16px;border:0;border-radius:11px;color:#fff;background:#2563eb;font:inherit;font-weight:900;cursor:pointer}.market-competitor-form button:disabled[b-az6z5ce67f]{opacity:.5}
.market-competitor-list[b-az6z5ce67f]{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:9px;margin-top:13px}.market-competitor-list article[b-az6z5ce67f]{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;padding:11px 12px;border:1px solid rgba(96,165,250,.18);border-radius:13px;background:rgba(37,99,235,.07)}.market-competitor-list article>div[b-az6z5ce67f]{display:grid;gap:3px;min-width:0}.market-competitor-list strong[b-az6z5ce67f]{overflow:hidden;color:#e2e8f0;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.market-competitor-list a[b-az6z5ce67f]{overflow:hidden;color:#93c5fd;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.market-competitor-list label[b-az6z5ce67f]{display:flex;align-items:center;gap:5px;color:#aebbd3;font-size:9px;cursor:pointer}.market-competitor-delete[b-az6z5ce67f]{border:0;color:#fca5a5;background:transparent;font:inherit;font-size:9px;font-weight:900;cursor:pointer}.market-competitor--disabled[b-az6z5ce67f]{opacity:.5}.market-competitor-empty[b-az6z5ce67f]{margin-top:12px;padding:12px;border:1px dashed rgba(148,163,184,.18);border-radius:12px;color:#8290ab;font-size:10px;text-align:center}
@media(max-width:700px){.market-competitor-form[b-az6z5ce67f]{grid-template-columns:1fr}.market-competitors__title[b-az6z5ce67f]{align-items:flex-start;flex-direction:column}.market-competitor-list[b-az6z5ce67f]{grid-template-columns:1fr}}

/* Light mode for the real BazaarYar product-market component. */
body.erpdb-light .market-products[b-az6z5ce67f]{border-color:#dbe4f0;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.07);color:#0f172a}
body.erpdb-light .market-products__header[b-az6z5ce67f]{border-bottom-color:#e2e8f0}
body.erpdb-light .market-products__header span[b-az6z5ce67f]{color:var(--erp-primary-ink,#2563eb)}
body.erpdb-light .market-products__header h2[b-az6z5ce67f]{color:#0f172a}
body.erpdb-light .market-agent[b-az6z5ce67f]{color:#b91c1c;background:#fff1f2}
body.erpdb-light .market-agent--online[b-az6z5ce67f]{color:#15803d;background:#ecfdf3}
body.erpdb-light .market-search input[b-az6z5ce67f],
body.erpdb-light .market-competitor-form input[b-az6z5ce67f]{border-color:#dbe4f0;color:#0f172a;background:#fff}
body.erpdb-light .market-search input[b-az6z5ce67f]::placeholder,
body.erpdb-light .market-competitor-form input[b-az6z5ce67f]::placeholder{color:#94a3b8;opacity:1}
body.erpdb-light .market-product-list[b-az6z5ce67f]{border-top-color:#e8edf4}
body.erpdb-light .market-product-row[b-az6z5ce67f]{border-bottom-color:#e8edf4;color:#475569;background:transparent}
body.erpdb-light .market-product-row:hover[b-az6z5ce67f]{background:rgba(var(--erp-primary-rgb,37,99,235),.05)}
body.erpdb-light .market-product-row strong[b-az6z5ce67f]{color:#0f172a}
body.erpdb-light .market-product-row small[b-az6z5ce67f]{color:#64748b}
body.erpdb-light .market-product-row__action[b-az6z5ce67f]{color:var(--erp-primary-ink,#2563eb)!important}
body.erpdb-light .market-pager[b-az6z5ce67f]{color:#64748b}
body.erpdb-light .market-alert--error[b-az6z5ce67f]{color:#b91c1c;background:#fff1f2}
body.erpdb-light .market-alert--success[b-az6z5ce67f]{color:#15803d;background:#ecfdf3}
body.erpdb-light .market-empty[b-az6z5ce67f]{color:#64748b}
body.erpdb-light .market-modal-backdrop[b-az6z5ce67f]{background:rgba(15,23,42,.34)}
body.erpdb-light .market-modal[b-az6z5ce67f]{border-color:#dbe4f0;color:#0f172a;background:#fff;box-shadow:0 30px 90px rgba(15,23,42,.22)}
body.erpdb-light .market-modal>header[b-az6z5ce67f]{border-bottom-color:#e2e8f0}
body.erpdb-light .market-modal>header span[b-az6z5ce67f]{color:var(--erp-primary-ink,#2563eb)}
body.erpdb-light .market-modal>header h2[b-az6z5ce67f]{color:#0f172a}
body.erpdb-light .market-modal>header small[b-az6z5ce67f]{color:#64748b}
body.erpdb-light .market-modal__close[b-az6z5ce67f]{color:#475569;background:#f1f5f9}
body.erpdb-light .market-summary article[b-az6z5ce67f]{border-color:#e2e8f0;background:#f8fafc}
body.erpdb-light .market-summary span[b-az6z5ce67f]{color:#64748b}
body.erpdb-light .market-summary strong[b-az6z5ce67f]{color:#0f172a}
body.erpdb-light .market-summary__suggested strong[b-az6z5ce67f]{color:#15803d}
body.erpdb-light .market-scan-actions span[b-az6z5ce67f]{color:#64748b}
body.erpdb-light .market-scan-actions span a[b-az6z5ce67f]{color:var(--erp-primary-ink,#2563eb)}
body.erpdb-light .market-offers[b-az6z5ce67f]{border-top-color:#e2e8f0}
body.erpdb-light .market-offers th[b-az6z5ce67f],
body.erpdb-light .market-offers td[b-az6z5ce67f]{border-bottom-color:#e8edf4}
body.erpdb-light .market-offers th[b-az6z5ce67f]{color:#475569;background:#f8fafc}
body.erpdb-light .market-offers td[b-az6z5ce67f]{color:#475569}
body.erpdb-light .market-offers td strong[b-az6z5ce67f]{color:#0f172a}
body.erpdb-light .market-offers a[b-az6z5ce67f]{color:var(--erp-primary-ink,#2563eb)}
body.erpdb-light .market-stock[b-az6z5ce67f]{color:#b91c1c;background:#fee2e2}
body.erpdb-light .market-stock--yes[b-az6z5ce67f]{color:#15803d;background:#dcfce7}
body.erpdb-light .market-competitors[b-az6z5ce67f]{border-bottom-color:#e2e8f0;background:#f8fafc}
body.erpdb-light .market-competitors__title strong[b-az6z5ce67f]{color:#0f172a}
body.erpdb-light .market-competitors__title small[b-az6z5ce67f]{color:#64748b}
body.erpdb-light .market-competitors__title>span[b-az6z5ce67f]{color:#15803d;background:#dcfce7}
body.erpdb-light .market-competitor-list article[b-az6z5ce67f]{border-color:rgba(var(--erp-primary-rgb,37,99,235),.16);background:rgba(var(--erp-primary-rgb,37,99,235),.045)}
body.erpdb-light .market-competitor-list strong[b-az6z5ce67f]{color:#0f172a}
body.erpdb-light .market-competitor-list a[b-az6z5ce67f]{color:var(--erp-primary-ink,#2563eb)}
body.erpdb-light .market-competitor-list label[b-az6z5ce67f]{color:#475569}
body.erpdb-light .market-competitor-delete[b-az6z5ce67f]{color:#b91c1c}
body.erpdb-light .market-competitor-empty[b-az6z5ce67f]{border-color:#cbd5e1;color:#64748b;background:#fff}

.market-scanner-download[b-az6z5ce67f]{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:6px 12px;border:1px solid rgba(96,165,250,.36);border-radius:9px;color:#fff!important;background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 5px 14px rgba(37,99,235,.24);font-size:10px!important;font-weight:900;text-decoration:none!important;white-space:nowrap;transition:transform .15s ease,filter .15s ease}
.market-scanner-download:hover[b-az6z5ce67f]{filter:brightness(1.08);transform:translateY(-1px)}
.market-agent .market-scanner-download[b-az6z5ce67f]{margin-inline-start:2px;color:#fff!important}
.market-scan-actions .market-scanner-download[b-az6z5ce67f]{margin-right:8px;color:#fff!important}
body.erpdb-light .market-agent .market-scanner-download[b-az6z5ce67f],body.erpdb-light .market-scan-actions .market-scanner-download[b-az6z5ce67f]{color:#fff!important;background:linear-gradient(135deg,var(--erp-primary-ink,#2563eb),#1d4ed8)}
/* /Components/BazaarYar/BazaarYarScanActivity.razor.rz.scp.css */
.scan-audit[b-1cwxfve6li] {
    overflow: hidden;
    margin-top: 18px;
    border: 1px solid rgba(96, 165, 250, .18);
    border-radius: 20px;
    color: #dbe5f6;
    background: rgba(15, 23, 42, .82);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .14);
}

.scan-audit__header[b-1cwxfve6li] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 17px 20px;
    border-bottom: 1px solid rgba(148, 163, 184, .12);
}

.scan-audit__header > div[b-1cwxfve6li] {
    display: grid;
    gap: 4px;
}

.scan-audit__header span[b-1cwxfve6li] {
    color: #8da2fb;
    font-size: 10px;
    font-weight: 900;
}

.scan-audit__header h2[b-1cwxfve6li] {
    margin: 0;
    color: #f8fafc;
    font-size: 16px;
    font-weight: 950;
}

.scan-audit__header small[b-1cwxfve6li] {
    color: #8998b5;
    font-size: 10px;
}

.scan-audit__header > strong[b-1cwxfve6li] {
    flex: 0 0 auto;
    padding: 7px 11px;
    border-radius: 999px;
    color: #bfdbfe;
    background: rgba(37, 99, 235, .16);
    font-size: 10px;
    font-weight: 900;
}

.scan-audit__filters[b-1cwxfve6li] {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(148, 163, 184, .08);
}

.scan-audit__filters button[b-1cwxfve6li],
.scan-audit__more[b-1cwxfve6li] {
    border: 1px solid rgba(148, 163, 184, .14);
    color: #a9b6cc;
    background: rgba(30, 41, 59, .46);
    font: inherit;
    font-size: 10px;
    font-weight: 850;
    cursor: pointer;
}

.scan-audit__filters button[b-1cwxfve6li] {
    padding: 7px 11px;
    border-radius: 999px;
}

.scan-audit__filters button:hover[b-1cwxfve6li],
.scan-audit__filters button.is-active[b-1cwxfve6li] {
    border-color: rgba(96, 165, 250, .34);
    color: #dbeafe;
    background: rgba(37, 99, 235, .18);
}

.scan-audit__table-wrap[b-1cwxfve6li] {
    overflow-x: auto;
}

.scan-audit__table[b-1cwxfve6li] {
    width: 100%;
    min-width: 1080px;
    border-collapse: collapse;
}

.scan-audit__table th[b-1cwxfve6li],
.scan-audit__table td[b-1cwxfve6li] {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(148, 163, 184, .08);
    text-align: right;
    vertical-align: middle;
    font-size: 10px;
}

.scan-audit__table th[b-1cwxfve6li] {
    color: #8090ae;
    background: rgba(8, 15, 36, .34);
    font-weight: 900;
    white-space: nowrap;
}

.scan-audit__table td[b-1cwxfve6li] {
    color: #b3bfd3;
}

.scan-audit__table tbody tr:hover[b-1cwxfve6li] {
    background: rgba(59, 130, 246, .05);
}

.scan-audit__product[b-1cwxfve6li] {
    min-width: 220px;
}

.scan-audit__product strong[b-1cwxfve6li],
.scan-audit__product small[b-1cwxfve6li],
.scan-audit__product em[b-1cwxfve6li],
.scan-audit__table td > strong[b-1cwxfve6li],
.scan-audit__table td > small[b-1cwxfve6li],
.scan-audit__lowest strong[b-1cwxfve6li],
.scan-audit__lowest small[b-1cwxfve6li] {
    display: block;
}

.scan-audit__product strong[b-1cwxfve6li],
.scan-audit__table td > strong[b-1cwxfve6li],
.scan-audit__lowest strong[b-1cwxfve6li] {
    color: #eef4ff;
    font-size: 10px;
    font-weight: 900;
}

.scan-audit__product small[b-1cwxfve6li],
.scan-audit__table td > small[b-1cwxfve6li],
.scan-audit__lowest small[b-1cwxfve6li] {
    margin-top: 3px;
    color: #7585a3;
    font-size: 9px;
}

.scan-audit__lowest small:not(.scan-audit__muted)[b-1cwxfve6li] {
    color: #93c5fd;
    font-weight: 900;
}

.scan-audit__muted[b-1cwxfve6li] {
    color: #7585a3 !important;
    font-weight: 700 !important;
}

.scan-audit__product em[b-1cwxfve6li] {
    max-width: 360px;
    margin-top: 5px;
    color: #fca5a5;
    font-size: 9px;
    font-style: normal;
    line-height: 1.7;
}

.scan-audit__status[b-1cwxfve6li] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 950;
    white-space: nowrap;
}

.scan-audit__status--completed[b-1cwxfve6li] {
    color: #86efac;
    background: rgba(22, 101, 52, .22);
}

.scan-audit__status--scanning[b-1cwxfve6li] {
    color: #bfdbfe;
    background: rgba(37, 99, 235, .18);
}

.scan-audit__status--failed[b-1cwxfve6li] {
    color: #fca5a5;
    background: rgba(127, 29, 29, .24);
}

.scan-audit__gap[b-1cwxfve6li] {
    font-weight: 900;
    white-space: nowrap;
}

.scan-audit__gap--high[b-1cwxfve6li] {
    color: #fca5a5;
}

.scan-audit__gap--low[b-1cwxfve6li] {
    color: #86efac;
}

.scan-audit__result-muted[b-1cwxfve6li] {
    color: #93c5fd;
}

.scan-audit__result-error[b-1cwxfve6li] {
    color: #fca5a5;
    font-weight: 900;
}

.scan-audit__details-button[b-1cwxfve6li] {
    min-width: 74px;
    padding: 7px 10px;
    border: 1px solid rgba(96, 165, 250, .28);
    border-radius: 10px;
    color: #bfdbfe;
    background: rgba(37, 99, 235, .14);
    font: inherit;
    font-size: 9px;
    font-weight: 900;
    cursor: pointer;
}

.scan-audit__details-button:hover:not(:disabled)[b-1cwxfve6li] {
    color: #fff;
    background: rgba(37, 99, 235, .28);
}

.scan-audit__details-button:disabled[b-1cwxfve6li] {
    opacity: .55;
    cursor: wait;
}

.scan-audit__more[b-1cwxfve6li] {
    display: block;
    width: calc(100% - 40px);
    margin: 11px 20px 15px;
    padding: 9px 12px;
    border-radius: 11px;
}

.scan-audit__more:hover[b-1cwxfve6li] {
    color: #dbeafe;
    background: rgba(37, 99, 235, .14);
}

.scan-audit__empty[b-1cwxfve6li] {
    padding: 26px 20px;
    color: #7f8eaa;
    font-size: 11px;
    text-align: center;
}

.scan-audit__empty strong[b-1cwxfve6li],
.scan-audit__empty span[b-1cwxfve6li] {
    display: block;
}

.scan-audit__empty span[b-1cwxfve6li] {
    margin-top: 6px;
}

.scan-audit-modal-backdrop[b-1cwxfve6li] {
    position: fixed;
    inset: 0;
    z-index: 2300;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(2, 6, 23, .76);
    backdrop-filter: blur(8px);
}

.scan-audit-modal[b-1cwxfve6li] {
    width: min(1120px, 100%);
    max-height: 92vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 22px;
    color: #dbe5f6;
    background: #0d152c;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .48);
}

.scan-audit-modal > header[b-1cwxfve6li] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    border-bottom: 1px solid rgba(148, 163, 184, .12);
}

.scan-audit-modal > header span[b-1cwxfve6li] {
    color: #8da2fb;
    font-size: 10px;
    font-weight: 900;
}

.scan-audit-modal > header h2[b-1cwxfve6li] {
    margin: 5px 0;
    color: #f8fafc;
    font-size: 19px;
}

.scan-audit-modal > header small[b-1cwxfve6li] {
    color: #8290ab;
    font-size: 10px;
}

.scan-audit-modal__close[b-1cwxfve6li] {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 12px;
    color: #cbd5e1;
    background: rgba(148, 163, 184, .12);
    font-size: 24px;
    cursor: pointer;
}

.scan-audit-modal__summary[b-1cwxfve6li] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 16px 22px;
}

.scan-audit-modal__summary article[b-1cwxfve6li] {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, .12);
    border-radius: 14px;
    background: rgba(18, 25, 52, .72);
}

.scan-audit-modal__summary span[b-1cwxfve6li],
.scan-audit-modal__summary small[b-1cwxfve6li] {
    color: #8290ab;
    font-size: 9px;
}

.scan-audit-modal__summary strong[b-1cwxfve6li] {
    color: #f8fafc;
    font-size: 14px;
}

.scan-audit-modal__summary--lowest[b-1cwxfve6li] {
    border-color: rgba(52, 211, 153, .25) !important;
}

.scan-audit-modal__summary--lowest strong[b-1cwxfve6li],
.scan-audit-modal__summary--lowest small[b-1cwxfve6li] {
    color: #86efac;
}

.scan-audit-modal__loading[b-1cwxfve6li],
.scan-audit-modal__error[b-1cwxfve6li],
.scan-audit-modal__empty[b-1cwxfve6li] {
    padding: 34px 22px;
    text-align: center;
    font-size: 11px;
}

.scan-audit-modal__loading[b-1cwxfve6li],
.scan-audit-modal__empty[b-1cwxfve6li] {
    color: #8290ab;
}

.scan-audit-modal__error[b-1cwxfve6li] {
    color: #fca5a5;
}

.scan-audit-modal__table-wrap[b-1cwxfve6li] {
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
    border-top: 1px solid rgba(148, 163, 184, .1);
    scrollbar-width: thin;
    scrollbar-color: rgba(129, 140, 248, .55) rgba(15, 23, 42, .35);
}

.scan-audit-modal--diagnostics[b-1cwxfve6li] {
    width: min(1320px, calc(100vw - 32px));
}

.scan-audit-modal--diagnostics .scan-audit-modal__table-wrap[b-1cwxfve6li] {
    flex: 1 1 auto;
}

.scan-audit-modal__table--diagnostics[b-1cwxfve6li] {
    min-width: 1180px;
    table-layout: fixed;
}

.scan-audit-modal__table--diagnostics th[b-1cwxfve6li] {
    position: sticky;
    top: 0;
    z-index: 2;
    white-space: nowrap;
    background: #111b34;
}

.scan-audit-modal__table--diagnostics th:nth-child(1)[b-1cwxfve6li],
.scan-audit-modal__table--diagnostics td:nth-child(1)[b-1cwxfve6li] { width: 9%; }
.scan-audit-modal__table--diagnostics th:nth-child(2)[b-1cwxfve6li],
.scan-audit-modal__table--diagnostics td:nth-child(2)[b-1cwxfve6li] { width: 20%; }
.scan-audit-modal__table--diagnostics th:nth-child(3)[b-1cwxfve6li],
.scan-audit-modal__table--diagnostics td:nth-child(3)[b-1cwxfve6li] { width: 9%; }
.scan-audit-modal__table--diagnostics th:nth-child(4)[b-1cwxfve6li],
.scan-audit-modal__table--diagnostics td:nth-child(4)[b-1cwxfve6li] { width: 7%; }
.scan-audit-modal__table--diagnostics th:nth-child(5)[b-1cwxfve6li],
.scan-audit-modal__table--diagnostics td:nth-child(5)[b-1cwxfve6li] { width: 7%; }
.scan-audit-modal__table--diagnostics th:nth-child(6)[b-1cwxfve6li],
.scan-audit-modal__table--diagnostics td:nth-child(6)[b-1cwxfve6li] { width: 9%; }
.scan-audit-modal__table--diagnostics th:nth-child(7)[b-1cwxfve6li],
.scan-audit-modal__table--diagnostics td:nth-child(7)[b-1cwxfve6li] { width: 9%; }
.scan-audit-modal__table--diagnostics th:nth-child(8)[b-1cwxfve6li],
.scan-audit-modal__table--diagnostics td:nth-child(8)[b-1cwxfve6li] { width: 12%; }
.scan-audit-modal__table--diagnostics th:nth-child(9)[b-1cwxfve6li],
.scan-audit-modal__table--diagnostics td:nth-child(9)[b-1cwxfve6li] { width: 13%; }
.scan-audit-modal__table--diagnostics th:nth-child(10)[b-1cwxfve6li],
.scan-audit-modal__table--diagnostics td:nth-child(10)[b-1cwxfve6li] { width: 5%; }

.scan-audit-modal__table--diagnostics td[b-1cwxfve6li] {
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.scan-audit-modal__table[b-1cwxfve6li] {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
}

.scan-audit-modal__table th[b-1cwxfve6li],
.scan-audit-modal__table td[b-1cwxfve6li] {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(148, 163, 184, .08);
    text-align: right;
    vertical-align: middle;
    font-size: 10px;
}

.scan-audit-modal__table th[b-1cwxfve6li] {
    color: #8290ab;
    background: rgba(8, 15, 36, .46);
    font-weight: 900;
}

.scan-audit-modal__table td[b-1cwxfve6li] {
    color: #aebbd3;
}

.scan-audit-modal__table td strong[b-1cwxfve6li] {
    color: #edf2ff;
}

.scan-audit-modal__table tr.is-lowest[b-1cwxfve6li] {
    background: rgba(34, 197, 94, .055);
}

.scan-audit-modal__lowest-badge[b-1cwxfve6li] {
    display: inline-flex;
    margin-right: 6px;
    padding: 3px 6px;
    border-radius: 999px;
    color: #86efac;
    background: rgba(22, 101, 52, .2);
    font-size: 8px;
    font-weight: 900;
}

.scan-audit-modal__stock[b-1cwxfve6li] {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    color: #fca5a5;
    background: rgba(127, 29, 29, .2);
    font-size: 9px;
    font-weight: 900;
}

.scan-audit-modal__stock.is-available[b-1cwxfve6li] {
    color: #86efac;
    background: rgba(22, 101, 52, .2);
}

.scan-audit-modal__table a[b-1cwxfve6li] {
    color: #93c5fd;
    font-weight: 900;
}

body.erpdb-light .scan-audit[b-1cwxfve6li] {
    border-color: #dbe4f0;
    color: #334155;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .07);
}

body.erpdb-light .scan-audit__header[b-1cwxfve6li] {
    border-bottom-color: #e2e8f0;
}

body.erpdb-light .scan-audit__header span[b-1cwxfve6li] {
    color: var(--erp-primary-ink, #2563eb);
}

body.erpdb-light .scan-audit__header h2[b-1cwxfve6li] {
    color: #0f172a;
}

body.erpdb-light .scan-audit__header small[b-1cwxfve6li] {
    color: #64748b;
}

body.erpdb-light .scan-audit__header > strong[b-1cwxfve6li] {
    color: var(--erp-primary-ink, #1d4ed8);
    background: rgba(var(--erp-primary-rgb, 37, 99, 235), .09);
}

body.erpdb-light .scan-audit__filters[b-1cwxfve6li] {
    border-bottom-color: #e8edf4;
}

body.erpdb-light .scan-audit__filters button[b-1cwxfve6li],
body.erpdb-light .scan-audit__more[b-1cwxfve6li] {
    border-color: #dbe4f0;
    color: #475569;
    background: #f8fafc;
}

body.erpdb-light .scan-audit__filters button:hover[b-1cwxfve6li],
body.erpdb-light .scan-audit__filters button.is-active[b-1cwxfve6li],
body.erpdb-light .scan-audit__more:hover[b-1cwxfve6li] {
    border-color: rgba(var(--erp-primary-rgb, 37, 99, 235), .24);
    color: var(--erp-primary-ink, #1d4ed8);
    background: rgba(var(--erp-primary-rgb, 37, 99, 235), .07);
}

body.erpdb-light .scan-audit__table th[b-1cwxfve6li],
body.erpdb-light .scan-audit__table td[b-1cwxfve6li] {
    border-bottom-color: #e8edf4;
}

body.erpdb-light .scan-audit__table th[b-1cwxfve6li] {
    color: #475569;
    background: #f8fafc;
}

body.erpdb-light .scan-audit__table td[b-1cwxfve6li] {
    color: #475569;
}

body.erpdb-light .scan-audit__table tbody tr:hover[b-1cwxfve6li] {
    background: rgba(var(--erp-primary-rgb, 37, 99, 235), .04);
}

body.erpdb-light .scan-audit__product strong[b-1cwxfve6li],
body.erpdb-light .scan-audit__table td > strong[b-1cwxfve6li],
body.erpdb-light .scan-audit__lowest strong[b-1cwxfve6li] {
    color: #0f172a;
}

body.erpdb-light .scan-audit__product small[b-1cwxfve6li],
body.erpdb-light .scan-audit__table td > small[b-1cwxfve6li],
body.erpdb-light .scan-audit__muted[b-1cwxfve6li] {
    color: #64748b !important;
}

body.erpdb-light .scan-audit__lowest small:not(.scan-audit__muted)[b-1cwxfve6li] {
    color: var(--erp-primary-ink, #2563eb);
}

body.erpdb-light .scan-audit__product em[b-1cwxfve6li],
body.erpdb-light .scan-audit__result-error[b-1cwxfve6li],
body.erpdb-light .scan-audit__gap--high[b-1cwxfve6li] {
    color: #b91c1c;
}

body.erpdb-light .scan-audit__status--completed[b-1cwxfve6li],
body.erpdb-light .scan-audit__gap--low[b-1cwxfve6li] {
    color: #15803d;
}

body.erpdb-light .scan-audit__status--completed[b-1cwxfve6li] {
    background: #dcfce7;
}

body.erpdb-light .scan-audit__status--scanning[b-1cwxfve6li] {
    color: var(--erp-primary-ink, #1d4ed8);
    background: rgba(var(--erp-primary-rgb, 37, 99, 235), .09);
}

body.erpdb-light .scan-audit__status--failed[b-1cwxfve6li] {
    color: #b91c1c;
    background: #fee2e2;
}

body.erpdb-light .scan-audit__result-muted[b-1cwxfve6li] {
    color: var(--erp-primary-ink, #2563eb);
}

body.erpdb-light .scan-audit__details-button[b-1cwxfve6li] {
    border-color: rgba(var(--erp-primary-rgb, 37, 99, 235), .22);
    color: var(--erp-primary-ink, #1d4ed8);
    background: rgba(var(--erp-primary-rgb, 37, 99, 235), .07);
}

body.erpdb-light .scan-audit__details-button:hover:not(:disabled)[b-1cwxfve6li] {
    color: #fff;
    background: var(--erp-primary-ink, #2563eb);
}

body.erpdb-light .scan-audit__empty[b-1cwxfve6li] {
    color: #64748b;
}

body.erpdb-light .scan-audit-modal-backdrop[b-1cwxfve6li] {
    background: rgba(15, 23, 42, .38);
}

body.erpdb-light .scan-audit-modal[b-1cwxfve6li] {
    border-color: #dbe4f0;
    color: #334155;
    background: #ffffff;
    box-shadow: 0 30px 90px rgba(15, 23, 42, .24);
}

body.erpdb-light .scan-audit-modal > header[b-1cwxfve6li] {
    border-bottom-color: #e2e8f0;
}

body.erpdb-light .scan-audit-modal > header span[b-1cwxfve6li],
body.erpdb-light .scan-audit-modal__table a[b-1cwxfve6li] {
    color: var(--erp-primary-ink, #2563eb);
}

body.erpdb-light .scan-audit-modal > header h2[b-1cwxfve6li],
body.erpdb-light .scan-audit-modal__summary strong[b-1cwxfve6li],
body.erpdb-light .scan-audit-modal__table td strong[b-1cwxfve6li] {
    color: #0f172a;
}

body.erpdb-light .scan-audit-modal > header small[b-1cwxfve6li],
body.erpdb-light .scan-audit-modal__summary span[b-1cwxfve6li],
body.erpdb-light .scan-audit-modal__summary small[b-1cwxfve6li],
body.erpdb-light .scan-audit-modal__loading[b-1cwxfve6li],
body.erpdb-light .scan-audit-modal__empty[b-1cwxfve6li] {
    color: #64748b;
}

body.erpdb-light .scan-audit-modal__close[b-1cwxfve6li] {
    color: #475569;
    background: #f1f5f9;
}

body.erpdb-light .scan-audit-modal__summary article[b-1cwxfve6li] {
    border-color: #e2e8f0;
    background: #f8fafc;
}

body.erpdb-light .scan-audit-modal__summary--lowest strong[b-1cwxfve6li],
body.erpdb-light .scan-audit-modal__summary--lowest small[b-1cwxfve6li],
body.erpdb-light .scan-audit-modal__lowest-badge[b-1cwxfve6li],
body.erpdb-light .scan-audit-modal__stock.is-available[b-1cwxfve6li] {
    color: #15803d;
}

body.erpdb-light .scan-audit-modal__lowest-badge[b-1cwxfve6li],
body.erpdb-light .scan-audit-modal__stock.is-available[b-1cwxfve6li] {
    background: #dcfce7;
}

body.erpdb-light .scan-audit-modal__table-wrap[b-1cwxfve6li],
body.erpdb-light .scan-audit-modal__table th[b-1cwxfve6li],
body.erpdb-light .scan-audit-modal__table td[b-1cwxfve6li] {
    border-color: #e8edf4;
}

body.erpdb-light .scan-audit-modal__table th[b-1cwxfve6li] {
    color: #475569;
    background: #f8fafc;
}

body.erpdb-light .scan-audit-modal__table--diagnostics th[b-1cwxfve6li] {
    background: #f1f5f9;
}

body.erpdb-light .scan-audit-modal__table td[b-1cwxfve6li] {
    color: #475569;
}

body.erpdb-light .scan-audit-modal__table tr.is-lowest[b-1cwxfve6li] {
    background: #f0fdf4;
}

body.erpdb-light .scan-audit-modal__stock[b-1cwxfve6li] {
    color: #b91c1c;
    background: #fee2e2;
}

body.erpdb-light .scan-audit-modal__error[b-1cwxfve6li] {
    color: #b91c1c;
}

@media (max-width: 1180px) {
    .scan-audit-modal--diagnostics[b-1cwxfve6li] {
        width: calc(100vw - 20px);
    }

    .scan-audit-modal__table--diagnostics[b-1cwxfve6li] {
        min-width: 1080px;
    }
}

@media (max-width: 850px) {
    .scan-audit-modal__summary[b-1cwxfve6li] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .scan-audit__header[b-1cwxfve6li] {
        align-items: flex-start;
        flex-direction: column;
    }

    .scan-audit__table[b-1cwxfve6li] {
        min-width: 0;
    }

    .scan-audit__table thead[b-1cwxfve6li] {
        display: none;
    }

    .scan-audit__table[b-1cwxfve6li],
    .scan-audit__table tbody[b-1cwxfve6li],
    .scan-audit__table tr[b-1cwxfve6li],
    .scan-audit__table td[b-1cwxfve6li] {
        display: block;
        width: 100%;
    }

    .scan-audit__table tr[b-1cwxfve6li] {
        padding: 8px 14px;
        border-bottom: 1px solid rgba(148, 163, 184, .1);
    }

    .scan-audit__table td[b-1cwxfve6li] {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;
        padding: 7px 0;
        border: 0;
        text-align: left;
    }

    .scan-audit__table td[b-1cwxfve6li]::before {
        content: attr(data-label);
        flex: 0 0 105px;
        color: #7f8eaa;
        text-align: right;
        font-weight: 850;
    }

    .scan-audit__product[b-1cwxfve6li] {
        min-width: 0;
    }

    .scan-audit__product > *[b-1cwxfve6li] {
        max-width: calc(100% - 115px);
    }

    .scan-audit-modal-backdrop[b-1cwxfve6li] {
        padding: 7px;
    }

    .scan-audit-modal[b-1cwxfve6li] {
        max-height: 96vh;
        border-radius: 17px;
    }

    .scan-audit-modal > header[b-1cwxfve6li] {
        padding: 16px;
    }

    .scan-audit-modal__summary[b-1cwxfve6li] {
        grid-template-columns: 1fr 1fr;
        padding: 13px;
    }

    body.erpdb-light .scan-audit__table tr[b-1cwxfve6li] {
        border-bottom-color: #e8edf4;
    }

    body.erpdb-light .scan-audit__table td[b-1cwxfve6li]::before {
        color: #64748b;
    }
}
/* /Components/BazaarYar/BazaarYarScanAllButton.razor.rz.scp.css */
.scan-all-wrap[b-wfykdzgg5x] {
    position: relative;
    z-index: 1;
    min-width: 290px;
}

.scan-all-button[b-wfykdzgg5x] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 68px;
    padding: 12px 16px;
    border: 0;
    border-radius: 17px;
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #2563eb);
    box-shadow: 0 14px 30px rgba(37, 99, 235, .28);
    font: inherit;
    text-align: right;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.scan-all-button:hover:not(:disabled)[b-wfykdzgg5x] {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(37, 99, 235, .38);
}

.scan-all-button:disabled[b-wfykdzgg5x] {
    opacity: .7;
    cursor: wait;
}

.scan-all-button__icon[b-wfykdzgg5x] {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .14);
    font-size: 23px;
}

.scan-all-button strong[b-wfykdzgg5x],
.scan-all-button small[b-wfykdzgg5x] {
    display: block;
}

.scan-all-button strong[b-wfykdzgg5x] {
    font-size: 13px;
    font-weight: 950;
}

.scan-all-button small[b-wfykdzgg5x] {
    margin-top: 4px;
    color: #dbeafe;
    font-size: 10px;
}

.scan-all-progress[b-wfykdzgg5x] {
    margin-top: 10px;
    padding: 11px 12px;
    border: 1px solid rgba(96, 165, 250, .22);
    border-radius: 13px;
    background: rgba(15, 23, 42, .82);
}

.scan-all-progress__head[b-wfykdzgg5x] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #cbd5e1;
    font-size: 10px;
}

.scan-all-progress__head strong[b-wfykdzgg5x] {
    color: #bfdbfe;
}

.scan-all-progress__track[b-wfykdzgg5x] {
    overflow: hidden;
    height: 7px;
    margin: 8px 0 6px;
    border-radius: 999px;
    background: rgba(148, 163, 184, .16);
}

.scan-all-progress__track i[b-wfykdzgg5x] {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #38bdf8, #6366f1);
    transition: width .3s ease;
}

.scan-all-progress small[b-wfykdzgg5x] {
    color: #8290ad;
    font-size: 9px;
}

.scan-all-message[b-wfykdzgg5x] {
    margin-top: 9px;
    padding: 9px 11px;
    border-radius: 11px;
    font-size: 10px;
    font-weight: 750;
    line-height: 1.8;
}

.scan-all-message--success[b-wfykdzgg5x] {
    color: #86efac;
    background: rgba(22, 101, 52, .2);
}

.scan-all-message--error[b-wfykdzgg5x] {
    color: #fca5a5;
    background: rgba(127, 29, 29, .22);
}

body.erpdb-light .scan-all-progress[b-wfykdzgg5x] {
    border-color: rgba(var(--erp-primary-rgb, 37, 99, 235), .18);
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .07);
}

body.erpdb-light .scan-all-progress__head[b-wfykdzgg5x] { color: #475569; }
body.erpdb-light .scan-all-progress__head strong[b-wfykdzgg5x] { color: var(--erp-primary-ink, #2563eb); }
body.erpdb-light .scan-all-progress__track[b-wfykdzgg5x] { background: #e2e8f0; }
body.erpdb-light .scan-all-progress small[b-wfykdzgg5x] { color: #64748b; }
body.erpdb-light .scan-all-message--success[b-wfykdzgg5x] { color: #15803d; background: #ecfdf3; }
body.erpdb-light .scan-all-message--error[b-wfykdzgg5x] { color: #b91c1c; background: #fff1f2; }

@media (max-width: 700px) {
    .scan-all-wrap[b-wfykdzgg5x] {
        width: 100%;
        min-width: 0;
    }
}


.scan-all-controls[b-wfykdzgg5x] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 9px;
}

.scan-control[b-wfykdzgg5x] {
    min-height: 38px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 11px;
    font: inherit;
    font-size: 10px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .18s ease, filter .18s ease, background-color .18s ease;
}

.scan-control:hover[b-wfykdzgg5x] {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.scan-control--pause[b-wfykdzgg5x] {
    color: #fcd34d;
    border-color: rgba(245, 158, 11, .35);
    background: rgba(120, 53, 15, .38);
}

.scan-control--resume[b-wfykdzgg5x] {
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, .36);
    background: rgba(6, 78, 59, .42);
}

.scan-control--stop[b-wfykdzgg5x] {
    color: #fca5a5;
    border-color: rgba(239, 68, 68, .38);
    background: rgba(127, 29, 29, .4);
}

body.erpdb-light .scan-control--pause[b-wfykdzgg5x] {
    color: #92400e;
    background: #fffbeb;
}

body.erpdb-light .scan-control--resume[b-wfykdzgg5x] {
    color: #047857;
    background: #ecfdf5;
}

body.erpdb-light .scan-control--stop[b-wfykdzgg5x] {
    color: #b91c1c;
    background: #fff1f2;
}
/* /Components/Dashboard/Components/DashboardAIInsights.razor.rz.scp.css */
.ai-panel[b-3fp1y2vgq8] {
    padding: 24px;
    border-radius: 24px;
    background: linear-gradient(135deg,#0f172a,#1e293b);
    color: white;
    box-shadow: 0 18px 45px rgba(15,23,42,.18);
}

.ai-header[b-3fp1y2vgq8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

    .ai-header h3[b-3fp1y2vgq8] {
        margin: 0;
        font-size: 24px;
        font-weight: 900;
    }

    .ai-header small[b-3fp1y2vgq8] {
        color: #cbd5e1;
    }

.ai-grid[b-3fp1y2vgq8] {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
}

.ai-item[b-3fp1y2vgq8] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,.06);
    transition: .25s;
}

    .ai-item:hover[b-3fp1y2vgq8] {
        background: rgba(255,255,255,.12);
    }

    .ai-item .mud-icon-root[b-3fp1y2vgq8] {
        font-size: 34px;
    }

    .ai-item.success[b-3fp1y2vgq8] {
        border-right: 4px solid #22c55e;
    }

    .ai-item.info[b-3fp1y2vgq8] {
        border-right: 4px solid var(--erp-primary, #3b82f6);
    }

    .ai-item.warning[b-3fp1y2vgq8] {
        border-right: 4px solid #f59e0b;
    }

    .ai-item.danger[b-3fp1y2vgq8] {
        border-right: 4px solid #ef4444;
    }

    .ai-item strong[b-3fp1y2vgq8] {
        display: block;
        margin-bottom: 4px;
    }

    .ai-item small[b-3fp1y2vgq8] {
        color: #cbd5e1;
    }

@media(max-width:900px) {

    .ai-grid[b-3fp1y2vgq8] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Dashboard/Components/DashboardAlerts.razor.rz.scp.css */
.alerts-card[b-5thjmljl6n] {
    padding: 24px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(15,23,42,.05);
}

.alerts-header[b-5thjmljl6n] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

    .alerts-header h3[b-5thjmljl6n] {
        margin: 0;
        font-size: 22px;
        font-weight: 900;
    }

    .alerts-header small[b-5thjmljl6n] {
        color: #64748b;
    }

.alerts-list[b-5thjmljl6n] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.alert-row[b-5thjmljl6n] {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px;
    border-radius: 18px;
    transition: .25s;
}

    .alert-row:hover[b-5thjmljl6n] {
        transform: translateX(-4px);
    }

    .alert-row .mud-icon-root[b-5thjmljl6n] {
        font-size: 30px;
    }

    .alert-row.warning[b-5thjmljl6n] {
        background: #fff7ed;
        color: #ea580c;
    }

    .alert-row.info[b-5thjmljl6n] {
        background: #eff6ff;
        color: var(--erp-primary, #2563eb);
    }

    .alert-row.success[b-5thjmljl6n] {
        background: #ecfdf5;
        color: #16a34a;
    }

    .alert-row.primary[b-5thjmljl6n] {
        background: #eef2ff;
        color: var(--erp-primary, #4f46e5);
    }

    .alert-row strong[b-5thjmljl6n] {
        display: block;
    }

    .alert-row small[b-5thjmljl6n] {
        color: #64748b;
    }
/* /Components/Dashboard/Components/DashboardFinancialOverview.razor.rz.scp.css */
.finance-card[b-ethwf351f7] {
    padding: 24px;
    border-radius: 24px;
    background: white;
    box-shadow: 0 15px 35px rgba(15,23,42,.05);
}

.finance-header[b-ethwf351f7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

    .finance-header h3[b-ethwf351f7] {
        margin: 0;
        font-size: 22px;
        font-weight: 900;
    }

    .finance-header small[b-ethwf351f7] {
        color: #64748b;
    }

.finance-grid[b-ethwf351f7] {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.finance-item[b-ethwf351f7] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border-radius: 18px;
    background: #f8fafc;
    transition: .25s;
}

    .finance-item:hover[b-ethwf351f7] {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(15,23,42,.08);
    }

    .finance-item .mud-icon-root[b-ethwf351f7] {
        font-size: 34px;
        color: var(--erp-primary, #2563eb);
    }

    .finance-item span[b-ethwf351f7] {
        display: block;
        color: #64748b;
        margin-bottom: 6px;
    }

    .finance-item strong[b-ethwf351f7] {
        font-size: 18px;
        font-weight: 900;
        color: #0f172a;
    }

@media(max-width:900px) {

    .finance-grid[b-ethwf351f7] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Dashboard/Components/DashboardStatusCards.razor.rz.scp.css */
.status-grid[b-2kq1p1fn5q] {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}

.status-card[b-2kq1p1fn5q] {
    padding: 20px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 12px 35px rgba(15,23,42,.05);
    transition: .25s;
}

    .status-card:hover[b-2kq1p1fn5q] {
        transform: translateY(-4px);
    }

    .status-card .mud-icon-root[b-2kq1p1fn5q] {
        font-size: 36px;
        color: var(--erp-primary, #2563eb);
    }

    .status-card div[b-2kq1p1fn5q] {
        flex: 1;
    }

    .status-card strong[b-2kq1p1fn5q] {
        display: block;
        font-size: 16px;
    }

    .status-card small[b-2kq1p1fn5q] {
        color: #64748b;
    }

@media(max-width:1100px) {

    .status-grid[b-2kq1p1fn5q] {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width:700px) {

    .status-grid[b-2kq1p1fn5q] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Dashboard/Components/RecentInvoices.razor.rz.scp.css */
.invoice-card[b-jft129uoa3] {
    padding: 24px;
    border-radius: 24px;
    box-shadow: 0 12px 35px rgba(15,23,42,.05);
}

.invoice-header[b-jft129uoa3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

    .invoice-header h3[b-jft129uoa3] {
        margin: 0;
        font-size: 22px;
        font-weight: 900;
    }

    .invoice-header small[b-jft129uoa3] {
        color: #64748b;
    }

.invoice-empty[b-jft129uoa3] {
    padding: 55px 0;
    text-align: center;
}

    .invoice-empty .mud-icon-root[b-jft129uoa3] {
        font-size: 70px;
        color: var(--erp-primary, #2563eb);
    }

    .invoice-empty h4[b-jft129uoa3] {
        margin-top: 16px;
    }

    .invoice-empty p[b-jft129uoa3] {
        color: #64748b;
    }
/* /Components/Dashboard/Components/StatCard.razor.rz.scp.css */
.erp-stat-card[b-w934axlkw3] {
    background: #ffffff;
    border: 1px solid #dbe4f0;
    border-radius: 24px;
    padding: 24px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.04);
    transition: 0.25s ease;
}

    .erp-stat-card:hover[b-w934axlkw3] {
        transform: translateY(-4px);
        box-shadow: 0 22px 45px rgba(15, 23, 42, 0.10);
    }

.erp-stat-icon[b-w934axlkw3] {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: #eef4ff;
    color: var(--erp-primary, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
}

.erp-stat-title[b-w934axlkw3] {
    color: #64748b;
    font-weight: 800;
}

.erp-stat-value[b-w934axlkw3] {
    color: #0f172a;
    font-size: 34px;
    font-weight: 900;
}

.erp-stat-footer[b-w934axlkw3] {
    display: flex;
    gap: 8px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 700;
}

.erp-trend-positive[b-w934axlkw3] {
    color: #16a34a;
}

.erp-trend-negative[b-w934axlkw3] {
    color: #dc2626;
}
/* /Components/Dashboard/Components/TodaySalesCard.razor.rz.scp.css */
.today-sales-card[b-7idstvu6kd] {
    padding: 24px;
    border-radius: 24px;
    box-shadow: 0 12px 35px rgba(15,23,42,.05);
}

.today-header[b-7idstvu6kd] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

    .today-header h3[b-7idstvu6kd] {
        margin: 0;
        font-size: 22px;
        font-weight: 900;
    }

.today-value[b-7idstvu6kd] {
    font-size: 42px;
    font-weight: 900;
    color: #16a34a;
    margin-bottom: 22px;
}

    .today-value small[b-7idstvu6kd] {
        font-size: 16px;
        color: #64748b;
        margin-right: 8px;
    }
/* /Components/Dashboard/Components/TopCustomers.razor.rz.scp.css */
.customer-card[b-whutumvlto] {
    padding: 24px;
    border-radius: 24px;
    box-shadow: 0 12px 35px rgba(15,23,42,.05);
}

.customer-row[b-whutumvlto] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 18px;
    margin-bottom: 12px;
    background: #f8fafc;
    transition: .25s;
}

    .customer-row:hover[b-whutumvlto] {
        background: #eef4ff;
    }

.customer-info strong[b-whutumvlto] {
    display: block;
}

.customer-info small[b-whutumvlto] {
    color: #64748b;
}
/* /Components/Dashboard/Components/TopProducts.razor.rz.scp.css */
.top-card[b-ep9x71nguk] {
    padding: 24px;
    border-radius: 24px;
    box-shadow: 0 12px 35px rgba(15,23,42,.05);
}

.top-header[b-ep9x71nguk] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

    .top-header h3[b-ep9x71nguk] {
        margin: 0;
        font-size: 22px;
        font-weight: 900;
    }

    .top-header small[b-ep9x71nguk] {
        color: #64748b;
    }

.top-row[b-ep9x71nguk] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 18px;
    margin-bottom: 10px;
    background: #f8fafc;
    transition: .25s;
}

    .top-row:hover[b-ep9x71nguk] {
        background: #eef4ff;
    }

.top-rank[b-ep9x71nguk] {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--erp-primary, #2563eb);
    color: var(--erp-on-brand, #ffffff);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
}

.top-info[b-ep9x71nguk] {
    flex: 1;
}

    .top-info strong[b-ep9x71nguk] {
        display: block;
    }

    .top-info small[b-ep9x71nguk] {
        color: #64748b;
    }

.top-price[b-ep9x71nguk] {
    font-weight: 900;
    color: var(--erp-primary, #2563eb);
}
/* /Components/Layout/EmptyLayout.razor.rz.scp.css */
:host[b-mhh6hh5hlx] {
    display: block;
    width: 100%;
    min-height: 100vh;
}

.erp-empty-layout[b-mhh6hh5hlx] {
    width: 100%;
    min-height: 100vh;
    direction: rtl;
    overflow-x: hidden;
    background: transparent;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* =========================================================
   ERPPlus MainLayout.razor.css
   مسیر جایگذاری:
   ERPPlus.Web/Components/Layout/MainLayout.razor.css

   اصلاحات:
   - منو ثابت در سمت راست
   - هدر حرفه‌ای و هم‌تراز با محتوا
   - حذف فاصله اضافه بالای داشبورد
   - جلوگیری از بیرون‌زدگی و صفحه سفید
   ========================================================= */

:host[b-3g5dk2fqyr] {
    display: block;
    width: 100%;
    min-height: 100vh;
}

.erp-shell-reference[b-3g5dk2fqyr],
.erp-shell-clean[b-3g5dk2fqyr],
.erp-shell-final[b-3g5dk2fqyr] {
    position: relative !important;
    width: 100% !important;
    min-height: 100vh !important;
    display: block !important;
    direction: rtl !important;
    background:
        radial-gradient(circle at 74% 0%, rgba(37, 99, 235, .14), transparent 340px),
        radial-gradient(circle at 14% 16%, rgba(124, 58, 237, .10), transparent 360px),
        #020617 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.erp-sidebar-reference[b-3g5dk2fqyr],
.erp-sidebar-clean[b-3g5dk2fqyr],
.erp-sidebar-final[b-3g5dk2fqyr] {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    bottom: auto !important;
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    height: 100vh !important;
    z-index: 100 !important;
    display: block !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    background:
        radial-gradient(circle at 22% 0%, rgba(124, 58, 237, .28), transparent 230px),
        radial-gradient(circle at 88% 18%, rgba(37, 99, 235, .20), transparent 240px),
        linear-gradient(180deg, #090f22 0%, #070b19 58%, #050814 100%) !important;
    border-left: 1px solid rgba(148, 163, 184, .16) !important;
    border-right: 0 !important;
}

.erp-main-reference[b-3g5dk2fqyr],
.erp-workspace-clean[b-3g5dk2fqyr],
.erp-main-final[b-3g5dk2fqyr] {
    position: relative !important;
    width: calc(100% - 280px) !important;
    min-width: 0 !important;
    max-width: calc(100% - 280px) !important;
    min-height: 100vh !important;
    height: 100vh !important;
    margin-right: 280px !important;
    margin-left: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: transparent !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.erp-shell-reference.sidebar-collapsed .erp-sidebar-reference[b-3g5dk2fqyr]{width:82px!important;min-width:82px!important;max-width:82px!important}
.erp-shell-reference.sidebar-collapsed .erp-main-reference[b-3g5dk2fqyr]{width:calc(100% - 82px)!important;max-width:calc(100% - 82px)!important;margin-right:82px!important}
.erp-mobile-menu[b-3g5dk2fqyr],.erp-mobile-backdrop[b-3g5dk2fqyr]{display:none!important}

.erp-topbar-reference[b-3g5dk2fqyr],
.erp-topbar-clean[b-3g5dk2fqyr],
.erp-topbar-final[b-3g5dk2fqyr] {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 0 0 86px !important;
    min-height: 86px !important;
    height: 86px !important;
    margin: 18px 22px 0 22px !important;
    padding: 12px 14px !important;
    display: grid !important;
    grid-template-columns: auto auto auto minmax(260px, 1fr) auto auto auto minmax(190px, auto) !important;
    align-items: center !important;
    gap: 10px !important;
    border-radius: 28px !important;
    color: #f8fafc !important;
    background:
        radial-gradient(circle at 8% 0%, rgba(59, 130, 246, .14), transparent 260px),
        linear-gradient(135deg, rgba(15, 23, 42, .94), rgba(15, 23, 42, .78)) !important;
    border: 1px solid rgba(148, 163, 184, .16) !important;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .22) !important;
    backdrop-filter: blur(16px) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.erp-page-reference[b-3g5dk2fqyr],
.erp-page-clean[b-3g5dk2fqyr],
.erp-content-final[b-3g5dk2fqyr] {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: 1 1 auto !important;
    padding: 18px 22px 22px 22px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, .44) transparent;
}

.erp-page-reference[b-3g5dk2fqyr]::-webkit-scrollbar { width: 8px; }
.erp-page-reference[b-3g5dk2fqyr]::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(148, 163, 184, .42);
}

.erp-topbar-button[b-3g5dk2fqyr],
.erp-profile-menu-button[b-3g5dk2fqyr],
.erp-topbar-company[b-3g5dk2fqyr],
.erp-topbar-date[b-3g5dk2fqyr],
.erp-topbar-search[b-3g5dk2fqyr],
.erp-topbar-profile[b-3g5dk2fqyr] {
    border: 1px solid rgba(148, 163, 184, .14);
    background: rgba(255, 255, 255, .055);
    box-sizing: border-box;
}
.erp-profile-dropdown[b-3g5dk2fqyr]{position:absolute;top:66px;left:0;z-index:200;min-width:230px;padding:8px;border-radius:16px;background:#0f172a;border:1px solid rgba(148,163,184,.25);box-shadow:0 18px 40px rgba(0,0,0,.35)}.erp-profile-dropdown a[b-3g5dk2fqyr],.erp-profile-dropdown button[b-3g5dk2fqyr]{width:100%;display:block;padding:10px 12px;border:0;border-radius:10px;color:#e2e8f0;background:transparent;text-align:right;text-decoration:none;font:inherit;cursor:pointer}.erp-profile-dropdown a:hover[b-3g5dk2fqyr],.erp-profile-dropdown button:hover[b-3g5dk2fqyr]{background:rgba(59,130,246,.18)}.erp-topbar-date[b-3g5dk2fqyr]{cursor:pointer;font-family:inherit;text-align:right}.notification-bell-wrap[b-3g5dk2fqyr]{position:relative}.notification-bell-btn[b-3g5dk2fqyr]{width:48px;height:48px;border-radius:17px;border:1px solid rgba(148,163,184,.14);color:#e2e8f0;background:rgba(255,255,255,.055);cursor:pointer;position:relative}.notification-badge[b-3g5dk2fqyr]{position:absolute;top:4px;right:4px;min-width:17px;padding:2px 4px;border-radius:20px;background:#ef4444;color:#fff;font-size:10px}.notification-dropdown[b-3g5dk2fqyr]{position:absolute;top:58px;right:0;z-index:210;width:380px;max-height:520px;overflow:auto;padding:12px;border-radius:18px;background:#0f172a;border:1px solid rgba(148,163,184,.25);box-shadow:0 18px 40px rgba(0,0,0,.35)}.notification-head[b-3g5dk2fqyr],.notification-item[b-3g5dk2fqyr]{display:flex;gap:10px;align-items:flex-start;justify-content:space-between}.notification-head small[b-3g5dk2fqyr],.notification-time[b-3g5dk2fqyr]{display:block;color:#94a3b8;font-size:11px}.notification-item[b-3g5dk2fqyr]{padding:12px 4px;border-bottom:1px solid rgba(148,163,184,.13)}.notification-body[b-3g5dk2fqyr]{flex:1}.notification-title[b-3g5dk2fqyr]{font-weight:900}.notification-text[b-3g5dk2fqyr]{font-size:12px;color:#cbd5e1}.notification-refresh[b-3g5dk2fqyr],.notification-read[b-3g5dk2fqyr]{border:0;border-radius:8px;padding:6px;color:var(--erp-on-brand, #ffffff);background:var(--erp-primary, #2563eb);cursor:pointer}.notification-all[b-3g5dk2fqyr]{display:block;padding:10px;text-align:center;color:#93c5fd;text-decoration:none}

.erp-topbar-button[b-3g5dk2fqyr],
.erp-profile-menu-button[b-3g5dk2fqyr] {
    position: relative;
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    color: #e2e8f0;
    cursor: pointer;
    outline: 0;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.erp-topbar-button:hover[b-3g5dk2fqyr],
.erp-profile-menu-button:hover[b-3g5dk2fqyr] {
    transform: translateY(-1px);
    color: #ffffff;
    background: rgba(59, 130, 246, .15);
    border-color: rgba(96, 165, 250, .28);
}

.erp-topbar-button:active:not(:disabled)[b-3g5dk2fqyr],
.erp-profile-menu-button:active:not(:disabled)[b-3g5dk2fqyr] {
    transform: translateY(0) scale(.97);
    border-width: 1px;
    filter: brightness(.95);
    box-shadow: 0 5px 14px rgba(0, 0, 0, .18);
}

.erp-topbar-button:focus[b-3g5dk2fqyr],
.erp-profile-menu-button:focus[b-3g5dk2fqyr] { outline: 0; }

.erp-topbar-button:focus-visible[b-3g5dk2fqyr],
.erp-profile-menu-button:focus-visible[b-3g5dk2fqyr] {
    outline: 3px solid rgba(96, 165, 250, .35);
    outline-offset: 3px;
    box-shadow: 0 0 0 1px #0f172a, 0 10px 24px rgba(37, 99, 235, .24);
}

.erp-logout-button:hover[b-3g5dk2fqyr] {
    background: rgba(239, 68, 68, .16);
    border-color: rgba(248, 113, 113, .34);
}

.erp-topbar-button b[b-3g5dk2fqyr] {
    position: absolute;
    top: 7px;
    right: 7px;
    min-width: 17px;
    height: 17px;
    display: grid;
    place-items: center;
    padding: 0 5px;
    border-radius: 999px;
    color: #ffffff;
    background: #ef4444;
    font-size: 10px;
    line-height: 1;
    font-weight: 1000;
}

.erp-topbar-date[b-3g5dk2fqyr],
.erp-topbar-company[b-3g5dk2fqyr],
.erp-topbar-profile[b-3g5dk2fqyr] {
    min-height: 52px;
    display: grid;
    align-items: center;
    gap: 10px;
    border-radius: 19px;
    padding: 0 13px;
    color: #f8fafc;
}

.erp-topbar-date[b-3g5dk2fqyr] {
    grid-template-columns: 26px minmax(78px, auto);
}

.erp-topbar-date span[b-3g5dk2fqyr],
.erp-topbar-date strong[b-3g5dk2fqyr],
.erp-profile-copy strong[b-3g5dk2fqyr],
.erp-profile-copy span[b-3g5dk2fqyr],
.erp-topbar-company span[b-3g5dk2fqyr] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.erp-topbar-date span[b-3g5dk2fqyr],
.erp-profile-copy span[b-3g5dk2fqyr] {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 850;
}

.erp-topbar-date strong[b-3g5dk2fqyr],
.erp-profile-copy strong[b-3g5dk2fqyr] {
    color: #ffffff;
    font-size: 13px;
    font-weight: 1000;
}

.erp-topbar-company[b-3g5dk2fqyr] {
    grid-template-columns: 22px minmax(92px, auto) 24px;
    font-size: 13px;
    font-weight: 950;
}

.erp-topbar-search[b-3g5dk2fqyr] {
    min-width: 260px;
    min-height: 52px;
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border-radius: 20px;
    color: #cbd5e1;
}

.erp-topbar-search input[b-3g5dk2fqyr] {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #ffffff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 850;
}

.erp-topbar-search input[b-3g5dk2fqyr]::placeholder { color: #94a3b8; }

.erp-topbar-search kbd[b-3g5dk2fqyr] {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #cbd5e1;
    background: rgba(15, 23, 42, .70);
    border: 1px solid rgba(148, 163, 184, .16);
    font-size: 13px;
    font-weight: 1000;
}

.erp-topbar-profile[b-3g5dk2fqyr] {
    grid-template-columns: 40px minmax(96px, 1fr) 48px;
    min-width: 214px;
    padding-left: 10px;
}

.erp-profile-menu-button[b-3g5dk2fqyr] {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 14px;
}

.erp-profile-copy[b-3g5dk2fqyr] {
    min-width: 0;
    text-align: right;
}

.erp-profile-avatar[b-3g5dk2fqyr] {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    font-size: 16px;
    font-weight: 1000;
    box-shadow: 0 14px 28px rgba(37, 99, 235, .24);
}

.erp-topbar-reference .mud-icon-root[b-3g5dk2fqyr] {
    color: inherit !important;
    font-size: 1.35rem !important;
}

.erp-shell-reference > .erp-sidebar-reference[b-3g5dk2fqyr],
.erp-shell-clean > .erp-sidebar-clean[b-3g5dk2fqyr],
.erp-shell-final > .erp-sidebar-final[b-3g5dk2fqyr],
.erp-shell-reference > .erp-main-reference[b-3g5dk2fqyr],
.erp-shell-clean > .erp-workspace-clean[b-3g5dk2fqyr],
.erp-shell-final > .erp-main-final[b-3g5dk2fqyr] {
    grid-column: unset !important;
    grid-area: unset !important;
    order: unset !important;
}

@media (max-width: 1480px) {
    .erp-topbar-reference[b-3g5dk2fqyr],
    .erp-topbar-clean[b-3g5dk2fqyr],
    .erp-topbar-final[b-3g5dk2fqyr] {
        grid-template-columns: auto auto auto minmax(180px, 1fr) auto auto auto minmax(170px, auto) !important;
        gap: 8px !important;
    }

    .erp-topbar-search[b-3g5dk2fqyr] { min-width: 190px; }
}

@media (max-width: 1240px) {
    .erp-topbar-date[b-3g5dk2fqyr],
    .erp-topbar-company[b-3g5dk2fqyr] {
        display: none !important;
    }

    .erp-topbar-reference[b-3g5dk2fqyr],
    .erp-topbar-clean[b-3g5dk2fqyr],
    .erp-topbar-final[b-3g5dk2fqyr] {
        grid-template-columns: auto minmax(180px, 1fr) auto auto auto minmax(170px, auto) !important;
    }
}

@media (max-width: 1120px) {
    .erp-shell-reference[b-3g5dk2fqyr],
    .erp-shell-clean[b-3g5dk2fqyr],
    .erp-shell-final[b-3g5dk2fqyr] {
        display: block !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    .erp-sidebar-reference[b-3g5dk2fqyr],
    .erp-sidebar-clean[b-3g5dk2fqyr],
    .erp-sidebar-final[b-3g5dk2fqyr] {
        position: fixed !important;
        top: 0 !important;
        right: -330px !important;
        left: auto !important;
        width: 320px !important;
        min-width: 320px !important;
        max-width: 320px !important;
        height: 100vh !important;
        transition:right .2s ease!important;
    }

    .erp-shell-reference.mobile-open .erp-sidebar-reference[b-3g5dk2fqyr]{right:0!important}
    .erp-shell-reference.sidebar-collapsed .erp-sidebar-reference[b-3g5dk2fqyr]{width:92px!important;min-width:92px!important;max-width:92px!important}
    .erp-shell-reference.sidebar-collapsed .erp-main-reference[b-3g5dk2fqyr]{width:100%!important;max-width:100%!important;margin-right:0!important}
    .erp-mobile-menu[b-3g5dk2fqyr]{display:grid!important}
    .erp-mobile-backdrop[b-3g5dk2fqyr]{position:fixed;inset:0;border:0;background:rgba(2,6,23,.65);z-index:90}
    .erp-shell-reference.mobile-open .erp-mobile-backdrop[b-3g5dk2fqyr]{display:block!important}

    .erp-main-reference[b-3g5dk2fqyr],
    .erp-workspace-clean[b-3g5dk2fqyr],
    .erp-main-final[b-3g5dk2fqyr] {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 100vh !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 760px) {
    .erp-topbar-reference[b-3g5dk2fqyr],
    .erp-topbar-clean[b-3g5dk2fqyr],
    .erp-topbar-final[b-3g5dk2fqyr] {
        height: auto !important;
        min-height: 76px !important;
        flex-basis: auto !important;
        margin: 12px 12px 0 !important;
        grid-template-columns: auto 1fr auto !important;
        border-radius: 22px !important;
    }

    .erp-topbar-search[b-3g5dk2fqyr],
    .erp-topbar-profile[b-3g5dk2fqyr],
    .erp-topbar-button[title="تقویم"][b-3g5dk2fqyr],
    .erp-topbar-button[title="پیام‌ها"][b-3g5dk2fqyr] {
        display: none !important;
    }

    .erp-page-reference[b-3g5dk2fqyr],
    .erp-page-clean[b-3g5dk2fqyr],
    .erp-content-final[b-3g5dk2fqyr] {
        padding: 14px 12px 18px !important;
    }
}


/* =========================================================
   ERPPlus MainLayout Final Theme Fix
   ========================================================= */

body.erpdb-dark[b-3g5dk2fqyr],
html.erpdb-dark[b-3g5dk2fqyr] {
    background: #020617 !important;
    color: #f8fafc !important;
    color-scheme: dark !important;
}

body.erpdb-light[b-3g5dk2fqyr],
html.erpdb-light[b-3g5dk2fqyr] {
    background: #f5f7fc !important;
    color: #0f172a !important;
    color-scheme: light !important;
}

body.erpdb-dark .erp-shell-reference[b-3g5dk2fqyr],
body.erpdb-dark .erp-shell-clean[b-3g5dk2fqyr],
body.erpdb-dark .erp-shell-final[b-3g5dk2fqyr],
.erp-shell-reference.erpdb-dark[b-3g5dk2fqyr],
.erp-shell-clean.erpdb-dark[b-3g5dk2fqyr],
.erp-shell-final.erpdb-dark[b-3g5dk2fqyr] {
    background:
        radial-gradient(circle at 74% 0%, rgba(37, 99, 235, .14), transparent 340px),
        radial-gradient(circle at 14% 16%, rgba(124, 58, 237, .10), transparent 360px),
        #020617 !important;
    color: #f8fafc !important;
}

body.erpdb-light .erp-shell-reference[b-3g5dk2fqyr],
body.erpdb-light .erp-shell-clean[b-3g5dk2fqyr],
body.erpdb-light .erp-shell-final[b-3g5dk2fqyr],
.erp-shell-reference.erpdb-light[b-3g5dk2fqyr],
.erp-shell-clean.erpdb-light[b-3g5dk2fqyr],
.erp-shell-final.erpdb-light[b-3g5dk2fqyr] {
    background:
        radial-gradient(circle at 74% 0%, rgba(37, 99, 235, .10), transparent 340px),
        radial-gradient(circle at 14% 16%, rgba(124, 58, 237, .08), transparent 360px),
        #f5f7fc !important;
    color: #0f172a !important;
}

body.erpdb-dark .erp-main-reference[b-3g5dk2fqyr],
body.erpdb-dark .erp-workspace-clean[b-3g5dk2fqyr],
body.erpdb-dark .erp-main-final[b-3g5dk2fqyr],
.erp-shell-reference.erpdb-dark .erp-main-reference[b-3g5dk2fqyr],
.erp-shell-clean.erpdb-dark .erp-workspace-clean[b-3g5dk2fqyr],
.erp-shell-final.erpdb-dark .erp-main-final[b-3g5dk2fqyr] {
    background: transparent !important;
    color: #f8fafc !important;
}

body.erpdb-light .erp-main-reference[b-3g5dk2fqyr],
body.erpdb-light .erp-workspace-clean[b-3g5dk2fqyr],
body.erpdb-light .erp-main-final[b-3g5dk2fqyr],
.erp-shell-reference.erpdb-light .erp-main-reference[b-3g5dk2fqyr],
.erp-shell-clean.erpdb-light .erp-workspace-clean[b-3g5dk2fqyr],
.erp-shell-final.erpdb-light .erp-main-final[b-3g5dk2fqyr] {
    background: transparent !important;
    color: #0f172a !important;
}

body.erpdb-dark .erp-page-reference[b-3g5dk2fqyr],
body.erpdb-dark .erp-page-clean[b-3g5dk2fqyr],
body.erpdb-dark .erp-content-final[b-3g5dk2fqyr],
.erp-shell-reference.erpdb-dark .erp-page-reference[b-3g5dk2fqyr],
.erp-shell-clean.erpdb-dark .erp-page-clean[b-3g5dk2fqyr],
.erp-shell-final.erpdb-dark .erp-content-final[b-3g5dk2fqyr] {
    background: transparent !important;
    color: #f8fafc !important;
}

body.erpdb-light .erp-page-reference[b-3g5dk2fqyr],
body.erpdb-light .erp-page-clean[b-3g5dk2fqyr],
body.erpdb-light .erp-content-final[b-3g5dk2fqyr],
.erp-shell-reference.erpdb-light .erp-page-reference[b-3g5dk2fqyr],
.erp-shell-clean.erpdb-light .erp-page-clean[b-3g5dk2fqyr],
.erp-shell-final.erpdb-light .erp-content-final[b-3g5dk2fqyr] {
    background: transparent !important;
    color: #0f172a !important;
}

body.erpdb-dark .erp-topbar-reference[b-3g5dk2fqyr],
body.erpdb-dark .erp-topbar-clean[b-3g5dk2fqyr],
body.erpdb-dark .erp-topbar-final[b-3g5dk2fqyr],
.erp-shell-reference.erpdb-dark .erp-topbar-reference[b-3g5dk2fqyr],
.erp-shell-clean.erpdb-dark .erp-topbar-clean[b-3g5dk2fqyr],
.erp-shell-final.erpdb-dark .erp-topbar-final[b-3g5dk2fqyr] {
    color: #f8fafc !important;
    background:
        radial-gradient(circle at 8% 0%, rgba(59, 130, 246, .14), transparent 260px),
        linear-gradient(135deg, rgba(15, 23, 42, .96), rgba(15, 23, 42, .82)) !important;
    border-color: rgba(148, 163, 184, .16) !important;
}

body.erpdb-light .erp-topbar-reference[b-3g5dk2fqyr],
body.erpdb-light .erp-topbar-clean[b-3g5dk2fqyr],
body.erpdb-light .erp-topbar-final[b-3g5dk2fqyr],
.erp-shell-reference.erpdb-light .erp-topbar-reference[b-3g5dk2fqyr],
.erp-shell-clean.erpdb-light .erp-topbar-clean[b-3g5dk2fqyr],
.erp-shell-final.erpdb-light .erp-topbar-final[b-3g5dk2fqyr] {
    color: #f8fafc !important;
    background:
        radial-gradient(circle at 8% 0%, rgba(59, 130, 246, .14), transparent 260px),
        linear-gradient(135deg, rgba(15, 23, 42, .92), rgba(15, 23, 42, .78)) !important;
    border-color: rgba(148, 163, 184, .16) !important;
}

/* =========================================================
   ERPPlus Final Patch - Theme + Height + Scroll Safety
   ========================================================= */
html.erpdb-dark[b-3g5dk2fqyr],
body.erpdb-dark[b-3g5dk2fqyr],
.erp-shell-reference.erpdb-dark[b-3g5dk2fqyr],
.erp-shell-final.erpdb-dark[b-3g5dk2fqyr],
body.erpdb-dark .erp-shell-reference[b-3g5dk2fqyr],
body.erpdb-dark .erp-shell-final[b-3g5dk2fqyr] {
    background:
        radial-gradient(circle at 74% 0%, rgba(37, 99, 235, .12), transparent 340px),
        radial-gradient(circle at 14% 16%, rgba(124, 58, 237, .10), transparent 360px),
        #020617 !important;
    color: #f8fafc !important;
}

html.erpdb-light[b-3g5dk2fqyr],
body.erpdb-light[b-3g5dk2fqyr],
.erp-shell-reference.erpdb-light[b-3g5dk2fqyr],
.erp-shell-final.erpdb-light[b-3g5dk2fqyr],
body.erpdb-light .erp-shell-reference[b-3g5dk2fqyr],
body.erpdb-light .erp-shell-final[b-3g5dk2fqyr] {
    background:
        radial-gradient(circle at 74% 0%, rgba(37, 99, 235, .10), transparent 340px),
        radial-gradient(circle at 14% 16%, rgba(124, 58, 237, .07), transparent 360px),
        #eef3fb !important;
    color: #0f172a !important;
}

body.erpdb-dark .erp-main-reference[b-3g5dk2fqyr],
body.erpdb-dark .erp-workspace-clean[b-3g5dk2fqyr],
body.erpdb-dark .erp-main-final[b-3g5dk2fqyr],
.erp-shell-reference.erpdb-dark .erp-main-reference[b-3g5dk2fqyr],
.erp-shell-final.erpdb-dark .erp-main-final[b-3g5dk2fqyr] {
    background: transparent !important;
}

body.erpdb-light .erp-main-reference[b-3g5dk2fqyr],
body.erpdb-light .erp-workspace-clean[b-3g5dk2fqyr],
body.erpdb-light .erp-main-final[b-3g5dk2fqyr],
.erp-shell-reference.erpdb-light .erp-main-reference[b-3g5dk2fqyr],
.erp-shell-final.erpdb-light .erp-main-final[b-3g5dk2fqyr] {
    background: transparent !important;
}

.erp-topbar-reference[b-3g5dk2fqyr],
.erp-topbar-clean[b-3g5dk2fqyr],
.erp-topbar-final[b-3g5dk2fqyr] {
    position: relative !important;
    z-index: 50 !important;
    flex: 0 0 86px !important;
}

.erp-page-reference[b-3g5dk2fqyr],
.erp-page-clean[b-3g5dk2fqyr],
.erp-content-final[b-3g5dk2fqyr] {
    position: relative !important;
    z-index: 1 !important;
    padding-top: 24px !important;
    scroll-padding-top: 28px !important;
}

body.erpdb-dark .erp-page-reference[b-3g5dk2fqyr],
body.erpdb-dark .erp-page-clean[b-3g5dk2fqyr],
body.erpdb-dark .erp-content-final[b-3g5dk2fqyr],
.erp-shell-reference.erpdb-dark .erp-page-reference[b-3g5dk2fqyr],
.erp-shell-final.erpdb-dark .erp-content-final[b-3g5dk2fqyr] {
    background: transparent !important;
    color: #f8fafc !important;
}

body.erpdb-light .erp-page-reference[b-3g5dk2fqyr],
body.erpdb-light .erp-page-clean[b-3g5dk2fqyr],
body.erpdb-light .erp-content-final[b-3g5dk2fqyr],
.erp-shell-reference.erpdb-light .erp-page-reference[b-3g5dk2fqyr],
.erp-shell-final.erpdb-light .erp-content-final[b-3g5dk2fqyr] {
    background: transparent !important;
    color: #0f172a !important;
}


/* ===== ERPPlus content height/scroll final fix ===== */
.erp-main-reference[b-3g5dk2fqyr],
.erp-workspace-clean[b-3g5dk2fqyr],
.erp-main-final[b-3g5dk2fqyr] {
    height: 100dvh !important;
    min-height: 100dvh !important;
}

.erp-topbar-reference[b-3g5dk2fqyr],
.erp-topbar-clean[b-3g5dk2fqyr],
.erp-topbar-final[b-3g5dk2fqyr] {
    flex: 0 0 86px !important;
    position: relative !important;
    z-index: 30 !important;
}

.erp-page-reference[b-3g5dk2fqyr],
.erp-page-clean[b-3g5dk2fqyr],
.erp-content-final[b-3g5dk2fqyr] {
    position: relative !important;
    z-index: 1 !important;
    padding-top: 24px !important;
    padding-bottom: 34px !important;
    scroll-padding-top: 24px !important;
}


/* =========================================================
   ERPPlus Global Print Layout
   فقط محتوای صفحه چاپ می‌شود.
   ========================================================= */
/* Stable topbar geometry across pages and themes. */
.erp-topbar-reference[b-3g5dk2fqyr]{isolation:isolate!important;position:relative!important;z-index:120!important;height:76px!important;min-height:76px!important;max-height:76px!important;flex:0 0 76px!important;margin:14px 20px 0!important;padding:10px 12px!important;align-items:center!important;overflow:visible!important}
.erp-topbar-reference[b-3g5dk2fqyr]::before,.erp-topbar-reference[b-3g5dk2fqyr]::after{display:none!important;content:none!important}
.erp-topbar-reference>.erp-topbar-button[b-3g5dk2fqyr],.erp-topbar-reference>.notification-bell-wrap[b-3g5dk2fqyr],.erp-topbar-reference>.erp-topbar-search[b-3g5dk2fqyr],.erp-topbar-reference>.erp-topbar-date[b-3g5dk2fqyr],.erp-topbar-reference>.erp-topbar-company[b-3g5dk2fqyr],.erp-topbar-reference>.erp-topbar-profile[b-3g5dk2fqyr]{height:52px!important;min-height:52px!important;max-height:52px!important;align-self:center!important;margin:0!important;box-sizing:border-box!important}
.erp-topbar-reference>.erp-topbar-button[b-3g5dk2fqyr]{width:52px!important;min-width:52px!important;max-width:52px!important;padding:0!important;border-width:1px!important}.erp-topbar-profile[b-3g5dk2fqyr]{grid-template-columns:38px minmax(70px,1fr) 42px!important;min-width:180px!important;max-width:230px!important;padding:0 8px!important}.erp-profile-avatar[b-3g5dk2fqyr]{width:42px!important;height:42px!important;border-radius:14px!important}.erp-profile-copy[b-3g5dk2fqyr],.erp-topbar-company span[b-3g5dk2fqyr]{min-width:0!important;overflow:hidden!important}.erp-profile-copy strong[b-3g5dk2fqyr],.erp-profile-copy span[b-3g5dk2fqyr],.erp-topbar-company span[b-3g5dk2fqyr]{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.erp-profile-dropdown[b-3g5dk2fqyr],.notification-dropdown[b-3g5dk2fqyr]{z-index:500!important}.erp-topbar-reference button:active[b-3g5dk2fqyr],.erp-topbar-reference button:focus[b-3g5dk2fqyr],.erp-topbar-reference button:focus-visible[b-3g5dk2fqyr]{border-width:1px!important}
@media(max-width:1120px){.erp-topbar-reference[b-3g5dk2fqyr]{margin-right:14px!important;margin-left:14px!important}.erp-topbar-company[b-3g5dk2fqyr]{display:none!important}}
@media(max-width:768px){.erp-topbar-reference[b-3g5dk2fqyr]{height:68px!important;min-height:68px!important;max-height:68px!important;flex-basis:68px!important;margin:10px!important;padding:8px!important;grid-template-columns:repeat(3,44px) minmax(0,1fr)!important}.erp-topbar-reference>.erp-topbar-button[b-3g5dk2fqyr],.erp-topbar-reference>.notification-bell-wrap[b-3g5dk2fqyr]{height:44px!important;min-height:44px!important;max-height:44px!important}.erp-topbar-reference>.erp-topbar-button[b-3g5dk2fqyr]{width:44px!important;min-width:44px!important;max-width:44px!important}.erp-topbar-search[b-3g5dk2fqyr],.erp-topbar-date[b-3g5dk2fqyr],.erp-topbar-company[b-3g5dk2fqyr],.erp-topbar-profile[b-3g5dk2fqyr]{display:none!important}}

@media print {
    :host[b-3g5dk2fqyr] {
        display: block !important;
        width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        overflow: visible !important;
    }

    .erp-shell-reference[b-3g5dk2fqyr],
    .erp-shell-clean[b-3g5dk2fqyr],
    .erp-shell-final[b-3g5dk2fqyr] {
        position: static !important;
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        overflow: visible !important;
    }

    .erp-sidebar-reference[b-3g5dk2fqyr],
    .erp-sidebar-clean[b-3g5dk2fqyr],
    .erp-sidebar-final[b-3g5dk2fqyr],
    .erp-topbar-reference[b-3g5dk2fqyr],
    .erp-topbar-clean[b-3g5dk2fqyr],
    .erp-topbar-final[b-3g5dk2fqyr] {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        min-width: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .erp-main-reference[b-3g5dk2fqyr],
    .erp-workspace-clean[b-3g5dk2fqyr],
    .erp-main-final[b-3g5dk2fqyr] {
        position: static !important;
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        overflow: visible !important;
    }

    .erp-page-reference[b-3g5dk2fqyr],
    .erp-page-clean[b-3g5dk2fqyr],
    .erp-content-final[b-3g5dk2fqyr] {
        position: static !important;
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #000 !important;
        background: #fff !important;
        overflow: visible !important;
        scrollbar-width: none !important;
    }

    .erp-page-reference[b-3g5dk2fqyr]::-webkit-scrollbar,
    .erp-page-clean[b-3g5dk2fqyr]::-webkit-scrollbar,
    .erp-content-final[b-3g5dk2fqyr]::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    #blazor-error-ui[b-3g5dk2fqyr] {
        display: none !important;
    }
}


/* ERPPlus Payroll dialog stacking fix */
body:has(.payroll-overlay) .erp-shell-reference[b-3g5dk2fqyr],
body:has(.payroll-overlay) .erp-shell-clean[b-3g5dk2fqyr],
body:has(.payroll-overlay) .erp-shell-final[b-3g5dk2fqyr],
body:has(.payroll-overlay) .erp-main-reference[b-3g5dk2fqyr],
body:has(.payroll-overlay) .erp-workspace-clean[b-3g5dk2fqyr],
body:has(.payroll-overlay) .erp-main-final[b-3g5dk2fqyr],
body:has(.payroll-overlay) .erp-page-reference[b-3g5dk2fqyr],
body:has(.payroll-overlay) .erp-page-clean[b-3g5dk2fqyr],
body:has(.payroll-overlay) .erp-content-final[b-3g5dk2fqyr] {
    overflow: visible !important;
}

body:has(.payroll-overlay) .erp-page-reference[b-3g5dk2fqyr],
body:has(.payroll-overlay) .erp-page-clean[b-3g5dk2fqyr],
body:has(.payroll-overlay) .erp-content-final[b-3g5dk2fqyr] {
    z-index: 2147483500 !important;
}

body:has(.payroll-overlay) .erp-topbar-reference[b-3g5dk2fqyr],
body:has(.payroll-overlay) .erp-topbar-clean[b-3g5dk2fqyr],
body:has(.payroll-overlay) .erp-topbar-final[b-3g5dk2fqyr],
body:has(.payroll-overlay) .erp-sidebar-reference[b-3g5dk2fqyr],
body:has(.payroll-overlay) .erp-sidebar-clean[b-3g5dk2fqyr],
body:has(.payroll-overlay) .erp-sidebar-final[b-3g5dk2fqyr] {
    z-index: 1 !important;
}

body:has(.payroll-overlay)[b-3g5dk2fqyr] {
    overflow: hidden !important;
}

/* Sidebar geometry is shared by the drawer and workspace to prevent page-specific drift. */
.erp-shell-reference[b-3g5dk2fqyr]{--erp-sidebar-width:272px;--erp-sidebar-collapsed-width:78px}
.erp-shell-reference .erp-sidebar-reference[b-3g5dk2fqyr]{width:var(--erp-sidebar-width)!important;min-width:var(--erp-sidebar-width)!important;max-width:var(--erp-sidebar-width)!important;transition:width .18s ease,right .2s ease}
.erp-shell-reference .erp-main-reference[b-3g5dk2fqyr]{width:calc(100% - var(--erp-sidebar-width))!important;max-width:calc(100% - var(--erp-sidebar-width))!important;margin-right:var(--erp-sidebar-width)!important;transition:width .18s ease,max-width .18s ease,margin-right .18s ease}
.erp-shell-reference.sidebar-collapsed .erp-sidebar-reference[b-3g5dk2fqyr]{width:var(--erp-sidebar-collapsed-width)!important;min-width:var(--erp-sidebar-collapsed-width)!important;max-width:var(--erp-sidebar-collapsed-width)!important}
.erp-shell-reference.sidebar-collapsed .erp-main-reference[b-3g5dk2fqyr]{width:calc(100% - var(--erp-sidebar-collapsed-width))!important;max-width:calc(100% - var(--erp-sidebar-collapsed-width))!important;margin-right:var(--erp-sidebar-collapsed-width)!important}
.erp-sidebar-mobile-close[b-3g5dk2fqyr]{display:none;position:absolute;top:10px;left:10px;z-index:4;width:40px;height:40px;border:1px solid rgba(148,163,184,.25);border-radius:12px;color:#fff;background:rgba(15,23,42,.72);place-items:center;cursor:pointer}
.erp-sidebar-mobile-close:focus-visible[b-3g5dk2fqyr]{outline:3px solid rgba(96,165,250,.45);outline-offset:2px}

@media(max-width:1120px){
    .erp-shell-reference[b-3g5dk2fqyr]{--erp-sidebar-width:304px;--erp-sidebar-collapsed-width:84px}
    .erp-shell-reference .erp-sidebar-reference[b-3g5dk2fqyr],.erp-shell-reference.sidebar-collapsed .erp-sidebar-reference[b-3g5dk2fqyr]{width:var(--erp-sidebar-width)!important;min-width:var(--erp-sidebar-width)!important;max-width:var(--erp-sidebar-width)!important;right:calc(-1 * var(--erp-sidebar-width))!important}
    .erp-shell-reference.mobile-open .erp-sidebar-reference[b-3g5dk2fqyr]{right:0!important}
    .erp-shell-reference .erp-main-reference[b-3g5dk2fqyr],.erp-shell-reference.sidebar-collapsed .erp-main-reference[b-3g5dk2fqyr]{width:100%!important;max-width:100%!important;margin-right:0!important}
    .erp-shell-reference.mobile-open[b-3g5dk2fqyr]{touch-action:none}
    .erp-shell-reference.mobile-open .erp-sidebar-mobile-close[b-3g5dk2fqyr]{display:grid}
}

@media(max-width:420px){.erp-shell-reference[b-3g5dk2fqyr]{--erp-sidebar-width:min(304px,calc(100vw - 28px))}}


/* =========================================================
   ERPPlus AdminPublicContent isolated scroll safety patch
   فقط برای صفحه مدیریت محتوای عمومی
   ========================================================= */

.erp-shell-reference:has(.public-content-page)[b-3g5dk2fqyr],
.erp-shell-clean:has(.public-content-page)[b-3g5dk2fqyr],
.erp-shell-final:has(.public-content-page)[b-3g5dk2fqyr] {
    overflow: visible !important;
}

.erp-shell-reference:has(.public-content-page) .erp-main-reference[b-3g5dk2fqyr],
.erp-shell-clean:has(.public-content-page) .erp-workspace-clean[b-3g5dk2fqyr],
.erp-shell-final:has(.public-content-page) .erp-main-final[b-3g5dk2fqyr] {
    overflow: visible !important;
    height: auto !important;
    min-height: calc(100vh - 86px) !important;
}

.erp-shell-reference:has(.public-content-page) .erp-page-reference[b-3g5dk2fqyr],
.erp-shell-clean:has(.public-content-page) .erp-page-clean[b-3g5dk2fqyr],
.erp-shell-final:has(.public-content-page) .erp-content-final[b-3g5dk2fqyr] {
    overflow-y: visible !important;
    overflow-x: hidden !important;
    height: auto !important;
}


/* Header capacity fix after adding the global theme toggle. */
.erp-topbar-reference[b-3g5dk2fqyr] {
    min-width: 0 !important;
    grid-template-columns: repeat(4, 52px) minmax(160px, 1fr) minmax(132px, auto) minmax(130px, 170px) minmax(150px, 200px) !important;
    gap: 8px !important;
}
.erp-topbar-reference > *[b-3g5dk2fqyr] { min-width: 0 !important; }
.erp-topbar-reference > .erp-topbar-profile[b-3g5dk2fqyr] {
    width: 100% !important;
    min-width: 150px !important;
    max-width: 200px !important;
}
.erp-topbar-reference > .erp-topbar-company[b-3g5dk2fqyr] {
    min-width: 130px !important;
    max-width: 170px !important;
}
.erp-theme-button[b-3g5dk2fqyr] { flex: 0 0 52px; }

@media (max-width: 1480px) {
    .erp-topbar-reference[b-3g5dk2fqyr] {
        grid-template-columns: repeat(4, 48px) minmax(130px, 1fr) minmax(118px, auto) minmax(140px, 175px) !important;
        gap: 7px !important;
    }
    .erp-topbar-reference > .erp-topbar-button[b-3g5dk2fqyr] {
        width: 48px !important;
        min-width: 48px !important;
        max-width: 48px !important;
    }
    .erp-topbar-reference > .erp-topbar-company[b-3g5dk2fqyr] {
        display: none !important;
    }
    .erp-topbar-reference > .erp-topbar-profile[b-3g5dk2fqyr] {
        min-width: 140px !important;
        max-width: 175px !important;
    }
}

@media (max-width: 1240px) {
    .erp-topbar-reference[b-3g5dk2fqyr] {
        grid-template-columns: repeat(4, 48px) minmax(120px, 1fr) minmax(140px, 175px) !important;
    }
    .erp-topbar-date[b-3g5dk2fqyr] { display: none !important; }
}

@media (max-width: 768px) {
    .erp-topbar-reference[b-3g5dk2fqyr] {
        grid-template-columns: repeat(4, 44px) minmax(0, 1fr) !important;
    }
    .erp-theme-button[b-3g5dk2fqyr] { display: grid !important; }
}

/* BazaarYar: explicit application-theme bridge. */
body.erpdb-light .torob-page[b-3g5dk2fqyr] {
    --torob-page-bg: #f5f7fc;
    --torob-surface: #ffffff;
    --torob-surface-soft: #f1f5f9;
    --torob-input-bg: #ffffff;
    --torob-text: #0f172a;
    --torob-muted: #64748b;
    --torob-border: #dbe4f0;
    --torob-row-border: #e2e8f0;
    --torob-status-bg: rgba(var(--erp-primary-rgb, 37, 99, 235), .08);
    --torob-success-text: #15803d;
    --torob-success-bg: #dcfce7;
    --torob-danger-text: #b91c1c;
    --torob-danger-bg: #fee2e2;
}

body.erpdb-dark .torob-page[b-3g5dk2fqyr] {
    --torob-page-bg: #020617;
    --torob-surface: #0f172a;
    --torob-surface-soft: #172033;
    --torob-input-bg: #111c30;
    --torob-text: #f8fafc;
    --torob-muted: #a8b3c7;
    --torob-border: #2a394f;
    --torob-row-border: #223047;
    --torob-status-bg: rgba(var(--erp-primary-rgb, 37, 99, 235), .16);
    --torob-success-text: #86efac;
    --torob-success-bg: rgba(34, 197, 94, .16);
    --torob-danger-text: #fca5a5;
    --torob-danger-bg: rgba(239, 68, 68, .16);
}

/* =========================================================
   ERPPlus desktop density viewport compensation - scoped
   MainLayout uses isolated CSS with 100dvh. Because the whole
   desktop UI is rendered at 75% density, these viewport-bound
   containers must be 1 / .75 taller to still fill the monitor.
   ========================================================= */
@media screen and (min-width: 1121px) {
    .erp-shell-reference[b-3g5dk2fqyr] {
        height: 133.333333dvh !important;
        min-height: 133.333333dvh !important;
    }

    .erp-shell-reference .erp-main-reference[b-3g5dk2fqyr] {
        height: 133.333333dvh !important;
        min-height: 133.333333dvh !important;
    }

    .erp-shell-reference .erp-sidebar-reference[b-3g5dk2fqyr] {
        height: 133.333333dvh !important;
        min-height: 133.333333dvh !important;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
:host[b-ap6811nagz] {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
}

/* تمام عناصر داخلی—including خروجی RenderTreeBuilder و NavLink—با ::deep هدف‌گیری می‌شوند. */
[b-ap6811nagz] * {
    box-sizing: border-box;
}

.erp-nav[b-ap6811nagz] {
    --nav-row-height: 40px;
    --nav-icon-size: 20px;
    --nav-radius: 11px;
    width: 100%;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 10px;
    direction: rtl;
    text-align: right;
    color: #dbe7f6 !important;
    background:
        radial-gradient(circle at 15% -5%, rgba(var(--erp-primary-rgb, 99, 102, 241), .26), transparent 235px),
        radial-gradient(circle at 95% 28%, rgba(var(--erp-primary-rgb, 37, 99, 235), .14), transparent 250px),
        linear-gradient(180deg, #0a1021 0%, #070b18 60%, #050813 100%) !important;
    overflow: hidden;
}

/* سایدبار عمداً در هر دو تم تیره باقی می‌ماند تا با MainLayout تداخل نداشته باشد. */
.erp-nav.erpdb-light[b-ap6811nagz],
.erp-nav.erpdb-dark[b-ap6811nagz] {
    color: #dbe7f6 !important;
    background:
        radial-gradient(circle at 15% -5%, rgba(var(--erp-primary-rgb, 99, 102, 241), .26), transparent 235px),
        radial-gradient(circle at 95% 28%, rgba(var(--erp-primary-rgb, 37, 99, 235), .14), transparent 250px),
        linear-gradient(180deg, #0a1021 0%, #070b18 60%, #050813 100%) !important;
}

[b-ap6811nagz] .erp-nav__brand {
    flex: 0 0 60px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    padding: 8px;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(var(--erp-primary-rgb, 37, 99, 235), .17), rgba(var(--erp-accent-rgb, 124, 58, 237), .20));
    box-shadow: inset 0 1px rgba(255, 255, 255, .05);
    overflow: hidden;
}

[b-ap6811nagz] .erp-nav__brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff !important;
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    box-shadow: 0 12px 28px rgba(var(--erp-primary-rgb, 37, 99, 235), .27);
    font-size: 13px;
    font-weight: 950;
}

[b-ap6811nagz] .erp-nav__brand-copy,
[b-ap6811nagz] .erp-nav__user-copy {
    min-width: 0;
}

[b-ap6811nagz] .erp-nav__brand-copy strong,
[b-ap6811nagz] .erp-nav__brand-copy span,
[b-ap6811nagz] .erp-nav__user-copy strong,
[b-ap6811nagz] .erp-nav__user-copy small {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

[b-ap6811nagz] .erp-nav__brand-copy strong {
    color: #fff !important;
    font-size: 16px;
    font-weight: 950;
}

[b-ap6811nagz] .erp-nav__brand-copy span {
    margin-top: 2px;
    color: #a9c8ff !important;
    font-size: 10px;
    font-weight: 750;
}

[b-ap6811nagz] .erp-nav__collapse,
[b-ap6811nagz] .erp-nav__logout,
[b-ap6811nagz] .erp-nav__search-compact {
    width: 100%;
    min-height: var(--nav-row-height);
    border: 1px solid rgba(148, 163, 184, .14);
    border-radius: var(--nav-radius);
    color: #dbe7f6 !important;
    background: rgba(255, 255, 255, .045);
    font: inherit;
    cursor: pointer;
    transition: .16s ease;
}

[b-ap6811nagz] .erp-nav__collapse,
[b-ap6811nagz] .erp-nav__logout {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    padding: 0 9px;
    text-align: right;
}

[b-ap6811nagz] .erp-nav__collapse:hover,
[b-ap6811nagz] .erp-nav__search-compact:hover {
    color: #fff !important;
    background: rgba(var(--erp-primary-rgb, 59, 130, 246), .13);
    border-color: rgba(96, 165, 250, .30);
}

[b-ap6811nagz] .erp-nav__control-icon,
[b-ap6811nagz] .erp-nav__icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    flex: 0 0 28px;
    color: inherit !important;
}

[b-ap6811nagz] .erp-nav__control-icon .mud-icon-root,
[b-ap6811nagz] .erp-nav__icon .mud-icon-root,
[b-ap6811nagz] .erp-nav__search-compact .mud-icon-root {
    width: var(--nav-icon-size);
    height: var(--nav-icon-size);
    font-size: var(--nav-icon-size);
    color: inherit !important;
}

[b-ap6811nagz] .erp-nav__control-label,
[b-ap6811nagz] .erp-nav__label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.45;
    text-align: right;
    color: inherit !important;
}

[b-ap6811nagz] .erp-nav__control-label {
    font-size: 12px;
    font-weight: 780;
}

[b-ap6811nagz] .erp-nav__search {
    flex: 0 0 40px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    border: 1px solid rgba(148, 163, 184, .14);
    border-radius: var(--nav-radius);
    color: #bfcee1 !important;
    background: rgba(255, 255, 255, .04);
}

[b-ap6811nagz] .erp-nav__search:focus-within {
    border-color: rgba(96, 165, 250, .42);
    background: rgba(var(--erp-primary-rgb, 59, 130, 246), .08);
    box-shadow: 0 0 0 3px rgba(var(--erp-primary-rgb, 37, 99, 235), .10);
}

[b-ap6811nagz] .erp-nav__search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: #fff !important;
    background: transparent !important;
    font: inherit;
    font-size: 12px;
}

[b-ap6811nagz] .erp-nav__search input::placeholder {
    color: #8fa1b8 !important;
}

[b-ap6811nagz] .erp-nav__search button {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 9px;
    color: #9fb0c5 !important;
    background: transparent;
    cursor: pointer;
}

[b-ap6811nagz] .erp-nav__search button:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, .08);
}

[b-ap6811nagz] .erp-nav__search-compact {
    flex: 0 0 var(--nav-row-height);
    display: grid;
    place-items: center;
    padding: 0;
}

[b-ap6811nagz] .erp-nav__list {
    min-height: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 1px 1px 4px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, .40) transparent;
}

[b-ap6811nagz] .erp-nav__list::-webkit-scrollbar {
    width: 6px;
}

[b-ap6811nagz] .erp-nav__list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(148, 163, 184, .40);
}

[b-ap6811nagz] .erp-nav__group {
    display: grid;
    gap: 2px;
    min-width: 0;
}

[b-ap6811nagz] .erp-nav__group-button,
[b-ap6811nagz] .erp-nav__link {
    width: 100%;
    min-height: var(--nav-row-height);
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 8px;
    padding: 4px 9px;
    border-radius: 10px;
    text-align: right;
    font: inherit;
    overflow: hidden;
}

[b-ap6811nagz] .erp-nav__group-button {
    border: 1px solid transparent;
    color: #d8e4f3 !important;
    background: transparent;
    cursor: pointer;
    transition: .16s ease;
}

[b-ap6811nagz] .erp-nav__group-button:hover {
    color: #fff !important;
    background: rgba(var(--erp-primary-rgb, 59, 130, 246), .10);
    border-color: rgba(96, 165, 250, .15);
}

[b-ap6811nagz] .erp-nav__group.is-active > .erp-nav__group-button {
    color: #fff !important;
    background: rgba(var(--erp-primary-rgb, 37, 99, 235), .15);
    border-color: rgba(96, 165, 250, .25);
    box-shadow: inset -3px 0 #60a5fa;
}

[b-ap6811nagz] .erp-nav__group-button .erp-nav__label {
    font-size: 12.25px;
    font-weight: 820;
}

[b-ap6811nagz] .erp-nav__chevron {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    color: #91a4ba !important;
    transition: transform .18s ease;
}

[b-ap6811nagz] .erp-nav__chevron.is-open {
    color: #bfdbfe !important;
    transform: rotate(180deg);
}

[b-ap6811nagz] .erp-nav__chevron .mud-icon-root {
    width: 19px;
    height: 19px;
    font-size: 19px;
    color: inherit !important;
}

[b-ap6811nagz] .erp-nav__group-items {
    position: relative;
    display: grid;
    gap: 2px;
    margin: 0 14px 1px 0;
    padding: 1px 8px 1px 0;
    border-right: 1px solid rgba(148, 163, 184, .18);
    min-width: 0;
}

[b-ap6811nagz] .erp-nav__link {
    position: relative;
    grid-template-columns: 28px minmax(0, 1fr) 8px;
    min-height: 36px;
    border: 1px solid transparent;
    color: #c7d5e6 !important;
    background: rgba(255, 255, 255, .018);
    text-decoration: none !important;
    transition: .16s ease;
}

[b-ap6811nagz] .erp-nav__link:hover {
    color: #fff !important;
    background: rgba(var(--erp-primary-rgb, 59, 130, 246), .10);
    border-color: rgba(96, 165, 250, .16);
    transform: translateX(-2px);
}

[b-ap6811nagz] .erp-nav__link.active {
    color: #fff !important;
    background: linear-gradient(135deg, rgba(var(--erp-primary-rgb, 37, 99, 235), .92), rgba(var(--erp-accent-rgb, 124, 58, 237), .88)) !important;
    border-color: rgba(255, 255, 255, .18);
    box-shadow: 0 8px 20px rgba(var(--erp-primary-rgb, 37, 99, 235), .20);
}

[b-ap6811nagz] .erp-nav__link .erp-nav__label {
    font-size: 11.9px;
    font-weight: 720;
}

[b-ap6811nagz] .erp-nav__link.active .erp-nav__label {
    color: #fff !important;
    font-weight: 850;
}

[b-ap6811nagz] .erp-nav__group-items .erp-nav__icon .mud-icon-root {
    width: 20px;
    height: 20px;
    font-size: 20px;
}

[b-ap6811nagz] .erp-nav__active-dot {
    width: 6px;
    height: 6px;
    justify-self: center;
    border-radius: 50%;
    background: transparent;
}

[b-ap6811nagz] .erp-nav__link.active .erp-nav__active-dot {
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .14);
}

[b-ap6811nagz] .erp-nav__status {
    display: grid;
    justify-items: center;
    gap: 9px;
    padding: 14px 10px;
    border: 1px solid rgba(148, 163, 184, .13);
    border-radius: 10px;
    color: #b9c8da !important;
    background: rgba(255, 255, 255, .04);
    text-align: center;
    font-size: 11.5px;
}

[b-ap6811nagz] .erp-nav__status-spinner {
    width: 19px;
    height: 19px;
    border: 2px solid rgba(148, 163, 184, .24);
    border-top-color: #60a5fa;
    border-radius: 50%;
    animation: erp-nav-spin-b-ap6811nagz .75s linear infinite;
}

[b-ap6811nagz] .erp-nav__status--error {
    color: #fecaca !important;
    background: rgba(239, 68, 68, .07);
    border-color: rgba(248, 113, 113, .18);
}

[b-ap6811nagz] .erp-nav__status--error button {
    border: 0;
    border-radius: 9px;
    padding: 7px 11px;
    color: #fff;
    background: var(--erp-primary, #2563eb);
    font: inherit;
    cursor: pointer;
}

@keyframes erp-nav-spin-b-ap6811nagz {
    to { transform: rotate(360deg); }
}

[b-ap6811nagz] .erp-nav__footer {
    flex: 0 0 auto;
    display: grid;
    gap: 5px;
    padding-top: 2px;
    border-top: 1px solid rgba(148, 163, 184, .10);
}

[b-ap6811nagz] .erp-nav__user {
    min-height: 50px;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 6px 7px;
    border: 1px solid rgba(148, 163, 184, .14);
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
    overflow: hidden;
}

[b-ap6811nagz] .erp-nav__avatar {
    position: relative;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #fff !important;
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    box-shadow: 0 8px 20px rgba(var(--erp-primary-rgb, 37, 99, 235), .18);
    font-size: 14px;
    font-weight: 950;
}

[b-ap6811nagz] .erp-nav__avatar span {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 10px;
    height: 10px;
    border: 2px solid #090e1d;
    border-radius: 50%;
    background: #22c55e;
}

[b-ap6811nagz] .erp-nav__user-copy strong {
    color: #fff !important;
    font-size: 12px;
    font-weight: 850;
}

[b-ap6811nagz] .erp-nav__user-copy small {
    margin-top: 2px;
    color: #98aabd !important;
    font-size: 10px;
    font-weight: 650;
}

[b-ap6811nagz] .erp-nav__logout {
    min-height: 40px;
    color: #fca5a5 !important;
    background: rgba(239, 68, 68, .055);
}

[b-ap6811nagz] .erp-nav__logout:hover {
    color: #fff !important;
    background: rgba(239, 68, 68, .14);
    border-color: rgba(248, 113, 113, .28);
}

.erp-nav.is-collapsed[b-ap6811nagz] {
    padding-inline: 10px;
}

[b-ap6811nagz] .is-collapsed .erp-nav__brand {
    grid-template-columns: 1fr;
    padding: 10px 6px;
}

[b-ap6811nagz] .is-collapsed .erp-nav__brand-mark {
    margin: auto;
}

[b-ap6811nagz] .is-collapsed .erp-nav__brand-copy,
[b-ap6811nagz] .is-collapsed .erp-nav__control-label,
[b-ap6811nagz] .is-collapsed .erp-nav__label,
[b-ap6811nagz] .is-collapsed .erp-nav__chevron,
[b-ap6811nagz] .is-collapsed .erp-nav__active-dot,
[b-ap6811nagz] .is-collapsed .erp-nav__user-copy {
    display: none;
}

[b-ap6811nagz] .is-collapsed .erp-nav__collapse,
[b-ap6811nagz] .is-collapsed .erp-nav__logout,
[b-ap6811nagz] .is-collapsed .erp-nav__group-button,
[b-ap6811nagz] .is-collapsed .erp-nav__link {
    grid-template-columns: 1fr;
    place-items: center;
    padding-inline: 0;
}

[b-ap6811nagz] .is-collapsed .erp-nav__group-items {
    margin: 0;
    padding: 0;
    border: 0;
}

[b-ap6811nagz] .is-collapsed .erp-nav__user {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 7px 5px;
}

@media (max-height: 760px) {
    .erp-nav[b-ap6811nagz] {
        gap: 7px;
        padding-block: 9px;
    }

    [b-ap6811nagz] .erp-nav__brand {
        flex-basis: 62px;
    }

    [b-ap6811nagz] .erp-nav__brand-mark {
        width: 44px;
        height: 44px;
    }

    [b-ap6811nagz] .erp-nav__user {
        min-height: 50px;
    }

    [b-ap6811nagz] .erp-nav__avatar {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 1120px) {
    .erp-nav.is-collapsed[b-ap6811nagz] {
        padding-inline: 12px;
    }

    [b-ap6811nagz] .is-collapsed .erp-nav__brand {
        grid-template-columns: 50px minmax(0, 1fr);
        padding: 10px;
    }

    [b-ap6811nagz] .is-collapsed .erp-nav__brand-copy,
    [b-ap6811nagz] .is-collapsed .erp-nav__control-label,
    [b-ap6811nagz] .is-collapsed .erp-nav__label,
    [b-ap6811nagz] .is-collapsed .erp-nav__chevron,
    [b-ap6811nagz] .is-collapsed .erp-nav__user-copy {
        display: block;
    }

    [b-ap6811nagz] .is-collapsed .erp-nav__chevron {
        display: grid;
    }

    [b-ap6811nagz] .is-collapsed .erp-nav__collapse,
    [b-ap6811nagz] .is-collapsed .erp-nav__logout {
        grid-template-columns: 28px minmax(0, 1fr);
        place-items: initial;
        align-items: center;
        padding-inline: 12px;
    }

    [b-ap6811nagz] .is-collapsed .erp-nav__group-button,
    [b-ap6811nagz] .is-collapsed .erp-nav__link {
        grid-template-columns: 28px minmax(0, 1fr) 20px;
        place-items: initial;
        align-items: center;
        padding-inline: 10px;
    }

    [b-ap6811nagz] .is-collapsed .erp-nav__group-items {
        margin: 0 16px 2px 0;
        padding: 2px 10px 2px 0;
        border-right: 1px solid rgba(148, 163, 184, .18);
    }

    [b-ap6811nagz] .is-collapsed .erp-nav__user {
        grid-template-columns: 44px minmax(0, 1fr);
        justify-items: initial;
        padding: 7px 8px;
    }
}
/* ERPPLUS NAV THEME TOKENS V1 */
:host-context(.erpdb-light) .erp-nav[b-ap6811nagz] {
    color: var(--erp-text,#0f172a);
    background: linear-gradient(180deg,color-mix(in srgb,var(--erp-primary) 5%,#fff),#fff 58%,color-mix(in srgb,var(--erp-accent) 3%,#fff));
}
:host-context(.erpdb-dark) .erp-nav[b-ap6811nagz] {
    color: var(--erp-text,#f8fafc);
    background: linear-gradient(180deg,color-mix(in srgb,var(--erp-primary) 10%,#08101f),#070b19 58%,#050814);
}
[b-ap6811nagz] .erp-nav__link,[b-ap6811nagz] .erp-nav__group-button,[b-ap6811nagz] .erp-nav__collapse { color: inherit !important; }
[b-ap6811nagz] .erp-nav__link.active,[b-ap6811nagz] .erp-nav__group-button.active {
    color: var(--erp-on-primary) !important;
    background: var(--erp-primary) !important;
    border-color: transparent !important;
}
[b-ap6811nagz] .erp-nav__avatar,[b-ap6811nagz] .erp-nav__brand-mark {
    color: var(--erp-on-brand) !important;
    background: var(--erp-brand-gradient) !important;
}
:host-context(.erpdb-light)[b-ap6811nagz] (.erp-nav__user-copy strong),
:host-context(.erpdb-light)[b-ap6811nagz] (.erp-nav__brand-copy strong) { color: var(--erp-text,#0f172a) !important; }
:host-context(.erpdb-light)[b-ap6811nagz] (.erp-nav__user-copy small),
:host-context(.erpdb-light)[b-ap6811nagz] (.erp-nav__brand-copy small) { color: var(--erp-text-muted,#64748b) !important; }

/* =========================================================
   ERPPlus tenant-brand sidebar theme
   The complete sidebar follows organization colors while
   preserving readable contrast for light and dark brands.
   ========================================================= */
.erp-nav[b-ap6811nagz],
.erp-nav.erpdb-light[b-ap6811nagz],
.erp-nav.erpdb-dark[b-ap6811nagz] {
    --nav-brand-text: var(--erp-on-brand, #ffffff);
    --nav-brand-muted: var(--erp-on-brand-muted, rgba(255,255,255,.78));
    --nav-brand-glass: color-mix(in srgb, var(--nav-brand-text) 9%, transparent);
    --nav-brand-glass-hover: color-mix(in srgb, var(--nav-brand-text) 15%, transparent);
    --nav-brand-glass-active: color-mix(in srgb, var(--nav-brand-text) 20%, transparent);
    --nav-brand-border: color-mix(in srgb, var(--nav-brand-text) 18%, transparent);
    color: var(--nav-brand-text) !important;
    background:
        radial-gradient(circle at 16% -8%, color-mix(in srgb, var(--erp-accent, #7c3aed) 58%, transparent), transparent 245px),
        radial-gradient(circle at 98% 30%, color-mix(in srgb, var(--erp-primary, #2563eb) 44%, transparent), transparent 275px),
        linear-gradient(180deg,
            color-mix(in srgb, var(--erp-primary, #2563eb) 86%, var(--erp-accent, #7c3aed)) 0%,
            color-mix(in srgb, var(--erp-primary, #2563eb) 72%, var(--erp-accent, #7c3aed)) 55%,
            color-mix(in srgb, var(--erp-accent, #7c3aed) 78%, var(--erp-primary, #2563eb)) 100%) !important;
}

[b-ap6811nagz] .erp-nav__brand,
[b-ap6811nagz] .erp-nav__collapse,
[b-ap6811nagz] .erp-nav__search,
[b-ap6811nagz] .erp-nav__search-compact,
[b-ap6811nagz] .erp-nav__group-button,
[b-ap6811nagz] .erp-nav__link,
[b-ap6811nagz] .erp-nav__user,
[b-ap6811nagz] .erp-nav__logout {
    color: var(--nav-brand-text) !important;
    border-color: var(--nav-brand-border) !important;
}

[b-ap6811nagz] .erp-nav__brand,
[b-ap6811nagz] .erp-nav__collapse,
[b-ap6811nagz] .erp-nav__search,
[b-ap6811nagz] .erp-nav__search-compact,
[b-ap6811nagz] .erp-nav__user,
[b-ap6811nagz] .erp-nav__logout {
    background: var(--nav-brand-glass) !important;
}

[b-ap6811nagz] .erp-nav__brand-copy strong,
[b-ap6811nagz] .erp-nav__brand-copy span,
[b-ap6811nagz] .erp-nav__user-copy strong,
[b-ap6811nagz] .erp-nav__user-copy small,
[b-ap6811nagz] .erp-nav__control-label,
[b-ap6811nagz] .erp-nav__label,
[b-ap6811nagz] .erp-nav__control-icon,
[b-ap6811nagz] .erp-nav__icon,
[b-ap6811nagz] .erp-nav__chevron,
[b-ap6811nagz] .erp-nav__search input,
[b-ap6811nagz] .erp-nav__search button {
    color: inherit !important;
}

[b-ap6811nagz] .erp-nav__brand-copy span,
[b-ap6811nagz] .erp-nav__user-copy small,
[b-ap6811nagz] .erp-nav__search input::placeholder {
    color: var(--nav-brand-muted) !important;
}

[b-ap6811nagz] .erp-nav__brand-mark,
[b-ap6811nagz] .erp-nav__avatar {
    color: var(--erp-on-primary, var(--nav-brand-text)) !important;
    background: var(--erp-primary, #2563eb) !important;
    border-color: color-mix(in srgb, var(--erp-on-primary, #fff) 24%, transparent) !important;
    box-shadow: 0 12px 26px rgba(var(--erp-primary-rgb, 37,99,235), .28) !important;
}

[b-ap6811nagz] .erp-nav__collapse:hover,
[b-ap6811nagz] .erp-nav__search-compact:hover,
[b-ap6811nagz] .erp-nav__group-button:hover,
[b-ap6811nagz] .erp-nav__link:hover,
[b-ap6811nagz] .erp-nav__user:hover {
    color: var(--nav-brand-text) !important;
    background: var(--nav-brand-glass-hover) !important;
    border-color: color-mix(in srgb, var(--nav-brand-text) 28%, transparent) !important;
}

[b-ap6811nagz] .erp-nav__group.is-active > .erp-nav__group-button,
[b-ap6811nagz] .erp-nav__link.active {
    color: var(--nav-brand-text) !important;
    background: var(--nav-brand-glass-active) !important;
    border-color: color-mix(in srgb, var(--nav-brand-text) 34%, transparent) !important;
    box-shadow:
        inset -3px 0 var(--nav-brand-text),
        0 10px 24px rgba(var(--erp-primary-rgb, 37,99,235), .16) !important;
}

[b-ap6811nagz] .erp-nav__active-dot,
[b-ap6811nagz] .erp-nav__link.active .erp-nav__active-dot {
    background: var(--nav-brand-text) !important;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--nav-brand-text) 18%, transparent) !important;
}

[b-ap6811nagz] .erp-nav__list::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--nav-brand-text) 28%, transparent) !important;
}

[b-ap6811nagz] .erp-nav__logout {
    color: color-mix(in srgb, #ffb4b4 75%, var(--nav-brand-text)) !important;
}

[b-ap6811nagz] .erp-nav__logout:hover {
    color: #fff !important;
    background: rgba(185, 28, 28, .34) !important;
    border-color: rgba(254, 202, 202, .38) !important;
}


/* =========================================================
   ERPPlus minimal desktop sidebar
   Keep only the primary sections visually prominent.
   ========================================================= */
@media screen and (min-width: 1121px) {
    .erp-nav[b-ap6811nagz] {
        gap: 5px;
        padding: 8px;
    }

    .erp-nav__brand[b-ap6811nagz] {
        flex-basis: 54px;
        min-height: 54px;
        padding: 6px 7px;
    }

    .erp-nav__brand-mark[b-ap6811nagz] {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .erp-nav__collapse[b-ap6811nagz],
    .erp-nav__search[b-ap6811nagz],
    .erp-nav__search-compact[b-ap6811nagz] {
        min-height: 36px;
    }

    .erp-nav__list[b-ap6811nagz] {
        gap: 2px;
        padding-top: 0;
    }

    .erp-nav__group[b-ap6811nagz] {
        gap: 1px;
    }

    .erp-nav__group-button[b-ap6811nagz],
    .erp-nav__link[b-ap6811nagz] {
        min-height: 36px;
        border-radius: 9px;
        padding-block: 3px;
    }

    .erp-nav__group-items[b-ap6811nagz] {
        gap: 1px;
        margin-right: 11px;
        padding-right: 7px;
    }

    .erp-nav__group-items .erp-nav__link[b-ap6811nagz] {
        min-height: 33px;
        font-size: 11.5px;
    }

    .erp-nav__footer[b-ap6811nagz] {
        gap: 4px;
    }

    .erp-nav__user[b-ap6811nagz] {
        min-height: 46px;
    }

    .erp-nav__logout[b-ap6811nagz] {
        min-height: 36px;
    }
}
/* /Components/Layout/ProductModuleNav.razor.rz.scp.css */
.product-module-nav[b-a6c7eh6yhl]{display:grid;gap:6px;padding:12px}.product-module-nav-title[b-a6c7eh6yhl]{display:grid;gap:2px;padding:10px;margin-bottom:6px;border-radius:14px;background:#f1f5f9}.product-module-nav-title strong[b-a6c7eh6yhl]{font-weight:900}.product-module-nav-title span[b-a6c7eh6yhl]{color:#64748b;font-size:12px}.product-module-nav a[b-a6c7eh6yhl]{text-decoration:none;color:#0f172a;font-weight:700;padding:9px 10px;border-radius:12px;transition:background .15s ease}.product-module-nav a:hover[b-a6c7eh6yhl]{background:#e0f2fe}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-50wwsz2r9h],
.components-reconnect-repeated-attempt-visible[b-50wwsz2r9h],
.components-reconnect-failed-visible[b-50wwsz2r9h],
.components-pause-visible[b-50wwsz2r9h],
.components-resume-failed-visible[b-50wwsz2r9h],
.components-rejoining-animation[b-50wwsz2r9h] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-50wwsz2r9h],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-50wwsz2r9h],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-50wwsz2r9h],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-50wwsz2r9h],
#components-reconnect-modal.components-reconnect-retrying[b-50wwsz2r9h],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-50wwsz2r9h],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-50wwsz2r9h],
#components-reconnect-modal.components-reconnect-failed[b-50wwsz2r9h],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-50wwsz2r9h] {
    display: block;
}


#components-reconnect-modal[b-50wwsz2r9h] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-50wwsz2r9h 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-50wwsz2r9h 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-50wwsz2r9h 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-50wwsz2r9h]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-50wwsz2r9h 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-50wwsz2r9h {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-50wwsz2r9h {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-50wwsz2r9h {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-50wwsz2r9h] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-50wwsz2r9h] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-50wwsz2r9h] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-50wwsz2r9h] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-50wwsz2r9h] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-50wwsz2r9h] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-50wwsz2r9h] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-50wwsz2r9h 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-50wwsz2r9h] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-50wwsz2r9h {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Accounting.razor.rz.scp.css */
.accounting-dashboard[b-ayod4qizcp] {
    min-height: 100%;
    padding: 28px;
    color: var(--erp-theme-text);
    font-family: inherit;
}

    .accounting-dashboard[b-ayod4qizcp],
    .accounting-dashboard *[b-ayod4qizcp] {
        box-sizing: border-box;
    }

        .accounting-dashboard a[b-ayod4qizcp] {
            text-decoration: none;
        }

.accounting-header[b-ayod4qizcp] {
    padding: 26px;
    border: 1px solid var(--erp-theme-border);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: radial-gradient(circle at 12% 20%, rgba(99, 102, 241, .16), transparent 30%), var(--erp-theme-surface);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .07);
}

.accounting-eyebrow[b-ayod4qizcp] {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--erp-primary, #4f46e5);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .4px;
}

.accounting-header h1[b-ayod4qizcp] {
    margin: 0;
    font-size: 30px;
    font-weight: 1000;
    color: var(--erp-theme-text);
}

.accounting-header p[b-ayod4qizcp] {
    margin: 10px 0 0;
    color: var(--erp-theme-text-soft);
    font-size: 14px;
    font-weight: 700;
}

.accounting-header-actions[b-ayod4qizcp] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.accounting-btn[b-ayod4qizcp] {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease;
}

    .accounting-btn:hover[b-ayod4qizcp] {
        transform: translateY(-2px);
    }

    .accounting-btn.primary[b-ayod4qizcp] {
        border: 1px solid var(--erp-primary, #4f46e5);
        color: var(--erp-on-brand, #ffffff);
        background: linear-gradient( 135deg, var(--erp-primary, #4f46e5), var(--erp-accent, #7c3aed) );
    }

    .accounting-btn.secondary[b-ayod4qizcp] {
        border: 1px solid var(--erp-theme-border);
        color: var(--erp-theme-text);
        background: var(--erp-theme-surface);
    }

.accounting-stat-grid[b-ayod4qizcp] {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.accounting-stat-card[b-ayod4qizcp] {
    min-height: 136px;
    padding: 18px;
    border: 1px solid var(--erp-theme-border);
    border-radius: 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--erp-theme-text);
    background: var(--erp-theme-surface);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .05);
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

    .accounting-stat-card:hover[b-ayod4qizcp] {
        transform: translateY(-3px);
        border-color: var(--erp-primary);
        box-shadow: 0 16px 36px rgba(79, 70, 229, .14);
    }

.accounting-stat-icon[b-ayod4qizcp] {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient( 135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed) );
    font-size: 16px;
    font-weight: 1000;
}

.accounting-stat-card span[b-ayod4qizcp],
.accounting-stat-card strong[b-ayod4qizcp],
.accounting-stat-card small[b-ayod4qizcp] {
    display: block;
}

.accounting-stat-card span[b-ayod4qizcp] {
    color: var(--erp-theme-text-soft);
    font-size: 11px;
    font-weight: 800;
}

.accounting-stat-card strong[b-ayod4qizcp] {
    margin-top: 8px;
    font-size: 15px;
    font-weight: 1000;
    color: var(--erp-theme-text);
}

.accounting-stat-card small[b-ayod4qizcp] {
    margin-top: 7px;
    color: var(--erp-theme-text-soft);
    line-height: 1.8;
    font-size: 11px;
    font-weight: 700;
}

.accounting-content-grid[b-ayod4qizcp] {
    margin-top: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(320px, .8fr);
    gap: 18px;
    align-items: start;
}

.accounting-panel[b-ayod4qizcp] {
    padding: 22px;
    border: 1px solid var(--erp-theme-border);
    border-radius: 22px;
    background: var(--erp-theme-surface);
    box-shadow: 0 14px 36px rgba(15, 23, 42, .05);
}

.accounting-panel-header[b-ayod4qizcp] {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .accounting-panel-header span[b-ayod4qizcp] {
        color: var(--erp-theme-text-soft);
        font-size: 11px;
        font-weight: 800;
    }

    .accounting-panel-header h2[b-ayod4qizcp] {
        margin: 6px 0 0;
        font-size: 18px;
        font-weight: 1000;
        color: var(--erp-theme-text);
    }

.accounting-action-grid[b-ayod4qizcp] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.accounting-action-card[b-ayod4qizcp] {
    min-height: 126px;
    padding: 18px;
    border: 1px solid var(--erp-theme-border);
    border-radius: 18px;
    display: block;
    color: var(--erp-theme-text);
    background: var(--erp-theme-surface-raised);
    text-align: right;
    font-family: inherit;
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

    .accounting-action-card:hover[b-ayod4qizcp] {
        transform: translateY(-2px);
        border-color: var(--erp-primary);
        box-shadow: 0 14px 30px rgba(79, 70, 229, .12);
    }

    .accounting-action-symbol[b-ayod4qizcp],
    .accounting-action-card strong[b-ayod4qizcp],
    .accounting-action-card small[b-ayod4qizcp] {
        display: block;
    }

.accounting-action-symbol[b-ayod4qizcp] {
    color: var(--erp-primary);
    font-size: 11px;
    font-weight: 1000;
}

.accounting-action-card strong[b-ayod4qizcp] {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 1000;
    color: var(--erp-theme-text);
}

.accounting-action-card small[b-ayod4qizcp] {
    margin-top: 8px;
    color: var(--erp-theme-text-soft);
    font-size: 11px;
    line-height: 1.8;
    font-weight: 700;
}

.accounting-status-list[b-ayod4qizcp] {
    display: grid;
    gap: 10px;
}

.accounting-status-item[b-ayod4qizcp] {
    padding: 14px;
    border: 1px solid var(--erp-theme-border);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--erp-theme-text);
    background: var(--erp-theme-surface-raised);
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

    .accounting-status-item:hover[b-ayod4qizcp] {
        transform: translateY(-1px);
        border-color: var(--erp-primary);
        box-shadow: 0 10px 22px rgba(79, 70, 229, .09);
    }

    .accounting-status-item strong[b-ayod4qizcp],
    .accounting-status-item small[b-ayod4qizcp] {
        display: block;
    }

    .accounting-status-item strong[b-ayod4qizcp] {
        font-size: 12px;
        font-weight: 1000;
        color: var(--erp-theme-text);
    }

    .accounting-status-item small[b-ayod4qizcp] {
        margin-top: 5px;
        color: var(--erp-theme-text-soft);
        font-size: 10px;
        font-weight: 700;
    }

    .accounting-status-item > span[b-ayod4qizcp] {
        padding: 6px 9px;
        border-radius: 999px;
        font-size: 9px;
        font-weight: 1000;
        white-space: nowrap;
    }

    .accounting-status-item.ready > span[b-ayod4qizcp] {
        color: var(--erp-success, #10b981);
        background: color-mix( in srgb, var(--erp-success, #10b981) 18%, transparent );
    }

.accounting-note[b-ayod4qizcp] {
    margin-top: 16px;
    padding: 16px;
    border: 1px dashed var(--erp-theme-border);
    border-radius: 16px;
    background: var(--erp-theme-surface-raised);
}

    .accounting-note strong[b-ayod4qizcp] {
        font-size: 12px;
        font-weight: 1000;
        color: var(--erp-theme-text);
    }

    .accounting-note p[b-ayod4qizcp] {
        margin: 8px 0 0;
        color: var(--erp-theme-text-soft);
        font-size: 11px;
        line-height: 1.9;
        font-weight: 700;
    }

@media (max-width: 1100px) {
    .accounting-stat-grid[b-ayod4qizcp] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .accounting-content-grid[b-ayod4qizcp] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .accounting-dashboard[b-ayod4qizcp] {
        padding: 16px;
    }

    .accounting-header[b-ayod4qizcp] {
        align-items: stretch;
        flex-direction: column;
    }

    .accounting-header-actions[b-ayod4qizcp] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .accounting-stat-grid[b-ayod4qizcp],
    .accounting-action-grid[b-ayod4qizcp] {
        grid-template-columns: 1fr;
    }

    .accounting-btn[b-ayod4qizcp] {
        width: 100%;
    }
}
/* /Components/Pages/AccountingDocumentDetails.razor.rz.scp.css */
.document-details-page[b-m3zjnh363x] {
    min-height: 100%;
    padding: 28px;
    color: #0f172a;
    font-family: inherit;
}

.document-details-page[b-m3zjnh363x],
.document-details-page *[b-m3zjnh363x] {
    box-sizing: border-box;
}

.document-details-page a[b-m3zjnh363x] {
    text-decoration: none;
}

.document-details-hero[b-m3zjnh363x],
.document-overview-card[b-m3zjnh363x],
.document-meta-card[b-m3zjnh363x],
.document-balance-card[b-m3zjnh363x],
.document-lines-card[b-m3zjnh363x],
.document-footer-card[b-m3zjnh363x],
.document-details-state[b-m3zjnh363x] {
    border: 1px solid #dbe4f0;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .07);
}

.document-details-hero[b-m3zjnh363x] {
    padding: 28px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        radial-gradient(circle at 12% 20%, rgba(99, 102, 241, .16), transparent 30%),
        linear-gradient(135deg, #fff, #f8fbff);
}

.document-details-eyebrow[b-m3zjnh363x] {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--erp-primary, #4f46e5);
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: .6px;
}

.document-details-hero h1[b-m3zjnh363x] {
    margin: 0;
    font-size: 30px;
    font-weight: 1000;
}

.document-details-hero p[b-m3zjnh363x] {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.document-details-actions[b-m3zjnh363x],
.document-footer-actions[b-m3zjnh363x] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.document-details-btn[b-m3zjnh363x] {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.document-details-btn:hover:not(:disabled)[b-m3zjnh363x] {
    transform: translateY(-2px);
}

.document-details-btn:disabled[b-m3zjnh363x] {
    opacity: .5;
    cursor: not-allowed;
}

.document-details-btn.primary[b-m3zjnh363x] {
    color: var(--erp-on-brand, #ffffff);
    border-color: var(--erp-primary, #4f46e5);
    background: linear-gradient(135deg, var(--erp-primary, #4f46e5), var(--erp-accent, #7c3aed));
    box-shadow: 0 10px 24px rgba(79, 70, 229, .22);
}

.document-details-btn.secondary[b-m3zjnh363x] {
    color: #334155;
    border-color: #cbd5e1;
    background: #fff;
}

.document-details-state[b-m3zjnh363x] {
    margin-top: 18px;
    padding: 48px 24px;
    border-radius: 24px;
    text-align: center;
}

.document-details-state p[b-m3zjnh363x] {
    margin: 10px 0 18px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.document-details-state.error[b-m3zjnh363x] {
    border-color: #fecaca;
    color: #b91c1c;
    background: #fef2f2;
}

.document-details-spinner[b-m3zjnh363x] {
    width: 42px;
    height: 42px;
    margin: 0 auto 14px;
    border: 4px solid #e0e7ff;
    border-top-color: var(--erp-primary, #4f46e5);
    border-radius: 50%;
    animation: details-spin-b-m3zjnh363x .8s linear infinite;
}

@keyframes details-spin-b-m3zjnh363x {
    to {
        transform: rotate(360deg);
    }
}

.document-message[b-m3zjnh363x] {
    margin-top: 18px;
    padding: 13px 15px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 900;
}

.document-message.error[b-m3zjnh363x] {
    border: 1px solid #fecaca;
    color: #b91c1c;
    background: #fef2f2;
}

.document-message.success[b-m3zjnh363x] {
    border: 1px solid #a7f3d0;
    color: #047857;
    background: #ecfdf5;
}

.document-overview-card[b-m3zjnh363x] {
    margin-top: 18px;
    padding: 22px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.document-title-block span[b-m3zjnh363x] {
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
}

.document-title-block h2[b-m3zjnh363x] {
    margin: 6px 0 0;
    font-size: 22px;
    font-weight: 1000;
}

.document-title-block p[b-m3zjnh363x] {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}

.document-status-block[b-m3zjnh363x] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.posting-badge[b-m3zjnh363x],
.balance-badge[b-m3zjnh363x] {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 1000;
}

.posting-badge.posted[b-m3zjnh363x],
.balance-badge.balanced[b-m3zjnh363x] {
    color: #047857;
    background: #d1fae5;
}

.posting-badge.draft[b-m3zjnh363x] {
    color: #b45309;
    background: #fef3c7;
}

.balance-badge.unbalanced[b-m3zjnh363x] {
    color: #b91c1c;
    background: #fee2e2;
}

.document-meta-grid[b-m3zjnh363x] {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.document-meta-card[b-m3zjnh363x] {
    min-height: 126px;
    padding: 18px;
    border-radius: 20px;
}

.document-meta-card.debit[b-m3zjnh363x] {
    border-top: 3px solid var(--erp-primary, #2563eb);
}

.document-meta-card.credit[b-m3zjnh363x] {
    border-top: 3px solid #f59e0b;
}

.document-meta-card span[b-m3zjnh363x] {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
}

.document-meta-card strong[b-m3zjnh363x] {
    display: block;
    margin-top: 13px;
    font-size: 20px;
    font-weight: 1000;
}

.document-meta-card small[b-m3zjnh363x] {
    display: block;
    margin-top: 9px;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
}

.document-balance-card[b-m3zjnh363x] {
    margin-top: 18px;
    padding: 20px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.document-balance-card.balanced[b-m3zjnh363x] {
    border-color: #a7f3d0;
    background: linear-gradient(135deg, #fff, #ecfdf5);
}

.document-balance-card.unbalanced[b-m3zjnh363x] {
    border-color: #fecaca;
    background: linear-gradient(135deg, #fff, #fef2f2);
}

.document-balance-icon[b-m3zjnh363x] {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 20px;
    font-weight: 1000;
}

.balanced .document-balance-icon[b-m3zjnh363x] {
    background: linear-gradient(135deg, #059669, #10b981);
}

.unbalanced .document-balance-icon[b-m3zjnh363x] {
    background: linear-gradient(135deg, #dc2626, #f43f5e);
}

.document-balance-card span[b-m3zjnh363x] {
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
}

.document-balance-card h2[b-m3zjnh363x] {
    margin: 5px 0 0;
    font-size: 17px;
    font-weight: 1000;
}

.document-balance-card p[b-m3zjnh363x] {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.document-lines-card[b-m3zjnh363x] {
    margin-top: 18px;
    border-radius: 24px;
    overflow: hidden;
}

.document-lines-header[b-m3zjnh363x] {
    padding: 21px 22px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.document-lines-header span[b-m3zjnh363x] {
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
}

.document-lines-header h2[b-m3zjnh363x] {
    margin: 6px 0 0;
    font-size: 18px;
    font-weight: 1000;
}

.document-lines-count[b-m3zjnh363x] {
    padding: 8px 12px;
    border-radius: 999px;
    color: #4338ca !important;
    background: #eef2ff;
}

.document-lines-wrap[b-m3zjnh363x] {
    overflow: auto;
}

.document-lines-table[b-m3zjnh363x] {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
}

.document-lines-table th[b-m3zjnh363x],
.document-lines-table td[b-m3zjnh363x] {
    padding: 14px 13px;
    border-bottom: 1px solid #edf2f7;
    text-align: right;
    vertical-align: middle;
    font-size: 11px;
}

.document-lines-table th[b-m3zjnh363x] {
    color: #475569;
    background: #f8fafc;
    font-weight: 1000;
    white-space: nowrap;
}

.document-lines-table tbody tr:hover[b-m3zjnh363x] {
    background: #fafbff;
}

.document-lines-table tfoot td[b-m3zjnh363x] {
    border-bottom: 0;
    background: #f8fafc;
    font-weight: 1000;
}

.line-number[b-m3zjnh363x] {
    color: #94a3b8;
    font-weight: 900;
}

.account-code[b-m3zjnh363x] {
    color: #4338ca;
    font-weight: 1000;
    white-space: nowrap;
}

.account-name[b-m3zjnh363x] {
    min-width: 190px;
    font-weight: 900;
}

.line-description[b-m3zjnh363x] {
    min-width: 260px;
    color: #475569;
    line-height: 1.8;
    font-weight: 700;
}

.money[b-m3zjnh363x] {
    direction: ltr;
    text-align: right !important;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    font-weight: 1000;
}

.debit-value[b-m3zjnh363x] {
    color: #1d4ed8;
}

.credit-value[b-m3zjnh363x] {
    color: #b45309;
}

.document-lines-empty[b-m3zjnh363x] {
    padding: 42px 20px;
    color: #64748b;
    text-align: center;
    font-size: 12px;
    font-weight: 900;
}

.document-footer-card[b-m3zjnh363x] {
    margin-top: 18px;
    padding: 20px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.document-footer-card strong[b-m3zjnh363x] {
    font-size: 12px;
    font-weight: 1000;
}

.document-footer-card p[b-m3zjnh363x] {
    margin: 7px 0 0;
    color: #64748b;
    font-size: 11px;
    line-height: 1.8;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .document-meta-grid[b-m3zjnh363x] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .document-details-page[b-m3zjnh363x] {
        padding: 16px;
    }

    .document-details-hero[b-m3zjnh363x],
    .document-overview-card[b-m3zjnh363x],
    .document-footer-card[b-m3zjnh363x],
    .document-lines-header[b-m3zjnh363x] {
        align-items: stretch;
        flex-direction: column;
    }

    .document-details-actions[b-m3zjnh363x],
    .document-footer-actions[b-m3zjnh363x],
    .document-meta-grid[b-m3zjnh363x] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .document-details-btn[b-m3zjnh363x] {
        width: 100%;
    }
}

@media print {
    .document-details-actions[b-m3zjnh363x],
    .document-footer-actions[b-m3zjnh363x],
    .document-footer-card[b-m3zjnh363x] {
        display: none !important;
    }

    .document-details-page[b-m3zjnh363x] {
        padding: 0;
    }

    .document-details-hero[b-m3zjnh363x],
    .document-overview-card[b-m3zjnh363x],
    .document-meta-card[b-m3zjnh363x],
    .document-balance-card[b-m3zjnh363x],
    .document-lines-card[b-m3zjnh363x] {
        box-shadow: none;
    }

    .document-details-hero[b-m3zjnh363x] {
        border: 0;
        padding: 0 0 20px;
    }
}

.erp-print-report[b-m3zjnh363x] {
    display: none;
}

@media print {
    .erp-print-report[b-m3zjnh363x] {
        display: block !important;
        width: 100% !important;
        color: #000 !important;
        background: #fff !important;
        font-size: 10pt !important;
    }

    .erp-print-report *[b-m3zjnh363x] {
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    .erp-print-header[b-m3zjnh363x] {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important;
        align-items: start !important;
        gap: 12px !important;
        margin-bottom: 8mm !important;
        padding-bottom: 4mm !important;
        border-bottom: 1px solid #475569 !important;
    }

    .erp-print-header-center[b-m3zjnh363x] {
        text-align: center !important;
    }

    .erp-print-header-center h1[b-m3zjnh363x] {
        margin: 0 0 2mm !important;
        font-size: 17pt !important;
        font-weight: 900 !important;
    }

    .erp-print-header-center p[b-m3zjnh363x],
    .erp-print-header-side p[b-m3zjnh363x] {
        margin: 1mm 0 !important;
        font-size: 9pt !important;
    }

    .erp-print-header-side:last-child[b-m3zjnh363x] {
        text-align: left !important;
        direction: ltr !important;
    }

    .erp-print-table[b-m3zjnh363x] {
        width: 100% !important;
        border-collapse: collapse !important;
        table-layout: auto !important;
        font-size: 9pt !important;
    }

    .erp-print-table th[b-m3zjnh363x],
    .erp-print-table td[b-m3zjnh363x] {
        padding: 2.2mm 1.8mm !important;
        border: 1px solid #94a3b8 !important;
        text-align: right !important;
        vertical-align: middle !important;
        background: #fff !important;
    }

    .erp-print-table th[b-m3zjnh363x] {
        font-weight: 900 !important;
        background: #f1f5f9 !important;
    }

    .erp-print-table .print-money[b-m3zjnh363x] {
        direction: ltr !important;
        text-align: right !important;
        white-space: nowrap !important;
        font-variant-numeric: tabular-nums !important;
    }

    .erp-print-table tfoot td[b-m3zjnh363x] {
        font-weight: 900 !important;
        background: #f8fafc !important;
    }

    .erp-print-summary[b-m3zjnh363x] {
        margin-top: 5mm !important;
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 2mm !important;
    }

    .erp-print-summary > div[b-m3zjnh363x] {
        padding: 3mm !important;
        border: 1px solid #94a3b8 !important;
    }

    .erp-print-summary span[b-m3zjnh363x],
    .erp-print-summary strong[b-m3zjnh363x] {
        display: block !important;
    }

    .erp-print-summary span[b-m3zjnh363x] {
        font-size: 8.5pt !important;
    }

    .erp-print-summary strong[b-m3zjnh363x] {
        margin-top: 1.5mm !important;
        font-size: 10pt !important;
    }

    .erp-print-footer[b-m3zjnh363x] {
        margin-top: 8mm !important;
        padding-top: 3mm !important;
        border-top: 1px solid #cbd5e1 !important;
        display: flex !important;
        justify-content: space-between !important;
        font-size: 8pt !important;
    }
}

@media print {
    .document-details-page > :not(.erp-print-report)[b-m3zjnh363x] {
        display: none !important;
    }

    .document-details-page[b-m3zjnh363x] {
        padding: 0 !important;
        margin: 0 !important;
        background: #fff !important;
    }
}
/* /Components/Pages/AccountingDocumentEdit.razor.rz.scp.css */
.document-edit-page[b-k44mma0rhy] {
    min-height: 100%;
    padding: 28px;
    color: #0f172a;
    font-family: inherit;
}

.document-edit-page[b-k44mma0rhy],
.document-edit-page *[b-k44mma0rhy] {
    box-sizing: border-box;
}

.document-edit-page a[b-k44mma0rhy] {
    text-decoration: none;
}

.document-edit-hero[b-k44mma0rhy],
.document-info-card[b-k44mma0rhy],
.document-balance-card[b-k44mma0rhy],
.document-lines-card[b-k44mma0rhy],
.document-footer-card[b-k44mma0rhy],
.document-edit-state[b-k44mma0rhy] {
    border: 1px solid #dbe4f0;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .07);
}

.document-edit-hero[b-k44mma0rhy] {
    padding: 28px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        radial-gradient(circle at 12% 20%, rgba(99, 102, 241, .16), transparent 30%),
        linear-gradient(135deg, #fff, #f8fbff);
}

.document-edit-eyebrow[b-k44mma0rhy] {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--erp-primary, #4f46e5);
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: .6px;
}

.document-edit-hero h1[b-k44mma0rhy] {
    margin: 0;
    font-size: 30px;
    font-weight: 1000;
}

.document-edit-hero p[b-k44mma0rhy] {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.document-edit-actions[b-k44mma0rhy],
.document-footer-actions[b-k44mma0rhy] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.document-edit-btn[b-k44mma0rhy] {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.document-edit-btn:hover:not(:disabled)[b-k44mma0rhy] {
    transform: translateY(-2px);
}

.document-edit-btn:disabled[b-k44mma0rhy] {
    opacity: .5;
    cursor: not-allowed;
}

.document-edit-btn.primary[b-k44mma0rhy] {
    color: var(--erp-on-brand, #ffffff);
    border-color: var(--erp-primary, #4f46e5);
    background: linear-gradient(135deg, var(--erp-primary, #4f46e5), var(--erp-accent, #7c3aed));
    box-shadow: 0 10px 24px rgba(79, 70, 229, .22);
}

.document-edit-btn.secondary[b-k44mma0rhy] {
    color: #334155;
    border-color: #cbd5e1;
    background: #fff;
}

.document-edit-btn.small[b-k44mma0rhy] {
    min-height: 38px;
    padding: 0 14px;
    font-size: 10px;
}

.document-edit-state[b-k44mma0rhy] {
    margin-top: 18px;
    padding: 48px 24px;
    border-radius: 24px;
    text-align: center;
}

.document-edit-state p[b-k44mma0rhy] {
    margin: 10px 0 18px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.document-edit-state.error[b-k44mma0rhy] {
    border-color: #fecaca;
    color: #b91c1c;
    background: #fef2f2;
}

.document-edit-state.warning[b-k44mma0rhy] {
    border-color: #fde68a;
    color: #92400e;
    background: #fffbeb;
}

.document-edit-spinner[b-k44mma0rhy] {
    width: 42px;
    height: 42px;
    margin: 0 auto 14px;
    border: 4px solid #e0e7ff;
    border-top-color: var(--erp-primary, #4f46e5);
    border-radius: 50%;
    animation: document-edit-spin-b-k44mma0rhy .8s linear infinite;
}

@keyframes document-edit-spin-b-k44mma0rhy {
    to {
        transform: rotate(360deg);
    }
}

.document-message[b-k44mma0rhy] {
    margin-top: 18px;
    padding: 13px 15px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 900;
}

.document-message.error[b-k44mma0rhy] {
    border: 1px solid #fecaca;
    color: #b91c1c;
    background: #fef2f2;
}

.document-message.success[b-k44mma0rhy] {
    border: 1px solid #a7f3d0;
    color: #047857;
    background: #ecfdf5;
}

.document-info-card[b-k44mma0rhy] {
    margin-top: 18px;
    padding: 20px;
    border-radius: 22px;
}

.document-info-grid[b-k44mma0rhy] {
    display: grid;
    grid-template-columns: minmax(180px, .6fr) minmax(180px, .6fr) minmax(300px, 1.8fr);
    gap: 14px;
}

.document-field[b-k44mma0rhy] {
    display: grid;
    gap: 8px;
}

.document-field span[b-k44mma0rhy] {
    color: #475569;
    font-size: 11px;
    font-weight: 900;
}

.document-field input[b-k44mma0rhy] {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #dbe4f0;
    border-radius: 13px;
    outline: none;
    color: #0f172a;
    background: #f8fafc;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
}

.document-field input:focus[b-k44mma0rhy],
.account-select:focus[b-k44mma0rhy],
.line-description:focus[b-k44mma0rhy],
.money-input:focus[b-k44mma0rhy] {
    border-color: var(--erp-primary, #818cf8);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, .1);
}

.document-balance-grid[b-k44mma0rhy] {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.document-balance-card[b-k44mma0rhy] {
    min-height: 126px;
    padding: 18px;
    border-radius: 20px;
}

.document-balance-card.debit[b-k44mma0rhy] {
    border-top: 3px solid var(--erp-primary, #2563eb);
}

.document-balance-card.credit[b-k44mma0rhy] {
    border-top: 3px solid #f59e0b;
}

.document-balance-card.difference.balanced[b-k44mma0rhy] {
    border-top: 3px solid #10b981;
}

.document-balance-card.difference.unbalanced[b-k44mma0rhy] {
    border-top: 3px solid #ef4444;
}

.document-balance-card.rows[b-k44mma0rhy] {
    border-top: 3px solid var(--erp-accent, #7c3aed);
}

.document-balance-card span[b-k44mma0rhy] {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
}

.document-balance-card strong[b-k44mma0rhy] {
    display: block;
    margin-top: 13px;
    font-size: 22px;
    font-weight: 1000;
}

.document-balance-card small[b-k44mma0rhy] {
    display: block;
    margin-top: 9px;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
}

.document-lines-card[b-k44mma0rhy] {
    margin-top: 18px;
    border-radius: 24px;
    overflow: hidden;
}

.document-lines-header[b-k44mma0rhy] {
    padding: 21px 22px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.document-lines-header span[b-k44mma0rhy] {
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
}

.document-lines-header h2[b-k44mma0rhy] {
    margin: 6px 0 0;
    font-size: 18px;
    font-weight: 1000;
}

.document-lines-wrap[b-k44mma0rhy] {
    overflow: auto;
}

.document-lines-table[b-k44mma0rhy] {
    width: 100%;
    min-width: 1050px;
    border-collapse: collapse;
}

.document-lines-table th[b-k44mma0rhy],
.document-lines-table td[b-k44mma0rhy] {
    padding: 13px;
    border-bottom: 1px solid #edf2f7;
    text-align: right;
    vertical-align: middle;
    font-size: 11px;
}

.document-lines-table th[b-k44mma0rhy] {
    color: #475569;
    background: #f8fafc;
    font-weight: 1000;
    white-space: nowrap;
}

.document-lines-table tbody tr:hover[b-k44mma0rhy] {
    background: #fafbff;
}

.document-lines-table tfoot td[b-k44mma0rhy] {
    border-bottom: 0;
    background: #f8fafc;
    font-weight: 1000;
}

.line-number[b-k44mma0rhy] {
    width: 60px;
    color: #94a3b8;
    font-weight: 900;
}

.account-select[b-k44mma0rhy],
.line-description[b-k44mma0rhy],
.money-input[b-k44mma0rhy] {
    width: 100%;
    min-height: 42px;
    padding: 0 11px;
    border: 1px solid #dbe4f0;
    border-radius: 11px;
    outline: none;
    color: #0f172a;
    background: #fff;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
}

.account-select[b-k44mma0rhy] {
    min-width: 250px;
}

.line-description[b-k44mma0rhy] {
    min-width: 260px;
}

.money-input[b-k44mma0rhy] {
    min-width: 145px;
    direction: ltr;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.debit-input[b-k44mma0rhy] {
    color: #1d4ed8;
}

.credit-input[b-k44mma0rhy] {
    color: #b45309;
}

.remove-line-btn[b-k44mma0rhy] {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    color: #b91c1c;
    background: #fff;
    font: inherit;
    font-size: 10px;
    font-weight: 900;
    cursor: pointer;
}

.remove-line-btn:disabled[b-k44mma0rhy] {
    opacity: .4;
    cursor: not-allowed;
}

.money[b-k44mma0rhy] {
    direction: ltr;
    text-align: right !important;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.total-debit[b-k44mma0rhy] {
    color: #1d4ed8;
}

.total-credit[b-k44mma0rhy] {
    color: #b45309;
}

.balance-pill[b-k44mma0rhy] {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 1000;
}

.balance-pill.balanced[b-k44mma0rhy] {
    color: #047857;
    background: #d1fae5;
}

.balance-pill.unbalanced[b-k44mma0rhy] {
    color: #b91c1c;
    background: #fee2e2;
}

.document-footer-card[b-k44mma0rhy] {
    margin-top: 18px;
    padding: 20px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.document-footer-note strong[b-k44mma0rhy] {
    font-size: 12px;
    font-weight: 1000;
}

.document-footer-note p[b-k44mma0rhy] {
    margin: 7px 0 0;
    color: #64748b;
    font-size: 11px;
    line-height: 1.8;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .document-info-grid[b-k44mma0rhy],
    .document-balance-grid[b-k44mma0rhy] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .description-field[b-k44mma0rhy] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .document-edit-page[b-k44mma0rhy] {
        padding: 16px;
    }

    .document-edit-hero[b-k44mma0rhy],
    .document-footer-card[b-k44mma0rhy],
    .document-lines-header[b-k44mma0rhy] {
        align-items: stretch;
        flex-direction: column;
    }

    .document-edit-actions[b-k44mma0rhy],
    .document-footer-actions[b-k44mma0rhy],
    .document-info-grid[b-k44mma0rhy],
    .document-balance-grid[b-k44mma0rhy] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .document-edit-btn[b-k44mma0rhy] {
        width: 100%;
    }

    .description-field[b-k44mma0rhy] {
        grid-column: auto;
    }
}
/* /Components/Pages/AccountingDocumentNew.razor.rz.scp.css */
.document-new-page[b-h1lrt7sk8x] {
    min-height: 100%;
    padding: 28px;
    color: #0f172a;
    font-family: inherit;
}

.document-new-page[b-h1lrt7sk8x],
.document-new-page *[b-h1lrt7sk8x] {
    box-sizing: border-box;
}

.document-new-page a[b-h1lrt7sk8x] {
    text-decoration: none;
}

.document-new-hero[b-h1lrt7sk8x],
.document-info-card[b-h1lrt7sk8x],
.document-balance-card[b-h1lrt7sk8x],
.document-lines-card[b-h1lrt7sk8x],
.document-footer-card[b-h1lrt7sk8x],
.document-new-state[b-h1lrt7sk8x] {
    border: 1px solid #dbe4f0;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .07);
}

.document-new-hero[b-h1lrt7sk8x] {
    padding: 28px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        radial-gradient(circle at 12% 20%, rgba(99, 102, 241, .16), transparent 30%),
        linear-gradient(135deg, #fff, #f8fbff);
}

.document-new-eyebrow[b-h1lrt7sk8x] {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--erp-primary, #4f46e5);
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: .6px;
}

.document-new-hero h1[b-h1lrt7sk8x] {
    margin: 0;
    font-size: 30px;
    font-weight: 1000;
}

.document-new-hero p[b-h1lrt7sk8x] {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.document-new-actions[b-h1lrt7sk8x],
.document-footer-actions[b-h1lrt7sk8x] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.document-new-btn[b-h1lrt7sk8x] {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.document-new-btn:hover:not(:disabled)[b-h1lrt7sk8x] {
    transform: translateY(-2px);
}

.document-new-btn:disabled[b-h1lrt7sk8x] {
    opacity: .5;
    cursor: not-allowed;
}

.document-new-btn.primary[b-h1lrt7sk8x] {
    color: var(--erp-on-brand, #ffffff);
    border-color: var(--erp-primary, #4f46e5);
    background: linear-gradient(135deg, var(--erp-primary, #4f46e5), var(--erp-accent, #7c3aed));
    box-shadow: 0 10px 24px rgba(79, 70, 229, .22);
}

.document-new-btn.secondary[b-h1lrt7sk8x] {
    color: #334155;
    border-color: #cbd5e1;
    background: #fff;
}

.document-new-btn.small[b-h1lrt7sk8x] {
    min-height: 38px;
    padding: 0 14px;
    font-size: 10px;
}

.document-new-state[b-h1lrt7sk8x] {
    margin-top: 18px;
    padding: 48px 24px;
    border-radius: 24px;
    text-align: center;
}

.document-new-spinner[b-h1lrt7sk8x] {
    width: 42px;
    height: 42px;
    margin: 0 auto 14px;
    border: 4px solid #e0e7ff;
    border-top-color: var(--erp-primary, #4f46e5);
    border-radius: 50%;
    animation: document-spin-b-h1lrt7sk8x .8s linear infinite;
}

@keyframes document-spin-b-h1lrt7sk8x {
    to {
        transform: rotate(360deg);
    }
}

.document-message[b-h1lrt7sk8x] {
    margin-top: 18px;
    padding: 13px 15px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 900;
}

.document-message.error[b-h1lrt7sk8x] {
    border: 1px solid #fecaca;
    color: #b91c1c;
    background: #fef2f2;
}

.document-message.success[b-h1lrt7sk8x] {
    border: 1px solid #a7f3d0;
    color: #047857;
    background: #ecfdf5;
}

.document-info-card[b-h1lrt7sk8x] {
    margin-top: 18px;
    padding: 20px;
    border-radius: 22px;
}

.document-info-grid[b-h1lrt7sk8x] {
    display: grid;
    grid-template-columns: minmax(180px, .6fr) minmax(180px, .6fr) minmax(300px, 1.8fr);
    gap: 14px;
}

.document-field[b-h1lrt7sk8x] {
    display: grid;
    gap: 8px;
}

.document-field span[b-h1lrt7sk8x] {
    color: #475569;
    font-size: 11px;
    font-weight: 900;
}

.document-field input[b-h1lrt7sk8x] {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #dbe4f0;
    border-radius: 13px;
    outline: none;
    color: #0f172a;
    background: #f8fafc;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
}

.document-field input:focus[b-h1lrt7sk8x],
.account-select:focus[b-h1lrt7sk8x],
.line-description:focus[b-h1lrt7sk8x],
.money-input:focus[b-h1lrt7sk8x] {
    border-color: var(--erp-primary, #818cf8);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, .1);
}

.document-balance-grid[b-h1lrt7sk8x] {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.document-balance-card[b-h1lrt7sk8x] {
    min-height: 126px;
    padding: 18px;
    border-radius: 20px;
}

.document-balance-card.debit[b-h1lrt7sk8x] {
    border-top: 3px solid var(--erp-primary, #2563eb);
}

.document-balance-card.credit[b-h1lrt7sk8x] {
    border-top: 3px solid #f59e0b;
}

.document-balance-card.difference.balanced[b-h1lrt7sk8x] {
    border-top: 3px solid #10b981;
}

.document-balance-card.difference.unbalanced[b-h1lrt7sk8x] {
    border-top: 3px solid #ef4444;
}

.document-balance-card.rows[b-h1lrt7sk8x] {
    border-top: 3px solid var(--erp-accent, #7c3aed);
}

.document-balance-card span[b-h1lrt7sk8x] {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
}

.document-balance-card strong[b-h1lrt7sk8x] {
    display: block;
    margin-top: 13px;
    font-size: 22px;
    font-weight: 1000;
}

.document-balance-card small[b-h1lrt7sk8x] {
    display: block;
    margin-top: 9px;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
}

.document-lines-card[b-h1lrt7sk8x] {
    margin-top: 18px;
    border-radius: 24px;
    overflow: hidden;
}

.document-lines-header[b-h1lrt7sk8x] {
    padding: 21px 22px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.document-lines-header span[b-h1lrt7sk8x] {
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
}

.document-lines-header h2[b-h1lrt7sk8x] {
    margin: 6px 0 0;
    font-size: 18px;
    font-weight: 1000;
}

.document-lines-wrap[b-h1lrt7sk8x] {
    overflow: auto;
}

.document-lines-table[b-h1lrt7sk8x] {
    width: 100%;
    min-width: 1050px;
    border-collapse: collapse;
}

.document-lines-table th[b-h1lrt7sk8x],
.document-lines-table td[b-h1lrt7sk8x] {
    padding: 13px;
    border-bottom: 1px solid #edf2f7;
    text-align: right;
    vertical-align: middle;
    font-size: 11px;
}

.document-lines-table th[b-h1lrt7sk8x] {
    color: #475569;
    background: #f8fafc;
    font-weight: 1000;
    white-space: nowrap;
}

.document-lines-table tbody tr:hover[b-h1lrt7sk8x] {
    background: #fafbff;
}

.document-lines-table tfoot td[b-h1lrt7sk8x] {
    border-bottom: 0;
    background: #f8fafc;
    font-weight: 1000;
}

.line-number[b-h1lrt7sk8x] {
    width: 60px;
    color: #94a3b8;
    font-weight: 900;
}

.account-select[b-h1lrt7sk8x],
.line-description[b-h1lrt7sk8x],
.money-input[b-h1lrt7sk8x] {
    width: 100%;
    min-height: 42px;
    padding: 0 11px;
    border: 1px solid #dbe4f0;
    border-radius: 11px;
    outline: none;
    color: #0f172a;
    background: #fff;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
}

.account-select[b-h1lrt7sk8x] {
    min-width: 250px;
}

.line-description[b-h1lrt7sk8x] {
    min-width: 260px;
}

.money-input[b-h1lrt7sk8x] {
    min-width: 145px;
    direction: ltr;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.debit-input[b-h1lrt7sk8x] {
    color: #1d4ed8;
}

.credit-input[b-h1lrt7sk8x] {
    color: #b45309;
}

.remove-line-btn[b-h1lrt7sk8x] {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    color: #b91c1c;
    background: #fff;
    font: inherit;
    font-size: 10px;
    font-weight: 900;
    cursor: pointer;
}

.remove-line-btn:disabled[b-h1lrt7sk8x] {
    opacity: .4;
    cursor: not-allowed;
}

.money[b-h1lrt7sk8x] {
    direction: ltr;
    text-align: right !important;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.total-debit[b-h1lrt7sk8x] {
    color: #1d4ed8;
}

.total-credit[b-h1lrt7sk8x] {
    color: #b45309;
}

.balance-pill[b-h1lrt7sk8x] {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 1000;
}

.balance-pill.balanced[b-h1lrt7sk8x] {
    color: #047857;
    background: #d1fae5;
}

.balance-pill.unbalanced[b-h1lrt7sk8x] {
    color: #b91c1c;
    background: #fee2e2;
}

.document-footer-card[b-h1lrt7sk8x] {
    margin-top: 18px;
    padding: 20px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.document-footer-note strong[b-h1lrt7sk8x] {
    font-size: 12px;
    font-weight: 1000;
}

.document-footer-note p[b-h1lrt7sk8x] {
    margin: 7px 0 0;
    color: #64748b;
    font-size: 11px;
    line-height: 1.8;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .document-info-grid[b-h1lrt7sk8x],
    .document-balance-grid[b-h1lrt7sk8x] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .description-field[b-h1lrt7sk8x] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .document-new-page[b-h1lrt7sk8x] {
        padding: 16px;
    }

    .document-new-hero[b-h1lrt7sk8x],
    .document-footer-card[b-h1lrt7sk8x],
    .document-lines-header[b-h1lrt7sk8x] {
        align-items: stretch;
        flex-direction: column;
    }

    .document-new-actions[b-h1lrt7sk8x],
    .document-footer-actions[b-h1lrt7sk8x],
    .document-info-grid[b-h1lrt7sk8x],
    .document-balance-grid[b-h1lrt7sk8x] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .document-new-btn[b-h1lrt7sk8x] {
        width: 100%;
    }

    .description-field[b-h1lrt7sk8x] {
        grid-column: auto;
    }
}
/* /Components/Pages/AccountingDocuments.razor.rz.scp.css */
.accounting-page[b-gxftxumxnu] {
    min-height: 100%;
    padding: 28px;
    color: var(--erp-theme-text);
    font-family: inherit;
}

.accounting-page[b-gxftxumxnu],
.accounting-page *[b-gxftxumxnu] {
    box-sizing: border-box;
}

.accounting-page a[b-gxftxumxnu] {
    text-decoration: none;
}

.accounting-hero[b-gxftxumxnu],
.acc-card[b-gxftxumxnu],
.acc-summary[b-gxftxumxnu] {
    border: 1px solid var(--erp-theme-border);
    background: var(--erp-theme-surface);
    box-shadow: 0 18px 48px rgba(15, 23, 42, .07);
}

.accounting-hero[b-gxftxumxnu] {
    padding: 28px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        radial-gradient(circle at 12% 20%, rgba(99, 102, 241, .16), transparent 30%),
        linear-gradient(135deg, var(--erp-theme-surface), var(--erp-theme-surface));
}

.hero-eyebrow[b-gxftxumxnu] {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--erp-primary, #4f46e5);
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: .6px;
}

.accounting-hero h1[b-gxftxumxnu] {
    margin: 0;
    font-size: 30px;
    font-weight: 1000;
}

.accounting-hero p[b-gxftxumxnu] {
    margin: 10px 0 0;
    color: var(--erp-theme-text-soft);
    font-size: 13px;
    font-weight: 700;
}

.hero-actions[b-gxftxumxnu] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.acc-btn[b-gxftxumxnu] {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.acc-btn:hover:not(:disabled)[b-gxftxumxnu] {
    transform: translateY(-2px);
}

.acc-btn:disabled[b-gxftxumxnu] {
    opacity: .55;
    cursor: not-allowed;
}

.acc-btn.primary[b-gxftxumxnu] {
    color: var(--erp-on-brand, var(--erp-on-brand, var(--erp-theme-surface)fff));
    border-color: var(--erp-primary, #4f46e5);
    background: linear-gradient(135deg, var(--erp-primary, #4f46e5), var(--erp-accent, #7c3aed));
    box-shadow: 0 10px 24px rgba(79, 70, 229, .22);
}

.acc-btn.secondary[b-gxftxumxnu],
.acc-btn.ghost[b-gxftxumxnu] {
    color: var(--erp-theme-text);
    border-color: #cbd5e1;
    background: var(--erp-theme-surface);
}

.acc-btn.ghost[b-gxftxumxnu] {
    min-height: 46px;
}

.action-message[b-gxftxumxnu] {
    margin-top: 18px;
    padding: 13px 15px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 900;
}

.action-message.success[b-gxftxumxnu] {
    border: 1px solid #a7f3d0;
    color: #047857;
    background: #ecfdf5;
}

.action-message.error[b-gxftxumxnu] {
    border: 1px solid #fecaca;
    color: #b91c1c;
    background: #fef2f2;
}

.acc-summary[b-gxftxumxnu] {
    margin-top: 18px;
    padding: 18px;
    border-radius: 22px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.acc-summary article[b-gxftxumxnu] {
    min-height: 112px;
    padding: 16px;
    border: 1px solid var(--erp-theme-border);
    border-radius: 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--erp-theme-surface-raised);
}

.summary-icon[b-gxftxumxnu] {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: var(--erp-on-brand, var(--erp-on-brand, var(--erp-theme-surface)fff));
    background: linear-gradient(135deg, var(--erp-primary, #4f46e5), var(--erp-accent, #7c3aed));
    font-size: 14px;
    font-weight: 1000;
}

.summary-icon.debit[b-gxftxumxnu] {
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-primary, #3b82f6));
}

.summary-icon.credit[b-gxftxumxnu] {
    background: linear-gradient(135deg, #d97706, #f59e0b);
}

.summary-icon.status[b-gxftxumxnu] {
    background: linear-gradient(135deg, #059669, #10b981);
}

.acc-summary small[b-gxftxumxnu],
.acc-summary strong[b-gxftxumxnu],
.acc-summary p[b-gxftxumxnu] {
    display: block;
}

.acc-summary small[b-gxftxumxnu] {
    color: var(--erp-theme-text-soft);
    font-size: 10px;
    font-weight: 900;
}

.acc-summary strong[b-gxftxumxnu] {
    margin-top: 7px;
    font-size: 19px;
    font-weight: 1000;
}

.acc-summary p[b-gxftxumxnu] {
    margin: 6px 0 0;
    color: var(--erp-theme-text-soft);
    font-size: 9px;
    font-weight: 700;
}

.acc-card[b-gxftxumxnu] {
    margin-top: 18px;
    border-radius: 24px;
    overflow: hidden;
}

.acc-card-header[b-gxftxumxnu] {
    padding: 21px 22px;
    border-bottom: 1px solid var(--erp-theme-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.acc-card-header span[b-gxftxumxnu] {
    color: var(--erp-theme-text-soft);
    font-size: 10px;
    font-weight: 900;
}

.acc-card-header h2[b-gxftxumxnu] {
    margin: 6px 0 0;
    font-size: 18px;
    font-weight: 1000;
}

.result-count[b-gxftxumxnu] {
    padding: 8px 12px;
    border-radius: 999px;
    color: #4338ca;
    background: #eef2ff;
    font-size: 10px;
    font-weight: 1000;
}

.acc-toolbar[b-gxftxumxnu] {
    padding: 16px 22px;
    border-bottom: 1px solid var(--erp-theme-border);
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, .6fr)) auto;
    gap: 12px;
}

.acc-search[b-gxftxumxnu] {
    position: relative;
}

.acc-search > span[b-gxftxumxnu] {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    color: var(--erp-theme-muted);
    font-size: 16px;
}

.acc-search input[b-gxftxumxnu],
.acc-filter[b-gxftxumxnu],
.page-size select[b-gxftxumxnu] {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--erp-theme-border);
    border-radius: 13px;
    outline: none;
    color: var(--erp-theme-text);
    background: var(--erp-theme-surface-raised);
    font: inherit;
    font-size: 11px;
    font-weight: 800;
}

.acc-search input[b-gxftxumxnu] {
    padding-right: 42px;
}

.acc-search input:focus[b-gxftxumxnu],
.acc-filter:focus[b-gxftxumxnu] {
    border-color: var(--erp-primary, #818cf8);
    background: var(--erp-theme-surface);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, .1);
}

.acc-loading[b-gxftxumxnu] {
    padding: 22px;
    display: grid;
    gap: 12px;
}

.acc-skeleton[b-gxftxumxnu] {
    height: 58px;
    border-radius: 14px;
    background: linear-gradient(90deg, #f1f5f9, var(--erp-theme-border), #f1f5f9);
    background-size: 200% 100%;
    animation: skeleton-b-gxftxumxnu 1.2s linear infinite;
}

@keyframes skeleton-b-gxftxumxnu {
    to {
        background-position: -200% 0;
    }
}

.acc-state[b-gxftxumxnu],
.acc-empty[b-gxftxumxnu] {
    padding: 48px 24px;
    text-align: center;
}

.acc-state strong[b-gxftxumxnu],
.acc-state span[b-gxftxumxnu],
.acc-empty strong[b-gxftxumxnu],
.acc-empty p[b-gxftxumxnu] {
    display: block;
}

.acc-state.error[b-gxftxumxnu] {
    color: #be123c;
    background: var(--erp-theme-surface)1f2;
}

.acc-state span[b-gxftxumxnu],
.acc-empty p[b-gxftxumxnu] {
    margin: 9px 0 18px;
    color: var(--erp-theme-text-soft);
    font-size: 11px;
    font-weight: 700;
}

.acc-empty > span[b-gxftxumxnu] {
    display: block;
    margin-bottom: 12px;
    font-size: 34px;
}

.table-wrap[b-gxftxumxnu] {
    overflow: auto;
}

.acc-table[b-gxftxumxnu] {
    width: 100%;
    min-width: 1280px;
    border-collapse: collapse;
}

.acc-table th[b-gxftxumxnu],
.acc-table td[b-gxftxumxnu] {
    padding: 14px 13px;
    border-bottom: 1px solid var(--erp-theme-border);
    text-align: right;
    vertical-align: middle;
    font-size: 11px;
}

.acc-table th[b-gxftxumxnu] {
    position: sticky;
    top: 0;
    z-index: 1;
    color: var(--erp-theme-text);
    background: var(--erp-theme-surface-raised);
    font-weight: 1000;
    white-space: nowrap;
}

.acc-table tbody tr:hover[b-gxftxumxnu] {
    background: #fafbff;
}

.doc-number[b-gxftxumxnu] {
    color: #4338ca;
    font-weight: 1000;
    white-space: nowrap;
}

.date-cell strong[b-gxftxumxnu],
.date-cell small[b-gxftxumxnu],
.description-cell strong[b-gxftxumxnu],
.description-cell small[b-gxftxumxnu] {
    display: block;
}

.date-cell strong[b-gxftxumxnu] {
    font-weight: 1000;
}

.date-cell small[b-gxftxumxnu],
.description-cell small[b-gxftxumxnu] {
    margin-top: 5px;
    color: var(--erp-theme-muted);
    font-size: 9px;
    font-weight: 700;
}

.description-cell[b-gxftxumxnu] {
    min-width: 230px;
}

.description-cell strong[b-gxftxumxnu] {
    font-weight: 900;
}

.source-badge[b-gxftxumxnu],
.acc-status[b-gxftxumxnu],
.posting-status[b-gxftxumxnu] {
    display: inline-flex;
    align-items: center;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 1000;
    white-space: nowrap;
}

.source-badge.manual[b-gxftxumxnu] {
    color: #5b21b6;
    background: #ede9fe;
}

.source-badge.sale[b-gxftxumxnu] {
    color: #166534;
    background: #dcfce7;
}

.source-badge.purchase[b-gxftxumxnu] {
    color: #1d4ed8;
    background: #dbeafe;
}

.source-badge.payment[b-gxftxumxnu] {
    color: #b45309;
    background: #fef3c7;
}

.source-badge.receipt[b-gxftxumxnu] {
    color: #0369a1;
    background: #e0f2fe;
}

.source-badge.other[b-gxftxumxnu] {
    color: var(--erp-theme-text);
    background: #f1f5f9;
}

.amount[b-gxftxumxnu] {
    direction: ltr;
    display: inline-block;
    font-variant-numeric: tabular-nums;
    font-weight: 1000;
    white-space: nowrap;
}

.amount.debit[b-gxftxumxnu] {
    color: #1d4ed8;
}

.amount.credit[b-gxftxumxnu] {
    color: #b45309;
}

.acc-status[b-gxftxumxnu] {
    gap: 5px;
}

.acc-status i[b-gxftxumxnu] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.acc-status.ok[b-gxftxumxnu] {
    color: #047857;
    background: #d1fae5;
}

.acc-status.ok i[b-gxftxumxnu] {
    background: #10b981;
}

.acc-status.danger[b-gxftxumxnu] {
    color: #b91c1c;
    background: #fee2e2;
}

.acc-status.danger i[b-gxftxumxnu] {
    background: #ef4444;
}

.posting-status.posted[b-gxftxumxnu] {
    color: #047857;
    background: #d1fae5;
}

.posting-status.draft[b-gxftxumxnu] {
    color: #b45309;
    background: #fef3c7;
}

.row-actions[b-gxftxumxnu] {
    min-width: 255px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.action-btn[b-gxftxumxnu] {
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid;
    border-radius: 9px;
    font: inherit;
    font-size: 9px;
    font-weight: 1000;
    cursor: pointer;
    background: var(--erp-theme-surface);
}

.action-btn:disabled[b-gxftxumxnu] {
    opacity: .45;
    cursor: not-allowed;
}

.action-btn.view[b-gxftxumxnu] {
    color: #4338ca;
    border-color: #c7d2fe;
}

.action-btn.edit[b-gxftxumxnu] {
    color: #0369a1;
    border-color: #bae6fd;
}

.action-btn.post[b-gxftxumxnu] {
    color: #047857;
    border-color: #a7f3d0;
}

.action-btn.delete[b-gxftxumxnu] {
    color: #b91c1c;
    border-color: #fecaca;
}

.acc-pagination[b-gxftxumxnu] {
    padding: 15px 22px;
    border-top: 1px solid var(--erp-theme-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--erp-theme-surface-raised);
}

.page-size[b-gxftxumxnu] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-size span[b-gxftxumxnu],
.page-info[b-gxftxumxnu] {
    color: var(--erp-theme-text-soft);
    font-size: 10px;
    font-weight: 900;
}

.page-size select[b-gxftxumxnu] {
    width: 74px;
    min-height: 34px;
}

.page-buttons[b-gxftxumxnu] {
    display: flex;
    gap: 7px;
}

.page-buttons button[b-gxftxumxnu] {
    width: 34px;
    height: 34px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    color: var(--erp-theme-text);
    background: var(--erp-theme-surface);
    font-size: 18px;
    cursor: pointer;
}

.page-buttons button:disabled[b-gxftxumxnu] {
    opacity: .4;
    cursor: not-allowed;
}

@media (max-width: 1180px) {
    .acc-toolbar[b-gxftxumxnu] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .acc-search[b-gxftxumxnu] {
        grid-column: 1 / -1;
    }

    .acc-summary[b-gxftxumxnu] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .accounting-page[b-gxftxumxnu] {
        padding: 16px;
    }

    .accounting-hero[b-gxftxumxnu],
    .acc-card-header[b-gxftxumxnu],
    .acc-pagination[b-gxftxumxnu] {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions[b-gxftxumxnu],
    .acc-toolbar[b-gxftxumxnu],
    .acc-summary[b-gxftxumxnu] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .acc-btn[b-gxftxumxnu] {
        width: 100%;
    }

    .acc-search[b-gxftxumxnu] {
        grid-column: auto;
    }
}


.acc-btn.print[b-gxftxumxnu] {
    color: #075985;
    border-color: #bae6fd;
    background: #f0f9ff;
}

.acc-btn.export[b-gxftxumxnu] {
    color: #047857;
    border-color: #a7f3d0;
    background: #ecfdf5;
}

.acc-btn.print:hover:not(:disabled)[b-gxftxumxnu] {
    color: var(--erp-theme-surface);
    border-color: #0284c7;
    background: #0284c7;
    box-shadow: 0 10px 22px rgba(2, 132, 199, .18);
}

.acc-btn.export:hover:not(:disabled)[b-gxftxumxnu] {
    color: var(--erp-theme-surface);
    border-color: #059669;
    background: #059669;
    box-shadow: 0 10px 22px rgba(5, 150, 105, .18);
}

.accounting-documents-print-report[b-gxftxumxnu] {
    display: none;
}

@media print {
    .accounting-documents-print-report[b-gxftxumxnu] {
        display: block !important;
    }
}
/* /Components/Pages/AccountingFloatingDetails.razor.rz.scp.css */
.floating-ledger-page[b-v05b9uzb59]{display:grid;gap:20px;padding:24px}.floating-ledger-hero[b-v05b9uzb59],.floating-filter-card[b-v05b9uzb59],.floating-identity-card[b-v05b9uzb59],.floating-table-card[b-v05b9uzb59],.floating-summary-grid article[b-v05b9uzb59],.floating-state[b-v05b9uzb59]{background:var(--mud-palette-surface,#fff);border:1px solid rgba(148,163,184,.2);border-radius:20px;box-shadow:0 14px 38px rgba(15,23,42,.06)}.floating-ledger-hero[b-v05b9uzb59]{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:26px 28px}.floating-ledger-eyebrow[b-v05b9uzb59],.floating-table-header span[b-v05b9uzb59],.floating-identity-card span[b-v05b9uzb59]{display:block;color:#6366f1;font-size:12px;font-weight:800;letter-spacing:.08em}.floating-ledger-hero h1[b-v05b9uzb59],.floating-identity-card h2[b-v05b9uzb59],.floating-table-header h2[b-v05b9uzb59]{margin:5px 0}.floating-ledger-hero p[b-v05b9uzb59],.floating-identity-card p[b-v05b9uzb59],.floating-state p[b-v05b9uzb59]{margin:4px 0 0;color:#64748b;line-height:1.9}.floating-ledger-actions[b-v05b9uzb59]{display:flex;gap:10px;flex-wrap:wrap}.floating-btn[b-v05b9uzb59]{border:0;border-radius:12px;padding:10px 16px;font:inherit;font-weight:700;text-decoration:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.floating-btn:disabled[b-v05b9uzb59]{opacity:.5;cursor:not-allowed}.floating-btn.primary[b-v05b9uzb59]{background:#4f46e5;color:#fff}.floating-btn.secondary[b-v05b9uzb59]{background:#f8fafc;color:#334155;border:1px solid #e2e8f0}.floating-message[b-v05b9uzb59]{padding:13px 16px;border-radius:12px}.floating-message.error[b-v05b9uzb59]{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}.floating-filter-card[b-v05b9uzb59]{padding:20px}.floating-filter-grid[b-v05b9uzb59]{display:grid;grid-template-columns:1fr 1.6fr 1.5fr 1fr 1fr auto;gap:12px;align-items:end}.floating-filter-grid label[b-v05b9uzb59]{display:grid;gap:7px}.floating-filter-grid label>span[b-v05b9uzb59]{font-size:12px;font-weight:700;color:#475569}.floating-filter-grid select[b-v05b9uzb59],.floating-filter-grid input[b-v05b9uzb59]{width:100%;min-height:43px;padding:8px 10px;border-radius:10px;border:1px solid #cbd5e1;background:var(--mud-palette-surface,#fff);color:inherit;font:inherit}.floating-filter-action[b-v05b9uzb59]{display:flex}.floating-state[b-v05b9uzb59]{padding:42px;text-align:center}.floating-state.compact[b-v05b9uzb59]{box-shadow:none;border:0}.floating-spinner[b-v05b9uzb59]{width:30px;height:30px;border-radius:50%;border:3px solid #e2e8f0;border-top-color:#4f46e5;animation:floating-spin-b-v05b9uzb59 .8s linear infinite;margin:0 auto 12px}.floating-identity-card[b-v05b9uzb59]{display:flex;justify-content:space-between;align-items:center;padding:20px 24px}.floating-identity-badge[b-v05b9uzb59]{background:#eef2ff;color:#4338ca;border-radius:999px;padding:8px 13px;font-size:12px;font-weight:800}.floating-summary-grid[b-v05b9uzb59]{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.floating-summary-grid article[b-v05b9uzb59]{padding:18px;display:grid;gap:7px}.floating-summary-grid span[b-v05b9uzb59]{color:#64748b;font-size:12px}.floating-summary-grid strong[b-v05b9uzb59]{font-size:20px}.floating-summary-grid small[b-v05b9uzb59]{color:#94a3b8}.floating-summary-grid .debit strong[b-v05b9uzb59]{color:#0f766e}.floating-summary-grid .credit strong[b-v05b9uzb59]{color:#be123c}.floating-summary-grid .closing strong[b-v05b9uzb59]{color:#4338ca}.floating-table-card[b-v05b9uzb59]{overflow:hidden}.floating-table-header[b-v05b9uzb59]{padding:18px 22px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e2e8f0}.floating-table-wrap[b-v05b9uzb59]{overflow:auto}.floating-table-wrap table[b-v05b9uzb59]{width:100%;border-collapse:collapse;min-width:1000px}.floating-table-wrap th[b-v05b9uzb59],.floating-table-wrap td[b-v05b9uzb59]{padding:13px 14px;text-align:right;border-bottom:1px solid #eef2f7;vertical-align:middle}.floating-table-wrap th[b-v05b9uzb59]{background:#f8fafc;color:#475569;font-size:12px;white-space:nowrap}.floating-table-wrap td[b-v05b9uzb59]{font-size:13px}.floating-table-wrap td small[b-v05b9uzb59]{display:block;color:#94a3b8;margin-top:3px}.floating-table-wrap a[b-v05b9uzb59]{color:#4f46e5;font-weight:800;text-decoration:none}.money[b-v05b9uzb59]{direction:ltr;text-align:right!important;font-variant-numeric:tabular-nums}.debit-value[b-v05b9uzb59]{color:#0f766e}.credit-value[b-v05b9uzb59]{color:#be123c}.posting[b-v05b9uzb59]{padding:5px 8px;border-radius:999px;font-size:11px;font-weight:700;white-space:nowrap}.posting.posted[b-v05b9uzb59]{background:#dcfce7;color:#15803d}.posting.draft[b-v05b9uzb59]{background:#f1f5f9;color:#64748b}@keyframes floating-spin-b-v05b9uzb59{to{transform:rotate(360deg)}}@media(max-width:1180px){.floating-filter-grid[b-v05b9uzb59]{grid-template-columns:repeat(3,1fr)}.floating-filter-action .floating-btn[b-v05b9uzb59]{width:100%}}@media(max-width:760px){.floating-ledger-page[b-v05b9uzb59]{padding:14px}.floating-ledger-hero[b-v05b9uzb59]{align-items:flex-start;flex-direction:column;padding:20px}.floating-ledger-actions[b-v05b9uzb59]{width:100%}.floating-ledger-actions .floating-btn[b-v05b9uzb59]{flex:1}.floating-filter-grid[b-v05b9uzb59]{grid-template-columns:1fr}.floating-summary-grid[b-v05b9uzb59]{grid-template-columns:1fr 1fr}.floating-identity-card[b-v05b9uzb59]{align-items:flex-start;gap:12px}.floating-table-header[b-v05b9uzb59]{align-items:flex-start;gap:10px}}@media(max-width:460px){.floating-summary-grid[b-v05b9uzb59]{grid-template-columns:1fr}.floating-ledger-actions[b-v05b9uzb59]{display:grid;grid-template-columns:1fr}}
/* /Components/Pages/Accounts.razor.rz.scp.css */
.accounts-page[b-vi4qfunk3x]{min-height:100%;padding:28px;color:#0f172a;font-family:inherit}.accounts-hero[b-vi4qfunk3x],.accounts-card[b-vi4qfunk3x],.accounts-stat-card[b-vi4qfunk3x]{border:1px solid #dbe4f0;background:#fff;box-shadow:0 18px 45px rgba(15,23,42,.06)}.accounts-hero[b-vi4qfunk3x]{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 30px;border-radius:24px;background:radial-gradient(circle at 8% 20%,rgba(99,102,241,.16),transparent 28%),linear-gradient(135deg,#fff,#f8fbff)}.accounts-eyebrow[b-vi4qfunk3x]{display:inline-flex;margin-bottom:8px;padding:6px 11px;border-radius:999px;color:var(--erp-primary, #4f46e5);background:#eef2ff;font-size:11px;font-weight:1000}.accounts-hero h1[b-vi4qfunk3x]{margin:0;font-size:30px;font-weight:1000}.accounts-hero p[b-vi4qfunk3x]{margin:9px 0 0;color:#64748b;font-size:13px;font-weight:700}.accounts-hero-actions[b-vi4qfunk3x]{display:flex;gap:10px}.accounts-btn[b-vi4qfunk3x]{min-height:42px;padding:0 17px;border:1px solid #cbd5e1;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#fff;color:#334155;font-family:inherit;font-size:12px;font-weight:900;cursor:pointer;transition:.16s ease}.accounts-btn:hover:not(:disabled)[b-vi4qfunk3x]{transform:translateY(-1px)}.accounts-btn:disabled[b-vi4qfunk3x]{opacity:.55;cursor:not-allowed}.accounts-btn.primary[b-vi4qfunk3x]{border-color:var(--erp-primary, #4f46e5);color:var(--erp-on-brand, #ffffff);background:linear-gradient(135deg,var(--erp-primary, #4f46e5),var(--erp-accent, #7c3aed));box-shadow:0 10px 24px rgba(79,70,229,.23)}.accounts-btn.danger[b-vi4qfunk3x]{border-color:#e11d48;color:#fff;background:linear-gradient(135deg,#e11d48,#be123c)}.accounts-btn.ghost[b-vi4qfunk3x]{background:#f8fafc}.accounts-summary[b-vi4qfunk3x]{margin-top:18px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.accounts-stat-card[b-vi4qfunk3x]{min-height:124px;padding:17px;border-radius:19px;display:flex;align-items:flex-start;gap:13px}.accounts-stat-icon[b-vi4qfunk3x]{width:44px;height:44px;flex:0 0 44px;border-radius:14px;display:grid;place-items:center;color:var(--erp-on-brand, #ffffff);background:linear-gradient(135deg,var(--erp-primary, #2563eb),var(--erp-accent, #7c3aed));font-weight:1000}.accounts-stat-icon.debit[b-vi4qfunk3x]{background:linear-gradient(135deg,#0284c7,var(--erp-primary, #2563eb))}.accounts-stat-icon.credit[b-vi4qfunk3x]{background:linear-gradient(135deg,#059669,#10b981)}.accounts-stat-icon.active[b-vi4qfunk3x]{background:linear-gradient(135deg,var(--erp-accent, #7c3aed),#a855f7)}.accounts-stat-card small[b-vi4qfunk3x],.accounts-stat-card strong[b-vi4qfunk3x],.accounts-stat-card p[b-vi4qfunk3x]{display:block}.accounts-stat-card small[b-vi4qfunk3x]{color:#64748b;font-size:11px;font-weight:800}.accounts-stat-card strong[b-vi4qfunk3x]{margin-top:7px;font-size:22px;font-weight:1000}.accounts-stat-card p[b-vi4qfunk3x]{margin:5px 0 0;color:#94a3b8;font-size:10px;font-weight:700}.accounts-card[b-vi4qfunk3x]{margin-top:18px;padding:22px;border-radius:22px}.accounts-card-header[b-vi4qfunk3x]{display:flex;align-items:center;justify-content:space-between;gap:16px}.accounts-card-header span[b-vi4qfunk3x]{color:var(--erp-primary, #6366f1);font-size:10px;font-weight:900}.accounts-card-header h2[b-vi4qfunk3x]{margin:5px 0 0;font-size:18px;font-weight:1000}.accounts-result-count[b-vi4qfunk3x]{padding:7px 12px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:11px;font-weight:900}.accounts-toolbar[b-vi4qfunk3x]{margin-top:18px;padding:12px;border:1px solid #e2e8f0;border-radius:17px;display:grid;grid-template-columns:minmax(260px,1fr) repeat(3,minmax(130px,auto)) auto;gap:9px;background:#f8fafc}.accounts-search[b-vi4qfunk3x]{min-height:42px;padding:0 13px;border:1px solid #dbe4f0;border-radius:12px;display:flex;align-items:center;gap:9px;background:#fff}.accounts-search span[b-vi4qfunk3x]{color:#64748b;font-size:18px}.accounts-search input[b-vi4qfunk3x]{width:100%;border:0;outline:0;background:transparent;font-family:inherit;font-size:12px;font-weight:700}.accounts-filter[b-vi4qfunk3x],.page-size select[b-vi4qfunk3x]{min-height:42px;padding:0 12px;border:1px solid #dbe4f0;border-radius:12px;background:#fff;color:#334155;font-family:inherit;font-size:11px;font-weight:800;outline:0}.accounts-table-wrap[b-vi4qfunk3x]{margin-top:16px;overflow:auto;border:1px solid #e2e8f0;border-radius:17px}.accounts-table[b-vi4qfunk3x]{width:100%;min-width:1020px;border-collapse:separate;border-spacing:0}.accounts-table th[b-vi4qfunk3x]{position:sticky;top:0;z-index:1;padding:13px 15px;background:#f8fafc;color:#64748b;border-bottom:1px solid #e2e8f0;text-align:right;font-size:10px;font-weight:1000;white-space:nowrap}.accounts-table td[b-vi4qfunk3x]{padding:13px 15px;border-bottom:1px solid #eef2f7;font-size:11px;font-weight:700;vertical-align:middle}.accounts-table tbody tr[b-vi4qfunk3x]{transition:.15s ease}.accounts-table tbody tr:hover[b-vi4qfunk3x]{background:#f8faff}.accounts-table tbody tr:last-child td[b-vi4qfunk3x]{border-bottom:0}.account-code[b-vi4qfunk3x]{padding:7px 10px;border-radius:9px;background:#eef2ff;color:#4338ca;font-family:monospace;font-size:12px;font-weight:1000}.account-name-cell[b-vi4qfunk3x]{display:flex;align-items:center;gap:10px}.account-avatar[b-vi4qfunk3x]{width:36px;height:36px;flex:0 0 36px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(135deg,#e0e7ff,#ede9fe);color:var(--erp-primary, #4f46e5);font-weight:1000}.account-name-cell strong[b-vi4qfunk3x],.account-name-cell small[b-vi4qfunk3x]{display:block}.account-name-cell strong[b-vi4qfunk3x]{font-size:12px;font-weight:1000}.account-name-cell small[b-vi4qfunk3x]{max-width:290px;margin-top:4px;color:#94a3b8;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.level-badge[b-vi4qfunk3x],.nature-badge[b-vi4qfunk3x],.boolean-badge[b-vi4qfunk3x],.status-badge[b-vi4qfunk3x]{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;font-size:9px;font-weight:1000;white-space:nowrap}.level-badge[b-vi4qfunk3x]{color:#475569;background:#f1f5f9}.nature-badge.debit[b-vi4qfunk3x]{color:#1d4ed8;background:#dbeafe}.nature-badge.credit[b-vi4qfunk3x]{color:#047857;background:#d1fae5}.nature-badge.both[b-vi4qfunk3x]{color:#7e22ce;background:#f3e8ff}.nature-badge.unknown[b-vi4qfunk3x]{color:#475569;background:#e2e8f0}.boolean-badge.yes[b-vi4qfunk3x]{color:#0369a1;background:#e0f2fe}.boolean-badge.no[b-vi4qfunk3x]{color:#64748b;background:#f1f5f9}.status-badge[b-vi4qfunk3x]{gap:6px}.status-badge i[b-vi4qfunk3x]{width:6px;height:6px;border-radius:50%;background:currentColor}.status-badge.active[b-vi4qfunk3x]{color:#047857;background:#d1fae5}.status-badge.inactive[b-vi4qfunk3x]{color:#be123c;background:#ffe4e6}.row-actions[b-vi4qfunk3x]{display:flex;gap:7px}.icon-btn[b-vi4qfunk3x]{width:34px;height:34px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;font-size:15px;cursor:pointer;transition:.15s ease}.icon-btn.edit[b-vi4qfunk3x]{color:var(--erp-primary, #4f46e5)}.icon-btn.delete[b-vi4qfunk3x]{color:#e11d48}.icon-btn:hover[b-vi4qfunk3x]{transform:translateY(-1px);box-shadow:0 7px 18px rgba(15,23,42,.09)}.actions-column[b-vi4qfunk3x]{width:100px}.accounts-pagination[b-vi4qfunk3x]{margin-top:14px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px}.page-size[b-vi4qfunk3x]{display:flex;align-items:center;gap:8px;color:#64748b;font-size:10px;font-weight:800}.page-size select[b-vi4qfunk3x]{min-height:34px}.page-info[b-vi4qfunk3x]{text-align:center;color:#64748b;font-size:10px;font-weight:900}.page-buttons[b-vi4qfunk3x]{justify-self:end;display:flex;gap:7px}.page-buttons button[b-vi4qfunk3x]{width:35px;height:35px;border:1px solid #dbe4f0;border-radius:10px;background:#fff;color:#334155;font-size:20px;cursor:pointer}.page-buttons button:disabled[b-vi4qfunk3x]{opacity:.4;cursor:not-allowed}.accounts-loading[b-vi4qfunk3x]{margin-top:16px;display:grid;gap:9px}.accounts-skeleton[b-vi4qfunk3x]{height:58px;border-radius:13px;background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0 37%,#f1f5f9 63%);background-size:400% 100%;animation:shimmer-b-vi4qfunk3x 1.3s infinite}.accounts-state[b-vi4qfunk3x]{margin-top:16px;min-height:220px;padding:30px;border:1px dashed #cbd5e1;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.accounts-state strong[b-vi4qfunk3x]{font-size:15px;font-weight:1000}.accounts-state p[b-vi4qfunk3x],.accounts-state span[b-vi4qfunk3x]{margin:8px 0 16px;color:#64748b;font-size:11px;font-weight:700}.accounts-state.error[b-vi4qfunk3x]{border-color:#fecdd3;background:#fff1f2;color:#be123c}.accounts-empty-icon[b-vi4qfunk3x]{font-size:34px!important;color:var(--erp-primary, #6366f1)!important}.erp-modal-layer[b-vi4qfunk3x]{position:fixed;inset:0;z-index:3000;padding:22px;display:grid;place-items:center;background:rgba(15,23,42,.55);backdrop-filter:blur(5px)}.erp-modal[b-vi4qfunk3x]{width:min(680px,100%);max-height:calc(100vh - 44px);overflow:auto;border:1px solid rgba(255,255,255,.75);border-radius:24px;background:#fff;box-shadow:0 30px 90px rgba(15,23,42,.32)}.erp-modal-header[b-vi4qfunk3x]{padding:22px 24px;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between}.erp-modal-header span[b-vi4qfunk3x]{color:var(--erp-primary, #6366f1);font-size:10px;font-weight:900}.erp-modal-header h3[b-vi4qfunk3x]{margin:5px 0 0;font-size:20px;font-weight:1000}.modal-close[b-vi4qfunk3x]{width:36px;height:36px;border:1px solid #e2e8f0;border-radius:11px;background:#f8fafc;color:#64748b;font-size:22px;cursor:pointer}.erp-modal-body[b-vi4qfunk3x]{padding:22px 24px}.form-grid[b-vi4qfunk3x]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-field[b-vi4qfunk3x]{display:grid;gap:7px}.form-field.full[b-vi4qfunk3x]{grid-column:1/-1}.form-field span[b-vi4qfunk3x]{color:#475569;font-size:10px;font-weight:900}.form-field b[b-vi4qfunk3x]{color:#e11d48}.form-field input[b-vi4qfunk3x],.form-field select[b-vi4qfunk3x],.form-field textarea[b-vi4qfunk3x]{width:100%;border:1px solid #dbe4f0;border-radius:12px;padding:11px 12px;background:#f8fafc;color:#0f172a;font-family:inherit;font-size:12px;font-weight:700;outline:0}.form-field input:focus[b-vi4qfunk3x],.form-field select:focus[b-vi4qfunk3x],.form-field textarea:focus[b-vi4qfunk3x]{border-color:var(--erp-primary, #818cf8);background:#fff;box-shadow:0 0 0 3px rgba(99,102,241,.1)}.switch-grid[b-vi4qfunk3x]{margin-top:17px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.switch-item[b-vi4qfunk3x]{padding:13px;border:1px solid #e2e8f0;border-radius:14px;display:flex;align-items:center;gap:10px;background:#f8fafc;cursor:pointer}.switch-item input[b-vi4qfunk3x]{display:none}.switch-control[b-vi4qfunk3x]{width:38px;height:22px;flex:0 0 38px;border-radius:999px;position:relative;background:#cbd5e1;transition:.2s}.switch-control[b-vi4qfunk3x]::after{content:"";position:absolute;top:3px;right:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(15,23,42,.25);transition:.2s}.switch-item input:checked+.switch-control[b-vi4qfunk3x]{background:var(--erp-primary, #6366f1)}.switch-item input:checked+.switch-control[b-vi4qfunk3x]::after{transform:translateX(-16px)}.switch-item strong[b-vi4qfunk3x],.switch-item small[b-vi4qfunk3x]{display:block}.switch-item strong[b-vi4qfunk3x]{font-size:11px;font-weight:1000}.switch-item small[b-vi4qfunk3x]{margin-top:3px;color:#94a3b8;font-size:8px;font-weight:700}.form-error[b-vi4qfunk3x]{margin-top:14px;padding:11px 13px;border:1px solid #fecdd3;border-radius:12px;background:#fff1f2;color:#be123c;font-size:10px;font-weight:900}.erp-modal-footer[b-vi4qfunk3x]{padding:16px 24px;border-top:1px solid #e2e8f0;display:flex;justify-content:flex-end;gap:9px;background:#f8fafc}.delete-modal[b-vi4qfunk3x]{width:min(430px,100%);padding:28px;text-align:center}.delete-icon[b-vi4qfunk3x]{width:58px;height:58px;margin:0 auto 14px;border-radius:18px;display:grid;place-items:center;background:#ffe4e6;color:#e11d48;font-size:28px;font-weight:1000}.delete-modal h3[b-vi4qfunk3x]{margin:0;font-size:20px;font-weight:1000}.delete-modal p[b-vi4qfunk3x]{margin:12px 0 22px;color:#64748b;line-height:1.9;font-size:11px;font-weight:700}.delete-actions[b-vi4qfunk3x]{display:flex;justify-content:center;gap:9px}@keyframes shimmer-b-vi4qfunk3x{0%{background-position:100% 0}100%{background-position:0 0}}@media(max-width:1150px){.accounts-summary[b-vi4qfunk3x]{grid-template-columns:repeat(2,minmax(0,1fr))}.accounts-toolbar[b-vi4qfunk3x]{grid-template-columns:1fr 1fr 1fr}.accounts-search[b-vi4qfunk3x]{grid-column:1/-1}}@media(max-width:720px){.accounts-page[b-vi4qfunk3x]{padding:15px}.accounts-hero[b-vi4qfunk3x]{padding:21px;align-items:stretch;flex-direction:column}.accounts-hero-actions[b-vi4qfunk3x]{display:grid;grid-template-columns:1fr 1fr}.accounts-summary[b-vi4qfunk3x]{grid-template-columns:1fr}.accounts-card[b-vi4qfunk3x]{padding:15px}.accounts-toolbar[b-vi4qfunk3x]{grid-template-columns:1fr}.accounts-search[b-vi4qfunk3x]{grid-column:auto}.accounts-pagination[b-vi4qfunk3x]{grid-template-columns:1fr}.page-size[b-vi4qfunk3x],.page-buttons[b-vi4qfunk3x]{justify-self:center}.form-grid[b-vi4qfunk3x],.switch-grid[b-vi4qfunk3x]{grid-template-columns:1fr}.form-field.full[b-vi4qfunk3x]{grid-column:auto}.erp-modal-layer[b-vi4qfunk3x]{padding:10px}.erp-modal-footer[b-vi4qfunk3x],.delete-actions[b-vi4qfunk3x]{display:grid;grid-template-columns:1fr 1fr}}
/* /Components/Pages/ActivityCenter.razor.rz.scp.css */
.activity-shell[b-7e7ppd0eqt]{display:grid;gap:16px;color:var(--erpdc-text,#0f172a)}.activity-breadcrumb[b-7e7ppd0eqt]{display:flex;gap:7px;color:var(--erpdc-muted,#64748b);font-size:12px}.activity-breadcrumb a[b-7e7ppd0eqt]{color:#5b5bff;text-decoration:none}.activity-hero[b-7e7ppd0eqt]{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:25px;border-radius:25px;color:#fff;background:linear-gradient(135deg,#3730a3,#5b5bff 58%,#7c4dff);box-shadow:0 20px 50px rgba(91,91,255,.2)}.eyebrow[b-7e7ppd0eqt]{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:900}.activity-hero h1[b-7e7ppd0eqt]{margin:7px 0 3px;font-size:30px}.activity-hero p[b-7e7ppd0eqt]{margin:0;color:rgba(255,255,255,.78)}.activity-hero button[b-7e7ppd0eqt],.activity-error button[b-7e7ppd0eqt]{display:flex;align-items:center;gap:6px;padding:11px 15px;border:1px solid rgba(255,255,255,.2);border-radius:13px;color:#fff;background:rgba(255,255,255,.12);font-family:inherit;cursor:pointer}.activity-kpis[b-7e7ppd0eqt]{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.activity-kpis article[b-7e7ppd0eqt],.activity-filters[b-7e7ppd0eqt],.activity-panel[b-7e7ppd0eqt]{border:1px solid var(--erpdc-border,#e2e8f0);background:var(--erpdc-card-bg,#fff);box-shadow:var(--erpdc-shadow,0 15px 35px rgba(15,23,42,.05))}.activity-kpis article[b-7e7ppd0eqt]{padding:17px;border-radius:18px}.activity-kpis span[b-7e7ppd0eqt]{color:var(--erpdc-muted);font-size:11px}.activity-kpis strong[b-7e7ppd0eqt]{display:block;margin-top:4px;font-size:25px}.activity-filters[b-7e7ppd0eqt]{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) auto;align-items:end;gap:10px;padding:16px;border-radius:20px}.activity-filters label[b-7e7ppd0eqt]{display:block;margin-bottom:5px;color:var(--erpdc-muted);font-size:10px;font-weight:900}.activity-filters input[b-7e7ppd0eqt],.activity-filters select[b-7e7ppd0eqt]{width:100%;height:42px;padding:0 10px;border:1px solid var(--erpdc-border);border-radius:11px;color:var(--erpdc-text);background:var(--erpdc-card-soft);font-family:inherit}.activity-filters .clear[b-7e7ppd0eqt]{height:42px;padding:0 13px;border:0;border-radius:11px;color:#ff5252;background:rgba(255,82,82,.1);font-family:inherit;cursor:pointer}.activity-panel[b-7e7ppd0eqt]{padding:16px;border-radius:22px}.activity-list[b-7e7ppd0eqt]{display:grid;gap:8px}.activity-item[b-7e7ppd0eqt]{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center;width:100%;padding:12px;border:1px solid var(--erpdc-border);border-radius:15px;color:inherit;background:var(--erpdc-card-soft);font-family:inherit;text-align:right;cursor:pointer;transition:.2s}.activity-item:hover[b-7e7ppd0eqt]{transform:translateX(-3px);border-color:rgba(91,91,255,.4)}.activity-icon[b-7e7ppd0eqt]{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;color:#64748b;background:rgba(100,116,139,.1)}.activity-icon.success[b-7e7ppd0eqt]{color:#00c853;background:rgba(0,200,83,.1)}.activity-icon.info[b-7e7ppd0eqt],.activity-icon.primary[b-7e7ppd0eqt]{color:#5b5bff;background:rgba(91,91,255,.1)}.activity-icon.danger[b-7e7ppd0eqt]{color:#ff5252;background:rgba(255,82,82,.1)}.activity-item p[b-7e7ppd0eqt]{margin:3px 0;color:var(--erpdc-muted);font-size:11px}.activity-meta[b-7e7ppd0eqt]{display:flex;flex-wrap:wrap;gap:10px;color:var(--erpdc-muted);font-size:9px}.activity-meta span[b-7e7ppd0eqt]{display:flex;align-items:center;gap:3px}.activity-item time[b-7e7ppd0eqt]{color:var(--erpdc-muted);font-size:10px}.activity-pagination[b-7e7ppd0eqt]{display:flex;justify-content:space-between;align-items:center;margin-top:14px;padding-top:13px;border-top:1px solid var(--erpdc-border);font-size:11px}.activity-pagination button[b-7e7ppd0eqt]{padding:7px 13px;border:1px solid var(--erpdc-border);color:var(--erpdc-text);background:var(--erpdc-card-soft);font-family:inherit;cursor:pointer}.activity-loading[b-7e7ppd0eqt]{display:grid;gap:8px}.activity-loading i[b-7e7ppd0eqt]{height:68px;border-radius:14px;background:linear-gradient(90deg,var(--erpdc-card-soft),rgba(148,163,184,.16),var(--erpdc-card-soft));background-size:200%;animation:load-b-7e7ppd0eqt 1.2s infinite}.activity-empty[b-7e7ppd0eqt],.activity-error[b-7e7ppd0eqt]{display:grid;place-items:center;gap:8px;padding:65px;color:var(--erpdc-muted);text-align:center}.activity-error button[b-7e7ppd0eqt]{color:#fff;background:#5b5bff}.activity-overlay[b-7e7ppd0eqt]{position:fixed;inset:0;z-index:1000;background:rgba(2,6,23,.55);backdrop-filter:blur(4px)}.activity-overlay aside[b-7e7ppd0eqt]{position:absolute;top:0;bottom:0;left:0;width:min(440px,92vw);padding:22px;color:var(--erpdc-text);background:var(--erpdc-card-bg,#fff);box-shadow:20px 0 60px rgba(0,0,0,.2)}.activity-overlay header[b-7e7ppd0eqt]{display:flex;justify-content:space-between}.activity-overlay header button[b-7e7ppd0eqt]{border:0;color:inherit;background:transparent;cursor:pointer}.activity-overlay h2[b-7e7ppd0eqt]{margin:4px 0 20px}.activity-overlay dl[b-7e7ppd0eqt]{display:grid;grid-template-columns:100px 1fr;gap:12px}.activity-overlay dt[b-7e7ppd0eqt]{color:var(--erpdc-muted)}@keyframes load-b-7e7ppd0eqt{to{background-position:-200%}}@media(max-width:1100px){.activity-filters[b-7e7ppd0eqt]{grid-template-columns:repeat(3,1fr)}.activity-kpis[b-7e7ppd0eqt]{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.activity-hero[b-7e7ppd0eqt]{align-items:flex-start;flex-direction:column}.activity-kpis[b-7e7ppd0eqt],.activity-filters[b-7e7ppd0eqt]{grid-template-columns:1fr}.activity-item[b-7e7ppd0eqt]{grid-template-columns:40px 1fr}.activity-item time[b-7e7ppd0eqt]{grid-column:2}.activity-pagination[b-7e7ppd0eqt]{gap:10px}}
/* /Components/Pages/AdminApiAnalytics.razor.rz.scp.css */
.loading-state[b-f57dyhlfmz],
.health-strip[b-f57dyhlfmz],
.requests-card[b-f57dyhlfmz],
.analytics-summary article[b-f57dyhlfmz] {
    direction: rtl;
    border: 1px solid #dce5f3;
    background: #fff;
    box-shadow: 0 16px 42px rgba(37, 64, 140, .07);
}

.loading-state[b-f57dyhlfmz] {
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    color: #77859a;
    font-weight: 800;
}

.analytics-summary[b-f57dyhlfmz] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-bottom: 18px;
    direction: rtl;
}

.analytics-summary article[b-f57dyhlfmz] {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 125px;
    padding: 18px;
    border-radius: 21px;
}

.analytics-summary article > b[b-f57dyhlfmz] {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 15px;
    color: #4056d9;
    background: #ebefff;
    font-size: .68rem;
}

.analytics-summary span[b-f57dyhlfmz],
.analytics-summary small[b-f57dyhlfmz] {
    display: block;
    color: #79879d;
    font-weight: 700;
}

.analytics-summary strong[b-f57dyhlfmz] {
    display: block;
    margin: 6px 0;
    color: #10213d;
    font-size: 1.45rem;
    white-space: nowrap;
}

.health-strip[b-f57dyhlfmz] {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 18px 22px;
    margin-bottom: 18px;
    border-radius: 20px;
}

.health-strip span[b-f57dyhlfmz] {
    display: block;
    color: #728097;
    font-size: .8rem;
    font-weight: 800;
}

.health-strip strong[b-f57dyhlfmz] {
    color: #08765f;
    font-size: 1.3rem;
}

.health-meter[b-f57dyhlfmz] {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #e9eef5;
}

.health-meter i[b-f57dyhlfmz] {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #16a780, #3ccf91);
}

.health-strip button[b-f57dyhlfmz] {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #cfdaef;
    border-radius: 13px;
    color: #3158de;
    background: #f4f7ff;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.requests-card[b-f57dyhlfmz] {
    padding: 25px;
    border-radius: 28px;
}

.requests-card header[b-f57dyhlfmz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 17px;
    border-bottom: 1px solid #e7edf6;
}

.requests-card header span[b-f57dyhlfmz] {
    color: #3158de;
    font-size: .74rem;
    font-weight: 950;
}

.requests-card h2[b-f57dyhlfmz] { margin: 6px 0 0; color: #10213d; }
.requests-card header b[b-f57dyhlfmz] { color: #66758c; font-size: .82rem; }

.table-wrap[b-f57dyhlfmz] { overflow-x: auto; }
table[b-f57dyhlfmz] { width: 100%; min-width: 1080px; border-collapse: collapse; }
th[b-f57dyhlfmz], td[b-f57dyhlfmz] { padding: 16px 12px; text-align: right; border-bottom: 1px solid #edf1f7; }
th[b-f57dyhlfmz] { color: #68778f; font-size: .8rem; }
td[b-f57dyhlfmz] { color: #2c3b53; font-size: .86rem; }

.endpoint[b-f57dyhlfmz] {
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.method[b-f57dyhlfmz],
.http-status[b-f57dyhlfmz] {
    display: inline-flex;
    min-width: 58px;
    justify-content: center;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: .73rem;
    font-weight: 900;
}

.method[b-f57dyhlfmz] { color: #4146a4; background: #efefff; }
.method.get[b-f57dyhlfmz] { color: #08765f; background: #e8faf4; }
.method.post[b-f57dyhlfmz] { color: #245fc2; background: #eaf3ff; }
.method.delete[b-f57dyhlfmz] { color: #b4233d; background: #fff0f2; }
.method.put[b-f57dyhlfmz], .method.patch[b-f57dyhlfmz] { color: #8b5b00; background: #fff5d8; }

.http-status.success[b-f57dyhlfmz] { color: #08765f; background: #e8faf4; }
.http-status.redirect[b-f57dyhlfmz] { color: #6c56b3; background: #f1edff; }
.http-status.client-error[b-f57dyhlfmz] { color: #9b6100; background: #fff5d8; }
.http-status.server-error[b-f57dyhlfmz] { color: #b4233d; background: #fff0f2; }

.ltr[b-f57dyhlfmz] { direction: ltr; text-align: right; }

.empty-state[b-f57dyhlfmz] {
    display: grid;
    gap: 8px;
    padding: 55px 20px;
    text-align: center;
}

.empty-state strong[b-f57dyhlfmz] { color: #2b3c57; }
.empty-state span[b-f57dyhlfmz] { color: #8290a4; }

@media (max-width: 1250px) {
    .analytics-summary[b-f57dyhlfmz] { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 750px) {
    .analytics-summary[b-f57dyhlfmz],
    .health-strip[b-f57dyhlfmz] { grid-template-columns: 1fr; }
}
/* /Components/Pages/AdminBackgroundJobs.razor.rz.scp.css */
.loading-state[b-6lvo4g8yhx],
.jobs-card[b-6lvo4g8yhx],
.job-summary article[b-6lvo4g8yhx] {
    direction: rtl;
    border: 1px solid #dce5f3;
    background: #fff;
    box-shadow: 0 16px 42px rgba(37, 64, 140, .07);
}

.loading-state[b-6lvo4g8yhx] {
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    color: #77859a;
    font-weight: 800;
}

.job-summary[b-6lvo4g8yhx] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 18px;
    direction: rtl;
}

.job-summary article[b-6lvo4g8yhx] {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 128px;
    padding: 20px;
    border-radius: 22px;
}

.job-summary article > b[b-6lvo4g8yhx] {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 16px;
    color: #4056d9;
    background: #ebefff;
    font-size: .7rem;
}

.job-summary span[b-6lvo4g8yhx],
.job-summary small[b-6lvo4g8yhx] {
    display: block;
    color: #79879d;
    font-weight: 700;
}

.job-summary strong[b-6lvo4g8yhx] {
    display: block;
    margin: 6px 0;
    color: #10213d;
    font-size: 1.7rem;
}

.jobs-card[b-6lvo4g8yhx] {
    padding: 26px;
    border-radius: 28px;
}

.jobs-card header[b-6lvo4g8yhx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e7edf6;
}

.jobs-card header span[b-6lvo4g8yhx] {
    color: #3158de;
    font-size: .74rem;
    font-weight: 950;
}

.jobs-card h2[b-6lvo4g8yhx] {
    margin: 6px 0;
    color: #10213d;
}

.jobs-card p[b-6lvo4g8yhx] {
    margin: 0;
    color: #7a879c;
}

.jobs-card button[b-6lvo4g8yhx] {
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid #cfdaef;
    border-radius: 13px;
    color: #3158de;
    background: #f4f7ff;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.table-wrap[b-6lvo4g8yhx] {
    overflow-x: auto;
}

table[b-6lvo4g8yhx] {
    width: 100%;
    min-width: 1000px;
    border-collapse: collapse;
}

th[b-6lvo4g8yhx],
td[b-6lvo4g8yhx] {
    padding: 17px 13px;
    text-align: right;
    border-bottom: 1px solid #edf1f7;
}

th[b-6lvo4g8yhx] {
    color: #68778f;
    font-size: .8rem;
}

td[b-6lvo4g8yhx] {
    color: #2c3b53;
    font-size: .87rem;
}

td strong[b-6lvo4g8yhx],
td small[b-6lvo4g8yhx] {
    display: block;
}

.job-error[b-6lvo4g8yhx] {
    max-width: 300px;
    margin-top: 5px;
    overflow: hidden;
    color: #bd2e46;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.job-type[b-6lvo4g8yhx],
.status[b-6lvo4g8yhx] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 900;
}

.job-type[b-6lvo4g8yhx] {
    color: #4c46aa;
    background: #f0efff;
}

.status.success[b-6lvo4g8yhx] { color: #08765f; background: #e8faf4; }
.status.running[b-6lvo4g8yhx] { color: #8b5b00; background: #fff5d8; }
.status.failed[b-6lvo4g8yhx] { color: #b4233d; background: #fff0f2; }
.status.pending[b-6lvo4g8yhx] { color: #59677d; background: #eef2f7; }

.ltr[b-6lvo4g8yhx] { direction: ltr; text-align: right; }

.empty-state[b-6lvo4g8yhx] {
    display: grid;
    gap: 8px;
    padding: 55px 20px;
    text-align: center;
}

.empty-state strong[b-6lvo4g8yhx] { color: #2b3c57; }
.empty-state span[b-6lvo4g8yhx] { color: #8290a4; }

@media (max-width: 1000px) {
    .job-summary[b-6lvo4g8yhx] { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
    .job-summary[b-6lvo4g8yhx] { grid-template-columns: 1fr; }
    .jobs-card header[b-6lvo4g8yhx] { align-items: stretch; flex-direction: column; }
}
/* /Components/Pages/AdminBackupCenter.razor.rz.scp.css */
.backup-actions[b-wbfgmo6v06],
.backup-card[b-wbfgmo6v06] {
    direction: rtl;
    border: 1px solid #dbe5f3;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(30, 64, 175, .08);
}

.backup-actions[b-wbfgmo6v06] {
    display: grid;
    grid-template-columns: minmax(260px, 1.2fr) minmax(320px, 1fr) auto;
    align-items: end;
    gap: 24px;
    padding: 28px;
    margin-bottom: 18px;
}

.action-copy span[b-wbfgmo6v06],
.backup-card header span[b-wbfgmo6v06] {
    color: #0f8b80;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.action-copy h2[b-wbfgmo6v06],
.backup-card h2[b-wbfgmo6v06] {
    margin: 7px 0;
    color: #10213d;
    font-weight: 900;
}

.action-copy p[b-wbfgmo6v06] {
    margin: 0;
    color: #71809a;
    line-height: 1.9;
}

.tenant-picker[b-wbfgmo6v06] {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto;
    gap: 10px;
}

.tenant-picker label[b-wbfgmo6v06] {
    grid-column: 1 / -1;
    color: #52627b;
    font-size: .84rem;
    font-weight: 800;
}

select[b-wbfgmo6v06],
button[b-wbfgmo6v06] {
    min-height: 48px;
    border-radius: 14px;
    font: inherit;
    font-weight: 800;
}

select[b-wbfgmo6v06] {
    border: 1px solid #cfdaeb;
    background: #f8fbff;
    color: #17233b;
    padding: 0 14px;
}

button[b-wbfgmo6v06] {
    border: 0;
    cursor: pointer;
    padding: 0 20px;
}

button:disabled[b-wbfgmo6v06] {
    cursor: not-allowed;
    opacity: .55;
}

.primary-button[b-wbfgmo6v06],
.restore-button[b-wbfgmo6v06] {
    color: #fff;
    background: linear-gradient(135deg, #0f9b8e, #0f766e);
}

.full-button[b-wbfgmo6v06] {
    color: #3d2f79;
    border: 1px solid #d9cdf6;
    background: #f6f1ff;
}

.result-message[b-wbfgmo6v06] {
    border-radius: 16px;
    padding: 14px 18px;
    margin-bottom: 18px;
    font-weight: 800;
}

.result-message.success[b-wbfgmo6v06] {
    color: #08765f;
    border: 1px solid #a7ead5;
    background: #effcf7;
}

.result-message.error[b-wbfgmo6v06] {
    color: #b4233d;
    border: 1px solid #ffc6cf;
    background: #fff2f4;
}

.summary-grid[b-wbfgmo6v06] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 18px;
    direction: rtl;
}

.summary-grid article[b-wbfgmo6v06] {
    display: grid;
    gap: 7px;
    min-height: 120px;
    padding: 20px;
    border: 1px solid #dce5f3;
    border-radius: 22px;
    background: #fff;
}

.summary-grid span[b-wbfgmo6v06],
.summary-grid small[b-wbfgmo6v06] {
    color: #74829a;
    font-weight: 700;
}

.summary-grid strong[b-wbfgmo6v06] {
    color: #10213d;
    font-size: 1.65rem;
}

.backup-card[b-wbfgmo6v06] {
    padding: 26px;
    margin-bottom: 18px;
}

.backup-card header[b-wbfgmo6v06] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e7edf6;
}

.list-tools[b-wbfgmo6v06] {
    display: flex;
    gap: 10px;
}

.list-tools button[b-wbfgmo6v06] {
    color: #274060;
    border: 1px solid #d4dfef;
    background: #f8fbff;
}

.table-wrap[b-wbfgmo6v06] {
    overflow-x: auto;
}

table[b-wbfgmo6v06] {
    width: 100%;
    border-collapse: collapse;
    min-width: 850px;
}

th[b-wbfgmo6v06],
td[b-wbfgmo6v06] {
    padding: 17px 14px;
    text-align: right;
    border-bottom: 1px solid #edf1f7;
}

th[b-wbfgmo6v06] {
    color: #65748d;
    font-size: .82rem;
}

td[b-wbfgmo6v06] {
    color: #283851;
}

td strong[b-wbfgmo6v06],
td small[b-wbfgmo6v06] {
    display: block;
}

td small[b-wbfgmo6v06] {
    margin-top: 5px;
    color: #8b98ac;
}

.status[b-wbfgmo6v06] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 900;
}

.status.success[b-wbfgmo6v06] {
    color: #08765f;
    background: #e9fbf5;
}

.status.pending[b-wbfgmo6v06] {
    color: #9a6500;
    background: #fff6d9;
}

.status.failed[b-wbfgmo6v06] {
    color: #b4233d;
    background: #fff0f2;
}

.restore-button[b-wbfgmo6v06] {
    min-height: 40px;
    font-size: .8rem;
}

.error-text[b-wbfgmo6v06] {
    max-width: 260px;
    color: #b4233d;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.empty-state[b-wbfgmo6v06] {
    padding: 34px;
    text-align: center;
    color: #7b899e;
    font-weight: 800;
}

.restore-history[b-wbfgmo6v06] {
    display: grid;
    gap: 10px;
    padding-top: 16px;
}

.restore-history article[b-wbfgmo6v06] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid #e3eaf4;
    border-radius: 16px;
    background: #f9fbfe;
}

.restore-history strong[b-wbfgmo6v06],
.restore-history small[b-wbfgmo6v06] {
    display: block;
}

.restore-history small[b-wbfgmo6v06] {
    margin-top: 4px;
    color: #7d8aa0;
}

@media (max-width: 1100px) {
    .backup-actions[b-wbfgmo6v06] {
        grid-template-columns: 1fr;
    }

    .summary-grid[b-wbfgmo6v06] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .tenant-picker[b-wbfgmo6v06],
    .summary-grid[b-wbfgmo6v06] {
        grid-template-columns: 1fr;
    }

    .backup-card header[b-wbfgmo6v06],
    .list-tools[b-wbfgmo6v06] {
        align-items: stretch;
        flex-direction: column;
    }
}
/* /Components/Pages/AdminDashboard.razor.rz.scp.css */
.admin-dashboard[b-au0d42wd7x]{display:grid;gap:18px;padding:24px;color:#10203d;font-family:inherit}.admin-hero[b-au0d42wd7x]{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:34px;border-radius:30px;background:radial-gradient(circle at 8% 12%,rgba(103,80,255,.35),transparent 32%),linear-gradient(135deg,#172554,#263f87 52%,#087b78);color:#fff;box-shadow:0 22px 55px rgba(24,42,91,.2)}.eyebrow[b-au0d42wd7x],.panel-heading span[b-au0d42wd7x]{font-size:11px;font-weight:950;letter-spacing:.08em;color:#6366f1}.admin-hero .eyebrow[b-au0d42wd7x]{color:#c7d2fe}.admin-hero h1[b-au0d42wd7x]{margin:8px 0;font-size:34px}.admin-hero p[b-au0d42wd7x]{margin:0;color:#dbeafe;font-weight:700}.hero-actions[b-au0d42wd7x]{display:flex;gap:9px;flex-wrap:wrap}.hero-actions button[b-au0d42wd7x],.panel-heading button[b-au0d42wd7x]{min-height:44px;padding:0 17px;border:0;border-radius:13px;font:inherit;font-weight:900;cursor:pointer}.primary-action[b-au0d42wd7x]{background:#fff;color:#253a7c}.secondary-action[b-au0d42wd7x]{background:rgba(255,255,255,.1);color:#fff;border:1px solid rgba(255,255,255,.24)!important}.hero-actions button:disabled[b-au0d42wd7x]{opacity:.6}.dashboard-error[b-au0d42wd7x],.dashboard-loading[b-au0d42wd7x]{padding:18px;border-radius:17px;font-weight:850}.dashboard-error[b-au0d42wd7x]{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}.dashboard-loading[b-au0d42wd7x]{background:#eff6ff;color:#1d4ed8}.kpi-grid[b-au0d42wd7x]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.kpi-card[b-au0d42wd7x]{min-height:126px;display:flex;align-items:center;gap:13px;padding:19px;border-radius:22px;background:#fff;border:1px solid #dfe7f2;box-shadow:0 10px 28px rgba(15,23,42,.055)}.kpi-icon[b-au0d42wd7x]{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;border-radius:16px;background:#eaf1ff;color:#315df4;font-size:20px;font-weight:950}.kpi-card span[b-au0d42wd7x],.kpi-card small[b-au0d42wd7x]{display:block;color:#697892;font-weight:750}.kpi-card strong[b-au0d42wd7x]{display:block;margin:4px 0;font-size:27px}.kpi-card.green .kpi-icon[b-au0d42wd7x]{background:#dcfce7;color:#15803d}.kpi-card.purple .kpi-icon[b-au0d42wd7x]{background:#f3e8ff;color:#7e22ce}.kpi-card.red .kpi-icon[b-au0d42wd7x]{background:#ffe4e6;color:#be123c}.kpi-card.orange .kpi-icon[b-au0d42wd7x]{background:#ffedd5;color:#c2410c}.kpi-card.indigo .kpi-icon[b-au0d42wd7x]{background:#e0e7ff;color:#4338ca}.kpi-card.cyan .kpi-icon[b-au0d42wd7x]{background:#cffafe;color:#0e7490}.dashboard-panel[b-au0d42wd7x]{padding:24px;border-radius:25px;background:#fff;border:1px solid #dfe7f2;box-shadow:0 13px 35px rgba(15,23,42,.055)}.panel-heading[b-au0d42wd7x]{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.panel-heading h2[b-au0d42wd7x]{margin:5px 0 0;font-size:21px}.panel-heading small[b-au0d42wd7x]{color:#758299;font-weight:700}.panel-heading button[b-au0d42wd7x]{background:#eef2ff;color:#4338ca}.finance-panel[b-au0d42wd7x]{background:linear-gradient(145deg,#fff,#f8fbff)}.money-grid[b-au0d42wd7x]{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.money-card[b-au0d42wd7x]{padding:18px;border-radius:18px;background:#f8fafc;border:1px solid #e2e8f0}.money-card span[b-au0d42wd7x],.money-card small[b-au0d42wd7x]{display:block;color:#6b7890;font-size:12px;font-weight:800}.money-card strong[b-au0d42wd7x]{display:block;margin:8px 0 5px;font-size:22px;color:#087668}.money-card.danger[b-au0d42wd7x]{background:#fff5f6;border-color:#fecdd3}.money-card.danger strong[b-au0d42wd7x]{color:#be123c}.chart-grid[b-au0d42wd7x]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.trend-chart[b-au0d42wd7x]{height:245px;display:flex;align-items:stretch;gap:14px;padding:12px 4px 0;border-bottom:1px solid #e3e9f2}.trend-column[b-au0d42wd7x]{min-width:0;flex:1;display:grid;grid-template-rows:24px 1fr 25px;gap:6px;text-align:center}.trend-value[b-au0d42wd7x]{direction:ltr;font-size:11px;color:#64748b;font-weight:900}.trend-track[b-au0d42wd7x]{height:100%;display:flex;align-items:flex-end;justify-content:center;border-radius:10px 10px 0 0;background:linear-gradient(180deg,#f8fafc,#f1f5f9)}.trend-track i[b-au0d42wd7x]{display:block;width:min(46px,72%);min-height:4%;border-radius:10px 10px 3px 3px;background:linear-gradient(180deg,#6366f1,#0f8a7d);box-shadow:0 7px 14px rgba(79,70,229,.16)}.trend-column small[b-au0d42wd7x]{direction:ltr;color:#728098;font-weight:800}.dashboard-columns[b-au0d42wd7x]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.dashboard-columns.wide-left[b-au0d42wd7x]{grid-template-columns:1.45fr .55fr}.distribution-list[b-au0d42wd7x]{display:grid;gap:15px}.distribution-row>div:first-child[b-au0d42wd7x]{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}.distribution-row strong[b-au0d42wd7x]{font-size:13px}.distribution-row span[b-au0d42wd7x]{color:#4f5f79;font-weight:900}.progress[b-au0d42wd7x],.resource-progress[b-au0d42wd7x]{height:9px;border-radius:99px;background:#edf1f7;overflow:hidden}.progress i[b-au0d42wd7x],.resource-progress i[b-au0d42wd7x]{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#315df4,#7568f8)}.distribution-row.plan .progress i[b-au0d42wd7x]{background:linear-gradient(90deg,#0f8a7d,#28b69c)}.ops-grid[b-au0d42wd7x]{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px}.ops-card[b-au0d42wd7x]{display:flex;align-items:center;gap:10px;padding:16px;border:1px solid #e2e8f0;border-radius:17px;background:#f9fbfd}.ops-card>span[b-au0d42wd7x]{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#e8eefc;color:#405ac1;font-size:11px;font-weight:950}.ops-card strong[b-au0d42wd7x],.ops-card small[b-au0d42wd7x],.ops-card em[b-au0d42wd7x]{display:block}.ops-card strong[b-au0d42wd7x]{font-size:21px}.ops-card small[b-au0d42wd7x]{font-weight:850;color:#475569}.ops-card em[b-au0d42wd7x]{font-style:normal;font-size:11px;color:#8490a4}.ops-card.danger[b-au0d42wd7x]{background:#fff5f6;border-color:#fecdd3}.ops-card.danger>span[b-au0d42wd7x]{background:#ffe4e6;color:#be123c}.resource-grid[b-au0d42wd7x]{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:16px;padding-top:16px;border-top:1px solid #e7ecf3}.resource-card>div:first-child[b-au0d42wd7x]{display:flex;justify-content:space-between;margin-bottom:8px}.resource-card span[b-au0d42wd7x]{font-weight:900;color:#52617a}.resource-progress i[b-au0d42wd7x]{background:linear-gradient(90deg,#0f8a7d,#34d399)}.resource-progress i.warning[b-au0d42wd7x]{background:#f59e0b}.resource-progress i.danger[b-au0d42wd7x]{background:#ef4444}.table-wrap[b-au0d42wd7x]{overflow:auto;border:1px solid #e2e8f0;border-radius:17px}.table-wrap table[b-au0d42wd7x]{width:100%;min-width:700px;border-collapse:collapse}.table-wrap th[b-au0d42wd7x],.table-wrap td[b-au0d42wd7x]{padding:13px;text-align:right;border-bottom:1px solid #e8edf4}.table-wrap th[b-au0d42wd7x]{background:#f7f9fc;color:#6b7890;font-size:12px}.table-wrap tr:last-child td[b-au0d42wd7x]{border-bottom:0}.tenant-link[b-au0d42wd7x]{padding:0;border:0;background:none;color:#293b76;font:inherit;font-weight:900;cursor:pointer}.tenant-status[b-au0d42wd7x]{display:inline-flex;padding:5px 9px;border-radius:99px;background:#eef2f7;color:#59667b;font-size:11px;font-weight:900}.tenant-status.active[b-au0d42wd7x]{background:#dcfce7;color:#15803d}.tenant-status.trial[b-au0d42wd7x]{background:#f3e8ff;color:#7e22ce}.tenant-status.suspended[b-au0d42wd7x],.tenant-status.expired[b-au0d42wd7x],.tenant-status.cancelled[b-au0d42wd7x]{background:#ffe4e6;color:#be123c}.alert-list[b-au0d42wd7x]{display:grid;gap:10px}.alert-item[b-au0d42wd7x]{width:100%;display:grid;grid-template-columns:10px 1fr auto;align-items:center;gap:11px;padding:14px;border:1px solid #e2e8f0;border-radius:15px;background:#f9fbfd;text-align:right;font:inherit;cursor:pointer}.alert-item i[b-au0d42wd7x]{width:9px;height:9px;border-radius:50%;background:#64748b}.alert-item span[b-au0d42wd7x]{display:grid;gap:4px}.alert-item small[b-au0d42wd7x]{color:#708098}.alert-item b[b-au0d42wd7x]{font-size:22px}.alert-item.danger[b-au0d42wd7x]{background:#fff5f6;border-color:#fecdd3}.alert-item.danger i[b-au0d42wd7x]{background:#ef4444}.alert-item.warning[b-au0d42wd7x]{background:#fffbeb;border-color:#fde68a}.alert-item.warning i[b-au0d42wd7x]{background:#f59e0b}.alert-item.success[b-au0d42wd7x]{background:#effcf6;border-color:#bbf7d0}.alert-item.success i[b-au0d42wd7x]{background:#10b981}.feature-grid[b-au0d42wd7x]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.feature-card[b-au0d42wd7x]{display:flex;align-items:center;gap:12px;padding:17px;border-radius:17px;background:#f8fafc;border:1px solid #e2e8f0}.feature-card>span[b-au0d42wd7x]{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#ede9fe;color:#5b21b6;font-size:11px;font-weight:950}.feature-card strong[b-au0d42wd7x],.feature-card small[b-au0d42wd7x]{display:block}.feature-card strong[b-au0d42wd7x]{font-size:22px}.feature-card small[b-au0d42wd7x]{color:#64748b;font-weight:800}.quick-links[b-au0d42wd7x]{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.quick-link[b-au0d42wd7x]{display:grid;grid-template-columns:39px 1fr auto;align-items:center;gap:10px;padding:10px;border:1px solid #e2e8f0;border-radius:14px;background:#fafbfd;text-align:right;font:inherit;cursor:pointer}.quick-link span[b-au0d42wd7x]{width:39px;height:39px;display:grid;place-items:center;border-radius:11px;background:#e9f3f1;color:#087568;font-size:10px;font-weight:950}.quick-link b[b-au0d42wd7x]{font-size:21px;color:#8190a7}.footprint-grid[b-au0d42wd7x]{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px}.footprint-item[b-au0d42wd7x]{display:flex;align-items:center;gap:10px;padding:15px;border-radius:16px;background:#f8fafc;border:1px solid #e2e8f0}.footprint-item>span[b-au0d42wd7x]{width:37px;height:37px;display:grid;place-items:center;border-radius:11px;background:#e9edff;color:#4852ba;font-size:10px;font-weight:950}.footprint-item strong[b-au0d42wd7x],.footprint-item small[b-au0d42wd7x]{display:block}.footprint-item strong[b-au0d42wd7x]{font-size:19px}.footprint-item small[b-au0d42wd7x]{color:#65738a;font-weight:800}.empty-state[b-au0d42wd7x]{padding:25px;text-align:center;color:#78859b}@media(max-width:1350px){.money-grid[b-au0d42wd7x]{grid-template-columns:repeat(3,1fr)}.ops-grid[b-au0d42wd7x]{grid-template-columns:repeat(3,1fr)}.footprint-grid[b-au0d42wd7x]{grid-template-columns:repeat(4,1fr)}}@media(max-width:1050px){.kpi-grid[b-au0d42wd7x]{grid-template-columns:repeat(2,1fr)}.dashboard-columns[b-au0d42wd7x],.dashboard-columns.wide-left[b-au0d42wd7x]{grid-template-columns:1fr}.admin-hero[b-au0d42wd7x]{align-items:flex-start;flex-direction:column}}@media(max-width:760px){.admin-dashboard[b-au0d42wd7x]{padding:12px}.chart-grid[b-au0d42wd7x],.resource-grid[b-au0d42wd7x]{grid-template-columns:1fr}.money-grid[b-au0d42wd7x],.ops-grid[b-au0d42wd7x],.footprint-grid[b-au0d42wd7x],.feature-grid[b-au0d42wd7x],.quick-links[b-au0d42wd7x]{grid-template-columns:repeat(2,1fr)}.panel-heading[b-au0d42wd7x]{align-items:flex-start;flex-direction:column}.trend-chart[b-au0d42wd7x]{height:210px}.admin-hero h1[b-au0d42wd7x]{font-size:27px}}@media(max-width:520px){.kpi-grid[b-au0d42wd7x],.money-grid[b-au0d42wd7x],.ops-grid[b-au0d42wd7x],.footprint-grid[b-au0d42wd7x],.feature-grid[b-au0d42wd7x],.quick-links[b-au0d42wd7x]{grid-template-columns:1fr}.admin-hero[b-au0d42wd7x]{padding:24px}.dashboard-panel[b-au0d42wd7x]{padding:17px}}
/* /Components/Pages/AdminFileStorage.razor.rz.scp.css */
.table td[b-qxqg12n2am] {
    vertical-align: middle;
}

.kpi-grid[b-qxqg12n2am] {
    margin-bottom: 20px;
}
/* /Components/Pages/AdminLicenseServer.razor.rz.scp.css */
.kpi-card[b-9p2gythj7f] {
    min-height: 120px;
}

.table td[b-9p2gythj7f] {
    vertical-align: middle;
}

.badge[b-9p2gythj7f] {
    font-size: .85rem;
}
/* /Components/Pages/AdminLiveMonitoring.razor.rz.scp.css */
.connection-bar[b-uwz9a75vo8],
.monitoring-placeholder[b-uwz9a75vo8],
.resource-panel[b-uwz9a75vo8],
.live-card[b-uwz9a75vo8] {
    direction: rtl;
    border: 1px solid #dce5f3;
    background: #fff;
    box-shadow: 0 16px 42px rgba(37, 64, 140, .07);
}

.connection-bar[b-uwz9a75vo8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 20px;
    margin-bottom: 18px;
    border-radius: 18px;
}

.connection-bar > div[b-uwz9a75vo8] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.connection-bar i[b-uwz9a75vo8] {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.connection-bar.connected i[b-uwz9a75vo8] {
    background: #19b982;
    box-shadow: 0 0 0 7px #dff8ef;
}

.connection-bar.disconnected i[b-uwz9a75vo8] {
    background: #ef5d72;
    box-shadow: 0 0 0 7px #ffedf0;
}

.connection-bar span[b-uwz9a75vo8] {
    color: #7b889d;
}

.connection-bar button[b-uwz9a75vo8] {
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid #cfdaf0;
    border-radius: 13px;
    color: #3158de;
    background: #f3f6ff;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.monitoring-placeholder[b-uwz9a75vo8] {
    display: grid;
    justify-items: center;
    gap: 10px;
    min-height: 330px;
    align-content: center;
    border-radius: 28px;
    color: #77859a;
}

.monitoring-placeholder strong[b-uwz9a75vo8] {
    color: #263853;
    font-size: 1.1rem;
}

.pulse[b-uwz9a75vo8] {
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
    border-radius: 50%;
    background: #5367eb;
    box-shadow: 0 0 0 0 rgba(83, 103, 235, .35);
    animation: pulse-b-uwz9a75vo8 1.8s infinite;
}

.live-kpis[b-uwz9a75vo8] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 18px;
    direction: rtl;
}

.live-card[b-uwz9a75vo8] {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 130px;
    padding: 20px;
    border-radius: 22px;
}

.live-card > b[b-uwz9a75vo8] {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 16px;
    color: #4056d9;
    background: #ebefff;
    font-size: .7rem;
}

.live-card span[b-uwz9a75vo8],
.live-card small[b-uwz9a75vo8] {
    display: block;
    color: #79879d;
    font-weight: 700;
}

.live-card strong[b-uwz9a75vo8] {
    display: block;
    margin: 6px 0;
    color: #10213d;
    font-size: 1.7rem;
}

.resource-panel[b-uwz9a75vo8] {
    padding: 26px;
    border-radius: 28px;
}

.resource-panel header[b-uwz9a75vo8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e7edf6;
}

.resource-panel header span[b-uwz9a75vo8] {
    color: #3158de;
    font-size: .74rem;
    font-weight: 950;
}

.resource-panel h2[b-uwz9a75vo8] {
    margin: 6px 0 0;
    color: #10213d;
}

.resource-panel time[b-uwz9a75vo8] {
    color: #738198;
    font-weight: 800;
}

.resources[b-uwz9a75vo8] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 20px;
}

.resources article[b-uwz9a75vo8] {
    padding: 20px;
    border: 1px solid #e1e8f3;
    border-radius: 20px;
    background: #f9fbfe;
}

.resources article > div:first-child[b-uwz9a75vo8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #728198;
    font-weight: 800;
}

.resources article b[b-uwz9a75vo8] {
    color: #4056d9;
    font-size: .72rem;
}

.resources article > strong[b-uwz9a75vo8] {
    display: block;
    margin: 14px 0 10px;
    color: #122440;
    font-size: 1.5rem;
}

.meter[b-uwz9a75vo8] {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e7ecf4;
}

.meter i[b-uwz9a75vo8] {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #594fe8, #178ce5);
}

@keyframes pulse-b-uwz9a75vo8 {
    70% { box-shadow: 0 0 0 16px rgba(83, 103, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(83, 103, 235, 0); }
}

@media (max-width: 1050px) {
    .live-kpis[b-uwz9a75vo8] { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
    .live-kpis[b-uwz9a75vo8],
    .resources[b-uwz9a75vo8] { grid-template-columns: 1fr; }

    .connection-bar[b-uwz9a75vo8],
    .connection-bar > div[b-uwz9a75vo8],
    .resource-panel header[b-uwz9a75vo8] {
        align-items: stretch;
        flex-direction: column;
    }
}
/* /Components/Pages/AdminLogs.razor.rz.scp.css */
.log-toolbar[b-wdjnbkq2i5],
.loading-state[b-wdjnbkq2i5],
.logs-card[b-wdjnbkq2i5],
.log-summary article[b-wdjnbkq2i5] {
    direction: rtl;
    border: 1px solid #dce5f3;
    background: #fff;
    box-shadow: 0 16px 42px rgba(37, 64, 140, .07);
}

.log-toolbar[b-wdjnbkq2i5] {
    display: grid;
    grid-template-columns: minmax(280px, 1.5fr) minmax(180px, .7fr) auto auto;
    align-items: end;
    gap: 12px;
    padding: 18px;
    margin-bottom: 18px;
    border-radius: 20px;
}

.search-box[b-wdjnbkq2i5],
.level-filter[b-wdjnbkq2i5] {
    display: grid;
    gap: 7px;
}

.search-box span[b-wdjnbkq2i5],
.level-filter span[b-wdjnbkq2i5] {
    color: #68778f;
    font-size: .8rem;
    font-weight: 850;
}

input[b-wdjnbkq2i5],
select[b-wdjnbkq2i5],
button[b-wdjnbkq2i5] {
    min-height: 46px;
    border-radius: 13px;
    font: inherit;
    font-weight: 800;
}

input[b-wdjnbkq2i5],
select[b-wdjnbkq2i5] {
    border: 1px solid #cfdaeb;
    outline: 0;
    background: #f9fbfe;
    padding: 0 14px;
}

input:focus[b-wdjnbkq2i5],
select:focus[b-wdjnbkq2i5] {
    border-color: #6174e9;
    box-shadow: 0 0 0 3px rgba(97, 116, 233, .12);
}

button[b-wdjnbkq2i5] {
    padding: 0 18px;
    cursor: pointer;
}

.refresh-button[b-wdjnbkq2i5] {
    color: #3158de;
    border: 1px solid #ccd8ef;
    background: #f3f6ff;
}

.clear-button[b-wdjnbkq2i5] {
    color: #b4233d;
    border: 1px solid #ffcbd3;
    background: #fff3f5;
}

button:disabled[b-wdjnbkq2i5] { cursor: not-allowed; opacity: .55; }

.loading-state[b-wdjnbkq2i5] {
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    color: #77859a;
    font-weight: 800;
}

.log-summary[b-wdjnbkq2i5] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 18px;
    direction: rtl;
}

.log-summary article[b-wdjnbkq2i5] {
    display: grid;
    gap: 7px;
    min-height: 112px;
    padding: 20px;
    border-radius: 21px;
}

.log-summary span[b-wdjnbkq2i5],
.log-summary small[b-wdjnbkq2i5] { color: #79879d; font-weight: 700; }
.log-summary strong[b-wdjnbkq2i5] { color: #10213d; font-size: 1.65rem; }

.logs-card[b-wdjnbkq2i5] {
    padding: 25px;
    border-radius: 28px;
}

.logs-card header[b-wdjnbkq2i5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 17px;
    border-bottom: 1px solid #e7edf6;
}

.logs-card header span[b-wdjnbkq2i5] {
    color: #3158de;
    font-size: .74rem;
    font-weight: 950;
}

.logs-card h2[b-wdjnbkq2i5] { margin: 6px 0 0; color: #10213d; }
.logs-card header b[b-wdjnbkq2i5] { color: #66758c; font-size: .82rem; }

.table-wrap[b-wdjnbkq2i5] { overflow-x: auto; }
table[b-wdjnbkq2i5] { width: 100%; min-width: 1050px; border-collapse: collapse; }
th[b-wdjnbkq2i5], td[b-wdjnbkq2i5] { padding: 16px 12px; text-align: right; border-bottom: 1px solid #edf1f7; }
th[b-wdjnbkq2i5] { color: #68778f; font-size: .8rem; }
td[b-wdjnbkq2i5] { color: #2c3b53; font-size: .86rem; vertical-align: top; }

.level[b-wdjnbkq2i5] {
    display: inline-flex;
    min-width: 70px;
    justify-content: center;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 900;
}

.level.error[b-wdjnbkq2i5] { color: #b4233d; background: #fff0f2; }
.level.warning[b-wdjnbkq2i5] { color: #8b5b00; background: #fff5d8; }
.level.info[b-wdjnbkq2i5] { color: #1f61b8; background: #eaf4ff; }
.level.neutral[b-wdjnbkq2i5] { color: #59677d; background: #eef2f7; }

.message-cell[b-wdjnbkq2i5] { max-width: 460px; }
.message-cell strong[b-wdjnbkq2i5], .message-cell small[b-wdjnbkq2i5] { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.message-cell small[b-wdjnbkq2i5] { margin-top: 6px; color: #b4233d; }
.ltr[b-wdjnbkq2i5] { direction: ltr; text-align: right; }
.empty-state[b-wdjnbkq2i5] { padding: 50px 20px; text-align: center; color: #7c899e; font-weight: 800; }

@media (max-width: 1050px) {
    .log-toolbar[b-wdjnbkq2i5] { grid-template-columns: 1fr 1fr; }
    .log-summary[b-wdjnbkq2i5] { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
    .log-toolbar[b-wdjnbkq2i5],
    .log-summary[b-wdjnbkq2i5] { grid-template-columns: 1fr; }
}
/* /Components/Pages/AdminPendingInvoices.razor.rz.scp.css */
.pending-page[b-qij63hut7u]{display:grid;gap:18px;padding:24px;color:#11203b;font-family:inherit}.pending-hero[b-qij63hut7u]{min-height:210px;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:34px;border-radius:30px;background:radial-gradient(circle at 10% 10%,rgba(251,191,36,.24),transparent 34%),linear-gradient(135deg,#172554,#2d4388 53%,#0a756f);color:#fff;box-shadow:0 22px 52px rgba(20,39,91,.19)}.back-link[b-qij63hut7u]{display:block;margin:0 0 17px;padding:0;border:0;background:transparent;color:#dbeafe;font:inherit;font-size:13px;font-weight:900;cursor:pointer}.eyebrow[b-qij63hut7u],.panel-heading span[b-qij63hut7u]{display:block;color:#c7d2fe;font-size:11px;font-weight:950;letter-spacing:.1em}.pending-hero h1[b-qij63hut7u]{margin:7px 0 8px;font-size:34px}.pending-hero p[b-qij63hut7u]{margin:0;color:#dce8fb;font-weight:750}.hero-actions[b-qij63hut7u]{display:flex;gap:10px;flex-wrap:wrap}.hero-button[b-qij63hut7u]{min-height:46px;padding:0 18px;border:1px solid rgba(255,255,255,.25);border-radius:14px;background:rgba(255,255,255,.1);color:#fff;font:inherit;font-weight:900;cursor:pointer}.hero-button.primary[b-qij63hut7u]{background:#fff;color:#263c7d}.hero-button:disabled[b-qij63hut7u]{opacity:.62;cursor:wait}.pending-alert[b-qij63hut7u],.pending-loading[b-qij63hut7u]{padding:18px;border-radius:17px;font-weight:850}.pending-alert.success[b-qij63hut7u]{border:1px solid #bbf7d0;background:#ecfdf5;color:#047857}.pending-alert.error[b-qij63hut7u]{border:1px solid #fecdd3;background:#fff1f2;color:#be123c}.pending-loading[b-qij63hut7u]{display:flex;align-items:center;justify-content:center;gap:12px;min-height:120px;border:1px solid #dbe5f2;background:#fff;color:#3154a5}.pending-loading>span[b-qij63hut7u]{width:22px;height:22px;border:3px solid #c7d2fe;border-top-color:#4f46e5;border-radius:50%;animation:spin-b-qij63hut7u .8s linear infinite}.summary-grid[b-qij63hut7u]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.summary-card[b-qij63hut7u]{min-height:145px;padding:20px;border:1px solid #dfe7f2;border-radius:22px;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.055)}.summary-card>div[b-qij63hut7u]{display:flex;align-items:center;justify-content:space-between}.summary-card span[b-qij63hut7u]{color:#7d8aa0;font-size:10px;font-weight:950;letter-spacing:.08em}.summary-card i[b-qij63hut7u]{width:9px;height:9px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 7px var(--soft)}.summary-card strong[b-qij63hut7u]{display:block;margin:22px 0 5px;direction:ltr;text-align:right;color:var(--accent);font-size:27px}.summary-card small[b-qij63hut7u]{color:#69778e;font-weight:800}.summary-card.blue[b-qij63hut7u]{--accent:#2563eb;--soft:#dbeafe}.summary-card.red[b-qij63hut7u]{--accent:#be123c;--soft:#ffe4e6}.summary-card.orange[b-qij63hut7u]{--accent:#c2410c;--soft:#ffedd5}.summary-card.green[b-qij63hut7u]{--accent:#087668;--soft:#d1fae5}.invoice-panel[b-qij63hut7u]{padding:24px;border:1px solid #dfe7f2;border-radius:25px;background:#fff;box-shadow:0 13px 35px rgba(15,23,42,.055)}.panel-heading[b-qij63hut7u]{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px;padding-bottom:18px;border-bottom:1px solid #e8edf4}.panel-heading span[b-qij63hut7u]{color:#6366f1}.panel-heading h2[b-qij63hut7u]{margin:5px 0 2px;font-size:21px}.panel-heading small[b-qij63hut7u]{color:#78869b;font-weight:750}.search-box[b-qij63hut7u]{width:min(470px,45%);height:48px;display:flex;align-items:center;gap:9px;padding:0 14px;border:1px solid #dbe3ef;border-radius:15px;background:#f8fafc}.search-box>span[b-qij63hut7u]{color:#66758d;font-size:20px}.search-box input[b-qij63hut7u]{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#17233d;font:inherit;font-weight:750}.search-box button[b-qij63hut7u]{width:28px;height:28px;border:0;border-radius:9px;background:#e8edf5;color:#526179;font:inherit;font-size:18px;cursor:pointer}.invoice-table-wrap[b-qij63hut7u]{overflow:auto;border:1px solid #e2e8f0;border-radius:18px}.invoice-table[b-qij63hut7u]{width:100%;min-width:1050px;border-collapse:collapse}.invoice-table th[b-qij63hut7u],.invoice-table td[b-qij63hut7u]{padding:14px 12px;text-align:right;border-bottom:1px solid #e8edf4;vertical-align:middle}.invoice-table th[b-qij63hut7u]{background:#f6f8fc;color:#66758d;font-size:11px;font-weight:950;white-space:nowrap}.invoice-table tbody tr:last-child td[b-qij63hut7u]{border-bottom:0}.invoice-table tbody tr:hover[b-qij63hut7u]{background:#fafcff}.invoice-table tr.overdue-row[b-qij63hut7u]{background:#fffafa}.tenant-cell[b-qij63hut7u]{display:flex;align-items:center;gap:10px}.tenant-cell>span[b-qij63hut7u]{width:38px;height:38px;display:grid;place-items:center;flex:0 0 38px;border-radius:12px;background:#e9edff;color:#4653b8;font-weight:950}.tenant-cell strong[b-qij63hut7u]{white-space:nowrap}.invoice-number[b-qij63hut7u]{direction:ltr;display:inline-block;color:#354575;font-weight:900}.plan-badge[b-qij63hut7u],.due-badge[b-qij63hut7u]{display:inline-flex;align-items:center;padding:6px 10px;border-radius:99px;font-size:10px;font-weight:950;white-space:nowrap}.plan-badge[b-qij63hut7u]{background:#f1f5f9;color:#536177}.amount[b-qij63hut7u]{direction:ltr;display:inline-block;color:#14213a}.currency[b-qij63hut7u]{display:block;margin-top:2px;color:#8a96a8;font-size:10px}.date-cell[b-qij63hut7u]{direction:ltr;display:inline-block;color:#56657d;font-weight:850;white-space:nowrap}.date-cell.danger[b-qij63hut7u]{color:#be123c}.due-badge.pending[b-qij63hut7u]{background:#eff6ff;color:#1d4ed8}.due-badge.today[b-qij63hut7u]{background:#fff7ed;color:#c2410c}.due-badge.overdue[b-qij63hut7u]{background:#fff1f2;color:#be123c}.row-actions[b-qij63hut7u]{display:flex;align-items:center;gap:7px}.row-actions button[b-qij63hut7u]{min-height:36px;padding:0 11px;border-radius:10px;font:inherit;font-size:11px;font-weight:950;white-space:nowrap;cursor:pointer}.row-actions button:disabled[b-qij63hut7u]{opacity:.55;cursor:wait}.paid-button[b-qij63hut7u]{border:0;background:#0f8a7d;color:#fff}.delete-button[b-qij63hut7u]{border:1px solid #fecdd3;background:#fff5f6;color:#be123c}.empty-state[b-qij63hut7u]{min-height:230px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:#68768d}.empty-state>span[b-qij63hut7u]{width:60px;height:60px;display:grid;place-items:center;margin-bottom:15px;border-radius:20px;background:#dcfce7;color:#15803d;font-size:25px;font-weight:950}.empty-state strong[b-qij63hut7u]{font-size:18px;color:#273650}.empty-state small[b-qij63hut7u]{margin-top:6px}@keyframes spin-b-qij63hut7u{to{transform:rotate(360deg)}}@media(max-width:1100px){.summary-grid[b-qij63hut7u]{grid-template-columns:repeat(2,1fr)}.panel-heading[b-qij63hut7u]{align-items:flex-start;flex-direction:column}.search-box[b-qij63hut7u]{width:100%}}@media(max-width:800px){.pending-hero[b-qij63hut7u]{align-items:flex-start;flex-direction:column}}@media(max-width:580px){.pending-page[b-qij63hut7u]{padding:12px}.pending-hero[b-qij63hut7u]{padding:24px}.pending-hero h1[b-qij63hut7u]{font-size:27px}.summary-grid[b-qij63hut7u]{grid-template-columns:1fr}.invoice-panel[b-qij63hut7u]{padding:16px}}
/* /Components/Pages/AdminPlans.razor.rz.scp.css */
.admin-plans-page[b-dtuqnkuzjt]{font-family:var(--auth-font,'Vazirmatn',Tahoma,sans-serif);display:grid;gap:22px;padding:4px 0 30px;color:#0f172a}.plans-alert[b-dtuqnkuzjt]{padding:14px 16px;border:1px solid #fecaca;border-radius:16px;background:#fef2f2;color:#b91c1c;font-weight:700}.plans-editor-card[b-dtuqnkuzjt],.plans-list-card[b-dtuqnkuzjt]{border:1px solid #dfe7f2;border-radius:26px;background:rgba(255,255,255,.96);box-shadow:0 18px 55px rgba(15,23,42,.07);overflow:hidden}.plans-section-header[b-dtuqnkuzjt]{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 26px;border-bottom:1px solid #e8eef6;background:linear-gradient(180deg,#fff,#f8fbff)}.plans-section-header h2[b-dtuqnkuzjt]{margin:3px 0 5px;font-size:24px;font-weight:900;letter-spacing:-.03em}.plans-section-header p[b-dtuqnkuzjt]{margin:0;color:#64748b;font-size:13px}.plans-kicker[b-dtuqnkuzjt]{color:#4f46e5;font-size:10px;font-weight:900;letter-spacing:.16em}.plans-header-actions[b-dtuqnkuzjt]{display:flex;gap:10px}.plans-btn[b-dtuqnkuzjt]{border:0;border-radius:13px;padding:12px 18px;font:inherit;font-weight:800;cursor:pointer;transition:.18s ease}.plans-btn:hover:not(:disabled)[b-dtuqnkuzjt]{transform:translateY(-2px)}.plans-btn:disabled[b-dtuqnkuzjt]{opacity:.6;cursor:not-allowed}.plans-btn-primary[b-dtuqnkuzjt]{background:linear-gradient(135deg,#2563eb,#4f46e5 58%,#7c3aed);color:#fff;box-shadow:0 12px 26px rgba(79,70,229,.22)}.plans-btn-secondary[b-dtuqnkuzjt]{background:#eef2ff;color:#3730a3}.plans-form-grid[b-dtuqnkuzjt]{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:22px}.plans-form-section[b-dtuqnkuzjt]{padding:20px;border:1px solid #e4eaf2;border-radius:20px;background:linear-gradient(180deg,#fff,#fbfdff)}.plans-form-section-wide[b-dtuqnkuzjt]{grid-column:1/-1}.plans-section-title[b-dtuqnkuzjt]{display:flex;align-items:center;gap:11px;margin-bottom:17px}.plans-section-title>span[b-dtuqnkuzjt]{width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(145deg,#dbeafe,#ede9fe);color:#4338ca;font-weight:900}.plans-section-title strong[b-dtuqnkuzjt],.plans-section-title small[b-dtuqnkuzjt]{display:block}.plans-section-title strong[b-dtuqnkuzjt]{font-size:15px}.plans-section-title small[b-dtuqnkuzjt]{margin-top:3px;color:#94a3b8;font-size:11px}.plans-fields[b-dtuqnkuzjt]{display:grid;gap:15px}.two-columns[b-dtuqnkuzjt]{grid-template-columns:1fr 1fr}.field-wide[b-dtuqnkuzjt]{grid-column:1/-1}.plans-fields label[b-dtuqnkuzjt],.price-grid label[b-dtuqnkuzjt]{display:grid;gap:7px}.plans-fields label>span[b-dtuqnkuzjt],.price-grid label>span[b-dtuqnkuzjt]{color:#334155;font-size:12px;font-weight:800}.plans-fields input[b-dtuqnkuzjt],.plans-fields textarea[b-dtuqnkuzjt],.price-grid input[b-dtuqnkuzjt]{width:100%;box-sizing:border-box;border:1px solid #dbe4f0;border-radius:14px;padding:13px 14px;background:#f8fafc;color:#0f172a;font:inherit;outline:none;transition:.18s ease}.plans-fields textarea[b-dtuqnkuzjt]{resize:vertical;min-height:105px}.plans-fields input:focus[b-dtuqnkuzjt],.plans-fields textarea:focus[b-dtuqnkuzjt],.price-grid input:focus[b-dtuqnkuzjt]{background:#fff;border-color:#60a5fa;box-shadow:0 0 0 4px rgba(37,99,235,.1)}.ltr-field[b-dtuqnkuzjt]{direction:ltr;text-align:left}.price-grid[b-dtuqnkuzjt]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.money-input[b-dtuqnkuzjt]{display:flex;direction:ltr}.money-input input[b-dtuqnkuzjt]{border-radius:13px 0 0 13px;text-align:left}.money-input b[b-dtuqnkuzjt]{display:flex;align-items:center;padding:0 12px;border:1px solid #dbe4f0;border-left:0;border-radius:0 13px 13px 0;background:#eef2ff;color:#4338ca;font-size:11px;white-space:nowrap}.compact-fields input[b-dtuqnkuzjt]{text-align:center}.feature-grid[b-dtuqnkuzjt]{display:grid;grid-template-columns:1fr 1fr;gap:11px}.single-feature-grid[b-dtuqnkuzjt]{grid-template-columns:1fr}.feature-switch[b-dtuqnkuzjt]{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:11px;padding:12px;border:1px solid #e2e8f0;border-radius:15px;background:#f8fafc;cursor:pointer}.feature-switch input[b-dtuqnkuzjt]{position:absolute;opacity:0}.feature-switch>span[b-dtuqnkuzjt]{position:relative;width:42px;height:24px;border-radius:999px;background:#cbd5e1;transition:.2s}.feature-switch>span[b-dtuqnkuzjt]::after{content:"";position:absolute;top:3px;right:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(15,23,42,.25);transition:.2s}.feature-switch input:checked+span[b-dtuqnkuzjt]{background:linear-gradient(135deg,#2563eb,#4f46e5)}.feature-switch input:checked+span[b-dtuqnkuzjt]::after{transform:translateX(-18px)}.feature-switch strong[b-dtuqnkuzjt],.feature-switch small[b-dtuqnkuzjt]{display:block}.feature-switch strong[b-dtuqnkuzjt]{font-size:12px}.feature-switch small[b-dtuqnkuzjt]{margin-top:2px;color:#94a3b8;font-size:10px}.active-switch[b-dtuqnkuzjt]{background:#f0fdf4;border-color:#bbf7d0}.module-policy-legend[b-dtuqnkuzjt]{display:flex;flex-wrap:wrap;gap:8px;margin:-4px 0 16px}.module-policy-legend span[b-dtuqnkuzjt]{padding:7px 10px;border-radius:999px;font-size:10px;font-weight:800}.legend-included[b-dtuqnkuzjt]{background:#dcfce7;color:#166534}.legend-optional[b-dtuqnkuzjt]{background:#dbeafe;color:#1d4ed8}.legend-unavailable[b-dtuqnkuzjt]{background:#f1f5f9;color:#64748b}.module-policy-grid[b-dtuqnkuzjt]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.module-policy-card[b-dtuqnkuzjt]{display:grid;gap:10px;padding:15px;border:1px solid #e2e8f0;border-radius:17px;background:#fff;transition:.18s ease}.module-policy-card.state-included[b-dtuqnkuzjt]{border-color:#bbf7d0;background:linear-gradient(180deg,#fff,#f0fdf4)}.module-policy-card.state-optional[b-dtuqnkuzjt]{border-color:#bfdbfe;background:linear-gradient(180deg,#fff,#eff6ff)}.module-policy-card.state-unavailable[b-dtuqnkuzjt]{background:#f8fafc}.module-policy-head[b-dtuqnkuzjt]{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.module-policy-head strong[b-dtuqnkuzjt]{display:block;font-size:13px}.module-policy-head code[b-dtuqnkuzjt]{display:inline-block;margin-top:4px;padding:3px 6px;border-radius:7px;background:#eef2ff;color:#4338ca;font-family:Consolas,monospace;font-size:9px}.core-badge[b-dtuqnkuzjt]{padding:5px 8px;border-radius:999px;background:#ede9fe;color:#6d28d9;font-size:9px;font-weight:900;white-space:nowrap}.module-policy-card p[b-dtuqnkuzjt]{margin:0;color:#64748b;font-size:10px;line-height:1.8}.module-price[b-dtuqnkuzjt]{color:#475569;font-size:10px;font-weight:800}.module-state-buttons[b-dtuqnkuzjt]{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.module-state-buttons button[b-dtuqnkuzjt]{border:1px solid #dbe4f0;border-radius:10px;padding:8px 6px;background:#fff;color:#64748b;font:inherit;font-size:9px;font-weight:900;cursor:pointer}.module-state-buttons button:disabled[b-dtuqnkuzjt]{cursor:not-allowed;opacity:.48}.module-state-buttons button.selected.included[b-dtuqnkuzjt]{border-color:#86efac;background:#dcfce7;color:#166534}.module-state-buttons button.selected.optional[b-dtuqnkuzjt]{border-color:#93c5fd;background:#dbeafe;color:#1d4ed8}.module-state-buttons button.selected.unavailable[b-dtuqnkuzjt]{border-color:#cbd5e1;background:#e2e8f0;color:#475569}.compact-loading[b-dtuqnkuzjt]{padding:18px}.compact-header[b-dtuqnkuzjt]{padding-top:20px;padding-bottom:20px}.plans-count[b-dtuqnkuzjt]{padding:9px 13px;border-radius:12px;background:#eef2ff;color:#4338ca;font-weight:800;font-size:12px}.plans-loading[b-dtuqnkuzjt],.plans-empty[b-dtuqnkuzjt]{padding:38px;text-align:center;color:#64748b}.plans-table-wrap[b-dtuqnkuzjt]{overflow:auto}.plans-table[b-dtuqnkuzjt]{width:100%;border-collapse:collapse;min-width:980px}.plans-table th[b-dtuqnkuzjt]{padding:13px 14px;background:#f8fafc;color:#64748b;font-size:11px;text-align:right;border-bottom:1px solid #e2e8f0}.plans-table td[b-dtuqnkuzjt]{padding:14px;border-bottom:1px solid #edf2f7;color:#334155;font-size:12px;vertical-align:middle}.plans-table tbody tr:hover[b-dtuqnkuzjt]{background:#fafcff}.plans-table td:first-child strong[b-dtuqnkuzjt],.plans-table td:first-child small[b-dtuqnkuzjt]{display:block}.plans-table td:first-child strong[b-dtuqnkuzjt]{font-size:13px;color:#0f172a}.plans-table td:first-child small[b-dtuqnkuzjt]{margin-top:4px;max-width:260px;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.plans-table code[b-dtuqnkuzjt]{padding:5px 8px;border-radius:8px;background:#eef2ff;color:#3730a3;font-family:Consolas,monospace}.status-pill[b-dtuqnkuzjt]{display:inline-flex;padding:6px 10px;border-radius:999px;font-weight:800;font-size:10px}.status-pill.active[b-dtuqnkuzjt]{background:#dcfce7;color:#15803d}.status-pill.inactive[b-dtuqnkuzjt]{background:#f1f5f9;color:#64748b}.row-actions[b-dtuqnkuzjt]{display:flex;gap:7px}.edit-btn[b-dtuqnkuzjt],.delete-btn[b-dtuqnkuzjt]{border:0;border-radius:10px;padding:8px 11px;font:inherit;font-size:11px;font-weight:800;cursor:pointer}.edit-btn[b-dtuqnkuzjt]{background:#eef2ff;color:#3730a3}.delete-btn[b-dtuqnkuzjt]{background:#fef2f2;color:#b91c1c}@media(max-width:1000px){.plans-form-grid[b-dtuqnkuzjt]{grid-template-columns:1fr}.plans-form-section-wide[b-dtuqnkuzjt]{grid-column:auto}.price-grid[b-dtuqnkuzjt]{grid-template-columns:repeat(2,1fr)}.module-policy-grid[b-dtuqnkuzjt]{grid-template-columns:1fr}}@media(max-width:700px){.plans-section-header[b-dtuqnkuzjt]{align-items:flex-start;flex-direction:column}.plans-header-actions[b-dtuqnkuzjt]{width:100%}.plans-btn[b-dtuqnkuzjt]{flex:1}.plans-form-grid[b-dtuqnkuzjt]{padding:14px}.plans-form-section[b-dtuqnkuzjt]{padding:16px}.two-columns[b-dtuqnkuzjt],.price-grid[b-dtuqnkuzjt],.feature-grid[b-dtuqnkuzjt]{grid-template-columns:1fr}.field-wide[b-dtuqnkuzjt]{grid-column:auto}.plans-section-header h2[b-dtuqnkuzjt]{font-size:21px}.module-state-buttons[b-dtuqnkuzjt]{grid-template-columns:1fr}}.module-pricing-editor[b-dtuqnkuzjt]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:10px;border:1px solid #dbeafe;border-radius:13px;background:rgba(255,255,255,.78)}.module-pricing-editor label[b-dtuqnkuzjt]{display:grid;gap:4px}.module-pricing-editor label span[b-dtuqnkuzjt]{color:#64748b;font-size:8px;font-weight:900}.module-pricing-editor input[b-dtuqnkuzjt]{width:100%;box-sizing:border-box;border:1px solid #dbe4f0;border-radius:9px;padding:8px 7px;background:#fff;color:#0f172a;font:inherit;font-size:9px;text-align:center;outline:none}.module-pricing-editor input:focus[b-dtuqnkuzjt]{border-color:#60a5fa;box-shadow:0 0 0 3px rgba(37,99,235,.1)}.module-pricing-editor input:disabled[b-dtuqnkuzjt]{opacity:.62}.module-price-hint[b-dtuqnkuzjt]{color:#64748b;font-size:8px;line-height:1.7}@media(max-width:700px){.module-pricing-editor[b-dtuqnkuzjt]{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* Clearer surfaces and compact module management */
.plans-editor-card[b-dtuqnkuzjt],.plans-list-card[b-dtuqnkuzjt],.plans-catalog-card[b-dtuqnkuzjt]{border:1px solid #b8c7dc;background:#fff;box-shadow:0 16px 44px rgba(15,23,42,.12)}
.plans-catalog-card[b-dtuqnkuzjt]{border-radius:26px;overflow:hidden}
.plans-form-section[b-dtuqnkuzjt]{border-color:#c4d1e2;background:#f8fbff;box-shadow:0 5px 16px rgba(15,23,42,.045)}
.plans-section-header[b-dtuqnkuzjt]{border-bottom-color:#cbd7e6}
.plans-alert-success[b-dtuqnkuzjt]{border-color:#86efac;background:#f0fdf4;color:#166534}
.module-catalog-details[b-dtuqnkuzjt]{background:#f8fafc}
.module-catalog-details summary[b-dtuqnkuzjt]{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 24px;border-top:1px solid #d5deea;color:#1e293b;font-weight:900;cursor:pointer;list-style:none}
.module-catalog-details summary[b-dtuqnkuzjt]::-webkit-details-marker{display:none}
.module-catalog-details summary[b-dtuqnkuzjt]::before{content:"＋";width:27px;height:27px;display:grid;place-items:center;border-radius:9px;background:#e0e7ff;color:#4338ca;font-size:17px}
.module-catalog-details[open] summary[b-dtuqnkuzjt]::before{content:"−"}
.module-catalog-details summary span[b-dtuqnkuzjt]{margin-left:auto}
.module-catalog-details summary small[b-dtuqnkuzjt]{color:#64748b;font-size:11px;font-weight:700}
.module-catalog-table-wrap[b-dtuqnkuzjt]{overflow:auto;border-top:1px solid #d5deea}
.module-catalog-table[b-dtuqnkuzjt]{width:100%;min-width:980px;border-collapse:collapse;background:#fff}
.module-catalog-table th[b-dtuqnkuzjt]{padding:11px 9px;background:#eaf0f8;color:#334155;font-size:10px;text-align:right;border-bottom:1px solid #c4d1e2}
.module-catalog-table td[b-dtuqnkuzjt]{padding:8px;border-bottom:1px solid #dbe3ee}
.module-catalog-table td:first-child[b-dtuqnkuzjt]{min-width:190px}
.module-catalog-table td strong[b-dtuqnkuzjt],.module-catalog-table td code[b-dtuqnkuzjt]{display:block}
.module-catalog-table td strong[b-dtuqnkuzjt]{font-size:11px;color:#0f172a}
.module-catalog-table td code[b-dtuqnkuzjt]{margin-top:3px;color:#6366f1;font-size:8px}
.module-catalog-table input[b-dtuqnkuzjt]{width:100%;min-width:105px;box-sizing:border-box;border:1px solid #b9c7d9;border-radius:9px;padding:8px;background:#fff;color:#0f172a;font:inherit;font-size:10px;text-align:center;outline:none}
.module-catalog-table input:focus[b-dtuqnkuzjt]{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.1)}
.module-selector-grid[b-dtuqnkuzjt]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.module-selector-row[b-dtuqnkuzjt]{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:54px;padding:9px 11px;border:1px solid #bfcddd;border-radius:13px;background:#fff;transition:.15s ease}
.module-selector-row:hover[b-dtuqnkuzjt]{border-color:#93a8c1;box-shadow:0 5px 14px rgba(15,23,42,.07)}
.module-selector-row.selected[b-dtuqnkuzjt]{border-color:#93c5fd;background:#eff6ff}
.module-selector-row.core[b-dtuqnkuzjt]{border-color:#c4b5fd;background:#f5f3ff}
.module-check[b-dtuqnkuzjt]{display:block;cursor:pointer}
.module-check input[b-dtuqnkuzjt]{position:absolute;opacity:0}
.module-check span[b-dtuqnkuzjt]{display:grid;width:24px;height:24px;place-items:center;border:2px solid #94a3b8;border-radius:7px;background:#fff}
.module-check input:checked+span[b-dtuqnkuzjt]{border-color:#2563eb;background:linear-gradient(135deg,#2563eb,#4f46e5)}
.module-check input:checked+span[b-dtuqnkuzjt]::after{content:"✓";color:#fff;font-size:15px;font-weight:900}
.module-selector-info[b-dtuqnkuzjt]{min-width:0}
.module-selector-info strong[b-dtuqnkuzjt]{display:inline;font-size:11px;color:#0f172a}
.module-selector-info code[b-dtuqnkuzjt]{display:inline;margin-right:6px;padding:2px 5px;border-radius:6px;background:#e0e7ff;color:#4338ca;font-size:8px}
.module-selector-info small[b-dtuqnkuzjt]{display:block;margin-top:4px;color:#64748b;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.module-mode-toggle[b-dtuqnkuzjt]{display:flex;gap:4px}
.module-mode-toggle button[b-dtuqnkuzjt]{border:1px solid #b9c7d9;border-radius:8px;padding:7px 8px;background:#fff;color:#64748b;font:inherit;font-size:8px;font-weight:900;cursor:pointer;white-space:nowrap}
.module-mode-toggle button.active.included[b-dtuqnkuzjt]{border-color:#4ade80;background:#dcfce7;color:#166534}
.module-mode-toggle button.active.optional[b-dtuqnkuzjt]{border-color:#60a5fa;background:#dbeafe;color:#1d4ed8}
.module-mode-toggle button:disabled[b-dtuqnkuzjt]{cursor:not-allowed;opacity:.68}
@media(max-width:900px){.module-selector-grid[b-dtuqnkuzjt]{grid-template-columns:1fr}}
@media(max-width:600px){.module-selector-row[b-dtuqnkuzjt]{grid-template-columns:auto minmax(0,1fr)}.module-mode-toggle[b-dtuqnkuzjt]{grid-column:1/-1}.module-mode-toggle button[b-dtuqnkuzjt]{flex:1}.module-catalog-details summary[b-dtuqnkuzjt]{padding:13px 15px}}
/* /Components/Pages/AdminRevenue.razor.rz.scp.css */
.revenue-page[b-s2wi5r33ea]{display:grid;gap:18px;padding:24px;color:#11203b;font-family:inherit}.revenue-hero[b-s2wi5r33ea]{min-height:210px;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:34px;border-radius:30px;background:radial-gradient(circle at 10% 10%,rgba(129,140,248,.34),transparent 35%),linear-gradient(135deg,#182554,#294789 54%,#087f75);color:#fff;box-shadow:0 22px 52px rgba(20,39,91,.19)}.back-link[b-s2wi5r33ea]{display:block;margin:0 0 17px;padding:0;border:0;background:transparent;color:#dbeafe;font:inherit;font-size:13px;font-weight:900;cursor:pointer}.eyebrow[b-s2wi5r33ea],.panel-heading span[b-s2wi5r33ea]{display:block;color:#a5b4fc;font-size:11px;font-weight:950;letter-spacing:.1em}.revenue-hero h1[b-s2wi5r33ea]{margin:7px 0 8px;font-size:34px}.revenue-hero p[b-s2wi5r33ea]{margin:0;color:#dce8fb;font-weight:750}.hero-actions[b-s2wi5r33ea]{display:flex;gap:10px;flex-wrap:wrap}.hero-button[b-s2wi5r33ea],.panel-heading button[b-s2wi5r33ea]{min-height:46px;padding:0 18px;border:1px solid rgba(255,255,255,.25);border-radius:14px;background:rgba(255,255,255,.1);color:#fff;font:inherit;font-weight:900;cursor:pointer}.hero-button.primary[b-s2wi5r33ea]{background:#fff;color:#263c7d}.hero-button:disabled[b-s2wi5r33ea]{opacity:.62;cursor:wait}.revenue-alert[b-s2wi5r33ea],.revenue-loading[b-s2wi5r33ea]{padding:18px;border-radius:17px;font-weight:850}.revenue-alert[b-s2wi5r33ea]{border:1px solid #fecdd3;background:#fff1f2;color:#be123c}.revenue-loading[b-s2wi5r33ea]{display:flex;align-items:center;justify-content:center;gap:12px;min-height:120px;border:1px solid #dbe5f2;background:#fff;color:#3154a5}.revenue-loading span[b-s2wi5r33ea]{width:22px;height:22px;border:3px solid #c7d2fe;border-top-color:#4f46e5;border-radius:50%;animation:spin-b-s2wi5r33ea .8s linear infinite}.revenue-kpis[b-s2wi5r33ea]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.money-kpi[b-s2wi5r33ea]{position:relative;overflow:hidden;min-height:168px;padding:20px;border:1px solid #dfe7f2;border-radius:23px;background:#fff;box-shadow:0 11px 30px rgba(15,23,42,.055)}.money-kpi[b-s2wi5r33ea]::after{content:"";position:absolute;left:-25px;bottom:-35px;width:100px;height:100px;border-radius:50%;background:var(--soft)}.money-kpi-head[b-s2wi5r33ea]{display:flex;align-items:center;justify-content:space-between}.money-kpi-head span[b-s2wi5r33ea]{color:#74839b;font-size:10px;font-weight:950;letter-spacing:.08em}.money-kpi-head i[b-s2wi5r33ea]{width:10px;height:10px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 7px var(--soft)}.money-kpi>strong[b-s2wi5r33ea]{display:block;margin:24px 0 2px;direction:ltr;text-align:right;font-size:26px;color:var(--accent)}.money-kpi>small[b-s2wi5r33ea]{color:#78869b;font-weight:800}.money-kpi-foot[b-s2wi5r33ea]{position:relative;z-index:1;margin-top:12px;font-weight:900}.money-kpi.today[b-s2wi5r33ea]{--accent:#2563eb;--soft:#dbeafe}.money-kpi.month[b-s2wi5r33ea]{--accent:#0f8a7d;--soft:#d1fae5}.money-kpi.year[b-s2wi5r33ea]{--accent:#7c3aed;--soft:#ede9fe}.money-kpi.total[b-s2wi5r33ea]{--accent:#c2410c;--soft:#ffedd5}.revenue-columns[b-s2wi5r33ea]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.finance-panel[b-s2wi5r33ea],.revenue-insights[b-s2wi5r33ea]{padding:24px;border:1px solid #dfe7f2;border-radius:25px;background:#fff;box-shadow:0 13px 35px rgba(15,23,42,.055)}.panel-heading[b-s2wi5r33ea]{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px;padding-bottom:17px;border-bottom:1px solid #e8edf4}.panel-heading span[b-s2wi5r33ea]{color:#6366f1}.panel-heading h2[b-s2wi5r33ea]{margin:5px 0 0;font-size:21px}.panel-heading button[b-s2wi5r33ea]{border-color:#dbe3f0;background:#f1f5ff;color:#3f4ba8}.invoice-summary[b-s2wi5r33ea],.subscription-summary[b-s2wi5r33ea]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.invoice-stat[b-s2wi5r33ea]{display:flex;align-items:center;gap:13px;padding:17px;border:1px solid #e2e8f0;border-radius:18px;background:#f9fbfd}.stat-icon[b-s2wi5r33ea]{width:44px;height:44px;display:grid;place-items:center;flex:0 0 44px;border-radius:14px;font-size:20px;font-weight:950}.invoice-stat.paid .stat-icon[b-s2wi5r33ea]{background:#dcfce7;color:#15803d}.invoice-stat.unpaid .stat-icon[b-s2wi5r33ea]{background:#ffe4e6;color:#be123c}.invoice-stat small[b-s2wi5r33ea],.invoice-stat strong[b-s2wi5r33ea],.invoice-stat em[b-s2wi5r33ea]{display:block}.invoice-stat small[b-s2wi5r33ea]{color:#64748b;font-weight:850}.invoice-stat strong[b-s2wi5r33ea]{margin:4px 0;font-size:24px}.invoice-stat em[b-s2wi5r33ea]{color:#8290a4;font-size:11px;font-style:normal}.ratio-block[b-s2wi5r33ea]{margin-top:18px;padding:17px;border-radius:18px;background:#f6f8fc}.ratio-block>div:first-child[b-s2wi5r33ea]{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.ratio-block span[b-s2wi5r33ea]{direction:ltr;color:#0f766e;font-weight:950}.ratio-track[b-s2wi5r33ea]{height:10px;overflow:hidden;border-radius:99px;background:#e5eaf1}.ratio-track i[b-s2wi5r33ea]{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#10b981)}.subscription-card[b-s2wi5r33ea]{padding:19px;border-radius:18px;border:1px solid #e2e8f0}.subscription-card span[b-s2wi5r33ea],.subscription-card strong[b-s2wi5r33ea],.subscription-card small[b-s2wi5r33ea]{display:block}.subscription-card span[b-s2wi5r33ea]{color:#66758d;font-weight:850}.subscription-card strong[b-s2wi5r33ea]{margin:9px 0 5px;font-size:28px}.subscription-card small[b-s2wi5r33ea]{color:#8491a5;font-size:11px;font-weight:750}.subscription-card.active[b-s2wi5r33ea]{background:#f0fdf8;border-color:#bbf7d0}.subscription-card.active strong[b-s2wi5r33ea]{color:#087668}.subscription-card.expiring[b-s2wi5r33ea]{background:#fff9ed;border-color:#fde68a}.subscription-card.expiring strong[b-s2wi5r33ea]{color:#b45309}.health-note[b-s2wi5r33ea]{display:flex;align-items:center;gap:12px;margin-top:18px;padding:16px;border-radius:17px}.health-note>span[b-s2wi5r33ea]{width:38px;height:38px;display:grid;place-items:center;flex:0 0 38px;border-radius:12px;font-weight:950}.health-note strong[b-s2wi5r33ea],.health-note small[b-s2wi5r33ea]{display:block}.health-note small[b-s2wi5r33ea]{margin-top:3px}.health-note.warning[b-s2wi5r33ea]{background:#fff7ed;color:#9a3412}.health-note.warning>span[b-s2wi5r33ea]{background:#ffedd5}.health-note.healthy[b-s2wi5r33ea]{background:#ecfdf5;color:#047857}.health-note.healthy>span[b-s2wi5r33ea]{background:#d1fae5}.insight-grid[b-s2wi5r33ea]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.insight-item[b-s2wi5r33ea]{padding:17px;border:1px solid #e2e8f0;border-radius:17px;background:linear-gradient(145deg,#fbfcfe,#f5f8fc)}.insight-item span[b-s2wi5r33ea],.insight-item strong[b-s2wi5r33ea],.insight-item small[b-s2wi5r33ea]{display:block}.insight-item span[b-s2wi5r33ea]{color:#818da2;font-size:10px;font-weight:950;letter-spacing:.08em}.insight-item strong[b-s2wi5r33ea]{margin:10px 0 4px;font-size:22px;color:#273966}.insight-item small[b-s2wi5r33ea]{color:#68768d;font-weight:800}@keyframes spin-b-s2wi5r33ea{to{transform:rotate(360deg)}}@media(max-width:1150px){.revenue-kpis[b-s2wi5r33ea],.insight-grid[b-s2wi5r33ea]{grid-template-columns:repeat(2,1fr)}}@media(max-width:900px){.revenue-columns[b-s2wi5r33ea]{grid-template-columns:1fr}.revenue-hero[b-s2wi5r33ea]{align-items:flex-start;flex-direction:column}}@media(max-width:620px){.revenue-page[b-s2wi5r33ea]{padding:12px}.revenue-hero[b-s2wi5r33ea]{padding:24px}.revenue-hero h1[b-s2wi5r33ea]{font-size:27px}.revenue-kpis[b-s2wi5r33ea],.insight-grid[b-s2wi5r33ea],.invoice-summary[b-s2wi5r33ea],.subscription-summary[b-s2wi5r33ea]{grid-template-columns:1fr}.panel-heading[b-s2wi5r33ea]{align-items:flex-start;flex-direction:column}.finance-panel[b-s2wi5r33ea],.revenue-insights[b-s2wi5r33ea]{padding:18px}}
/* /Components/Pages/AdminServers.razor.rz.scp.css */
.loading-state[b-u2m8o71uy2],
.servers-card[b-u2m8o71uy2],
.summary-card[b-u2m8o71uy2],
.resource-card[b-u2m8o71uy2] {
    direction: rtl;
    border: 1px solid #dce5f3;
    background: #fff;
    box-shadow: 0 16px 40px rgba(37, 64, 140, .07);
}

.loading-state[b-u2m8o71uy2] {
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    color: #75829a;
    font-weight: 800;
}

.server-summary[b-u2m8o71uy2] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 18px;
    direction: rtl;
}

.summary-card[b-u2m8o71uy2] {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 132px;
    padding: 20px;
    border-radius: 23px;
}

.card-icon[b-u2m8o71uy2] {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 17px;
    font-size: .72rem;
    font-weight: 950;
}

.summary-card.primary .card-icon[b-u2m8o71uy2] {
    color: #3158de;
    background: #eaf0ff;
}

.summary-card.online .card-icon[b-u2m8o71uy2] {
    color: #08765f;
    background: #e8faf4;
}

.summary-card.offline .card-icon[b-u2m8o71uy2] {
    color: #b4233d;
    background: #fff0f2;
}

.summary-card.users .card-icon[b-u2m8o71uy2] {
    color: #7350d8;
    background: #f1ecff;
}

.summary-card span[b-u2m8o71uy2],
.summary-card small[b-u2m8o71uy2] {
    display: block;
    color: #7b889e;
    font-weight: 700;
}

.summary-card strong[b-u2m8o71uy2] {
    display: block;
    margin: 5px 0;
    color: #10213d;
    font-size: 1.8rem;
    line-height: 1;
}

.resource-grid[b-u2m8o71uy2] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 18px;
    direction: rtl;
}

.resource-card[b-u2m8o71uy2] {
    padding: 20px;
    border-radius: 21px;
}

.resource-head[b-u2m8o71uy2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.resource-head span[b-u2m8o71uy2] {
    display: block;
    color: #71809a;
    font-size: .82rem;
    font-weight: 800;
}

.resource-head strong[b-u2m8o71uy2] {
    display: block;
    margin-top: 5px;
    color: #142540;
    font-size: 1.35rem;
}

.resource-head b[b-u2m8o71uy2] {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: #3158de;
    background: #edf2ff;
    font-size: .7rem;
}

.progress-track[b-u2m8o71uy2],
.usage-cell div[b-u2m8o71uy2] {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #edf1f7;
}

.progress-track i[b-u2m8o71uy2],
.usage-cell i[b-u2m8o71uy2] {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #5a50eb, #2389f5);
}

.servers-card[b-u2m8o71uy2] {
    padding: 26px;
    border-radius: 28px;
}

.servers-card header[b-u2m8o71uy2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e7edf6;
}

.servers-card header span[b-u2m8o71uy2] {
    color: #3158de;
    font-size: .75rem;
    font-weight: 950;
    letter-spacing: .08em;
}

.servers-card h2[b-u2m8o71uy2] {
    margin: 6px 0;
    color: #10213d;
    font-weight: 950;
}

.servers-card p[b-u2m8o71uy2] {
    margin: 0;
    color: #7a879c;
}

.servers-card button[b-u2m8o71uy2] {
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid #cfdaf0;
    border-radius: 14px;
    color: #3158de;
    background: #f4f7ff;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.servers-card button:disabled[b-u2m8o71uy2] {
    cursor: wait;
    opacity: .6;
}

.table-wrap[b-u2m8o71uy2] {
    overflow-x: auto;
}

table[b-u2m8o71uy2] {
    width: 100%;
    min-width: 1050px;
    border-collapse: collapse;
}

th[b-u2m8o71uy2],
td[b-u2m8o71uy2] {
    padding: 17px 13px;
    text-align: right;
    border-bottom: 1px solid #edf1f7;
}

th[b-u2m8o71uy2] {
    color: #68778f;
    font-size: .8rem;
}

td[b-u2m8o71uy2] {
    color: #2c3b53;
    font-size: .88rem;
}

td strong[b-u2m8o71uy2],
td small[b-u2m8o71uy2] {
    display: block;
}

td small[b-u2m8o71uy2] {
    margin-top: 5px;
    color: #8b97aa;
}

.ltr[b-u2m8o71uy2] {
    direction: ltr;
    text-align: right;
}

.usage-cell[b-u2m8o71uy2] {
    display: grid;
    gap: 6px;
    min-width: 72px;
}

.usage-cell span[b-u2m8o71uy2] {
    font-weight: 850;
}

.usage-cell div[b-u2m8o71uy2] {
    height: 5px;
}

.version[b-u2m8o71uy2],
.node-status[b-u2m8o71uy2] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 900;
}

.version[b-u2m8o71uy2] {
    color: #4f46b8;
    background: #f0efff;
}

.node-status.online[b-u2m8o71uy2] {
    color: #08765f;
    background: #e8faf4;
}

.node-status.offline[b-u2m8o71uy2] {
    color: #b4233d;
    background: #fff0f2;
}

.empty-state[b-u2m8o71uy2] {
    display: grid;
    gap: 8px;
    padding: 55px 20px;
    text-align: center;
}

.empty-state strong[b-u2m8o71uy2] {
    color: #2b3c57;
}

.empty-state span[b-u2m8o71uy2] {
    color: #8290a4;
}

@media (max-width: 1100px) {
    .server-summary[b-u2m8o71uy2] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .resource-grid[b-u2m8o71uy2],
    .server-summary[b-u2m8o71uy2] {
        grid-template-columns: 1fr;
    }

    .servers-card header[b-u2m8o71uy2] {
        align-items: stretch;
        flex-direction: column;
    }
}
/* /Components/Pages/AdminSystemStatus.razor.rz.scp.css */
.system-page[b-jfjs4b3a5j]{display:grid;gap:18px;padding:24px;color:#11203b;font-family:inherit}.system-hero[b-jfjs4b3a5j]{min-height:210px;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:34px;border-radius:30px;background:radial-gradient(circle at 12% 8%,rgba(56,189,248,.25),transparent 32%),linear-gradient(135deg,#172554,#243d82 52%,#086d72);color:#fff;box-shadow:0 22px 52px rgba(20,39,91,.19)}.back-link[b-jfjs4b3a5j]{display:block;margin:0 0 17px;padding:0;border:0;background:transparent;color:#dbeafe;font:inherit;font-size:13px;font-weight:900;cursor:pointer}.eyebrow[b-jfjs4b3a5j],.panel-heading span[b-jfjs4b3a5j]{display:block;color:#a5b4fc;font-size:11px;font-weight:950;letter-spacing:.1em}.system-hero h1[b-jfjs4b3a5j]{margin:7px 0 8px;font-size:34px}.system-hero p[b-jfjs4b3a5j]{margin:0;color:#dce8fb;font-weight:750}.hero-status[b-jfjs4b3a5j]{min-width:260px;display:flex;align-items:center;gap:13px;padding:18px;border:1px solid rgba(255,255,255,.22);border-radius:18px;background:rgba(255,255,255,.1);backdrop-filter:blur(8px)}.pulse[b-jfjs4b3a5j]{position:relative;width:13px;height:13px;flex:0 0 13px;border-radius:50%;background:#34d399;box-shadow:0 0 0 7px rgba(52,211,153,.16)}.pulse[b-jfjs4b3a5j]::after{content:"";position:absolute;inset:-7px;border:1px solid #6ee7b7;border-radius:50%;animation:pulse-b-jfjs4b3a5j 1.8s infinite}.hero-status strong[b-jfjs4b3a5j],.hero-status small[b-jfjs4b3a5j]{display:block}.hero-status small[b-jfjs4b3a5j]{margin-top:4px;color:#cfddf1;font-size:11px}.system-alert[b-jfjs4b3a5j],.system-loading[b-jfjs4b3a5j]{padding:18px;border-radius:17px;font-weight:850}.system-alert[b-jfjs4b3a5j]{border:1px solid #fecdd3;background:#fff1f2;color:#be123c}.system-loading[b-jfjs4b3a5j]{display:flex;align-items:center;justify-content:center;gap:12px;min-height:120px;border:1px solid #dbe5f2;background:#fff;color:#3154a5}.system-loading>span[b-jfjs4b3a5j]{width:22px;height:22px;border:3px solid #c7d2fe;border-top-color:#4f46e5;border-radius:50%;animation:spin-b-jfjs4b3a5j .8s linear infinite}.service-grid[b-jfjs4b3a5j]{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}.service-card[b-jfjs4b3a5j]{position:relative;overflow:hidden;min-height:176px;padding:19px;border:1px solid #dfe7f2;border-radius:22px;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.055)}.service-card[b-jfjs4b3a5j]::after{content:"";position:absolute;left:-25px;bottom:-38px;width:105px;height:105px;border-radius:50%;background:var(--soft)}.service-card-head[b-jfjs4b3a5j]{display:flex;align-items:center;justify-content:space-between}.service-card-head>span[b-jfjs4b3a5j]{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:var(--soft);color:var(--accent);font-size:10px;font-weight:950}.service-card-head i[b-jfjs4b3a5j]{width:9px;height:9px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 7px var(--soft)}.service-card>small[b-jfjs4b3a5j]{display:block;margin-top:17px;color:#8490a4;font-size:10px;font-weight:950;letter-spacing:.08em}.service-card>strong[b-jfjs4b3a5j]{display:block;margin:5px 0 9px;font-size:18px}.service-state[b-jfjs4b3a5j]{position:relative;z-index:1;color:var(--accent);font-weight:900}.service-card.healthy[b-jfjs4b3a5j]{--accent:#0f8a74;--soft:#d1fae5}.service-card.warning[b-jfjs4b3a5j]{--accent:#b45309;--soft:#ffedd5}.system-columns[b-jfjs4b3a5j]{display:grid;grid-template-columns:1.06fr .94fr;gap:18px}.system-panel[b-jfjs4b3a5j],.action-panel[b-jfjs4b3a5j]{padding:24px;border:1px solid #dfe7f2;border-radius:25px;background:#fff;box-shadow:0 13px 35px rgba(15,23,42,.055)}.panel-heading[b-jfjs4b3a5j]{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px;padding-bottom:17px;border-bottom:1px solid #e8edf4}.panel-heading span[b-jfjs4b3a5j]{color:#6366f1}.panel-heading h2[b-jfjs4b3a5j]{margin:5px 0 0;font-size:21px}.panel-heading button[b-jfjs4b3a5j]{min-height:42px;padding:0 16px;border:1px solid #dbe3f0;border-radius:13px;background:#f1f5ff;color:#3f4ba8;font:inherit;font-weight:900;cursor:pointer}.panel-heading button:disabled[b-jfjs4b3a5j]{opacity:.6}.footprint-grid[b-jfjs4b3a5j]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.footprint-card[b-jfjs4b3a5j]{padding:18px;border:1px solid #e2e8f0;border-radius:18px;background:#f9fbfd}.footprint-card>span[b-jfjs4b3a5j],.footprint-card>strong[b-jfjs4b3a5j],.footprint-card>small[b-jfjs4b3a5j]{display:block}.footprint-card>span[b-jfjs4b3a5j]{color:#8290a4;font-size:10px;font-weight:950;letter-spacing:.08em}.footprint-card>strong[b-jfjs4b3a5j]{margin:8px 0 4px;font-size:25px;color:#273966}.footprint-card>small[b-jfjs4b3a5j]{color:#68768d;font-weight:800}.footprint-card.products[b-jfjs4b3a5j]{background:#f5f3ff}.footprint-card.products strong[b-jfjs4b3a5j]{color:#6d28d9}.mini-track[b-jfjs4b3a5j]{height:7px;margin-top:13px;overflow:hidden;border-radius:99px;background:#e4e9f0}.mini-track i[b-jfjs4b3a5j]{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#10b981)}.service-list[b-jfjs4b3a5j]{display:grid;gap:9px}.service-row[b-jfjs4b3a5j]{display:grid;grid-template-columns:10px 1fr auto;align-items:center;gap:12px;padding:13px;border:1px solid #e2e8f0;border-radius:15px;background:#fafbfd}.service-row>i[b-jfjs4b3a5j]{width:9px;height:9px;border-radius:50%}.service-row>i.healthy[b-jfjs4b3a5j]{background:#10b981;box-shadow:0 0 0 5px #d1fae5}.service-row>i.warning[b-jfjs4b3a5j]{background:#f59e0b;box-shadow:0 0 0 5px #fef3c7}.service-row strong[b-jfjs4b3a5j],.service-row small[b-jfjs4b3a5j]{display:block}.service-row small[b-jfjs4b3a5j]{margin-top:3px;color:#7a879c;font-size:11px}.service-row>span[b-jfjs4b3a5j]{padding:5px 9px;border-radius:99px;font-size:10px;font-weight:950}.service-row>span.healthy[b-jfjs4b3a5j]{background:#dcfce7;color:#15803d}.service-row>span.warning[b-jfjs4b3a5j]{background:#ffedd5;color:#c2410c}.action-grid[b-jfjs4b3a5j]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.action-link[b-jfjs4b3a5j]{display:grid;grid-template-columns:43px 1fr auto;align-items:center;gap:11px;padding:14px;border:1px solid #e2e8f0;border-radius:16px;background:#fafbfd;text-align:right;color:#11203b;font:inherit;cursor:pointer}.action-link:hover[b-jfjs4b3a5j]{border-color:#a5b4fc;background:#f5f7ff;transform:translateY(-1px)}.action-link>span[b-jfjs4b3a5j]{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:#e9edff;color:#4653b8;font-size:9px;font-weight:950}.action-link strong[b-jfjs4b3a5j],.action-link small[b-jfjs4b3a5j]{display:block}.action-link small[b-jfjs4b3a5j]{margin-top:3px;color:#79869a;font-size:11px}.action-link b[b-jfjs4b3a5j]{color:#8290a4;font-size:22px}@keyframes spin-b-jfjs4b3a5j{to{transform:rotate(360deg)}}@keyframes pulse-b-jfjs4b3a5j{0%,100%{transform:scale(.8);opacity:.8}50%{transform:scale(1.25);opacity:0}}@media(max-width:1200px){.service-grid[b-jfjs4b3a5j]{grid-template-columns:repeat(3,1fr)}.action-grid[b-jfjs4b3a5j]{grid-template-columns:repeat(2,1fr)}}@media(max-width:900px){.system-columns[b-jfjs4b3a5j]{grid-template-columns:1fr}.system-hero[b-jfjs4b3a5j]{align-items:flex-start;flex-direction:column}.hero-status[b-jfjs4b3a5j]{width:100%}}@media(max-width:650px){.system-page[b-jfjs4b3a5j]{padding:12px}.system-hero[b-jfjs4b3a5j]{padding:24px}.system-hero h1[b-jfjs4b3a5j]{font-size:27px}.service-grid[b-jfjs4b3a5j],.footprint-grid[b-jfjs4b3a5j],.action-grid[b-jfjs4b3a5j]{grid-template-columns:1fr}.panel-heading[b-jfjs4b3a5j]{align-items:flex-start;flex-direction:column}.system-panel[b-jfjs4b3a5j],.action-panel[b-jfjs4b3a5j]{padding:18px}}
/* /Components/Pages/AdminTenants.razor.rz.scp.css */
.tenant-admin-page[b-lt2dy0acwm] {
    width: 100%;
    min-width: 0;
    padding: 22px;
    direction: rtl;
}

.tenant-editor-card[b-lt2dy0acwm],
.tenant-list-card[b-lt2dy0acwm] {
    padding: 22px;
    border: 1px solid #dbe4f0;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(15, 23, 42, .07);
}

.tenant-editor-card[b-lt2dy0acwm] { margin-bottom: 20px; }

.tenant-card-heading[b-lt2dy0acwm] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.tenant-card-heading h2[b-lt2dy0acwm] { margin: 4px 0 0; font-size: 25px; font-weight: 1000; }
.tenant-card-heading p[b-lt2dy0acwm] { margin: 7px 0 0; color: #64748b; font-weight: 700; }
.tenant-eyebrow[b-lt2dy0acwm] { color: var(--erp-primary, #4f46e5); font-size: 11px; font-weight: 1000; letter-spacing: .08em; }

.tenant-form-grid[b-lt2dy0acwm] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 16px;
}

.tenant-field[b-lt2dy0acwm] { min-width: 0; }
.tenant-field label[b-lt2dy0acwm] { display: block; margin: 0 0 7px; color: #0f172a; font-size: 13px; font-weight: 900; }
.tenant-field label b[b-lt2dy0acwm] { color: #dc2626; }

.tenant-input[b-lt2dy0acwm] {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #d7e1ee;
    border-radius: 14px;
    outline: none;
    color: #0f172a;
    background: #f8fbff;
    font: inherit;
    font-weight: 700;
    box-sizing: border-box;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.tenant-input:focus[b-lt2dy0acwm] {
    border-color: var(--erp-primary, #6366f1);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, .12);
}

.tenant-input.invalid[b-lt2dy0acwm] { border-color: #ef4444; background: #fff7f7; }
.tenant-date-input[b-lt2dy0acwm] { text-align: left; font-variant-numeric: tabular-nums; }
.tenant-field-error[b-lt2dy0acwm] { display: block; margin-top: 6px; color: #dc2626; font-size: 11px; font-weight: 800; }
.tenant-field-hint[b-lt2dy0acwm] { display: block; margin-top: 6px; color: #64748b; font-size: 10px; font-weight: 700; }

.tenant-feature-grid[b-lt2dy0acwm] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.tenant-feature-grid label[b-lt2dy0acwm] {
    min-height: 68px;
    padding: 11px 13px;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    background: #f8fafc;
    font-weight: 800;
    cursor: pointer;
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.tenant-feature-grid label:has(input:checked)[b-lt2dy0acwm] {
    border-color: #a5b4fc;
    background: #eef2ff;
    box-shadow: 0 8px 22px rgba(79, 70, 229, .08);
}

.tenant-feature-grid label input[b-lt2dy0acwm] { margin-top: 4px; accent-color: var(--erp-primary, #4f46e5); }
.tenant-feature-grid label > span[b-lt2dy0acwm] { display: grid; gap: 4px; min-width: 0; }
.tenant-feature-grid label b[b-lt2dy0acwm] { color: #0f172a; font-size: 13px; font-weight: 950; }
.tenant-feature-grid label small[b-lt2dy0acwm] { color: #64748b; font-size: 10px; line-height: 1.65; font-weight: 700; }

.tenant-module-heading[b-lt2dy0acwm] {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.tenant-status-toggle[b-lt2dy0acwm] {
    margin-top: 14px;
    padding: 13px 15px;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    color: #166534;
    background: #f0fdf4;
    font-weight: 900;
}

.tenant-status-toggle label[b-lt2dy0acwm] { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; }
.tenant-status-toggle input[b-lt2dy0acwm] { accent-color: #16a34a; }

.tenant-actions[b-lt2dy0acwm] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #dbe4f0;
    background: #fff;
}

.tenant-btn[b-lt2dy0acwm] {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #dbe4f0;
    border-radius: 13px;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.tenant-btn:disabled[b-lt2dy0acwm] { opacity: .55; cursor: default; }
.tenant-btn-primary[b-lt2dy0acwm] { color: var(--erp-on-brand, #ffffff); border-color: transparent; background: linear-gradient(135deg, var(--erp-primary, #4f46e5), var(--erp-accent, #7c3aed)); }
.tenant-btn-light[b-lt2dy0acwm] { color: #0f172a; background: #fff; }

.tenant-alert[b-lt2dy0acwm] { margin: 0 0 16px; padding: 13px 16px; border-radius: 14px; font-weight: 850; }
.tenant-alert-success[b-lt2dy0acwm] { color: #047857; border: 1px solid #a7f3d0; background: #ecfdf5; }
.tenant-alert-error[b-lt2dy0acwm] { color: #be123c; border: 1px solid #fecdd3; background: #fff1f2; }

.tenant-table-wrap[b-lt2dy0acwm] { overflow-x: auto; }
.tenant-table[b-lt2dy0acwm] { width: 100%; min-width: 960px; border-collapse: collapse; }
.tenant-table th[b-lt2dy0acwm], .tenant-table td[b-lt2dy0acwm] { padding: 12px 10px; border-bottom: 1px solid #e2e8f0; text-align: right; vertical-align: middle; }
.tenant-table th[b-lt2dy0acwm] { color: #334155; background: #f8fafc; font-size: 12px; font-weight: 1000; }
.tenant-table td strong[b-lt2dy0acwm], .tenant-table td small[b-lt2dy0acwm] { display: block; }
.tenant-table td small[b-lt2dy0acwm] { margin-top: 4px; color: #64748b; }
.row-actions[b-lt2dy0acwm] { display: flex; flex-wrap: wrap; gap: 6px; }
.row-actions button[b-lt2dy0acwm] { min-height: 34px; padding: 0 11px; border: 1px solid #dbe4f0; border-radius: 10px; background: #fff; font: inherit; font-size: 11px; font-weight: 900; cursor: pointer; }
.row-actions button.danger[b-lt2dy0acwm] { color: #be123c; border-color: #fecdd3; background: #fff1f2; }

.tenant-status[b-lt2dy0acwm] { display: inline-flex; min-height: 28px; padding: 0 10px; border-radius: 999px; align-items: center; font-size: 11px; font-weight: 900; }
.tenant-status.active[b-lt2dy0acwm] { color: #047857; background: #ecfdf5; }
.tenant-status.trial[b-lt2dy0acwm] { color: #92400e; background: #fffbeb; }
.tenant-status.suspended[b-lt2dy0acwm], .tenant-status.expired[b-lt2dy0acwm], .tenant-status.cancelled[b-lt2dy0acwm] { color: #be123c; background: #fff1f2; }
.tenant-empty[b-lt2dy0acwm] { padding: 22px; text-align: center; color: #64748b; font-weight: 800; }

@media (max-width: 1180px) {
    .tenant-form-grid[b-lt2dy0acwm] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .tenant-admin-page[b-lt2dy0acwm] { padding: 12px; }
    .tenant-editor-card[b-lt2dy0acwm], .tenant-list-card[b-lt2dy0acwm] { padding: 16px; border-radius: 18px; }
    .tenant-card-heading[b-lt2dy0acwm] { flex-direction: column; align-items: stretch; }
    .tenant-form-grid[b-lt2dy0acwm], .tenant-feature-grid[b-lt2dy0acwm] { grid-template-columns: 1fr; }
    .tenant-actions[b-lt2dy0acwm] { margin-top: 18px; padding-top: 14px; flex-direction: column; align-items: stretch; }
    .tenant-btn[b-lt2dy0acwm] { width: 100%; }
}


.tenant-slug-row[b-lt2dy0acwm] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: stretch;
}

.tenant-slug-suggest[b-lt2dy0acwm] {
    min-width: 118px;
    padding: 0 14px;
    border: 1px solid #c7d2fe;
    border-radius: 14px;
    color: #4338ca;
    background: #eef2ff;
    font-family: inherit;
    font-weight: 900;
    cursor: pointer;
}

.tenant-slug-suggest:hover:not(:disabled)[b-lt2dy0acwm] {
    border-color: var(--erp-primary, #818cf8);
    background: #e0e7ff;
}

.tenant-slug-suggest:disabled[b-lt2dy0acwm] {
    opacity: .55;
    cursor: not-allowed;
}

@media (max-width: 640px) {
    .tenant-slug-row[b-lt2dy0acwm] {
        grid-template-columns: 1fr;
    }

    .tenant-slug-suggest[b-lt2dy0acwm] {
        min-height: 44px;
    }
}


.tenant-credentials-card[b-lt2dy0acwm] {
    margin-bottom: 20px;
    padding: 22px;
    border: 1px solid #a7f3d0;
    border-radius: 22px;
    background: linear-gradient(135deg, #ecfdf5, #f0f9ff);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
}

.tenant-credentials-card > div span[b-lt2dy0acwm],
.tenant-credentials-card > div strong[b-lt2dy0acwm] {
    display: block;
}

.tenant-credentials-card > div span[b-lt2dy0acwm] {
    color: #047857;
    font-size: 12px;
    font-weight: 900;
}

.tenant-credentials-card > div strong[b-lt2dy0acwm] {
    margin-top: 4px;
    color: #0f172a;
    font-size: 22px;
    font-weight: 1000;
}

.tenant-credentials-card dl[b-lt2dy0acwm] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 10px;
}

.tenant-credentials-card dl > div[b-lt2dy0acwm] {
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 14px;
    background: rgba(255, 255, 255, .82);
}

.tenant-credentials-card dt[b-lt2dy0acwm] {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.tenant-credentials-card dd[b-lt2dy0acwm] {
    margin: 5px 0 0;
    color: #0f172a;
    font-size: 14px;
    font-weight: 1000;
    word-break: break-all;
}

.tenant-credentials-card p[b-lt2dy0acwm] {
    margin: 0;
    color: #b45309;
    font-size: 12px;
    font-weight: 850;
}

@media (max-width: 900px) {
    .tenant-credentials-card dl[b-lt2dy0acwm] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .tenant-credentials-card dl[b-lt2dy0acwm] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/AdminWhiteLabel.razor.rz.scp.css */
.white-label-preview[b-0peja8gmpw] {
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

    .white-label-preview img[b-0peja8gmpw] {
        margin-bottom: 20px;
    }

    .white-label-preview h3[b-0peja8gmpw] {
        font-weight: 700;
        margin-bottom: 8px;
    }

    .white-label-preview p[b-0peja8gmpw] {
        color: #777;
    }
/* /Components/Pages/Admin/AdminBackupRestoreCenter.razor.rz.scp.css */
.backup-center[b-cnru76vh9p]{padding:22px;display:grid;gap:20px}.kpi-grid[b-cnru76vh9p]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.kpi-card[b-cnru76vh9p],.panel[b-cnru76vh9p]{background:#fff;border:1px solid #dbe4f0;border-radius:22px;padding:22px;box-shadow:0 16px 38px rgba(15,23,42,.07)}.kpi-card span[b-cnru76vh9p]{display:block;color:#64748b;font-weight:800}.kpi-card strong[b-cnru76vh9p]{display:block;margin-top:10px;font-size:24px;color:#0f172a}.kpi-card small[b-cnru76vh9p]{display:block;margin-top:6px;color:#64748b}.section-head[b-cnru76vh9p]{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}.section-head h2[b-cnru76vh9p]{margin:0 0 6px;font-size:20px;color:#0f172a}.section-head p[b-cnru76vh9p]{margin:0;color:#64748b;line-height:1.9}.notice[b-cnru76vh9p]{padding:14px 18px;border-radius:14px;font-weight:800}.notice.error[b-cnru76vh9p]{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}.notice.success[b-cnru76vh9p]{background:#f0fdf4;color:#166534;border:1px solid #bbf7d0}.table-wrap[b-cnru76vh9p]{overflow:auto}table[b-cnru76vh9p]{width:100%;min-width:780px;border-collapse:collapse}th[b-cnru76vh9p],td[b-cnru76vh9p]{padding:13px 12px;text-align:right;border-bottom:1px solid #e2e8f0;vertical-align:middle}th[b-cnru76vh9p]{background:#f8fafc;color:#475569;font-size:13px}.file-name[b-cnru76vh9p]{direction:ltr;text-align:left;font-family:Consolas,monospace;font-size:12px}.empty[b-cnru76vh9p]{text-align:center;color:#94a3b8;padding:28px}.status[b-cnru76vh9p]{display:inline-flex;padding:5px 11px;border-radius:999px;font-size:12px;font-weight:900}.status.ok[b-cnru76vh9p]{background:#dcfce7;color:#166534}.status.running[b-cnru76vh9p]{background:#dbeafe;color:#1d4ed8}.status.failed[b-cnru76vh9p],.status.missing[b-cnru76vh9p]{background:#fee2e2;color:#991b1b}.tenant-picker[b-cnru76vh9p]{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:10px;align-items:end;margin-bottom:20px}.tenant-picker label[b-cnru76vh9p]{grid-column:1/-1;font-weight:800;color:#334155}.tenant-picker select[b-cnru76vh9p],.confirm-box textarea[b-cnru76vh9p]{width:100%;border:1px solid #cbd5e1;border-radius:12px;padding:11px 13px;background:#fff;font:inherit}.tenant-picker select[b-cnru76vh9p]{height:46px}.tenant-picker button[b-cnru76vh9p],.actions button[b-cnru76vh9p],.section-head button[b-cnru76vh9p],td button[b-cnru76vh9p]{border:0;border-radius:11px;padding:10px 15px;font:inherit;font-weight:900;cursor:pointer;background:#2563eb;color:#fff}.secondary[b-cnru76vh9p]{background:#e2e8f0!important;color:#334155!important}.danger[b-cnru76vh9p]{background:#b91c1c!important}.tenant-picker button:disabled[b-cnru76vh9p],.actions button:disabled[b-cnru76vh9p],.section-head button:disabled[b-cnru76vh9p],td button:disabled[b-cnru76vh9p]{opacity:.5;cursor:not-allowed}.confirm-box[b-cnru76vh9p]{margin-top:20px;padding:20px;border:1px solid #fecaca;background:#fff7f7;border-radius:18px}.confirm-box h3[b-cnru76vh9p]{margin:0 0 10px;color:#991b1b}.confirm-box p[b-cnru76vh9p]{line-height:1.9;color:#475569}.confirm-box>label:not(.confirm-check)[b-cnru76vh9p]{display:block;margin:14px 0 7px;font-weight:800;color:#334155}.confirm-check[b-cnru76vh9p]{display:flex;align-items:flex-start;gap:9px;margin-top:14px;line-height:1.8;color:#334155}.confirm-check input[b-cnru76vh9p]{margin-top:6px}.actions[b-cnru76vh9p]{display:flex;gap:10px;margin-top:18px}.restore-panel[b-cnru76vh9p]{border-color:#cbd5e1}@media(max-width:800px){.backup-center[b-cnru76vh9p]{padding:12px}.kpi-grid[b-cnru76vh9p]{grid-template-columns:1fr}.section-head[b-cnru76vh9p]{flex-direction:column}.tenant-picker[b-cnru76vh9p]{grid-template-columns:1fr}.tenant-picker label[b-cnru76vh9p]{grid-column:auto}.actions[b-cnru76vh9p]{flex-direction:column}}
/* /Components/Pages/Admin/AdminPublicContent.razor.rz.scp.css */
.public-content-page[b-lnwn7b2z9o] {
    min-height: calc(100vh - 170px);
    --pc-border: rgba(148, 163, 184, .22);
    --pc-muted: #64748b;
    --pc-surface: rgba(255, 255, 255, .96);
    --pc-soft: #f8fafc;
    --pc-shadow: 0 14px 40px rgba(15, 23, 42, .08);
}

[b-lnwn7b2z9o] .public-content-hero {
    overflow: hidden;
    padding: 18px 24px;
    border: 1px solid var(--pc-border);
    border-radius: 20px;
    background:
        radial-gradient(circle at 10% 0%, rgba(99, 102, 241, .14), transparent 38%),
        linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .98));
    box-shadow: var(--pc-shadow);
}

.public-content-hero__body[b-lnwn7b2z9o] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.public-content-hero__heading[b-lnwn7b2z9o] {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.public-content-hero__icon[b-lnwn7b2z9o] {
    display: grid;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    box-shadow: 0 12px 24px rgba(79, 70, 229, .25);
}

[b-lnwn7b2z9o] .public-content-hero__icon .mud-icon-root {
    font-size: 28px;
}

[b-lnwn7b2z9o] .public-content-hero__title {
    margin-bottom: 4px;
    font-weight: 800;
    color: #0f172a;
}

[b-lnwn7b2z9o] .public-content-hero__subtitle {
    color: var(--pc-muted);
}

.public-content-hero__actions[b-lnwn7b2z9o] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

[b-lnwn7b2z9o] .public-content-button {
    min-height: 42px;
    border-radius: 12px;
    font-weight: 700;
}

[b-lnwn7b2z9o] .public-content-kpi-grid {
    margin-top: 0;
}

[b-lnwn7b2z9o] .public-content-kpi {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 82px;
    padding: 14px;
    border: 1px solid var(--pc-border);
    border-radius: 20px;
    background: var(--pc-surface);
    box-shadow: 0 8px 26px rgba(15, 23, 42, .05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

[b-lnwn7b2z9o] .public-content-kpi:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, .28);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

.public-content-kpi__icon[b-lnwn7b2z9o] {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border-radius: 15px;
}

.public-content-kpi__icon--primary[b-lnwn7b2z9o] {
    background: rgba(79, 70, 229, .12);
    color: #4f46e5;
}

.public-content-kpi__icon--success[b-lnwn7b2z9o] {
    background: rgba(16, 185, 129, .12);
    color: #059669;
}

.public-content-kpi__icon--warning[b-lnwn7b2z9o] {
    background: rgba(245, 158, 11, .14);
    color: #d97706;
}

.public-content-kpi__icon--info[b-lnwn7b2z9o] {
    background: rgba(14, 165, 233, .12);
    color: #0284c7;
}

[b-lnwn7b2z9o] .public-content-kpi__label {
    color: var(--pc-muted);
    font-weight: 600;
}

[b-lnwn7b2z9o] .public-content-kpi__value {
    margin-top: 3px;
    font-weight: 800;
    color: #0f172a;
}

[b-lnwn7b2z9o] .public-content-alert {
    border-radius: 16px;
}

[b-lnwn7b2z9o] .public-content-loading {
    padding: 18px;
    border: 1px solid var(--pc-border);
    border-radius: 18px;
}

[b-lnwn7b2z9o] .public-content-main-grid {
    align-items: flex-start;
}

[b-lnwn7b2z9o] .public-content-panel {
    overflow: hidden;
    border: 1px solid var(--pc-border);
    border-radius: 22px;
    background: var(--pc-surface);
    box-shadow: var(--pc-shadow);
}

[b-lnwn7b2z9o] .public-content-list-panel {
    position: relative;
}

.public-content-panel__header[b-lnwn7b2z9o] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--pc-border);
    background: linear-gradient(180deg, rgba(248, 250, 252, .95), rgba(255, 255, 255, .95));
}

[b-lnwn7b2z9o] .public-content-panel__title {
    font-weight: 800;
    color: #0f172a;
}

[b-lnwn7b2z9o] .public-content-panel__subtitle {
    display: block;
    margin-top: 3px;
    color: var(--pc-muted);
}

.public-content-list[b-lnwn7b2z9o] {
    display: flex;
    max-height: none;
    padding: 16px;
    gap: 12px;
    overflow-y: auto;
    flex-direction: column;
}

[b-lnwn7b2z9o] .public-content-item {
    padding: 16px;
    border-color: var(--pc-border);
    border-radius: 17px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

[b-lnwn7b2z9o] .public-content-item:hover {
    transform: translateY(-1px);
    border-color: rgba(99, 102, 241, .35);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
}

.public-content-item__top[b-lnwn7b2z9o] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.public-content-item__main[b-lnwn7b2z9o] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.public-content-item__type-icon[b-lnwn7b2z9o] {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border-radius: 12px;
    background: #eef2ff;
    color: #4f46e5;
}

.public-content-item__content[b-lnwn7b2z9o] {
    min-width: 0;
}

[b-lnwn7b2z9o] .public-content-item__title {
    overflow: hidden;
    font-weight: 800;
    color: #0f172a;
    text-overflow: ellipsis;
    white-space: nowrap;
}

[b-lnwn7b2z9o] .public-content-item__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    color: var(--pc-muted);
}

[b-lnwn7b2z9o] .public-content-item__route {
    display: block;
    margin-top: 5px;
    color: #6366f1;
    direction: ltr;
    text-align: right;
}

[b-lnwn7b2z9o] .public-content-item__summary {
    display: -webkit-box;
    margin-top: 12px;
    overflow: hidden;
    color: #475569;
    line-height: 1.8;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.public-content-item__footer[b-lnwn7b2z9o] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed rgba(148, 163, 184, .28);
}

[b-lnwn7b2z9o] .public-content-item__date {
    color: #94a3b8;
}

.public-content-item__actions[b-lnwn7b2z9o] {
    display: flex;
    align-items: center;
    gap: 2px;
}

.public-content-empty[b-lnwn7b2z9o] {
    display: flex;
    min-height: 320px;
    padding: 36px 24px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    flex-direction: column;
}

.public-content-empty__icon[b-lnwn7b2z9o] {
    display: grid;
    width: 64px;
    height: 64px;
    margin-bottom: 6px;
    place-items: center;
    border-radius: 20px;
    background: #eef2ff;
    color: #4f46e5;
}

[b-lnwn7b2z9o] .public-content-empty__icon .mud-icon-root {
    font-size: 32px;
}

[b-lnwn7b2z9o] .public-content-empty__text {
    max-width: 320px;
    margin-bottom: 10px;
    color: var(--pc-muted);
}

.public-content-form[b-lnwn7b2z9o] {
    display: flex;
    padding: 14px;
    gap: 12px;
    background: #f8fafc;
    flex-direction: column;
}

.public-content-form-section[b-lnwn7b2z9o] {
    padding: 18px;
    border: 1px solid var(--pc-border);
    border-radius: 18px;
    background: #fff;
}

.public-content-form-section__header[b-lnwn7b2z9o] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.public-content-form-section__icon[b-lnwn7b2z9o] {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border-radius: 12px;
    background: #eef2ff;
    color: #4f46e5;
}

[b-lnwn7b2z9o] .public-content-field .mud-input-control {
    margin-top: 0;
}

[b-lnwn7b2z9o] .public-content-field .mud-input-outlined-border {
    border-color: rgba(148, 163, 184, .42);
    border-radius: 13px;
}

[b-lnwn7b2z9o] .public-content-field:hover .mud-input-outlined-border {
    border-color: rgba(79, 70, 229, .62);
}

[b-lnwn7b2z9o] .public-content-body-field textarea {
    line-height: 1.95;
}

.public-content-date-field[b-lnwn7b2z9o] {
    display: flex;
    gap: 6px;
    flex-direction: column;
}

[b-lnwn7b2z9o] .public-content-date-field__label {
    padding-right: 2px;
    color: #475569;
}

[b-lnwn7b2z9o] .public-content-persian-date {
    width: 100%;
    min-height: 56px;
    padding: 0 14px;
    border: 1px solid rgba(148, 163, 184, .42);
    border-radius: 13px;
    outline: none;
    background: #fff;
    color: #0f172a;
    font: inherit;
    transition: border-color .2s ease, box-shadow .2s ease;
}

[b-lnwn7b2z9o] .public-content-persian-date:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .12);
}

[b-lnwn7b2z9o] .public-content-publish-switch {
    display: flex;
    min-height: 76px;
    padding: 14px 16px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-color: var(--pc-border);
    border-radius: 15px;
    background: #f8fafc;
}

.public-content-action-bar[b-lnwn7b2z9o] {
    display: flex;
    position: relative;
    bottom: auto;
    z-index: 1;
    padding: 16px 20px;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid var(--pc-border);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 -10px 30px rgba(15, 23, 42, .06);
    backdrop-filter: blur(12px);
}

[b-lnwn7b2z9o] .public-content-action-bar .mud-button-root {
    min-height: 42px;
    border-radius: 12px;
    font-weight: 700;
}

@media (max-width: 1279px) {
    [b-lnwn7b2z9o] .public-content-list-panel {
        position: static;
    }

    .public-content-list[b-lnwn7b2z9o] {
        max-height: none;
    }
}

@media (max-width: 768px) {
    [b-lnwn7b2z9o] .public-content-page {
    min-height: calc(100vh - 170px);
        padding-right: 8px !important;
        padding-left: 8px !important;
    }

    [b-lnwn7b2z9o] .public-content-hero {
        padding: 20px;
        border-radius: 18px;
    }

    .public-content-hero__body[b-lnwn7b2z9o] {
        align-items: stretch;
        flex-direction: column;
    }

    .public-content-hero__heading[b-lnwn7b2z9o] {
        align-items: flex-start;
    }

    .public-content-hero__actions[b-lnwn7b2z9o] {
        width: 100%;
    }

    [b-lnwn7b2z9o] .public-content-hero__actions .mud-button-root {
        flex: 1 1 0;
    }

    [b-lnwn7b2z9o] .public-content-kpi {
        min-height: 88px;
        border-radius: 16px;
    }

    [b-lnwn7b2z9o] .public-content-panel {
        border-radius: 18px;
    }

    .public-content-panel__header[b-lnwn7b2z9o] {
        padding: 17px;
    }

    .public-content-form[b-lnwn7b2z9o] {
        padding: 12px;
    }

    .public-content-form-section[b-lnwn7b2z9o] {
        padding: 15px;
        border-radius: 15px;
    }

    .public-content-item__top[b-lnwn7b2z9o],
    .public-content-item__footer[b-lnwn7b2z9o] {
        align-items: stretch;
        flex-direction: column;
    }

    .public-content-item__actions[b-lnwn7b2z9o] {
        justify-content: flex-end;
    }

    .public-content-action-bar[b-lnwn7b2z9o] {
        position: static;
        padding: 14px;
    }

    [b-lnwn7b2z9o] .public-content-action-bar .mud-button-root {
        flex: 1 1 0;
    }
}

/* ===== ERPPlus AdminPublicContent Clean Final Override ===== */

.public-content-page[b-lnwn7b2z9o] {
    min-height: calc(100vh - 120px);
    overflow: visible;
}

[b-lnwn7b2z9o] .public-content-hero {
    padding: 16px 22px;
    border-radius: 18px;
}

.public-content-hero__body[b-lnwn7b2z9o] {
    gap: 16px;
}

[b-lnwn7b2z9o] .public-content-kpi {
    min-height: 76px;
    padding: 12px 14px;
    border-radius: 16px;
}

[b-lnwn7b2z9o] .public-content-kpi__value {
    font-size: 1.35rem;
}

[b-lnwn7b2z9o] .public-content-main-grid {
    margin-top: 0;
    align-items: flex-start;
}

[b-lnwn7b2z9o] .public-content-panel {
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15,23,42,.06);
}

[b-lnwn7b2z9o] .public-content-panel__header {
    padding: 16px 18px;
}

.public-content-list[b-lnwn7b2z9o] {
    max-height: none;
    overflow: visible;
    padding: 14px;
}

[b-lnwn7b2z9o] .public-content-item {
    border-radius: 15px;
    padding: 14px;
}

.public-content-form[b-lnwn7b2z9o] {
    padding: 12px;
    gap: 10px;
}

.public-content-form-section[b-lnwn7b2z9o] {
    padding: 14px;
    border-radius: 16px;
}

.public-content-form-section__header[b-lnwn7b2z9o] {
    margin-bottom: 10px;
}

.public-content-action-bar[b-lnwn7b2z9o] {
    position: relative;
    margin-top: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    box-shadow: none;
    backdrop-filter: none;
}

[b-lnwn7b2z9o] .public-content-field .mud-input-control {
    margin-bottom: 0;
}

@media (min-width:1280px) {
    [b-lnwn7b2z9o] .public-content-main-grid .mud-grid-item:first-child {
        flex: 0 0 38%;
        max-width: 38%;
    }

    [b-lnwn7b2z9o] .public-content-main-grid .mud-grid-item:last-child {
        flex: 0 0 62%;
        max-width: 62%;
    }
}
/* /Components/Pages/Admin/AdminPublicSiteContent.razor.rz.scp.css */
.public-admin[b-dgiqqz1p9f]{--pa-primary:#4f46e5;--pa-primary2:#7c3aed;--pa-text:#162033;--pa-muted:#64748b;--pa-border:#e2e8f0;width:min(100%,1480px);margin:0 auto;padding:22px 24px 48px;color:var(--pa-text);direction:rtl}.public-admin *[b-dgiqqz1p9f]{box-sizing:border-box}.public-admin__hero[b-dgiqqz1p9f]{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center;padding:25px 28px;border:1px solid rgba(99,102,241,.16);border-radius:22px;background:radial-gradient(circle at 88% 0,rgba(99,102,241,.12),transparent 28%),linear-gradient(135deg,#fff,#f7f8ff);box-shadow:0 14px 38px rgba(15,23,42,.07)}.public-admin__kicker[b-dgiqqz1p9f]{color:#5b5ce2;font-size:.7rem;font-weight:800;letter-spacing:.08em}.public-admin__hero h1[b-dgiqqz1p9f]{margin:7px 0 6px;font-size:clamp(1.55rem,2vw,2rem);font-weight:800}.public-admin__hero p[b-dgiqqz1p9f]{max-width:880px;margin:0;color:var(--pa-muted);font-size:.86rem;line-height:1.9}.public-admin__actions[b-dgiqqz1p9f]{display:flex;gap:9px;flex-wrap:wrap}.public-admin button[b-dgiqqz1p9f],.public-admin__actions a[b-dgiqqz1p9f],.public-admin__upload-button[b-dgiqqz1p9f]{min-height:40px;padding:0 15px;border:1px solid #d9e0eb;border-radius:10px;background:#fff;color:#334155;font:inherit;font-size:.78rem;font-weight:700;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;text-decoration:none;transition:.18s ease}.public-admin button:hover[b-dgiqqz1p9f],.public-admin__actions a:hover[b-dgiqqz1p9f],.public-admin__upload-button:hover[b-dgiqqz1p9f]{transform:translateY(-1px);border-color:#a5b4fc;box-shadow:0 8px 20px rgba(15,23,42,.07)}.public-admin button.primary[b-dgiqqz1p9f]{border-color:transparent;color:#fff;background:linear-gradient(135deg,var(--pa-primary),var(--pa-primary2));box-shadow:0 10px 24px rgba(79,70,229,.22)}.public-admin button.danger[b-dgiqqz1p9f]{min-height:32px;padding:0 10px;color:#b91c1c;border-color:#fecaca;background:#fff7f7}.public-admin button:disabled[b-dgiqqz1p9f]{opacity:.55;cursor:not-allowed;transform:none}.public-admin__message[b-dgiqqz1p9f]{margin-top:13px;padding:11px 14px;border-radius:11px;font-size:.78rem;font-weight:700}.public-admin__message.success[b-dgiqqz1p9f]{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.public-admin__message.error[b-dgiqqz1p9f]{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}.public-admin__quick-grid[b-dgiqqz1p9f]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:15px 0 18px}.public-admin__quick-grid a[b-dgiqqz1p9f]{position:relative;padding:15px 16px;border:1px solid var(--pa-border);border-radius:15px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 7px 20px rgba(15,23,42,.035)}.public-admin__quick-grid a[b-dgiqqz1p9f]:after{content:"←";position:absolute;left:14px;top:15px;color:#818cf8;font-weight:800}.public-admin__quick-grid b[b-dgiqqz1p9f],.public-admin__quick-grid span[b-dgiqqz1p9f]{display:block;padding-left:22px}.public-admin__quick-grid b[b-dgiqqz1p9f]{margin-bottom:4px;font-size:.82rem}.public-admin__quick-grid span[b-dgiqqz1p9f]{color:var(--pa-muted);font-size:.69rem;line-height:1.7}.public-admin__workspace[b-dgiqqz1p9f]{display:grid;grid-template-columns:180px minmax(0,1fr);gap:15px;align-items:start}.public-admin__side-nav[b-dgiqqz1p9f]{position:sticky;top:88px;display:grid;gap:4px;padding:12px;border:1px solid var(--pa-border);border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.04)}.public-admin__side-nav strong[b-dgiqqz1p9f]{padding:7px 9px 10px;font-size:.76rem}.public-admin__side-nav a[b-dgiqqz1p9f]{padding:9px 10px;border-radius:9px;color:#64748b;text-decoration:none;font-size:.72rem;font-weight:700}.public-admin__side-nav a:hover[b-dgiqqz1p9f]{color:#4338ca;background:#eef2ff}.public-admin__content[b-dgiqqz1p9f]{min-width:0}.public-admin__card[b-dgiqqz1p9f]{margin:0 0 12px;overflow:hidden;border:1px solid var(--pa-border);border-radius:17px;background:#fff;box-shadow:0 7px 24px rgba(15,23,42,.04)}.public-admin__card>summary[b-dgiqqz1p9f]{list-style:none}.public-admin__card>summary[b-dgiqqz1p9f]::-webkit-details-marker{display:none}.public-admin__section-head[b-dgiqqz1p9f]{min-height:68px;padding:14px 17px;display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;background:linear-gradient(180deg,#fbfcff,#fff)}.public-admin__section-head>div[b-dgiqqz1p9f]{display:flex;align-items:center;gap:10px}.public-admin__section-head>div>span[b-dgiqqz1p9f]{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border-radius:10px;color:#4f46e5;background:#eef2ff;font-size:.66rem;font-weight:900}.public-admin__section-head h2[b-dgiqqz1p9f]{margin:0;font-size:.96rem;font-weight:800}.public-admin__section-head p[b-dgiqqz1p9f]{margin:2px 0 0;color:var(--pa-muted);font-size:.68rem;line-height:1.6}.public-admin__section-head>i[b-dgiqqz1p9f]{font-style:normal;color:#94a3b8;font-size:1rem;transition:.18s}.public-admin__card[open]>.public-admin__section-head[b-dgiqqz1p9f]{border-bottom:1px solid #edf1f5}.public-admin__card[open]>.public-admin__section-head>i[b-dgiqqz1p9f]{transform:rotate(180deg)}.public-admin__form-grid[b-dgiqqz1p9f]{display:grid;gap:12px;padding:16px}.public-admin__form-grid.two[b-dgiqqz1p9f]{grid-template-columns:repeat(2,minmax(0,1fr))}.public-admin__form-grid.compact[b-dgiqqz1p9f]{padding:0;gap:10px}.public-admin__form-grid label[b-dgiqqz1p9f]{display:grid;gap:5px;min-width:0}.public-admin__form-grid label>span[b-dgiqqz1p9f]{color:#475569;font-size:.69rem;font-weight:700}.public-admin__form-grid input[b-dgiqqz1p9f],.public-admin__form-grid textarea[b-dgiqqz1p9f]{width:100%;min-width:0;min-height:41px;padding:8px 10px;border:1px solid #dce3ee;border-radius:9px;outline:0;background:#fbfcff;color:#0f172a;font:inherit;font-size:.77rem;line-height:1.7}.public-admin__form-grid textarea[b-dgiqqz1p9f]{min-height:78px;resize:vertical}.public-admin__form-grid input:focus[b-dgiqqz1p9f],.public-admin__form-grid textarea:focus[b-dgiqqz1p9f]{border-color:#818cf8;background:#fff;box-shadow:0 0 0 3px rgba(99,102,241,.08)}.public-admin__form-grid .wide[b-dgiqqz1p9f]{grid-column:1/-1}.public-admin .ltr[b-dgiqqz1p9f]{direction:ltr;text-align:left}.public-admin__upload[b-dgiqqz1p9f]{grid-column:1/-1;display:grid;grid-template-columns:140px minmax(0,1fr);gap:14px;align-items:center;padding:12px;border:1px dashed #cfd7e6;border-radius:13px;background:#f9fbff}.public-admin__upload--compact[b-dgiqqz1p9f]{grid-template-columns:115px minmax(0,1fr);margin-bottom:12px}.public-admin__upload-preview[b-dgiqqz1p9f]{height:92px;display:grid;place-items:center;overflow:hidden;border:1px solid #e1e7f0;border-radius:10px;background:#fff;color:#94a3b8;font-size:.67rem}.public-admin__upload-preview img[b-dgiqqz1p9f]{width:100%;height:100%;object-fit:cover}.public-admin__upload-body[b-dgiqqz1p9f]{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.public-admin__upload-body strong[b-dgiqqz1p9f]{width:100%;font-size:.79rem}.public-admin__upload-body small[b-dgiqqz1p9f]{width:100%;color:#64748b;font-size:.65rem}.public-admin__upload-button[b-dgiqqz1p9f]{position:relative;overflow:hidden;color:#4338ca;border-color:#c7d2fe;background:#eef2ff}.public-admin__upload-button input[b-dgiqqz1p9f]{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important}.public-admin .link-danger[b-dgiqqz1p9f]{min-height:36px;color:#b91c1c;border-color:transparent;background:transparent;box-shadow:none}.public-admin__subsection[b-dgiqqz1p9f]{margin:0 16px;padding:17px 0;border-top:1px dashed #dde4ee}.public-admin__subsection:first-of-type[b-dgiqqz1p9f]{border-top:0}.public-admin__subsection>h3[b-dgiqqz1p9f]{margin:0 0 12px;font-size:.84rem;font-weight:800}.public-admin__subsection>.public-admin__form-grid[b-dgiqqz1p9f]{padding:0 0 13px}.public-admin__editor-list[b-dgiqqz1p9f]{display:grid;gap:9px}.public-admin__editor-list--pad[b-dgiqqz1p9f]{padding:14px}.public-admin__editor-list>button[b-dgiqqz1p9f]{justify-self:start;color:#4338ca;border-color:#c7d2fe;background:#f7f7ff}.public-admin__editor-item[b-dgiqqz1p9f]{padding:13px;border:1px solid #e5eaf2;border-radius:13px;background:#fbfcff}.public-admin__editor-title[b-dgiqqz1p9f]{display:flex;align-items:center;justify-content:space-between;gap:11px;margin-bottom:11px}.public-admin__editor-title>strong[b-dgiqqz1p9f]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.79rem}.inline-actions[b-dgiqqz1p9f]{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.switch[b-dgiqqz1p9f]{display:inline-flex!important;align-items:center!important;gap:6px!important;color:#64748b!important;font-size:.66rem!important;font-weight:700!important;white-space:nowrap}.switch input[b-dgiqqz1p9f]{display:none!important}.switch>span[b-dgiqqz1p9f]{position:relative;width:32px;height:18px;flex:0 0 32px;border-radius:999px;background:#cbd5e1;transition:.18s}.switch>span[b-dgiqqz1p9f]:after{content:"";position:absolute;width:14px;height:14px;right:2px;top:2px;border-radius:50%;background:#fff;transition:.18s}.switch input:checked+span[b-dgiqqz1p9f]{background:linear-gradient(90deg,#4f46e5,#7c3aed)}.switch input:checked+span[b-dgiqqz1p9f]:after{right:16px}.public-admin__loading[b-dgiqqz1p9f],.public-admin__empty[b-dgiqqz1p9f]{padding:28px;text-align:center;color:#64748b}.public-admin__table-wrap[b-dgiqqz1p9f]{overflow:auto}.public-admin table[b-dgiqqz1p9f]{width:100%;min-width:900px;border-collapse:collapse}.public-admin th[b-dgiqqz1p9f],.public-admin td[b-dgiqqz1p9f]{padding:10px 11px;text-align:right;border-bottom:1px solid #edf1f5;vertical-align:middle}.public-admin th[b-dgiqqz1p9f]{background:#f8fafc;color:#64748b;font-size:.68rem}.public-admin td[b-dgiqqz1p9f]{font-size:.73rem;line-height:1.7}@media(max-width:1100px){.public-admin[b-dgiqqz1p9f]{padding:18px}.public-admin__hero[b-dgiqqz1p9f]{grid-template-columns:1fr}.public-admin__actions[b-dgiqqz1p9f]{justify-content:flex-start}.public-admin__quick-grid[b-dgiqqz1p9f]{grid-template-columns:repeat(2,minmax(0,1fr))}.public-admin__workspace[b-dgiqqz1p9f]{grid-template-columns:1fr}.public-admin__side-nav[b-dgiqqz1p9f]{position:static;display:flex;overflow:auto;white-space:nowrap}.public-admin__side-nav strong[b-dgiqqz1p9f]{display:none}}@media(max-width:720px){.public-admin[b-dgiqqz1p9f]{padding:11px}.public-admin__hero[b-dgiqqz1p9f]{padding:19px 17px;border-radius:16px}.public-admin__hero h1[b-dgiqqz1p9f]{font-size:1.35rem}.public-admin__actions[b-dgiqqz1p9f]{display:grid;grid-template-columns:1fr 1fr;width:100%}.public-admin__quick-grid[b-dgiqqz1p9f],.public-admin__form-grid.two[b-dgiqqz1p9f]{grid-template-columns:1fr}.public-admin__form-grid .wide[b-dgiqqz1p9f]{grid-column:auto}.public-admin__upload[b-dgiqqz1p9f]{grid-template-columns:1fr}.public-admin__upload-preview[b-dgiqqz1p9f]{height:150px}.public-admin__section-head[b-dgiqqz1p9f]{align-items:flex-start}.public-admin__section-head p[b-dgiqqz1p9f]{display:none}.public-admin__editor-title[b-dgiqqz1p9f]{align-items:stretch;flex-direction:column}.inline-actions[b-dgiqqz1p9f]{justify-content:flex-start}}@media(max-width:460px){.public-admin__actions[b-dgiqqz1p9f]{grid-template-columns:1fr}}
/* /Components/Pages/Admin/AdminPublicWebmaster.razor.rz.scp.css */
.webmaster-admin[b-pq2ecblcgx]{--w-primary:#4f46e5;--w-primary2:#7c3aed;--w-text:#172033;--w-muted:#64748b;--w-border:#e2e8f0;width:min(100%,1460px);margin:0 auto;padding:22px 24px 50px;color:var(--w-text);direction:rtl}.webmaster-admin *[b-pq2ecblcgx]{box-sizing:border-box}.webmaster-admin__hero[b-pq2ecblcgx]{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center;padding:26px 28px;border:1px solid rgba(99,102,241,.16);border-radius:22px;background:radial-gradient(circle at 88% 0,rgba(99,102,241,.13),transparent 29%),linear-gradient(135deg,#fff,#f7f8ff);box-shadow:0 14px 38px rgba(15,23,42,.07)}.webmaster-admin__hero>div:first-child>span[b-pq2ecblcgx]{color:#5b5ce2;font-size:.7rem;font-weight:850;letter-spacing:.08em}.webmaster-admin__hero h1[b-pq2ecblcgx]{margin:7px 0 6px;font-size:clamp(1.55rem,2vw,2rem)}.webmaster-admin__hero p[b-pq2ecblcgx]{max-width:850px;margin:0;color:var(--w-muted);font-size:.85rem;line-height:1.9}.webmaster-admin__actions[b-pq2ecblcgx]{display:flex;gap:9px;flex-wrap:wrap}.webmaster-admin button[b-pq2ecblcgx],.webmaster-admin__actions a[b-pq2ecblcgx],.webmaster-admin__upload-button[b-pq2ecblcgx]{min-height:40px;padding:0 15px;border:1px solid #d9e0eb;border-radius:10px;background:#fff;color:#334155;font:inherit;font-size:.77rem;font-weight:750;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;text-decoration:none;transition:.18s ease}.webmaster-admin button:hover[b-pq2ecblcgx],.webmaster-admin__actions a:hover[b-pq2ecblcgx],.webmaster-admin__upload-button:hover[b-pq2ecblcgx]{transform:translateY(-1px);border-color:#a5b4fc;box-shadow:0 8px 20px rgba(15,23,42,.07)}.webmaster-admin button.primary[b-pq2ecblcgx]{border-color:transparent;color:#fff;background:linear-gradient(135deg,var(--w-primary),var(--w-primary2));box-shadow:0 10px 24px rgba(79,70,229,.22)}.webmaster-admin__message[b-pq2ecblcgx]{margin-top:13px;padding:11px 14px;border-radius:11px;font-size:.78rem;font-weight:700}.webmaster-admin__message.success[b-pq2ecblcgx]{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.webmaster-admin__message.error[b-pq2ecblcgx]{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}.webmaster-admin__loading[b-pq2ecblcgx]{margin-top:15px;padding:30px;text-align:center;color:#64748b;border:1px dashed #cbd5e1;border-radius:15px;background:#fff}.webmaster-admin__status-grid[b-pq2ecblcgx]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:15px 0}.webmaster-admin__status-grid>a[b-pq2ecblcgx],.webmaster-admin__status-grid>div[b-pq2ecblcgx]{position:relative;min-height:94px;padding:15px;border:1px solid var(--w-border);border-radius:14px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 6px 18px rgba(15,23,42,.035)}.webmaster-admin__status-grid b[b-pq2ecblcgx],.webmaster-admin__status-grid span[b-pq2ecblcgx],.webmaster-admin__status-grid i[b-pq2ecblcgx]{display:block}.webmaster-admin__status-grid b[b-pq2ecblcgx]{font-size:.8rem}.webmaster-admin__status-grid span[b-pq2ecblcgx]{margin-top:5px;color:#64748b;font-size:.66rem;direction:ltr;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.webmaster-admin__status-grid i[b-pq2ecblcgx]{position:absolute;left:14px;bottom:13px;color:#6366f1;font-size:.64rem;font-style:normal}.webmaster-admin__status-grid i.on[b-pq2ecblcgx],.webmaster-admin__status-grid i.off[b-pq2ecblcgx]{width:9px;height:9px;left:14px;bottom:15px;border-radius:50%;font-size:0}.webmaster-admin__status-grid i.on[b-pq2ecblcgx]{background:#10b981;box-shadow:0 0 0 4px rgba(16,185,129,.1)}.webmaster-admin__status-grid i.off[b-pq2ecblcgx]{background:#cbd5e1}.webmaster-admin__layout[b-pq2ecblcgx]{display:grid;grid-template-columns:180px minmax(0,1fr);gap:14px;align-items:start}.webmaster-admin__nav[b-pq2ecblcgx]{position:sticky;top:88px;display:grid;gap:4px;padding:12px;border:1px solid var(--w-border);border-radius:15px;background:#fff;box-shadow:0 7px 22px rgba(15,23,42,.04)}.webmaster-admin__nav strong[b-pq2ecblcgx]{padding:7px 9px 10px;font-size:.75rem}.webmaster-admin__nav a[b-pq2ecblcgx]{padding:9px 10px;border-radius:9px;color:#64748b;text-decoration:none;font-size:.7rem;font-weight:700}.webmaster-admin__nav a:hover[b-pq2ecblcgx]{color:#4338ca;background:#eef2ff}.webmaster-admin__layout main[b-pq2ecblcgx]{min-width:0}.webmaster-admin__card[b-pq2ecblcgx]{margin-bottom:12px;overflow:hidden;border:1px solid var(--w-border);border-radius:16px;background:#fff;box-shadow:0 7px 23px rgba(15,23,42,.04)}.webmaster-admin__card-head[b-pq2ecblcgx]{min-height:68px;padding:14px 17px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #edf1f5;background:linear-gradient(180deg,#fbfcff,#fff)}.webmaster-admin__card-head>span[b-pq2ecblcgx]{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border-radius:10px;color:#4f46e5;background:#eef2ff;font-size:.65rem;font-weight:900}.webmaster-admin__card-head h2[b-pq2ecblcgx]{margin:0;font-size:.95rem}.webmaster-admin__card-head p[b-pq2ecblcgx]{margin:2px 0 0;color:#64748b;font-size:.67rem}.webmaster-admin__form[b-pq2ecblcgx]{display:grid;gap:12px;padding:16px}.webmaster-admin__form.two[b-pq2ecblcgx]{grid-template-columns:repeat(2,minmax(0,1fr))}.webmaster-admin__form label[b-pq2ecblcgx],.webmaster-admin .field[b-pq2ecblcgx]{display:grid;gap:5px}.webmaster-admin__form label>span[b-pq2ecblcgx],.webmaster-admin .field>span[b-pq2ecblcgx]{color:#475569;font-size:.69rem;font-weight:700}.webmaster-admin__form input[b-pq2ecblcgx],.webmaster-admin__form textarea[b-pq2ecblcgx],.webmaster-admin__form select[b-pq2ecblcgx],.webmaster-admin .field input[b-pq2ecblcgx]{width:100%;min-width:0;min-height:41px;padding:8px 10px;border:1px solid #dce3ee;border-radius:9px;outline:0;background:#fbfcff;color:#0f172a;font:inherit;font-size:.76rem;line-height:1.7}.webmaster-admin__form textarea[b-pq2ecblcgx]{resize:vertical}.webmaster-admin__form input:focus[b-pq2ecblcgx],.webmaster-admin__form textarea:focus[b-pq2ecblcgx],.webmaster-admin__form select:focus[b-pq2ecblcgx],.webmaster-admin .field input:focus[b-pq2ecblcgx]{border-color:#818cf8;background:#fff;box-shadow:0 0 0 3px rgba(99,102,241,.08)}.webmaster-admin__form small[b-pq2ecblcgx],.webmaster-admin__trust-card small[b-pq2ecblcgx]{color:#94a3b8;font-size:.62rem;line-height:1.6}.webmaster-admin__form .wide[b-pq2ecblcgx]{grid-column:1/-1}.webmaster-admin .ltr[b-pq2ecblcgx]{direction:ltr;text-align:left}.webmaster-admin__trust-grid[b-pq2ecblcgx]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding:16px}.webmaster-admin__trust-card[b-pq2ecblcgx]{padding:14px;border:1px solid #e5eaf2;border-radius:13px;background:#fbfcff}.webmaster-admin__trust-card>strong[b-pq2ecblcgx]{display:block;margin-bottom:11px;font-size:.8rem}.webmaster-admin__trust-head[b-pq2ecblcgx]{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.webmaster-admin__trust-head strong[b-pq2ecblcgx]{font-size:.8rem}.webmaster-admin__upload[b-pq2ecblcgx]{display:grid;grid-template-columns:105px minmax(0,1fr);gap:12px;align-items:center;margin-bottom:11px;padding:10px;border:1px dashed #cfd7e6;border-radius:11px;background:#f9fbff}.webmaster-admin__preview[b-pq2ecblcgx]{height:78px;display:grid;place-items:center;overflow:hidden;border:1px solid #e1e7f0;border-radius:9px;background:#fff;color:#94a3b8;font-size:.64rem}.webmaster-admin__preview.og[b-pq2ecblcgx]{height:92px}.webmaster-admin__preview img[b-pq2ecblcgx]{width:100%;height:100%;object-fit:contain}.webmaster-admin__preview.og img[b-pq2ecblcgx]{object-fit:cover}.webmaster-admin__upload>div:last-child[b-pq2ecblcgx]{display:flex;align-items:flex-start;gap:6px;flex-direction:column}.webmaster-admin__upload-button[b-pq2ecblcgx]{position:relative;overflow:hidden;color:#4338ca;border-color:#c7d2fe;background:#eef2ff}.webmaster-admin__upload-button input[b-pq2ecblcgx]{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important}.webmaster-switch[b-pq2ecblcgx]{display:inline-flex!important;align-items:center!important;gap:6px!important;color:#64748b!important;font-size:.65rem!important;font-weight:700!important}.webmaster-switch input[b-pq2ecblcgx]{display:none!important}.webmaster-switch>span[b-pq2ecblcgx]{position:relative;width:32px;height:18px;flex:0 0 32px;border-radius:999px;background:#cbd5e1;transition:.18s}.webmaster-switch>span[b-pq2ecblcgx]:after{content:"";position:absolute;width:14px;height:14px;right:2px;top:2px;border-radius:50%;background:#fff;transition:.18s}.webmaster-switch input:checked+span[b-pq2ecblcgx]{background:linear-gradient(90deg,#4f46e5,#7c3aed)}.webmaster-switch input:checked+span[b-pq2ecblcgx]:after{right:16px}@media(max-width:1100px){.webmaster-admin[b-pq2ecblcgx]{padding:18px}.webmaster-admin__hero[b-pq2ecblcgx]{grid-template-columns:1fr}.webmaster-admin__status-grid[b-pq2ecblcgx]{grid-template-columns:repeat(2,minmax(0,1fr))}.webmaster-admin__layout[b-pq2ecblcgx]{grid-template-columns:1fr}.webmaster-admin__nav[b-pq2ecblcgx]{position:static;display:flex;overflow:auto;white-space:nowrap}.webmaster-admin__nav strong[b-pq2ecblcgx]{display:none}}@media(max-width:720px){.webmaster-admin[b-pq2ecblcgx]{padding:11px}.webmaster-admin__hero[b-pq2ecblcgx]{padding:19px 17px;border-radius:16px}.webmaster-admin__actions[b-pq2ecblcgx]{display:grid;grid-template-columns:1fr 1fr}.webmaster-admin__status-grid[b-pq2ecblcgx],.webmaster-admin__form.two[b-pq2ecblcgx],.webmaster-admin__trust-grid[b-pq2ecblcgx]{grid-template-columns:1fr}.webmaster-admin__form .wide[b-pq2ecblcgx]{grid-column:auto}.webmaster-admin__upload[b-pq2ecblcgx]{grid-template-columns:1fr}.webmaster-admin__preview[b-pq2ecblcgx]{height:130px}}@media(max-width:460px){.webmaster-admin__actions[b-pq2ecblcgx]{grid-template-columns:1fr}}
/* /Components/Pages/Admin/AdminSubscriptions.razor.rz.scp.css */
.subscription-admin-page[b-n59buyuf18]{
    padding:22px;
    display:grid;
    gap:20px;
}

.kpi-grid[b-n59buyuf18]{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
}

.kpi-card[b-n59buyuf18],
.subscription-list-card[b-n59buyuf18]{
    background:#fff;
    border:1px solid #dbe4f0;
    border-radius:22px;
    padding:22px;
    box-shadow:0 16px 38px rgba(15,23,42,.07);
}

.kpi-card span[b-n59buyuf18]{
    color:#64748b;
    font-weight:800;
}

.kpi-card strong[b-n59buyuf18]{
    display:block;
    margin-top:10px;
    font-size:32px;
    color:#0f172a;
}

.toolbar[b-n59buyuf18]{
    margin-bottom:18px;
}

.search-input[b-n59buyuf18]{
    width:100%;
    height:46px;
    border-radius:14px;
    border:1px solid #dbe4f0;
    padding:0 14px;
    font:inherit;
}

.table-wrap[b-n59buyuf18]{
    overflow:auto;
}

table[b-n59buyuf18]{
    width:100%;
    min-width:900px;
    border-collapse:collapse;
}

th[b-n59buyuf18],td[b-n59buyuf18]{
    padding:14px;
    text-align:right;
    border-bottom:1px solid #e2e8f0;
}

th[b-n59buyuf18]{
    background:#f8fafc;
}

button[b-n59buyuf18]{
    border:0;
    background:#2563eb;
    color:white;
    padding:8px 14px;
    border-radius:10px;
    cursor:pointer;
    font-weight:800;
}

.status[b-n59buyuf18]{
    padding:5px 12px;
    border-radius:999px;
    font-weight:800;
}

.status.active[b-n59buyuf18]{
    background:#dcfce7;
    color:#166534;
}

.status.expired[b-n59buyuf18]{
    background:#fee2e2;
    color:#991b1b;
}

@media(max-width:760px){
    .kpi-grid[b-n59buyuf18]{
        grid-template-columns:1fr;
    }

    .subscription-admin-page[b-n59buyuf18]{
        padding:12px;
    }
}
/* /Components/Pages/Admin/AdminTenantSubscription.razor.rz.scp.css */
.subscription-page[b-o2kry08usy]{padding:24px;display:grid;gap:20px;background:#f8fafc;min-height:100%}.page-header[b-o2kry08usy],.current-card[b-o2kry08usy],.renew-card[b-o2kry08usy],.history-card[b-o2kry08usy]{background:#fff;border:1px solid #e2e8f0;border-radius:20px;box-shadow:0 12px 30px rgba(15,23,42,.06)}.page-header[b-o2kry08usy]{padding:24px;display:flex;align-items:center;justify-content:space-between;gap:18px}.page-header span[b-o2kry08usy],.section-title span[b-o2kry08usy]{font-size:12px;font-weight:800;letter-spacing:.08em;color:#2563eb}.page-header h1[b-o2kry08usy],.section-title h2[b-o2kry08usy]{margin:6px 0;color:#0f172a}.page-header p[b-o2kry08usy],.section-title small[b-o2kry08usy]{color:#64748b}.back[b-o2kry08usy],.renew[b-o2kry08usy]{border:0;border-radius:12px;padding:12px 18px;font:inherit;font-weight:800;cursor:pointer}.back[b-o2kry08usy]{background:#eef2ff;color:#3730a3}.renew[b-o2kry08usy]{background:#2563eb;color:#fff;min-width:220px}.renew:disabled[b-o2kry08usy]{opacity:.6;cursor:not-allowed}.message[b-o2kry08usy],.loading[b-o2kry08usy]{padding:15px 18px;border-radius:14px}.message.error[b-o2kry08usy]{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}.message.success[b-o2kry08usy]{background:#f0fdf4;color:#166534;border:1px solid #bbf7d0}.loading[b-o2kry08usy]{background:#fff;border:1px dashed #cbd5e1;color:#475569}.current-card[b-o2kry08usy]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:20px}.current-card>div[b-o2kry08usy]{padding:15px;border-radius:14px;background:#f8fafc}.current-card small[b-o2kry08usy]{display:block;color:#64748b;margin-bottom:8px}.current-card strong[b-o2kry08usy]{color:#0f172a}.current-card .active[b-o2kry08usy]{color:#15803d}.current-card .inactive[b-o2kry08usy]{color:#b91c1c}.renew-card[b-o2kry08usy],.history-card[b-o2kry08usy]{padding:22px;display:grid;gap:20px}.section-title[b-o2kry08usy]{display:flex;align-items:end;justify-content:space-between;gap:16px}.form-grid[b-o2kry08usy]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.form-grid label[b-o2kry08usy]{display:grid;gap:8px;font-weight:700;color:#334155}.form-grid select[b-o2kry08usy],.form-grid input[b-o2kry08usy]{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:12px;padding:12px 13px;background:#fff;font:inherit;outline:none}.form-grid select:focus[b-o2kry08usy],.form-grid input:focus[b-o2kry08usy]{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.1)}.summary[b-o2kry08usy]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.summary>div[b-o2kry08usy]{display:flex;justify-content:space-between;align-items:center;padding:15px;border-radius:14px;background:#f8fafc;color:#475569}.summary strong[b-o2kry08usy]{color:#0f172a}.summary .total[b-o2kry08usy]{background:#eff6ff;border:1px solid #bfdbfe}.summary .total strong[b-o2kry08usy]{color:#1d4ed8;font-size:18px}.history-table-wrap[b-o2kry08usy]{overflow:auto;border:1px solid #e2e8f0;border-radius:14px}.history-table[b-o2kry08usy]{width:100%;min-width:1050px;border-collapse:collapse}.history-table th[b-o2kry08usy],.history-table td[b-o2kry08usy]{padding:14px 16px;text-align:right;border-bottom:1px solid #e2e8f0;white-space:nowrap}.history-table th[b-o2kry08usy]{background:#f8fafc;color:#475569;font-size:13px}.history-table td[b-o2kry08usy]{color:#334155}.history-table tbody tr:last-child td[b-o2kry08usy]{border-bottom:0}.history-table tbody tr:hover[b-o2kry08usy]{background:#f8fafc}.empty-history[b-o2kry08usy]{text-align:center!important;color:#64748b!important;padding:28px!important}.status-badge[b-o2kry08usy]{display:inline-flex;align-items:center;justify-content:center;min-width:76px;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800}.status-badge.active[b-o2kry08usy]{background:#dcfce7;color:#166534}.status-badge.expired[b-o2kry08usy]{background:#fee2e2;color:#991b1b}.status-badge.renewed[b-o2kry08usy]{background:#e0e7ff;color:#3730a3}.status-badge.suspended[b-o2kry08usy]{background:#fef3c7;color:#92400e}.status-badge.cancelled[b-o2kry08usy],.status-badge.inactive[b-o2kry08usy]{background:#e2e8f0;color:#475569}@media(max-width:1100px){.current-card[b-o2kry08usy]{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.subscription-page[b-o2kry08usy]{padding:14px}.page-header[b-o2kry08usy],.section-title[b-o2kry08usy]{align-items:stretch;flex-direction:column}.current-card[b-o2kry08usy],.form-grid[b-o2kry08usy],.summary[b-o2kry08usy]{grid-template-columns:1fr}.renew[b-o2kry08usy]{width:100%}.renew-card[b-o2kry08usy],.history-card[b-o2kry08usy]{padding:16px}}
/* /Components/Pages/Admin/DeletedInvoices.razor.rz.scp.css */

.deleted-invoices-page[b-dv9571s58u] {
    min-height: 100vh;
    padding: 24px;
    background: #eef4fb;
    color: #0f172a;
}

.deleted-hero[b-dv9571s58u],
.deleted-filters[b-dv9571s58u],
.deleted-card[b-dv9571s58u],
.deleted-state[b-dv9571s58u] {
    border: 1px solid #dbe4f0;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(15,23,42,.07);
}

.deleted-hero[b-dv9571s58u] {
    min-height: 150px;
    padding: 26px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.deleted-hero span[b-dv9571s58u] {
    color: var(--erp-primary, #2563eb);
    font-weight: 950;
}

.deleted-hero h1[b-dv9571s58u] {
    margin: 10px 0 8px;
    font-size: 32px;
    font-weight: 1000;
}

.deleted-hero p[b-dv9571s58u] {
    margin: 0;
    color: #64748b;
    font-weight: 800;
}

.deleted-hero button[b-dv9571s58u],
.deleted-table-wrap button[b-dv9571s58u] {
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient(135deg,var(--erp-primary, #2563eb),var(--erp-accent, #7c3aed));
    font-family: inherit;
    font-weight: 950;
    cursor: pointer;
}

.deleted-filters[b-dv9571s58u] {
    padding: 16px;
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 12px;
}

.deleted-filters input[b-dv9571s58u],
.deleted-filters select[b-dv9571s58u] {
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid #dbe4f0;
    border-radius: 15px;
    font-family: inherit;
    font-weight: 850;
    outline: none;
}

.deleted-card[b-dv9571s58u] {
    padding: 22px;
}

.deleted-table-wrap[b-dv9571s58u] {
    overflow: auto;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
}

.deleted-table-wrap table[b-dv9571s58u] {
    width: 100%;
    min-width: 1300px;
    border-collapse: collapse;
}

.deleted-table-wrap th[b-dv9571s58u],
.deleted-table-wrap td[b-dv9571s58u] {
    padding: 14px;
    border-bottom: 1px solid #edf2f7;
    text-align: right;
    font-size: 12px;
}

.deleted-table-wrap th[b-dv9571s58u] {
    background: #f1f5f9;
    font-weight: 1000;
}

.deleted-table-wrap td[b-dv9571s58u] {
    font-weight: 800;
}

.deleted-type[b-dv9571s58u] {
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 1000;
}

.deleted-type.sale[b-dv9571s58u] {
    color: #be123c;
    background: #fff1f2;
}

.deleted-type.purchase[b-dv9571s58u] {
    color: #1d4ed8;
    background: #eff6ff;
}

.money[b-dv9571s58u] {
    color: #047857;
    font-weight: 1000 !important;
}

.reason[b-dv9571s58u] {
    min-width: 260px;
    white-space: normal;
    line-height: 1.8;
}

.deleted-state[b-dv9571s58u] {
    padding: 28px;
    font-weight: 950;
}

.deleted-state.error[b-dv9571s58u] {
    color: #be123c;
    background: #fff1f2;
}

@media (max-width: 720px) {
    .deleted-invoices-page[b-dv9571s58u] { padding: 12px; }
    .deleted-hero[b-dv9571s58u] { align-items: stretch; flex-direction: column; }
    .deleted-filters[b-dv9571s58u] { grid-template-columns: 1fr; }
}
/* /Components/Pages/AdvanceSignature.razor.rz.scp.css */
.advance-sign-page[b-pkmyy1z20a]{min-height:100vh;background:#f1f5f9;padding:24px;display:grid;place-items:center;font-family:Vazirmatn,Tahoma,sans-serif}.advance-sign-card[b-pkmyy1z20a]{width:min(680px,100%);background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:28px;box-shadow:0 20px 60px rgba(15,23,42,.12)}.brand[b-pkmyy1z20a]{color:var(--erp-primary, #4f46e5);font-weight:900;margin-bottom:16px}.advance-sign-card h1[b-pkmyy1z20a]{margin:0 0 22px;color:#0f172a}.details[b-pkmyy1z20a]{display:grid;grid-template-columns:1fr 1fr;gap:12px}.details div[b-pkmyy1z20a]{padding:14px;border:1px solid #e2e8f0;border-radius:14px}.details span[b-pkmyy1z20a]{display:block;color:#64748b;font-size:13px;margin-bottom:5px}.description[b-pkmyy1z20a],.alert[b-pkmyy1z20a]{margin:16px 0;padding:14px;border-radius:14px}.description[b-pkmyy1z20a]{background:#f8fafc}.alert.error[b-pkmyy1z20a]{background:#fee2e2;color:#991b1b}.alert.success[b-pkmyy1z20a]{background:#dcfce7;color:#166534}.advance-sign-card label[b-pkmyy1z20a]{display:block;font-weight:800;color:#334155;margin:16px 0 8px}.advance-sign-card input[b-pkmyy1z20a]{width:100%;height:48px;border:1px solid #cbd5e1;border-radius:12px;padding:0 14px;font:inherit}canvas[b-pkmyy1z20a]{width:100%;height:220px;border:2px dashed #94a3b8;border-radius:14px;background:#fff;touch-action:none}.actions[b-pkmyy1z20a]{display:flex;gap:10px;margin-top:18px}.actions button[b-pkmyy1z20a]{border:0;border-radius:12px;padding:12px 20px;font:inherit;font-weight:900;cursor:pointer}.primary[b-pkmyy1z20a]{background:var(--erp-primary, #4f46e5);color:#fff}.secondary[b-pkmyy1z20a]{background:#e2e8f0;color:#334155}@media(max-width:600px){.advance-sign-page[b-pkmyy1z20a]{padding:12px}.advance-sign-card[b-pkmyy1z20a]{padding:18px}.details[b-pkmyy1z20a]{grid-template-columns:1fr}}
/* /Components/Pages/AI/AiAccountingCard.razor.rz.scp.css */
.ai-analysis-card[b-ndk5rwkwrf] {
    padding: 24px;
    border-radius: 24px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
    transition: 0.25s ease;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.ai-analysis-card:hover[b-ndk5rwkwrf] {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.10);
}

.ai-card-icon[b-ndk5rwkwrf] {
    min-width: 58px;
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: #f5f3ff;
    color: var(--erp-accent, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-card-icon span[b-ndk5rwkwrf] {
    font-size: 24px;
    font-weight: 950;
}

.ai-card-content[b-ndk5rwkwrf] {
    flex: 1;
    min-width: 0;
}

.ai-card-content h3[b-ndk5rwkwrf] {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 950;
}

.ai-card-content p[b-ndk5rwkwrf] {
    margin: 0;
    color: #64748b;
    line-height: 1.9;
    font-size: 14px;
}

.ai-card-action[b-ndk5rwkwrf] {
    height: 38px;
    padding: 0 16px;
    border-radius: 12px;
    border: 0;
    background: #f5f3ff;
    color: var(--erp-accent, #7c3aed);
    font-family: inherit;
    font-weight: 900;
    cursor: pointer;
}
/* /Components/Pages/AI/AiAlertCard.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiAlertCard.razor.css
*/

.ai-alert-card[b-hui6ydkeri] {
    display: grid;
    gap: 14px;
    min-height: 252px;
    padding: 18px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
    color: #0f172a;
}

.ai-alert-card__header[b-hui6ydkeri] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ai-alert-card__icon[b-hui6ydkeri] {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 17px;
    background: #f8fafc;
    font-size: 22px;
}

.ai-alert-card__title[b-hui6ydkeri] {
    min-width: 0;
}

.ai-alert-card__title h3[b-hui6ydkeri] {
    margin: 0;
    color: #0f172a;
    font-size: 16px;
    font-weight: 950;
}

.ai-alert-card__title span[b-hui6ydkeri] {
    display: inline-flex;
    width: fit-content;
    margin-top: 7px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 900;
}

.ai-alert-card__message[b-hui6ydkeri] {
    margin: 0;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.9;
}

.ai-alert-card__recommendation[b-hui6ydkeri] {
    padding: 14px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.ai-alert-card__recommendation strong[b-hui6ydkeri] {
    color: #0f172a;
    font-size: 13px;
    font-weight: 950;
}

.ai-alert-card__recommendation p[b-hui6ydkeri] {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.85;
}

.ai-alert-card__actions[b-hui6ydkeri] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.ai-alert-card__actions button[b-hui6ydkeri] {
    min-height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 14px;
    background: #0f172a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
}

.ai-alert-card__actions button:disabled[b-hui6ydkeri] {
    cursor: default;
    background: #94a3b8;
}

.ai-alert-card__actions span[b-hui6ydkeri] {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

.ai-alert-card.is-critical[b-hui6ydkeri] {
    border-color: rgba(239, 68, 68, 0.34);
}

.ai-alert-card.is-critical .ai-alert-card__icon[b-hui6ydkeri] {
    background: #fef2f2;
}

.ai-alert-card.is-warning[b-hui6ydkeri] {
    border-color: rgba(245, 158, 11, 0.32);
}

.ai-alert-card.is-warning .ai-alert-card__icon[b-hui6ydkeri] {
    background: #fffbeb;
}

.ai-alert-card.is-info[b-hui6ydkeri] {
    border-color: rgba(14, 165, 233, 0.28);
}

.ai-alert-card.is-info .ai-alert-card__icon[b-hui6ydkeri] {
    background: #ecfeff;
}

.ai-alert-card.is-resolved[b-hui6ydkeri] {
    opacity: 0.72;
}

@media (max-width: 720px) {
    .ai-alert-card[b-hui6ydkeri] {
        padding: 16px;
        border-radius: 20px;
    }

    .ai-alert-card__actions[b-hui6ydkeri] {
        align-items: stretch;
        flex-direction: column;
    }

    .ai-alert-card__actions button[b-hui6ydkeri] {
        width: 100%;
    }
}
/* /Components/Pages/AI/AiAlertsCenter.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiAlertsCenter.razor.css
*/

.ai-alerts-center[b-gdh1bddw6g] {
    display: grid;
    gap: 20px;
    padding: 24px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(239, 68, 68, 0.10), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94));
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
    color: #0f172a;
}

.ai-alerts-center__header[b-gdh1bddw6g] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.ai-alerts-center__eyebrow[b-gdh1bddw6g] {
    display: inline-flex;
    width: fit-content;
    padding: 7px 13px;
    border-radius: 999px;
    background: #fef2f2;
    color: #dc2626;
    font-size: 12px;
    font-weight: 950;
}

.ai-alerts-center__header h2[b-gdh1bddw6g] {
    margin: 12px 0 0;
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -0.4px;
}

.ai-alerts-center__header p[b-gdh1bddw6g] {
    max-width: 760px;
    margin: 9px 0 0;
    color: #64748b;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.9;
}

.ai-alerts-center__status[b-gdh1bddw6g] {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    min-width: 145px;
    min-height: 105px;
    padding: 16px;
    border-radius: 22px;
    background: linear-gradient(135deg, #7f1d1d, #991b1b);
    color: #ffffff;
}

.ai-alerts-center__status span[b-gdh1bddw6g] {
    color: #fecaca;
    font-size: 12px;
    font-weight: 850;
}

.ai-alerts-center__status strong[b-gdh1bddw6g] {
    margin-top: 7px;
    font-size: 34px;
    font-weight: 950;
}

.ai-alerts-center__filters[b-gdh1bddw6g] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ai-alerts-center__filter[b-gdh1bddw6g] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #ffffff;
    color: #475569;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.ai-alerts-center__filter.is-active[b-gdh1bddw6g] {
    border-color: #dc2626;
    background: #fef2f2;
    color: #b91c1c;
}

.ai-alerts-center__grid[b-gdh1bddw6g] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ai-alerts-center__footer[b-gdh1bddw6g] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.ai-alerts-center__footer div[b-gdh1bddw6g] {
    display: grid;
    gap: 5px;
}

.ai-alerts-center__footer span[b-gdh1bddw6g] {
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}

.ai-alerts-center__footer strong[b-gdh1bddw6g] {
    color: #0f172a;
    font-size: 13px;
    font-weight: 900;
}

.ai-alerts-center__footer button[b-gdh1bddw6g] {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 15px;
    background: #dc2626;
    color: #ffffff;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(220, 38, 38, 0.18);
}

@media (max-width: 1100px) {
    .ai-alerts-center__grid[b-gdh1bddw6g] {
        grid-template-columns: 1fr;
    }

    .ai-alerts-center__header[b-gdh1bddw6g] {
        flex-direction: column;
    }

    .ai-alerts-center__status[b-gdh1bddw6g] {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .ai-alerts-center[b-gdh1bddw6g] {
        padding: 18px;
        border-radius: 22px;
    }

    .ai-alerts-center__footer[b-gdh1bddw6g] {
        align-items: stretch;
        flex-direction: column;
    }

    .ai-alerts-center__footer button[b-gdh1bddw6g] {
        width: 100%;
    }
}
/* /Components/Pages/AI/AiAlertsPanel.razor.rz.scp.css */
.ai-alerts-panel[b-w3vb65m12h] {
    padding: 24px;
    border-radius: 26px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.06);
}

.ai-panel-header[b-w3vb65m12h] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.ai-panel-header h3[b-w3vb65m12h] {
    margin: 0;
    font-size: 22px;
    font-weight: 950;
}

.ai-panel-header small[b-w3vb65m12h] {
    color: #64748b;
}

.ai-panel-empty[b-w3vb65m12h] {
    min-height: 220px;
    border: 2px dashed #dbe4f0;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-align: center;
}

.ai-panel-empty .mud-icon-root[b-w3vb65m12h] {
    font-size: 64px;
    color: #f59e0b;
    margin-bottom: 14px;
}

.ai-alert-list[b-w3vb65m12h] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ai-alert-row[b-w3vb65m12h] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 17px;
    border-radius: 18px;
    background: #fff7ed;
    color: #c2410c;
    transition: 0.25s ease;
}

.ai-alert-row:hover[b-w3vb65m12h] {
    transform: translateX(-4px);
}

.ai-alert-row .mud-icon-root[b-w3vb65m12h] {
    font-size: 30px;
}

.ai-alert-row strong[b-w3vb65m12h] {
    display: block;
    font-weight: 900;
}

.ai-alert-row small[b-w3vb65m12h] {
    color: #64748b;
}
/* /Components/Pages/AI/AiAlertTimeline.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiAlertTimeline.razor.css
*/

.ai-alert-timeline[b-g06xcc5sh6] {
    display: grid;
    gap: 16px;
    padding: 22px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.065);
}

.ai-alert-timeline__header span[b-g06xcc5sh6] {
    display: inline-flex;
    width: fit-content;
    padding: 7px 13px;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 12px;
    font-weight: 950;
}

.ai-alert-timeline__header h2[b-g06xcc5sh6] {
    margin: 12px 0 0;
    color: #0f172a;
    font-size: 22px;
    font-weight: 950;
}

.ai-alert-timeline__items[b-g06xcc5sh6] {
    position: relative;
    display: grid;
    gap: 12px;
}

.ai-alert-timeline__item[b-g06xcc5sh6] {
    position: relative;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.ai-alert-timeline__item i[b-g06xcc5sh6] {
    display: block;
    width: 12px;
    height: 12px;
    margin-top: 6px;
    border-radius: 999px;
    background: #64748b;
    box-shadow: 0 0 0 5px rgba(100, 116, 139, 0.12);
}

.ai-alert-timeline__item strong[b-g06xcc5sh6] {
    color: #0f172a;
    font-size: 13px;
    font-weight: 950;
}

.ai-alert-timeline__item p[b-g06xcc5sh6] {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.8;
}

.ai-alert-timeline__item small[b-g06xcc5sh6] {
    display: inline-flex;
    margin-top: 8px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 850;
}

.ai-alert-timeline__item.is-warning i[b-g06xcc5sh6] {
    background: #f59e0b;
    box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.14);
}

.ai-alert-timeline__item.is-danger i[b-g06xcc5sh6] {
    background: #ef4444;
    box-shadow: 0 0 0 5px rgba(239, 68, 68, 0.14);
}

.ai-alert-timeline__item.is-success i[b-g06xcc5sh6] {
    background: #10b981;
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.14);
}

.ai-alert-timeline__item.is-info i[b-g06xcc5sh6] {
    background: #38bdf8;
    box-shadow: 0 0 0 5px rgba(56, 189, 248, 0.14);
}
/* /Components/Pages/AI/AiAnalysisCards.razor.rz.scp.css */
.ai-analysis-grid[b-n1yuuyj3n7] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

@media (max-width: 1100px) {
    .ai-analysis-grid[b-n1yuuyj3n7] {
        grid-template-columns: 1fr;
    }
}

.ai-analysis-grid .mud-paper[b-n1yuuyj3n7] {
    min-height: 170px;
}
/* /Components/Pages/AI/AiAnalyticsCenter.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiAnalysisCenter.razor.css
*/

.ai-analysis-center[b-a8xhemdlfs] {
    display: grid;
    gap: 16px;
    padding: 22px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
    color: #0f172a;
}

.ai-analysis-center__header[b-a8xhemdlfs] {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.ai-analysis-center__eyebrow[b-a8xhemdlfs] {
    display: inline-flex;
    width: fit-content;
    padding: 7px 13px;
    border-radius: 999px;
    background: #eef2ff;
    color: var(--erp-primary, #4f46e5);
    font-size: 12px;
    font-weight: 950;
}

.ai-analysis-center h2[b-a8xhemdlfs] {
    margin: 12px 0 0;
    font-size: 22px;
    font-weight: 950;
}

.ai-analysis-center p[b-a8xhemdlfs] {
    margin: 8px 0 0;
    color: #64748b;
    line-height: 1.9;
    font-size: 13px;
    font-weight: 650;
}

.ai-analysis-center__score[b-a8xhemdlfs] {
    display: grid;
    gap: 6px;
    min-width: 120px;
    padding: 14px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.ai-analysis-center__score span[b-a8xhemdlfs] {
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}

.ai-analysis-center__score strong[b-a8xhemdlfs] {
    font-size: 26px;
    font-weight: 950;
}

.ai-analysis-center__grid[b-a8xhemdlfs] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.ai-analysis-center__card[b-a8xhemdlfs] {
    display: grid;
    gap: 10px;
    padding: 16px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.ai-analysis-center__card > span[b-a8xhemdlfs] {
    font-size: 24px;
}

.ai-analysis-center__card h3[b-a8xhemdlfs] {
    margin: 0;
    font-size: 14px;
    font-weight: 950;
}

.ai-analysis-center__card strong[b-a8xhemdlfs] {
    display: inline-flex;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 950;
}

.ai-analysis-center__card.is-success[b-a8xhemdlfs] {
    border-color: #bbf7d0;
}

.ai-analysis-center__card.is-warning[b-a8xhemdlfs] {
    border-color: #fde68a;
}

.ai-analysis-center__card.is-danger[b-a8xhemdlfs] {
    border-color: #fecaca;
}

.ai-analysis-center__footer[b-a8xhemdlfs] {
    display: grid;
    gap: 7px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.ai-analysis-center__footer span[b-a8xhemdlfs] {
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}

.ai-analysis-center__footer strong[b-a8xhemdlfs] {
    font-size: 13px;
    font-weight: 900;
    line-height: 1.9;
}

@media (max-width: 1100px) {
    .ai-analysis-center__grid[b-a8xhemdlfs] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .ai-analysis-center__header[b-a8xhemdlfs] {
        flex-direction: column;
    }

    .ai-analysis-center__grid[b-a8xhemdlfs] {
        grid-template-columns: 1fr;
    }
}
.ai-analysis-center__card[role="button"][b-a8xhemdlfs]{cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}.ai-analysis-center__card[role="button"]:hover[b-a8xhemdlfs]{transform:translateY(-3px);box-shadow:0 20px 44px rgba(15,23,42,.12)}
/* /Components/Pages/AI/AiAnalyticsMetricCard.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiAnalyticsMetricCard.razor.css
*/

.ai-analytics-metric-card[b-e6p8git67r] {
    display: flex;
    gap: 13px;
    align-items: center;
    min-height: 132px;
    padding: 18px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
}

.ai-analytics-metric-card__icon[b-e6p8git67r] {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 18px;
    background: #f8fafc;
    font-size: 23px;
}

.ai-analytics-metric-card span[b-e6p8git67r] {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

.ai-analytics-metric-card strong[b-e6p8git67r] {
    display: block;
    margin-top: 7px;
    color: #0f172a;
    font-size: 20px;
    font-weight: 950;
    letter-spacing: -0.4px;
}

.ai-analytics-metric-card small[b-e6p8git67r] {
    display: inline-flex;
    width: fit-content;
    margin-top: 8px;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 950;
}

.ai-analytics-metric-card small.is-positive[b-e6p8git67r] {
    background: #ecfdf5;
    color: #059669;
}

.ai-analytics-metric-card small.is-warning[b-e6p8git67r] {
    background: #fffbeb;
    color: #d97706;
}

.ai-analytics-metric-card small.is-negative[b-e6p8git67r] {
    background: #fef2f2;
    color: #dc2626;
}

.ai-analytics-metric-card.is-success[b-e6p8git67r] {
    border-color: rgba(16, 185, 129, 0.26);
}

.ai-analytics-metric-card.is-info[b-e6p8git67r] {
    border-color: rgba(14, 165, 233, 0.28);
}

.ai-analytics-metric-card.is-warning[b-e6p8git67r] {
    border-color: rgba(245, 158, 11, 0.3);
}

.ai-analytics-metric-card.is-danger[b-e6p8git67r] {
    border-color: rgba(239, 68, 68, 0.28);
}
/* /Components/Pages/AI/AiAnalyticsTable.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiAnalyticsTable.razor.css
*/

.ai-analytics-table[b-9t9uj9p12x] {
    display: grid;
    gap: 16px;
    min-height: 360px;
    padding: 20px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
}

.ai-analytics-table__header h3[b-9t9uj9p12x] {
    margin: 0;
    color: #0f172a;
    font-size: 18px;
    font-weight: 950;
}

.ai-analytics-table__header p[b-9t9uj9p12x] {
    margin: 7px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 650;
}

.ai-analytics-table__rows[b-9t9uj9p12x] {
    display: grid;
    gap: 10px;
}

.ai-analytics-table__row[b-9t9uj9p12x] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.ai-analytics-table__row strong[b-9t9uj9p12x] {
    display: block;
    color: #0f172a;
    font-size: 13px;
    font-weight: 950;
}

.ai-analytics-table__row span[b-9t9uj9p12x] {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.7;
}

.ai-analytics-table__row small[b-9t9uj9p12x] {
    display: inline-flex;
    flex: 0 0 auto;
    padding: 6px 9px;
    border-radius: 999px;
    background: #ffffff;
    color: #475569;
    font-size: 11px;
    font-weight: 950;
    white-space: nowrap;
}

.ai-analytics-table__row.is-success[b-9t9uj9p12x] {
    border-color: rgba(16, 185, 129, 0.26);
}

.ai-analytics-table__row.is-warning[b-9t9uj9p12x] {
    border-color: rgba(245, 158, 11, 0.3);
}

.ai-analytics-table__row.is-danger[b-9t9uj9p12x] {
    border-color: rgba(239, 68, 68, 0.28);
}

.ai-analytics-table__row.is-info[b-9t9uj9p12x] {
    border-color: rgba(14, 165, 233, 0.28);
}

@media (max-width: 720px) {
    .ai-analytics-table__row[b-9t9uj9p12x] {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* /Components/Pages/AI/AiAnalyticsTrendChart.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiAnalyticsTrendChart.razor.css
*/

.ai-analytics-trend-chart[b-5fm2iss8or] {
    display: grid;
    gap: 18px;
    min-height: 360px;
    padding: 20px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
}

.ai-analytics-trend-chart__header[b-5fm2iss8or] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.ai-analytics-trend-chart__header h3[b-5fm2iss8or] {
    margin: 0;
    color: #0f172a;
    font-size: 18px;
    font-weight: 950;
}

.ai-analytics-trend-chart__header p[b-5fm2iss8or] {
    margin: 7px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.8;
}

.ai-analytics-trend-chart__header > span[b-5fm2iss8or] {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: #ecfeff;
    color: #0891b2;
    font-size: 11px;
    font-weight: 950;
    white-space: nowrap;
}

.ai-analytics-trend-chart__bars[b-5fm2iss8or] {
    display: flex;
    align-items: end;
    gap: 12px;
    min-height: 230px;
    padding: 10px 4px 0;
}

.ai-analytics-trend-chart__bar-group[b-5fm2iss8or] {
    display: grid;
    flex: 1;
    height: 100%;
    gap: 10px;
    align-items: end;
    justify-items: center;
}

.ai-analytics-trend-chart__bars-inner[b-5fm2iss8or] {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 5px;
    width: 100%;
    min-height: 210px;
}

.ai-analytics-trend-chart__bars-inner span[b-5fm2iss8or] {
    display: block;
    width: 18px;
    border-radius: 999px 999px 6px 6px;
}

.ai-analytics-trend-chart__bars-inner span.sales[b-5fm2iss8or] {
    background: linear-gradient(180deg, #38bdf8, var(--erp-primary, #2563eb));
}

.ai-analytics-trend-chart__bars-inner span.profit[b-5fm2iss8or] {
    background: linear-gradient(180deg, #34d399, #059669);
}

.ai-analytics-trend-chart__bar-group small[b-5fm2iss8or] {
    color: #64748b;
    font-size: 11px;
    font-weight: 850;
    white-space: nowrap;
}

.ai-analytics-trend-chart__legend[b-5fm2iss8or] {
    display: flex;
    gap: 14px;
    align-items: center;
}

.ai-analytics-trend-chart__legend span[b-5fm2iss8or] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}

.ai-analytics-trend-chart__legend i[b-5fm2iss8or] {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.ai-analytics-trend-chart__legend i.sales[b-5fm2iss8or] {
    background: var(--erp-primary, #2563eb);
}

.ai-analytics-trend-chart__legend i.profit[b-5fm2iss8or] {
    background: #059669;
}

@media (max-width: 720px) {
    .ai-analytics-trend-chart__bars[b-5fm2iss8or] {
        gap: 6px;
        overflow-x: auto;
    }

    .ai-analytics-trend-chart__bar-group[b-5fm2iss8or] {
        min-width: 52px;
    }
}
/* /Components/Pages/AI/AiAssistantMessage.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiAssistantMessage.razor.css
*/

.ai-assistant-message[b-whxw10oq6y] {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.ai-assistant-message.is-user[b-whxw10oq6y] {
    flex-direction: row-reverse;
}

.ai-assistant-message__avatar[b-whxw10oq6y] {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 15px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.ai-assistant-message__body[b-whxw10oq6y] {
    max-width: min(720px, 86%);
    padding: 13px 15px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.ai-assistant-message.is-assistant .ai-assistant-message__body[b-whxw10oq6y] {
    background: linear-gradient(135deg, #f5f3ff, #eff6ff);
    border-color: #ddd6fe;
}

.ai-assistant-message.is-user .ai-assistant-message__body[b-whxw10oq6y] {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
}

.ai-assistant-message__meta[b-whxw10oq6y] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 7px;
}

.ai-assistant-message__meta strong[b-whxw10oq6y] {
    color: #0f172a;
    font-size: 12px;
    font-weight: 950;
}

.ai-assistant-message.is-user .ai-assistant-message__meta strong[b-whxw10oq6y] {
    color: #ffffff;
}

.ai-assistant-message__meta span[b-whxw10oq6y] {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
}

.ai-assistant-message p[b-whxw10oq6y] {
    margin: 0;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.9;
}

.ai-assistant-message.is-user p[b-whxw10oq6y] {
    color: #e2e8f0;
}

@media (max-width: 720px) {
    .ai-assistant-message__body[b-whxw10oq6y] {
        max-width: 100%;
    }
}
/* /Components/Pages/AI/AiAssistantPanel.razor.rz.scp.css */
.ai-assistant-panel[b-kbm8hkvvme]{display:grid;gap:18px;padding:24px;border-radius:28px;background:radial-gradient(circle at top right,rgba(20,184,166,.12),transparent 34%),var(--mud-palette-surface,#fff);border:1px solid rgba(148,163,184,.25);box-shadow:0 18px 46px rgba(15,23,42,.08);color:var(--mud-palette-text-primary,#0f172a)}
.ai-assistant-panel__header[b-kbm8hkvvme]{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.ai-assistant-panel__eyebrow[b-kbm8hkvvme]{display:inline-flex;padding:7px 13px;border-radius:999px;background:rgba(20,184,166,.12);color:#0f766e;font-size:12px;font-weight:950}.ai-assistant-panel__header h2[b-kbm8hkvvme]{margin:10px 0 0;font-size:24px}.ai-assistant-panel__header p[b-kbm8hkvvme]{margin:7px 0 0;color:var(--mud-palette-text-secondary,#64748b)}.ai-assistant-panel__status[b-kbm8hkvvme]{display:flex;gap:8px;align-items:center;padding:10px 14px;border-radius:999px;background:#ecfdf5;color:#047857;font-weight:900;font-size:12px}.ai-assistant-panel__status span[b-kbm8hkvvme]{width:9px;height:9px;border-radius:50%;background:#10b981}.ai-assistant-panel__status.busy span[b-kbm8hkvvme]{animation:pulse-b-kbm8hkvvme 1s infinite}.ai-assistant-panel__error[b-kbm8hkvvme]{display:flex;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:13px;background:#fef2f2;color:#991b1b}.ai-assistant-panel__error button[b-kbm8hkvvme]{border:0;background:#991b1b;color:#fff;border-radius:8px;padding:6px 10px}
.ai-assistant-workspace[b-kbm8hkvvme]{display:grid;grid-template-columns:230px minmax(0,1fr);gap:14px;min-height:560px}.ai-conversations[b-kbm8hkvvme]{display:flex;flex-direction:column;gap:8px;padding:10px;border:1px solid rgba(148,163,184,.25);border-radius:20px;background:rgba(15,23,42,.03);overflow:auto}.ai-new-chat[b-kbm8hkvvme],.ai-conversation[b-kbm8hkvvme]{border:1px solid rgba(148,163,184,.25);border-radius:13px;background:var(--mud-palette-surface,#fff);color:inherit;padding:11px;text-align:right;cursor:pointer}.ai-new-chat[b-kbm8hkvvme]{background:#0d9488;color:#fff;text-align:center;font-weight:900}.ai-conversation strong[b-kbm8hkvvme],.ai-conversation small[b-kbm8hkvvme]{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ai-conversation small[b-kbm8hkvvme]{margin-top:5px;color:var(--mud-palette-text-secondary,#64748b)}.ai-conversation.active[b-kbm8hkvvme]{border-color:#14b8a6;background:rgba(20,184,166,.1)}
.ai-chat[b-kbm8hkvvme]{display:flex;flex-direction:column;gap:10px;min-width:0}.ai-assistant-panel__quick-actions[b-kbm8hkvvme]{display:flex;gap:8px;flex-wrap:wrap}.ai-assistant-panel__quick-actions button[b-kbm8hkvvme]{border:1px solid rgba(20,184,166,.35);border-radius:999px;background:transparent;color:#0f766e;padding:8px 12px;cursor:pointer}.ai-assistant-panel__messages[b-kbm8hkvvme]{flex:1;display:flex;flex-direction:column;gap:12px;max-height:560px;overflow:auto;padding:16px;border:1px solid rgba(148,163,184,.25);border-radius:20px;background:rgba(15,23,42,.025)}.ai-empty[b-kbm8hkvvme]{margin:auto;display:grid;text-align:center;gap:7px;color:var(--mud-palette-text-secondary,#64748b)}.ai-message[b-kbm8hkvvme]{max-width:82%;padding:12px 14px;border-radius:18px;background:var(--mud-palette-surface,#fff);border:1px solid rgba(148,163,184,.25);white-space:pre-wrap;line-height:1.9}.ai-message.user[b-kbm8hkvvme]{align-self:flex-start;background:#0d9488;color:#fff;border-color:#0d9488}.ai-message footer[b-kbm8hkvvme]{display:flex;gap:9px;flex-wrap:wrap;margin-top:8px;font-size:10px;opacity:.72}.ai-message footer em[b-kbm8hkvvme]{font-style:normal}.ai-typing[b-kbm8hkvvme]{display:flex;align-items:center;gap:5px;color:#64748b}.ai-typing i[b-kbm8hkvvme]{width:7px;height:7px;border-radius:50%;background:#14b8a6;animation:pulse-b-kbm8hkvvme 1s infinite}.ai-typing i:nth-child(2)[b-kbm8hkvvme]{animation-delay:.15s}.ai-typing i:nth-child(3)[b-kbm8hkvvme]{animation-delay:.3s}.ai-typing span[b-kbm8hkvvme]{margin-right:6px}
.ai-assistant-panel__input[b-kbm8hkvvme]{display:flex;gap:9px;padding:9px;border:1px solid rgba(148,163,184,.3);border-radius:17px;background:var(--mud-palette-surface,#fff)}.ai-assistant-panel__input textarea[b-kbm8hkvvme]{flex:1;resize:vertical;border:0;outline:0;background:transparent;color:inherit;font:inherit;padding:8px}.ai-assistant-panel__input button[b-kbm8hkvvme]{min-width:90px;border:0;border-radius:12px;background:#0d9488;color:#fff;font-weight:900}.ai-assistant-panel__input button.stop[b-kbm8hkvvme]{background:#b91c1c}.ai-chat-actions[b-kbm8hkvvme]{display:flex;gap:8px}.ai-chat-actions button[b-kbm8hkvvme]{border:1px solid rgba(148,163,184,.3);border-radius:9px;background:transparent;color:inherit;padding:7px 10px}
@keyframes pulse-b-kbm8hkvvme{50%{opacity:.35;transform:scale(.8)}}
@media(max-width:850px){.ai-assistant-panel[b-kbm8hkvvme]{padding:16px}.ai-assistant-workspace[b-kbm8hkvvme]{grid-template-columns:1fr}.ai-conversations[b-kbm8hkvvme]{max-height:190px}.ai-assistant-panel__header[b-kbm8hkvvme]{flex-direction:column}.ai-message[b-kbm8hkvvme]{max-width:95%}}
/* /Components/Pages/AI/AiAutomationEnginePanel.razor.rz.scp.css */
.ai-automation-engine-panel[b-lvycq8y6lc]{display:grid;gap:18px;min-width:0;padding:24px;border:1px solid #e2e8f0;border-radius:28px;color:#0f172a;background:linear-gradient(135deg,#fff,#f8fafc);box-shadow:0 18px 42px rgba(15,23,42,.07)}
.ai-automation-engine-panel__header[b-lvycq8y6lc]{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.ai-automation-engine-panel__eyebrow[b-lvycq8y6lc]{display:inline-flex;width:fit-content;padding:7px 13px;border-radius:999px;color:#b45309;background:#fffbeb;font-size:12px;font-weight:950}.ai-automation-engine-panel h2[b-lvycq8y6lc]{margin:12px 0 0;font-size:clamp(21px,2vw,28px);font-weight:950}.ai-automation-engine-panel p[b-lvycq8y6lc]{margin:8px 0 0;color:#64748b;line-height:1.9;font-size:13px;font-weight:650}.ai-automation-engine-panel__counter[b-lvycq8y6lc]{display:grid;place-items:center;gap:5px;flex:0 0 130px;min-height:105px;padding:14px;border:1px solid #fde68a;border-radius:20px;background:#fffbeb}.ai-automation-engine-panel__counter span[b-lvycq8y6lc]{color:#92400e;font-size:12px;font-weight:850}.ai-automation-engine-panel__counter strong[b-lvycq8y6lc]{color:#78350f;font-size:30px;font-weight:950}.ai-automation-engine-panel__summary[b-lvycq8y6lc]{padding:15px 17px;border:1px solid #e2e8f0;border-radius:18px;color:#334155;background:#f8fafc;font-size:13px;font-weight:800;line-height:1.9}.ai-automation-engine-panel__rules[b-lvycq8y6lc]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ai-automation-engine-panel__rule[b-lvycq8y6lc]{display:grid;grid-template-rows:auto 1fr auto;gap:14px;min-width:0;height:100%;padding:17px;border:1px solid #e2e8f0;border-radius:21px;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.045)}.ai-automation-engine-panel__rule.is-success[b-lvycq8y6lc]{border-color:#bbf7d0}.ai-automation-engine-panel__rule.is-warning[b-lvycq8y6lc]{border-color:#fde68a}.ai-automation-engine-panel__rule.is-danger[b-lvycq8y6lc]{border-color:#fecaca}.ai-automation-engine-panel__rule-header[b-lvycq8y6lc]{display:flex;align-items:center;gap:12px;padding-bottom:12px;border-bottom:1px solid #e2e8f0}.ai-automation-engine-panel__rule-header>span[b-lvycq8y6lc]{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:15px;background:#f1f5f9;font-size:20px}.ai-automation-engine-panel__rule-header h3[b-lvycq8y6lc]{margin:0;font-size:16px;font-weight:950}.ai-automation-engine-panel__rule-header small[b-lvycq8y6lc]{color:#64748b;font-size:11px;font-weight:850}.ai-automation-engine-panel__rule-body[b-lvycq8y6lc]{display:grid;gap:9px;align-content:start}.ai-automation-engine-panel__rule-body p[b-lvycq8y6lc]{position:relative;margin:0;padding:11px 44px 11px 12px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc;font-size:12px;line-height:1.85}.ai-automation-engine-panel__rule-body p strong[b-lvycq8y6lc]{position:absolute;top:10px;right:11px;display:grid;place-items:center;width:25px;height:25px;border-radius:9px;color:#1d4ed8;background:#dbeafe;font-size:0}.ai-automation-engine-panel__rule-body p:nth-child(1) strong[b-lvycq8y6lc]::after{content:'۱';font-size:11px}.ai-automation-engine-panel__rule-body p:nth-child(2) strong[b-lvycq8y6lc]::after{content:'۲';font-size:11px}.ai-automation-engine-panel__rule-body p:nth-child(3) strong[b-lvycq8y6lc]::after{content:'۳';font-size:11px}.ai-automation-engine-panel__rule-footer[b-lvycq8y6lc],.ai-automation-engine-panel__footer[b-lvycq8y6lc]{display:flex;justify-content:space-between;align-items:center;gap:12px}.ai-automation-engine-panel__rule-footer span[b-lvycq8y6lc],.ai-automation-engine-panel__footer span[b-lvycq8y6lc]{color:#64748b;font-size:12px;font-weight:850}.ai-automation-engine-panel__rule-footer button[b-lvycq8y6lc]{min-height:40px;padding:0 15px;border:0;border-radius:13px;color:#fff;background:#f59e0b;font-size:12px;font-weight:950;cursor:pointer}.ai-automation-engine-panel__footer[b-lvycq8y6lc]{padding:14px;border:1px solid #e2e8f0;border-radius:18px;background:#f8fafc}.ai-automation-engine-panel__footer strong[b-lvycq8y6lc]{font-size:13px;font-weight:950}
@media(max-width:900px){.ai-automation-engine-panel__rules[b-lvycq8y6lc]{grid-template-columns:1fr}.ai-automation-engine-panel__header[b-lvycq8y6lc],.ai-automation-engine-panel__rule-footer[b-lvycq8y6lc],.ai-automation-engine-panel__footer[b-lvycq8y6lc]{flex-direction:column;align-items:stretch}.ai-automation-engine-panel__counter[b-lvycq8y6lc]{width:100%;flex-basis:auto}}
/* /Components/Pages/AI/AiCopilotPanel.razor.rz.scp.css */
.ai-copilot-panel[b-vwjo1q7vks]{display:grid;gap:18px;padding:22px;overflow:hidden;border:1px solid rgba(148,163,184,.22);border-radius:28px;background:linear-gradient(135deg,rgba(15,23,42,.97),rgba(30,41,59,.95));box-shadow:0 22px 60px rgba(15,23,42,.18);color:#fff}.ai-copilot-panel[b-vwjo1q7vks],.ai-copilot-panel *[b-vwjo1q7vks]{box-sizing:border-box}.ai-copilot-panel__header[b-vwjo1q7vks]{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;min-width:0}.ai-copilot-panel__header>div:first-child[b-vwjo1q7vks]{min-width:0}.ai-copilot-panel__eyebrow[b-vwjo1q7vks]{display:inline-flex;width:fit-content;padding:7px 13px;border-radius:999px;background:rgba(56,189,248,.14);color:#bae6fd;font-size:12px;font-weight:950}.ai-copilot-panel h2[b-vwjo1q7vks]{margin:12px 0 0;font-size:24px;font-weight:950}.ai-copilot-panel p[b-vwjo1q7vks]{margin:8px 0 0;color:#cbd5e1;font-size:13px;font-weight:650;line-height:1.9}.ai-copilot-panel__risk[b-vwjo1q7vks]{display:grid;flex:0 0 132px;gap:7px;min-width:132px;padding:14px;border:1px solid rgba(255,255,255,.16);border-radius:20px;background:rgba(255,255,255,.09)}.ai-copilot-panel__risk span[b-vwjo1q7vks]{color:#cbd5e1;font-size:11px;font-weight:850}.ai-copilot-panel__risk strong[b-vwjo1q7vks]{font-size:18px;font-weight:950}.ai-copilot-panel__risk.is-success strong[b-vwjo1q7vks]{color:#86efac}.ai-copilot-panel__risk.is-info strong[b-vwjo1q7vks]{color:#7dd3fc}.ai-copilot-panel__risk.is-warning strong[b-vwjo1q7vks]{color:#fde68a}.ai-copilot-panel__risk.is-danger strong[b-vwjo1q7vks]{color:#fca5a5}.ai-copilot-panel__examples[b-vwjo1q7vks]{display:flex;flex-wrap:wrap;gap:8px}.ai-copilot-panel__examples button[b-vwjo1q7vks]{padding:7px 11px;border:1px solid rgba(125,211,252,.2);border-radius:999px;background:rgba(56,189,248,.08);color:#bae6fd;font:inherit;font-size:11px;font-weight:850;cursor:pointer}.ai-copilot-panel__examples button:hover[b-vwjo1q7vks]{background:rgba(56,189,248,.18)}.ai-copilot-panel__input[b-vwjo1q7vks]{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}.ai-copilot-panel__input input[b-vwjo1q7vks]{width:100%;min-width:0;min-height:50px;padding:0 16px;border:1px solid rgba(203,213,225,.22);border-radius:16px;outline:none;background:rgba(255,255,255,.10);color:#fff;font:inherit;font-weight:750}.ai-copilot-panel__input input:focus[b-vwjo1q7vks]{border-color:#38bdf8;box-shadow:0 0 0 3px rgba(56,189,248,.14)}.ai-copilot-panel__input input[b-vwjo1q7vks]::placeholder{color:#94a3b8}.ai-copilot-panel__input button[b-vwjo1q7vks]{min-height:50px;padding:0 18px;border:0;border-radius:16px;background:#38bdf8;color:#082f49;font-size:13px;font-weight:950;cursor:pointer}.ai-copilot-panel__input button:disabled[b-vwjo1q7vks],.ai-copilot-panel__examples button:disabled[b-vwjo1q7vks]{cursor:not-allowed;opacity:.58}.ai-copilot-panel__error[b-vwjo1q7vks]{padding:12px 14px;border:1px solid rgba(248,113,113,.35);border-radius:15px;background:rgba(127,29,29,.32);color:#fecaca;font-size:12px;font-weight:850;line-height:1.8}.ai-copilot-panel__answer[b-vwjo1q7vks]{display:grid;gap:9px;min-height:110px;padding:17px;border:1px solid rgba(255,255,255,.14);border-radius:20px;background:rgba(255,255,255,.08)}.ai-copilot-panel__answer span[b-vwjo1q7vks],.ai-copilot-panel__footer span[b-vwjo1q7vks]{color:#bae6fd;font-size:12px;font-weight:950}.ai-copilot-panel__answer strong[b-vwjo1q7vks]{color:#fff;font-size:14px;font-weight:800;line-height:2.15;overflow-wrap:anywhere;white-space:pre-line}.ai-copilot-panel__skeleton[b-vwjo1q7vks]{display:grid;gap:8px}.ai-copilot-panel__skeleton i[b-vwjo1q7vks]{display:block;height:11px;border-radius:999px;background:linear-gradient(90deg,rgba(255,255,255,.08),rgba(255,255,255,.22),rgba(255,255,255,.08));background-size:200% 100%;animation:ai-copilot-loading-b-vwjo1q7vks 1.15s infinite linear}.ai-copilot-panel__skeleton i:nth-child(2)[b-vwjo1q7vks]{width:86%}.ai-copilot-panel__skeleton i:nth-child(3)[b-vwjo1q7vks]{width:68%}@keyframes ai-copilot-loading-b-vwjo1q7vks{to{background-position:-200% 0}}.ai-copilot-panel__actions[b-vwjo1q7vks]{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.ai-copilot-panel__action[b-vwjo1q7vks]{display:grid;align-content:start;gap:7px;min-width:0;min-height:124px;padding:14px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:rgba(255,255,255,.08)}.ai-copilot-panel__action.is-danger[b-vwjo1q7vks]{border-color:rgba(248,113,113,.34)}.ai-copilot-panel__action.is-warning[b-vwjo1q7vks]{border-color:rgba(251,191,36,.34)}.ai-copilot-panel__action.is-success[b-vwjo1q7vks]{border-color:rgba(74,222,128,.28)}.ai-copilot-panel__action strong[b-vwjo1q7vks]{font-size:13px;font-weight:950}.ai-copilot-panel__action p[b-vwjo1q7vks]{margin:0;font-size:12px;line-height:1.8}.ai-copilot-panel__action small[b-vwjo1q7vks]{margin-top:auto;color:#94a3b8;font-size:11px;font-weight:850}.ai-copilot-panel__footer[b-vwjo1q7vks]{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:2px}.ai-copilot-panel__footer strong[b-vwjo1q7vks]{color:#fff;font-size:13px;font-weight:950}@media(max-width:900px){.ai-copilot-panel__header[b-vwjo1q7vks],.ai-copilot-panel__footer[b-vwjo1q7vks]{flex-direction:column}.ai-copilot-panel__risk[b-vwjo1q7vks]{width:100%}.ai-copilot-panel__input[b-vwjo1q7vks]{grid-template-columns:1fr}}
/* /Components/Pages/AI/AiDashboard.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiDashboard.razor.css
*/

.erp-ai-dashboard-v2[b-5vvv6ywnhd] {
    display: grid;
    gap: 22px;
    min-height: 100vh;
    padding: 28px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 34%),
        radial-gradient(circle at bottom left, rgba(124, 58, 237, 0.10), transparent 30%),
        linear-gradient(180deg, #f8fafc, #eef2f7);
    color: #0f172a;
}

.erp-ai-dashboard-v2[b-5vvv6ywnhd],
.erp-ai-dashboard-v2 *[b-5vvv6ywnhd] {
    box-sizing: border-box;
}

.erp-ai-dashboard-v2 [b-5vvv6ywnhd]::selection {
    color: var(--erp-on-brand, #ffffff);
    background: var(--erp-primary, #2563eb);
}

.erp-ai-dashboard-v2__copilot[b-5vvv6ywnhd],
.erp-ai-dashboard-v2__assistant[b-5vvv6ywnhd] {
    min-width: 0;
}

.erp-ai-dashboard-v2__management-alerts[b-5vvv6ywnhd] {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    gap: 18px;
    min-width: 0;
    padding: 24px;
    border: 1px solid #dbe4f0;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
}

.erp-ai-dashboard-v2__management-alerts[b-5vvv6ywnhd]::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed), #06b6d4);
}

.erp-ai-dashboard-v2__management-alerts > header[b-5vvv6ywnhd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-width: 0;
    padding-bottom: 17px;
    border-bottom: 1px solid #e2e8f0;
}

.erp-ai-dashboard-v2__management-alerts > header > div[b-5vvv6ywnhd] {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.erp-ai-dashboard-v2__management-alerts > header h2[b-5vvv6ywnhd] {
    margin: 0;
    color: #0f172a;
    font-size: clamp(20px, 1.7vw, 28px);
    font-weight: 950;
    line-height: 1.35;
}

.erp-ai-dashboard-v2__management-alerts > header p[b-5vvv6ywnhd] {
    margin: 0;
    max-width: 820px;
    color: #64748b;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.95;
    overflow-wrap: anywhere;
}

.erp-ai-dashboard-v2__management-alerts > header > button[b-5vvv6ywnhd] {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 10px 18px;
    border: 0;
    border-radius: 13px;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-primary, #4f46e5));
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.erp-ai-dashboard-v2__management-alerts > header > button:hover:not(:disabled)[b-5vvv6ywnhd] {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
}

.erp-ai-dashboard-v2__management-alerts > header > button:disabled[b-5vvv6ywnhd] {
    opacity: 0.55;
    cursor: wait;
}

.erp-ai-alert-grid[b-5vvv6ywnhd] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    min-width: 0;
    margin: 0;
}

.erp-ai-alert-card[b-5vvv6ywnhd] {
    position: relative;
    overflow: hidden;
    display: grid;
    align-content: start;
    gap: 11px;
    min-width: 0;
    min-height: 210px;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-inline-start: 5px solid #64748b;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.045);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.erp-ai-alert-card:hover[b-5vvv6ywnhd] {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.09);
}

.erp-ai-alert-card.severity-critical[b-5vvv6ywnhd] {
    border-inline-start-color: #dc2626;
    background: linear-gradient(180deg, #fffafa, #fff7f7);
}

.erp-ai-alert-card.severity-warning[b-5vvv6ywnhd] {
    border-inline-start-color: #f59e0b;
    background: linear-gradient(180deg, #fffdf7, #fffbeb);
}

.erp-ai-alert-card.severity-attention[b-5vvv6ywnhd],
.erp-ai-alert-card.severity-info[b-5vvv6ywnhd] {
    border-inline-start-color: var(--erp-primary, #2563eb);
    background: linear-gradient(180deg, #fbfdff, #eff6ff);
}

.erp-ai-alert-card > div[b-5vvv6ywnhd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

.erp-ai-alert-card > div > span[b-5vvv6ywnhd] {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 4px 10px;
    border-radius: 999px;
    color: #334155;
    background: #eef2f7;
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
}

.erp-ai-alert-card time[b-5vvv6ywnhd] {
    color: #94a3b8;
    font-size: 10px;
    font-weight: 850;
    white-space: nowrap;
}

.erp-ai-alert-card h3[b-5vvv6ywnhd] {
    margin: 0;
    color: #0f172a;
    font-size: 16px;
    font-weight: 950;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.erp-ai-alert-card p[b-5vvv6ywnhd] {
    margin: 0;
    color: #475569;
    font-size: 12px;
    font-weight: 720;
    line-height: 1.95;
    overflow-wrap: anywhere;
}

.erp-ai-alert-card small[b-5vvv6ywnhd] {
    color: #64748b;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.8;
}

.erp-ai-alert-card > strong[b-5vvv6ywnhd] {
    display: block;
    padding: 10px 12px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    color: #1e3a8a;
    background: #eff6ff;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.erp-ai-alert-card footer[b-5vvv6ywnhd] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 4px;
}

.erp-ai-alert-card footer button[b-5vvv6ywnhd] {
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid #dbe4f0;
    border-radius: 11px;
    color: #334155;
    background: #ffffff;
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.erp-ai-alert-card footer button:first-child[b-5vvv6ywnhd] {
    color: var(--erp-on-brand, #ffffff);
    border-color: var(--erp-primary, #2563eb);
    background: var(--erp-primary, #2563eb);
}

.erp-ai-alert-card footer button:hover[b-5vvv6ywnhd] {
    transform: translateY(-1px);
    border-color: #93c5fd;
    background: #eff6ff;
}

.erp-ai-alert-card footer button:first-child:hover[b-5vvv6ywnhd] {
    background: #1d4ed8;
}

.erp-ai-alert-empty[b-5vvv6ywnhd] {
    display: grid;
    place-items: center;
    min-height: 108px;
    padding: 22px;
    border: 1px dashed #bfdbfe;
    border-radius: 17px;
    color: #1e40af;
    background: #eff6ff;
    text-align: center;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.9;
}

.erp-ai-dashboard-v2__grid[b-5vvv6ywnhd] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.erp-ai-dashboard-v2__main[b-5vvv6ywnhd],
.erp-ai-dashboard-v2__side[b-5vvv6ywnhd] {
    display: grid;
    gap: 18px;
    min-width: 0;
}


.erp-ai-dashboard-v2__enterprise-stack[b-5vvv6ywnhd] {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.erp-ai-dashboard-v2__enterprise-stack > *[b-5vvv6ywnhd],
.erp-ai-dashboard-v2__enterprise-stack > div[b-5vvv6ywnhd] {
    min-width: 0;
    width: 100%;
}

.erp-ai-dashboard-v2__status[b-5vvv6ywnhd] {
    display: grid;
    grid-template-columns: 180px 180px 220px minmax(0, 1fr);
    gap: 14px;
}

.erp-ai-dashboard-v2__status div[b-5vvv6ywnhd] {
    display: grid;
    gap: 7px;
    padding: 16px 18px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.045);
}

.erp-ai-dashboard-v2__status span[b-5vvv6ywnhd] {
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}

.erp-ai-dashboard-v2__status strong[b-5vvv6ywnhd] {
    color: #0f172a;
    font-size: 13px;
    font-weight: 950;
    line-height: 1.8;
}

:global(.erpdb-dark) .erp-ai-dashboard-v2__management-alerts[b-5vvv6ywnhd],
:global(.erpdb-dark) .erp-ai-alert-card[b-5vvv6ywnhd],
:global(.erpdb-dark) .erp-ai-dashboard-v2__status div[b-5vvv6ywnhd] {
    border-color: rgba(148, 163, 184, 0.22);
    background: #111c31;
}

:global(.erpdb-dark) .erp-ai-dashboard-v2__management-alerts > header[b-5vvv6ywnhd] {
    border-bottom-color: rgba(148, 163, 184, 0.18);
}

:global(.erpdb-dark) .erp-ai-dashboard-v2__management-alerts h2[b-5vvv6ywnhd],
:global(.erpdb-dark) .erp-ai-alert-card h3[b-5vvv6ywnhd],
:global(.erpdb-dark) .erp-ai-dashboard-v2__status strong[b-5vvv6ywnhd] {
    color: #f8fafc;
}

:global(.erpdb-dark) .erp-ai-dashboard-v2__management-alerts p[b-5vvv6ywnhd],
:global(.erpdb-dark) .erp-ai-alert-card p[b-5vvv6ywnhd],
:global(.erpdb-dark) .erp-ai-alert-card small[b-5vvv6ywnhd],
:global(.erpdb-dark) .erp-ai-dashboard-v2__status span[b-5vvv6ywnhd] {
    color: #cbd5e1;
}

@media (max-width: 1400px) {
    .erp-ai-dashboard-v2__status[b-5vvv6ywnhd] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .erp-ai-dashboard-v2__management-alerts > header[b-5vvv6ywnhd] {
        align-items: stretch;
        flex-direction: column;
    }

    .erp-ai-dashboard-v2__management-alerts > header > button[b-5vvv6ywnhd] {
        width: 100%;
    }

    .erp-ai-alert-grid[b-5vvv6ywnhd] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .erp-ai-dashboard-v2[b-5vvv6ywnhd] {
        padding: 16px;
        gap: 16px;
    }

    .erp-ai-dashboard-v2__management-alerts[b-5vvv6ywnhd] {
        padding: 18px;
        border-radius: 20px;
    }

    
.erp-ai-dashboard-v2__enterprise-stack[b-5vvv6ywnhd] {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.erp-ai-dashboard-v2__enterprise-stack > *[b-5vvv6ywnhd],
.erp-ai-dashboard-v2__enterprise-stack > div[b-5vvv6ywnhd] {
    min-width: 0;
    width: 100%;
}

.erp-ai-dashboard-v2__status[b-5vvv6ywnhd] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/AI/AiDashboardError.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiDashboardError.razor.css
*/

.ai-dashboard-error[b-t99krsfbfz] {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-height: 180px;
    padding: 24px;
    border-radius: 26px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    box-shadow: 0 18px 46px rgba(154, 52, 18, 0.08);
}

.ai-dashboard-error__icon[b-t99krsfbfz] {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 18px;
    background: #ffedd5;
    font-size: 24px;
}

.ai-dashboard-error h3[b-t99krsfbfz] {
    margin: 0;
    color: #9a3412;
    font-size: 18px;
    font-weight: 950;
}

.ai-dashboard-error p[b-t99krsfbfz] {
    margin: 8px 0 0;
    color: #7c2d12;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.9;
}

.ai-dashboard-error button[b-t99krsfbfz] {
    margin-top: 14px;
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 15px;
    background: #ea580c;
    color: #ffffff;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
}
/* /Components/Pages/AI/AiDashboardLayout.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiDashboardLayout.razor.css
*/

.ai-dashboard-layout[b-1kn420ul1o] {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
    gap: 18px;
    align-items: start;
}

.ai-dashboard-layout__main[b-1kn420ul1o],
.ai-dashboard-layout__side[b-1kn420ul1o] {
    display: grid;
    gap: 18px;
    min-width: 0;
}

@media (max-width: 1300px) {
    .ai-dashboard-layout[b-1kn420ul1o] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/AI/AiDashboardLoader.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiDashboardLoader.razor.css
*/

.ai-dashboard-loader[b-5xbrpv1urs] {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 180px;
    padding: 24px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.ai-dashboard-loader__spinner[b-5xbrpv1urs] {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 4px solid #dbeafe;
    border-top-color: var(--erp-primary, #2563eb);
    animation: ai-dashboard-loader-spin-b-5xbrpv1urs 0.9s linear infinite;
}

.ai-dashboard-loader h3[b-5xbrpv1urs] {
    margin: 0;
    color: #0f172a;
    font-size: 18px;
    font-weight: 950;
}

.ai-dashboard-loader p[b-5xbrpv1urs] {
    margin: 7px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.8;
}

@keyframes ai-dashboard-loader-spin-b-5xbrpv1urs {
    to {
        transform: rotate(360deg);
    }
}
/* /Components/Pages/AI/AiDashboardSummary.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiDashboardSummary.razor.css
*/

.ai-summary[b-0pr4q1avjj] {
    display: grid;
    gap: 22px;
    padding: 24px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94));
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
    color: #0f172a;
}

.ai-summary__header[b-0pr4q1avjj] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 22px;
}

.ai-summary__eyebrow[b-0pr4q1avjj] {
    display: inline-flex;
    width: fit-content;
    padding: 7px 13px;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--erp-primary, #2563eb);
    font-size: 12px;
    font-weight: 950;
}

.ai-summary__header h2[b-0pr4q1avjj] {
    margin: 12px 0 0;
    color: #0f172a;
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -0.4px;
}

.ai-summary__header p[b-0pr4q1avjj] {
    max-width: 720px;
    margin: 9px 0 0;
    color: #64748b;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.9;
}

.ai-summary__score[b-0pr4q1avjj] {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    min-width: 190px;
    min-height: 118px;
    padding: 18px;
    border-radius: 24px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.2);
}

.ai-summary__score span[b-0pr4q1avjj] {
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 800;
}

.ai-summary__score strong[b-0pr4q1avjj] {
    margin-top: 8px;
    font-size: 38px;
    font-weight: 950;
    letter-spacing: -1px;
}

.ai-summary__grid[b-0pr4q1avjj] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ai-summary__item[b-0pr4q1avjj] {
    display: flex;
    gap: 12px;
    min-height: 138px;
    padding: 17px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.ai-summary__item-icon[b-0pr4q1avjj] {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 16px;
    background: #f8fafc;
    font-size: 22px;
}

.ai-summary__item h3[b-0pr4q1avjj] {
    margin: 0;
    color: #0f172a;
    font-size: 15px;
    font-weight: 950;
}

.ai-summary__item p[b-0pr4q1avjj] {
    margin: 7px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.8;
}

.ai-summary__item.is-success[b-0pr4q1avjj] {
    border-color: rgba(16, 185, 129, 0.22);
}

.ai-summary__item.is-success .ai-summary__item-icon[b-0pr4q1avjj] {
    background: #ecfdf5;
}

.ai-summary__item.is-info[b-0pr4q1avjj] {
    border-color: rgba(14, 165, 233, 0.22);
}

.ai-summary__item.is-info .ai-summary__item-icon[b-0pr4q1avjj] {
    background: #ecfeff;
}

.ai-summary__item.is-warning[b-0pr4q1avjj] {
    border-color: rgba(245, 158, 11, 0.25);
}

.ai-summary__item.is-warning .ai-summary__item-icon[b-0pr4q1avjj] {
    background: #fffbeb;
}

.ai-summary__item.is-danger[b-0pr4q1avjj] {
    border-color: rgba(239, 68, 68, 0.22);
}

.ai-summary__item.is-danger .ai-summary__item-icon[b-0pr4q1avjj] {
    background: #fef2f2;
}

.ai-summary__footer[b-0pr4q1avjj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 4px;
}

.ai-summary__assistant[b-0pr4q1avjj] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 14px 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, #eff6ff, #f5f3ff);
    border: 1px solid #dbeafe;
}

.ai-summary__assistant span[b-0pr4q1avjj] {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 14px;
    background: #ffffff;
}

.ai-summary__assistant p[b-0pr4q1avjj] {
    margin: 0;
    color: #334155;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.9;
}

.ai-summary__button[b-0pr4q1avjj] {
    flex: 0 0 auto;
    border: 0;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 16px;
    background: var(--erp-primary, #2563eb);
    color: var(--erp-on-brand, #ffffff);
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.22);
}

@media (max-width: 1200px) {
    .ai-summary__grid[b-0pr4q1avjj] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ai-summary__header[b-0pr4q1avjj] {
        flex-direction: column;
    }

    .ai-summary__score[b-0pr4q1avjj] {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .ai-summary[b-0pr4q1avjj] {
        padding: 18px;
        border-radius: 22px;
    }

    .ai-summary__grid[b-0pr4q1avjj] {
        grid-template-columns: 1fr;
    }

    .ai-summary__footer[b-0pr4q1avjj] {
        align-items: stretch;
        flex-direction: column;
    }

    .ai-summary__button[b-0pr4q1avjj] {
        width: 100%;
    }
}
/* /Components/Pages/AI/AiDataConnectorPanel.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiDataConnectorPanel.razor.css
*/

.ai-data-connector-panel[b-a8dnn88bsq] {
    display: grid;
    gap: 16px;
    padding: 22px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.11), transparent 32%),
        #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.065);
}

.ai-data-connector-panel__header[b-a8dnn88bsq] {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.ai-data-connector-panel__eyebrow[b-a8dnn88bsq] {
    display: inline-flex;
    width: fit-content;
    padding: 7px 13px;
    border-radius: 999px;
    background: #f0f9ff;
    color: #0369a1;
    font-size: 12px;
    font-weight: 950;
}

.ai-data-connector-panel h2[b-a8dnn88bsq] {
    margin: 12px 0 0;
    color: #0f172a;
    font-size: 22px;
    font-weight: 950;
}

.ai-data-connector-panel p[b-a8dnn88bsq] {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.9;
}

.ai-data-connector-panel__time[b-a8dnn88bsq] {
    display: grid;
    gap: 6px;
    min-width: 130px;
    padding: 14px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.ai-data-connector-panel__time span[b-a8dnn88bsq] {
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}

.ai-data-connector-panel__time strong[b-a8dnn88bsq] {
    color: #0f172a;
    font-size: 18px;
    font-weight: 950;
}

.ai-data-connector-panel__metrics[b-a8dnn88bsq] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.ai-data-connector-panel__metric[b-a8dnn88bsq] {
    display: grid;
    gap: 7px;
    padding: 15px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.ai-data-connector-panel__metric span[b-a8dnn88bsq] {
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}

.ai-data-connector-panel__metric strong[b-a8dnn88bsq] {
    color: #0f172a;
    font-size: 16px;
    font-weight: 950;
}

.ai-data-connector-panel__metric small[b-a8dnn88bsq] {
    color: #64748b;
    font-size: 11px;
    font-weight: 850;
}

.ai-data-connector-panel__signals[b-a8dnn88bsq] {
    display: grid;
    gap: 10px;
}

.ai-data-connector-panel__signal[b-a8dnn88bsq] {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.ai-data-connector-panel__signal strong[b-a8dnn88bsq] {
    color: #0f172a;
    font-size: 13px;
    font-weight: 950;
}

.ai-data-connector-panel__signal p[b-a8dnn88bsq] {
    margin: 5px 0 0;
    font-size: 12px;
}

.ai-data-connector-panel__signal small[b-a8dnn88bsq] {
    display: inline-flex;
    margin-top: 6px;
    color: #475569;
    font-size: 11px;
    font-weight: 850;
}

.ai-data-connector-panel__signal b[b-a8dnn88bsq] {
    color: #0f172a;
    font-size: 20px;
    font-weight: 950;
}

.ai-data-connector-panel .is-success[b-a8dnn88bsq] {
    border-color: #bbf7d0;
}

.ai-data-connector-panel .is-warning[b-a8dnn88bsq] {
    border-color: #fde68a;
}

.ai-data-connector-panel .is-danger[b-a8dnn88bsq] {
    border-color: #fecaca;
}

.ai-data-connector-panel__footer[b-a8dnn88bsq] {
    display: flex;
    justify-content: flex-end;
}

.ai-data-connector-panel__footer button[b-a8dnn88bsq] {
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 14px;
    background: #0369a1;
    color: #ffffff;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
}

@media (max-width: 1000px) {
    .ai-data-connector-panel__header[b-a8dnn88bsq],
    .ai-data-connector-panel__signal[b-a8dnn88bsq] {
        flex-direction: column;
        align-items: stretch;
    }

    .ai-data-connector-panel__metrics[b-a8dnn88bsq] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/AI/AiDecisionFunnel.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiDecisionFunnel.razor.css
*/

.ai-decision-funnel[b-c5sl8l5dgw] {
    display: grid;
    gap: 16px;
    padding: 22px;
    border-radius: 28px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 52px rgba(15, 23, 42, 0.18);
    color: #ffffff;
}

.ai-decision-funnel__header span[b-c5sl8l5dgw] {
    display: inline-flex;
    width: fit-content;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.14);
    color: #bae6fd;
    font-size: 12px;
    font-weight: 950;
}

.ai-decision-funnel__header h2[b-c5sl8l5dgw] {
    margin: 12px 0 0;
    font-size: 22px;
    font-weight: 950;
}

.ai-decision-funnel__header p[b-c5sl8l5dgw] {
    margin: 8px 0 0;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.9;
}

.ai-decision-funnel__steps[b-c5sl8l5dgw] {
    display: grid;
    gap: 10px;
}

.ai-decision-funnel__step[b-c5sl8l5dgw] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.ai-decision-funnel__step div[b-c5sl8l5dgw] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.ai-decision-funnel__step div span[b-c5sl8l5dgw] {
    font-size: 22px;
}

.ai-decision-funnel__step strong[b-c5sl8l5dgw] {
    font-size: 13px;
    font-weight: 950;
}

.ai-decision-funnel__step p[b-c5sl8l5dgw] {
    margin: 0;
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.7;
}

.ai-decision-funnel__step b[b-c5sl8l5dgw] {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.10);
    font-size: 18px;
    font-weight: 950;
}

@media (max-width: 820px) {
    .ai-decision-funnel__step[b-c5sl8l5dgw] {
        grid-template-columns: 1fr;
    }
}
.ai-decision-funnel__step[role="button"][b-c5sl8l5dgw]{cursor:pointer;transition:transform .18s ease,background .18s ease}.ai-decision-funnel__step[role="button"]:hover[b-c5sl8l5dgw]{transform:translateX(-4px);background:rgba(255,255,255,.12)}
/* /Components/Pages/AI/AiDecisionQueue.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiDecisionQueue.razor.css
*/

.ai-decision-queue[b-2bhim6qswu] {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.ai-decision-queue__header span[b-2bhim6qswu] {
    display: inline-flex;
    width: fit-content;
    padding: 7px 13px;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 12px;
    font-weight: 950;
}

.ai-decision-queue__header h3[b-2bhim6qswu] {
    margin: 10px 0 0;
    color: #0f172a;
    font-size: 20px;
    font-weight: 950;
}

.ai-decision-queue__list[b-2bhim6qswu] {
    display: grid;
    gap: 10px;
}

.ai-decision-queue__item[b-2bhim6qswu] {
    display: grid;
    gap: 12px;
    padding: 13px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.ai-decision-queue__item strong[b-2bhim6qswu] {
    color: #0f172a;
    font-size: 13px;
    font-weight: 950;
}

.ai-decision-queue__item p[b-2bhim6qswu] {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.8;
}

.ai-decision-queue__item footer[b-2bhim6qswu] {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.ai-decision-queue__item small[b-2bhim6qswu] {
    margin-inline-end: auto;
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
}

.ai-decision-queue__item button[b-2bhim6qswu] {
    min-height: 32px;
    padding: 0 10px;
    border: 0;
    border-radius: 11px;
    background: var(--erp-primary, #2563eb);
    color: var(--erp-on-brand, #ffffff);
    font-size: 11px;
    font-weight: 950;
}

.ai-decision-queue__item button.ghost[b-2bhim6qswu] {
    background: #e2e8f0;
    color: #334155;
}

.ai-decision-queue__item.is-danger[b-2bhim6qswu] {
    border-color: #fecaca;
}

.ai-decision-queue__item.is-warning[b-2bhim6qswu] {
    border-color: #fde68a;
}
/* /Components/Pages/AI/AiEnterpriseCommandBar.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiEnterpriseCommandBar.razor.css
*/

.ai-enterprise-command-bar[b-b3lwkyb53h] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 24px;
    background: light-dark(rgba(255, 255, 255, 0.82), rgba(15, 23, 42, 0.94));
    border: 1px solid light-dark(#e2e8f0, #334155);
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(18px);
    color: light-dark(#0f172a, #f8fafc);
}

.ai-enterprise-command-bar__search[b-b3lwkyb53h] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 18px;
    background: light-dark(#f8fafc, #111827);
    border: 1px solid light-dark(#e2e8f0, #334155);
    color: light-dark(#0f172a, #f8fafc);
}

.ai-enterprise-command-bar__search input[b-b3lwkyb53h] {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: light-dark(#0f172a, #f8fafc);
    font-size: 13px;
    font-weight: 800;
}

.ai-enterprise-command-bar__search input[b-b3lwkyb53h]::placeholder {
    color: light-dark(#64748b, #94a3b8);
    opacity: 1;
}

.ai-enterprise-command-bar__actions[b-b3lwkyb53h] {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ai-enterprise-command-bar__actions button[b-b3lwkyb53h] {
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid light-dark(#e2e8f0, #334155);
    border-radius: 15px;
    background: light-dark(#ffffff, #111827);
    color: light-dark(#334155, #e2e8f0);
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
}

.ai-enterprise-command-bar__actions button:hover:not(:disabled)[b-b3lwkyb53h],
.ai-enterprise-command-bar__actions button:focus-visible:not(:disabled)[b-b3lwkyb53h] {
    background: light-dark(#f1f5f9, #1e293b);
}

.ai-enterprise-command-bar__actions button.primary[b-b3lwkyb53h] {
    border-color: var(--erp-primary, #2563eb);
    background: var(--erp-primary, #2563eb);
    color: var(--erp-on-brand, #ffffff);
}

.ai-enterprise-command-bar__actions button:disabled[b-b3lwkyb53h] {
    opacity: .55;
    cursor: not-allowed;
}

@media (max-width: 1000px) {
    .ai-enterprise-command-bar[b-b3lwkyb53h] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/AI/AiEnterpriseHero.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiEnterpriseHero.razor.css
*/

.ai-enterprise-hero[b-j6k2ex36xv] {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    padding: 32px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 12% 20%, rgba(56, 189, 248, 0.28), transparent 28%),
        radial-gradient(circle at 86% 18%, rgba(167, 139, 250, 0.22), transparent 30%),
        linear-gradient(135deg, #0f172a, #1e293b 58%, #334155);
    color: #ffffff;
    box-shadow: 0 28px 76px rgba(15, 23, 42, 0.25);
}

.ai-enterprise-hero__eyebrow[b-j6k2ex36xv] {
    display: inline-flex;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #bae6fd;
    font-size: 12px;
    font-weight: 950;
}

.ai-enterprise-hero h1[b-j6k2ex36xv] {
    margin: 18px 0 0;
    font-size: 38px;
    font-weight: 950;
    letter-spacing: -1px;
}

.ai-enterprise-hero p[b-j6k2ex36xv] {
    max-width: 840px;
    margin: 14px 0 0;
    color: #dbeafe;
    font-size: 15px;
    font-weight: 700;
    line-height: 2;
}

.ai-enterprise-hero__actions[b-j6k2ex36xv] {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.ai-enterprise-hero__actions button[b-j6k2ex36xv] {
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 17px;
    background: #38bdf8;
    color: #082f49;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(56, 189, 248, 0.22);
}

.ai-enterprise-hero__actions button.secondary[b-j6k2ex36xv] {
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: none;
}

.ai-enterprise-hero__score[b-j6k2ex36xv] {
    display: grid;
    align-content: center;
    padding: 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(18px);
}

.ai-enterprise-hero__score span[b-j6k2ex36xv] {
    color: #bae6fd;
    font-size: 13px;
    font-weight: 950;
}

.ai-enterprise-hero__score strong[b-j6k2ex36xv] {
    margin-top: 10px;
    font-size: 64px;
    font-weight: 950;
    letter-spacing: -2px;
}

.ai-enterprise-hero__score small[b-j6k2ex36xv] {
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.9;
}

.ai-enterprise-hero__pulse[b-j6k2ex36xv] {
    display: grid;
    gap: 9px;
    margin-top: 22px;
}

.ai-enterprise-hero__pulse i[b-j6k2ex36xv] {
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, #38bdf8, var(--erp-accent, #a78bfa));
}

.ai-enterprise-hero__pulse i:nth-child(2)[b-j6k2ex36xv] {
    width: 88%;
}

.ai-enterprise-hero__pulse i:nth-child(3)[b-j6k2ex36xv] {
    width: 72%;
}

@media (max-width: 1100px) {
    .ai-enterprise-hero[b-j6k2ex36xv] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .ai-enterprise-hero[b-j6k2ex36xv] {
        padding: 22px;
        border-radius: 26px;
    }

    .ai-enterprise-hero h1[b-j6k2ex36xv] {
        font-size: 28px;
    }

    .ai-enterprise-hero__score strong[b-j6k2ex36xv] {
        font-size: 48px;
    }

    .ai-enterprise-hero__actions[b-j6k2ex36xv] {
        flex-direction: column;
    }
}
/* /Components/Pages/AI/AiExecutiveActionCenter.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiExecutiveActionCenter.razor.css
*/

.ai-executive-action-center[b-bz97d2v431] {
    display: grid;
    gap: 14px;
}

.ai-executive-action-center__header span[b-bz97d2v431] {
    display: inline-flex;
    width: fit-content;
    padding: 7px 13px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 12px;
    font-weight: 950;
}

.ai-executive-action-center__header h3[b-bz97d2v431] {
    margin: 10px 0 0;
    color: #0f172a;
    font-size: 21px;
    font-weight: 950;
}

.ai-executive-action-center__grid[b-bz97d2v431] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ai-executive-action-center__action[b-bz97d2v431] {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.ai-executive-action-center__action div[b-bz97d2v431] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-executive-action-center__action div span[b-bz97d2v431] {
    font-size: 22px;
}

.ai-executive-action-center__action strong[b-bz97d2v431] {
    color: #0f172a;
    font-size: 14px;
    font-weight: 950;
}

.ai-executive-action-center__action p[b-bz97d2v431] {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.8;
}

.ai-executive-action-center__action footer[b-bz97d2v431] {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.ai-executive-action-center__action small[b-bz97d2v431] {
    color: #64748b;
    font-size: 11px;
    font-weight: 850;
}

.ai-executive-action-center__action button[b-bz97d2v431] {
    min-height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: 12px;
    background: #0f172a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 950;
    cursor: pointer;
}

.ai-executive-action-center__action.is-warning[b-bz97d2v431] {
    border-color: #fde68a;
}

.ai-executive-action-center__action.is-danger[b-bz97d2v431] {
    border-color: #fecaca;
}

.ai-executive-action-center__action.is-success[b-bz97d2v431] {
    border-color: #bbf7d0;
}

.ai-executive-action-center__action.is-profit[b-bz97d2v431] {
    border-color: #ddd6fe;
}

.ai-executive-action-center__action.is-ai[b-bz97d2v431] {
    border-color: #bfdbfe;
}

@media (max-width: 900px) {
    .ai-executive-action-center__grid[b-bz97d2v431] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/AI/AiExecutiveControlCenter.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiExecutiveControlCenter.razor.css
*/

.ai-executive-control-center[b-riegt61y8l] {
    display: grid;
    gap: 18px;
    padding: 22px;
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.10), transparent 34%),
        radial-gradient(circle at bottom left, rgba(124, 58, 237, 0.09), transparent 30%),
        #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 22px 58px rgba(15, 23, 42, 0.08);
}

.ai-executive-control-center__header[b-riegt61y8l] {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.ai-executive-control-center__eyebrow[b-riegt61y8l] {
    display: inline-flex;
    width: fit-content;
    padding: 7px 13px;
    border-radius: 999px;
    background: #eef2ff;
    color: var(--erp-primary, #4f46e5);
    font-size: 12px;
    font-weight: 950;
}

.ai-executive-control-center h2[b-riegt61y8l] {
    margin: 12px 0 0;
    color: #0f172a;
    font-size: 25px;
    font-weight: 950;
}

.ai-executive-control-center p[b-riegt61y8l] {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.9;
}

.ai-executive-control-center__status[b-riegt61y8l] {
    display: grid;
    gap: 6px;
    min-width: 132px;
    padding: 14px;
    border-radius: 20px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.ai-executive-control-center__status span[b-riegt61y8l] {
    color: #166534;
    font-size: 12px;
    font-weight: 850;
}

.ai-executive-control-center__status strong[b-riegt61y8l] {
    color: #14532d;
    font-size: 22px;
    font-weight: 950;
}

.ai-executive-control-center__layout[b-riegt61y8l] {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
    gap: 16px;
    align-items: start;
}

.ai-executive-control-center__main[b-riegt61y8l],
.ai-executive-control-center__side[b-riegt61y8l] {
    display: grid;
    gap: 16px;
    min-width: 0;
}

@media (max-width: 1280px) {
    .ai-executive-control-center__layout[b-riegt61y8l] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .ai-executive-control-center[b-riegt61y8l] {
        padding: 16px;
        border-radius: 24px;
    }

    .ai-executive-control-center__header[b-riegt61y8l] {
        flex-direction: column;
    }
}
/* /Components/Pages/AI/AiExecutiveKpiStrip.razor.rz.scp.css */
.ai-executive-kpi-strip[b-9lrwvze6lm] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    min-width: 0;
}

.ai-executive-kpi-strip__card[b-9lrwvze6lm] {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-width: 0;
    min-height: 148px;
    padding: 20px 19px;
    border: 1px solid light-dark(#e2e8f0, #334155);
    border-radius: 24px;
    background: light-dark(#ffffff, #0f172a);
    color: light-dark(#0f172a, #f8fafc);
    box-shadow: 0 14px 34px rgba(15,23,42,.065);
}

.ai-executive-kpi-strip__card[b-9lrwvze6lm]::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    inset-block: 0;
    width: 6px;
    background: #38bdf8;
}

.ai-executive-kpi-strip__icon[b-9lrwvze6lm] {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 17px;
    background: light-dark(#f1f5f9, #1e293b);
    color: light-dark(#0f172a, #f8fafc);
    font-size: 24px;
}

.ai-executive-kpi-strip__content[b-9lrwvze6lm] {
    display: grid;
    align-content: center;
    gap: 7px;
    min-width: 0;
}

.ai-executive-kpi-strip__content span[b-9lrwvze6lm] {
    color: light-dark(#64748b, #cbd5e1);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.ai-executive-kpi-strip__content strong[b-9lrwvze6lm] {
    display: block;
    width: 100%;
    min-width: 0;
    color: light-dark(#0f172a, #f8fafc);
    font-size: clamp(20px, 1.65vw, 29px);
    line-height: 1.55;
    font-weight: 950;
    letter-spacing: -.45px;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    unicode-bidi: plaintext;
}

.ai-executive-kpi-strip__content small[b-9lrwvze6lm] {
    display: block;
    min-width: 0;
    color: light-dark(#475569, #94a3b8);
    font-size: 11px;
    line-height: 1.7;
    font-weight: 800;
    white-space: normal;
    overflow-wrap: anywhere;
}

.ai-executive-kpi-strip__card.is-success[b-9lrwvze6lm]::before { background:#10b981; }
.ai-executive-kpi-strip__card.is-profit[b-9lrwvze6lm]::before { background:var(--erp-accent, #8b5cf6); }
.ai-executive-kpi-strip__card.is-info[b-9lrwvze6lm]::before { background:#06b6d4; }
.ai-executive-kpi-strip__card.is-warning[b-9lrwvze6lm]::before { background:#f59e0b; }
.ai-executive-kpi-strip__card.is-danger[b-9lrwvze6lm]::before { background:#ef4444; }

.ai-executive-kpi-strip__card.is-ai[b-9lrwvze6lm] {
    border-color: rgba(255,255,255,.14);
    background: linear-gradient(135deg,#0f172a,#1e293b);
    color:#fff;
}

.ai-executive-kpi-strip__card.is-ai .ai-executive-kpi-strip__icon[b-9lrwvze6lm] { background:rgba(255,255,255,.10); color:#fff; }
.ai-executive-kpi-strip__card.is-ai span[b-9lrwvze6lm],
.ai-executive-kpi-strip__card.is-ai small[b-9lrwvze6lm] { color:#cbd5e1; }
.ai-executive-kpi-strip__card.is-ai strong[b-9lrwvze6lm] { color:#fff; }

.ai-executive-kpi-strip__card[role="button"][b-9lrwvze6lm] { cursor:pointer; transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease; }
.ai-executive-kpi-strip__card[role="button"]:hover[b-9lrwvze6lm] { transform:translateY(-3px); box-shadow:0 20px 44px rgba(15,23,42,.12); border-color:light-dark(#cbd5e1,#475569); }
.ai-executive-kpi-strip__card[role="button"]:focus-visible[b-9lrwvze6lm] { outline:3px solid rgba(37,99,235,.25); outline-offset:2px; }

@media (max-width: 1050px) {
    .ai-executive-kpi-strip[b-9lrwvze6lm] { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 640px) {
    .ai-executive-kpi-strip[b-9lrwvze6lm] { grid-template-columns:1fr; gap:12px; }
    .ai-executive-kpi-strip__card[b-9lrwvze6lm] { min-height:132px; padding:17px; }
    .ai-executive-kpi-strip__content strong[b-9lrwvze6lm] { font-size:clamp(21px,7vw,28px); }
}
/* /Components/Pages/AI/AiExecutiveKpiWall.razor.rz.scp.css */
.ai-executive-kpi-wall[b-l0qwdgj2mh] {
    display: grid;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.ai-executive-kpi-wall__header[b-l0qwdgj2mh] {
    min-width: 0;
}

.ai-executive-kpi-wall__header span[b-l0qwdgj2mh] {
    display: inline-flex;
    width: fit-content;
    padding: 7px 13px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 950;
}

.ai-executive-kpi-wall__header h3[b-l0qwdgj2mh] {
    margin: 10px 0 0;
    color: #0f172a;
    font-size: 21px;
    font-weight: 950;
}

.ai-executive-kpi-wall__grid[b-l0qwdgj2mh] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.ai-executive-kpi-wall__item[b-l0qwdgj2mh] {
    display: grid;
    grid-template-rows: auto minmax(76px, auto) auto 7px;
    align-content: stretch;
    gap: 10px;
    width: 100%;
    min-width: 0;
    min-height: 198px;
    padding: 17px 13px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #f8fafc;
}

.ai-executive-kpi-wall__top[b-l0qwdgj2mh] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.ai-executive-kpi-wall__top > span[b-l0qwdgj2mh] {
    flex: 0 0 auto;
    font-size: 21px;
    line-height: 1;
}

.ai-executive-kpi-wall__top small[b-l0qwdgj2mh] {
    min-width: 0;
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.ai-executive-kpi-wall__value[b-l0qwdgj2mh] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    color: #0f172a;
    font-size: clamp(25px, 2vw, 34px);
    font-weight: 950;
    line-height: 1.15;
}

.ai-executive-kpi-wall__money[b-l0qwdgj2mh] {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 6px;
    width: 100%;
    min-width: 0;
    min-height: 76px;
    direction: rtl;
    text-align: center;
}

.ai-executive-kpi-wall__money-value[b-l0qwdgj2mh] {
    display: block;
    width: 100%;
    min-width: 0;
    direction: ltr;
    unicode-bidi: isolate;
    color: #0f172a;
    font-size: clamp(25px, 1.9vw, 36px);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.65px;
    font-variant-numeric: tabular-nums;
    text-align: center;
    white-space: nowrap;
}

.ai-executive-kpi-wall__money-unit[b-l0qwdgj2mh] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    width: 100%;
    min-width: 0;
    color: #475569;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
}

.ai-executive-kpi-wall__item p[b-l0qwdgj2mh] {
    margin: 0;
    color: #475569;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.6;
    overflow-wrap: anywhere;
    text-align: center;
}

.ai-executive-kpi-wall__progress[b-l0qwdgj2mh] {
    align-self: end;
    overflow: hidden;
    width: 100%;
    height: 7px;
    border-radius: 999px;
    background: #e2e8f0;
}

.ai-executive-kpi-wall__progress i[b-l0qwdgj2mh] {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #38bdf8;
    transition: width 180ms ease;
}

.ai-executive-kpi-wall__item.is-success[b-l0qwdgj2mh] {
    border-color: #bbf7d0;
}

.ai-executive-kpi-wall__item.is-success .ai-executive-kpi-wall__progress i[b-l0qwdgj2mh] {
    background: #22c55e;
}

.ai-executive-kpi-wall__item.is-info[b-l0qwdgj2mh] {
    border-color: #bae6fd;
}

.ai-executive-kpi-wall__item.is-warning[b-l0qwdgj2mh] {
    border-color: #fde68a;
}

.ai-executive-kpi-wall__item.is-warning .ai-executive-kpi-wall__progress i[b-l0qwdgj2mh] {
    background: #f59e0b;
}

.ai-executive-kpi-wall__item.is-danger[b-l0qwdgj2mh] {
    border-color: #fecaca;
}

.ai-executive-kpi-wall__item.is-danger .ai-executive-kpi-wall__progress i[b-l0qwdgj2mh] {
    background: #ef4444;
}

@media (max-width: 1180px) {
    .ai-executive-kpi-wall__grid[b-l0qwdgj2mh] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ai-executive-kpi-wall__item[b-l0qwdgj2mh] {
        min-height: 184px;
        padding-inline: 16px;
    }

    .ai-executive-kpi-wall__money-value[b-l0qwdgj2mh] {
        font-size: clamp(28px, 3.4vw, 42px);
    }
}

@media (max-width: 680px) {
    .ai-executive-kpi-wall__grid[b-l0qwdgj2mh] {
        grid-template-columns: 1fr;
    }

    .ai-executive-kpi-wall__item[b-l0qwdgj2mh] {
        min-height: 174px;
        padding: 16px;
    }

    .ai-executive-kpi-wall__money-value[b-l0qwdgj2mh] {
        font-size: clamp(30px, 10vw, 42px);
    }

    .ai-executive-kpi-wall__money-unit[b-l0qwdgj2mh] {
        font-size: 15px;
    }
}
/* /Components/Pages/AI/AiExecutiveTimeline.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiExecutiveTimeline.razor.css
*/

.ai-executive-timeline[b-awfjjb4q1d] {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.ai-executive-timeline__header span[b-awfjjb4q1d] {
    display: inline-flex;
    width: fit-content;
    padding: 7px 13px;
    border-radius: 999px;
    background: #f5f3ff;
    color: #6d28d9;
    font-size: 12px;
    font-weight: 950;
}

.ai-executive-timeline__header h3[b-awfjjb4q1d] {
    margin: 10px 0 0;
    color: #0f172a;
    font-size: 20px;
    font-weight: 950;
}

.ai-executive-timeline__items[b-awfjjb4q1d] {
    display: grid;
    gap: 10px;
}

.ai-executive-timeline__items article[b-awfjjb4q1d] {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
    border-radius: 17px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.ai-executive-timeline__items time[b-awfjjb4q1d] {
    color: var(--erp-primary, #2563eb);
    font-size: 12px;
    font-weight: 950;
}

.ai-executive-timeline__items strong[b-awfjjb4q1d] {
    color: #0f172a;
    font-size: 13px;
    font-weight: 950;
}

.ai-executive-timeline__items p[b-awfjjb4q1d] {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.7;
}
/* /Components/Pages/AI/AiForecastCard.razor.rz.scp.css */
.ai-forecast-card[b-1cbjddsimh] {
    display: grid;
    gap: 28px;
    width: 100%;
    min-width: 0;
    padding: 24px;
    border: 1px solid rgba(226, 232, 240, .95);
    border-radius: 28px;
    background: radial-gradient(circle at top right, rgba(14, 165, 233, .12), transparent 34%), linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .96));
    box-shadow: 0 18px 46px rgba(15, 23, 42, .08);
    color: #0f172a;
}

.ai-forecast-card[b-1cbjddsimh],
.ai-forecast-card *[b-1cbjddsimh] {
    box-sizing: border-box;
}

.ai-forecast-card__header[b-1cbjddsimh] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    min-width: 0;
    margin-bottom: 4px;
}

.ai-forecast-card__header > div:first-child[b-1cbjddsimh] {
    min-width: 0;
}

.ai-forecast-card__eyebrow[b-1cbjddsimh] {
    display: inline-flex;
    width: fit-content;
    padding: 7px 13px;
    border-radius: 999px;
    background: #ecfeff;
    color: #0891b2;
    font-size: 12px;
    font-weight: 950;
}

.ai-forecast-card__header h2[b-1cbjddsimh] {
    margin: 12px 0 0;
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 950;
    letter-spacing: -.4px;
}

.ai-forecast-card__header p[b-1cbjddsimh] {
    max-width: 760px;
    margin: 9px 0 0;
    color: #64748b;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.9;
}

.ai-forecast-card__confidence[b-1cbjddsimh] {
    display: grid;
    place-items: center;
    flex: 0 0 160px;
    min-height: 124px;
    padding: 16px;
    border-radius: 22px;
    background: linear-gradient(135deg, #0f172a, #1e3a5f);
    color: #fff;
    text-align: center;
}

.ai-forecast-card__confidence span[b-1cbjddsimh] {
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 800;
}

.ai-forecast-card__confidence strong[b-1cbjddsimh] {
    margin-top: 5px;
    font-size: 34px;
    font-weight: 950;
    white-space: nowrap;
}

.ai-forecast-card__confidence small[b-1cbjddsimh] {
    margin-top: 3px;
    color: #bae6fd;
    font-size: 10px;
    font-weight: 800;
}

.ai-forecast-card__body[b-1cbjddsimh] {
    display: grid;
    grid-template-columns: minmax(330px, .78fr) minmax(520px, 1.22fr);
    gap: 18px;
    align-items: stretch;
    min-width: 0;
}

.ai-forecast-card__summary[b-1cbjddsimh] {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 16px;
    min-width: 0;
}

.ai-forecast-card__main[b-1cbjddsimh] {
    display: grid;
    align-content: center;
    min-width: 0;
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #fff;
}

.ai-forecast-card__main > span[b-1cbjddsimh] {
    color: #64748b;
    font-size: 13px;
    font-weight: 850;
}

.ai-forecast-card__main > strong[b-1cbjddsimh] {
    margin-top: 10px;
    color: #0f172a;
    font-size: clamp(25px, 2.1vw, 36px);
    line-height: 1.5;
    font-weight: 950;
    letter-spacing: -.6px;
    white-space: nowrap;
}

.ai-forecast-card__main > small[b-1cbjddsimh] {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin-top: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1.7;
    font-style: normal;
    font-weight: 950;
    white-space: normal;
}

.ai-forecast-card .is-positive[b-1cbjddsimh] {
    color: #059669;
}

.ai-forecast-card .is-negative[b-1cbjddsimh] {
    color: #dc2626;
}

.ai-forecast-card .is-neutral[b-1cbjddsimh] {
    color: #64748b;
}

.ai-forecast-card__main > small.is-positive[b-1cbjddsimh] {
    background: #ecfdf5;
}

.ai-forecast-card__main > small.is-negative[b-1cbjddsimh] {
    background: #fef2f2;
}

.ai-forecast-card__main > small.is-neutral[b-1cbjddsimh] {
    background: #f1f5f9;
}

.ai-forecast-card__summary-kpis[b-1cbjddsimh] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.ai-forecast-card__summary-kpis > div[b-1cbjddsimh] {
    display: grid;
    align-content: center;
    gap: 5px;
    min-width: 0;
    min-height: 78px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    background: #f8fafc;
}

.ai-forecast-card__summary-kpis span[b-1cbjddsimh] {
    color: #64748b;
    font-size: 10px;
    font-weight: 850;
}

.ai-forecast-card__summary-kpis strong[b-1cbjddsimh] {
    overflow: hidden;
    color: #0f172a;
    font-size: 13px;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ai-forecast-card__summary-kpis small[b-1cbjddsimh] {
    overflow: hidden;
    color: #64748b;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ai-forecast-card__metrics[b-1cbjddsimh] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #fff;
}

.ai-forecast-card__metrics > div[b-1cbjddsimh] {
    display: grid;
    gap: 7px;
    min-width: 0;
    padding: 16px;
}

.ai-forecast-card__metrics > div + div[b-1cbjddsimh] {
    border-right: 1px solid #e2e8f0;
}

.ai-forecast-card__metrics span[b-1cbjddsimh] {
    color: #64748b;
    font-size: 11px;
    font-weight: 850;
}

.ai-forecast-card__metrics strong[b-1cbjddsimh] {
    overflow: hidden;
    color: #0f172a;
    font-size: 15px;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ai-forecast-card__insights[b-1cbjddsimh] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    min-width: 0;
}

.ai-forecast-card__insight[b-1cbjddsimh] {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-width: 0;
    min-height: 130px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
}

.ai-forecast-card__insight > span[b-1cbjddsimh] {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: #f8fafc;
}

.ai-forecast-card__insight > div[b-1cbjddsimh] {
    min-width: 0;
    width: 100%;
}

.ai-forecast-card__insight-title[b-1cbjddsimh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ai-forecast-card__insight strong[b-1cbjddsimh] {
    color: #0f172a;
    font-size: 13px;
    font-weight: 950;
}

.ai-forecast-card__insight em[b-1cbjddsimh] {
    flex: 0 0 auto;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 9px;
    font-style: normal;
    font-weight: 950;
}

.ai-forecast-card__insight p[b-1cbjddsimh] {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.ai-forecast-card__insight.is-success[b-1cbjddsimh] {
    border-color: rgba(16, 185, 129, .3);
}

.ai-forecast-card__insight.is-success em[b-1cbjddsimh] {
    background: #ecfdf5;
    color: #059669;
}

.ai-forecast-card__insight.is-warning[b-1cbjddsimh] {
    border-color: rgba(245, 158, 11, .32);
}

.ai-forecast-card__insight.is-warning em[b-1cbjddsimh] {
    background: #fffbeb;
    color: #d97706;
}

.ai-forecast-card__insight.is-info[b-1cbjddsimh] {
    border-color: rgba(14, 165, 233, .3);
}

.ai-forecast-card__insight.is-info em[b-1cbjddsimh] {
    background: #eff6ff;
    color: var(--erp-primary, #2563eb);
}

.ai-forecast-card__insight.is-danger[b-1cbjddsimh] {
    border-color: rgba(239, 68, 68, .28);
}

.ai-forecast-card__insight.is-danger em[b-1cbjddsimh] {
    background: #fef2f2;
    color: #dc2626;
}

.ai-forecast-card__empty[b-1cbjddsimh] {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 180px;
    padding: 24px;
    border: 1px dashed #cbd5e1;
    border-radius: 20px;
    background: #fff;
}

.ai-forecast-card__empty > span[b-1cbjddsimh] {
    font-size: 34px;
    color: #94a3b8;
}

.ai-forecast-card__empty strong[b-1cbjddsimh] {
    color: #334155;
    font-size: 14px;
    font-weight: 950;
}

.ai-forecast-card__empty p[b-1cbjddsimh] {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.8;
}

.ai-forecast-card__loading[b-1cbjddsimh] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 180px;
}

.ai-forecast-card__loading span[b-1cbjddsimh] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #0ea5e9;
    animation: ai-forecast-loading-b-1cbjddsimh 1s infinite ease-in-out;
}

.ai-forecast-card__loading span:nth-child(2)[b-1cbjddsimh] {
    animation-delay: .15s;
}

.ai-forecast-card__loading span:nth-child(3)[b-1cbjddsimh] {
    animation-delay: .3s;
}

@keyframes ai-forecast-loading-b-1cbjddsimh {
    0%, 100% {
        opacity: .35;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-5px);
    }
}

@media (max-width: 1300px) {
    .ai-forecast-card__body[b-1cbjddsimh] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .ai-forecast-card__header[b-1cbjddsimh] {
        flex-direction: column;
    }

    .ai-forecast-card__confidence[b-1cbjddsimh] {
        width: 100%;
        flex-basis: auto;
    }

    .ai-forecast-card__insights[b-1cbjddsimh] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .ai-forecast-card[b-1cbjddsimh] {
        gap: 20px;
        padding: 18px;
        border-radius: 22px;
    }

    .ai-forecast-card__main[b-1cbjddsimh] {
        padding: 18px;
    }

    .ai-forecast-card__summary-kpis[b-1cbjddsimh],
    .ai-forecast-card__metrics[b-1cbjddsimh] {
        grid-template-columns: 1fr;
    }

    .ai-forecast-card__metrics > div + div[b-1cbjddsimh] {
        border-top: 1px solid #e2e8f0;
        border-right: 0;
    }
}
/* /Components/Pages/AI/AiForecastChart.razor.rz.scp.css */
.ai-forecast-chart[b-y0oxe51wa7] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 18px;
    width: 100%;
    min-width: 0;
    min-height: 350px;
    padding: 22px;
    overflow: visible;
    border: 1px solid #dfe7f2;
    border-radius: 24px;
    background: #fff;
}

.ai-forecast-chart[b-y0oxe51wa7],
.ai-forecast-chart *[b-y0oxe51wa7] { box-sizing: border-box; }

.ai-forecast-chart__header[b-y0oxe51wa7] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    min-width: 0;
}

.ai-forecast-chart__header > div:first-child[b-y0oxe51wa7] { display: grid; gap: 4px; }
.ai-forecast-chart__header strong[b-y0oxe51wa7] { color: #0f172a; font-size: 16px; font-weight: 950; }
.ai-forecast-chart__header span[b-y0oxe51wa7] { color: #64748b; font-size: 11px; font-weight: 800; }

.ai-forecast-chart__legend[b-y0oxe51wa7] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #475569;
    font-size: 11px;
    font-weight: 850;
    white-space: nowrap;
}

.ai-forecast-chart__legend i[b-y0oxe51wa7] {
    width: 10px;
    height: 10px;
    border-radius: 4px;
    background: linear-gradient(180deg, #22d3ee, var(--erp-primary, #2563eb));
}

.ai-forecast-chart__bars[b-y0oxe51wa7] {
    position: relative;
    display: grid;
    grid-template-columns: repeat(7, minmax(42px, 1fr));
    align-items: stretch;
    gap: clamp(10px, 1.5vw, 20px);
    min-width: 0;
    height: 270px;
    padding: 8px 8px 0;
    border-bottom: 1px solid #dfe7f2;
    background: repeating-linear-gradient(to top, transparent 0, transparent 64px, rgba(226,232,240,.72) 65px);
}

.ai-forecast-chart__bar[b-y0oxe51wa7] {
    display: grid;
    grid-template-rows: 24px minmax(0, 1fr) 28px;
    gap: 7px;
    min-width: 0;
    height: 100%;
}

.ai-forecast-chart__value[b-y0oxe51wa7] {
    overflow: hidden;
    color: #334155;
    font-size: 10px;
    font-weight: 900;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ai-forecast-chart__track[b-y0oxe51wa7] {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 0;
    height: 100%;
}

.ai-forecast-chart__column[b-y0oxe51wa7] {
    position: relative;
    display: block;
    width: min(54px, 76%);
    height: var(--forecast-height, 12%);
    min-height: 14px;
    max-height: 100%;
    border-radius: 14px 14px 6px 6px;
    background: linear-gradient(180deg, #22d3ee 0%, var(--erp-primary, #2563eb) 100%);
    box-shadow: 0 12px 24px rgba(37,99,235,.18);
    transition: height .28s ease, transform .18s ease, filter .18s ease;
}

.ai-forecast-chart__column.is-negative[b-y0oxe51wa7] { background: linear-gradient(180deg, #38bdf8 0%, var(--erp-primary, #4f46e5) 100%); }
.ai-forecast-chart__column.is-neutral[b-y0oxe51wa7] { background: linear-gradient(180deg, #67e8f9 0%, var(--erp-primary, #3b82f6) 100%); }
.ai-forecast-chart__bar:hover .ai-forecast-chart__column[b-y0oxe51wa7] { transform: translateY(-4px); filter: saturate(1.12); }

.ai-forecast-chart__tooltip[b-y0oxe51wa7] {
    position: absolute;
    z-index: 20;
    inset-inline-start: 50%;
    bottom: calc(100% + 10px);
    display: grid;
    gap: 5px;
    width: max-content;
    min-width: 170px;
    max-width: 230px;
    padding: 10px 12px;
    border: 1px solid rgba(148,163,184,.24);
    border-radius: 12px;
    background: rgba(15,23,42,.97);
    box-shadow: 0 14px 35px rgba(15,23,42,.24);
    color: #fff;
    font-size: 10px;
    line-height: 1.7;
    pointer-events: none;
    opacity: 0;
    transform: translateX(50%) translateY(5px);
    transition: opacity .16s ease, transform .16s ease;
}

.ai-forecast-chart__tooltip b[b-y0oxe51wa7] { font-size: 11px; }
.ai-forecast-chart__tooltip span[b-y0oxe51wa7] { color: #e2e8f0; }
.ai-forecast-chart__tooltip .is-positive[b-y0oxe51wa7] { color: #6ee7b7; }
.ai-forecast-chart__tooltip .is-negative[b-y0oxe51wa7] { color: #fca5a5; }
.ai-forecast-chart__column:hover .ai-forecast-chart__tooltip[b-y0oxe51wa7] { opacity: 1; transform: translateX(50%) translateY(0); }

.ai-forecast-chart__bar small[b-y0oxe51wa7] {
    display: block;
    width: 100%;
    overflow: hidden;
    color: #475569;
    font-size: 11px;
    font-weight: 900;
    line-height: 20px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ai-forecast-chart__empty[b-y0oxe51wa7] {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    min-height: 250px;
    padding: 24px;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    background: linear-gradient(135deg, #f8fafc, #fff);
    color: #64748b;
    text-align: center;
}

.ai-forecast-chart__empty-icon[b-y0oxe51wa7] { font-size: 34px; }
.ai-forecast-chart__empty strong[b-y0oxe51wa7] { color: #334155; font-size: 14px; font-weight: 950; }
.ai-forecast-chart__empty small[b-y0oxe51wa7] { max-width: 440px; font-size: 11px; line-height: 1.9; font-weight: 700; }

@media (max-width: 760px) {
    .ai-forecast-chart[b-y0oxe51wa7] { min-height: 300px; padding: 16px; overflow-x: auto; }
    .ai-forecast-chart__header[b-y0oxe51wa7] { min-width: 580px; }
    .ai-forecast-chart__bars[b-y0oxe51wa7] { min-width: 580px; grid-template-columns: repeat(7, minmax(54px, 1fr)); gap: 8px; height: 220px; padding-inline: 0; }
    .ai-forecast-chart__column[b-y0oxe51wa7] { width: min(40px, 78%); }
    .ai-forecast-chart__bar small[b-y0oxe51wa7] { font-size: 9px; }
}
/* /Components/Pages/AI/AiGlobalHealthMonitor.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiGlobalHealthMonitor.razor.css
*/

.ai-global-health-monitor[b-com4a9czza] {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.ai-global-health-monitor__header span[b-com4a9czza] {
    display: inline-flex;
    width: fit-content;
    padding: 7px 13px;
    border-radius: 999px;
    background: #f0f9ff;
    color: #0369a1;
    font-size: 12px;
    font-weight: 950;
}

.ai-global-health-monitor__header h3[b-com4a9czza] {
    margin: 10px 0 0;
    color: #0f172a;
    font-size: 20px;
    font-weight: 950;
}

.ai-global-health-monitor__list[b-com4a9czza] {
    display: grid;
    gap: 9px;
}

.ai-global-health-monitor__item[b-com4a9czza] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 17px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.ai-global-health-monitor__item strong[b-com4a9czza] {
    color: #0f172a;
    font-size: 13px;
    font-weight: 950;
}

.ai-global-health-monitor__item small[b-com4a9czza] {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 11px;
    font-weight: 850;
}

.ai-global-health-monitor__item span[b-com4a9czza] {
    font-size: 18px;
    font-weight: 950;
}

.ai-global-health-monitor__item.is-success[b-com4a9czza] {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.ai-global-health-monitor__item.is-warning[b-com4a9czza] {
    border-color: #fde68a;
    background: #fffbeb;
}

.ai-global-health-monitor__item.is-ai[b-com4a9czza] {
    border-color: #bfdbfe;
    background: #eff6ff;
}
/* /Components/Pages/AI/AiHealthScore.razor.rz.scp.css */
.ai-health-card[b-o6kth7q6m2] {
    padding: 26px;
    border-radius: 28px;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.07);
}

.ai-health-main[b-o6kth7q6m2] {
    display: flex;
    align-items: center;
    gap: 22px;
}

.ai-health-circle[b-o6kth7q6m2] {
    width: 104px;
    height: 104px;
    border-radius: 32px;
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    color: var(--erp-on-brand, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    font-weight: 950;
}

.ai-health-main h3[b-o6kth7q6m2] {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 950;
    color: #0f172a;
}

.ai-health-main p[b-o6kth7q6m2] {
    margin: 0;
    color: #64748b;
    line-height: 2;
}

.ai-health-progress[b-o6kth7q6m2] {
    margin-top: 22px;
}

@media (max-width: 700px) {
    .ai-health-main[b-o6kth7q6m2] {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* /Components/Pages/AI/AiInsightCenter.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiInsightCenter.razor.css
*/

.ai-insight-center[b-skoptyvolw] {
    display: grid;
    gap: 20px;
    padding: 24px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(139, 92, 246, 0.12), transparent 35%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94));
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
    color: #0f172a;
}

.ai-insight-center__header[b-skoptyvolw] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
}

.ai-insight-center__eyebrow[b-skoptyvolw] {
    display: inline-flex;
    width: fit-content;
    padding: 7px 13px;
    border-radius: 999px;
    background: #f5f3ff;
    color: var(--erp-accent, #7c3aed);
    font-size: 12px;
    font-weight: 950;
}

.ai-insight-center__header h2[b-skoptyvolw] {
    margin: 12px 0 0;
    color: #0f172a;
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -0.4px;
}

.ai-insight-center__header p[b-skoptyvolw] {
    max-width: 760px;
    margin: 9px 0 0;
    color: #64748b;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.9;
}

.ai-insight-center__meta[b-skoptyvolw] {
    display: grid;
    gap: 6px;
    min-width: 170px;
    padding: 14px 16px;
    border-radius: 20px;
    background: #0f172a;
    color: #ffffff;
}

.ai-insight-center__meta span[b-skoptyvolw] {
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 800;
}

.ai-insight-center__meta strong[b-skoptyvolw] {
    font-size: 14px;
    font-weight: 950;
}

.ai-insight-center__tabs[b-skoptyvolw] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ai-insight-center__tab[b-skoptyvolw] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #ffffff;
    color: #475569;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.ai-insight-center__tab.is-active[b-skoptyvolw] {
    border-color: var(--erp-primary, #2563eb);
    background: #eff6ff;
    color: #1d4ed8;
}

.ai-insight-center__grid[b-skoptyvolw] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ai-insight-center__footer[b-skoptyvolw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 2px;
}

.ai-insight-center__selected[b-skoptyvolw] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.ai-insight-center__selected strong[b-skoptyvolw] {
    color: #0f172a;
    font-weight: 950;
}

.ai-insight-center__refresh[b-skoptyvolw] {
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 16px;
    background: var(--erp-primary, #2563eb);
    color: var(--erp-on-brand, #ffffff);
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.22);
}

@media (max-width: 1100px) {
    .ai-insight-center__grid[b-skoptyvolw] {
        grid-template-columns: 1fr;
    }

    .ai-insight-center__header[b-skoptyvolw] {
        flex-direction: column;
    }

    .ai-insight-center__meta[b-skoptyvolw] {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .ai-insight-center[b-skoptyvolw] {
        padding: 18px;
        border-radius: 22px;
    }

    .ai-insight-center__footer[b-skoptyvolw] {
        align-items: stretch;
        flex-direction: column;
    }

    .ai-insight-center__selected[b-skoptyvolw],
    .ai-insight-center__refresh[b-skoptyvolw] {
        width: 100%;
    }
}
/* /Components/Pages/AI/AiInsightItem.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiInsightItem.razor.css
*/

.ai-insight-item[b-75257hy07e] {
    display: grid;
    gap: 14px;
    min-height: 250px;
    padding: 18px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
}

.ai-insight-item__header[b-75257hy07e] {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.ai-insight-item__level-icon[b-75257hy07e] {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: #f8fafc;
    font-size: 21px;
}

.ai-insight-item__title[b-75257hy07e] {
    flex: 1;
    min-width: 0;
}

.ai-insight-item__title h3[b-75257hy07e] {
    margin: 0;
    color: #0f172a;
    font-size: 16px;
    font-weight: 950;
}

.ai-insight-item__title span[b-75257hy07e] {
    display: inline-flex;
    margin-top: 7px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 900;
}

.ai-insight-item__summary[b-75257hy07e] {
    margin: 0;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.9;
}

.ai-insight-item__recommendation[b-75257hy07e] {
    padding: 14px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.ai-insight-item__recommendation strong[b-75257hy07e] {
    color: #0f172a;
    font-size: 13px;
    font-weight: 950;
}

.ai-insight-item__recommendation p[b-75257hy07e] {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.85;
}

.ai-insight-item__actions[b-75257hy07e] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.ai-insight-item__actions button[b-75257hy07e] {
    min-height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 14px;
    background: #0f172a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
}

.ai-insight-item__actions span[b-75257hy07e] {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

.ai-insight-item.is-success[b-75257hy07e] {
    border-color: rgba(16, 185, 129, 0.26);
}

.ai-insight-item.is-success .ai-insight-item__level-icon[b-75257hy07e] {
    background: #ecfdf5;
}

.ai-insight-item.is-warning[b-75257hy07e] {
    border-color: rgba(245, 158, 11, 0.3);
}

.ai-insight-item.is-warning .ai-insight-item__level-icon[b-75257hy07e] {
    background: #fffbeb;
}

.ai-insight-item.is-danger[b-75257hy07e] {
    border-color: rgba(239, 68, 68, 0.28);
}

.ai-insight-item.is-danger .ai-insight-item__level-icon[b-75257hy07e] {
    background: #fef2f2;
}

.ai-insight-item.is-info[b-75257hy07e] {
    border-color: rgba(14, 165, 233, 0.28);
}

.ai-insight-item.is-info .ai-insight-item__level-icon[b-75257hy07e] {
    background: #ecfeff;
}

@media (max-width: 720px) {
    .ai-insight-item[b-75257hy07e] {
        padding: 16px;
        border-radius: 20px;
    }

    .ai-insight-item__actions[b-75257hy07e] {
        align-items: stretch;
        flex-direction: column;
    }

    .ai-insight-item__actions button[b-75257hy07e] {
        width: 100%;
    }
}
/* /Components/Pages/AI/AiInventoryCard.razor.rz.scp.css */
.ai-analysis-card[b-05riahpi46] {
    padding: 24px;
    border-radius: 24px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
    transition: 0.25s ease;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.ai-analysis-card:hover[b-05riahpi46] {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.10);
}

.ai-card-icon[b-05riahpi46] {
    min-width: 58px;
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: #ecfdf5;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-card-icon span[b-05riahpi46] {
    font-size: 24px;
    font-weight: 950;
}

.ai-card-content[b-05riahpi46] {
    flex: 1;
    min-width: 0;
}

.ai-card-content h3[b-05riahpi46] {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 950;
}

.ai-card-content p[b-05riahpi46] {
    margin: 0;
    color: #64748b;
    line-height: 1.9;
    font-size: 14px;
}

.ai-card-action[b-05riahpi46] {
    height: 38px;
    padding: 0 16px;
    border-radius: 12px;
    border: 0;
    background: #ecfdf5;
    color: #16a34a;
    font-family: inherit;
    font-weight: 900;
    cursor: pointer;
}
/* /Components/Pages/AI/AiKpiCard.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiKpiCard.razor.css
*/

.ai-kpi-card[b-n28porklb9] {
    display: grid;
    gap: 15px;
    min-height: 210px;
    padding: 18px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
    color: #0f172a;
}

.ai-kpi-card__header[b-n28porklb9] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ai-kpi-card__icon[b-n28porklb9] {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 17px;
    background: #f8fafc;
    font-size: 22px;
}

.ai-kpi-card__title[b-n28porklb9] {
    min-width: 0;
}

.ai-kpi-card__title h3[b-n28porklb9] {
    margin: 0;
    font-size: 15px;
    font-weight: 950;
    color: #0f172a;
}

.ai-kpi-card__title span[b-n28porklb9] {
    display: inline-flex;
    margin-top: 7px;
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}

.ai-kpi-card__value[b-n28porklb9] {
    color: #0f172a;
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -0.5px;
}

.ai-kpi-card__trend[b-n28porklb9] {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 7px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
}

.ai-kpi-card__trend.is-positive[b-n28porklb9] {
    background: #ecfdf5;
    color: #059669;
}

.ai-kpi-card__trend.is-negative[b-n28porklb9] {
    background: #fef2f2;
    color: #dc2626;
}

.ai-kpi-card__trend.is-warning[b-n28porklb9] {
    background: #fffbeb;
    color: #d97706;
}

.ai-kpi-card__trend.is-neutral[b-n28porklb9] {
    background: #f1f5f9;
    color: #475569;
}

.ai-kpi-card__footer[b-n28porklb9] {
    display: grid;
    gap: 7px;
    margin-top: auto;
}

.ai-kpi-card__footer > span[b-n28porklb9],
.ai-kpi-card__footer > strong[b-n28porklb9] {
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}

.ai-kpi-card__score[b-n28porklb9] {
    overflow: hidden;
    height: 8px;
    border-radius: 999px;
    background: #e2e8f0;
}

.ai-kpi-card__score i[b-n28porklb9] {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #38bdf8, var(--erp-primary, #2563eb));
}

.ai-kpi-card.is-success[b-n28porklb9] {
    border-color: rgba(16, 185, 129, 0.26);
}

.ai-kpi-card.is-warning[b-n28porklb9] {
    border-color: rgba(245, 158, 11, 0.3);
}

.ai-kpi-card.is-danger[b-n28porklb9] {
    border-color: rgba(239, 68, 68, 0.28);
}

.ai-kpi-card.is-info[b-n28porklb9] {
    border-color: rgba(14, 165, 233, 0.28);
}
/* /Components/Pages/AI/AiKpiCenter.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiKpiCenter.razor.css
*/

.ai-kpi-center[b-t6iyl7elbp] {
    display: grid;
    gap: 20px;
    padding: 24px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94));
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
    color: #0f172a;
}

.ai-kpi-center__header[b-t6iyl7elbp] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.ai-kpi-center__eyebrow[b-t6iyl7elbp] {
    display: inline-flex;
    width: fit-content;
    padding: 7px 13px;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--erp-primary, #2563eb);
    font-size: 12px;
    font-weight: 950;
}

.ai-kpi-center__header h2[b-t6iyl7elbp] {
    margin: 12px 0 0;
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -0.4px;
}

.ai-kpi-center__header p[b-t6iyl7elbp] {
    max-width: 760px;
    margin: 9px 0 0;
    color: #64748b;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.9;
}

.ai-kpi-center__refresh[b-t6iyl7elbp] {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 17px;
    border: 0;
    border-radius: 16px;
    background: var(--erp-primary, #2563eb);
    color: var(--erp-on-brand, #ffffff);
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.22);
}

.ai-kpi-center__grid[b-t6iyl7elbp] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ai-kpi-center__summary[b-t6iyl7elbp] {
    display: grid;
    gap: 7px;
    padding: 16px 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, #eff6ff, #f5f3ff);
    border: 1px solid #dbeafe;
}

.ai-kpi-center__summary span[b-t6iyl7elbp] {
    color: var(--erp-primary, #2563eb);
    font-size: 12px;
    font-weight: 950;
}

.ai-kpi-center__summary strong[b-t6iyl7elbp] {
    color: #334155;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.9;
}

@media (max-width: 1200px) {
    .ai-kpi-center__grid[b-t6iyl7elbp] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ai-kpi-center__header[b-t6iyl7elbp] {
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    .ai-kpi-center[b-t6iyl7elbp] {
        padding: 18px;
        border-radius: 22px;
    }

    .ai-kpi-center__grid[b-t6iyl7elbp] {
        grid-template-columns: 1fr;
    }

    .ai-kpi-center__refresh[b-t6iyl7elbp] {
        width: 100%;
    }
}
/* /Components/Pages/AI/AiLiveBusinessRadar.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiLiveBusinessRadar.razor.css
*/

.ai-live-business-radar[b-hbyl5mo9ek] {
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: 28px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.ai-live-business-radar__header span[b-hbyl5mo9ek] {
    display: inline-flex;
    width: fit-content;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.14);
    color: #bae6fd;
    font-size: 12px;
    font-weight: 950;
}

.ai-live-business-radar__header h3[b-hbyl5mo9ek] {
    margin: 10px 0 0;
    font-size: 21px;
    font-weight: 950;
}

.ai-live-business-radar__radar[b-hbyl5mo9ek] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.ai-live-business-radar__radar article[b-hbyl5mo9ek] {
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 18px;
    background:
        linear-gradient(90deg, rgba(56, 189, 248, calc(var(--score) / 260)), rgba(167, 139, 250, calc(var(--score) / 330))),
        rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.ai-live-business-radar__radar strong[b-hbyl5mo9ek] {
    font-size: 12px;
    font-weight: 950;
}

.ai-live-business-radar__radar span[b-hbyl5mo9ek] {
    font-size: 22px;
    font-weight: 950;
}

@media (max-width: 900px) {
    .ai-live-business-radar__radar[b-hbyl5mo9ek] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* /Components/Pages/AI/AiModuleHealthMap.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiModuleHealthMap.razor.css
*/

.ai-module-health-map[b-pzo8q1wgdz] {
    display: grid;
    gap: 16px;
    padding: 22px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.065);
}

.ai-module-health-map__header span[b-pzo8q1wgdz] {
    display: inline-flex;
    width: fit-content;
    padding: 7px 13px;
    border-radius: 999px;
    background: #f0f9ff;
    color: #0369a1;
    font-size: 12px;
    font-weight: 950;
}

.ai-module-health-map__header h2[b-pzo8q1wgdz] {
    margin: 12px 0 0;
    color: #0f172a;
    font-size: 22px;
    font-weight: 950;
}

.ai-module-health-map__grid[b-pzo8q1wgdz] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.ai-module-health-map__cell[b-pzo8q1wgdz] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    min-height: 64px;
    padding: 14px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.ai-module-health-map__cell strong[b-pzo8q1wgdz] {
    color: #0f172a;
    font-size: 13px;
    font-weight: 950;
}

.ai-module-health-map__cell span[b-pzo8q1wgdz] {
    font-size: 18px;
    font-weight: 950;
}

.ai-module-health-map__cell.is-success[b-pzo8q1wgdz] {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.ai-module-health-map__cell.is-warning[b-pzo8q1wgdz] {
    border-color: #fde68a;
    background: #fffbeb;
}

.ai-module-health-map__cell.is-danger[b-pzo8q1wgdz] {
    border-color: #fecaca;
    background: #fef2f2;
}

.ai-module-health-map__cell.is-info[b-pzo8q1wgdz] {
    border-color: #bae6fd;
    background: #f0f9ff;
}


/* اصلاح نهایی فشردگی کارت‌ها */
.ai-module-health-map[b-pzo8q1wgdz] { min-width: 0; overflow: hidden; }
.ai-module-health-map__grid[b-pzo8q1wgdz] { grid-template-columns: 1fr; }
.ai-module-health-map__cell[b-pzo8q1wgdz] { display: grid; grid-template-columns: minmax(90px, auto) 82px minmax(0, 1fr); gap: 12px; min-width: 0; }
.ai-module-health-map__cell strong[b-pzo8q1wgdz] { white-space: nowrap; }
.ai-module-health-map__cell span[b-pzo8q1wgdz] { text-align: center; white-space: nowrap; }
.ai-module-health-map__cell small[b-pzo8q1wgdz] { min-width: 0; overflow-wrap: anywhere; line-height: 1.7; color: #475569; }
@media (max-width: 620px) { .ai-module-health-map__cell[b-pzo8q1wgdz] { grid-template-columns: 1fr auto; } .ai-module-health-map__cell small[b-pzo8q1wgdz] { grid-column: 1 / -1; } }
/* /Components/Pages/AI/AiRecommendationCard.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiRecommendationCard.razor.css
*/

.ai-recommendation-card[b-3bq4whlsps] {
    display: grid;
    gap: 14px;
    min-height: 300px;
    padding: 18px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
    color: #0f172a;
}

.ai-recommendation-card__header[b-3bq4whlsps] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ai-recommendation-card__icon[b-3bq4whlsps] {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 17px;
    background: #f8fafc;
    font-size: 22px;
}

.ai-recommendation-card__title[b-3bq4whlsps] {
    min-width: 0;
}

.ai-recommendation-card__title h3[b-3bq4whlsps] {
    margin: 0;
    color: #0f172a;
    font-size: 16px;
    font-weight: 950;
}

.ai-recommendation-card__title span[b-3bq4whlsps] {
    display: inline-flex;
    width: fit-content;
    margin-top: 7px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 900;
}

.ai-recommendation-card__problem[b-3bq4whlsps] {
    margin: 0;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.9;
}

.ai-recommendation-card__solution[b-3bq4whlsps] {
    padding: 14px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.ai-recommendation-card__solution strong[b-3bq4whlsps] {
    color: #0f172a;
    font-size: 13px;
    font-weight: 950;
}

.ai-recommendation-card__solution p[b-3bq4whlsps] {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.85;
}

.ai-recommendation-card__impact[b-3bq4whlsps] {
    display: grid;
    gap: 6px;
    padding: 12px 14px;
    border-radius: 17px;
    background: #ecfdf5;
}

.ai-recommendation-card__impact span[b-3bq4whlsps] {
    color: #047857;
    font-size: 12px;
    font-weight: 900;
}

.ai-recommendation-card__impact strong[b-3bq4whlsps] {
    color: #064e3b;
    font-size: 14px;
    font-weight: 950;
}

.ai-recommendation-card__actions[b-3bq4whlsps] {
    margin-top: auto;
}

.ai-recommendation-card__actions button[b-3bq4whlsps] {
    width: 100%;
    min-height: 42px;
    border: 0;
    border-radius: 15px;
    background: #0f172a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
}

.ai-recommendation-card.is-success[b-3bq4whlsps] {
    border-color: rgba(16, 185, 129, 0.26);
}

.ai-recommendation-card.is-success .ai-recommendation-card__icon[b-3bq4whlsps] {
    background: #ecfdf5;
}

.ai-recommendation-card.is-warning[b-3bq4whlsps] {
    border-color: rgba(245, 158, 11, 0.3);
}

.ai-recommendation-card.is-warning .ai-recommendation-card__icon[b-3bq4whlsps] {
    background: #fffbeb;
}

.ai-recommendation-card.is-info[b-3bq4whlsps] {
    border-color: rgba(14, 165, 233, 0.28);
}

.ai-recommendation-card.is-info .ai-recommendation-card__icon[b-3bq4whlsps] {
    background: #ecfeff;
}

.ai-recommendation-card.is-danger[b-3bq4whlsps] {
    border-color: rgba(239, 68, 68, 0.28);
}

.ai-recommendation-card.is-danger .ai-recommendation-card__icon[b-3bq4whlsps] {
    background: #fef2f2;
}
/* /Components/Pages/AI/AiRecommendationCenter.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiRecommendationCenter.razor.css
*/

.ai-recommendation-center[b-8yb81850p9] {
    display: grid;
    gap: 20px;
    padding: 24px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(16, 185, 129, 0.12), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94));
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
    color: #0f172a;
}

.ai-recommendation-center__header[b-8yb81850p9] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.ai-recommendation-center__eyebrow[b-8yb81850p9] {
    display: inline-flex;
    width: fit-content;
    padding: 7px 13px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #059669;
    font-size: 12px;
    font-weight: 950;
}

.ai-recommendation-center__header h2[b-8yb81850p9] {
    margin: 12px 0 0;
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -0.4px;
}

.ai-recommendation-center__header p[b-8yb81850p9] {
    max-width: 760px;
    margin: 9px 0 0;
    color: #64748b;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.9;
}

.ai-recommendation-center__score[b-8yb81850p9] {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    min-width: 150px;
    min-height: 105px;
    padding: 16px;
    border-radius: 22px;
    background: linear-gradient(135deg, #064e3b, #047857);
    color: #ffffff;
}

.ai-recommendation-center__score span[b-8yb81850p9] {
    color: #bbf7d0;
    font-size: 12px;
    font-weight: 850;
}

.ai-recommendation-center__score strong[b-8yb81850p9] {
    margin-top: 7px;
    font-size: 34px;
    font-weight: 950;
}

.ai-recommendation-center__toolbar[b-8yb81850p9] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ai-recommendation-center__filter[b-8yb81850p9] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #ffffff;
    color: #475569;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.ai-recommendation-center__filter.is-active[b-8yb81850p9] {
    border-color: #059669;
    background: #ecfdf5;
    color: #047857;
}

.ai-recommendation-center__grid[b-8yb81850p9] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ai-recommendation-center__footer[b-8yb81850p9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.ai-recommendation-center__footer div[b-8yb81850p9] {
    display: grid;
    gap: 5px;
}

.ai-recommendation-center__footer span[b-8yb81850p9] {
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}

.ai-recommendation-center__footer strong[b-8yb81850p9] {
    color: #0f172a;
    font-size: 13px;
    font-weight: 900;
}

.ai-recommendation-center__footer button[b-8yb81850p9] {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 15px;
    background: #059669;
    color: #ffffff;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(5, 150, 105, 0.18);
}

@media (max-width: 1100px) {
    .ai-recommendation-center__grid[b-8yb81850p9] {
        grid-template-columns: 1fr;
    }

    .ai-recommendation-center__header[b-8yb81850p9] {
        flex-direction: column;
    }

    .ai-recommendation-center__score[b-8yb81850p9] {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .ai-recommendation-center[b-8yb81850p9] {
        padding: 18px;
        border-radius: 22px;
    }

    .ai-recommendation-center__footer[b-8yb81850p9] {
        align-items: stretch;
        flex-direction: column;
    }

    .ai-recommendation-center__footer button[b-8yb81850p9] {
        width: 100%;
    }
}
/* /Components/Pages/AI/AiReportGeneratorPanel.razor.rz.scp.css */
.ai-report-generator-panel[b-u8g49p4kh8]{display:grid;gap:18px;min-width:0;padding:24px;border:1px solid #e2e8f0;border-radius:28px;color:#0f172a;background:linear-gradient(135deg,#fff,#f8fafc);box-shadow:0 18px 42px rgba(15,23,42,.07)}.ai-report-generator-panel__header[b-u8g49p4kh8]{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.ai-report-generator-panel__eyebrow[b-u8g49p4kh8]{display:inline-flex;width:fit-content;padding:7px 13px;border-radius:999px;color:#047857;background:#ecfdf5;font-size:12px;font-weight:950}.ai-report-generator-panel h2[b-u8g49p4kh8]{margin:12px 0 0;font-size:clamp(21px,2vw,28px);font-weight:950}.ai-report-generator-panel p[b-u8g49p4kh8]{margin:8px 0 0;color:#64748b;line-height:1.9;font-size:13px;font-weight:650}.ai-report-generator-panel__header button[b-u8g49p4kh8]{min-height:44px;padding:0 18px;border:0;border-radius:15px;color:#fff;background:#10b981;font-size:13px;font-weight:950;cursor:pointer;box-shadow:0 12px 26px rgba(16,185,129,.18)}.ai-report-generator-panel__summary[b-u8g49p4kh8]{display:grid;gap:8px;padding:17px;border:1px solid #e2e8f0;border-radius:20px;background:#f8fafc}.ai-report-generator-panel__summary span[b-u8g49p4kh8]{color:#059669;font-size:12px;font-weight:950}.ai-report-generator-panel__summary strong[b-u8g49p4kh8]{font-size:18px;font-weight:950}.ai-report-generator-panel__sections[b-u8g49p4kh8]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ai-report-generator-panel__section[b-u8g49p4kh8]{display:flex;gap:12px;align-items:flex-start;min-width:0;height:100%;padding:15px;border:1px solid #e2e8f0;border-radius:18px;background:#fff}.ai-report-generator-panel__section>span[b-u8g49p4kh8]{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:14px;background:#f1f5f9;font-size:20px}.ai-report-generator-panel__section strong[b-u8g49p4kh8]{color:#0f172a;font-size:14px;font-weight:950}.ai-report-generator-panel__section p[b-u8g49p4kh8]{margin-top:5px;overflow-wrap:anywhere}.ai-report-generator-panel__section.is-success[b-u8g49p4kh8]{border-color:#bbf7d0}.ai-report-generator-panel__section.is-warning[b-u8g49p4kh8]{border-color:#fde68a}.ai-report-generator-panel__section.is-danger[b-u8g49p4kh8]{border-color:#fecaca}.ai-report-generator-panel__footer[b-u8g49p4kh8]{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px;border:1px solid #e2e8f0;border-radius:18px;background:#f8fafc}.ai-report-generator-panel__footer span[b-u8g49p4kh8]{color:#64748b;font-size:12px;font-weight:850}.ai-report-generator-panel__footer strong[b-u8g49p4kh8]{font-size:13px;font-weight:950}
@media(max-width:800px){.ai-report-generator-panel__header[b-u8g49p4kh8],.ai-report-generator-panel__footer[b-u8g49p4kh8]{flex-direction:column;align-items:stretch}.ai-report-generator-panel__sections[b-u8g49p4kh8]{grid-template-columns:1fr}.ai-report-generator-panel__header button[b-u8g49p4kh8]{width:100%}}
/* /Components/Pages/AI/AiSalesCard.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiSalesCard.razor.css
*/

.ai-sales-card[b-mjq4x0bpyh] {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 18px;
    min-height: 260px;
    padding: 22px;
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.9)),
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 34%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
    color: #0f172a;
}

.ai-sales-card[b-mjq4x0bpyh]::before {
    content: "";
    position: absolute;
    inset-inline-start: -80px;
    top: -90px;
    width: 210px;
    height: 210px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    pointer-events: none;
}

.ai-sales-card__top[b-mjq4x0bpyh] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.ai-sales-card__icon[b-mjq4x0bpyh] {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 24px;
    box-shadow: inset 0 0 0 1px rgba(191, 219, 254, 0.9);
}

.ai-sales-card__title-block[b-mjq4x0bpyh] {
    flex: 1;
    min-width: 0;
}

.ai-sales-card__title-block h3[b-mjq4x0bpyh] {
    margin: 0;
    color: #0f172a;
    font-size: 17px;
    font-weight: 950;
    letter-spacing: -0.2px;
}

.ai-sales-card__title-block p[b-mjq4x0bpyh] {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.7;
}

.ai-sales-card__badge[b-mjq4x0bpyh] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

.ai-sales-card__badge.is-info[b-mjq4x0bpyh] {
    background: #ecfeff;
    color: #0891b2;
}

.ai-sales-card__badge.is-success[b-mjq4x0bpyh] {
    background: #ecfdf5;
    color: #059669;
}

.ai-sales-card__badge.is-warning[b-mjq4x0bpyh] {
    background: #fffbeb;
    color: #d97706;
}

.ai-sales-card__badge.is-danger[b-mjq4x0bpyh] {
    background: #fef2f2;
    color: #dc2626;
}

.ai-sales-card__content[b-mjq4x0bpyh] {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.ai-sales-card__value[b-mjq4x0bpyh] {
    color: #0f172a;
    font-size: 30px;
    font-weight: 950;
    letter-spacing: -0.7px;
    line-height: 1.25;
}

.ai-sales-card__description[b-mjq4x0bpyh] {
    max-width: 440px;
    margin-top: 9px;
    color: #64748b;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.9;
}

.ai-sales-card__change[b-mjq4x0bpyh] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    padding: 9px 12px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.ai-sales-card__change.is-positive[b-mjq4x0bpyh] {
    background: #ecfdf5;
    color: #059669;
}

.ai-sales-card__change.is-negative[b-mjq4x0bpyh] {
    background: #fef2f2;
    color: #dc2626;
}

.ai-sales-card__change.is-warning[b-mjq4x0bpyh] {
    background: #fffbeb;
    color: #d97706;
}

.ai-sales-card__change.is-neutral[b-mjq4x0bpyh] {
    background: #f1f5f9;
    color: #475569;
}

.ai-sales-card__items[b-mjq4x0bpyh] {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.ai-sales-card__item[b-mjq4x0bpyh] {
    padding: 12px;
    border-radius: 17px;
    background: rgba(248, 250, 252, 0.82);
    border: 1px solid rgba(226, 232, 240, 0.88);
}

.ai-sales-card__item span[b-mjq4x0bpyh] {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.ai-sales-card__item strong[b-mjq4x0bpyh] {
    display: block;
    margin-top: 6px;
    color: #0f172a;
    font-size: 15px;
    font-weight: 950;
}

.ai-sales-card__chart[b-mjq4x0bpyh] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: end;
    gap: 8px;
    height: 74px;
    padding: 12px 12px 0;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(241, 245, 249, 0.82), rgba(248, 250, 252, 0.68));
    border: 1px solid rgba(226, 232, 240, 0.82);
}

.ai-sales-card__chart span[b-mjq4x0bpyh] {
    flex: 1;
    min-width: 9px;
    border-radius: 999px 999px 4px 4px;
    background: linear-gradient(180deg, #38bdf8, var(--erp-primary, #2563eb));
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.16);
}

@media (max-width: 700px) {
    .ai-sales-card[b-mjq4x0bpyh] {
        padding: 18px;
        border-radius: 22px;
    }

    .ai-sales-card__top[b-mjq4x0bpyh],
    .ai-sales-card__content[b-mjq4x0bpyh] {
        align-items: flex-start;
        flex-direction: column;
    }

    .ai-sales-card__items[b-mjq4x0bpyh] {
        grid-template-columns: 1fr;
    }

    .ai-sales-card__value[b-mjq4x0bpyh] {
        font-size: 24px;
    }

    .ai-sales-card__change[b-mjq4x0bpyh] {
        width: 100%;
        justify-content: center;
    }
}
/* /Components/Pages/AI/AiSalesIntelligencePanel.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiSalesIntelligencePanel.razor.css
*/

.ai-sales-intelligence-panel[b-5ya8eqy81b] {
    display: grid;
    gap: 16px;
    padding: 22px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, #ffffff, #f8fafc),
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.13), transparent 32%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
    color: #0f172a;
}

.ai-sales-intelligence-panel__header[b-5ya8eqy81b] {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.ai-sales-intelligence-panel__eyebrow[b-5ya8eqy81b] {
    display: inline-flex;
    width: fit-content;
    padding: 7px 13px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 950;
}

.ai-sales-intelligence-panel h2[b-5ya8eqy81b] {
    margin: 12px 0 0;
    font-size: 22px;
    font-weight: 950;
}

.ai-sales-intelligence-panel p[b-5ya8eqy81b] {
    margin: 8px 0 0;
    color: #64748b;
    line-height: 1.9;
    font-size: 13px;
    font-weight: 650;
}

.ai-sales-intelligence-panel__score[b-5ya8eqy81b] {
    display: grid;
    gap: 6px;
    min-width: 130px;
    padding: 14px;
    border-radius: 20px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.ai-sales-intelligence-panel__score span[b-5ya8eqy81b] {
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 900;
}

.ai-sales-intelligence-panel__score strong[b-5ya8eqy81b] {
    color: #1e3a8a;
    font-size: 30px;
    font-weight: 950;
}

.ai-sales-intelligence-panel__summary[b-5ya8eqy81b] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ai-sales-intelligence-panel__summary div[b-5ya8eqy81b],
.ai-sales-intelligence-panel__executive[b-5ya8eqy81b] {
    display: grid;
    gap: 7px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.ai-sales-intelligence-panel__summary span[b-5ya8eqy81b],
.ai-sales-intelligence-panel__executive span[b-5ya8eqy81b] {
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}

.ai-sales-intelligence-panel__summary strong[b-5ya8eqy81b],
.ai-sales-intelligence-panel__executive strong[b-5ya8eqy81b] {
    color: #0f172a;
    font-size: 13px;
    font-weight: 950;
    line-height: 1.9;
}

.ai-sales-intelligence-panel__insights[b-5ya8eqy81b] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ai-sales-intelligence-panel__insight[b-5ya8eqy81b],
.ai-sales-intelligence-panel__signal[b-5ya8eqy81b] {
    padding: 15px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.ai-sales-intelligence-panel__insight[b-5ya8eqy81b] {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.ai-sales-intelligence-panel__insight > span[b-5ya8eqy81b] {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 15px;
    background: #f1f5f9;
    font-size: 21px;
}

.ai-sales-intelligence-panel__insight h3[b-5ya8eqy81b] {
    margin: 0;
    font-size: 14px;
    font-weight: 950;
}

.ai-sales-intelligence-panel__insight strong[b-5ya8eqy81b] {
    display: inline-flex;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 950;
}

.ai-sales-intelligence-panel__signals[b-5ya8eqy81b] {
    display: grid;
    gap: 10px;
}

.ai-sales-intelligence-panel__signal[b-5ya8eqy81b] {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
}

.ai-sales-intelligence-panel__signal strong[b-5ya8eqy81b] {
    display: block;
    font-size: 13px;
    font-weight: 950;
}

.ai-sales-intelligence-panel__signal span[b-5ya8eqy81b] {
    display: inline-flex;
    margin-top: 5px;
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}

.ai-sales-intelligence-panel__signal p[b-5ya8eqy81b] {
    margin-top: 5px;
}

.ai-sales-intelligence-panel__signal b[b-5ya8eqy81b] {
    font-size: 18px;
    font-weight: 950;
}

.ai-sales-intelligence-panel .is-success[b-5ya8eqy81b] {
    border-color: #bbf7d0;
}

.ai-sales-intelligence-panel .is-warning[b-5ya8eqy81b] {
    border-color: #fde68a;
}

.ai-sales-intelligence-panel .is-danger[b-5ya8eqy81b] {
    border-color: #fecaca;
}

.ai-sales-intelligence-panel__footer[b-5ya8eqy81b] {
    display: flex;
    justify-content: flex-end;
}

.ai-sales-intelligence-panel__footer button[b-5ya8eqy81b] {
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 14px;
    background: var(--erp-primary, #2563eb);
    color: var(--erp-on-brand, #ffffff);
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
}

@media (max-width: 1000px) {
    .ai-sales-intelligence-panel__header[b-5ya8eqy81b],
    .ai-sales-intelligence-panel__signal[b-5ya8eqy81b] {
        flex-direction: column;
        align-items: stretch;
    }

    .ai-sales-intelligence-panel__summary[b-5ya8eqy81b],
    .ai-sales-intelligence-panel__insights[b-5ya8eqy81b] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/AI/AiSalesTrendBoard.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/AiSalesTrendBoard.razor.css
*/

.ai-sales-trend-board[b-gzpbb1v36e] {
    display: grid;
    gap: 18px;
    padding: 22px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

.ai-sales-trend-board__header[b-gzpbb1v36e] {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.ai-sales-trend-board__eyebrow[b-gzpbb1v36e] {
    display: inline-flex;
    width: fit-content;
    padding: 7px 13px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 950;
}

.ai-sales-trend-board h2[b-gzpbb1v36e] {
    margin: 12px 0 0;
    color: #0f172a;
    font-size: 22px;
    font-weight: 950;
}

.ai-sales-trend-board p[b-gzpbb1v36e] {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.9;
}

.ai-sales-trend-board__total[b-gzpbb1v36e] {
    display: grid;
    gap: 6px;
    min-width: 160px;
    padding: 14px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.ai-sales-trend-board__total span[b-gzpbb1v36e] {
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}

.ai-sales-trend-board__total strong[b-gzpbb1v36e] {
    color: #0f172a;
    font-size: 18px;
    font-weight: 950;
}

.ai-sales-trend-board__chart[b-gzpbb1v36e] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
    min-height: 270px;
    padding: 18px;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.78), rgba(241, 245, 249, 0.84)),
        repeating-linear-gradient(0deg, transparent, transparent 53px, rgba(148, 163, 184, 0.16) 54px);
    border: 1px solid #e2e8f0;
}

.ai-sales-trend-board__day[b-gzpbb1v36e] {
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 10px;
    align-items: end;
    min-width: 0;
}

.ai-sales-trend-board__bars[b-gzpbb1v36e] {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 6px;
    height: 210px;
}

.ai-sales-trend-board__bars i[b-gzpbb1v36e] {
    display: block;
    width: 18px;
    min-height: 12px;
    border-radius: 999px 999px 8px 8px;
}

.ai-sales-trend-board__bars i.sales[b-gzpbb1v36e] {
    background: linear-gradient(180deg, #38bdf8, var(--erp-primary, #2563eb));
}

.ai-sales-trend-board__bars i.profit[b-gzpbb1v36e] {
    background: linear-gradient(180deg, var(--erp-accent, #a78bfa), var(--erp-accent, #7c3aed));
}

.ai-sales-trend-board__bars i.demand[b-gzpbb1v36e] {
    background: linear-gradient(180deg, #34d399, #059669);
}

.ai-sales-trend-board__day span[b-gzpbb1v36e] {
    color: #64748b;
    text-align: center;
    font-size: 12px;
    font-weight: 850;
}

.ai-sales-trend-board__legend[b-gzpbb1v36e] {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.ai-sales-trend-board__legend span[b-gzpbb1v36e] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #475569;
    font-size: 12px;
    font-weight: 850;
}

.ai-sales-trend-board__legend i[b-gzpbb1v36e] {
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.ai-sales-trend-board__legend i.sales[b-gzpbb1v36e] {
    background: var(--erp-primary, #2563eb);
}

.ai-sales-trend-board__legend i.profit[b-gzpbb1v36e] {
    background: var(--erp-accent, #7c3aed);
}

.ai-sales-trend-board__legend i.demand[b-gzpbb1v36e] {
    background: #059669;
}

@media (max-width: 900px) {
    .ai-sales-trend-board__header[b-gzpbb1v36e] {
        flex-direction: column;
    }

    .ai-sales-trend-board__chart[b-gzpbb1v36e] {
        overflow-x: auto;
        grid-template-columns: repeat(7, 92px);
    }
}
.ai-sales-trend-board[role="button"][b-gzpbb1v36e]{cursor:pointer}
/* /Components/Pages/AI/AiSuggestionPanel.razor.rz.scp.css */
.ai-suggestion-panel[b-1wmz7gdw9h] {
    padding: 24px;
    border-radius: 26px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.06);
}

.ai-panel-header[b-1wmz7gdw9h] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.ai-panel-header h3[b-1wmz7gdw9h] {
    margin: 0;
    font-size: 22px;
    font-weight: 950;
}

.ai-panel-header small[b-1wmz7gdw9h] {
    color: #64748b;
}

.ai-panel-empty[b-1wmz7gdw9h] {
    min-height: 220px;
    border: 2px dashed #dbe4f0;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-align: center;
}

.ai-panel-empty .mud-icon-root[b-1wmz7gdw9h] {
    font-size: 64px;
    color: #16a34a;
    margin-bottom: 14px;
}

.ai-suggestion-list[b-1wmz7gdw9h] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ai-suggestion-row[b-1wmz7gdw9h] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 17px;
    border-radius: 18px;
    background: #ecfdf5;
    color: #15803d;
    transition: 0.25s ease;
}

.ai-suggestion-row:hover[b-1wmz7gdw9h] {
    transform: translateX(-4px);
}

.ai-suggestion-row .mud-icon-root[b-1wmz7gdw9h] {
    font-size: 30px;
}

.ai-suggestion-row strong[b-1wmz7gdw9h] {
    display: block;
    font-weight: 900;
}

.ai-suggestion-row small[b-1wmz7gdw9h] {
    color: #64748b;
}
/* /Components/Pages/AI/ApiHealthMonitorPanel.razor.rz.scp.css */
/*
مسیر جایگذاری:
ERPPlus.Web/Components/Pages/AI/ApiHealthMonitorPanel.razor.css
*/

.api-health-monitor-panel[b-24enl5w3w8] {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 18px 20px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.055);
}

.api-health-monitor-panel__eyebrow[b-24enl5w3w8] {
    display: inline-flex;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
}

.api-health-monitor-panel h3[b-24enl5w3w8] {
    margin: 10px 0 0;
    color: #0f172a;
    font-size: 18px;
    font-weight: 950;
}

.api-health-monitor-panel p[b-24enl5w3w8] {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.8;
}

.api-health-monitor-panel small[b-24enl5w3w8] {
    display: inline-flex;
    margin-top: 8px;
    color: #94a3b8;
    direction: ltr;
    font-size: 12px;
    font-weight: 850;
}

.api-health-monitor-panel__side[b-24enl5w3w8] {
    display: grid;
    justify-items: end;
    gap: 7px;
    min-width: 150px;
}

.api-health-monitor-panel__side strong[b-24enl5w3w8] {
    font-size: 20px;
    font-weight: 950;
}

.api-health-monitor-panel__side span[b-24enl5w3w8] {
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}

.api-health-monitor-panel__side button[b-24enl5w3w8] {
    min-height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: 12px;
    background: #0f172a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 950;
    cursor: pointer;
}

.api-health-monitor-panel.is-online[b-24enl5w3w8] {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.api-health-monitor-panel.is-online .api-health-monitor-panel__eyebrow[b-24enl5w3w8] {
    background: #dcfce7;
    color: #166534;
}

.api-health-monitor-panel.is-online .api-health-monitor-panel__side strong[b-24enl5w3w8] {
    color: #15803d;
}

.api-health-monitor-panel.is-offline[b-24enl5w3w8] {
    border-color: #fed7aa;
    background: #fff7ed;
}

.api-health-monitor-panel.is-offline .api-health-monitor-panel__eyebrow[b-24enl5w3w8] {
    background: #ffedd5;
    color: #c2410c;
}

.api-health-monitor-panel.is-offline .api-health-monitor-panel__side strong[b-24enl5w3w8] {
    color: #ea580c;
}

@media (max-width: 820px) {
    .api-health-monitor-panel[b-24enl5w3w8] {
        flex-direction: column;
        align-items: stretch;
    }

    .api-health-monitor-panel__side[b-24enl5w3w8] {
        justify-items: stretch;
    }
}

/* Enterprise compact status bar */
.api-health-monitor-panel[b-24enl5w3w8] {
    min-height: 66px;
    padding: 12px 16px;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
}
.api-health-monitor-panel__content[b-24enl5w3w8] { min-width: 0; }
.api-health-monitor-panel__eyebrow[b-24enl5w3w8] { padding: 4px 9px; font-size: 10px; }
.api-health-monitor-panel h3[b-24enl5w3w8] { display: inline; margin: 0 10px 0 0; font-size: 14px; }
.api-health-monitor-panel p[b-24enl5w3w8] { display: inline; margin: 0 8px 0 0; font-size: 11px; }
.api-health-monitor-panel small[b-24enl5w3w8] { margin-top: 4px; font-size: 10px; }
.api-health-monitor-panel__side[b-24enl5w3w8] { grid-template-columns: auto auto auto; align-items: center; min-width: auto; }
.api-health-monitor-panel__side strong[b-24enl5w3w8] { font-size: 14px; }
.api-health-monitor-panel__side span[b-24enl5w3w8] { font-size: 10px; }
.api-health-monitor-panel__side button[b-24enl5w3w8] { min-height: 32px; }
/* /Components/Pages/ArticleView.razor.rz.scp.css */
.docs-article[b-eye4un6aan]{max-width:1320px;margin:0 auto;color:var(--erpdc-text,#0f172a)}.article-breadcrumb[b-eye4un6aan]{display:flex;align-items:center;gap:8px;margin-bottom:14px;color:var(--erpdc-muted,#64748b);font-size:12px}.article-breadcrumb a[b-eye4un6aan]{color:#5b5bff;text-decoration:none}.article-hero[b-eye4un6aan]{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:20px;padding:28px;border:1px solid var(--erpdc-border,#e2e8f0);border-radius:26px;background:var(--erpdc-card-bg,#fff);box-shadow:0 18px 48px rgba(15,23,42,.08)}.article-icon[b-eye4un6aan]{width:64px;height:64px;display:grid;place-items:center;border-radius:20px;color:#fff;background:linear-gradient(135deg,#5b5bff,#7c4dff)}.category-badge[b-eye4un6aan]{display:inline-flex;padding:5px 10px;border-radius:99px;color:#5b5bff;background:rgba(91,91,255,.1);font-size:11px;font-weight:900}.article-hero h1[b-eye4un6aan]{margin:9px 0 7px;font-size:clamp(27px,3vw,43px)}.article-hero p[b-eye4un6aan],.article-body p[b-eye4un6aan],.article-body li[b-eye4un6aan]{color:var(--erpdc-muted,#64748b);line-height:2}.article-meta[b-eye4un6aan]{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:14px;font-size:11px}.article-actions[b-eye4un6aan]{display:flex;flex-direction:column;gap:9px}.article-actions a[b-eye4un6aan]{min-height:42px;display:flex;align-items:center;justify-content:center;padding:0 14px;border:1px solid var(--erpdc-border,#e2e8f0);border-radius:13px;color:inherit;text-decoration:none;font-size:12px;font-weight:900}.article-actions a.primary[b-eye4un6aan]{color:#fff;border-color:transparent;background:linear-gradient(135deg,#5b5bff,#7c4dff)}.reading-progress[b-eye4un6aan]{height:4px;margin:14px 16px 0;border-radius:99px;background:var(--erpdc-border,#e2e8f0);overflow:hidden}.reading-progress span[b-eye4un6aan]{display:block;width:38%;height:100%;background:linear-gradient(90deg,#5b5bff,#7c4dff)}.article-layout[b-eye4un6aan]{display:grid;grid-template-columns:230px minmax(0,860px);justify-content:center;gap:26px;margin-top:20px}.article-toc[b-eye4un6aan]{position:sticky;top:18px;align-self:start;display:grid;gap:5px;padding:17px;border:1px solid var(--erpdc-border,#e2e8f0);border-radius:18px;background:var(--erpdc-card-bg,#fff)}.article-toc a[b-eye4un6aan]{padding:8px 10px;border-radius:9px;color:var(--erpdc-muted,#64748b);text-decoration:none;font-size:11px}.article-body[b-eye4un6aan]{padding:28px 34px;border:1px solid var(--erpdc-border,#e2e8f0);border-radius:22px;background:var(--erpdc-card-bg,#fff)}.article-body section[b-eye4un6aan]{scroll-margin-top:24px;padding:8px 0 24px}.callout[b-eye4un6aan]{margin-bottom:12px;padding:15px 17px;border-right:4px solid #5b5bff;border-radius:12px;background:rgba(91,91,255,.07)}.callout.warning[b-eye4un6aan]{border-color:#ffb300;background:rgba(255,179,0,.09)}.route-chip[b-eye4un6aan]{display:inline-flex;padding:8px 12px;border-radius:9px;color:#5b5bff;background:rgba(91,91,255,.08);direction:ltr}.step-list[b-eye4un6aan]{display:grid;gap:11px}.step-card[b-eye4un6aan]{display:grid;grid-template-columns:38px 1fr;gap:12px;padding:15px;border:1px solid var(--erpdc-border,#e2e8f0);border-radius:14px}.step-card>b[b-eye4un6aan]{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;color:#fff;background:linear-gradient(135deg,#5b5bff,#7c4dff)}.step-card h3[b-eye4un6aan]{margin:0}.reference-grid[b-eye4un6aan]{display:grid;grid-template-columns:1fr 1fr;gap:13px}.reference-grid>div[b-eye4un6aan]{padding:16px;border:1px solid var(--erpdc-border,#e2e8f0);border-radius:14px}.article-footer[b-eye4un6aan]{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0 32px}.article-footer a[b-eye4un6aan]{display:grid;padding:14px;border:1px solid var(--erpdc-border,#e2e8f0);border-radius:14px;color:inherit;text-decoration:none}@media(max-width:900px){.article-hero[b-eye4un6aan]{grid-template-columns:54px 1fr}.article-actions[b-eye4un6aan]{grid-column:1/-1;flex-direction:row}.article-layout[b-eye4un6aan]{grid-template-columns:1fr}.article-toc[b-eye4un6aan]{position:static;display:flex;overflow:auto}.article-body[b-eye4un6aan]{padding:22px}}@media(max-width:560px){.article-hero[b-eye4un6aan]{grid-template-columns:1fr;padding:20px}.article-actions[b-eye4un6aan]{flex-direction:column}.reference-grid[b-eye4un6aan],.article-footer[b-eye4un6aan]{grid-template-columns:1fr}.article-body[b-eye4un6aan]{padding:18px}}@media print{.article-breadcrumb[b-eye4un6aan],.article-actions[b-eye4un6aan],.article-toc[b-eye4un6aan],.reading-progress[b-eye4un6aan],.article-footer[b-eye4un6aan]{display:none!important}.article-hero[b-eye4un6aan],.article-body[b-eye4un6aan]{border:0;box-shadow:none;padding:0}.article-layout[b-eye4un6aan]{display:block}}
/* /Components/Pages/BalanceSheet.razor.rz.scp.css */
.balance-sheet-page[b-x58cfhu0q1] {
    min-height: 100%;
    padding: 28px;
    color: #0f172a;
    font-family: inherit;
}

.balance-sheet-page[b-x58cfhu0q1],
.balance-sheet-page *[b-x58cfhu0q1] {
    box-sizing: border-box;
}

.balance-sheet-page a[b-x58cfhu0q1] {
    text-decoration: none;
}

.balance-sheet-hero[b-x58cfhu0q1],
.balance-sheet-filter-card[b-x58cfhu0q1],
.balance-sheet-status-card[b-x58cfhu0q1],
.balance-sheet-summary-card[b-x58cfhu0q1],
.balance-sheet-main-card[b-x58cfhu0q1],
.balance-sheet-analysis-card[b-x58cfhu0q1],
.balance-sheet-state[b-x58cfhu0q1] {
    border: 1px solid #dbe4f0;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .07);
}

.balance-sheet-hero[b-x58cfhu0q1] {
    padding: 28px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        radial-gradient(circle at 12% 20%, rgba(99, 102, 241, .16), transparent 30%),
        linear-gradient(135deg, #fff, #f8fbff);
}

.balance-sheet-eyebrow[b-x58cfhu0q1] {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--erp-primary, #4f46e5);
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: .6px;
}

.balance-sheet-hero h1[b-x58cfhu0q1] {
    margin: 0;
    font-size: 30px;
    font-weight: 1000;
}

.balance-sheet-hero p[b-x58cfhu0q1] {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.balance-sheet-actions[b-x58cfhu0q1] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.balance-sheet-btn[b-x58cfhu0q1],
.balance-sheet-filter-submit[b-x58cfhu0q1] {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.balance-sheet-btn:disabled[b-x58cfhu0q1],
.balance-sheet-filter-submit:disabled[b-x58cfhu0q1] {
    opacity: .5;
    cursor: not-allowed;
}

.balance-sheet-btn.primary[b-x58cfhu0q1],
.balance-sheet-filter-submit[b-x58cfhu0q1] {
    color: var(--erp-on-brand, #ffffff);
    border-color: var(--erp-primary, #4f46e5);
    background: linear-gradient(135deg, var(--erp-primary, #4f46e5), var(--erp-accent, #7c3aed));
}

.balance-sheet-btn.secondary[b-x58cfhu0q1] {
    color: #334155;
    border-color: #cbd5e1;
    background: #fff;
}

.balance-sheet-filter-card[b-x58cfhu0q1] {
    margin-top: 18px;
    padding: 20px;
    border-radius: 22px;
}

.balance-sheet-filter-grid[b-x58cfhu0q1] {
    display: grid;
    grid-template-columns: minmax(220px, .8fr) auto;
    gap: 14px;
    align-items: end;
}

.balance-sheet-field[b-x58cfhu0q1] {
    display: grid;
    gap: 8px;
}

.balance-sheet-field span[b-x58cfhu0q1] {
    color: #475569;
    font-size: 11px;
    font-weight: 900;
}

.balance-sheet-field input[b-x58cfhu0q1] {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #dbe4f0;
    border-radius: 13px;
    outline: none;
    color: #0f172a;
    background: #f8fafc;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
}

.balance-sheet-field input:focus[b-x58cfhu0q1] {
    border-color: var(--erp-primary, #818cf8);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, .1);
}

.balance-sheet-validation[b-x58cfhu0q1] {
    margin-top: 12px;
    padding: 11px 13px;
    border: 1px solid #fecaca;
    border-radius: 12px;
    color: #b91c1c;
    background: #fef2f2;
    font-size: 11px;
    font-weight: 800;
}

.balance-sheet-state[b-x58cfhu0q1] {
    margin-top: 18px;
    padding: 48px 24px;
    border-radius: 24px;
    text-align: center;
}

.balance-sheet-state.error[b-x58cfhu0q1] {
    border-color: #fecaca;
    color: #b91c1c;
    background: #fef2f2;
}

.balance-sheet-state p[b-x58cfhu0q1] {
    margin: 10px 0 18px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.balance-sheet-spinner[b-x58cfhu0q1] {
    width: 42px;
    height: 42px;
    margin: 0 auto 14px;
    border: 4px solid #e0e7ff;
    border-top-color: var(--erp-primary, #4f46e5);
    border-radius: 50%;
    animation: balance-sheet-spin-b-x58cfhu0q1 .8s linear infinite;
}

@keyframes balance-sheet-spin-b-x58cfhu0q1 {
    to { transform: rotate(360deg); }
}

.balance-sheet-status-card[b-x58cfhu0q1] {
    margin-top: 18px;
    padding: 20px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.balance-sheet-status-card.balanced[b-x58cfhu0q1] {
    border-color: #a7f3d0;
    background: linear-gradient(135deg, #fff, #ecfdf5);
}

.balance-sheet-status-card.unbalanced[b-x58cfhu0q1] {
    border-color: #fecaca;
    background: linear-gradient(135deg, #fff, #fef2f2);
}

.balance-sheet-status-icon[b-x58cfhu0q1] {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 20px;
    font-weight: 1000;
}

.balanced .balance-sheet-status-icon[b-x58cfhu0q1] {
    background: linear-gradient(135deg, #059669, #10b981);
}

.unbalanced .balance-sheet-status-icon[b-x58cfhu0q1] {
    background: linear-gradient(135deg, #dc2626, #f43f5e);
}

.balance-sheet-status-card span[b-x58cfhu0q1] {
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
}

.balance-sheet-status-card h2[b-x58cfhu0q1] {
    margin: 5px 0 0;
    font-size: 17px;
    font-weight: 1000;
}

.balance-sheet-status-card p[b-x58cfhu0q1] {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.balance-sheet-date[b-x58cfhu0q1] {
    margin-right: auto;
    min-width: 150px;
    padding: 12px 14px;
    border: 1px solid #dbe4f0;
    border-radius: 14px;
    background: rgba(255,255,255,.7);
}

.balance-sheet-date span[b-x58cfhu0q1],
.balance-sheet-date strong[b-x58cfhu0q1] {
    display: block;
}

.balance-sheet-date strong[b-x58cfhu0q1] {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 1000;
}

.balance-sheet-summary-grid[b-x58cfhu0q1] {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.balance-sheet-summary-card[b-x58cfhu0q1] {
    min-height: 126px;
    padding: 18px;
    border-radius: 20px;
}

.balance-sheet-summary-card.asset[b-x58cfhu0q1] {
    border-top: 3px solid var(--erp-primary, #2563eb);
}

.balance-sheet-summary-card.liability[b-x58cfhu0q1] {
    border-top: 3px solid #f59e0b;
}

.balance-sheet-summary-card.equity[b-x58cfhu0q1] {
    border-top: 3px solid var(--erp-accent, #7c3aed);
}

.balance-sheet-summary-card.equation.balanced[b-x58cfhu0q1] {
    border-top: 3px solid #10b981;
}

.balance-sheet-summary-card.equation.unbalanced[b-x58cfhu0q1] {
    border-top: 3px solid #ef4444;
}

.balance-sheet-summary-card span[b-x58cfhu0q1] {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
}

.balance-sheet-summary-card strong[b-x58cfhu0q1] {
    display: block;
    margin-top: 13px;
    font-size: 22px;
    font-weight: 1000;
}

.balance-sheet-summary-card small[b-x58cfhu0q1] {
    display: block;
    margin-top: 9px;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
}

.balance-sheet-content-grid[b-x58cfhu0q1] {
    margin-top: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, .7fr);
    gap: 18px;
    align-items: start;
}

.balance-sheet-main-card[b-x58cfhu0q1],
.balance-sheet-analysis-card[b-x58cfhu0q1] {
    border-radius: 24px;
    overflow: hidden;
}

.balance-sheet-card-header[b-x58cfhu0q1] {
    padding: 20px 22px;
    border-bottom: 1px solid #e2e8f0;
}

.balance-sheet-card-header span[b-x58cfhu0q1] {
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
}

.balance-sheet-card-header h2[b-x58cfhu0q1] {
    margin: 6px 0 0;
    font-size: 18px;
    font-weight: 1000;
}

.balance-sheet-columns[b-x58cfhu0q1] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.balance-sheet-column[b-x58cfhu0q1] {
    min-width: 0;
    padding: 20px;
}

.balance-sheet-column + .balance-sheet-column[b-x58cfhu0q1] {
    border-right: 1px solid #e2e8f0;
}

.balance-sheet-column-title[b-x58cfhu0q1],
.balance-sheet-subtitle[b-x58cfhu0q1],
.balance-sheet-total[b-x58cfhu0q1],
.balance-sheet-line[b-x58cfhu0q1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.balance-sheet-column-title[b-x58cfhu0q1] {
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 1000;
}

.asset-title[b-x58cfhu0q1] {
    color: #1d4ed8;
    background: #eff6ff;
}

.liability-title[b-x58cfhu0q1] {
    color: #92400e;
    background: #fffbeb;
}

.balance-sheet-subsection[b-x58cfhu0q1] {
    margin-top: 16px;
}

.balance-sheet-subtitle[b-x58cfhu0q1] {
    padding: 11px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #92400e;
    font-size: 11px;
    font-weight: 1000;
}

.equity-subtitle[b-x58cfhu0q1] {
    color: #6d28d9;
}

.balance-sheet-lines[b-x58cfhu0q1] {
    display: grid;
}

.balance-sheet-line[b-x58cfhu0q1] {
    padding: 13px 0;
    border-bottom: 1px solid #edf2f7;
}

.balance-sheet-line div span[b-x58cfhu0q1],
.balance-sheet-line div strong[b-x58cfhu0q1] {
    display: block;
}

.balance-sheet-line div span[b-x58cfhu0q1] {
    color: #64748b;
    font-size: 9px;
    font-weight: 900;
}

.balance-sheet-line div strong[b-x58cfhu0q1] {
    margin-top: 4px;
    font-size: 11px;
    font-weight: 900;
}

.balance-sheet-line b[b-x58cfhu0q1] {
    direction: ltr;
    font-size: 11px;
    white-space: nowrap;
}

.balance-sheet-empty[b-x58cfhu0q1] {
    margin-top: 14px;
    padding: 20px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    color: #64748b;
    background: #f8fafc;
    font-size: 10px;
    line-height: 1.8;
    font-weight: 800;
}

.balance-sheet-empty.compact[b-x58cfhu0q1] {
    padding: 14px;
}

.balance-sheet-total[b-x58cfhu0q1] {
    margin-top: 18px;
    padding: 15px 16px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 1000;
}

.asset-total[b-x58cfhu0q1] {
    color: #1d4ed8;
    background: #dbeafe;
}

.liability-total[b-x58cfhu0q1] {
    color: #5b21b6;
    background: #ede9fe;
}

.balance-sheet-analysis-card[b-x58cfhu0q1] {
    position: sticky;
    top: 18px;
}

.balance-sheet-metric[b-x58cfhu0q1] {
    padding: 17px 20px 0;
}

.balance-sheet-metric > div:first-child[b-x58cfhu0q1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.balance-sheet-metric span[b-x58cfhu0q1],
.balance-sheet-metric strong[b-x58cfhu0q1] {
    font-size: 11px;
    font-weight: 900;
}

.balance-sheet-metric span[b-x58cfhu0q1] {
    color: #475569;
}

.balance-sheet-progress[b-x58cfhu0q1] {
    height: 8px;
    margin-top: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: #e2e8f0;
}

.balance-sheet-progress i[b-x58cfhu0q1] {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--erp-primary, #4f46e5), var(--erp-accent, #7c3aed));
}

.balance-sheet-insight[b-x58cfhu0q1] {
    margin: 20px;
    padding: 16px;
    border-radius: 16px;
}

.balance-sheet-insight.balanced[b-x58cfhu0q1] {
    border: 1px solid #a7f3d0;
    color: #047857;
    background: #ecfdf5;
}

.balance-sheet-insight.unbalanced[b-x58cfhu0q1] {
    border: 1px solid #fecaca;
    color: #b91c1c;
    background: #fef2f2;
}

.balance-sheet-insight strong[b-x58cfhu0q1] {
    font-size: 12px;
    font-weight: 1000;
}

.balance-sheet-insight p[b-x58cfhu0q1] {
    margin: 8px 0 0;
    font-size: 10px;
    line-height: 1.9;
    font-weight: 800;
}

@media (max-width: 1100px) {
    .balance-sheet-summary-grid[b-x58cfhu0q1] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .balance-sheet-content-grid[b-x58cfhu0q1] {
        grid-template-columns: 1fr;
    }

    .balance-sheet-analysis-card[b-x58cfhu0q1] {
        position: static;
    }
}

@media (max-width: 760px) {
    .balance-sheet-page[b-x58cfhu0q1] {
        padding: 16px;
    }

    .balance-sheet-hero[b-x58cfhu0q1],
    .balance-sheet-status-card[b-x58cfhu0q1] {
        align-items: stretch;
        flex-direction: column;
    }

    .balance-sheet-actions[b-x58cfhu0q1],
    .balance-sheet-filter-grid[b-x58cfhu0q1],
    .balance-sheet-summary-grid[b-x58cfhu0q1],
    .balance-sheet-columns[b-x58cfhu0q1] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .balance-sheet-btn[b-x58cfhu0q1],
    .balance-sheet-filter-submit[b-x58cfhu0q1],
    .balance-sheet-date[b-x58cfhu0q1] {
        width: 100%;
    }

    .balance-sheet-column + .balance-sheet-column[b-x58cfhu0q1] {
        border-top: 1px solid #e2e8f0;
        border-right: 0;
    }
}

@media print {
    .balance-sheet-actions[b-x58cfhu0q1],
    .balance-sheet-filter-card[b-x58cfhu0q1] {
        display: none !important;
    }

    .balance-sheet-page[b-x58cfhu0q1] {
        padding: 0;
    }

    .balance-sheet-hero[b-x58cfhu0q1],
    .balance-sheet-status-card[b-x58cfhu0q1],
    .balance-sheet-summary-card[b-x58cfhu0q1],
    .balance-sheet-main-card[b-x58cfhu0q1],
    .balance-sheet-analysis-card[b-x58cfhu0q1] {
        box-shadow: none;
    }

    .balance-sheet-content-grid[b-x58cfhu0q1] {
        grid-template-columns: 1.7fr .7fr;
    }

    .balance-sheet-analysis-card[b-x58cfhu0q1] {
        position: static;
    }
}

.erp-print-report[b-x58cfhu0q1] {
    display: none;
}

@media print {
    .erp-print-report[b-x58cfhu0q1] {
        display: block !important;
        width: 100% !important;
        color: #000 !important;
        background: #fff !important;
        font-size: 10pt !important;
    }

    .erp-print-report *[b-x58cfhu0q1] {
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    .erp-print-header[b-x58cfhu0q1] {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important;
        align-items: start !important;
        gap: 12px !important;
        margin-bottom: 8mm !important;
        padding-bottom: 4mm !important;
        border-bottom: 1px solid #475569 !important;
    }

    .erp-print-header-center[b-x58cfhu0q1] {
        text-align: center !important;
    }

    .erp-print-header-center h1[b-x58cfhu0q1] {
        margin: 0 0 2mm !important;
        font-size: 17pt !important;
        font-weight: 900 !important;
    }

    .erp-print-header-center p[b-x58cfhu0q1],
    .erp-print-header-side p[b-x58cfhu0q1] {
        margin: 1mm 0 !important;
        font-size: 9pt !important;
    }

    .erp-print-header-side:last-child[b-x58cfhu0q1] {
        text-align: left !important;
        direction: ltr !important;
    }

    .erp-print-table[b-x58cfhu0q1] {
        width: 100% !important;
        border-collapse: collapse !important;
        table-layout: auto !important;
        font-size: 9pt !important;
    }

    .erp-print-table th[b-x58cfhu0q1],
    .erp-print-table td[b-x58cfhu0q1] {
        padding: 2.2mm 1.8mm !important;
        border: 1px solid #94a3b8 !important;
        text-align: right !important;
        vertical-align: middle !important;
        background: #fff !important;
    }

    .erp-print-table th[b-x58cfhu0q1] {
        font-weight: 900 !important;
        background: #f1f5f9 !important;
    }

    .erp-print-table .print-money[b-x58cfhu0q1] {
        direction: ltr !important;
        text-align: right !important;
        white-space: nowrap !important;
        font-variant-numeric: tabular-nums !important;
    }

    .erp-print-table tfoot td[b-x58cfhu0q1] {
        font-weight: 900 !important;
        background: #f8fafc !important;
    }

    .erp-print-summary[b-x58cfhu0q1] {
        margin-top: 5mm !important;
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 2mm !important;
    }

    .erp-print-summary > div[b-x58cfhu0q1] {
        padding: 3mm !important;
        border: 1px solid #94a3b8 !important;
    }

    .erp-print-summary span[b-x58cfhu0q1],
    .erp-print-summary strong[b-x58cfhu0q1] {
        display: block !important;
    }

    .erp-print-summary span[b-x58cfhu0q1] {
        font-size: 8.5pt !important;
    }

    .erp-print-summary strong[b-x58cfhu0q1] {
        margin-top: 1.5mm !important;
        font-size: 10pt !important;
    }

    .erp-print-footer[b-x58cfhu0q1] {
        margin-top: 8mm !important;
        padding-top: 3mm !important;
        border-top: 1px solid #cbd5e1 !important;
        display: flex !important;
        justify-content: space-between !important;
        font-size: 8pt !important;
    }
}

@media print {
    .balance-sheet-page > :not(.erp-print-report)[b-x58cfhu0q1] {
        display: none !important;
    }

    .balance-sheet-page[b-x58cfhu0q1] {
        padding: 0 !important;
        margin: 0 !important;
        background: #fff !important;
    }
}
/* /Components/Pages/BazaarYar.razor.rz.scp.css */
.bazaaryar-page[b-ycksjdk919] {
    min-height: 100%;
    padding: 28px;
    color: #e8eefc;
    background:
        radial-gradient(circle at 88% 2%, rgba(99, 102, 241, .16), transparent 30%),
        radial-gradient(circle at 8% 96%, rgba(14, 165, 233, .08), transparent 28%);
}

.bazaaryar-page[b-ycksjdk919], .bazaaryar-page *[b-ycksjdk919] { box-sizing: border-box; }

.bazaaryar-hero[b-ycksjdk919] {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(30, 41, 79, .9), rgba(18, 25, 52, .92));
    box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
}

.bazaaryar-hero[b-ycksjdk919]::after {
    content: "";
    position: absolute;
    inset: auto auto -90px -40px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(79, 70, 229, .16);
    filter: blur(4px);
}

.bazaaryar-hero__content[b-ycksjdk919] { position: relative; z-index: 1; max-width: 680px; }
.bazaaryar-eyebrow[b-ycksjdk919], .bazaaryar-panel__kicker[b-ycksjdk919] {
    color: #8da2fb;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .02em;
}
.bazaaryar-hero h1[b-ycksjdk919] { margin: 7px 0 6px; font-size: clamp(28px, 3vw, 42px); font-weight: 950; }
.bazaaryar-hero p[b-ycksjdk919] { margin: 0; color: #9eabc6; font-size: 14px; line-height: 2; }

.bazaaryar-analyze[b-ycksjdk919] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 210px;
    min-height: 64px;
    padding: 12px 16px;
    border: 0;
    border-radius: 17px;
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #2563eb);
    box-shadow: 0 14px 30px rgba(37, 99, 235, .28);
    font: inherit;
    text-align: right;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.bazaaryar-analyze:hover:not(:disabled)[b-ycksjdk919] { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(37, 99, 235, .38); }
.bazaaryar-analyze:disabled[b-ycksjdk919] { opacity: .62; cursor: wait; }
.bazaaryar-analyze__icon[b-ycksjdk919] { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.14); font-size: 23px; }
.bazaaryar-analyze strong[b-ycksjdk919], .bazaaryar-analyze small[b-ycksjdk919] { display: block; }
.bazaaryar-analyze strong[b-ycksjdk919] { font-size: 13px; font-weight: 950; }
.bazaaryar-analyze small[b-ycksjdk919] { margin-top: 4px; color: #dbeafe; font-size: 10px; }

.bazaaryar-notice[b-ycksjdk919] { margin-top: 16px; padding: 14px 17px; border-radius: 14px; font-size: 12px; font-weight: 800; line-height: 1.9; }
.bazaaryar-notice--success[b-ycksjdk919] { border: 1px solid rgba(34,197,94,.3); color: #86efac; background: rgba(22,101,52,.2); }
.bazaaryar-notice--error[b-ycksjdk919] { border: 1px solid rgba(239,68,68,.3); color: #fca5a5; background: rgba(127,29,29,.22); }

.bazaaryar-stats[b-ycksjdk919] { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; margin-top: 18px; }
.bazaaryar-stat[b-ycksjdk919] {
    position: relative;
    overflow: hidden;
    min-height: 145px;
    padding: 20px;
    border: 1px solid rgba(148,163,184,.14);
    border-radius: 20px;
    background: rgba(18,25,52,.78);
    box-shadow: 0 12px 32px rgba(0,0,0,.12);
}
.bazaaryar-stat[b-ycksjdk919]::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: #60a5fa; }
.bazaaryar-stat--amber[b-ycksjdk919]::before { background: #f59e0b; }
.bazaaryar-stat--violet[b-ycksjdk919]::before { background: #a78bfa; }
.bazaaryar-stat--green[b-ycksjdk919]::before { background: #34d399; }
.bazaaryar-stat__label[b-ycksjdk919] { display: block; color: #cbd5e1; font-size: 12px; font-weight: 850; }
.bazaaryar-stat > strong[b-ycksjdk919] { display: block; margin: 13px 0 7px; color: #fff; font-size: 30px; font-weight: 950; }
.bazaaryar-stat > strong.bazaaryar-stat__date[b-ycksjdk919] { font-size: 21px; }
.bazaaryar-stat small[b-ycksjdk919] { color: #7686a7; font-size: 10px; }

.bazaaryar-grid[b-ycksjdk919] { display: grid; gap: 18px; margin-top: 18px; }
.bazaaryar-panel[b-ycksjdk919] {
    overflow: hidden;
    border: 1px solid rgba(148,163,184,.14);
    border-radius: 22px;
    background: rgba(18,25,52,.78);
    box-shadow: 0 14px 36px rgba(0,0,0,.14);
}
.bazaaryar-panel__header[b-ycksjdk919] { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border-bottom: 1px solid rgba(148,163,184,.12); }
.bazaaryar-panel__header h2[b-ycksjdk919] { margin: 4px 0 0; color: #f8fafc; font-size: 18px; font-weight: 950; }
.bazaaryar-count[b-ycksjdk919] { display: grid; place-items: center; min-width: 36px; height: 30px; padding: 0 10px; border-radius: 999px; color: #bfdbfe; background: rgba(37,99,235,.18); font-size: 11px; font-weight: 950; }

.bazaaryar-empty[b-ycksjdk919] { display: grid; place-items: center; min-height: 190px; padding: 26px; text-align: center; }
.bazaaryar-empty > span[b-ycksjdk919] { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 12px; border: 1px solid rgba(96,165,250,.25); border-radius: 15px; color: #93c5fd; background: rgba(37,99,235,.12); font-size: 22px; }
.bazaaryar-empty strong[b-ycksjdk919] { color: #e2e8f0; font-size: 14px; }
.bazaaryar-empty p[b-ycksjdk919] { max-width: 520px; margin: 8px 0 0; color: #7181a2; font-size: 11px; line-height: 1.9; }

.bazaaryar-table-wrap[b-ycksjdk919] { overflow-x: auto; }
.bazaaryar-table[b-ycksjdk919] { width: 100%; border-collapse: collapse; min-width: 780px; }
.bazaaryar-table th[b-ycksjdk919], .bazaaryar-table td[b-ycksjdk919] { padding: 14px 18px; border-bottom: 1px solid rgba(148,163,184,.09); text-align: right; font-size: 11px; }
.bazaaryar-table th[b-ycksjdk919] { color: #8391ae; background: rgba(8,15,36,.34); font-weight: 850; }
.bazaaryar-table td[b-ycksjdk919] { color: #aebbd3; }
.bazaaryar-table td strong[b-ycksjdk919] { color: #edf2ff; }
.bazaaryar-table tbody tr:hover[b-ycksjdk919] { background: rgba(59,130,246,.055); }
.bazaaryar-badge[b-ycksjdk919] { display: inline-flex; padding: 5px 9px; border-radius: 999px; color: #bfdbfe; background: rgba(37,99,235,.14); font-size: 10px; font-weight: 850; }
.bazaaryar-difference[b-ycksjdk919] { font-weight: 900; }
.bazaaryar-difference--high[b-ycksjdk919] { color: #fca5a5 !important; }
.bazaaryar-difference--low[b-ycksjdk919] { color: #86efac !important; }

@media (max-width: 1050px) { .bazaaryar-stats[b-ycksjdk919] { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 700px) {
    .bazaaryar-page[b-ycksjdk919] { padding: 15px; }
    .bazaaryar-hero[b-ycksjdk919] { align-items: stretch; flex-direction: column; padding: 20px; }
    .bazaaryar-analyze[b-ycksjdk919] { width: 100%; }
    .bazaaryar-stats[b-ycksjdk919] { grid-template-columns: 1fr; }
}

/* The application theme is applied to body by ThemeService. These selectors are
   intentionally kept in BazaarYar's own isolated stylesheet so the actual
   /bazaaryar component, rather than TorobYar, follows the global toggle. */
body.erpdb-light .bazaaryar-page[b-ycksjdk919] {
    color: #0f172a;
    background:
        radial-gradient(circle at 88% 2%, rgba(var(--erp-primary-rgb, 37, 99, 235), .09), transparent 30%),
        radial-gradient(circle at 8% 96%, rgba(14, 165, 233, .05), transparent 28%);
}
body.erpdb-light .bazaaryar-hero[b-ycksjdk919] {
    border-color: #dbe4f0;
    background:
        radial-gradient(circle at 8% 5%, rgba(var(--erp-primary-rgb, 37, 99, 235), .10), transparent 38%),
        linear-gradient(135deg, #ffffff, #f6f8fc);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}
body.erpdb-light .bazaaryar-hero[b-ycksjdk919]::after { background: rgba(var(--erp-accent-rgb, 124, 58, 237), .08); }
body.erpdb-light .bazaaryar-eyebrow[b-ycksjdk919],
body.erpdb-light .bazaaryar-panel__kicker[b-ycksjdk919] { color: var(--erp-primary-ink, #2563eb); }
body.erpdb-light .bazaaryar-hero h1[b-ycksjdk919] { color: #0f172a; }
body.erpdb-light .bazaaryar-hero p[b-ycksjdk919] { color: #64748b; }
body.erpdb-light .bazaaryar-notice--success[b-ycksjdk919] { color: #15803d; background: #ecfdf3; border-color: #bbf7d0; }
body.erpdb-light .bazaaryar-notice--error[b-ycksjdk919] { color: #b91c1c; background: #fff1f2; border-color: #fecdd3; }
body.erpdb-light .bazaaryar-stat[b-ycksjdk919],
body.erpdb-light .bazaaryar-panel[b-ycksjdk919] {
    border-color: #dbe4f0;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .07);
}
body.erpdb-light .bazaaryar-stat__label[b-ycksjdk919] { color: #475569; }
body.erpdb-light .bazaaryar-stat > strong[b-ycksjdk919] { color: #0f172a; }
body.erpdb-light .bazaaryar-stat small[b-ycksjdk919] { color: #64748b; }
body.erpdb-light .bazaaryar-panel__header[b-ycksjdk919] { border-bottom-color: #e2e8f0; }
body.erpdb-light .bazaaryar-panel__header h2[b-ycksjdk919] { color: #0f172a; }
body.erpdb-light .bazaaryar-count[b-ycksjdk919] { color: var(--erp-primary-ink, #1d4ed8); background: rgba(var(--erp-primary-rgb, 37, 99, 235), .10); }
body.erpdb-light .bazaaryar-empty > span[b-ycksjdk919] { color: var(--erp-primary-ink, #2563eb); background: rgba(var(--erp-primary-rgb, 37, 99, 235), .08); border-color: rgba(var(--erp-primary-rgb, 37, 99, 235), .18); }
body.erpdb-light .bazaaryar-empty strong[b-ycksjdk919] { color: #0f172a; }
body.erpdb-light .bazaaryar-empty p[b-ycksjdk919] { color: #64748b; }
body.erpdb-light .bazaaryar-table th[b-ycksjdk919],
body.erpdb-light .bazaaryar-table td[b-ycksjdk919] { border-bottom-color: #e8edf4; }
body.erpdb-light .bazaaryar-table th[b-ycksjdk919] { color: #475569; background: #f8fafc; }
body.erpdb-light .bazaaryar-table td[b-ycksjdk919] { color: #475569; }
body.erpdb-light .bazaaryar-table td strong[b-ycksjdk919] { color: #0f172a; }
body.erpdb-light .bazaaryar-table tbody tr:hover[b-ycksjdk919] { background: rgba(var(--erp-primary-rgb, 37, 99, 235), .045); }
body.erpdb-light .bazaaryar-badge[b-ycksjdk919] { color: var(--erp-primary-ink, #1d4ed8); background: rgba(var(--erp-primary-rgb, 37, 99, 235), .09); }
body.erpdb-light .bazaaryar-difference--high[b-ycksjdk919] { color: #b91c1c !important; }
body.erpdb-light .bazaaryar-difference--low[b-ycksjdk919] { color: #15803d !important; }


/* Latest competitor pages review */
.bazaaryar-panel--latest-pages[b-ycksjdk919] {
    min-width: 0;
}

.latest-pages__filters[b-ycksjdk919] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 18px 14px;
}

.latest-pages__filters button[b-ycksjdk919],
.latest-pages__pagination button[b-ycksjdk919],
.latest-pages__actions button[b-ycksjdk919] {
    border: 1px solid rgba(148, 163, 184, .24);
    color: #cbd5e1;
    background: rgba(15, 23, 42, .58);
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}

.latest-pages__filters button[b-ycksjdk919] {
    min-height: 38px;
    padding: 0 13px;
    border-radius: 999px;
}

.latest-pages__filters button span[b-ycksjdk919] {
    display: inline-grid;
    min-width: 24px;
    min-height: 22px;
    margin-inline-start: 6px;
    place-items: center;
    border-radius: 999px;
    background: rgba(148, 163, 184, .12);
}

.latest-pages__filters button:hover[b-ycksjdk919],
.latest-pages__filters button.is-active[b-ycksjdk919] {
    color: #fff;
    border-color: rgba(96, 165, 250, .56);
    background: rgba(37, 99, 235, .28);
}

.latest-pages__table-wrap[b-ycksjdk919] {
    max-height: 620px;
    overflow: auto;
}

.latest-pages__table[b-ycksjdk919] {
    min-width: 1320px;
}

.latest-pages__table thead[b-ycksjdk919] {
    position: sticky;
    top: 0;
    z-index: 2;
}

.latest-pages__table th[b-ycksjdk919] {
    background: #172238;
}

.latest-pages__title[b-ycksjdk919] {
    min-width: 260px;
    max-width: 360px;
    white-space: normal;
    line-height: 1.8;
}

.latest-pages__row--pending[b-ycksjdk919] {
    box-shadow: inset -3px 0 #f59e0b;
}

.latest-pages__row--accepted[b-ycksjdk919] {
    box-shadow: inset -3px 0 #10b981;
}

.latest-pages__row--rejected[b-ycksjdk919] {
    box-shadow: inset -3px 0 #ef4444;
}

.bazaaryar-badge.is-pending[b-ycksjdk919] {
    color: #fcd34d;
    background: rgba(245, 158, 11, .13);
}

.bazaaryar-badge.is-accepted[b-ycksjdk919] {
    color: #6ee7b7;
    background: rgba(16, 185, 129, .13);
}

.bazaaryar-badge.is-rejected[b-ycksjdk919] {
    color: #fca5a5;
    background: rgba(239, 68, 68, .13);
}

.latest-pages__actions[b-ycksjdk919] {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.latest-pages__actions button[b-ycksjdk919] {
    min-height: 34px;
    padding: 0 10px;
    border-radius: 10px;
}

.latest-pages__actions button:first-child[b-ycksjdk919] {
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, .35);
}

.latest-pages__actions button:nth-child(2)[b-ycksjdk919] {
    color: #fca5a5;
    border-color: rgba(239, 68, 68, .35);
}

.latest-pages__actions button.is-auto[b-ycksjdk919] {
    color: #93c5fd;
    border-color: rgba(59, 130, 246, .35);
}

.latest-pages__actions button:hover:not(:disabled)[b-ycksjdk919],
.latest-pages__pagination button:hover:not(:disabled)[b-ycksjdk919] {
    transform: translateY(-1px);
    background: rgba(37, 99, 235, .22);
}

.latest-pages__actions button:disabled[b-ycksjdk919] {
    cursor: wait;
    opacity: .55;
}

.latest-pages__link[b-ycksjdk919] {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0 11px;
    border-radius: 10px;
    color: #bfdbfe;
    background: rgba(37, 99, 235, .17);
    text-decoration: none;
    white-space: nowrap;
}

.latest-pages__pagination[b-ycksjdk919] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px 18px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 850;
}

.latest-pages__pagination > div[b-ycksjdk919] {
    display: flex;
    gap: 8px;
}

.latest-pages__pagination button[b-ycksjdk919] {
    min-width: 76px;
    min-height: 36px;
    border-radius: 11px;
}

.latest-pages__pagination button:disabled[b-ycksjdk919] {
    cursor: not-allowed;
    opacity: .42;
}

@media (max-width: 760px) {
    .latest-pages__filters[b-ycksjdk919] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .latest-pages__filters button[b-ycksjdk919] {
        width: 100%;
    }

    .latest-pages__pagination[b-ycksjdk919] {
        align-items: stretch;
        flex-direction: column;
    }

    .latest-pages__pagination > div[b-ycksjdk919],
    .latest-pages__pagination button[b-ycksjdk919] {
        width: 100%;
    }
}
/* /Components/Pages/Branches.razor.rz.scp.css */
.branches-page[b-2og6e6tqqd]{padding:24px;direction:rtl;color:#0f172a}.hero[b-2og6e6tqqd]{display:flex;align-items:center;justify-content:space-between;padding:30px;border-radius:26px;background:linear-gradient(135deg,#172554,#2563eb);color:#fff;box-shadow:0 20px 50px rgba(30,64,175,.18)}.hero h1[b-2og6e6tqqd]{margin:7px 0;font-size:32px}.hero p[b-2og6e6tqqd],.hero small[b-2og6e6tqqd]{margin:0;opacity:.86}.hero-actions[b-2og6e6tqqd]{display:flex;gap:10px}.primary[b-2og6e6tqqd],.secondary[b-2og6e6tqqd],.ghost-light[b-2og6e6tqqd],.refresh[b-2og6e6tqqd],.toolbar button[b-2og6e6tqqd],.actions button[b-2og6e6tqqd],.view-tabs button[b-2og6e6tqqd]{border:0;border-radius:12px;padding:11px 18px;font-weight:800;cursor:pointer;font:inherit}.primary[b-2og6e6tqqd]{background:#2563eb;color:#fff}.primary.light[b-2og6e6tqqd]{background:#fff;color:#1d4ed8}.ghost-light[b-2og6e6tqqd]{background:rgba(255,255,255,.13);color:#fff;border:1px solid rgba(255,255,255,.28)}.summary[b-2og6e6tqqd]{display:grid;gap:14px;margin:18px 0}.main-summary[b-2og6e6tqqd]{grid-template-columns:repeat(6,minmax(0,1fr))}.summary>div[b-2og6e6tqqd],.toolbar[b-2og6e6tqqd],.table-card[b-2og6e6tqqd],.report-toolbar[b-2og6e6tqqd],.report-card[b-2og6e6tqqd]{background:#fff;border:1px solid #dbe3f0;border-radius:18px}.summary>div[b-2og6e6tqqd]{padding:18px;display:flex;flex-direction:column;gap:6px;min-width:0}.summary b[b-2og6e6tqqd]{font-size:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.summary span[b-2og6e6tqqd],.summary small[b-2og6e6tqqd]{color:#64748b}.report-toolbar[b-2og6e6tqqd]{display:flex;align-items:end;gap:14px;padding:14px;margin-bottom:14px}.date-filter[b-2og6e6tqqd]{display:flex;gap:10px}.date-filter label[b-2og6e6tqqd]{display:flex;flex-direction:column;gap:6px;color:#64748b;font-size:13px;font-weight:700}.date-filter input[b-2og6e6tqqd],.toolbar input[b-2og6e6tqqd],.toolbar select[b-2og6e6tqqd],.report-title select[b-2og6e6tqqd],.form-grid input[b-2og6e6tqqd],.form-grid textarea[b-2og6e6tqqd],.form-grid select[b-2og6e6tqqd]{border:1px solid #cbd5e1;border-radius:12px;padding:11px 12px;background:#fff;font:inherit;outline:none}.date-filter input:focus[b-2og6e6tqqd],.toolbar input:focus[b-2og6e6tqqd],.toolbar select:focus[b-2og6e6tqqd],.report-title select:focus[b-2og6e6tqqd],.form-grid input:focus[b-2og6e6tqqd],.form-grid textarea:focus[b-2og6e6tqqd],.form-grid select:focus[b-2og6e6tqqd]{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.1)}.view-tabs[b-2og6e6tqqd]{display:flex;background:#eef2ff;border-radius:13px;padding:4px;margin-right:auto}.view-tabs button[b-2og6e6tqqd]{background:transparent;color:#475569;padding:9px 14px}.view-tabs button.active[b-2og6e6tqqd]{background:#fff;color:#1d4ed8;box-shadow:0 4px 12px rgba(15,23,42,.08)}.refresh[b-2og6e6tqqd]{background:#2563eb;color:#fff}.toolbar[b-2og6e6tqqd]{display:flex;gap:12px;padding:14px;margin-bottom:14px}.toolbar input[b-2og6e6tqqd]{flex:1}.toolbar select[b-2og6e6tqqd]{min-width:180px}.table-card[b-2og6e6tqqd],.report-card[b-2og6e6tqqd]{overflow:hidden}.table-card[b-2og6e6tqqd]{overflow-x:auto}table[b-2og6e6tqqd]{width:100%;border-collapse:collapse}th[b-2og6e6tqqd],td[b-2og6e6tqqd]{padding:14px;border-bottom:1px solid #e5e7eb;text-align:right;vertical-align:middle}th[b-2og6e6tqqd]{background:#f8fafc;color:#475569;font-size:13px}.branch-cell[b-2og6e6tqqd]{display:flex;align-items:center;gap:12px;min-width:220px}.branch-cell div[b-2og6e6tqqd]{display:flex;flex-direction:column;gap:5px}.branch-cell small[b-2og6e6tqqd],td small[b-2og6e6tqqd]{display:block;color:#64748b;margin-top:4px}.branch-code[b-2og6e6tqqd]{display:flex;align-items:center;justify-content:center;min-width:48px;height:42px;border-radius:12px;background:#eef2ff;color:#1d4ed8;font-weight:900}.resource-list[b-2og6e6tqqd]{display:grid;gap:6px;min-width:240px}.resource-list span[b-2og6e6tqqd]{display:flex;gap:8px;font-size:13px}.resource-list i[b-2og6e6tqqd]{font-style:normal;color:#64748b;min-width:48px}.actions[b-2og6e6tqqd]{display:flex;gap:7px;white-space:nowrap}.actions button[b-2og6e6tqqd]{padding:8px 11px;background:#eef2ff;color:#1d4ed8}.actions .danger-soft[b-2og6e6tqqd]{background:#fff1f2;color:#be123c}.status[b-2og6e6tqqd]{display:inline-flex;padding:6px 11px;border-radius:999px;font-weight:800;font-size:13px}.status.active[b-2og6e6tqqd]{background:#dcfce7;color:#166534}.status.inactive[b-2og6e6tqqd]{background:#fee2e2;color:#991b1b}.empty[b-2og6e6tqqd]{padding:44px;text-align:center;color:#64748b}.notice[b-2og6e6tqqd]{margin:14px 0;padding:12px 15px;border-radius:12px;font-weight:700}.notice.error[b-2og6e6tqqd]{background:#fff1f2;color:#be123c}.notice.success[b-2og6e6tqqd]{background:#ecfdf5;color:#047857}.report-title[b-2og6e6tqqd]{display:flex;justify-content:space-between;align-items:center;padding:20px 22px;border-bottom:1px solid #e5e7eb}.report-title h2[b-2og6e6tqqd]{margin:0 0 5px}.report-title p[b-2og6e6tqqd]{margin:0;color:#64748b}.report-title select[b-2og6e6tqqd]{min-width:210px}.ranking-grid[b-2og6e6tqqd]{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding:18px}.rank-card[b-2og6e6tqqd]{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:16px;border:1px solid #dbe3f0;border-radius:16px;background:linear-gradient(180deg,#fff,#f8fafc)}.rank-card .rank[b-2og6e6tqqd]{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:#1d4ed8;color:#fff;font-weight:900}.rank-card div[b-2og6e6tqqd]{display:flex;flex-direction:column}.rank-card small[b-2og6e6tqqd]{color:#64748b}.rank-card strong[b-2og6e6tqqd]{color:#0f3ea8}.report-table-wrap[b-2og6e6tqqd]{overflow:auto;border-top:1px solid #e5e7eb}.report-table td[b-2og6e6tqqd]{min-width:105px}.report-table td:first-child[b-2og6e6tqqd]{min-width:150px}.clickable[b-2og6e6tqqd]{cursor:pointer}.clickable:hover[b-2og6e6tqqd]{background:#f8fbff}.count-pill[b-2og6e6tqqd]{display:inline-flex;min-width:30px;justify-content:center;border-radius:999px;background:#fff7ed;color:#c2410c;padding:5px 9px;font-weight:800}.dialog-backdrop[b-2og6e6tqqd]{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(15,23,42,.72);backdrop-filter:blur(5px)}.dialog[b-2og6e6tqqd]{width:min(820px,calc(100vw - 40px));max-height:calc(100vh - 40px);overflow:auto;background:#fff;border-radius:24px;box-shadow:0 30px 90px rgba(15,23,42,.4)}.dialog header[b-2og6e6tqqd]{display:flex;justify-content:space-between;align-items:center;padding:22px 24px;border-bottom:1px solid #e5e7eb}.dialog header h2[b-2og6e6tqqd]{margin:4px 0 0}.dialog header button[b-2og6e6tqqd]{border:0;background:#eef2f7;border-radius:10px;width:38px;height:38px;font-size:24px;cursor:pointer}.form-grid[b-2og6e6tqqd]{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:24px}.form-grid label[b-2og6e6tqqd]{display:flex;flex-direction:column;gap:8px;font-weight:700}.wide[b-2og6e6tqqd]{grid-column:1/-1}.switch[b-2og6e6tqqd]{flex-direction:row!important;align-items:center}.defaults[b-2og6e6tqqd]{padding-top:15px}.form-section-title[b-2og6e6tqqd]{display:flex;flex-direction:column;gap:5px;margin:0 24px;padding-top:18px;border-top:1px solid #e5e7eb}.form-section-title small[b-2og6e6tqqd]{color:#64748b}.dialog footer[b-2og6e6tqqd]{display:flex;justify-content:flex-end;gap:10px;padding:18px 24px;border-top:1px solid #e5e7eb}.secondary[b-2og6e6tqqd]{background:#e2e8f0;color:#334155}.report-dialog[b-2og6e6tqqd]{width:min(900px,calc(100vw - 40px))}.detail-head[b-2og6e6tqqd]{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:15px 24px;background:#f8fafc;color:#475569}.detail-grid[b-2og6e6tqqd]{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:20px 24px}.detail-grid article[b-2og6e6tqqd]{display:flex;flex-direction:column;gap:6px;padding:15px;border:1px solid #dbe3f0;border-radius:15px}.detail-grid article span[b-2og6e6tqqd],.detail-grid article small[b-2og6e6tqqd]{color:#64748b}.detail-grid article b[b-2og6e6tqqd]{font-size:19px}.defaults-panel[b-2og6e6tqqd]{margin:0 24px 22px;border:1px solid #dbe3f0;border-radius:16px;overflow:hidden}.defaults-panel h3[b-2og6e6tqqd]{margin:0;padding:14px 16px;background:#f8fafc}.defaults-panel div[b-2og6e6tqqd]{display:flex;justify-content:space-between;gap:20px;padding:12px 16px;border-top:1px solid #e5e7eb}.defaults-panel span[b-2og6e6tqqd]{color:#64748b}@media(max-width:1200px){.main-summary[b-2og6e6tqqd]{grid-template-columns:repeat(3,1fr)}.detail-grid[b-2og6e6tqqd]{grid-template-columns:repeat(2,1fr)}}@media(max-width:850px){.report-toolbar[b-2og6e6tqqd]{align-items:stretch;flex-direction:column}.view-tabs[b-2og6e6tqqd]{margin-right:0}.ranking-grid[b-2og6e6tqqd]{grid-template-columns:1fr}.hero[b-2og6e6tqqd]{align-items:flex-start;flex-direction:column;gap:18px}.main-summary[b-2og6e6tqqd]{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.branches-page[b-2og6e6tqqd]{padding:12px}.main-summary[b-2og6e6tqqd],.form-grid[b-2og6e6tqqd],.detail-grid[b-2og6e6tqqd]{grid-template-columns:1fr}.wide[b-2og6e6tqqd]{grid-column:auto}.hero-actions[b-2og6e6tqqd],.date-filter[b-2og6e6tqqd]{width:100%;flex-direction:column}.hero-actions button[b-2og6e6tqqd],.date-filter label[b-2og6e6tqqd]{width:100%}.toolbar[b-2og6e6tqqd]{flex-direction:column}.toolbar select[b-2og6e6tqqd]{width:100%}.report-title[b-2og6e6tqqd]{align-items:stretch;flex-direction:column;gap:12px}.report-title select[b-2og6e6tqqd]{width:100%}}@media print{.branches-page[b-2og6e6tqqd]{padding:0}.hero-actions[b-2og6e6tqqd],.report-toolbar[b-2og6e6tqqd],.toolbar[b-2og6e6tqqd],.actions[b-2og6e6tqqd],.dialog-backdrop[b-2og6e6tqqd]{display:none!important}.hero[b-2og6e6tqqd]{box-shadow:none}.report-card[b-2og6e6tqqd],.table-card[b-2og6e6tqqd],.summary>div[b-2og6e6tqqd]{break-inside:avoid}.branches-page[b-2og6e6tqqd]{background:#fff}}
.date-filter label>span[b-2og6e6tqqd]{display:block}.date-filter[b-2og6e6tqqd]  .erp-persian-date-input{min-width:160px}.date-filter[b-2og6e6tqqd]  .branch-jalali-input{width:100%;min-width:160px;border:1px solid #cbd5e1;border-radius:12px;padding:11px 12px;background:#fff;font:inherit;outline:none;text-align:center;direction:ltr}.date-filter[b-2og6e6tqqd]  .branch-jalali-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.1)}.date-filter[b-2og6e6tqqd]  .erp-persian-date-error{display:block;margin-top:5px;color:#be123c;font-size:11px;white-space:nowrap}


/* ERPPlus global theme contract — appearance + tenant brand colors */
.branches-page[b-2og6e6tqqd]{
    --branches-primary:var(--erp-primary,#2563eb);
    --branches-accent:var(--erp-accent,#7c3aed);
    --branches-primary-rgb:var(--erp-primary-rgb,37,99,235);
    --branches-surface:var(--erp-theme-surface,var(--erp-surface,#fff));
    --branches-surface-raised:var(--erp-theme-surface-raised,var(--erp-surface-raised,#f8fafc));
    --branches-surface-soft:var(--erp-theme-surface-soft,var(--erp-surface-soft,#eef2ff));
    --branches-border:var(--erp-theme-border,var(--erp-border,#dbe3f0));
    --branches-border-soft:var(--erp-theme-border-soft,#e5e7eb);
    --branches-text:var(--erp-theme-text,var(--erp-text,var(--erp-final-text,#0f172a)));
    --branches-muted:var(--erp-theme-muted,var(--erp-muted,var(--erp-final-muted,#64748b)));
    color:var(--branches-text);
}
.hero[b-2og6e6tqqd]{
    background:
        radial-gradient(circle at 12% 16%,rgba(255,255,255,.14),transparent 34%),
        linear-gradient(135deg,var(--branches-primary),var(--branches-accent));
    box-shadow:0 20px 50px rgba(var(--branches-primary-rgb),.22);
}
.primary[b-2og6e6tqqd],.refresh[b-2og6e6tqqd],.rank-card .rank[b-2og6e6tqqd]{
    background:linear-gradient(135deg,var(--branches-primary),var(--branches-accent));
    color:var(--erp-on-brand,#fff);
}
.primary.light[b-2og6e6tqqd]{
    background:rgba(255,255,255,.96);
    color:var(--branches-primary);
}
.summary>div[b-2og6e6tqqd],.toolbar[b-2og6e6tqqd],.table-card[b-2og6e6tqqd],.report-toolbar[b-2og6e6tqqd],.report-card[b-2og6e6tqqd],.rank-card[b-2og6e6tqqd],.dialog[b-2og6e6tqqd],.detail-grid article[b-2og6e6tqqd],.defaults-panel[b-2og6e6tqqd]{
    color:var(--branches-text);
    border-color:var(--branches-border);
    background:var(--branches-surface);
}
.summary span[b-2og6e6tqqd],.summary small[b-2og6e6tqqd],.date-filter label[b-2og6e6tqqd],.branch-cell small[b-2og6e6tqqd],td small[b-2og6e6tqqd],.resource-list i[b-2og6e6tqqd],.empty[b-2og6e6tqqd],.report-title p[b-2og6e6tqqd],.rank-card small[b-2og6e6tqqd],.form-section-title small[b-2og6e6tqqd],.detail-grid article span[b-2og6e6tqqd],.detail-grid article small[b-2og6e6tqqd],.defaults-panel span[b-2og6e6tqqd]{
    color:var(--branches-muted);
}
.date-filter input[b-2og6e6tqqd],.toolbar input[b-2og6e6tqqd],.toolbar select[b-2og6e6tqqd],.report-title select[b-2og6e6tqqd],.form-grid input[b-2og6e6tqqd],.form-grid textarea[b-2og6e6tqqd],.form-grid select[b-2og6e6tqqd]{
    color:var(--branches-text);
    border-color:var(--branches-border);
    background:var(--branches-surface-raised);
}
.date-filter input:focus[b-2og6e6tqqd],.toolbar input:focus[b-2og6e6tqqd],.toolbar select:focus[b-2og6e6tqqd],.report-title select:focus[b-2og6e6tqqd],.form-grid input:focus[b-2og6e6tqqd],.form-grid textarea:focus[b-2og6e6tqqd],.form-grid select:focus[b-2og6e6tqqd]{
    border-color:var(--branches-accent);
    box-shadow:0 0 0 3px rgba(var(--branches-primary-rgb),.13);
}
.view-tabs[b-2og6e6tqqd]{
    background:var(--branches-surface-soft);
}
.view-tabs button[b-2og6e6tqqd]{
    color:var(--branches-muted);
}
.view-tabs button.active[b-2og6e6tqqd]{
    color:var(--erp-on-brand,#fff);
    background:linear-gradient(135deg,var(--branches-primary),var(--branches-accent));
    box-shadow:0 6px 16px rgba(var(--branches-primary-rgb),.20);
}
th[b-2og6e6tqqd],.report-title[b-2og6e6tqqd],.detail-head[b-2og6e6tqqd],.defaults-panel h3[b-2og6e6tqqd]{
    color:var(--branches-text);
    border-color:var(--branches-border-soft);
    background:var(--branches-surface-raised);
}
td[b-2og6e6tqqd],.report-table-wrap[b-2og6e6tqqd],.dialog header[b-2og6e6tqqd],.dialog footer[b-2og6e6tqqd],.form-section-title[b-2og6e6tqqd],.defaults-panel div[b-2og6e6tqqd]{
    border-color:var(--branches-border-soft);
}
.branch-code[b-2og6e6tqqd],.actions button[b-2og6e6tqqd]{
    color:var(--branches-primary);
    background:rgba(var(--branches-primary-rgb),.10);
}
.rank-card strong[b-2og6e6tqqd]{
    color:var(--branches-primary);
}
.clickable:hover[b-2og6e6tqqd]{
    background:rgba(var(--branches-primary-rgb),.06);
}
.dialog header button[b-2og6e6tqqd],.secondary[b-2og6e6tqqd]{
    color:var(--branches-text);
    border-color:var(--branches-border);
    background:var(--branches-surface-soft);
}
.date-filter[b-2og6e6tqqd]  .branch-jalali-input{
    color:var(--branches-text);
    border-color:var(--branches-border);
    background:var(--branches-surface-raised);
}
.date-filter[b-2og6e6tqqd]  .branch-jalali-input:focus{
    border-color:var(--branches-accent);
    box-shadow:0 0 0 3px rgba(var(--branches-primary-rgb),.13);
}
/* /Components/Pages/BusinessExpenses.razor.rz.scp.css */
.expense-page[b-quf5hu6km5]{padding:26px;display:grid;gap:18px;background:#f3f7ff;min-height:100%}.expense-hero[b-quf5hu6km5]{background:linear-gradient(135deg,#172e69,#246cf2);color:white;padding:30px;border-radius:28px;display:flex;justify-content:space-between;align-items:center;gap:20px}.expense-hero h1[b-quf5hu6km5]{margin:6px 0;font-size:30px}.expense-hero p[b-quf5hu6km5]{margin:0;opacity:.88}.hero-actions[b-quf5hu6km5]{display:flex;gap:10px;flex-wrap:wrap}.hero-actions button[b-quf5hu6km5],.hero-actions a[b-quf5hu6km5],.filters button[b-quf5hu6km5],.expense-modal footer button[b-quf5hu6km5]{border:0;border-radius:12px;padding:12px 18px;font-weight:800;text-decoration:none;cursor:pointer}.primary[b-quf5hu6km5]{background:#1769ee;color:#fff}.secondary[b-quf5hu6km5]{background:#fff;color:#17356f;border:1px solid #d6e1f3!important}.summary-grid[b-quf5hu6km5]{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.summary-grid article[b-quf5hu6km5]{background:#fff;border:1px solid #dce6f5;border-radius:20px;padding:20px;display:grid;gap:7px}.summary-grid span[b-quf5hu6km5],.summary-grid small[b-quf5hu6km5]{color:#65748a}.summary-grid strong[b-quf5hu6km5]{font-size:22px}.filters[b-quf5hu6km5]{display:grid;grid-template-columns:repeat(5,1fr) auto;gap:12px;background:#fff;padding:16px;border-radius:20px;border:1px solid #dce6f5;align-items:end}.filters label[b-quf5hu6km5],.form-grid label[b-quf5hu6km5]{display:grid;gap:7px;font-weight:700;color:#33415c}.filters input[b-quf5hu6km5],.filters select[b-quf5hu6km5],.form-grid input[b-quf5hu6km5],.form-grid select[b-quf5hu6km5],.form-grid textarea[b-quf5hu6km5],.confirm-modal textarea[b-quf5hu6km5]{width:100%;border:1px solid #ccd8e9;border-radius:12px;padding:11px;background:#fff}.filters button[b-quf5hu6km5]{background:#1769ee;color:#fff}.table-card[b-quf5hu6km5]{background:#fff;border:1px solid #dce6f5;border-radius:20px;overflow:auto}.table-card table[b-quf5hu6km5]{width:100%;border-collapse:collapse;min-width:1150px}.table-card th[b-quf5hu6km5],.table-card td[b-quf5hu6km5]{padding:14px;border-bottom:1px solid #e6edf7;text-align:right;vertical-align:top}.table-card th[b-quf5hu6km5]{background:#f7f9fd}.table-card td small[b-quf5hu6km5]{display:block;color:#77859a;margin-top:5px}.money[b-quf5hu6km5]{font-weight:900;white-space:nowrap}.cancelled[b-quf5hu6km5]{opacity:.55;text-decoration:line-through}.danger-link[b-quf5hu6km5]{border:0;background:none;color:#d93535;cursor:pointer}.status-cancelled[b-quf5hu6km5]{color:#d93535}.empty[b-quf5hu6km5]{text-align:center;padding:44px;color:#718096}.alert[b-quf5hu6km5]{padding:13px 16px;border-radius:14px}.alert.error[b-quf5hu6km5]{background:#fff0f0;color:#b42318}.alert.success[b-quf5hu6km5]{background:#eafbf1;color:#16794b}.expense-overlay-backdrop[b-quf5hu6km5]{position:absolute;inset:0;background:rgba(8,22,51,.72);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:20px;overflow:auto;box-sizing:border-box}.expense-modal[b-quf5hu6km5]{display:block!important;position:relative!important;inset:auto!important;width:min(960px,96vw);max-height:92vh;margin:auto;background:#fff;border-radius:24px;overflow:auto;box-shadow:0 28px 90px rgba(0,0,0,.35);opacity:1!important;visibility:visible!important;transform:none!important}.expense-modal>header[b-quf5hu6km5]{position:sticky;top:0;background:#fff;padding:20px 24px;border-bottom:1px solid #e3eaf5;display:flex;justify-content:space-between;z-index:2}.expense-modal>header h2[b-quf5hu6km5]{margin:4px 0}.expense-modal>header button[b-quf5hu6km5]{border:0;border-radius:10px;font-size:28px;width:42px;height:42px}.expense-modal-body[b-quf5hu6km5]{padding:24px}.form-grid[b-quf5hu6km5]{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-grid .wide[b-quf5hu6km5]{grid-column:1/-1}.warning[b-quf5hu6km5]{color:#b15e00;font-weight:600}.expense-modal>footer[b-quf5hu6km5]{position:sticky;bottom:0;background:#fff;border-top:1px solid #e3eaf5;padding:16px 24px;display:flex;justify-content:flex-end;gap:10px}.confirm-modal[b-quf5hu6km5]{width:min(460px,95vw);background:#fff;border-radius:20px;padding:24px}.confirm-modal div[b-quf5hu6km5]{display:flex;justify-content:flex-end;gap:10px;margin-top:15px}.danger[b-quf5hu6km5]{background:#d93535;color:#fff;border:0;border-radius:10px;padding:10px 16px}.print-only[b-quf5hu6km5]{display:none}@media(max-width:1050px){.summary-grid[b-quf5hu6km5]{grid-template-columns:1fr 1fr}.filters[b-quf5hu6km5]{grid-template-columns:1fr 1fr}.expense-hero[b-quf5hu6km5]{align-items:flex-start;flex-direction:column}}@media(max-width:650px){.expense-page[b-quf5hu6km5]{padding:12px}.summary-grid[b-quf5hu6km5],.form-grid[b-quf5hu6km5],.filters[b-quf5hu6km5]{grid-template-columns:1fr}.form-grid .wide[b-quf5hu6km5]{grid-column:auto}}@media print{.no-print[b-quf5hu6km5],.erp-nav[b-quf5hu6km5],.erp-topbar[b-quf5hu6km5]{display:none!important}.expense-page[b-quf5hu6km5]{padding:0;background:#fff}.summary-grid[b-quf5hu6km5]{grid-template-columns:repeat(4,1fr)}.print-only[b-quf5hu6km5]{display:block;padding:18px}.table-card[b-quf5hu6km5]{border:0}.table-card table[b-quf5hu6km5]{min-width:0;font-size:10px}.table-card th[b-quf5hu6km5],.table-card td[b-quf5hu6km5]{padding:7px}}

.expense-overlay-backdrop *[b-quf5hu6km5]{box-sizing:border-box}.expense-overlay-backdrop .expense-modal[b-quf5hu6km5]{z-index:1}.expense-overlay-backdrop .confirm-modal[b-quf5hu6km5]{z-index:1}
/* /Components/Pages/BusinessPartners.razor.rz.scp.css */
.partners-page[b-jt6gyhjw2k]{direction:rtl;display:grid;gap:18px;padding:22px;max-width:1700px;margin:auto}.partners-hero[b-jt6gyhjw2k]{display:flex;justify-content:space-between;align-items:center;padding:28px;border-radius:24px;color:#fff;background:linear-gradient(135deg,#101827,#312e81);box-shadow:0 20px 45px #1e293b2b}.partners-hero span[b-jt6gyhjw2k]{color:#a5b4fc;font-size:12px}.partners-hero h1[b-jt6gyhjw2k]{margin:5px 0;font-size:30px}.partners-hero p[b-jt6gyhjw2k]{margin:0;color:#e0e7ff}.partners-hero button[b-jt6gyhjw2k],.partners-card button[b-jt6gyhjw2k]{border:0;border-radius:12px;padding:11px 18px;font:inherit;font-weight:800;cursor:pointer;background:#fff;color:#312e81}.partners-summary[b-jt6gyhjw2k]{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.partners-summary article[b-jt6gyhjw2k],.partners-card[b-jt6gyhjw2k]{background:var(--mud-palette-surface,#fff);border:1px solid #e2e8f0;border-radius:18px;box-shadow:0 8px 28px #0f172a0a}.partners-summary article[b-jt6gyhjw2k]{padding:20px;display:grid;gap:8px}.partners-summary span[b-jt6gyhjw2k]{font-size:12px;color:#64748b}.partners-summary strong[b-jt6gyhjw2k]{font-size:23px}.partners-summary .result[b-jt6gyhjw2k]{background:linear-gradient(135deg,#4338ca,#7c3aed);color:#fff;border:0}.partners-summary .result span[b-jt6gyhjw2k]{color:#ede9fe}.partners-card[b-jt6gyhjw2k]{padding:20px}.allocation-filter[b-jt6gyhjw2k]{display:grid;grid-template-columns:1fr 1fr auto auto;gap:12px;align-items:end}.partners-card label[b-jt6gyhjw2k]{display:grid;gap:7px;font-size:12px;font-weight:800;color:#64748b}.partners-card input[b-jt6gyhjw2k],.partners-card textarea[b-jt6gyhjw2k]{border:1px solid #dbe2ea;border-radius:11px;padding:11px 12px;background:var(--mud-palette-background,#fff);color:inherit;font:inherit}.partners-card button[b-jt6gyhjw2k]{background:#172554;color:#fff}.partners-card button.secondary[b-jt6gyhjw2k]{background:#fff;color:#334155;border:1px solid #dbe2ea}.editor h2[b-jt6gyhjw2k],.card-head h2[b-jt6gyhjw2k]{margin:0}.editor-grid[b-jt6gyhjw2k]{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0}.editor-grid .wide[b-jt6gyhjw2k]{grid-column:span 2}.editor-grid textarea[b-jt6gyhjw2k]{min-height:70px}.editor-grid .check[b-jt6gyhjw2k]{display:flex;align-items:center;gap:8px}.actions[b-jt6gyhjw2k]{display:flex;gap:10px}.card-head[b-jt6gyhjw2k]{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.card-head span[b-jt6gyhjw2k]{font-size:12px;color:#64748b}.table-wrap[b-jt6gyhjw2k]{overflow:auto}table[b-jt6gyhjw2k]{width:100%;border-collapse:collapse}th[b-jt6gyhjw2k],td[b-jt6gyhjw2k]{padding:13px 12px;border-bottom:1px solid #eef2f7;text-align:right;white-space:nowrap;font-size:13px}th[b-jt6gyhjw2k]{background:#f8fafc;color:#475569}td small[b-jt6gyhjw2k]{display:block;color:#94a3b8;margin-top:4px}.badge[b-jt6gyhjw2k]{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800}.badge.active[b-jt6gyhjw2k]{background:#dcfce7;color:#166534}.badge.inactive[b-jt6gyhjw2k]{background:#f1f5f9;color:#64748b}.link[b-jt6gyhjw2k]{background:transparent!important;color:#4338ca!important;padding:6px!important}.link.danger[b-jt6gyhjw2k]{color:#b91c1c!important}.positive[b-jt6gyhjw2k]{color:#15803d}.negative[b-jt6gyhjw2k]{color:#b91c1c}.partners-alert[b-jt6gyhjw2k]{padding:12px 16px;border-radius:12px;background:#fee2e2;color:#991b1b}@media(max-width:900px){.partners-summary[b-jt6gyhjw2k]{grid-template-columns:1fr}.allocation-filter[b-jt6gyhjw2k],.editor-grid[b-jt6gyhjw2k]{grid-template-columns:1fr}.editor-grid .wide[b-jt6gyhjw2k]{grid-column:auto}.partners-hero[b-jt6gyhjw2k]{align-items:flex-start;flex-direction:column;gap:18px}}@media print{.partners-hero[b-jt6gyhjw2k],.partners-summary[b-jt6gyhjw2k],.allocation-filter[b-jt6gyhjw2k],.editor[b-jt6gyhjw2k],.partners-card:not(.print-area)[b-jt6gyhjw2k],.erp-nav[b-jt6gyhjw2k],.erp-topbar[b-jt6gyhjw2k]{display:none!important}.partners-page[b-jt6gyhjw2k]{padding:0}.print-area[b-jt6gyhjw2k]{display:block!important;border:0;box-shadow:none;padding:0}@page{size:A4 landscape;margin:10mm}thead[b-jt6gyhjw2k]{display:table-header-group}tr[b-jt6gyhjw2k]{break-inside:avoid}}

.editor-grid label small[b-jt6gyhjw2k]{font-size:10px;font-weight:500;line-height:1.7;color:#94a3b8}
/* /Components/Pages/Cheques.razor.rz.scp.css */
.cheques-enterprise-head[b-86cyuxmkdb]{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px;padding:24px;border-radius:24px;color:#fff;background:linear-gradient(135deg,#3730a3,#5b5bff 58%,#7c4dff);box-shadow:0 20px 50px rgba(91,91,255,.2)}
.cheques-enterprise-head span[b-86cyuxmkdb]{font-size:11px;font-weight:900}.cheques-enterprise-head h1[b-86cyuxmkdb]{margin:6px 0 3px;font-size:30px}.cheques-enterprise-head p[b-86cyuxmkdb]{margin:0;color:rgba(255,255,255,.78)}
.cheques-head-actions[b-86cyuxmkdb]{display:flex;flex-wrap:wrap;gap:8px}.cheques-head-actions button[b-86cyuxmkdb]{min-height:42px;padding:0 14px;border:1px solid rgba(255,255,255,.24);border-radius:12px;color:#fff;background:rgba(255,255,255,.11);font-family:inherit;font-weight:850;cursor:pointer}.cheques-head-actions .receive[b-86cyuxmkdb]{background:#009a49}.cheques-head-actions .pay[b-86cyuxmkdb]{background:#e98009}.cheques-head-actions button:hover:not(:disabled)[b-86cyuxmkdb]{filter:brightness(1.08);transform:translateY(-1px)}
.cheques-kpis[b-86cyuxmkdb]{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:16px}.cheques-kpis article[b-86cyuxmkdb]{display:flex;min-height:92px;flex-direction:column;justify-content:center;padding:16px;border:1px solid var(--erpdc-border,#e2e8f0);border-radius:17px;background:var(--erpdc-card-bg,#fff);box-shadow:0 10px 28px rgba(15,23,42,.05)}.cheques-kpis span[b-86cyuxmkdb]{color:var(--erpdc-muted,#64748b);font-size:11px;font-weight:750}.cheques-kpis strong[b-86cyuxmkdb]{display:block;margin-top:5px;color:var(--erpdc-text,#0f172a);font-size:23px;font-variant-numeric:tabular-nums}
.container-fluid>.d-flex:first-child[b-86cyuxmkdb]{display:none!important}.print-only[b-86cyuxmkdb]{display:none}.cheque-filter-grid[b-86cyuxmkdb]{display:grid;grid-template-columns:minmax(260px,2fr) minmax(150px,1fr) minmax(150px,1fr) 78px;gap:12px;align-items:center}.cheque-filters[b-86cyuxmkdb]{background:var(--erpdc-card-bg,#fff)!important}
.cheque-table-card[b-86cyuxmkdb]{overflow:hidden;background:var(--erpdc-card-bg,#fff)!important}.cheque-table-wrap[b-86cyuxmkdb]{width:100%;overflow-x:auto}.cheque-table[b-86cyuxmkdb]{width:100%;min-width:1040px;table-layout:fixed;direction:rtl;color:var(--erpdc-text,#0f172a);margin:0}.cheque-table .col-number[b-86cyuxmkdb]{width:13%}.cheque-table .col-type[b-86cyuxmkdb]{width:9%}.cheque-table .col-date[b-86cyuxmkdb]{width:12%}.cheque-table .col-bank[b-86cyuxmkdb]{width:13%}.cheque-table .col-party[b-86cyuxmkdb]{width:17%}.cheque-table .col-amount[b-86cyuxmkdb]{width:15%}.cheque-table .col-status[b-86cyuxmkdb]{width:10%}.cheque-table .col-actions[b-86cyuxmkdb]{width:190px}
.cheque-table th[b-86cyuxmkdb]{padding:13px 12px;border:0;border-bottom:1px solid var(--erpdc-border,#dbe3ef);background:var(--erpdc-soft,#f1f5f9);color:var(--erpdc-muted,#475569);font-size:12px;font-weight:900;text-align:right;white-space:normal}.cheque-table td[b-86cyuxmkdb]{padding:13px 12px;border:0;border-bottom:1px solid var(--erpdc-border,#e5eaf1);vertical-align:middle;line-height:1.6;white-space:normal;overflow-wrap:anywhere}.cheque-table tbody tr[b-86cyuxmkdb]{transition:background-color .15s ease}.cheque-table tbody tr:hover[b-86cyuxmkdb]{background:var(--erpdc-hover,#f8fafc)}.cheque-table tbody tr:last-child td[b-86cyuxmkdb]{border-bottom:0}.cheque-number strong[b-86cyuxmkdb]{font-variant-numeric:tabular-nums;letter-spacing:.2px}.cheque-date[b-86cyuxmkdb]{white-space:nowrap!important;font-variant-numeric:tabular-nums}.cheque-bank[b-86cyuxmkdb],.cheque-party[b-86cyuxmkdb]{max-width:0}.cheque-amount[b-86cyuxmkdb]{text-align:left!important;direction:ltr;white-space:nowrap!important;font-size:13px;font-weight:900;font-variant-numeric:tabular-nums}.cheque-amount small[b-86cyuxmkdb]{font-size:9px;color:var(--erpdc-muted,#64748b)}
.cheque-type[b-86cyuxmkdb]{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:850}.cheque-type.receive[b-86cyuxmkdb]{color:#047857;background:#d1fae5}.cheque-type.pay[b-86cyuxmkdb]{color:#b45309;background:#fef3c7}
.cheque-actions[b-86cyuxmkdb]{white-space:nowrap!important;text-align:center!important}.cheque-icon-btn[b-86cyuxmkdb]{display:inline-grid;width:30px;height:30px;margin:2px;place-items:center;border:1px solid var(--erpdc-border,#dbe3ef);border-radius:8px;background:var(--erpdc-card-bg,#fff);color:var(--erpdc-text,#334155);font-size:15px;font-weight:900;line-height:1;cursor:pointer;transition:.15s}.cheque-icon-btn:hover:not(:disabled)[b-86cyuxmkdb]{transform:translateY(-1px);box-shadow:0 4px 10px rgba(15,23,42,.12)}.cheque-icon-btn:disabled[b-86cyuxmkdb]{cursor:not-allowed;opacity:.38}.cheque-icon-btn.edit[b-86cyuxmkdb]{color:var(--erp-primary, #2563eb)}.cheque-icon-btn.pass[b-86cyuxmkdb]{color:#059669}.cheque-icon-btn.return[b-86cyuxmkdb]{color:#d97706}.cheque-icon-btn.cancel[b-86cyuxmkdb]{color:#64748b}.cheque-icon-btn.delete[b-86cyuxmkdb]{color:#dc2626}
.cheque-editor-dialog[b-86cyuxmkdb]{width:min(860px,calc(100vw - 32px));max-width:860px}.cheque-editor-dialog :global(.modal-content)[b-86cyuxmkdb]{border:0;border-radius:18px;overflow:hidden;background:var(--erpdc-card-bg,#fff);color:var(--erpdc-text,#0f172a);box-shadow:0 24px 70px rgba(15,23,42,.25)}.cheque-dialog-header[b-86cyuxmkdb]{min-height:74px;padding:15px 22px;border-bottom:1px solid var(--erpdc-border,#e2e8f0);background:var(--erpdc-soft,#f8fafc)}.cheque-dialog-header small[b-86cyuxmkdb]{display:block;margin-bottom:3px;color:var(--erp-primary, #6366f1);font-size:10px;font-weight:900}.cheque-dialog-header h5[b-86cyuxmkdb]{margin:0;font-size:18px;font-weight:900}.cheque-editor-dialog :global(.modal-body)[b-86cyuxmkdb]{padding:20px 22px}.cheque-editor-grid[b-86cyuxmkdb]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 16px}.cheque-section-title[b-86cyuxmkdb]{grid-column:1/-1;margin:5px 0 -2px;padding-bottom:8px;border-bottom:1px solid var(--erpdc-border,#e2e8f0);color:var(--erpdc-text,#334155);font-size:12px;font-weight:900}.cheque-section-title:first-child[b-86cyuxmkdb]{margin-top:0}.cheque-field[b-86cyuxmkdb]{display:flex;min-width:0;flex-direction:column;gap:6px}.cheque-field-wide[b-86cyuxmkdb]{grid-column:1/-1}.cheque-field :global(.form-label)[b-86cyuxmkdb]{margin:0;color:var(--erpdc-muted,#475569);font-size:11px;font-weight:850}.cheque-field :global(.form-control)[b-86cyuxmkdb],.cheque-field :global(.form-select)[b-86cyuxmkdb]{width:100%;min-height:44px;border:1px solid var(--erpdc-border,#dbe3ef);border-radius:10px;background:var(--erpdc-input-bg,#fff);color:var(--erpdc-text,#0f172a)}.cheque-field textarea.form-control[b-86cyuxmkdb]{min-height:82px;resize:vertical}.cheque-field :global(.form-control:focus)[b-86cyuxmkdb],.cheque-field :global(.form-select:focus)[b-86cyuxmkdb]{border-color:var(--erp-primary, #6366f1);box-shadow:0 0 0 .2rem rgba(99,102,241,.12)}.cheque-dialog-footer[b-86cyuxmkdb]{gap:9px;padding:13px 22px;border-top:1px solid var(--erpdc-border,#e2e8f0);background:var(--erpdc-soft,#f8fafc)}.cheque-dialog-footer :global(.btn)[b-86cyuxmkdb]{min-width:112px;min-height:42px;border-radius:10px;font-weight:850}
:global(.modal-content)[b-86cyuxmkdb]{border:0;border-radius:18px;overflow:hidden;box-shadow:0 24px 70px rgba(15,23,42,.25)}:global(.card)[b-86cyuxmkdb]{border-radius:18px}:global(.form-control)[b-86cyuxmkdb],:global(.form-select)[b-86cyuxmkdb]{min-height:44px;border-radius:11px;border-color:#dbe3ef}:global(.btn)[b-86cyuxmkdb]{border-radius:10px;font-weight:700}:global(.badge)[b-86cyuxmkdb]{padding:7px 10px;border-radius:999px;white-space:nowrap}
@media(max-width:1100px){.cheques-kpis[b-86cyuxmkdb]{grid-template-columns:repeat(3,minmax(0,1fr))}.cheque-editor-grid[b-86cyuxmkdb]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:768px){.cheques-enterprise-head[b-86cyuxmkdb]{align-items:flex-start;flex-direction:column;padding:19px}.cheques-enterprise-head h1[b-86cyuxmkdb]{font-size:25px}.cheques-head-actions[b-86cyuxmkdb]{width:100%}.cheques-head-actions button[b-86cyuxmkdb]{flex:1 1 130px}.cheques-kpis[b-86cyuxmkdb]{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.cheques-kpis article[b-86cyuxmkdb]{min-height:80px}.cheque-filter-grid[b-86cyuxmkdb]{grid-template-columns:1fr}.cheque-table[b-86cyuxmkdb]{min-width:900px}.cheque-table th[b-86cyuxmkdb],.cheque-table td[b-86cyuxmkdb]{padding:10px 9px}.cheque-editor-dialog[b-86cyuxmkdb]{width:calc(100vw - 18px);margin:9px auto}.cheque-editor-grid[b-86cyuxmkdb]{grid-template-columns:1fr}.cheque-field-wide[b-86cyuxmkdb]{grid-column:auto}.cheque-editor-dialog :global(.modal-body)[b-86cyuxmkdb]{padding:16px}.cheque-dialog-footer[b-86cyuxmkdb]{position:sticky;bottom:0}.cheque-dialog-footer :global(.btn)[b-86cyuxmkdb]{flex:1}}
@media print{
    @page{size:A4 landscape;margin:9mm}
    .no-print[b-86cyuxmkdb],.cheque-filters[b-86cyuxmkdb],.cheque-actions[b-86cyuxmkdb],.actions-heading[b-86cyuxmkdb],:global(.modal)[b-86cyuxmkdb],:global(.modal-backdrop)[b-86cyuxmkdb],button[b-86cyuxmkdb],input[b-86cyuxmkdb],select[b-86cyuxmkdb],textarea[b-86cyuxmkdb]{display:none!important}
    .print-only[b-86cyuxmkdb]{display:flex!important}.cheques-workspace[b-86cyuxmkdb]{width:100%!important;margin:0!important;padding:0!important;background:#fff!important;color:#000!important}.cheque-print-header[b-86cyuxmkdb]{align-items:flex-end;justify-content:space-between;margin-bottom:4mm;padding-bottom:3mm;border-bottom:1.5px solid #000}.cheque-print-header h1[b-86cyuxmkdb]{margin:0;font-size:17pt;color:#000}.cheque-print-header span[b-86cyuxmkdb]{font-size:9pt;color:#000}.cheque-print-summary[b-86cyuxmkdb]{display:grid!important;grid-template-columns:repeat(4,1fr);gap:3mm;margin-bottom:4mm}.cheque-print-summary div[b-86cyuxmkdb]{padding:2.5mm;border:1px solid #777;background:#fff;color:#000}.cheque-print-summary span[b-86cyuxmkdb],.cheque-print-summary strong[b-86cyuxmkdb]{display:block}.cheque-print-summary span[b-86cyuxmkdb]{font-size:8pt}.cheque-print-summary strong[b-86cyuxmkdb]{margin-top:1mm;font-size:10pt}.cheque-table-card[b-86cyuxmkdb],.cheque-table-wrap[b-86cyuxmkdb]{overflow:visible!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}.cheque-table[b-86cyuxmkdb]{width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:collapse!important;color:#000!important;font-size:8.5pt}.cheque-table .col-number[b-86cyuxmkdb]{width:14%}.cheque-table .col-type[b-86cyuxmkdb]{width:9%}.cheque-table .col-date[b-86cyuxmkdb]{width:13%}.cheque-table .col-bank[b-86cyuxmkdb]{width:14%}.cheque-table .col-party[b-86cyuxmkdb]{width:19%}.cheque-table .col-amount[b-86cyuxmkdb]{width:17%}.cheque-table .col-status[b-86cyuxmkdb]{width:14%}.cheque-table .col-actions[b-86cyuxmkdb]{display:none}.cheque-table thead[b-86cyuxmkdb]{display:table-header-group}.cheque-table tr[b-86cyuxmkdb]{break-inside:avoid!important;page-break-inside:avoid!important}.cheque-table th[b-86cyuxmkdb],.cheque-table td[b-86cyuxmkdb]{padding:2.2mm 1.7mm!important;border:1px solid #666!important;background:#fff!important;color:#000!important;box-shadow:none!important;line-height:1.45}.cheque-table th[b-86cyuxmkdb]{background:#eee!important;font-size:8pt}.cheque-table tbody tr:hover[b-86cyuxmkdb]{background:#fff!important}.cheque-table td.cheque-bank[b-86cyuxmkdb],.cheque-table td.cheque-party[b-86cyuxmkdb]{max-width:none}.cheque-type[b-86cyuxmkdb],:global(.badge)[b-86cyuxmkdb]{border:1px solid #555!important;background:#fff!important;color:#000!important}.cheque-amount[b-86cyuxmkdb]{color:#000!important}.card-body[b-86cyuxmkdb]{padding:0!important}
}
.cheque-settlement-dialog[b-86cyuxmkdb]{width:min(560px,calc(100vw - 32px));max-width:560px}.cheque-settlement-dialog :global(.modal-content)[b-86cyuxmkdb]{border:0;border-radius:18px;overflow:hidden;background:var(--erpdc-card-bg,#fff);color:var(--erpdc-text,#0f172a);box-shadow:0 24px 70px rgba(15,23,42,.25)}.cheque-settlement-dialog :global(.modal-body)[b-86cyuxmkdb]{padding:22px}.cheque-settlement-summary[b-86cyuxmkdb]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cheque-settlement-summary div[b-86cyuxmkdb]{padding:14px;border:1px solid var(--erpdc-border,#e2e8f0);border-radius:12px;background:var(--erpdc-soft,#f8fafc)}.cheque-settlement-summary span[b-86cyuxmkdb],.cheque-settlement-summary strong[b-86cyuxmkdb]{display:block}.cheque-settlement-summary span[b-86cyuxmkdb]{margin-bottom:5px;color:var(--erpdc-muted,#64748b);font-size:11px;font-weight:800}.cheque-settlement-summary strong[b-86cyuxmkdb]{color:var(--erpdc-text,#0f172a);font-size:14px;font-weight:900;font-variant-numeric:tabular-nums}@media(max-width:576px){.cheque-settlement-dialog[b-86cyuxmkdb]{width:calc(100vw - 18px);margin:9px auto}.cheque-settlement-summary[b-86cyuxmkdb]{grid-template-columns:1fr}}
/* /Components/Pages/Commission/Commissions.razor.rz.scp.css */
.commission-page[b-qvwei0xdte]{padding:28px;display:grid;gap:20px;color:#0f172a;background:linear-gradient(180deg,#f4f7fb 0,#eef3f8 100%);min-height:100%;font-family:inherit}.page-head[b-qvwei0xdte]{display:flex;align-items:center;justify-content:space-between;gap:18px}.page-head h1[b-qvwei0xdte]{margin:3px 0 6px;font-size:31px;line-height:1.2}.page-head p[b-qvwei0xdte]{margin:0;color:#64748b}.page-kicker[b-qvwei0xdte],.section-kicker[b-qvwei0xdte]{display:block;font-size:10px;letter-spacing:.18em;color:#64748b;font-weight:800}.head-actions[b-qvwei0xdte]{display:flex;gap:10px}.primary[b-qvwei0xdte],.secondary[b-qvwei0xdte],.edit-button[b-qvwei0xdte],.approve-action[b-qvwei0xdte],.recalculate-action[b-qvwei0xdte]{font:inherit;border-radius:12px;padding:10px 16px;cursor:pointer;font-weight:800;transition:.18s}.primary[b-qvwei0xdte]{border:0;background:#2563eb;color:#fff;box-shadow:0 8px 18px rgba(37,99,235,.18)}.primary:hover[b-qvwei0xdte]{background:#1d4ed8;transform:translateY(-1px)}.secondary[b-qvwei0xdte]{border:1px solid #d7e0eb;background:#fff;color:#334155}.secondary:hover[b-qvwei0xdte]{border-color:#93c5fd;color:#1d4ed8}.compact[b-qvwei0xdte]{padding:8px 13px}.refresh-button[b-qvwei0xdte]{min-width:100px}.primary:disabled[b-qvwei0xdte],.secondary:disabled[b-qvwei0xdte],.approve-action:disabled[b-qvwei0xdte],.recalculate-action:disabled[b-qvwei0xdte]{opacity:.55;cursor:not-allowed;transform:none}.message[b-qvwei0xdte]{display:flex;align-items:center;justify-content:space-between;gap:12px;border-radius:14px;padding:13px 15px;font-weight:700}.message.ok[b-qvwei0xdte]{background:#ecfdf5;border:1px solid #a7f3d0;color:#047857}.message.error[b-qvwei0xdte]{background:#fff1f2;border:1px solid #fecdd3;color:#be123c}.message button[b-qvwei0xdte]{border:0;background:transparent;color:inherit;font-size:22px;cursor:pointer}.loading-card[b-qvwei0xdte]{min-height:220px;border:1px solid #dfe6ef;border-radius:20px;background:#fff;display:grid;place-items:center;align-content:center;gap:12px;color:#64748b}.loading-spinner[b-qvwei0xdte]{width:34px;height:34px;border:3px solid #dbeafe;border-top-color:#2563eb;border-radius:50%;animation:spin-b-qvwei0xdte .8s linear infinite}@keyframes spin-b-qvwei0xdte{to{transform:rotate(360deg)}}.kpis[b-qvwei0xdte]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.kpi[b-qvwei0xdte]{background:#fff;border:1px solid #dfe6ef;border-radius:20px;padding:18px;box-shadow:0 10px 28px rgba(15,23,42,.045);display:grid;gap:11px;position:relative;overflow:hidden}.kpi[b-qvwei0xdte]:before{content:"";position:absolute;inset-inline-start:0;top:0;bottom:0;width:4px}.kpi.pending[b-qvwei0xdte]:before{background:#f59e0b}.kpi.approved[b-qvwei0xdte]:before{background:#2563eb}.kpi.paid[b-qvwei0xdte]:before{background:#10b981}.kpi.plans-count[b-qvwei0xdte]:before{background:#7c3aed}.kpi>div[b-qvwei0xdte]{display:flex;align-items:center;justify-content:space-between;gap:8px}.kpi span[b-qvwei0xdte]{font-weight:800;color:#334155}.kpi small[b-qvwei0xdte],.kpi em[b-qvwei0xdte]{font-style:normal;color:#94a3b8;font-size:12px}.kpi strong[b-qvwei0xdte]{font-size:28px;line-height:1}.panel[b-qvwei0xdte]{background:#fff;border:1px solid #dfe6ef;border-radius:22px;box-shadow:0 12px 30px rgba(15,23,42,.04);overflow:hidden}.panel-title[b-qvwei0xdte]{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;border-bottom:1px solid #e8edf3}.panel-title h2[b-qvwei0xdte]{margin:3px 0 5px;font-size:21px}.panel-title p[b-qvwei0xdte]{margin:0;color:#64748b;font-size:13px}.panel-count[b-qvwei0xdte]{padding:7px 11px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-weight:800;font-size:12px}.salespeople[b-qvwei0xdte]{padding:18px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.salesperson-card[b-qvwei0xdte]{display:grid;gap:12px;padding:14px;border:1px solid #e2e8f0;border-radius:16px;background:#fbfdff;transition:.18s}.salesperson-card:hover[b-qvwei0xdte]{border-color:#bfdbfe;box-shadow:0 7px 18px rgba(37,99,235,.06)}.person-info[b-qvwei0xdte]{display:flex;align-items:center;gap:11px}.avatar[b-qvwei0xdte]{width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;display:grid;place-items:center;font-weight:900}.person-info>span:last-child[b-qvwei0xdte]{display:grid;gap:3px;min-width:0}.person-info strong[b-qvwei0xdte]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.person-info small[b-qvwei0xdte]{color:#94a3b8}.salesperson-card select[b-qvwei0xdte],.filter-bar select[b-qvwei0xdte],.filter-bar input[b-qvwei0xdte]{font:inherit;border:1px solid #dbe4ee;border-radius:11px;background:#fff;color:#1e293b;outline:none}.salesperson-card select[b-qvwei0xdte]{padding:10px 11px;width:100%}.salesperson-card select:focus[b-qvwei0xdte],.filter-bar select:focus[b-qvwei0xdte],.filter-bar input:focus[b-qvwei0xdte]{border-color:#60a5fa;box-shadow:0 0 0 3px rgba(37,99,235,.08)}.plans[b-qvwei0xdte]{padding:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.plan-card[b-qvwei0xdte]{border:1px solid #e1e8f1;border-radius:17px;padding:16px;background:#fff;display:grid;gap:13px}.plan-card.inactive[b-qvwei0xdte]{background:#f8fafc;opacity:.82}.plan-head[b-qvwei0xdte]{display:flex;align-items:center;justify-content:space-between;gap:12px}.plan-head>div[b-qvwei0xdte]{display:flex;align-items:center;gap:9px}.plan-head strong[b-qvwei0xdte]{font-size:17px}.state-badge[b-qvwei0xdte]{padding:4px 8px;border-radius:999px;font-size:11px;font-weight:800}.state-badge.active[b-qvwei0xdte]{background:#dcfce7;color:#15803d}.state-badge.inactive[b-qvwei0xdte]{background:#e2e8f0;color:#64748b}.plan-card p[b-qvwei0xdte]{margin:0;color:#64748b;min-height:22px}.plan-meta[b-qvwei0xdte]{display:flex;flex-wrap:wrap;gap:7px}.plan-meta span[b-qvwei0xdte]{padding:6px 8px;border-radius:9px;background:#f1f5f9;color:#475569;font-size:12px}.edit-button[b-qvwei0xdte]{border:1px solid #dbeafe;background:#eff6ff;color:#1d4ed8;padding:7px 11px}.edit-button:hover[b-qvwei0xdte]{background:#dbeafe}.rows-title[b-qvwei0xdte]{align-items:flex-end}.filter-bar[b-qvwei0xdte]{display:flex;gap:9px;flex-wrap:wrap}.filter-bar input[b-qvwei0xdte]{min-width:250px;padding:10px 12px}.filter-bar select[b-qvwei0xdte]{padding:10px 11px}.payroll-note[b-qvwei0xdte]{margin:16px 18px 0;padding:13px 15px;border:1px solid #bfdbfe;background:#eff6ff;border-radius:14px;display:flex;align-items:center;gap:14px;color:#1e40af}.payroll-note strong[b-qvwei0xdte]{white-space:nowrap}.payroll-note span[b-qvwei0xdte]{font-size:13px}.table-wrap[b-qvwei0xdte]{overflow:auto;padding:14px 18px 18px}.table-wrap table[b-qvwei0xdte]{width:100%;border-collapse:separate;border-spacing:0;min-width:940px;border:1px solid #e5eaf1;border-radius:14px;overflow:hidden}.table-wrap th[b-qvwei0xdte]{background:#f8fafc;color:#64748b;font-size:12px;padding:12px;text-align:right;border-bottom:1px solid #e5eaf1}.table-wrap td[b-qvwei0xdte]{padding:13px 12px;border-bottom:1px solid #edf1f5;vertical-align:middle}.table-wrap tbody tr:last-child td[b-qvwei0xdte]{border-bottom:0}.table-wrap tbody tr:hover[b-qvwei0xdte]{background:#fbfdff}.table-wrap td>strong[b-qvwei0xdte],.table-wrap td>small[b-qvwei0xdte]{display:block}.table-wrap td>small[b-qvwei0xdte]{margin-top:4px;color:#94a3b8}.commission-amount[b-qvwei0xdte]{font-weight:900;color:#0f172a}.status[b-qvwei0xdte]{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;font-size:12px;font-weight:900;white-space:nowrap}.status.pending[b-qvwei0xdte]{background:#fef3c7;color:#92400e}.status.approved[b-qvwei0xdte]{background:#dbeafe;color:#1d4ed8}.status.paid[b-qvwei0xdte]{background:#dcfce7;color:#15803d}.actions[b-qvwei0xdte]{display:flex;align-items:center;gap:7px;white-space:nowrap}.approve-action[b-qvwei0xdte]{border:0;background:#16a34a;color:#fff;padding:7px 11px}.recalculate-action[b-qvwei0xdte]{border:1px solid #dbe4ee;background:#fff;color:#475569;padding:7px 11px}.approve-action:hover[b-qvwei0xdte]{background:#15803d}.recalculate-action:hover[b-qvwei0xdte]{border-color:#93c5fd;color:#1d4ed8}.payroll-chip[b-qvwei0xdte],.done-chip[b-qvwei0xdte]{padding:6px 9px;border-radius:9px;font-size:11px;font-weight:800}.payroll-chip[b-qvwei0xdte]{background:#ede9fe;color:#6d28d9}.done-chip[b-qvwei0xdte]{background:#dcfce7;color:#15803d}.empty-state[b-qvwei0xdte]{margin:18px;padding:34px 18px;border:1px dashed #cbd5e1;border-radius:16px;background:#fbfdff;text-align:center;display:grid;justify-items:center;gap:8px;color:#64748b}.empty-state strong[b-qvwei0xdte]{color:#334155;font-size:16px}.empty-state .primary[b-qvwei0xdte]{margin-top:5px}.commission-fullscreen-dialog[b-qvwei0xdte]{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;overflow:hidden}.commission-fullscreen-dialog[b-qvwei0xdte]::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(4px)}.commission-dialog[b-qvwei0xdte]{position:absolute;inset:4vh 3vw;background:#f5f7fb;border:1px solid rgba(255,255,255,.7);border-radius:24px;box-shadow:0 30px 80px rgba(15,23,42,.25);display:grid;grid-template-rows:auto 1fr auto;overflow:hidden}.commission-dialog__head[b-qvwei0xdte]{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 28px;background:#fff;border-bottom:1px solid #e3e9f2}.commission-dialog__head h2[b-qvwei0xdte]{margin:3px 0 5px;font-size:24px}.commission-dialog__head p[b-qvwei0xdte]{margin:0;color:#64748b}.eyebrow[b-qvwei0xdte]{font-size:11px;letter-spacing:.12em;color:#2563eb;font-weight:800}.icon-button[b-qvwei0xdte]{width:44px;height:44px;border:1px solid #e2e8f0;background:#f8fafc;border-radius:13px;cursor:pointer;font-size:25px;color:#334155}.commission-dialog__body[b-qvwei0xdte]{padding:22px 28px 30px;overflow:auto;display:grid;gap:18px;align-content:start}.dialog-card[b-qvwei0xdte]{background:#fff;border:1px solid #e1e8f1;border-radius:18px;padding:20px;box-shadow:0 8px 26px rgba(15,23,42,.045)}.section-title[b-qvwei0xdte]{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.section-title>div[b-qvwei0xdte]{display:flex;align-items:center;gap:10px}.section-title>div>span[b-qvwei0xdte]{width:32px;height:32px;border-radius:10px;background:#eff6ff;color:#2563eb;display:grid;place-items:center;font-weight:800}.section-title strong[b-qvwei0xdte]{font-size:18px}.section-title small[b-qvwei0xdte]{color:#94a3b8}.form-grid[b-qvwei0xdte]{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid label[b-qvwei0xdte]{display:grid;gap:7px;color:#334155;font-weight:700}.form-grid label>span b[b-qvwei0xdte]{color:#dc2626}.form-grid .wide[b-qvwei0xdte]{grid-column:1/-1}.field[b-qvwei0xdte],.table-field[b-qvwei0xdte]{font:inherit;border:1px solid #dbe4ee;background:#fff;color:#172033;border-radius:11px;outline:none;transition:.18s}.field[b-qvwei0xdte]{padding:11px 12px}.field:focus[b-qvwei0xdte],.table-field:focus[b-qvwei0xdte]{border-color:#60a5fa;box-shadow:0 0 0 3px rgba(37,99,235,.1)}textarea.field[b-qvwei0xdte]{min-height:88px;resize:vertical}.option-grid[b-qvwei0xdte]{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.switch-card[b-qvwei0xdte]{position:relative;display:flex;align-items:center;gap:12px;border:1px solid #e2e8f0;border-radius:14px;padding:14px;cursor:pointer;background:#fbfdff}.switch-card input[b-qvwei0xdte]{position:absolute;opacity:0;pointer-events:none}.switch-card>span:last-child[b-qvwei0xdte]{display:grid;gap:3px}.switch-card small[b-qvwei0xdte]{color:#64748b;font-weight:400}.switch-ui[b-qvwei0xdte]{width:42px;height:24px;border-radius:999px;background:#cbd5e1;position:relative;flex:0 0 auto;transition:.2s}.switch-ui[b-qvwei0xdte]:after{content:"";position:absolute;top:3px;right:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(15,23,42,.3);transition:.2s}.switch-card input:checked+.switch-ui[b-qvwei0xdte]{background:#2563eb}.switch-card input:checked+.switch-ui[b-qvwei0xdte]:after{transform:translateX(-18px)}.rule-title[b-qvwei0xdte]{margin-bottom:12px}.add-rule[b-qvwei0xdte]{border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;border-radius:10px;padding:9px 13px;cursor:pointer;font:inherit;font-weight:800}.rules-table-wrap[b-qvwei0xdte]{overflow:auto;border:1px solid #e5eaf1;border-radius:14px;max-height:42vh}.rules-table[b-qvwei0xdte]{min-width:1740px}.rules-table thead[b-qvwei0xdte]{position:sticky;top:0;z-index:1}.rules-table th[b-qvwei0xdte]{background:#f8fafc;color:#64748b;padding:11px 8px;font-size:12px}.rules-table td[b-qvwei0xdte]{padding:8px;border-bottom:1px solid #edf1f5}.rules-table tbody tr:last-child td[b-qvwei0xdte]{border-bottom:0}.table-field[b-qvwei0xdte]{width:100%;min-width:105px;padding:9px 8px}.table-field:disabled[b-qvwei0xdte]{background:#f1f5f9;color:#94a3b8}.title-field[b-qvwei0xdte]{min-width:165px}.number-field[b-qvwei0xdte]{min-width:105px}.priority-field[b-qvwei0xdte]{min-width:70px}.rule-index[b-qvwei0xdte]{font-weight:800;color:#64748b;text-align:center}.delete-rule[b-qvwei0xdte]{border:0;background:#fff1f2;color:#be123c;border-radius:9px;padding:8px 10px;cursor:pointer;font:inherit;font-weight:700}.empty-rules[b-qvwei0xdte]{text-align:center;padding:30px;border:1px dashed #cbd5e1;border-radius:14px;display:grid;justify-items:center;gap:8px;color:#64748b}.empty-rules strong[b-qvwei0xdte]{color:#334155}.commission-dialog__footer[b-qvwei0xdte]{display:flex;align-items:center;justify-content:space-between;padding:14px 28px;background:#fff;border-top:1px solid #e3e9f2;box-shadow:0 -6px 24px rgba(15,23,42,.05);z-index:2}.footer-note[b-qvwei0xdte]{font-size:12px;color:#94a3b8}.footer-actions[b-qvwei0xdte]{display:flex;gap:9px}
@media(max-width:1200px){.kpis[b-qvwei0xdte]{grid-template-columns:repeat(2,1fr)}.salespeople[b-qvwei0xdte]{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.plans[b-qvwei0xdte]{grid-template-columns:1fr}.rows-title[b-qvwei0xdte]{align-items:flex-start;flex-direction:column}.filter-bar[b-qvwei0xdte]{width:100%}.filter-bar input[b-qvwei0xdte]{flex:1;min-width:200px}.commission-dialog__head[b-qvwei0xdte],.commission-dialog__footer[b-qvwei0xdte]{padding-inline:20px}.commission-dialog__body[b-qvwei0xdte]{padding-inline:20px}}
@media(max-width:680px){.commission-page[b-qvwei0xdte]{padding:14px}.page-head[b-qvwei0xdte]{align-items:flex-start;flex-direction:column}.head-actions[b-qvwei0xdte]{width:100%}.head-actions button[b-qvwei0xdte]{flex:1}.page-head h1[b-qvwei0xdte]{font-size:24px}.kpis[b-qvwei0xdte],.salespeople[b-qvwei0xdte]{grid-template-columns:1fr}.panel-title[b-qvwei0xdte]{align-items:flex-start;flex-direction:column}.plans[b-qvwei0xdte],.salespeople[b-qvwei0xdte]{padding:12px}.payroll-note[b-qvwei0xdte]{align-items:flex-start;flex-direction:column}.filter-bar[b-qvwei0xdte]{display:grid;grid-template-columns:1fr}.filter-bar input[b-qvwei0xdte]{min-width:0}.commission-dialog[b-qvwei0xdte]{inset:0;border-radius:0}.form-grid[b-qvwei0xdte],.option-grid[b-qvwei0xdte]{grid-template-columns:1fr}.form-grid .wide[b-qvwei0xdte]{grid-column:auto}.commission-dialog__head[b-qvwei0xdte]{padding:14px}.commission-dialog__head h2[b-qvwei0xdte]{font-size:20px}.commission-dialog__head p[b-qvwei0xdte],.eyebrow[b-qvwei0xdte]{display:none}.commission-dialog__body[b-qvwei0xdte]{padding:12px}.dialog-card[b-qvwei0xdte]{padding:14px;border-radius:14px}.section-title[b-qvwei0xdte]{align-items:flex-start;gap:10px}.section-title small[b-qvwei0xdte]{display:none}.commission-dialog__footer[b-qvwei0xdte]{padding:10px 12px;align-items:stretch;flex-direction:column;gap:8px}.footer-note[b-qvwei0xdte]{display:none}.footer-actions[b-qvwei0xdte]{display:grid;grid-template-columns:1fr 1fr}.footer-actions button[b-qvwei0xdte]{width:100%}.rules-table-wrap[b-qvwei0xdte]{max-height:48vh}}


.report-actions[b-qvwei0xdte]{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.report-button[b-qvwei0xdte]{min-width:112px;white-space:nowrap}.report-button:disabled[b-qvwei0xdte]{opacity:.55;cursor:not-allowed;box-shadow:none}.rows-title .filter-bar[b-qvwei0xdte]{align-items:center}.rows-title .filter-bar input[b-qvwei0xdte]{min-width:250px}
@media (max-width:900px){.report-actions[b-qvwei0xdte]{width:100%}.report-actions .report-button[b-qvwei0xdte]{flex:1}.rows-title .filter-bar input[b-qvwei0xdte]{min-width:0;width:100%}}

/* Production reporting, analytics and bulk operations */
.analytics-grid[b-qvwei0xdte]{display:grid;grid-template-columns:1.35fr 1fr;gap:16px}.analytics-card[b-qvwei0xdte]{min-height:250px}.compact-title[b-qvwei0xdte]{padding-block:16px}.bar-list[b-qvwei0xdte]{display:grid;gap:14px;padding:18px 22px 22px}.bar-item[b-qvwei0xdte]{display:grid;gap:7px}.bar-item>div:first-child[b-qvwei0xdte]{display:flex;justify-content:space-between;gap:12px;font-size:12px}.bar-item strong[b-qvwei0xdte]{color:#334155}.bar-item span[b-qvwei0xdte]{font-variant-numeric:tabular-nums;color:#64748b}.bar-track[b-qvwei0xdte]{height:9px;border-radius:999px;background:#eef2f7;overflow:hidden}.bar-track span[b-qvwei0xdte]{display:block;height:100%;min-width:3px;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#7c3aed)}.status-overview[b-qvwei0xdte]{display:grid;gap:10px;padding:18px 22px 22px}.status-overview-item[b-qvwei0xdte]{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;padding:13px;border:1px solid #e7ecf2;border-radius:14px;background:#fbfdff}.status-overview-item>div[b-qvwei0xdte]{display:grid;gap:3px}.status-overview-item small[b-qvwei0xdte]{color:#94a3b8}.status-overview-item b[b-qvwei0xdte]{font-size:17px}.status-dot[b-qvwei0xdte]{width:10px;height:10px;border-radius:50%}.status-dot.pending[b-qvwei0xdte]{background:#f59e0b}.status-dot.approved[b-qvwei0xdte]{background:#2563eb}.status-dot.paid[b-qvwei0xdte]{background:#10b981}.mini-empty[b-qvwei0xdte]{padding:42px 18px;text-align:center;color:#94a3b8}.plan-actions[b-qvwei0xdte]{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.edit-button.subtle[b-qvwei0xdte]{background:#fff;color:#64748b;border-color:#e2e8f0}.advanced-filter-bar[b-qvwei0xdte]{display:grid;grid-template-columns:minmax(220px,1.6fr) repeat(3,minmax(135px,.75fr)) repeat(2,minmax(145px,.75fr)) minmax(105px,.55fr) auto;gap:9px;padding:16px 18px;border-bottom:1px solid #edf1f5;background:#fbfdff}.advanced-filter-bar input[b-qvwei0xdte],.advanced-filter-bar select[b-qvwei0xdte]{font:inherit;border:1px solid #dbe4ee;border-radius:11px;background:#fff;color:#1e293b;padding:10px 11px;min-width:0;outline:none}.advanced-filter-bar input:focus[b-qvwei0xdte],.advanced-filter-bar select:focus[b-qvwei0xdte]{border-color:#60a5fa;box-shadow:0 0 0 3px rgba(37,99,235,.08)}.date-filter[b-qvwei0xdte]{display:flex;align-items:center;gap:7px;border:1px solid #dbe4ee;border-radius:11px;background:#fff;padding-inline:9px}.date-filter span[b-qvwei0xdte]{font-size:11px;color:#64748b;white-space:nowrap}.date-filter input[b-qvwei0xdte]{border:0!important;padding-inline:0!important;box-shadow:none!important}.bulk-toolbar[b-qvwei0xdte]{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:12px 18px;background:#f8fafc;border-bottom:1px solid #e8edf3}.bulk-toolbar>div[b-qvwei0xdte]{display:flex;align-items:center;gap:6px;margin-inline-end:auto}.bulk-toolbar>div strong[b-qvwei0xdte]{display:grid;place-items:center;min-width:30px;height:30px;border-radius:9px;background:#e0e7ff;color:#3730a3}.bulk-toolbar>div span[b-qvwei0xdte],.bulk-note[b-qvwei0xdte]{font-size:12px;color:#64748b}.check-col[b-qvwei0xdte]{width:42px;text-align:center!important}.check-col input[b-qvwei0xdte]{width:17px;height:17px;accent-color:#2563eb}.sort-button[b-qvwei0xdte]{border:0;background:transparent;font:inherit;font-weight:800;color:inherit;padding:0;cursor:pointer}.table-wrap tfoot td[b-qvwei0xdte]{background:#f8fafc;font-weight:800;border-top:1px solid #dfe6ef}.pagination[b-qvwei0xdte]{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-top:1px solid #e8edf3;color:#64748b;font-size:12px}.pagination>div[b-qvwei0xdte]{display:flex;align-items:center;gap:10px}.pagination b[b-qvwei0xdte]{color:#334155}.detail-overlay[b-qvwei0xdte]{position:fixed;inset:0;z-index:1100;background:rgba(15,23,42,.58);backdrop-filter:blur(5px);display:grid;place-items:center;padding:20px}.detail-dialog[b-qvwei0xdte]{width:min(760px,96vw);max-height:90vh;overflow:auto;background:#fff;border-radius:22px;box-shadow:0 30px 80px rgba(15,23,42,.3);border:1px solid rgba(255,255,255,.7)}.detail-dialog>header[b-qvwei0xdte]{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 22px;border-bottom:1px solid #e5eaf1}.detail-dialog h2[b-qvwei0xdte]{margin:4px 0 0;font-size:21px}.detail-grid[b-qvwei0xdte]{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:20px 22px}.detail-grid>div[b-qvwei0xdte]{display:grid;gap:6px;padding:14px;border:1px solid #e3e9f1;border-radius:14px;background:#f8fafc}.detail-grid span[b-qvwei0xdte],.calculation-details>span[b-qvwei0xdte]{font-size:11px;color:#64748b}.detail-grid strong[b-qvwei0xdte]{font-size:15px}.calculation-details[b-qvwei0xdte]{margin:0 22px 22px;padding:16px;border:1px solid #dbeafe;border-radius:14px;background:#eff6ff}.calculation-details p[b-qvwei0xdte]{margin:8px 0 0;white-space:pre-wrap;line-height:1.9;color:#1e3a8a}.rows-panel .table-wrap table[b-qvwei0xdte]{min-width:1120px}
@media(max-width:1250px){.advanced-filter-bar[b-qvwei0xdte]{grid-template-columns:repeat(4,minmax(0,1fr))}.advanced-filter-bar>input:first-child[b-qvwei0xdte]{grid-column:span 2}.analytics-grid[b-qvwei0xdte]{grid-template-columns:1fr}}
@media(max-width:760px){.advanced-filter-bar[b-qvwei0xdte]{grid-template-columns:1fr 1fr}.advanced-filter-bar>input:first-child[b-qvwei0xdte]{grid-column:1/-1}.bulk-toolbar[b-qvwei0xdte]{align-items:stretch}.bulk-toolbar>div[b-qvwei0xdte]{width:100%;margin:0}.pagination[b-qvwei0xdte]{align-items:stretch;flex-direction:column}.pagination>div[b-qvwei0xdte]{justify-content:space-between}.detail-grid[b-qvwei0xdte]{grid-template-columns:1fr 1fr}.analytics-grid[b-qvwei0xdte]{grid-template-columns:1fr}}
@media(max-width:520px){.advanced-filter-bar[b-qvwei0xdte]{grid-template-columns:1fr}.advanced-filter-bar>input:first-child[b-qvwei0xdte]{grid-column:auto}.detail-grid[b-qvwei0xdte]{grid-template-columns:1fr}.report-actions[b-qvwei0xdte]{display:grid;grid-template-columns:1fr 1fr}.report-actions button[b-qvwei0xdte]{min-width:0}}

/* Jalali filters and compact production table */
.jalali-date input[b-qvwei0xdte]{direction:ltr;text-align:center;font-variant-numeric:tabular-nums;min-width:108px}.rows-panel .table-wrap th[b-qvwei0xdte],.rows-panel .table-wrap td[b-qvwei0xdte]{padding-block:10px}.rows-panel .actions[b-qvwei0xdte]{gap:5px}.rows-panel .actions button[b-qvwei0xdte],.rows-panel .actions span[b-qvwei0xdte]{font-size:11px}.rows-panel .check-col input[b-qvwei0xdte]{vertical-align:middle}.report-actions[b-qvwei0xdte]{justify-content:flex-end}

/* Keep report cards and filters inside the page container */
.commission-page[b-qvwei0xdte],.commission-page>*[b-qvwei0xdte]{min-width:0;max-width:100%}
.rows-panel[b-qvwei0xdte]{min-width:0;max-width:100%;overflow:hidden}
.rows-panel .panel-title[b-qvwei0xdte],.rows-panel .advanced-filter-bar[b-qvwei0xdte],.rows-panel .bulk-toolbar[b-qvwei0xdte],.rows-panel .payroll-note[b-qvwei0xdte],.rows-panel .pagination[b-qvwei0xdte]{min-width:0;max-width:100%}
.advanced-filter-bar[b-qvwei0xdte]{grid-template-columns:minmax(180px,1.45fr) repeat(3,minmax(120px,.8fr)) repeat(2,minmax(130px,.85fr)) minmax(90px,.55fr);overflow:hidden}
.advanced-filter-bar>*[b-qvwei0xdte]{min-width:0;max-width:100%;width:100%;box-sizing:border-box}
.jalali-date[b-qvwei0xdte]{min-width:0;max-width:100%;width:100%}
.jalali-date input[b-qvwei0xdte]{width:100%;min-width:0}
.rows-panel .table-wrap[b-qvwei0xdte]{width:100%;max-width:100%;box-sizing:border-box;overflow-x:auto;overflow-y:hidden}
.rows-panel .table-wrap table[b-qvwei0xdte]{width:max-content;min-width:100%;max-width:none}
.report-actions[b-qvwei0xdte]{min-width:0;max-width:100%}

@media(max-width:1450px){
  .advanced-filter-bar[b-qvwei0xdte]{grid-template-columns:minmax(200px,1.4fr) repeat(3,minmax(125px,1fr));}
  .advanced-filter-bar .jalali-date[b-qvwei0xdte]{grid-column:span 1}
}
@media(max-width:1050px){
  .advanced-filter-bar[b-qvwei0xdte]{grid-template-columns:repeat(2,minmax(0,1fr))}
  .advanced-filter-bar>input:first-child[b-qvwei0xdte]{grid-column:1/-1}
}
@media(max-width:620px){
  .advanced-filter-bar[b-qvwei0xdte]{grid-template-columns:1fr}
  .advanced-filter-bar>*[b-qvwei0xdte]{grid-column:auto!important}
  .rows-panel .panel-title[b-qvwei0xdte]{padding-inline:14px}
  .rows-panel .table-wrap[b-qvwei0xdte]{padding-inline:10px}
}


/* Commission rule scope selectors */
.lookup-field[b-qvwei0xdte]{min-width:155px}.product-lookup-field[b-qvwei0xdte]{min-width:210px}.rules-table td[b-qvwei0xdte]{vertical-align:middle}
/* /Components/Pages/Crm.razor.rz.scp.css */
.crm-live[b-26kblvbkoj]{--bg:#07101f;--panel:#0e192d;--panel2:#111f37;--line:#213451;--text:#f5f7fb;--muted:#8fa2be;--primary:#6d4dff;--green:#21d49b;min-height:100vh;color:var(--text);padding:22px;font-family:inherit;background:radial-gradient(circle at 15% -10%,#182655 0,transparent 28%),linear-gradient(180deg,#07101f,#091427)}
button[b-26kblvbkoj],input[b-26kblvbkoj],select[b-26kblvbkoj],textarea[b-26kblvbkoj]{font:inherit}.crm-hero[b-26kblvbkoj]{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:28px 30px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(135deg,#111d34,#0d172a);box-shadow:0 20px 50px #0003}.crm-hero h1[b-26kblvbkoj]{font-size:30px;margin:8px 0}.crm-hero p[b-26kblvbkoj]{margin:0;color:#a8b7cc}.crm-eyebrow[b-26kblvbkoj]{font-size:11px;letter-spacing:1.5px;color:#8b72ff}.crm-eyebrow span[b-26kblvbkoj]{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 15px var(--green);margin-left:6px}.crm-actions[b-26kblvbkoj]{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.crm-live-badge[b-26kblvbkoj]{font-size:12px;color:#75efc8;border:1px solid #1b725c;border-radius:999px;padding:9px 13px;background:#0d332c}.crm-btn[b-26kblvbkoj]{border-radius:11px;padding:10px 16px;border:1px solid var(--line);cursor:pointer;color:#fff}.crm-btn.primary[b-26kblvbkoj]{background:linear-gradient(135deg,#7356ff,#5536dc);border-color:#8169ff}.crm-btn.secondary[b-26kblvbkoj]{background:#101e34}.crm-btn:disabled[b-26kblvbkoj]{opacity:.55;cursor:not-allowed}
.crm-alert[b-26kblvbkoj]{display:flex;gap:12px;align-items:center;margin-top:14px;padding:13px 16px;border-radius:13px;border:1px solid}.crm-alert p[b-26kblvbkoj]{margin:3px 0 0;font-size:12px}.crm-alert button[b-26kblvbkoj]{margin-right:auto;border:0;background:transparent;color:inherit;font-size:20px}.crm-alert.error[b-26kblvbkoj]{background:#3b1620;border-color:#713043;color:#ffc4d0}.crm-alert.success[b-26kblvbkoj]{background:#12372f;border-color:#236957;color:#9af0d4}.crm-nav[b-26kblvbkoj]{display:flex;overflow:auto;gap:5px;margin-top:14px;padding:8px;border:1px solid var(--line);border-radius:16px;background:#0d1729}.crm-nav button[b-26kblvbkoj]{white-space:nowrap;border:0;background:transparent;color:#96a8c2;padding:10px 14px;border-radius:10px;cursor:pointer;display:flex;align-items:center;gap:7px}.crm-nav button.active[b-26kblvbkoj]{background:#6245e8;color:#fff;box-shadow:0 8px 24px #5d42e855}.crm-nav b[b-26kblvbkoj]{font-size:10px;padding:2px 7px;border-radius:20px;background:#ffffff19}.crm-toolbar[b-26kblvbkoj]{display:flex;align-items:center;gap:16px;margin:12px 0}.crm-toolbar>label[b-26kblvbkoj]{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:#0e192d;border-radius:12px;padding:0 13px;flex:1}.crm-toolbar input[b-26kblvbkoj]{width:100%;padding:12px 0;background:transparent;border:0;outline:0;color:#fff}.crm-toolbar>div[b-26kblvbkoj]{display:flex;gap:12px;align-items:center;color:var(--muted);font-size:12px}.crm-toolbar button[b-26kblvbkoj],.crm-card header button[b-26kblvbkoj],.crm-card header a[b-26kblvbkoj]{border:0;background:transparent;color:#8a75ff;cursor:pointer;text-decoration:none}
.crm-loading[b-26kblvbkoj],.empty-state[b-26kblvbkoj]{min-height:240px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:9px;color:var(--muted)}.crm-loading i[b-26kblvbkoj]{width:35px;height:35px;border:3px solid #263755;border-top-color:#7a61ff;border-radius:50%;animation:spin-b-26kblvbkoj .8s linear infinite}@keyframes spin-b-26kblvbkoj{to{transform:rotate(360deg)}}.crm-kpis[b-26kblvbkoj]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.crm-kpis article[b-26kblvbkoj],.crm-card[b-26kblvbkoj],.pipeline-column[b-26kblvbkoj]{border:1px solid var(--line);border-radius:17px;background:linear-gradient(160deg,var(--panel2),var(--panel));box-shadow:0 12px 30px #0002}.crm-kpis article[b-26kblvbkoj]{padding:16px;position:relative;overflow:hidden}.crm-kpis article>span[b-26kblvbkoj]{position:absolute;left:14px;top:14px;width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#ffffff0c}.crm-kpis span.blue[b-26kblvbkoj]{color:#4fa5ff}.crm-kpis span.violet[b-26kblvbkoj]{color:#a47aff}.crm-kpis span.green[b-26kblvbkoj]{color:#2fe0a6}.crm-kpis span.red[b-26kblvbkoj]{color:#ff657f}.crm-kpis span.cyan[b-26kblvbkoj]{color:#33d7ea}.crm-kpis span.amber[b-26kblvbkoj]{color:#ffc34d}.crm-kpis span.indigo[b-26kblvbkoj]{color:#7c8dff}.crm-kpis span.pink[b-26kblvbkoj]{color:#ff70be}.crm-kpis small[b-26kblvbkoj]{display:block;color:var(--muted);font-size:11px}.crm-kpis strong[b-26kblvbkoj]{display:block;font-size:23px;margin:10px 0 4px}.crm-kpis p[b-26kblvbkoj]{margin:0;color:#7187a5;font-size:11px}.crm-dashboard-grid[b-26kblvbkoj]{display:grid;grid-template-columns:2fr 1fr;gap:13px;margin-top:13px}.crm-card[b-26kblvbkoj]{padding:18px;min-width:0}.crm-card.wide[b-26kblvbkoj]{grid-column:1/-1}.crm-card>header[b-26kblvbkoj]{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:17px}.crm-card header small[b-26kblvbkoj]{color:#6f85a7;font-size:10px;letter-spacing:1px}.crm-card header h2[b-26kblvbkoj]{font-size:17px;margin:4px 0 0}.crm-card header>span[b-26kblvbkoj]{color:var(--muted);font-size:12px}.crm-funnel[b-26kblvbkoj]{display:grid;gap:13px}.crm-funnel>div[b-26kblvbkoj]{display:grid;grid-template-columns:160px 1fr 150px;align-items:center;gap:16px}.crm-funnel span[b-26kblvbkoj]{display:flex;justify-content:space-between;gap:7px}.crm-funnel span small[b-26kblvbkoj]{color:var(--muted)}.crm-funnel i[b-26kblvbkoj],.conversion i[b-26kblvbkoj]{height:8px;border-radius:999px;background:#192a45;overflow:hidden}.crm-funnel i b[b-26kblvbkoj],.conversion i b[b-26kblvbkoj]{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#5b38d7,#8c61ff)}.crm-funnel .amount[b-26kblvbkoj]{font-size:13px}.compact-list[b-26kblvbkoj]{display:grid}.compact-list button[b-26kblvbkoj]{display:flex;align-items:center;gap:10px;border:0;border-bottom:1px solid #1b2b45;background:transparent;color:#fff;padding:10px 0;text-align:right;cursor:pointer}.compact-list button>span[b-26kblvbkoj]{width:34px;height:34px;border-radius:10px;background:#182944;display:grid;place-items:center;color:#8c74ff;font-size:11px}.compact-list button div[b-26kblvbkoj]{display:grid;gap:3px;flex:1}.compact-list button small[b-26kblvbkoj]{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:240px}.compact-list button b[b-26kblvbkoj]{background:#6749e7;border-radius:20px;padding:3px 7px;font-size:10px}
.crm-split[b-26kblvbkoj]{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(400px,1.4fr);gap:13px}.data-list[b-26kblvbkoj]{display:grid;max-height:620px;overflow:auto}.data-list button[b-26kblvbkoj]{display:flex;align-items:center;gap:10px;padding:12px;border:0;border-bottom:1px solid #1c2b45;background:transparent;color:#fff;text-align:right;cursor:pointer}.data-list button.selected[b-26kblvbkoj]{background:#6044e126;border-radius:10px}.avatar[b-26kblvbkoj]{width:39px;height:39px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,#6d4dff,#3083e9);font-size:12px}.data-list button div[b-26kblvbkoj]{display:grid;gap:4px;flex:1}.data-list small[b-26kblvbkoj]{color:var(--muted)}.data-list em[b-26kblvbkoj]{font-size:10px;color:#6ee5be;font-style:normal}.identity-grid[b-26kblvbkoj],.finance-strip[b-26kblvbkoj]{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.identity-grid>div[b-26kblvbkoj],.finance-strip>div[b-26kblvbkoj]{padding:12px;background:#0b1629;border:1px solid #1c304d;border-radius:11px}.identity-grid small[b-26kblvbkoj],.finance-strip small[b-26kblvbkoj]{display:block;color:var(--muted);margin-bottom:5px}.finance-strip[b-26kblvbkoj]{grid-template-columns:repeat(3,1fr);margin:12px 0}.detail-card h3[b-26kblvbkoj]{font-size:14px;margin-top:20px}.status-pill[b-26kblvbkoj]{display:inline-flex;padding:5px 10px;background:#17382f;color:#75e5c0;border-radius:20px;font-size:11px}.timeline[b-26kblvbkoj]{display:grid}.timeline>div[b-26kblvbkoj]{display:flex;align-items:center;gap:10px;border-right:1px solid #2b4160;padding:8px 15px;position:relative}.timeline i[b-26kblvbkoj]{position:absolute;right:-4px;width:7px;height:7px;border-radius:50%;background:#7356ff}.timeline span[b-26kblvbkoj]{display:grid;gap:3px;flex:1}.timeline small[b-26kblvbkoj]{color:var(--muted)}
.table-wrap[b-26kblvbkoj]{overflow:auto}.table-card table[b-26kblvbkoj]{width:100%;border-collapse:collapse;min-width:800px}.table-card th[b-26kblvbkoj]{text-align:right;color:#8194af;font-size:11px;font-weight:500;padding:12px;border-bottom:1px solid var(--line)}.table-card td[b-26kblvbkoj]{padding:13px 12px;border-bottom:1px solid #192a43;color:#dbe4f2;font-size:13px}.table-card td small[b-26kblvbkoj]{display:block;color:#7085a3;margin-top:4px}.score[b-26kblvbkoj]{padding:5px 8px;border-radius:8px}.score.hot[b-26kblvbkoj]{background:#4b1a29;color:#ff8298}.score.warm[b-26kblvbkoj]{background:#443718;color:#ffd169}.score.cold[b-26kblvbkoj]{background:#18324b;color:#75baff}.pipeline-board[b-26kblvbkoj]{display:flex;gap:12px;overflow:auto;padding-bottom:8px}.pipeline-column[b-26kblvbkoj]{flex:0 0 285px;padding:12px}.pipeline-column>header[b-26kblvbkoj]{display:flex;justify-content:space-between;align-items:center;padding:5px 3px 12px}.pipeline-column header div[b-26kblvbkoj]{display:flex;gap:7px;align-items:center}.pipeline-column header i[b-26kblvbkoj]{width:8px;height:8px;border-radius:50%;background:#7356ff}.pipeline-column header span[b-26kblvbkoj]{font-size:10px;background:#233451;padding:2px 6px;border-radius:10px}.pipeline-column header>b[b-26kblvbkoj]{font-size:11px;color:var(--muted)}.pipeline-column>div[b-26kblvbkoj]{display:grid;gap:9px}.pipeline-column section[b-26kblvbkoj]{background:#0b1629;border:1px solid #1e3352;border-radius:13px;padding:12px}.pipeline-column section>small[b-26kblvbkoj]{color:#7186a4}.pipeline-column h3[b-26kblvbkoj]{font-size:14px;margin:7px 0}.pipeline-column section>strong[b-26kblvbkoj]{font-size:13px}.pipeline-column section p[b-26kblvbkoj]{font-size:11px;color:var(--muted)}.pipeline-column footer[b-26kblvbkoj]{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #1b2b43;padding-top:8px;font-size:10px}.pipeline-column footer button[b-26kblvbkoj]{background:transparent;border:0;color:#8f7aff;cursor:pointer}.column-empty[b-26kblvbkoj]{text-align:center;color:#647995;font-size:11px;padding:30px 0}
.inbox-layout[b-26kblvbkoj]{display:grid;grid-template-columns:340px 1fr;gap:13px;min-height:610px}.conversation-list>div[b-26kblvbkoj]{max-height:560px;overflow:auto}.conversation-list button[b-26kblvbkoj]{width:100%;display:flex;gap:10px;align-items:center;text-align:right;padding:12px;border:0;border-bottom:1px solid #1c2c45;background:transparent;color:#fff;cursor:pointer}.conversation-list button.selected[b-26kblvbkoj]{background:#6849e827;border-radius:11px}.conversation-list .channel[b-26kblvbkoj]{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#173b35;color:#6be4bd;font-size:10px}.conversation-list button div[b-26kblvbkoj]{flex:1;min-width:0}.conversation-list button small[b-26kblvbkoj],.conversation-list button p[b-26kblvbkoj]{display:block;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:4px 0;font-size:11px}.conversation-list button>b[b-26kblvbkoj]{font-size:10px;background:#6d4dff;padding:3px 7px;border-radius:20px}.chat-card[b-26kblvbkoj]{display:flex;flex-direction:column;min-height:610px}.messages[b-26kblvbkoj]{flex:1;display:flex;flex-direction:column;gap:10px;max-height:440px;overflow:auto;padding:8px}.messages>div[b-26kblvbkoj]{max-width:72%;padding:10px 13px;border-radius:13px}.messages .in[b-26kblvbkoj]{align-self:flex-start;background:#172841;border-bottom-left-radius:3px}.messages .out[b-26kblvbkoj]{align-self:flex-end;background:#5d43d2;border-bottom-right-radius:3px}.messages p[b-26kblvbkoj]{margin:0 0 6px}.messages small[b-26kblvbkoj]{color:#c1c9d7;font-size:9px}.reply-box[b-26kblvbkoj]{display:flex;gap:8px;border-top:1px solid var(--line);padding-top:12px}.reply-box textarea[b-26kblvbkoj]{flex:1;min-height:55px;resize:none;border:1px solid #263a59;border-radius:12px;background:#0a1528;color:#fff;padding:10px}.reply-box button[b-26kblvbkoj]{width:80px;border:0;border-radius:12px;background:#6548e5;color:#fff}.activity-grid[b-26kblvbkoj]{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.activity-grid article[b-26kblvbkoj]{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #203451;background:#0c182b;border-radius:13px}.activity-grid article>span[b-26kblvbkoj]{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:#172943;color:#8a75ff}.activity-grid article>div[b-26kblvbkoj]{flex:1}.activity-grid h3[b-26kblvbkoj]{font-size:14px;margin:0}.activity-grid p[b-26kblvbkoj]{color:var(--muted);font-size:11px;margin:5px 0}.activity-grid small[b-26kblvbkoj]{color:#7589a6}.activity-grid button[b-26kblvbkoj]{border:1px solid #2b705e;background:#163d34;color:#78e7c2;border-radius:9px;padding:7px}.activity-grid article.overdue[b-26kblvbkoj]{border-color:#663044}.activity-grid article.done[b-26kblvbkoj]{opacity:.55}
.crm-two-cols[b-26kblvbkoj],.report-grid[b-26kblvbkoj]{display:grid;grid-template-columns:1fr 1fr;gap:13px}.tile-list[b-26kblvbkoj]{display:grid;gap:8px}.tile-list>article[b-26kblvbkoj]{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid #1e314e;border-radius:12px;background:#0b172a}.tile-list article>span[b-26kblvbkoj]{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:#182943;color:#8d79ff;font-size:11px}.tile-list article>div[b-26kblvbkoj]{flex:1}.tile-list h3[b-26kblvbkoj]{margin:0;font-size:14px}.tile-list p[b-26kblvbkoj]{margin:5px 0;color:var(--muted);font-size:11px}.tile-list small[b-26kblvbkoj]{color:#6f86a6}.tile-list button[b-26kblvbkoj]{border:1px solid #634ad7;color:#ae9cff;background:#28204c;border-radius:8px;padding:7px 12px}.crm-service-grid[b-26kblvbkoj]{display:grid;grid-template-columns:1fr 1fr;gap:13px}.knowledge-grid[b-26kblvbkoj]{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.knowledge-grid article[b-26kblvbkoj]{padding:14px;border:1px solid #203451;border-radius:13px;background:#0b172a}.knowledge-grid small[b-26kblvbkoj]{color:#8d75ff}.knowledge-grid h3[b-26kblvbkoj]{font-size:14px;margin:8px 0}.knowledge-grid p[b-26kblvbkoj]{font-size:11px;color:var(--muted);min-height:34px}.knowledge-grid footer[b-26kblvbkoj]{display:flex;justify-content:space-between;font-size:10px;color:#7084a1}.big-number[b-26kblvbkoj]{font-size:34px;font-weight:800;color:#8d79ff;text-align:center;padding:30px}.big-number small[b-26kblvbkoj]{display:block;font-size:11px;color:var(--muted);margin-top:8px}.report-stats[b-26kblvbkoj]{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.report-stats div[b-26kblvbkoj],.conversion>div[b-26kblvbkoj]{padding:12px;background:#0a1629;border-radius:10px}.report-stats span[b-26kblvbkoj],.conversion span[b-26kblvbkoj]{display:block;color:var(--muted);font-size:11px}.report-stats strong[b-26kblvbkoj],.conversion strong[b-26kblvbkoj]{display:block;margin-top:6px}.conversion[b-26kblvbkoj]{display:grid;gap:12px}.conversion i[b-26kblvbkoj]{display:block}.crm-footer[b-26kblvbkoj]{display:flex;justify-content:space-between;color:#617590;font-size:10px;padding:18px 5px}
.modal-backdrop[b-26kblvbkoj]{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px;background:#020713cc;backdrop-filter:blur(6px)}.crm-modal[b-26kblvbkoj]{width:min(700px,100%);border:1px solid #344a6d;border-radius:18px;background:#101d33;color:#fff;padding:20px;box-shadow:0 30px 80px #0009}.crm-modal>header[b-26kblvbkoj],.crm-modal>footer[b-26kblvbkoj]{display:flex;justify-content:space-between;align-items:center}.crm-modal header small[b-26kblvbkoj]{color:#8974ff}.crm-modal header h2[b-26kblvbkoj]{margin:4px 0}.crm-modal header button[b-26kblvbkoj]{border:0;background:transparent;color:#fff;font-size:25px}.form-grid[b-26kblvbkoj]{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.form-grid label[b-26kblvbkoj]{display:grid;gap:6px}.form-grid label.full[b-26kblvbkoj]{grid-column:1/-1}.form-grid span[b-26kblvbkoj]{font-size:11px;color:#99aac2}.form-grid input[b-26kblvbkoj],.form-grid select[b-26kblvbkoj],.form-grid textarea[b-26kblvbkoj]{border:1px solid #2b4162;background:#091527;color:#fff;border-radius:10px;padding:11px;outline:0}.form-grid textarea[b-26kblvbkoj]{min-height:75px;resize:vertical}
@media(max-width:1100px){.crm-kpis[b-26kblvbkoj]{grid-template-columns:repeat(2,1fr)}.crm-dashboard-grid[b-26kblvbkoj],.crm-split[b-26kblvbkoj],.crm-two-cols[b-26kblvbkoj],.report-grid[b-26kblvbkoj],.crm-service-grid[b-26kblvbkoj]{grid-template-columns:1fr}.crm-card.wide[b-26kblvbkoj]{grid-column:auto}.knowledge-grid[b-26kblvbkoj]{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.crm-live[b-26kblvbkoj]{padding:10px}.crm-hero[b-26kblvbkoj]{align-items:flex-start;flex-direction:column;padding:20px}.crm-hero h1[b-26kblvbkoj]{font-size:24px}.crm-toolbar[b-26kblvbkoj]{align-items:stretch;flex-direction:column}.crm-toolbar>div[b-26kblvbkoj]{justify-content:space-between}.crm-kpis[b-26kblvbkoj]{grid-template-columns:1fr 1fr}.crm-funnel>div[b-26kblvbkoj]{grid-template-columns:110px 1fr}.crm-funnel .amount[b-26kblvbkoj]{display:none}.inbox-layout[b-26kblvbkoj]{grid-template-columns:1fr}.conversation-list[b-26kblvbkoj]{max-height:360px}.activity-grid[b-26kblvbkoj],.knowledge-grid[b-26kblvbkoj],.identity-grid[b-26kblvbkoj],.finance-strip[b-26kblvbkoj],.form-grid[b-26kblvbkoj]{grid-template-columns:1fr}.form-grid label.full[b-26kblvbkoj]{grid-column:auto}.crm-footer[b-26kblvbkoj]{gap:8px;flex-direction:column}}@media(max-width:440px){.crm-kpis[b-26kblvbkoj]{grid-template-columns:1fr}.crm-actions[b-26kblvbkoj]{width:100%}.crm-actions .crm-btn[b-26kblvbkoj]{flex:1}}

.crm-btn.danger[b-26kblvbkoj]{background:#431d29;border-color:#81344a;color:#ffb4c2}.partner-actions[b-26kblvbkoj]{display:flex;gap:7px;flex-wrap:wrap;margin:13px 0}.partner-actions button[b-26kblvbkoj]{border:1px solid #2b4162;background:#111f37;color:#b8c7dc;border-radius:9px;padding:8px 11px;cursor:pointer}.partner-actions button:hover[b-26kblvbkoj]{border-color:#7559f0;color:#fff}.partner-info-grid[b-26kblvbkoj]{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.partner-info-grid>section[b-26kblvbkoj]{border:1px solid #203451;background:#0b1629;border-radius:12px;padding:12px;min-height:100px}.partner-info-grid h3[b-26kblvbkoj]{font-size:12px;margin:0 0 9px;color:#aebdd1}.partner-row[b-26kblvbkoj]{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 0;border-bottom:1px solid #182943}.partner-row:last-child[b-26kblvbkoj]{border-bottom:0}.partner-row span[b-26kblvbkoj]{display:grid;gap:3px;min-width:0}.partner-row strong[b-26kblvbkoj]{font-size:12px}.partner-row small[b-26kblvbkoj]{color:#7185a3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.partner-row b[b-26kblvbkoj]{font-size:9px;color:#76e5c0;background:#163a32;padding:3px 7px;border-radius:20px}.partner-tags[b-26kblvbkoj]{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}.partner-tags span[b-26kblvbkoj]{font-size:10px;padding:4px 9px;border:1px solid var(--tag);border-radius:20px;color:#dce4f0;background:color-mix(in srgb,var(--tag) 18%,transparent)}.form-grid label.check[b-26kblvbkoj]{display:flex;align-items:center;gap:8px;align-self:end;border:1px solid #293e5d;border-radius:10px;padding:10px}.form-grid label.check input[b-26kblvbkoj]{width:17px;height:17px;accent-color:#6d4dff}.form-grid label.check span[b-26kblvbkoj]{color:#dce5f2}.duplicate-list[b-26kblvbkoj]{display:grid;gap:8px;max-height:360px;overflow:auto;margin:15px 0}.duplicate-list>button[b-26kblvbkoj]{display:flex;justify-content:space-between;align-items:center;text-align:right;border:1px solid #263b5a;background:#0a1629;color:#fff;border-radius:11px;padding:12px;cursor:pointer}.duplicate-list>button.selected[b-26kblvbkoj]{border-color:#7960f3;background:#2a2250}.duplicate-list button div[b-26kblvbkoj]{display:grid;gap:4px}.duplicate-list small[b-26kblvbkoj]{color:#8093ae}.duplicate-list b[b-26kblvbkoj]{color:#79e3c1;font-size:11px}.merge-confirm[b-26kblvbkoj]{border:1px solid #674055;background:#271823;border-radius:11px;padding:12px;margin-bottom:15px}.merge-confirm p[b-26kblvbkoj],.confirm-modal p[b-26kblvbkoj]{color:#c4cede;line-height:1.9}.merge-confirm input[b-26kblvbkoj],.confirm-modal>input[b-26kblvbkoj]{width:100%;box-sizing:border-box;border:1px solid #4a3b61;background:#091527;color:#fff;border-radius:9px;padding:10px;margin:5px 0 14px}.confirm-modal[b-26kblvbkoj]{max-width:520px}.confirm-modal>footer[b-26kblvbkoj]{margin-top:12px}@media(max-width:760px){.partner-info-grid[b-26kblvbkoj]{grid-template-columns:1fr}.partner-actions button[b-26kblvbkoj]{flex:1}.detail-card .crm-actions[b-26kblvbkoj]{width:auto}}

.conversation-controls[b-26kblvbkoj]{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.conversation-controls select[b-26kblvbkoj],.conversation-controls button[b-26kblvbkoj]{border:1px solid #2a405f;background:#0b1729;color:#cbd6e5;border-radius:8px;padding:6px 8px;font-size:10px}.conversation-controls button[b-26kblvbkoj]{cursor:pointer}.conversation-controls button.bot-on[b-26kblvbkoj]{border-color:#28755e;background:#153b31;color:#82e9c8}.quick-replies[b-26kblvbkoj]{display:flex;gap:6px;overflow:auto;padding:7px 2px}.quick-replies button[b-26kblvbkoj]{white-space:nowrap;border:1px solid #2c4161;background:#101e34;color:#9eb0c9;border-radius:20px;padding:6px 10px;font-size:10px;cursor:pointer}.quick-replies button:hover[b-26kblvbkoj]{border-color:#765cf0;color:#fff}@media(max-width:760px){.chat-card>header[b-26kblvbkoj]{align-items:flex-start;flex-direction:column}.conversation-controls[b-26kblvbkoj]{justify-content:flex-start}}

.message-asset[b-26kblvbkoj]{display:flex;align-items:center;gap:6px;border:1px solid #ffffff24;background:#07101f44;border-radius:8px;padding:7px 9px;margin:5px 0;font-size:11px}.message-asset small[b-26kblvbkoj]{margin-right:auto}.pending-assets[b-26kblvbkoj]{display:flex;gap:6px;overflow:auto;padding:6px 0}.pending-assets>span[b-26kblvbkoj]{display:flex;align-items:center;gap:5px;white-space:nowrap;border:1px solid #385071;background:#111f37;border-radius:9px;padding:6px 8px;font-size:10px}.pending-assets button[b-26kblvbkoj]{border:0;background:transparent;color:#ff92a7;cursor:pointer}.attachment-picker[b-26kblvbkoj]{position:relative;width:50px;display:grid;place-items:center;border:1px solid #304663;border-radius:12px;background:#111f35;color:#a991ff;font-size:22px;cursor:pointer;overflow:hidden}.attachment-picker input[b-26kblvbkoj]{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.reply-box textarea[b-26kblvbkoj]{min-width:0}

.crm-modal-wide[b-26kblvbkoj]{width:min(1050px,100%);max-height:90vh;overflow:auto}.inbox-settings-grid[b-26kblvbkoj]{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}.inbox-settings-grid>section[b-26kblvbkoj]{min-width:0;border:1px solid #263b5b;background:#0b172a;border-radius:14px;padding:14px}.inbox-settings-grid h3[b-26kblvbkoj]{margin:0 0 12px;font-size:14px}.settings-list[b-26kblvbkoj]{display:grid;gap:7px;max-height:230px;overflow:auto;margin-bottom:13px}.settings-list>div[b-26kblvbkoj]{border:1px solid #1e314d;background:#0e1b30;border-radius:10px;padding:10px}.settings-list span[b-26kblvbkoj]{display:flex;justify-content:space-between;gap:10px;align-items:center}.settings-list strong[b-26kblvbkoj]{font-size:12px}.settings-list small[b-26kblvbkoj]{color:#8195b1;font-size:9px}.settings-list p[b-26kblvbkoj]{color:#aab9cd;font-size:11px;line-height:1.7;margin:7px 0 0}.settings-form[b-26kblvbkoj]{display:grid;grid-template-columns:1fr 1fr;gap:8px;border-top:1px solid #203450;padding-top:12px}.settings-form input[b-26kblvbkoj],.settings-form select[b-26kblvbkoj],.settings-form textarea[b-26kblvbkoj]{min-width:0;border:1px solid #2b4162;background:#091527;color:#fff;border-radius:9px;padding:9px}.settings-form textarea[b-26kblvbkoj]{grid-column:1/-1;min-height:72px;resize:vertical}.settings-form button[b-26kblvbkoj]{grid-column:1/-1}.crm-modal-wide>footer[b-26kblvbkoj]{justify-content:flex-end}@media(max-width:850px){.inbox-settings-grid[b-26kblvbkoj]{grid-template-columns:1fr}.crm-modal-wide[b-26kblvbkoj]{max-height:94vh}}@media(max-width:520px){.settings-form[b-26kblvbkoj]{grid-template-columns:1fr}.settings-form textarea[b-26kblvbkoj],.settings-form button[b-26kblvbkoj]{grid-column:auto}.settings-list span[b-26kblvbkoj]{align-items:flex-start;flex-direction:column}}


/* CRM application theme contract */
.crm-live[b-26kblvbkoj]{
    color-scheme:dark;
}
.crm-btn.channels-link[b-26kblvbkoj]{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    text-decoration:none;
    white-space:nowrap;
}

.erp-shell-reference.erpdb-dark .crm-live[b-26kblvbkoj],
.erp-shell-clean.erpdb-dark .crm-live[b-26kblvbkoj],
.erp-shell-final.erpdb-dark .crm-live[b-26kblvbkoj]{
    --bg:#07101f;
    --panel:#0e192d;
    --panel2:#111f37;
    --line:#213451;
    --text:#f5f7fb;
    --muted:#8fa2be;
    background:transparent;
    color-scheme:dark;
}

.erp-shell-reference.erpdb-light .crm-live[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .crm-live[b-26kblvbkoj],
.erp-shell-final.erpdb-light .crm-live[b-26kblvbkoj]{
    --bg:#eef3fb;
    --panel:#ffffff;
    --panel2:#f8fafc;
    --line:#dce4ef;
    --text:#0f172a;
    --muted:#64748b;
    background:transparent;
    color:var(--text);
    color-scheme:light;
}

.erp-shell-reference.erpdb-light .crm-hero[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .crm-hero[b-26kblvbkoj],
.erp-shell-final.erpdb-light .crm-hero[b-26kblvbkoj]{
    background:linear-gradient(135deg,#ffffff,#f8fafc);
    border-color:var(--line);
    box-shadow:0 14px 35px rgba(15,23,42,.08);
}
.erp-shell-reference.erpdb-light .crm-hero p[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .crm-hero p[b-26kblvbkoj],
.erp-shell-final.erpdb-light .crm-hero p[b-26kblvbkoj]{color:var(--muted)}

.erp-shell-reference.erpdb-light .crm-nav[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .crm-nav[b-26kblvbkoj],
.erp-shell-final.erpdb-light .crm-nav[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .crm-toolbar>label[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .crm-toolbar>label[b-26kblvbkoj],
.erp-shell-final.erpdb-light .crm-toolbar>label[b-26kblvbkoj]{
    background:#fff;
    border-color:var(--line);
}
.erp-shell-reference.erpdb-light .crm-nav button[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .crm-nav button[b-26kblvbkoj],
.erp-shell-final.erpdb-light .crm-nav button[b-26kblvbkoj]{color:#52637a}
.erp-shell-reference.erpdb-light .crm-nav button.active[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .crm-nav button.active[b-26kblvbkoj],
.erp-shell-final.erpdb-light .crm-nav button.active[b-26kblvbkoj]{color:#fff}
.erp-shell-reference.erpdb-light .crm-toolbar input[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .crm-toolbar input[b-26kblvbkoj],
.erp-shell-final.erpdb-light .crm-toolbar input[b-26kblvbkoj]{color:var(--text)}
.erp-shell-reference.erpdb-light .crm-btn.secondary[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .crm-btn.secondary[b-26kblvbkoj],
.erp-shell-final.erpdb-light .crm-btn.secondary[b-26kblvbkoj]{
    background:#fff;
    color:var(--text);
    border-color:var(--line);
}

.erp-shell-reference.erpdb-light .crm-kpis article[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .crm-card[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .pipeline-column[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .crm-kpis article[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .crm-card[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .pipeline-column[b-26kblvbkoj],
.erp-shell-final.erpdb-light .crm-kpis article[b-26kblvbkoj],
.erp-shell-final.erpdb-light .crm-card[b-26kblvbkoj],
.erp-shell-final.erpdb-light .pipeline-column[b-26kblvbkoj]{
    background:linear-gradient(160deg,var(--panel2),var(--panel));
    border-color:var(--line);
    box-shadow:0 10px 26px rgba(15,23,42,.07);
    color:var(--text);
}
.erp-shell-reference.erpdb-light .crm-kpis article>span[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .crm-kpis article>span[b-26kblvbkoj],
.erp-shell-final.erpdb-light .crm-kpis article>span[b-26kblvbkoj]{background:#eef2ff}
.erp-shell-reference.erpdb-light .crm-kpis p[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .crm-kpis p[b-26kblvbkoj],
.erp-shell-final.erpdb-light .crm-kpis p[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .crm-card header small[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .crm-card header small[b-26kblvbkoj],
.erp-shell-final.erpdb-light .crm-card header small[b-26kblvbkoj]{color:var(--muted)}

.erp-shell-reference.erpdb-light .compact-list button[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .data-list button[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .conversation-list button[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .compact-list button[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .data-list button[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .conversation-list button[b-26kblvbkoj],
.erp-shell-final.erpdb-light .compact-list button[b-26kblvbkoj],
.erp-shell-final.erpdb-light .data-list button[b-26kblvbkoj],
.erp-shell-final.erpdb-light .conversation-list button[b-26kblvbkoj]{
    color:var(--text);
    border-color:var(--line);
}
.erp-shell-reference.erpdb-light .compact-list button>span[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .compact-list button>span[b-26kblvbkoj],
.erp-shell-final.erpdb-light .compact-list button>span[b-26kblvbkoj]{background:#eef2ff}
.erp-shell-reference.erpdb-light .data-list button.selected[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .conversation-list button.selected[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .data-list button.selected[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .conversation-list button.selected[b-26kblvbkoj],
.erp-shell-final.erpdb-light .data-list button.selected[b-26kblvbkoj],
.erp-shell-final.erpdb-light .conversation-list button.selected[b-26kblvbkoj]{background:#ede9fe}

.erp-shell-reference.erpdb-light .identity-grid>div[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .finance-strip>div[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .pipeline-column section[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .activity-grid article[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .tile-list>article[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .knowledge-grid article[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .report-stats div[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .conversion>div[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .identity-grid>div[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .finance-strip>div[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .pipeline-column section[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .activity-grid article[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .tile-list>article[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .knowledge-grid article[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .report-stats div[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .conversion>div[b-26kblvbkoj],
.erp-shell-final.erpdb-light .identity-grid>div[b-26kblvbkoj],
.erp-shell-final.erpdb-light .finance-strip>div[b-26kblvbkoj],
.erp-shell-final.erpdb-light .pipeline-column section[b-26kblvbkoj],
.erp-shell-final.erpdb-light .activity-grid article[b-26kblvbkoj],
.erp-shell-final.erpdb-light .tile-list>article[b-26kblvbkoj],
.erp-shell-final.erpdb-light .knowledge-grid article[b-26kblvbkoj],
.erp-shell-final.erpdb-light .report-stats div[b-26kblvbkoj],
.erp-shell-final.erpdb-light .conversion>div[b-26kblvbkoj]{
    background:#f8fafc;
    border-color:var(--line);
    color:var(--text);
}
.erp-shell-reference.erpdb-light .crm-funnel i[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .conversion i[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .crm-funnel i[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .conversion i[b-26kblvbkoj],
.erp-shell-final.erpdb-light .crm-funnel i[b-26kblvbkoj],
.erp-shell-final.erpdb-light .conversion i[b-26kblvbkoj]{background:#e2e8f0}

.erp-shell-reference.erpdb-light .table-card th[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .table-card th[b-26kblvbkoj],
.erp-shell-final.erpdb-light .table-card th[b-26kblvbkoj]{color:var(--muted);border-color:var(--line)}
.erp-shell-reference.erpdb-light .table-card td[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .table-card td[b-26kblvbkoj],
.erp-shell-final.erpdb-light .table-card td[b-26kblvbkoj]{color:var(--text);border-color:var(--line)}

.erp-shell-reference.erpdb-light .partner-actions button[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .partner-info-grid>section[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .duplicate-list>button[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .inbox-settings-grid>section[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .settings-list>div[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .partner-actions button[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .partner-info-grid>section[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .duplicate-list>button[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .inbox-settings-grid>section[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .settings-list>div[b-26kblvbkoj],
.erp-shell-final.erpdb-light .partner-actions button[b-26kblvbkoj],
.erp-shell-final.erpdb-light .partner-info-grid>section[b-26kblvbkoj],
.erp-shell-final.erpdb-light .duplicate-list>button[b-26kblvbkoj],
.erp-shell-final.erpdb-light .inbox-settings-grid>section[b-26kblvbkoj],
.erp-shell-final.erpdb-light .settings-list>div[b-26kblvbkoj]{
    background:#f8fafc;
    color:var(--text);
    border-color:var(--line);
}
.erp-shell-reference.erpdb-light .partner-row[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .settings-form[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .partner-row[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .settings-form[b-26kblvbkoj],
.erp-shell-final.erpdb-light .partner-row[b-26kblvbkoj],
.erp-shell-final.erpdb-light .settings-form[b-26kblvbkoj]{border-color:var(--line)}
.erp-shell-reference.erpdb-light .partner-info-grid h3[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .settings-list p[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .partner-info-grid h3[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .settings-list p[b-26kblvbkoj],
.erp-shell-final.erpdb-light .partner-info-grid h3[b-26kblvbkoj],
.erp-shell-final.erpdb-light .settings-list p[b-26kblvbkoj]{color:#475569}

.erp-shell-reference.erpdb-light .conversation-controls select[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .conversation-controls button[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .quick-replies button[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .reply-box textarea[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .form-grid input[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .form-grid select[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .form-grid textarea[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .settings-form input[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .settings-form select[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .settings-form textarea[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .conversation-controls select[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .conversation-controls button[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .quick-replies button[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .reply-box textarea[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .form-grid input[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .form-grid select[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .form-grid textarea[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .settings-form input[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .settings-form select[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .settings-form textarea[b-26kblvbkoj],
.erp-shell-final.erpdb-light .conversation-controls select[b-26kblvbkoj],
.erp-shell-final.erpdb-light .conversation-controls button[b-26kblvbkoj],
.erp-shell-final.erpdb-light .quick-replies button[b-26kblvbkoj],
.erp-shell-final.erpdb-light .reply-box textarea[b-26kblvbkoj],
.erp-shell-final.erpdb-light .form-grid input[b-26kblvbkoj],
.erp-shell-final.erpdb-light .form-grid select[b-26kblvbkoj],
.erp-shell-final.erpdb-light .form-grid textarea[b-26kblvbkoj],
.erp-shell-final.erpdb-light .settings-form input[b-26kblvbkoj],
.erp-shell-final.erpdb-light .settings-form select[b-26kblvbkoj],
.erp-shell-final.erpdb-light .settings-form textarea[b-26kblvbkoj]{
    background:#fff;
    color:var(--text);
    border-color:var(--line);
}
.erp-shell-reference.erpdb-light .messages .in[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .messages .in[b-26kblvbkoj],
.erp-shell-final.erpdb-light .messages .in[b-26kblvbkoj]{background:#eef2f7;color:var(--text)}
.erp-shell-reference.erpdb-light .messages .out[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .messages .out[b-26kblvbkoj],
.erp-shell-final.erpdb-light .messages .out[b-26kblvbkoj]{color:#fff}
.erp-shell-reference.erpdb-light .messages .in small[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .messages .in small[b-26kblvbkoj],
.erp-shell-final.erpdb-light .messages .in small[b-26kblvbkoj]{color:var(--muted)}
.erp-shell-reference.erpdb-light .pending-assets>span[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .attachment-picker[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .pending-assets>span[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .attachment-picker[b-26kblvbkoj],
.erp-shell-final.erpdb-light .pending-assets>span[b-26kblvbkoj],
.erp-shell-final.erpdb-light .attachment-picker[b-26kblvbkoj]{
    background:#f8fafc;
    border-color:var(--line);
}

.erp-shell-reference.erpdb-light .crm-modal[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .crm-modal[b-26kblvbkoj],
.erp-shell-final.erpdb-light .crm-modal[b-26kblvbkoj]{
    background:#fff;
    color:var(--text);
    border-color:var(--line);
    box-shadow:0 30px 80px rgba(15,23,42,.25);
}
.erp-shell-reference.erpdb-light .crm-modal header button[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .crm-modal header button[b-26kblvbkoj],
.erp-shell-final.erpdb-light .crm-modal header button[b-26kblvbkoj]{color:var(--text)}
.erp-shell-reference.erpdb-light .form-grid label.check[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .form-grid label.check[b-26kblvbkoj],
.erp-shell-final.erpdb-light .form-grid label.check[b-26kblvbkoj]{border-color:var(--line)}
.erp-shell-reference.erpdb-light .form-grid label.check span[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .form-grid label.check span[b-26kblvbkoj],
.erp-shell-final.erpdb-light .form-grid label.check span[b-26kblvbkoj]{color:var(--text)}
.erp-shell-reference.erpdb-light .duplicate-list>button.selected[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .duplicate-list>button.selected[b-26kblvbkoj],
.erp-shell-final.erpdb-light .duplicate-list>button.selected[b-26kblvbkoj]{background:#ede9fe}


/* Bot orders workspace */
.bot-order-kpis[b-26kblvbkoj]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}
.bot-order-kpis article[b-26kblvbkoj]{background:linear-gradient(160deg,var(--panel2),var(--panel));border:1px solid var(--line);border-radius:16px;padding:15px 17px;display:grid;gap:5px}
.bot-order-kpis small[b-26kblvbkoj],.bot-order-kpis span[b-26kblvbkoj]{color:var(--muted)}
.bot-order-kpis strong[b-26kblvbkoj]{font-size:26px;line-height:1.1}
.bot-orders-layout[b-26kblvbkoj]{align-items:start}
.bot-order-list .data-list button[b-26kblvbkoj]{grid-template-columns:44px minmax(0,1fr) auto;align-items:center}
.bot-order-list .data-list button p[b-26kblvbkoj]{margin:5px 0 0;color:var(--muted);font-size:12px}
.bot-order-list .order-channel[b-26kblvbkoj]{font-size:12px;font-weight:800;display:grid;place-items:center}
.bot-order-status[b-26kblvbkoj]{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:5px 9px;font-size:11px;font-style:normal;white-space:nowrap;border:1px solid transparent}
.bot-order-status.warning[b-26kblvbkoj]{background:rgba(245,158,11,.12);color:#f59e0b;border-color:rgba(245,158,11,.25)}
.bot-order-status.info[b-26kblvbkoj]{background:rgba(59,130,246,.12);color:#60a5fa;border-color:rgba(59,130,246,.25)}
.bot-order-status.success[b-26kblvbkoj]{background:rgba(16,185,129,.12);color:#34d399;border-color:rgba(16,185,129,.25)}
.bot-order-status.danger[b-26kblvbkoj]{background:rgba(239,68,68,.12);color:#f87171;border-color:rgba(239,68,68,.25)}
.bot-order-identity[b-26kblvbkoj]{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:14px}
.bot-order-finance[b-26kblvbkoj]{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:12px}
.bot-order-info-grid[b-26kblvbkoj]{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}
.bot-order-info-grid>section[b-26kblvbkoj]{border:1px solid var(--line);border-radius:14px;background:var(--panel2);padding:14px}
.bot-order-info-grid h3[b-26kblvbkoj]{margin:0 0 10px;font-size:14px}
.bot-order-row[b-26kblvbkoj]{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--line)}
.bot-order-row:last-child[b-26kblvbkoj]{border-bottom:0}
.bot-order-row span[b-26kblvbkoj],.bot-order-address small[b-26kblvbkoj]{color:var(--muted);font-size:12px}
.bot-order-row strong[b-26kblvbkoj]{font-size:13px;text-align:left;overflow-wrap:anywhere}
.bot-order-address[b-26kblvbkoj]{padding-top:11px}
.bot-order-address p[b-26kblvbkoj]{margin:7px 0 0;line-height:1.9}
.bot-order-review-box[b-26kblvbkoj]{margin-top:14px;border:1px solid var(--line);border-radius:14px;padding:14px;background:var(--panel2)}
.bot-order-review-box label[b-26kblvbkoj]{display:grid;gap:7px}
.bot-order-review-box label span[b-26kblvbkoj]{color:var(--muted);font-size:12px}
.bot-order-review-box textarea[b-26kblvbkoj]{width:100%;min-height:82px;resize:vertical;background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:10px;padding:10px;font:inherit}
.bot-order-review-box>div[b-26kblvbkoj]{display:flex;gap:10px;margin-top:10px;justify-content:flex-end;flex-wrap:wrap}
.bot-order-review-box .approve-order[b-26kblvbkoj]{background:#059669}
.bot-order-review-history[b-26kblvbkoj],.bot-order-locked[b-26kblvbkoj]{margin-top:14px;padding:12px 14px;border-radius:12px;border:1px solid var(--line);background:var(--panel2)}
.bot-order-review-history[b-26kblvbkoj]{display:grid;grid-template-columns:auto 1fr;gap:4px 12px}
.bot-order-review-history span[b-26kblvbkoj]{color:var(--muted);font-size:12px}
.bot-order-review-history p[b-26kblvbkoj]{grid-column:1/-1;margin:5px 0 0;color:var(--muted)}
.bot-order-locked[b-26kblvbkoj]{color:var(--muted)}
.empty-state.compact[b-26kblvbkoj]{min-height:80px;padding:18px}
.erp-shell-reference.erpdb-light .bot-order-kpis article[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .bot-order-kpis article[b-26kblvbkoj],
.erp-shell-final.erpdb-light .bot-order-kpis article[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .bot-order-info-grid>section[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .bot-order-info-grid>section[b-26kblvbkoj],
.erp-shell-final.erpdb-light .bot-order-info-grid>section[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .bot-order-review-box[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .bot-order-review-box[b-26kblvbkoj],
.erp-shell-final.erpdb-light .bot-order-review-box[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .bot-order-review-history[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .bot-order-review-history[b-26kblvbkoj],
.erp-shell-final.erpdb-light .bot-order-review-history[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .bot-order-locked[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .bot-order-locked[b-26kblvbkoj],
.erp-shell-final.erpdb-light .bot-order-locked[b-26kblvbkoj]{background:#f8fafc;border-color:var(--line)}
.erp-shell-reference.erpdb-light .bot-order-review-box textarea[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .bot-order-review-box textarea[b-26kblvbkoj],
.erp-shell-final.erpdb-light .bot-order-review-box textarea[b-26kblvbkoj]{background:#fff;color:var(--text);border-color:var(--line)}
@media(max-width:1100px){.bot-order-kpis[b-26kblvbkoj]{grid-template-columns:repeat(2,minmax(0,1fr))}.bot-order-identity[b-26kblvbkoj],.bot-order-finance[b-26kblvbkoj]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.bot-order-kpis[b-26kblvbkoj],.bot-order-info-grid[b-26kblvbkoj]{grid-template-columns:1fr}.bot-order-list .data-list button[b-26kblvbkoj]{grid-template-columns:40px minmax(0,1fr)}.bot-order-list .bot-order-status[b-26kblvbkoj]{grid-column:2;justify-self:start}.bot-order-identity[b-26kblvbkoj],.bot-order-finance[b-26kblvbkoj]{grid-template-columns:1fr 1fr}}


/* CRM bulk customer Excel import */
.customer-import-modal[b-26kblvbkoj]{max-width:900px}
.customer-import-intro[b-26kblvbkoj]{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--panel2)}
.customer-import-intro>div[b-26kblvbkoj]{min-width:0}
.customer-import-intro strong[b-26kblvbkoj]{display:block;margin-bottom:6px}
.customer-import-intro p[b-26kblvbkoj],.customer-import-columns p[b-26kblvbkoj]{margin:0;color:var(--muted);line-height:1.9}
.customer-import-intro>a[b-26kblvbkoj]{flex:0 0 auto;text-decoration:none}
.customer-import-columns[b-26kblvbkoj]{margin-top:12px;padding:13px 15px;border:1px dashed var(--line);border-radius:12px}
.customer-import-columns strong[b-26kblvbkoj]{display:block;margin-bottom:5px}
.customer-import-picker[b-26kblvbkoj]{margin-top:14px;min-height:120px;border:1px dashed var(--line);border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;cursor:pointer;background:var(--panel2);padding:18px;text-align:center}
.customer-import-picker>span[b-26kblvbkoj]{font-weight:700}
.customer-import-picker input[type=file][b-26kblvbkoj]{max-width:100%;color:var(--muted)}
.customer-import-picker strong[b-26kblvbkoj]{overflow-wrap:anywhere}
.customer-import-picker small[b-26kblvbkoj]{color:var(--muted)}
.customer-import-result[b-26kblvbkoj]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}
.customer-import-result>div[b-26kblvbkoj]{border:1px solid var(--line);border-radius:12px;padding:12px;background:var(--panel2);display:grid;gap:4px}
.customer-import-result small[b-26kblvbkoj]{color:var(--muted)}
.customer-import-result strong[b-26kblvbkoj]{font-size:22px}
.customer-import-result .success strong[b-26kblvbkoj]{color:#34d399}
.customer-import-result .warning strong[b-26kblvbkoj]{color:#f59e0b}
.customer-import-result .danger strong[b-26kblvbkoj]{color:#f87171}
.customer-import-issues[b-26kblvbkoj]{margin-top:14px}
.customer-import-issues h3[b-26kblvbkoj]{font-size:14px;margin:0 0 8px}
.customer-import-issues .table-wrap[b-26kblvbkoj]{max-height:260px;overflow:auto;border:1px solid var(--line);border-radius:12px}
.customer-import-issues table[b-26kblvbkoj]{width:100%;border-collapse:collapse}
.customer-import-issues th[b-26kblvbkoj],.customer-import-issues td[b-26kblvbkoj]{padding:9px 10px;border-bottom:1px solid var(--line);font-size:12px;text-align:right;vertical-align:top}
.customer-import-issues th[b-26kblvbkoj]{position:sticky;top:0;background:var(--panel);color:var(--muted);z-index:1}
.erp-shell-reference.erpdb-light .customer-import-intro[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .customer-import-intro[b-26kblvbkoj],
.erp-shell-final.erpdb-light .customer-import-intro[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .customer-import-picker[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .customer-import-picker[b-26kblvbkoj],
.erp-shell-final.erpdb-light .customer-import-picker[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .customer-import-result>div[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .customer-import-result>div[b-26kblvbkoj],
.erp-shell-final.erpdb-light .customer-import-result>div[b-26kblvbkoj]{background:#f8fafc;border-color:var(--line)}
.erp-shell-reference.erpdb-light .customer-import-issues th[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .customer-import-issues th[b-26kblvbkoj],
.erp-shell-final.erpdb-light .customer-import-issues th[b-26kblvbkoj]{background:#fff}
@media(max-width:760px){.customer-import-intro[b-26kblvbkoj]{flex-direction:column}.customer-import-result[b-26kblvbkoj]{grid-template-columns:repeat(2,minmax(0,1fr))}}

.message-assets[b-26kblvbkoj]{display:grid;gap:7px;margin:6px 0}
.message-media[b-26kblvbkoj]{display:grid;gap:6px;max-width:360px;border:1px solid #ffffff24;background:#07101f44;border-radius:10px;padding:7px;text-decoration:none;color:inherit;overflow:hidden}
.message-media img[b-26kblvbkoj],.message-media video[b-26kblvbkoj]{display:block;width:100%;max-height:280px;object-fit:contain;border-radius:8px;background:#050b14}
.message-media audio[b-26kblvbkoj]{width:100%;min-width:260px}
.message-media>span[b-26kblvbkoj]{display:flex;align-items:center;gap:7px;font-size:10px;word-break:break-word}
.message-media>span small[b-26kblvbkoj]{margin-right:auto}
.message-asset[b-26kblvbkoj]{text-decoration:none;color:inherit}
@media(max-width:720px){.message-media[b-26kblvbkoj]{max-width:100%}.message-media audio[b-26kblvbkoj]{min-width:0}}

/* Customer social network report */
.social-network-report[b-26kblvbkoj]{margin-bottom:16px}
.social-network-report>header p[b-26kblvbkoj]{margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.8}
.social-summary-grid[b-26kblvbkoj]{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-top:14px}
.social-summary-grid>div[b-26kblvbkoj]{border:1px solid var(--line);background:var(--panel2);border-radius:13px;padding:12px 14px;display:grid;gap:5px}
.social-summary-grid span[b-26kblvbkoj]{font-size:11px;color:var(--muted)}
.social-summary-grid strong[b-26kblvbkoj]{font-size:18px;line-height:1.4}
.social-summary-grid small[b-26kblvbkoj]{font-size:11px;color:var(--muted);line-height:1.5}
.social-report-toolbar[b-26kblvbkoj]{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:14px 0 10px}
.social-report-toolbar label[b-26kblvbkoj]{display:grid;gap:6px}
.social-report-toolbar label>span[b-26kblvbkoj]{font-size:11px;color:var(--muted)}
.social-report-toolbar select[b-26kblvbkoj],.social-report-toolbar input[b-26kblvbkoj]{min-height:40px;border:1px solid var(--line);border-radius:10px;background:var(--panel2);color:var(--text);padding:0 11px;font:inherit}
.social-report-toolbar select[b-26kblvbkoj]{min-width:180px}
.social-report-toolbar .social-search[b-26kblvbkoj]{flex:1;min-width:220px}
.social-report-toolbar .social-search input[b-26kblvbkoj]{width:100%}
.social-network-table[b-26kblvbkoj]{border:1px solid var(--line);border-radius:12px;overflow:auto}
.social-network-table table[b-26kblvbkoj]{width:100%;border-collapse:collapse;min-width:920px}
.social-network-table th[b-26kblvbkoj],.social-network-table td[b-26kblvbkoj]{padding:10px 12px;border-bottom:1px solid var(--line);text-align:center;font-size:12px}
.social-network-table th:first-child[b-26kblvbkoj],.social-network-table td:first-child[b-26kblvbkoj]{text-align:right}
.social-network-table th[b-26kblvbkoj]{color:var(--muted);font-weight:800;background:var(--panel2)}
.social-network-table td>strong[b-26kblvbkoj]{display:block}
.social-network-table td>small[b-26kblvbkoj]{display:block;color:var(--muted);margin-top:3px}
.social-customer-row[b-26kblvbkoj]{cursor:pointer}
.social-customer-row:hover[b-26kblvbkoj]{background:rgba(109,77,255,.06)}
.network-badge[b-26kblvbkoj]{display:inline-grid;place-items:center;min-width:84px;height:28px;padding:0 9px;border-radius:999px;font-weight:800;border:1px solid var(--line);white-space:nowrap}
.network-badge.on[b-26kblvbkoj]{background:rgba(16,185,129,.12);color:#34d399;border-color:rgba(16,185,129,.28)}
.network-badge.unknown[b-26kblvbkoj]{background:rgba(245,158,11,.08);color:#f59e0b;border-color:rgba(245,158,11,.22)}
.social-report-pagination[b-26kblvbkoj]{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:11px;color:var(--muted);font-size:12px}
.social-report-pagination>div[b-26kblvbkoj]{display:flex;gap:8px}
.partner-social-status[b-26kblvbkoj]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}
.partner-social-status>span[b-26kblvbkoj]{border:1px solid var(--line);border-radius:11px;padding:9px 10px;background:var(--panel2);display:flex;align-items:center;justify-content:space-between;gap:10px}
.partner-social-status b[b-26kblvbkoj]{font-size:12px}
.partner-social-status i[b-26kblvbkoj]{font-style:normal;font-size:11px;color:var(--muted)}
.partner-social-status .on[b-26kblvbkoj]{border-color:rgba(16,185,129,.3);background:rgba(16,185,129,.08)}
.partner-social-status .on i[b-26kblvbkoj]{color:#34d399}
.partner-social-status .unknown[b-26kblvbkoj]{border-color:rgba(245,158,11,.24);background:rgba(245,158,11,.06)}
.partner-social-status .unknown i[b-26kblvbkoj]{color:#f59e0b}
.erp-shell-reference.erpdb-light .social-summary-grid>div[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .social-summary-grid>div[b-26kblvbkoj],
.erp-shell-final.erpdb-light .social-summary-grid>div[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .social-report-toolbar select[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .social-report-toolbar input[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .social-report-toolbar select[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .social-report-toolbar input[b-26kblvbkoj],
.erp-shell-final.erpdb-light .social-report-toolbar select[b-26kblvbkoj],
.erp-shell-final.erpdb-light .social-report-toolbar input[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .social-network-table th[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .social-network-table th[b-26kblvbkoj],
.erp-shell-final.erpdb-light .social-network-table th[b-26kblvbkoj],
.erp-shell-reference.erpdb-light .partner-social-status>span[b-26kblvbkoj],
.erp-shell-clean.erpdb-light .partner-social-status>span[b-26kblvbkoj],
.erp-shell-final.erpdb-light .partner-social-status>span[b-26kblvbkoj]{background:#f8fafc;border-color:var(--line);color:var(--text)}
@media(max-width:1180px){.social-summary-grid[b-26kblvbkoj]{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.social-summary-grid[b-26kblvbkoj]{grid-template-columns:repeat(2,minmax(0,1fr))}.social-report-pagination[b-26kblvbkoj]{align-items:flex-start;flex-direction:column}.partner-social-status[b-26kblvbkoj]{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* /Components/Pages/CrmAudiencePreview.razor.rz.scp.css */
.audience-preview[b-t10injukym]{margin-top:14px;border:1px solid var(--mw-border,var(--erp-final-border,#dbe3f0));border-radius:13px;padding:13px;background:var(--mw-surface-soft,var(--erp-surface-raised,#f8fafc));color:var(--mw-text,var(--erp-final-text,#0f172a))}
.audience-preview>header[b-t10injukym]{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.audience-preview header small[b-t10injukym]{color:var(--mw-primary,var(--erp-primary,#2563eb));font-size:9px;font-weight:800;letter-spacing:.09em}.audience-preview h3[b-t10injukym]{margin:3px 0 0}.audience-summary[b-t10injukym]{display:flex;gap:6px;flex-wrap:wrap}.audience-summary span[b-t10injukym]{border:1px solid var(--mw-border,var(--erp-final-border,#dbe3f0));border-radius:999px;padding:5px 8px;font-size:9.5px}.audience-summary .ok[b-t10injukym]{color:#22c55e}.audience-summary .bad[b-t10injukym]{color:#ef4444}.audience-table-wrap[b-t10injukym]{overflow:auto;max-height:360px}.audience-preview table[b-t10injukym]{width:100%;border-collapse:collapse;min-width:650px}.audience-preview th[b-t10injukym],.audience-preview td[b-t10injukym]{padding:9px;border-bottom:1px solid var(--mw-border,var(--erp-final-border,#dbe3f0));text-align:right;font-size:10.5px;vertical-align:top}.audience-preview th[b-t10injukym]{color:var(--mw-muted,var(--erp-final-muted,#64748b));font-weight:600}.audience-preview td strong[b-t10injukym]{display:block}.audience-preview td small[b-t10injukym]{color:var(--mw-muted,var(--erp-final-muted,#64748b));font-size:9px}.audience-state[b-t10injukym]{display:inline-flex;border-radius:999px;padding:4px 7px;font-size:9px}.audience-state.eligible[b-t10injukym]{background:color-mix(in srgb,#22c55e 12%,transparent);color:#22c55e}.audience-state.suppressed[b-t10injukym]{background:color-mix(in srgb,#ef4444 12%,transparent);color:#ef4444}.audience-empty[b-t10injukym]{padding:24px;text-align:center;color:var(--mw-muted,var(--erp-final-muted,#64748b));font-size:11px}
@media(max-width:650px){.audience-preview>header[b-t10injukym]{align-items:flex-start;flex-direction:column}}
/* /Components/Pages/CrmAutomations.razor.rz.scp.css */
.automation-page.automation-page[b-g713qqxuaq] {
    --auto-bg: var(--erp-final-bg, #f5f7fc);
    --auto-surface: #fff;
    --auto-surface-soft: #f7f9fc;
    --auto-input: #fff;
    --auto-border: var(--erp-final-border, #e2e8f0);
    --auto-border-soft: #edf1f6;
    --auto-text: var(--erp-final-text, #0f172a);
    --auto-muted: var(--erp-final-muted, #64748b);
    --auto-hover: #f5f8ff;
    --auto-code: #f1f5f9;
    --auto-primary: var(--erp-primary, #2563eb);
    --auto-accent: var(--erp-accent, #7c3aed);
    --auto-success-bg: #ecfdf3;
    --auto-success-text: #166534;
    --auto-error-bg: #fef2f2;
    --auto-error-text: #991b1b;
    --auto-danger: #b42318;
    --auto-shadow: 0 8px 30px rgba(15, 23, 42, .07);
    min-height: 100vh;
    background: var(--auto-bg) !important;
    color: var(--auto-text) !important;
    color-scheme: light;
}

body.erpdb-dark .automation-page.automation-page[b-g713qqxuaq],
.erp-shell-reference.erpdb-dark .automation-page.automation-page[b-g713qqxuaq],
.erp-shell-clean.erpdb-dark .automation-page.automation-page[b-g713qqxuaq],
.erp-shell-final.erpdb-dark .automation-page.automation-page[b-g713qqxuaq] {
    --auto-bg: transparent;
    --auto-surface: #0f172a;
    --auto-surface-soft: #111c31;
    --auto-input: #091426;
    --auto-border: #26364f;
    --auto-border-soft: #1e2d44;
    --auto-text: #f8fafc;
    --auto-muted: #a9b8cd;
    --auto-hover: #17233a;
    --auto-code: #071120;
    --auto-success-bg: #12372f;
    --auto-success-text: #9af0d4;
    --auto-error-bg: #3b1620;
    --auto-error-text: #ffc4d0;
    --auto-danger: #ff8a9b;
    --auto-shadow: 0 18px 44px rgba(0, 0, 0, .28);
    color-scheme: dark;
}

body.erpdb-light .automation-page.automation-page[b-g713qqxuaq],
.erp-shell-reference.erpdb-light .automation-page.automation-page[b-g713qqxuaq],
.erp-shell-clean.erpdb-light .automation-page.automation-page[b-g713qqxuaq],
.erp-shell-final.erpdb-light .automation-page.automation-page[b-g713qqxuaq] {
    --auto-bg: transparent;
    --auto-surface: #fff;
    --auto-surface-soft: #f7f9fc;
    --auto-input: #fff;
    --auto-border: #e2e8f0;
    --auto-border-soft: #edf1f6;
    --auto-text: #0f172a;
    --auto-muted: #64748b;
    --auto-hover: #f5f8ff;
    --auto-code: #f1f5f9;
    --auto-success-bg: #ecfdf3;
    --auto-success-text: #166534;
    --auto-error-bg: #fef2f2;
    --auto-error-text: #991b1b;
    --auto-danger: #b42318;
    --auto-shadow: 0 8px 30px rgba(15, 23, 42, .07);
    color-scheme: light;
}

.automation-page .automation-hero a[b-g713qqxuaq],
.automation-page .automation-hero h1[b-g713qqxuaq],
.automation-page .editor-head h2[b-g713qqxuaq],
.automation-page .section-head h3[b-g713qqxuaq],
.automation-page .sidebar h3[b-g713qqxuaq],
.automation-page .flow b[b-g713qqxuaq],
.automation-page .run b[b-g713qqxuaq],
.automation-page .run-summary[b-g713qqxuaq],
.automation-page .execution[b-g713qqxuaq],
.automation-page .execution summary[b-g713qqxuaq],
.automation-page label[b-g713qqxuaq] {
    color: var(--auto-text) !important;
}

.automation-page .automation-hero p[b-g713qqxuaq],
.automation-page .section-head small[b-g713qqxuaq],
.automation-page .flow small[b-g713qqxuaq],
.automation-page .run small[b-g713qqxuaq],
.automation-page .flow em[b-g713qqxuaq],
.automation-page .run em[b-g713qqxuaq],
.automation-page .form-grid label span[b-g713qqxuaq],
.automation-page .step-fields > label span[b-g713qqxuaq],
.automation-page .execution > small[b-g713qqxuaq],
.automation-page .empty[b-g713qqxuaq] {
    color: var(--auto-muted) !important;
}

.automation-page .sidebar[b-g713qqxuaq],
.automation-page .editor[b-g713qqxuaq],
.automation-page .runs[b-g713qqxuaq],
.automation-page .executions[b-g713qqxuaq],
.automation-page .step[b-g713qqxuaq] {
    background: var(--auto-surface) !important;
    color: var(--auto-text) !important;
    border-color: var(--auto-border) !important;
    box-shadow: var(--auto-shadow);
}

.automation-page .editor-head[b-g713qqxuaq],
.automation-page .step-config-host[b-g713qqxuaq],
.automation-page .history-head[b-g713qqxuaq],
.automation-page .execution[b-g713qqxuaq] {
    border-color: var(--auto-border-soft) !important;
}

.automation-page button[b-g713qqxuaq] {
    background: var(--auto-surface-soft) !important;
    color: var(--auto-text) !important;
    border-color: var(--auto-border) !important;
}

.automation-page button:hover:not(:disabled)[b-g713qqxuaq],
.automation-page .flow:hover[b-g713qqxuaq],
.automation-page .run:hover[b-g713qqxuaq] {
    background: var(--auto-hover) !important;
}

.automation-page button.primary[b-g713qqxuaq] {
    background: linear-gradient(135deg, var(--auto-primary), var(--auto-accent)) !important;
    color: #fff !important;
    border-color: transparent !important;
}

.automation-page .flow.selected[b-g713qqxuaq],
.automation-page .run.selected[b-g713qqxuaq],
.automation-page .selected[b-g713qqxuaq] {
    background: color-mix(in srgb, var(--auto-primary) 14%, var(--auto-surface)) !important;
    border-color: color-mix(in srgb, var(--auto-primary) 62%, var(--auto-border)) !important;
}

.automation-page input[b-g713qqxuaq],
.automation-page select[b-g713qqxuaq],
.automation-page textarea[b-g713qqxuaq] {
    background: var(--auto-input) !important;
    color: var(--auto-text) !important;
    border-color: var(--auto-border) !important;
}

.automation-page input[b-g713qqxuaq]::placeholder,
.automation-page textarea[b-g713qqxuaq]::placeholder {
    color: var(--auto-muted) !important;
    opacity: .82;
}

.automation-page input:focus[b-g713qqxuaq],
.automation-page select:focus[b-g713qqxuaq],
.automation-page textarea:focus[b-g713qqxuaq] {
    outline: none;
    border-color: var(--auto-primary) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--auto-primary) 20%, transparent);
}

.automation-page .step-no[b-g713qqxuaq] {
    background: color-mix(in srgb, var(--auto-primary) 14%, var(--auto-surface)) !important;
    color: color-mix(in srgb, var(--auto-primary) 82%, var(--auto-text)) !important;
}

.automation-page .danger[b-g713qqxuaq] {
    color: var(--auto-danger) !important;
}

.automation-page .notice.success[b-g713qqxuaq] {
    background: var(--auto-success-bg) !important;
    color: var(--auto-success-text) !important;
    border: 1px solid color-mix(in srgb, #22c55e 38%, var(--auto-border));
}

.automation-page .notice.error[b-g713qqxuaq],
.automation-page .error-box[b-g713qqxuaq] {
    background: var(--auto-error-bg) !important;
    color: var(--auto-error-text) !important;
    border-color: color-mix(in srgb, #ef4444 38%, var(--auto-border)) !important;
}

.automation-page .json-grid > div[b-g713qqxuaq],
.automation-page pre[b-g713qqxuaq],
.automation-page code[b-g713qqxuaq] {
    background: var(--auto-code) !important;
    color: var(--auto-text) !important;
}

/* Child editors use CSS isolation, so theme them through ::deep. */
.automation-page[b-g713qqxuaq]  .trigger-config-editor,
.automation-page[b-g713qqxuaq]  .step-config-editor .hint,
.automation-page[b-g713qqxuaq]  .step-config-editor .advanced,
.automation-page[b-g713qqxuaq]  .step-config-editor .no-config,
.automation-page[b-g713qqxuaq]  .trigger-config-editor .advanced,
.automation-page[b-g713qqxuaq]  .trigger-config-editor .no-config {
    background: var(--auto-surface-soft) !important;
    color: var(--auto-text) !important;
    border-color: var(--auto-border) !important;
}

.automation-page[b-g713qqxuaq]  .step-config-editor .config-grid label span,
.automation-page[b-g713qqxuaq]  .step-config-editor .config-grid small,
.automation-page[b-g713qqxuaq]  .step-config-editor .hint,
.automation-page[b-g713qqxuaq]  .step-config-editor .raw-json small,
.automation-page[b-g713qqxuaq]  .step-config-editor .advanced summary,
.automation-page[b-g713qqxuaq]  .step-config-editor .prefix-input code,
.automation-page[b-g713qqxuaq]  .trigger-config-editor .config-grid label span,
.automation-page[b-g713qqxuaq]  .trigger-config-editor .hint,
.automation-page[b-g713qqxuaq]  .trigger-config-editor .config-grid small,
.automation-page[b-g713qqxuaq]  .trigger-config-editor .raw-json small,
.automation-page[b-g713qqxuaq]  .trigger-config-editor .advanced summary {
    color: var(--auto-muted) !important;
}

.automation-page[b-g713qqxuaq]  .step-config-editor input,
.automation-page[b-g713qqxuaq]  .step-config-editor select,
.automation-page[b-g713qqxuaq]  .step-config-editor textarea,
.automation-page[b-g713qqxuaq]  .step-config-editor .json-editor,
.automation-page[b-g713qqxuaq]  .step-config-editor .prefix-input,
.automation-page[b-g713qqxuaq]  .trigger-config-editor input,
.automation-page[b-g713qqxuaq]  .trigger-config-editor select,
.automation-page[b-g713qqxuaq]  .trigger-config-editor textarea,
.automation-page[b-g713qqxuaq]  .trigger-config-editor .json-editor {
    background: var(--auto-input) !important;
    color: var(--auto-text) !important;
    border-color: var(--auto-border) !important;
}

.automation-page[b-g713qqxuaq]  .step-config-editor .json-warning,
.automation-page[b-g713qqxuaq]  .trigger-config-editor .json-warning {
    background: var(--auto-error-bg) !important;
    color: var(--auto-error-text) !important;
}

@media (max-width: 900px) {
    .automation-page .workspace[b-g713qqxuaq],
    .automation-page .history[b-g713qqxuaq] {
        grid-template-columns: 1fr !important;
    }

    .automation-page .sidebar[b-g713qqxuaq] {
        width: auto;
    }
}

@media (max-width: 640px) {
    .automation-page.automation-page[b-g713qqxuaq] {
        padding: 12px !important;
    }

    .automation-page .automation-hero[b-g713qqxuaq],
    .automation-page .editor-head[b-g713qqxuaq],
    .automation-page .section-head[b-g713qqxuaq] {
        align-items: stretch;
        flex-direction: column;
    }

    .automation-page .form-grid[b-g713qqxuaq],
    .automation-page .step-fields[b-g713qqxuaq],
    .automation-page .json-grid[b-g713qqxuaq] {
        grid-template-columns: 1fr !important;
    }

    .automation-page .full[b-g713qqxuaq] {
        grid-column: auto !important;
    }
}


.automation-page .validation-card[b-g713qqxuaq] {
    margin: 16px 0;
    padding: 14px;
    border: 1px solid var(--auto-border);
    border-radius: 12px;
    background: var(--auto-surface-soft);
    color: var(--auto-text);
}
.automation-page .validation-card > header[b-g713qqxuaq] { display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap; }
.automation-page .validation-card > header div[b-g713qqxuaq] { display:grid;gap:3px; }
.automation-page .validation-card > header small[b-g713qqxuaq] { color:var(--auto-muted); }
.automation-page .validation-card > header span[b-g713qqxuaq] { color:var(--auto-muted);font-size:12px; }
.automation-page .validation-card.valid[b-g713qqxuaq] { border-color:color-mix(in srgb,#22c55e 45%,var(--auto-border)); }
.automation-page .validation-card.invalid[b-g713qqxuaq] { border-color:color-mix(in srgb,#ef4444 45%,var(--auto-border)); }
.automation-page .validation-errors[b-g713qqxuaq],.automation-page .validation-warnings[b-g713qqxuaq] { display:grid;gap:6px;margin-top:11px; }
.automation-page .validation-errors p[b-g713qqxuaq],.automation-page .validation-warnings p[b-g713qqxuaq] { margin:0;padding:8px 10px;border-radius:8px;font-size:12px; }
.automation-page .validation-errors p[b-g713qqxuaq] { background:var(--auto-error-bg);color:var(--auto-error-text); }
.automation-page .validation-warnings p[b-g713qqxuaq] { background:color-mix(in srgb,#f59e0b 12%,var(--auto-surface));color:color-mix(in srgb,#f59e0b 72%,var(--auto-text)); }

.automation-page .dry-run-card[b-g713qqxuaq] {
    margin: 16px 0;
    padding: 14px;
    border: 1px solid var(--auto-border);
    border-radius: 12px;
    background: var(--auto-surface);
    color: var(--auto-text);
    box-shadow: var(--auto-shadow);
}
.automation-page .dry-run-head[b-g713qqxuaq],.automation-page .dry-run-result-head[b-g713qqxuaq],.automation-page .dry-run-step-title[b-g713qqxuaq] { display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap; }
.automation-page .dry-run-head > div[b-g713qqxuaq],.automation-page .dry-run-result-head > div[b-g713qqxuaq] { display:grid;gap:3px; }
.automation-page .dry-run-head small[b-g713qqxuaq],.automation-page .dry-run-result-head small[b-g713qqxuaq],.automation-page .dry-run-step small[b-g713qqxuaq],.automation-page .dry-run-grid small[b-g713qqxuaq] { color:var(--auto-muted); }
.automation-page .dry-run-safe[b-g713qqxuaq] { padding:5px 9px;border-radius:999px;background:var(--auto-success-bg);color:var(--auto-success-text);font-size:12px;font-weight:700; }
.automation-page .dry-run-safety[b-g713qqxuaq] { margin:12px 0;padding:10px 12px;border-radius:9px;border:1px solid color-mix(in srgb,#22c55e 32%,var(--auto-border));background:color-mix(in srgb,#22c55e 8%,var(--auto-surface));color:var(--auto-text);font-size:13px; }
.automation-page .dry-run-grid[b-g713qqxuaq] { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end; }
.automation-page .dry-run-grid label[b-g713qqxuaq] { display:flex;flex-direction:column;gap:5px; }
.automation-page .dry-run-grid label span[b-g713qqxuaq] { font-size:12px;color:var(--auto-muted); }
.automation-page .dry-run-actions[b-g713qqxuaq] { display:flex;gap:8px;flex-wrap:wrap; }
.automation-page .dry-run-context[b-g713qqxuaq] { border:1px dashed var(--auto-border);border-radius:9px;padding:9px 11px;background:var(--auto-surface-soft); }
.automation-page .dry-run-context summary[b-g713qqxuaq],.automation-page .dry-run-step details summary[b-g713qqxuaq] { cursor:pointer;font-weight:700;font-size:12px; }
.automation-page .dry-run-context textarea[b-g713qqxuaq] { margin-top:10px; }
.automation-page .dry-run-result[b-g713qqxuaq] { margin-top:14px;padding-top:14px;border-top:1px solid var(--auto-border-soft); }
.automation-page .dry-run-result.valid[b-g713qqxuaq] { border-top-color:color-mix(in srgb,#22c55e 45%,var(--auto-border)); }
.automation-page .dry-run-result.invalid[b-g713qqxuaq] { border-top-color:color-mix(in srgb,#ef4444 45%,var(--auto-border)); }
.automation-page .dry-run-result-head > span[b-g713qqxuaq] { color:var(--auto-muted);font-size:12px; }
.automation-page .dry-run-trigger[b-g713qqxuaq] { padding:8px 10px;border-radius:8px;background:var(--auto-surface-soft);color:var(--auto-muted);font-size:12px; }
.automation-page .dry-run-steps[b-g713qqxuaq] { display:grid;gap:9px;margin-top:12px; }
.automation-page .dry-run-step[b-g713qqxuaq] { display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;padding:11px;border:1px solid var(--auto-border);border-radius:10px;background:var(--auto-surface-soft); }
.automation-page .dry-run-index[b-g713qqxuaq] { width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,var(--auto-primary) 14%,var(--auto-surface));color:var(--auto-primary);font-weight:700; }
.automation-page .dry-run-step-title span[b-g713qqxuaq] { color:var(--auto-muted);font-size:12px; }
.automation-page .dry-run-step p[b-g713qqxuaq] { margin:6px 0;color:var(--auto-text); }
.automation-page .dry-run-step details[b-g713qqxuaq] { margin-top:8px; }
.automation-page .dry-run-step pre[b-g713qqxuaq] { white-space:pre-wrap;word-break:break-word;max-height:180px;overflow:auto;padding:8px;border-radius:8px;font-size:12px; }
@media(max-width:760px){.automation-page .dry-run-grid[b-g713qqxuaq]{grid-template-columns:1fr}.automation-page .dry-run-actions[b-g713qqxuaq]{align-items:stretch}.automation-page .dry-run-actions button[b-g713qqxuaq]{flex:1}}
/* /Components/Pages/CrmAutomationStepConfigEditor.razor.rz.scp.css */
.step-config-editor[b-lhzu3y4nty]{margin-top:2px}.config-grid[b-lhzu3y4nty]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.config-grid label[b-lhzu3y4nty]{display:flex;flex-direction:column;gap:5px}.config-grid label span[b-lhzu3y4nty]{font-size:12px;color:#667085}.config-grid label span b[b-lhzu3y4nty]{color:#b42318}.config-grid input[b-lhzu3y4nty],.config-grid select[b-lhzu3y4nty],.config-grid textarea[b-lhzu3y4nty],.json-editor[b-lhzu3y4nty]{width:100%;box-sizing:border-box;border:1px solid #dce1ea;border-radius:8px;padding:9px;font:inherit;background:#fff}.config-grid textarea[b-lhzu3y4nty],.json-editor[b-lhzu3y4nty]{resize:vertical}.config-grid .full[b-lhzu3y4nty]{grid-column:1/-1}.config-grid small[b-lhzu3y4nty],.hint[b-lhzu3y4nty],.raw-json small[b-lhzu3y4nty]{color:#667085;font-size:12px}.hint[b-lhzu3y4nty]{margin:0;padding:8px 10px;background:#f7f8fb;border-radius:8px}.advanced[b-lhzu3y4nty]{border:1px dashed #d6dbe5;border-radius:8px;padding:8px 10px;background:#fbfcfe}.advanced summary[b-lhzu3y4nty]{cursor:pointer;font-size:12px;font-weight:700;color:#596174}.advanced[open] summary[b-lhzu3y4nty]{margin-bottom:9px}.raw-json[b-lhzu3y4nty]{margin-top:10px}.json-editor[b-lhzu3y4nty]{font-family:Consolas,monospace;direction:ltr;text-align:left;margin-bottom:5px}.json-warning[b-lhzu3y4nty]{background:#fff0f0;color:#922d2d;border-radius:7px;padding:8px;margin-bottom:8px}.ltr[b-lhzu3y4nty]{direction:ltr;text-align:left}.prefix-input[b-lhzu3y4nty]{display:flex;align-items:center;border:1px solid #dce1ea;border-radius:8px;overflow:hidden;background:#fff;direction:ltr}.prefix-input code[b-lhzu3y4nty]{padding:0 8px;color:#667085}.prefix-input input[b-lhzu3y4nty]{border:0!important;border-radius:0!important;outline:0}.no-config[b-lhzu3y4nty]{padding:14px;background:#f7f8fb;border:1px dashed #d6dbe5;border-radius:9px;color:#667085}.wait-grid[b-lhzu3y4nty]{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:900px){.config-grid[b-lhzu3y4nty],.wait-grid[b-lhzu3y4nty]{grid-template-columns:1fr}.config-grid .full[b-lhzu3y4nty]{grid-column:auto}}
/* /Components/Pages/CrmAutomationTemplateGallery.razor.rz.scp.css */
.template-gallery[b-nwv2ki5ly4]{margin:0 0 16px;padding:14px;border:1px solid var(--auto-border,#dce1ea);border-radius:14px;background:var(--auto-surface,#fff);color:var(--auto-text,#1f2937);box-shadow:var(--auto-shadow,none)}
.template-head[b-nwv2ki5ly4]{display:flex;justify-content:space-between;align-items:center;gap:16px}.template-head>div[b-nwv2ki5ly4]{min-width:0}.template-kicker[b-nwv2ki5ly4]{display:inline-block;font-size:11px;font-weight:800;color:var(--auto-primary,#4f5bd5);margin-bottom:3px}.template-head h3[b-nwv2ki5ly4]{margin:0 0 4px;font-size:18px}.template-head p[b-nwv2ki5ly4]{margin:0;color:var(--auto-muted,#667085);font-size:13px;line-height:1.8}.template-toggle[b-nwv2ki5ly4],.template-filters button[b-nwv2ki5ly4],.template-use[b-nwv2ki5ly4]{border:1px solid var(--auto-border,#dce1ea);background:var(--auto-surface,#fff);color:var(--auto-text,#1f2937);border-radius:9px;padding:8px 11px;cursor:pointer;font:inherit}.template-toggle[b-nwv2ki5ly4]{white-space:nowrap}.template-toggle:disabled[b-nwv2ki5ly4],.template-filters button:disabled[b-nwv2ki5ly4],.template-use:disabled[b-nwv2ki5ly4]{opacity:.45;cursor:not-allowed}.template-filters[b-nwv2ki5ly4]{display:flex;gap:7px;flex-wrap:wrap;margin:14px 0 10px;padding-top:12px;border-top:1px solid var(--auto-border-soft,#edf0f5)}.template-filters button[b-nwv2ki5ly4]{padding:6px 10px;font-size:12px}.template-filters button.selected[b-nwv2ki5ly4]{background:color-mix(in srgb,var(--auto-primary,#4f5bd5) 12%,var(--auto-surface,#fff));border-color:color-mix(in srgb,var(--auto-primary,#4f5bd5) 45%,var(--auto-border,#dce1ea));color:var(--auto-primary,#4f5bd5);font-weight:700}.template-grid[b-nwv2ki5ly4]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.template-card[b-nwv2ki5ly4]{display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;padding:12px;border:1px solid var(--auto-border,#dce1ea);border-radius:12px;background:var(--auto-surface-soft,#f7f8fb);min-width:0}.template-icon[b-nwv2ki5ly4]{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:color-mix(in srgb,var(--auto-primary,#4f5bd5) 11%,var(--auto-surface,#fff));font-size:20px}.template-card-body[b-nwv2ki5ly4]{min-width:0}.template-card-title[b-nwv2ki5ly4]{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.template-card-title>div[b-nwv2ki5ly4]{display:grid;gap:2px}.template-card-title b[b-nwv2ki5ly4]{font-size:14px}.template-card-title small[b-nwv2ki5ly4]{color:var(--auto-muted,#667085);font-size:11px}.template-card-title>span[b-nwv2ki5ly4]{font-size:10px;border:1px solid var(--auto-border,#dce1ea);border-radius:999px;padding:3px 7px;color:var(--auto-muted,#667085);white-space:nowrap;background:var(--auto-surface,#fff)}.template-card p[b-nwv2ki5ly4]{margin:8px 0 7px;color:var(--auto-muted,#667085);font-size:12px;line-height:1.75}.template-flow[b-nwv2ki5ly4]{direction:ltr;text-align:left;font-family:Consolas,monospace;font-size:10px;line-height:1.5;padding:7px;border-radius:8px;background:var(--auto-surface,#fff);border:1px dashed var(--auto-border,#dce1ea);overflow:auto;white-space:nowrap}.template-meta[b-nwv2ki5ly4]{display:flex;justify-content:space-between;gap:8px;margin-top:7px;color:var(--auto-muted,#667085);font-size:10px}.template-use[b-nwv2ki5ly4]{grid-column:1/-1;width:100%;margin-top:1px;background:color-mix(in srgb,var(--auto-primary,#4f5bd5) 9%,var(--auto-surface,#fff));border-color:color-mix(in srgb,var(--auto-primary,#4f5bd5) 35%,var(--auto-border,#dce1ea));color:var(--auto-primary,#4f5bd5);font-weight:700}.template-use:hover:not(:disabled)[b-nwv2ki5ly4]{background:color-mix(in srgb,var(--auto-primary,#4f5bd5) 15%,var(--auto-surface,#fff))}
@media(max-width:1200px){.template-grid[b-nwv2ki5ly4]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.template-head[b-nwv2ki5ly4]{align-items:stretch;flex-direction:column}.template-toggle[b-nwv2ki5ly4]{width:100%}.template-grid[b-nwv2ki5ly4]{grid-template-columns:1fr}.template-card-title[b-nwv2ki5ly4]{flex-direction:column}.template-card-title>span[b-nwv2ki5ly4]{align-self:flex-start}}
/* /Components/Pages/CrmAutomationTriggerConfigEditor.razor.rz.scp.css */
.trigger-config-editor[b-hnibau383x]{border:1px solid #e5e9f0;border-radius:11px;background:#fbfcfe;padding:12px}.config-grid[b-hnibau383x]{display:grid;grid-template-columns:1fr 1fr;gap:10px}.config-grid label[b-hnibau383x]{display:flex;flex-direction:column;gap:5px}.config-grid label span[b-hnibau383x]{font-size:12px;color:#667085}.full[b-hnibau383x]{grid-column:1/-1}input[b-hnibau383x],select[b-hnibau383x],textarea[b-hnibau383x]{width:100%;box-sizing:border-box;border:1px solid #dce1ea;border-radius:8px;padding:9px;font:inherit;background:#fff}.hint[b-hnibau383x],.config-grid small[b-hnibau383x],.raw-json small[b-hnibau383x]{color:#667085;font-size:12px;margin:0}.no-config[b-hnibau383x]{padding:10px;border-radius:8px;background:#f3f5f9;color:#596174}.advanced[b-hnibau383x]{margin-top:10px;border:1px dashed #d6dbe5;border-radius:9px;padding:9px 11px;background:#fff}.advanced summary[b-hnibau383x]{cursor:pointer;font-size:12px;font-weight:700;color:#596174}.advanced[open] summary[b-hnibau383x]{margin-bottom:8px}.json-editor[b-hnibau383x],.ltr[b-hnibau383x]{direction:ltr;text-align:left;font-family:Consolas,monospace}.json-warning[b-hnibau383x]{margin-bottom:8px;padding:8px;border-radius:7px;background:#fff0f0;color:#922d2d;font-size:12px}@media(max-width:760px){.config-grid[b-hnibau383x]{grid-template-columns:1fr}}
/* /Components/Pages/CrmChannels.razor.rz.scp.css */
.crm-channels[b-9zgw5e8uup]{
    --crm-bg:var(--erp-final-bg,#f5f7fc);
    --crm-surface:#fff;
    --crm-surface-soft:#f7f9fc;
    --crm-input:#fff;
    --crm-border:var(--erp-final-border,#e2e8f0);
    --crm-border-soft:#eef1f6;
    --crm-text:var(--erp-final-text,#0f172a);
    --crm-muted:var(--erp-final-muted,#64748b);
    --crm-hover:#f5f8ff;
    --crm-code:#f1f5f9;
    --crm-primary:var(--erp-primary,#2563eb);
    --crm-accent:var(--erp-accent,#7c3aed);
    --crm-shadow:0 8px 30px rgba(15,23,42,.07);
    padding:24px;
    display:grid;
    gap:18px;
    background:var(--crm-bg);
    min-height:100vh;
    color:var(--crm-text);
    color-scheme:light;
}

body.erpdb-dark .crm-channels[b-9zgw5e8uup],
.erp-shell-reference.erpdb-dark .crm-channels[b-9zgw5e8uup],
.erp-shell-clean.erpdb-dark .crm-channels[b-9zgw5e8uup],
.erp-shell-final.erpdb-dark .crm-channels[b-9zgw5e8uup]{
    --crm-bg:transparent;
    --crm-surface:#0f172a;
    --crm-surface-soft:#111c31;
    --crm-input:#091426;
    --crm-border:#26364f;
    --crm-border-soft:#1e2d44;
    --crm-text:#f8fafc;
    --crm-muted:#a9b8cd;
    --crm-hover:#17233a;
    --crm-code:#071120;
    --crm-shadow:0 18px 44px rgba(0,0,0,.28);
    color-scheme:dark;
}

body.erpdb-light .crm-channels[b-9zgw5e8uup],
.erp-shell-reference.erpdb-light .crm-channels[b-9zgw5e8uup],
.erp-shell-clean.erpdb-light .crm-channels[b-9zgw5e8uup],
.erp-shell-final.erpdb-light .crm-channels[b-9zgw5e8uup]{
    --crm-bg:transparent;
    --crm-surface:#fff;
    --crm-surface-soft:#f7f9fc;
    --crm-input:#fff;
    --crm-border:#e2e8f0;
    --crm-border-soft:#edf1f6;
    --crm-text:#0f172a;
    --crm-muted:#64748b;
    --crm-hover:#f5f8ff;
    --crm-code:#f1f5f9;
    --crm-shadow:0 8px 30px rgba(15,23,42,.07);
    color-scheme:light;
}

.page-header[b-9zgw5e8uup],.panel[b-9zgw5e8uup]{
    background:var(--crm-surface);
    color:var(--crm-text);
    border:1px solid var(--crm-border);
    border-radius:18px;
    box-shadow:var(--crm-shadow);
}
.page-header[b-9zgw5e8uup]{padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.page-header small[b-9zgw5e8uup],.panel header small[b-9zgw5e8uup]{letter-spacing:.08em;color:var(--crm-muted)}
.page-header h1[b-9zgw5e8uup],.panel h2[b-9zgw5e8uup]{margin:5px 0 6px;color:var(--crm-text)}
.page-header p[b-9zgw5e8uup]{margin:0;color:var(--crm-muted)}
.header-actions[b-9zgw5e8uup],.panel header[b-9zgw5e8uup],.panel footer[b-9zgw5e8uup]{display:flex;align-items:center;justify-content:space-between;gap:10px}
.primary[b-9zgw5e8uup],.secondary[b-9zgw5e8uup],.danger[b-9zgw5e8uup]{border-radius:10px;padding:9px 14px;border:1px solid var(--crm-border);cursor:pointer;text-decoration:none;font:inherit}
.primary[b-9zgw5e8uup]{background:linear-gradient(135deg,var(--crm-primary),var(--crm-accent));color:#fff;border-color:transparent}
.secondary[b-9zgw5e8uup]{background:var(--crm-surface-soft);color:var(--crm-text)}
.danger[b-9zgw5e8uup]{background:color-mix(in srgb,#ef4444 12%,var(--crm-surface));color:color-mix(in srgb,#ef4444 78%,var(--crm-text));border-color:color-mix(in srgb,#ef4444 36%,var(--crm-border))}
.footer-actions[b-9zgw5e8uup]{display:flex;align-items:center;gap:8px}
.primary:disabled[b-9zgw5e8uup],.secondary:disabled[b-9zgw5e8uup],.danger:disabled[b-9zgw5e8uup]{opacity:.55;cursor:not-allowed}
.alert[b-9zgw5e8uup]{padding:12px 16px;border-radius:12px;display:flex;align-items:center;gap:10px}
.alert span[b-9zgw5e8uup]{flex:1}.alert button[b-9zgw5e8uup]{border:0;background:transparent;color:inherit;font-size:20px}
.alert.error[b-9zgw5e8uup]{background:color-mix(in srgb,#dc2626 14%,var(--crm-surface));color:color-mix(in srgb,#ef4444 76%,var(--crm-text));border:1px solid color-mix(in srgb,#ef4444 42%,var(--crm-border))}
.alert.success[b-9zgw5e8uup]{background:color-mix(in srgb,#16a34a 14%,var(--crm-surface));color:color-mix(in srgb,#22c55e 72%,var(--crm-text));border:1px solid color-mix(in srgb,#22c55e 38%,var(--crm-border))}
.overview[b-9zgw5e8uup]{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.overview article[b-9zgw5e8uup]{background:var(--crm-surface);color:var(--crm-text);border:1px solid var(--crm-border);border-radius:14px;padding:16px;box-shadow:var(--crm-shadow)}
.overview small[b-9zgw5e8uup]{display:block;color:var(--crm-muted)}
.overview strong[b-9zgw5e8uup]{display:block;color:var(--crm-text);font-size:28px;margin-top:5px}
.workspace[b-9zgw5e8uup]{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(500px,1.4fr);gap:16px;align-items:start}
.panel[b-9zgw5e8uup]{padding:18px}.panel header[b-9zgw5e8uup]{padding-bottom:14px;border-bottom:1px solid var(--crm-border-soft)}
.connection-list[b-9zgw5e8uup]{display:grid;gap:8px;margin-top:12px}
.connection[b-9zgw5e8uup]{width:100%;border:1px solid var(--crm-border);background:var(--crm-surface);color:var(--crm-text);border-radius:12px;padding:12px;display:flex;align-items:center;gap:10px;text-align:right;cursor:pointer}
.connection:hover[b-9zgw5e8uup],.connection.selected[b-9zgw5e8uup]{border-color:color-mix(in srgb,var(--crm-primary) 70%,var(--crm-border));background:var(--crm-hover)}
.channel-icon[b-9zgw5e8uup]{width:34px;height:34px;border-radius:10px;background:color-mix(in srgb,var(--crm-primary) 16%,var(--crm-surface));color:color-mix(in srgb,var(--crm-primary) 76%,var(--crm-text));display:grid;place-items:center;font-weight:700}
.connection-main[b-9zgw5e8uup]{display:grid;gap:2px;flex:1}.connection-main strong[b-9zgw5e8uup]{color:var(--crm-text)}
.connection-main small[b-9zgw5e8uup],.connection-main em[b-9zgw5e8uup]{font-style:normal;color:var(--crm-muted);font-size:12px}
.connection-status[b-9zgw5e8uup]{font-size:11px;padding:4px 8px;border-radius:20px;background:var(--crm-surface-soft);color:var(--crm-muted)}
.connection-status.active[b-9zgw5e8uup]{background:color-mix(in srgb,#22c55e 16%,var(--crm-surface));color:color-mix(in srgb,#22c55e 72%,var(--crm-text))}
.connection-status.error[b-9zgw5e8uup]{background:color-mix(in srgb,#ef4444 16%,var(--crm-surface));color:color-mix(in srgb,#ef4444 72%,var(--crm-text))}
.form-grid[b-9zgw5e8uup]{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:18px 0}
.form-grid label[b-9zgw5e8uup]{display:grid;gap:6px;color:var(--crm-text)}
.form-grid label.full[b-9zgw5e8uup]{grid-column:1/-1}.form-grid label.check[b-9zgw5e8uup]{display:flex;align-items:center;gap:8px}
.form-grid input[b-9zgw5e8uup],.form-grid select[b-9zgw5e8uup]{border:1px solid var(--crm-border);border-radius:9px;padding:10px 11px;background:var(--crm-input);color:var(--crm-text);font:inherit;outline:none}
.form-grid input[b-9zgw5e8uup]::placeholder{color:var(--crm-muted);opacity:.82}
.form-grid input:focus[b-9zgw5e8uup],.form-grid select:focus[b-9zgw5e8uup]{border-color:var(--crm-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--crm-primary) 20%,transparent)}
.form-grid label small[b-9zgw5e8uup]{font-size:11px;color:var(--crm-muted)}
.native-assurance[b-9zgw5e8uup]{grid-column:1/-1;display:grid;gap:5px;padding:13px 14px;border:1px solid color-mix(in srgb,var(--crm-primary) 34%,var(--crm-border));border-radius:11px;background:color-mix(in srgb,var(--crm-primary) 9%,var(--crm-surface));color:var(--crm-text)}
.native-assurance span[b-9zgw5e8uup]{font-size:12px;color:var(--crm-muted)}
.runtime-card[b-9zgw5e8uup]{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;background:var(--crm-surface-soft);color:var(--crm-text);border:1px solid var(--crm-border);border-radius:12px;padding:12px;margin-bottom:14px}
.runtime-card div[b-9zgw5e8uup]{display:grid;gap:4px}.runtime-card small[b-9zgw5e8uup]{color:var(--crm-muted)}
.runtime-error[b-9zgw5e8uup]{grid-column:1/-1;margin:2px 0 0;padding:9px;border-radius:8px;background:color-mix(in srgb,#ef4444 14%,var(--crm-surface));color:color-mix(in srgb,#ef4444 72%,var(--crm-text))}
.webhook-card[b-9zgw5e8uup]{border:1px solid var(--crm-border);background:var(--crm-surface-soft);color:var(--crm-text);border-radius:12px;padding:14px;margin-bottom:16px}
.webhook-card h3[b-9zgw5e8uup]{margin:0 0 5px}.webhook-card p[b-9zgw5e8uup]{color:var(--crm-muted);font-size:13px}
.webhook-card label[b-9zgw5e8uup]{display:grid;gap:5px;margin-top:10px}
.webhook-card code[b-9zgw5e8uup]{direction:ltr;text-align:left;overflow-wrap:anywhere;background:var(--crm-code);color:var(--crm-text);border:1px solid var(--crm-border-soft);padding:8px;border-radius:7px}
.delivery-panel[b-9zgw5e8uup]{overflow:hidden}
.delivery-panel>header>span[b-9zgw5e8uup]{color:var(--crm-muted);font-size:13px}
.delivery-list[b-9zgw5e8uup]{display:grid;gap:10px;margin-top:14px}
.delivery-item[b-9zgw5e8uup]{display:flex;align-items:center;gap:14px;justify-content:space-between;border:1px solid color-mix(in srgb,#ef4444 30%,var(--crm-border));background:color-mix(in srgb,#ef4444 7%,var(--crm-surface));color:var(--crm-text);border-radius:12px;padding:13px}
.delivery-item>div[b-9zgw5e8uup]{display:grid;gap:4px;min-width:0;flex:1}
.delivery-item strong[b-9zgw5e8uup]{color:var(--crm-text)}
.delivery-item small[b-9zgw5e8uup]{color:var(--crm-muted)}
.delivery-item p[b-9zgw5e8uup]{margin:2px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:850px;color:var(--crm-text)}
.delivery-item em[b-9zgw5e8uup]{font-style:normal;color:color-mix(in srgb,#ef4444 72%,var(--crm-text));font-size:12px;overflow-wrap:anywhere}
.empty[b-9zgw5e8uup]{padding:40px 12px;text-align:center;color:var(--crm-muted)}
@media(max-width:1000px){.workspace[b-9zgw5e8uup]{grid-template-columns:1fr}.runtime-card[b-9zgw5e8uup]{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.crm-channels[b-9zgw5e8uup]{padding:12px}.page-header[b-9zgw5e8uup]{align-items:flex-start;flex-direction:column}.header-actions[b-9zgw5e8uup]{flex-wrap:wrap}.overview[b-9zgw5e8uup],.form-grid[b-9zgw5e8uup],.runtime-card[b-9zgw5e8uup]{grid-template-columns:1fr}.form-grid label.full[b-9zgw5e8uup]{grid-column:auto}.delivery-item[b-9zgw5e8uup]{align-items:stretch;flex-direction:column}.delivery-item .primary[b-9zgw5e8uup]{width:100%}}

.commerce-resources-card[b-9zgw5e8uup]{margin:0 0 16px;padding:16px;border:1px solid color-mix(in srgb,var(--crm-primary) 30%,var(--crm-border));border-radius:14px;background:linear-gradient(160deg,color-mix(in srgb,var(--crm-primary) 7%,var(--crm-surface)),var(--crm-surface));color:var(--crm-text)}
.commerce-resources-head[b-9zgw5e8uup]{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:12px;border-bottom:1px solid var(--crm-border-soft)}
.commerce-resources-head>div[b-9zgw5e8uup]{min-width:0}.commerce-resources-head small[b-9zgw5e8uup]{color:var(--crm-primary);font-weight:800;letter-spacing:.08em}.commerce-resources-head h3[b-9zgw5e8uup]{margin:4px 0 5px;color:var(--crm-text)}.commerce-resources-head p[b-9zgw5e8uup]{margin:0;max-width:700px;color:var(--crm-muted);font-size:12px;line-height:1.8}
.commerce-resources-head>span[b-9zgw5e8uup]{white-space:nowrap;padding:6px 10px;border-radius:999px;background:color-mix(in srgb,var(--crm-primary) 14%,var(--crm-surface));color:color-mix(in srgb,var(--crm-primary) 76%,var(--crm-text));font-size:11px;font-weight:800}
.commerce-resources-grid[b-9zgw5e8uup]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}.commerce-resources-grid label[b-9zgw5e8uup]{display:grid;align-content:start;gap:6px;color:var(--crm-text);font-size:12px;font-weight:700}.commerce-resources-grid select[b-9zgw5e8uup]{width:100%;min-width:0;border:1px solid var(--crm-border);border-radius:9px;padding:10px 11px;background:var(--crm-input);color:var(--crm-text);font:inherit;outline:none}.commerce-resources-grid select:focus[b-9zgw5e8uup]{border-color:var(--crm-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--crm-primary) 20%,transparent)}.commerce-resources-grid small[b-9zgw5e8uup]{color:var(--crm-muted);font-size:10.5px;font-weight:500;line-height:1.7}
@media(max-width:900px){.commerce-resources-grid[b-9zgw5e8uup]{grid-template-columns:1fr}.commerce-resources-head[b-9zgw5e8uup]{flex-direction:column}}


.whatsapp-connect-card[b-9zgw5e8uup]{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;border:1px solid color-mix(in srgb,#22c55e 34%,var(--crm-border));border-radius:12px;background:color-mix(in srgb,#22c55e 8%,var(--crm-surface));color:var(--crm-text)}
.whatsapp-connect-card>div[b-9zgw5e8uup]{display:grid;gap:5px;min-width:0}.whatsapp-connect-card span[b-9zgw5e8uup]{color:var(--crm-muted);font-size:12px;line-height:1.8}.whatsapp-connect-card .primary[b-9zgw5e8uup]{white-space:nowrap}
.whatsapp-qr-modal-backdrop[b-9zgw5e8uup]{position:fixed;inset:0;z-index:2147482500;display:grid;place-items:center;padding:20px;background:rgba(2,6,23,.72);backdrop-filter:blur(6px)}
.whatsapp-qr-modal[b-9zgw5e8uup]{width:min(520px,100%);max-height:calc(100vh - 40px);overflow:auto;border:1px solid var(--crm-border);border-radius:22px;background:var(--crm-surface);color:var(--crm-text);box-shadow:0 28px 80px rgba(0,0,0,.38)}
.whatsapp-qr-modal>header[b-9zgw5e8uup]{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px;border-bottom:1px solid var(--crm-border-soft)}
.whatsapp-qr-modal>header small[b-9zgw5e8uup]{color:var(--crm-primary);font-weight:800;letter-spacing:.08em}.whatsapp-qr-modal>header h2[b-9zgw5e8uup]{margin:3px 0 0;font-size:19px}
.qr-close[b-9zgw5e8uup]{width:36px;height:36px;border-radius:10px;border:1px solid var(--crm-border);background:var(--crm-surface-soft);color:var(--crm-text);font-size:24px;cursor:pointer}
.qr-modal-body[b-9zgw5e8uup]{padding:22px}
.qr-loading[b-9zgw5e8uup],.qr-connected[b-9zgw5e8uup],.qr-scan[b-9zgw5e8uup]{display:grid;justify-items:center;gap:12px;text-align:center}.qr-loading p[b-9zgw5e8uup],.qr-connected p[b-9zgw5e8uup],.qr-scan ol[b-9zgw5e8uup],.qr-waiting[b-9zgw5e8uup]{margin:0;color:var(--crm-muted);font-size:12px;line-height:1.9}
.qr-spinner[b-9zgw5e8uup]{width:42px;height:42px;border:4px solid var(--crm-border);border-top-color:var(--crm-primary);border-radius:50%;animation:crm-qr-spin .85s linear infinite}
@@keyframes crm-qr-spin{to[b-9zgw5e8uup]{transform:rotate(360deg)}}
.qr-scan img[b-9zgw5e8uup]{width:300px;max-width:100%;padding:14px;border-radius:18px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 12px 36px rgba(15,23,42,.12)}
.qr-scan ol[b-9zgw5e8uup]{padding-right:22px;text-align:right;width:100%}.qr-waiting[b-9zgw5e8uup]{display:block;padding:10px 12px;border-radius:10px;background:var(--crm-surface-soft);width:100%}
.qr-success[b-9zgw5e8uup]{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,#22c55e 18%,var(--crm-surface));color:#22c55e;font-size:34px;font-weight:900}
.qr-connected code[b-9zgw5e8uup]{direction:ltr;padding:8px 12px;border-radius:9px;background:var(--crm-code);border:1px solid var(--crm-border)}
.whatsapp-qr-modal>footer[b-9zgw5e8uup]{display:flex;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:wrap;padding:16px 20px;border-top:1px solid var(--crm-border-soft)}
@media(max-width:620px){.whatsapp-connect-card[b-9zgw5e8uup]{align-items:stretch;flex-direction:column}.whatsapp-connect-card .primary[b-9zgw5e8uup]{width:100%}.whatsapp-qr-modal-backdrop[b-9zgw5e8uup]{padding:10px}.whatsapp-qr-modal[b-9zgw5e8uup]{max-height:calc(100vh - 20px)}}
/* /Components/Pages/CrmMarketing.razor.rz.scp.css */
.marketing-workspace[b-u8456tl22c]{
    /* Follow the active global ERPPlus/MudBlazor theme instead of dark-only fallbacks. */
    --mw-bg:var(--mud-palette-background,var(--erp-final-bg,#f5f7fc));
    --mw-surface:var(--mud-palette-surface,#ffffff);
    --mw-surface-soft:color-mix(in srgb,var(--mw-surface) 94%,var(--mw-text) 6%);
    --mw-border:var(--mud-palette-lines-default,var(--erp-final-border,#e2e8f0));
    --mw-text:var(--mud-palette-text-primary,var(--erp-final-text,#0f172a));
    --mw-muted:var(--mud-palette-text-secondary,var(--erp-final-muted,#64748b));
    --mw-primary:var(--erp-primary,var(--mud-palette-primary,#2563eb));
    --mw-accent:var(--erp-accent,var(--mud-palette-secondary,#7c3aed));
    --mw-primary-rgb:var(--erp-primary-rgb,37,99,235);
    min-height:100vh;padding:22px;color:var(--mw-text);background:transparent;display:grid;gap:14px
}
.marketing-workspace button[b-u8456tl22c],.marketing-workspace input[b-u8456tl22c],.marketing-workspace select[b-u8456tl22c],.marketing-workspace textarea[b-u8456tl22c]{font:inherit}
.marketing-hero[b-u8456tl22c],.mw-card[b-u8456tl22c],.marketing-kpis article[b-u8456tl22c],.marketing-tabs[b-u8456tl22c]{border:1px solid var(--mw-border);background:var(--mw-surface);box-shadow:0 14px 34px rgba(15,23,42,.08)}
.marketing-hero[b-u8456tl22c]{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 26px;border-radius:22px;background:linear-gradient(135deg,color-mix(in srgb,var(--mw-primary) 9%,var(--mw-surface)),var(--mw-surface))}
.marketing-hero .eyebrow[b-u8456tl22c],.mw-card header small[b-u8456tl22c]{font-size:10px;font-weight:800;letter-spacing:.1em;color:var(--mw-primary)}
.marketing-hero h1[b-u8456tl22c]{margin:6px 0;font-size:27px}.marketing-hero p[b-u8456tl22c]{margin:0;color:var(--mw-muted);max-width:760px;line-height:1.8}.hero-actions[b-u8456tl22c]{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.mw-btn[b-u8456tl22c]{border:1px solid var(--mw-border);border-radius:10px;padding:9px 13px;cursor:pointer;text-decoration:none;color:var(--mw-text);background:var(--mw-surface-soft)}.mw-btn.primary[b-u8456tl22c],.mw-btn.launch[b-u8456tl22c]{color:var(--erp-on-brand,#fff);border-color:transparent;background:linear-gradient(135deg,var(--mw-primary),var(--mw-accent))}.mw-btn.launch[b-u8456tl22c]{box-shadow:0 8px 20px rgba(var(--mw-primary-rgb),.2)}.mw-btn:disabled[b-u8456tl22c]{opacity:.5;cursor:not-allowed}
.mw-alert[b-u8456tl22c]{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:12px;border:1px solid}.mw-alert span[b-u8456tl22c]{flex:1}.mw-alert button[b-u8456tl22c]{border:0;background:transparent;color:inherit;font-size:19px}.mw-alert.error[b-u8456tl22c]{border-color:color-mix(in srgb,#ef4444 45%,var(--mw-border));background:color-mix(in srgb,#ef4444 12%,var(--mw-surface));color:color-mix(in srgb,#ef4444 72%,var(--mw-text))}.mw-alert.success[b-u8456tl22c]{border-color:color-mix(in srgb,#22c55e 40%,var(--mw-border));background:color-mix(in srgb,#22c55e 11%,var(--mw-surface));color:color-mix(in srgb,#22c55e 72%,var(--mw-text))}
.marketing-kpis[b-u8456tl22c]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.marketing-kpis article[b-u8456tl22c]{border-radius:14px;padding:15px;display:grid;gap:4px}.marketing-kpis small[b-u8456tl22c],.marketing-kpis span[b-u8456tl22c]{color:var(--mw-muted);font-size:11px}.marketing-kpis strong[b-u8456tl22c]{font-size:25px}
.marketing-tabs[b-u8456tl22c]{display:flex;gap:5px;padding:7px;border-radius:14px;overflow:auto}.marketing-tabs button[b-u8456tl22c]{border:0;background:transparent;color:var(--mw-muted);padding:9px 14px;border-radius:9px;cursor:pointer;white-space:nowrap}.marketing-tabs button.active[b-u8456tl22c]{color:var(--erp-on-brand,#fff);background:linear-gradient(135deg,var(--mw-primary),var(--mw-accent))}
.mw-card[b-u8456tl22c]{border-radius:17px;padding:17px;min-width:0}.mw-card>header[b-u8456tl22c],.variant-box>header[b-u8456tl22c],.metrics-box>header[b-u8456tl22c]{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.mw-card h2[b-u8456tl22c],.variant-box h3[b-u8456tl22c],.metrics-box h3[b-u8456tl22c]{margin:4px 0 0}.mw-card>header>span[b-u8456tl22c]{color:var(--mw-muted);font-size:11px}.link-btn[b-u8456tl22c]{border:0;background:transparent;color:var(--mw-primary);cursor:pointer;font-weight:700}.campaign-layout[b-u8456tl22c]{display:grid;grid-template-columns:minmax(290px,.72fr) minmax(560px,1.5fr);gap:13px;align-items:start}
.filter-row[b-u8456tl22c]{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}.filter-row select[b-u8456tl22c],.builder-grid input[b-u8456tl22c],.builder-grid select[b-u8456tl22c],.builder-grid textarea[b-u8456tl22c],.preview-controls select[b-u8456tl22c],.variant-row input[b-u8456tl22c],.variant-row textarea[b-u8456tl22c]{width:100%;box-sizing:border-box;border:1px solid var(--mw-border);border-radius:9px;background:var(--mw-surface-soft);color:var(--mw-text);padding:9px 10px;outline:none}.builder-grid input:focus[b-u8456tl22c],.builder-grid select:focus[b-u8456tl22c],.builder-grid textarea:focus[b-u8456tl22c],.filter-row select:focus[b-u8456tl22c],.preview-controls select:focus[b-u8456tl22c],.variant-row input:focus[b-u8456tl22c],.variant-row textarea:focus[b-u8456tl22c]{border-color:var(--mw-primary);box-shadow:0 0 0 3px rgba(var(--mw-primary-rgb),.12)}
.campaign-list[b-u8456tl22c]{display:grid;gap:7px;max-height:720px;overflow:auto}.campaign-row[b-u8456tl22c]{width:100%;border:1px solid var(--mw-border);border-radius:11px;background:var(--mw-surface-soft);color:var(--mw-text);padding:10px;display:grid;grid-template-columns:38px minmax(0,1fr) 9px;align-items:center;gap:9px;text-align:right;cursor:pointer}.campaign-row.selected[b-u8456tl22c],.campaign-row:hover[b-u8456tl22c]{border-color:color-mix(in srgb,var(--mw-primary) 68%,var(--mw-border));background:color-mix(in srgb,var(--mw-primary) 8%,var(--mw-surface))}.channel-badge[b-u8456tl22c]{width:36px;height:36px;display:grid;place-items:center;border-radius:9px;background:color-mix(in srgb,var(--mw-primary) 15%,var(--mw-surface));color:var(--mw-primary);font-size:10px;font-weight:900}.campaign-row>div[b-u8456tl22c]{display:grid;gap:3px;min-width:0}.campaign-row strong[b-u8456tl22c]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.campaign-row small[b-u8456tl22c],.campaign-row em[b-u8456tl22c]{color:var(--mw-muted);font-size:10px;font-style:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.status-dot[b-u8456tl22c]{width:8px;height:8px;border-radius:50%;background:var(--mw-muted)}.status-dot.success[b-u8456tl22c]{background:#22c55e}.status-dot.info[b-u8456tl22c]{background:#3b82f6}.status-dot.warning[b-u8456tl22c]{background:#f59e0b}.status-dot.danger[b-u8456tl22c]{background:#ef4444}
.builder-grid[b-u8456tl22c]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.builder-grid.single[b-u8456tl22c]{grid-template-columns:repeat(2,minmax(0,1fr))}.builder-grid label[b-u8456tl22c],.variant-row label[b-u8456tl22c],.preview-controls label[b-u8456tl22c]{display:grid;gap:5px;min-width:0}.builder-grid label>span[b-u8456tl22c],.variant-row label>span[b-u8456tl22c],.preview-controls label>span[b-u8456tl22c]{font-size:10.5px;color:var(--mw-muted)}.builder-grid .wide[b-u8456tl22c],.variant-row .wide[b-u8456tl22c]{grid-column:1/-1}.builder-grid textarea[b-u8456tl22c],.variant-row textarea[b-u8456tl22c]{resize:vertical}.check[b-u8456tl22c]{display:flex!important;align-items:center;gap:7px!important;align-self:end;border:1px solid var(--mw-border);border-radius:9px;padding:9px 10px;background:var(--mw-surface-soft)}.check input[b-u8456tl22c]{width:16px!important;height:16px;accent-color:var(--mw-primary)}.check span[b-u8456tl22c]{color:var(--mw-text)!important}.check.compact[b-u8456tl22c]{align-self:center}
.variant-box[b-u8456tl22c],.criteria-box[b-u8456tl22c],.preview-controls[b-u8456tl22c],.metrics-box[b-u8456tl22c]{margin-top:14px;border:1px solid var(--mw-border);border-radius:13px;padding:13px;background:var(--mw-surface-soft)}.variant-box header[b-u8456tl22c]{margin-bottom:8px}.muted[b-u8456tl22c],.empty[b-u8456tl22c]{color:var(--mw-muted);font-size:11px}.variant-row[b-u8456tl22c]{display:grid;grid-template-columns:120px 100px 100px 36px;gap:8px;border-top:1px solid var(--mw-border);padding-top:10px;margin-top:10px}.icon-danger[b-u8456tl22c]{border:1px solid color-mix(in srgb,#ef4444 40%,var(--mw-border));border-radius:9px;background:color-mix(in srgb,#ef4444 10%,var(--mw-surface));color:#ef4444;cursor:pointer}.variant-total[b-u8456tl22c]{margin-top:9px;font-size:11px}.variant-total.ok[b-u8456tl22c]{color:#22c55e}.variant-total.bad[b-u8456tl22c]{color:#ef4444}
.editor-actions[b-u8456tl22c]{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:15px;padding-top:13px;border-top:1px solid var(--mw-border)}.status-pill[b-u8456tl22c]{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:10px;border:1px solid var(--mw-border);color:var(--mw-muted);background:var(--mw-surface-soft)}.status-pill.success[b-u8456tl22c]{color:#22c55e;border-color:color-mix(in srgb,#22c55e 35%,var(--mw-border))}.status-pill.info[b-u8456tl22c]{color:#3b82f6}.status-pill.warning[b-u8456tl22c]{color:#f59e0b}.status-pill.danger[b-u8456tl22c]{color:#ef4444}
.criteria-box h3[b-u8456tl22c]{margin:0 0 10px;font-size:12px}.chip-grid[b-u8456tl22c]{display:flex;gap:7px;flex-wrap:wrap}.chip[b-u8456tl22c]{display:flex;align-items:center;gap:6px;border:1px solid var(--mw-border);border-radius:999px;padding:6px 9px;background:var(--mw-surface);font-size:10.5px}.chip input[b-u8456tl22c]{accent-color:var(--mw-primary)}.chip i[b-u8456tl22c]{width:8px;height:8px;border-radius:50%;background:var(--tag,var(--mw-primary));display:inline-block;margin-left:4px}
.preview-controls[b-u8456tl22c]{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.preview-controls label[b-u8456tl22c]{min-width:180px}.preview-controls .check[b-u8456tl22c]{min-width:230px}.metrics-box>header>span[b-u8456tl22c]{color:var(--mw-primary);font-weight:800}.metrics-grid[b-u8456tl22c]{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.metrics-grid>div[b-u8456tl22c]{border:1px solid var(--mw-border);border-radius:10px;background:var(--mw-surface);padding:10px}.metrics-grid small[b-u8456tl22c]{display:block;color:var(--mw-muted);font-size:9.5px}.metrics-grid strong[b-u8456tl22c]{display:block;margin-top:5px}
.suppression-layout[b-u8456tl22c]{display:grid;grid-template-columns:minmax(340px,.7fr) minmax(600px,1.3fr);gap:13px;align-items:start}.suppression-list-card[b-u8456tl22c]{overflow:hidden}.table-wrap[b-u8456tl22c]{overflow:auto}.suppression-list-card table[b-u8456tl22c]{width:100%;border-collapse:collapse;min-width:760px}.suppression-list-card th[b-u8456tl22c],.suppression-list-card td[b-u8456tl22c]{padding:10px;border-bottom:1px solid var(--mw-border);text-align:right;font-size:11px}.suppression-list-card th[b-u8456tl22c]{color:var(--mw-muted);font-weight:600}.loading[b-u8456tl22c]{min-height:220px;display:grid;place-items:center;align-content:center;gap:10px;color:var(--mw-muted)}.loading>span[b-u8456tl22c]{width:34px;height:34px;border:3px solid var(--mw-border);border-top-color:var(--mw-primary);border-radius:50%;animation:mwspin-b-u8456tl22c .8s linear infinite}@keyframes mwspin-b-u8456tl22c{to{transform:rotate(360deg)}}
@media(max-width:1100px){.marketing-kpis[b-u8456tl22c]{grid-template-columns:repeat(2,1fr)}.campaign-layout[b-u8456tl22c],.suppression-layout[b-u8456tl22c]{grid-template-columns:1fr}.campaign-list[b-u8456tl22c]{max-height:400px}.metrics-grid[b-u8456tl22c]{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.marketing-workspace[b-u8456tl22c]{padding:10px}.marketing-hero[b-u8456tl22c]{align-items:flex-start;flex-direction:column}.hero-actions[b-u8456tl22c]{width:100%}.hero-actions .mw-btn[b-u8456tl22c]{flex:1;text-align:center}.marketing-kpis[b-u8456tl22c]{grid-template-columns:1fr 1fr}.builder-grid[b-u8456tl22c],.builder-grid.single[b-u8456tl22c],.filter-row[b-u8456tl22c]{grid-template-columns:1fr}.builder-grid .wide[b-u8456tl22c],.variant-row .wide[b-u8456tl22c]{grid-column:auto}.variant-row[b-u8456tl22c]{grid-template-columns:1fr 1fr}.variant-row .check[b-u8456tl22c],.variant-row .icon-danger[b-u8456tl22c]{min-height:42px}.metrics-grid[b-u8456tl22c]{grid-template-columns:repeat(2,1fr)}}
@media(max-width:430px){.marketing-kpis[b-u8456tl22c],.metrics-grid[b-u8456tl22c]{grid-template-columns:1fr}}

.campaign-simple-flow[b-u8456tl22c]{display:grid;gap:12px}
.campaign-step[b-u8456tl22c]{border:1px solid var(--mw-border);border-radius:14px;background:var(--mw-surface-soft);padding:14px}
.campaign-step>header[b-u8456tl22c]{display:flex;gap:10px;align-items:flex-start;margin-bottom:12px}
.campaign-step>header>span[b-u8456tl22c]{width:28px;height:28px;flex:0 0 28px;border-radius:9px;display:grid;place-items:center;background:linear-gradient(135deg,var(--mw-primary),var(--mw-accent));color:var(--erp-on-brand,#fff);font-weight:900}
.campaign-step>header h3[b-u8456tl22c]{margin:1px 0 3px;font-size:14px}.campaign-step>header p[b-u8456tl22c]{margin:0;color:var(--mw-muted);font-size:10.5px;line-height:1.7}
.builder-grid label>small[b-u8456tl22c]{color:var(--mw-muted);font-size:9.5px;line-height:1.6}
.send-time-choice[b-u8456tl22c]{display:flex;gap:8px;flex-wrap:wrap}
.send-time-choice button[b-u8456tl22c]{border:1px solid var(--mw-border);background:var(--mw-surface);color:var(--mw-text);border-radius:10px;padding:9px 14px;cursor:pointer}
.send-time-choice button.active[b-u8456tl22c]{border-color:var(--mw-primary);background:color-mix(in srgb,var(--mw-primary) 13%,var(--mw-surface));color:var(--mw-primary);box-shadow:0 0 0 3px rgba(var(--mw-primary-rgb),.09)}
.schedule-input[b-u8456tl22c]{display:grid;gap:5px;max-width:320px;margin-top:10px}.schedule-input span[b-u8456tl22c]{font-size:10.5px;color:var(--mw-muted)}.schedule-input input[b-u8456tl22c]{width:100%;box-sizing:border-box;border:1px solid var(--mw-border);border-radius:9px;background:var(--mw-surface);color:var(--mw-text);padding:9px 10px;outline:none}
.schedule-input input:focus[b-u8456tl22c]{border-color:var(--mw-primary);box-shadow:0 0 0 3px rgba(var(--mw-primary-rgb),.12)}
.campaign-state-note[b-u8456tl22c]{margin-top:10px;padding:10px 12px;border-radius:10px;font-size:11px;line-height:1.8;border:1px solid var(--mw-border)}
.campaign-state-note.scheduled[b-u8456tl22c]{background:color-mix(in srgb,#f59e0b 9%,var(--mw-surface));border-color:color-mix(in srgb,#f59e0b 35%,var(--mw-border));color:color-mix(in srgb,#f59e0b 72%,var(--mw-text))}
.campaign-state-note.running[b-u8456tl22c]{background:color-mix(in srgb,#3b82f6 9%,var(--mw-surface));border-color:color-mix(in srgb,#3b82f6 35%,var(--mw-border));color:color-mix(in srgb,#3b82f6 75%,var(--mw-text))}
.advanced-toggle[b-u8456tl22c]{justify-self:start;border:1px dashed var(--mw-border);background:transparent;color:var(--mw-muted);border-radius:10px;padding:8px 12px;cursor:pointer}
.advanced-toggle:hover[b-u8456tl22c]{border-color:var(--mw-primary);color:var(--mw-primary)}
.advanced-settings[b-u8456tl22c]{background:color-mix(in srgb,var(--mw-primary) 3%,var(--mw-surface-soft))}
@media(max-width:700px){.campaign-step[b-u8456tl22c]{padding:11px}.send-time-choice[b-u8456tl22c]{display:grid;grid-template-columns:1fr 1fr}.send-time-choice button[b-u8456tl22c]{padding:9px 7px}}
/* /Components/Pages/CrmReports.razor.rz.scp.css */
.crm-performance[b-pkcf7sw2c9]{
    --r-bg:var(--erp-final-bg,#f5f7fc);--r-surface:#fff;--r-soft:#f7f9fc;--r-border:var(--erp-final-border,#e2e8f0);--r-border-soft:#edf1f6;--r-text:var(--erp-final-text,#0f172a);--r-muted:var(--erp-final-muted,#64748b);--r-input:#fff;--r-primary:var(--erp-primary,#2563eb);--r-accent:var(--erp-accent,#7c3aed);--r-shadow:0 8px 30px rgba(15,23,42,.07);
    max-width:1500px;margin:0 auto;padding:24px;display:grid;gap:18px;background:var(--r-bg);min-height:100vh;color:var(--r-text);color-scheme:light
}
body.erpdb-dark .crm-performance[b-pkcf7sw2c9],.erp-shell-reference.erpdb-dark .crm-performance[b-pkcf7sw2c9],.erp-shell-clean.erpdb-dark .crm-performance[b-pkcf7sw2c9],.erp-shell-final.erpdb-dark .crm-performance[b-pkcf7sw2c9]{--r-bg:transparent;--r-surface:#0f172a;--r-soft:#111c31;--r-border:#26364f;--r-border-soft:#1e2d44;--r-text:#f8fafc;--r-muted:#a9b8cd;--r-input:#091426;--r-shadow:0 18px 44px rgba(0,0,0,.28);color-scheme:dark}
body.erpdb-light .crm-performance[b-pkcf7sw2c9],.erp-shell-reference.erpdb-light .crm-performance[b-pkcf7sw2c9],.erp-shell-clean.erpdb-light .crm-performance[b-pkcf7sw2c9],.erp-shell-final.erpdb-light .crm-performance[b-pkcf7sw2c9]{--r-bg:transparent;--r-surface:#fff;--r-soft:#f7f9fc;--r-border:#e2e8f0;--r-border-soft:#edf1f6;--r-text:#0f172a;--r-muted:#64748b;--r-input:#fff;--r-shadow:0 8px 30px rgba(15,23,42,.07);color-scheme:light}
.report-hero[b-pkcf7sw2c9],.filters-card[b-pkcf7sw2c9],.period-strip[b-pkcf7sw2c9],.report-card[b-pkcf7sw2c9],.metric-grid article[b-pkcf7sw2c9],.report-alert[b-pkcf7sw2c9],.report-loading[b-pkcf7sw2c9]{background:var(--r-surface);border:1px solid var(--r-border);border-radius:18px;box-shadow:var(--r-shadow)}
.report-hero[b-pkcf7sw2c9]{padding:22px 24px;display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.report-hero small[b-pkcf7sw2c9],.report-card header small[b-pkcf7sw2c9]{letter-spacing:.09em;color:var(--r-muted);font-weight:700}.report-hero h1[b-pkcf7sw2c9]{margin:5px 0 7px;color:var(--r-text)}.report-hero p[b-pkcf7sw2c9]{margin:0;color:var(--r-muted);max-width:820px}.hero-actions[b-pkcf7sw2c9]{display:flex;gap:9px;flex-wrap:wrap}
.primary[b-pkcf7sw2c9],.secondary[b-pkcf7sw2c9]{border-radius:10px;padding:9px 14px;border:1px solid var(--r-border);cursor:pointer;text-decoration:none;font:inherit}.primary[b-pkcf7sw2c9]{background:linear-gradient(135deg,var(--r-primary),var(--r-accent));color:#fff;border-color:transparent}.secondary[b-pkcf7sw2c9]{background:var(--r-soft);color:var(--r-text)}.primary:disabled[b-pkcf7sw2c9]{opacity:.55;cursor:not-allowed}
.filters-card[b-pkcf7sw2c9]{padding:15px 18px;display:flex;align-items:end;gap:12px;flex-wrap:wrap}.filters-card label[b-pkcf7sw2c9]{display:grid;gap:5px;min-width:170px}.filters-card label span[b-pkcf7sw2c9]{font-size:12px;color:var(--r-muted)}.filters-card input[b-pkcf7sw2c9]{padding:9px 10px;border:1px solid var(--r-border);border-radius:9px;background:var(--r-input);color:var(--r-text);font:inherit}.filters-card small[b-pkcf7sw2c9]{color:var(--r-muted);margin-right:auto;max-width:620px}.report-alert[b-pkcf7sw2c9]{padding:14px 16px;display:flex;gap:10px;color:color-mix(in srgb,#ef4444 74%,var(--r-text));background:color-mix(in srgb,#ef4444 8%,var(--r-surface))}.report-loading[b-pkcf7sw2c9]{padding:36px;text-align:center;color:var(--r-muted)}
.period-strip[b-pkcf7sw2c9]{padding:14px 18px;display:flex;align-items:center;gap:14px;flex-wrap:wrap}.period-strip span[b-pkcf7sw2c9],.period-strip small[b-pkcf7sw2c9]{color:var(--r-muted)}.period-strip small[b-pkcf7sw2c9]{margin-right:auto}.metric-grid[b-pkcf7sw2c9]{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.metric-grid article[b-pkcf7sw2c9]{padding:17px;display:grid;gap:5px}.metric-grid small[b-pkcf7sw2c9],.metric-grid span[b-pkcf7sw2c9]{color:var(--r-muted)}.metric-grid strong[b-pkcf7sw2c9]{font-size:24px;color:var(--r-text)}
.report-card[b-pkcf7sw2c9]{padding:18px;overflow:hidden}.report-card>header[b-pkcf7sw2c9]{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:13px;margin-bottom:13px;border-bottom:1px solid var(--r-border-soft)}.report-card h2[b-pkcf7sw2c9]{margin:4px 0 0;font-size:19px;color:var(--r-text)}.report-card>header>span[b-pkcf7sw2c9]{font-size:12px;color:var(--r-muted)}.wide[b-pkcf7sw2c9]{grid-column:1/-1}.two-cols[b-pkcf7sw2c9]{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.funnel-list[b-pkcf7sw2c9]{display:grid;gap:9px}.funnel-list article[b-pkcf7sw2c9]{display:grid;grid-template-columns:minmax(150px,1fr) minmax(120px,2fr) 90px 130px 130px;gap:12px;align-items:center;padding:11px 12px;border:1px solid var(--r-border-soft);border-radius:12px;background:var(--r-soft)}.funnel-title[b-pkcf7sw2c9],.funnel-list article>span[b-pkcf7sw2c9]{display:grid;gap:2px}.funnel-title small[b-pkcf7sw2c9],.funnel-list article>span small[b-pkcf7sw2c9]{color:var(--r-muted);font-size:11px}.funnel-bar[b-pkcf7sw2c9]{height:9px;border-radius:20px;background:color-mix(in srgb,var(--r-border) 75%,transparent);overflow:hidden}.funnel-bar i[b-pkcf7sw2c9]{display:block;height:100%;border-radius:20px;background:linear-gradient(90deg,var(--r-primary),var(--r-accent))}
.agent-list[b-pkcf7sw2c9],.channel-list[b-pkcf7sw2c9]{display:grid;gap:9px}.agent-list section[b-pkcf7sw2c9]{display:grid;grid-template-columns:minmax(160px,1fr) repeat(3,auto);gap:16px;align-items:center;padding:12px;border:1px solid var(--r-border-soft);border-radius:12px;background:var(--r-soft)}.agent-list section div[b-pkcf7sw2c9],.agent-list section span[b-pkcf7sw2c9]{display:grid;gap:2px}.agent-list small[b-pkcf7sw2c9]{color:var(--r-muted);font-size:11px}.channel-list section[b-pkcf7sw2c9]{display:grid;grid-template-columns:110px 1fr 1fr auto auto;gap:12px;align-items:center;padding:12px;border-bottom:1px solid var(--r-border-soft)}.channel-list section span[b-pkcf7sw2c9]{font-size:12px;color:var(--r-muted)}
.table-wrap[b-pkcf7sw2c9]{overflow:auto}.table-wrap table[b-pkcf7sw2c9]{width:100%;border-collapse:collapse;min-width:1050px}.table-wrap th[b-pkcf7sw2c9],.table-wrap td[b-pkcf7sw2c9]{padding:12px 9px;text-align:right;border-bottom:1px solid var(--r-border-soft);white-space:nowrap}.table-wrap th[b-pkcf7sw2c9]{font-size:11px;color:var(--r-muted)}.table-wrap td[b-pkcf7sw2c9]{color:var(--r-text)}.table-wrap td small[b-pkcf7sw2c9]{display:block;color:var(--r-muted);margin-top:3px}.danger[b-pkcf7sw2c9]{color:color-mix(in srgb,#ef4444 76%,var(--r-text))!important}.positive[b-pkcf7sw2c9]{color:color-mix(in srgb,#22c55e 70%,var(--r-text))!important}.empty[b-pkcf7sw2c9]{padding:28px;text-align:center;color:var(--r-muted)}
@media(max-width:1250px){.metric-grid[b-pkcf7sw2c9]{grid-template-columns:repeat(3,1fr)}.two-cols[b-pkcf7sw2c9]{grid-template-columns:1fr}.funnel-list article[b-pkcf7sw2c9]{grid-template-columns:150px 1fr repeat(3,95px)}}
@media(max-width:760px){.crm-performance[b-pkcf7sw2c9]{padding:12px}.report-hero[b-pkcf7sw2c9]{padding:18px;flex-direction:column}.hero-actions[b-pkcf7sw2c9]{width:100%}.hero-actions .primary[b-pkcf7sw2c9],.hero-actions .secondary[b-pkcf7sw2c9]{flex:1;text-align:center}.filters-card[b-pkcf7sw2c9]{align-items:stretch}.filters-card label[b-pkcf7sw2c9]{min-width:calc(50% - 6px);flex:1}.filters-card .primary[b-pkcf7sw2c9]{width:100%}.filters-card small[b-pkcf7sw2c9]{margin-right:0}.metric-grid[b-pkcf7sw2c9]{grid-template-columns:repeat(2,1fr)}.period-strip[b-pkcf7sw2c9]{align-items:flex-start;flex-direction:column}.period-strip small[b-pkcf7sw2c9]{margin-right:0}.funnel-list article[b-pkcf7sw2c9]{grid-template-columns:1fr 1fr}.funnel-bar[b-pkcf7sw2c9]{grid-column:1/-1}.agent-list section[b-pkcf7sw2c9],.channel-list section[b-pkcf7sw2c9]{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.metric-grid[b-pkcf7sw2c9]{grid-template-columns:1fr}.filters-card label[b-pkcf7sw2c9]{min-width:100%}}
/* /Components/Pages/CrmServiceWorkspace.razor.rz.scp.css */
.service-workspace[b-5sers2bzsw]{
    --sw-surface:var(--erp-theme-surface,var(--erp-surface,#fff));
    --sw-raised:var(--erp-theme-surface-raised,var(--erp-surface-raised,#f8fafc));
    --sw-soft:var(--erp-theme-surface-soft,var(--erp-surface-soft,#eef2ff));
    --sw-border:var(--erp-theme-border,var(--erp-border,#dbe3f0));
    --sw-border-soft:var(--erp-theme-border-soft,#e5e7eb);
    --sw-text:var(--erp-theme-text,var(--erp-text,var(--erp-final-text,#0f172a)));
    --sw-muted:var(--erp-theme-muted,var(--erp-muted,var(--erp-final-muted,#64748b)));
    --sw-primary:var(--erp-primary,#2563eb);
    --sw-accent:var(--erp-accent,#7c3aed);
    --sw-primary-rgb:var(--erp-primary-rgb,37,99,235);
    min-height:100%;padding:22px;color:var(--sw-text);background:transparent;font-family:inherit
}
.service-workspace button[b-5sers2bzsw],.service-workspace input[b-5sers2bzsw],.service-workspace select[b-5sers2bzsw],.service-workspace textarea[b-5sers2bzsw]{font:inherit}
.service-hero[b-5sers2bzsw]{display:flex;justify-content:space-between;gap:22px;align-items:flex-start;margin-bottom:16px;padding:22px 24px;border:1px solid var(--sw-border);border-radius:20px;background:linear-gradient(135deg,color-mix(in srgb,var(--sw-primary) 8%,var(--sw-surface)),var(--sw-surface));box-shadow:0 14px 34px rgba(15,23,42,.07)}
.service-hero h1[b-5sers2bzsw]{margin:5px 0 7px;font-size:28px}.service-hero p[b-5sers2bzsw]{margin:0;color:var(--sw-muted);line-height:1.8}.eyebrow[b-5sers2bzsw]{font-size:10px;font-weight:900;letter-spacing:.14em;color:var(--sw-primary)}
.hero-actions[b-5sers2bzsw],.editor-actions[b-5sers2bzsw]{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.primary-btn[b-5sers2bzsw],.ghost-btn[b-5sers2bzsw],.link-btn[b-5sers2bzsw]{border-radius:10px;padding:9px 13px;cursor:pointer;text-decoration:none;font-weight:700}.primary-btn[b-5sers2bzsw]{border:1px solid transparent;background:linear-gradient(135deg,var(--sw-primary),var(--sw-accent));color:var(--erp-on-brand,#fff);box-shadow:0 7px 18px rgba(var(--sw-primary-rgb),.18)}.ghost-btn[b-5sers2bzsw]{border:1px solid var(--sw-border);background:var(--sw-raised);color:var(--sw-text)}.link-btn[b-5sers2bzsw]{border:0;background:transparent;color:var(--sw-primary);padding:5px 7px}.primary-btn:disabled[b-5sers2bzsw],.ghost-btn:disabled[b-5sers2bzsw],.link-btn:disabled[b-5sers2bzsw]{opacity:.5;cursor:not-allowed}
.card[b-5sers2bzsw]{background:var(--sw-surface);border:1px solid var(--sw-border);border-radius:16px;box-shadow:0 8px 26px rgba(15,23,42,.05);color:var(--sw-text)}
.alert[b-5sers2bzsw]{display:flex;gap:10px;align-items:center;padding:11px 13px;border-radius:11px;margin:0 0 13px;border:1px solid}.alert span[b-5sers2bzsw]{flex:1}.alert button[b-5sers2bzsw]{border:0;background:transparent;color:inherit;font-size:19px}.alert.error[b-5sers2bzsw]{background:color-mix(in srgb,#ef4444 10%,var(--sw-surface));border-color:color-mix(in srgb,#ef4444 36%,var(--sw-border));color:#ef4444}.alert.success[b-5sers2bzsw]{background:color-mix(in srgb,#22c55e 10%,var(--sw-surface));border-color:color-mix(in srgb,#22c55e 34%,var(--sw-border));color:#22c55e}
.kpi-grid[b-5sers2bzsw]{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;margin-bottom:13px}.kpi-grid article[b-5sers2bzsw]{border:1px solid var(--sw-border);background:var(--sw-surface);border-radius:13px;padding:13px;display:grid;gap:4px;min-width:0}.kpi-grid small[b-5sers2bzsw],.kpi-grid span[b-5sers2bzsw]{color:var(--sw-muted);font-size:10.5px}.kpi-grid strong[b-5sers2bzsw]{font-size:21px;white-space:nowrap}.kpi-grid .danger strong[b-5sers2bzsw]{color:#ef4444}
.service-tabs[b-5sers2bzsw]{display:flex;gap:5px;padding:6px;border:1px solid var(--sw-border);border-radius:13px;background:var(--sw-surface);margin-bottom:13px;overflow:auto}.service-tabs button[b-5sers2bzsw]{border:0;background:transparent;color:var(--sw-muted);padding:8px 13px;border-radius:8px;white-space:nowrap;cursor:pointer}.service-tabs button.active[b-5sers2bzsw]{color:var(--erp-on-brand,#fff);background:linear-gradient(135deg,var(--sw-primary),var(--sw-accent))}
.toolbar[b-5sers2bzsw],.knowledge-toolbar[b-5sers2bzsw]{padding:10px;display:flex;gap:8px;align-items:center;margin-bottom:13px}.toolbar select[b-5sers2bzsw],.toolbar input[b-5sers2bzsw],.knowledge-toolbar select[b-5sers2bzsw],.knowledge-toolbar input[b-5sers2bzsw],.state-editor select[b-5sers2bzsw],.form-grid input[b-5sers2bzsw],.form-grid select[b-5sers2bzsw],.form-grid textarea[b-5sers2bzsw],.feedback-form input[b-5sers2bzsw],.feedback-form textarea[b-5sers2bzsw]{border:1px solid var(--sw-border);background:var(--sw-raised);border-radius:9px;padding:9px 10px;color:var(--sw-text);outline:none;box-sizing:border-box}.toolbar select:focus[b-5sers2bzsw],.knowledge-toolbar select:focus[b-5sers2bzsw],.state-editor select:focus[b-5sers2bzsw],.form-grid input:focus[b-5sers2bzsw],.form-grid select:focus[b-5sers2bzsw],.form-grid textarea:focus[b-5sers2bzsw],.feedback-form input:focus[b-5sers2bzsw],.feedback-form textarea:focus[b-5sers2bzsw]{border-color:var(--sw-primary);box-shadow:0 0 0 3px rgba(var(--sw-primary-rgb),.12)}
.search[b-5sers2bzsw]{flex:1;display:flex;align-items:center;gap:7px;border:1px solid var(--sw-border);border-radius:9px;padding:0 9px;background:var(--sw-raised)}.search input[b-5sers2bzsw]{border:0!important;box-shadow:none!important;width:100%;background:transparent!important}.result-count[b-5sers2bzsw]{font-size:11px;color:var(--sw-muted);white-space:nowrap}
.loading[b-5sers2bzsw]{min-height:230px;display:grid;place-items:center;align-content:center;gap:10px;color:var(--sw-muted)}.loading>span[b-5sers2bzsw]{width:31px;height:31px;border:3px solid var(--sw-border);border-top-color:var(--sw-primary);border-radius:50%;animation:swspin-b-5sers2bzsw .8s linear infinite}@keyframes swspin-b-5sers2bzsw{to{transform:rotate(360deg)}}
.workspace-grid[b-5sers2bzsw],.admin-layout[b-5sers2bzsw],.knowledge-layout[b-5sers2bzsw]{display:grid;grid-template-columns:minmax(320px,.75fr) minmax(520px,1.25fr);gap:13px;align-items:start}.ticket-list[b-5sers2bzsw],.ticket-detail[b-5sers2bzsw],.admin-list[b-5sers2bzsw],.admin-editor[b-5sers2bzsw],.knowledge-list[b-5sers2bzsw],.knowledge-editor[b-5sers2bzsw]{overflow:hidden}.ticket-list>header[b-5sers2bzsw],.ticket-detail>header[b-5sers2bzsw],.admin-list>header[b-5sers2bzsw],.admin-editor>header[b-5sers2bzsw],.knowledge-list>header[b-5sers2bzsw],.knowledge-editor>header[b-5sers2bzsw],.feedback-table-card>header[b-5sers2bzsw]{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:15px 17px;border-bottom:1px solid var(--sw-border-soft)}.service-workspace header h2[b-5sers2bzsw]{font-size:16px;margin:3px 0 0}.service-workspace header h3[b-5sers2bzsw]{font-size:14px;margin:3px 0 0}.service-workspace header small[b-5sers2bzsw]{color:var(--sw-muted)}.service-workspace header b[b-5sers2bzsw]{background:color-mix(in srgb,var(--sw-primary) 12%,var(--sw-surface));color:var(--sw-primary);padding:4px 8px;border-radius:999px}
.ticket-rows[b-5sers2bzsw],.admin-rows[b-5sers2bzsw],.knowledge-rows[b-5sers2bzsw]{max-height:690px;overflow:auto}.ticket-row[b-5sers2bzsw],.admin-row[b-5sers2bzsw],.knowledge-row[b-5sers2bzsw]{width:100%;border:0;border-bottom:1px solid var(--sw-border-soft);background:var(--sw-surface);color:var(--sw-text);padding:13px 15px;text-align:right;cursor:pointer}.ticket-row:hover[b-5sers2bzsw],.ticket-row.selected[b-5sers2bzsw],.admin-row:hover[b-5sers2bzsw],.admin-row.selected[b-5sers2bzsw],.knowledge-row:hover[b-5sers2bzsw],.knowledge-row.selected[b-5sers2bzsw]{background:color-mix(in srgb,var(--sw-primary) 7%,var(--sw-surface));box-shadow:inset -3px 0 0 var(--sw-primary)}
.ticket-title[b-5sers2bzsw]{display:flex;align-items:center;gap:7px}.ticket-title strong[b-5sers2bzsw]{flex:1}.ticket-title i[b-5sers2bzsw]{font-style:normal;font-size:9.5px;background:color-mix(in srgb,#ef4444 10%,var(--sw-surface));color:#ef4444;padding:3px 6px;border-radius:7px}.ticket-meta[b-5sers2bzsw],.ticket-foot[b-5sers2bzsw]{display:flex;justify-content:space-between;gap:10px;margin-top:7px;color:var(--sw-muted);font-size:11px}
.priority[b-5sers2bzsw],.status[b-5sers2bzsw]{display:inline-flex;align-items:center;border-radius:999px;padding:4px 7px;font-size:10px;font-weight:800}.priority.low[b-5sers2bzsw]{background:rgba(34,197,94,.12);color:#22c55e}.priority.normal[b-5sers2bzsw]{background:rgba(59,130,246,.12);color:#3b82f6}.priority.high[b-5sers2bzsw]{background:rgba(245,158,11,.12);color:#f59e0b}.priority.critical[b-5sers2bzsw]{background:rgba(239,68,68,.12);color:#ef4444}.status.open[b-5sers2bzsw]{background:rgba(59,130,246,.12);color:#3b82f6}.status.inprogress[b-5sers2bzsw]{background:rgba(6,182,212,.12);color:#06b6d4}.status.waiting[b-5sers2bzsw]{background:rgba(245,158,11,.12);color:#f59e0b}.status.resolved[b-5sers2bzsw],.status.closed[b-5sers2bzsw]{background:rgba(34,197,94,.12);color:#22c55e}
.ticket-detail>header p[b-5sers2bzsw]{margin:4px 0 0;color:var(--sw-muted)}.description[b-5sers2bzsw]{margin:14px 17px;line-height:1.9;background:var(--sw-raised);padding:12px;border-radius:10px;border:1px solid var(--sw-border-soft)}.detail-grid[b-5sers2bzsw]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0 17px 14px}.detail-grid div[b-5sers2bzsw]{border:1px solid var(--sw-border);border-radius:9px;padding:9px;background:var(--sw-raised)}.detail-grid small[b-5sers2bzsw]{display:block;color:var(--sw-muted);margin-bottom:4px;font-size:10px}.detail-grid strong[b-5sers2bzsw]{font-size:12px}.breached[b-5sers2bzsw]{color:#ef4444}
.state-editor[b-5sers2bzsw],.feedback-box[b-5sers2bzsw]{margin:0 17px 16px;padding:13px;border:1px solid var(--sw-border);border-radius:12px;background:var(--sw-raised)}.state-editor>header[b-5sers2bzsw],.feedback-box>header[b-5sers2bzsw]{padding:0;border:0;margin-bottom:10px}.state-grid[b-5sers2bzsw]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.state-grid label[b-5sers2bzsw],.form-grid label[b-5sers2bzsw],.feedback-form label[b-5sers2bzsw]{display:grid;gap:5px;min-width:0}.state-grid label span[b-5sers2bzsw],.form-grid label span[b-5sers2bzsw],.feedback-form label span[b-5sers2bzsw]{font-size:10.5px;color:var(--sw-muted)}.state-editor footer[b-5sers2bzsw]{display:flex;justify-content:flex-end;margin-top:10px}.feedback-box p[b-5sers2bzsw]{color:var(--sw-muted);line-height:1.8}.feedback-score[b-5sers2bzsw]{display:flex;gap:13px;align-items:center}.feedback-score strong[b-5sers2bzsw]{font-size:21px}.feedback-form[b-5sers2bzsw]{display:grid;grid-template-columns:1fr 1fr;gap:8px}.feedback-form .wide[b-5sers2bzsw]{grid-column:1/-1}.feedback-form button[b-5sers2bzsw]{justify-self:end;grid-column:1/-1}
.empty[b-5sers2bzsw]{padding:38px 17px;text-align:center;color:var(--sw-muted)}
.admin-row[b-5sers2bzsw]{display:grid;grid-template-columns:36px minmax(0,1fr);gap:9px;align-items:start}.admin-row>span[b-5sers2bzsw]{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:color-mix(in srgb,var(--sw-primary) 12%,var(--sw-surface));color:var(--sw-primary)}.admin-row>div[b-5sers2bzsw]{display:grid;gap:3px}.admin-row small[b-5sers2bzsw],.admin-row p[b-5sers2bzsw]{color:var(--sw-muted);font-size:10.5px}.admin-row p[b-5sers2bzsw]{margin:0;line-height:1.6}
.form-grid[b-5sers2bzsw]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:16px}.form-grid .wide[b-5sers2bzsw]{grid-column:1/-1}.form-grid textarea[b-5sers2bzsw]{resize:vertical}.check[b-5sers2bzsw]{display:flex!important;align-items:center;gap:7px!important;border:1px solid var(--sw-border);border-radius:9px;padding:9px 10px;background:var(--sw-raised);align-self:end}.check input[b-5sers2bzsw]{width:16px!important;height:16px;accent-color:var(--sw-primary)}.check span[b-5sers2bzsw]{color:var(--sw-text)!important}.admin-editor>.editor-actions[b-5sers2bzsw],.knowledge-editor>.editor-actions[b-5sers2bzsw]{justify-content:flex-end;padding:13px 16px;border-top:1px solid var(--sw-border-soft)}
.sla-preview[b-5sers2bzsw]{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 16px 16px}.sla-preview>div[b-5sers2bzsw]{border:1px solid var(--sw-border);border-radius:10px;padding:11px;background:var(--sw-raised)}.sla-preview small[b-5sers2bzsw]{display:block;color:var(--sw-muted);margin-bottom:4px}.sla-preview strong[b-5sers2bzsw]{font-size:18px;color:var(--sw-primary)}
.knowledge-toolbar .primary-btn[b-5sers2bzsw]{white-space:nowrap}.knowledge-row[b-5sers2bzsw]{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.knowledge-row>div[b-5sers2bzsw]{display:grid;gap:3px}.knowledge-row small[b-5sers2bzsw],.knowledge-row p[b-5sers2bzsw]{color:var(--sw-muted);font-size:10.5px}.knowledge-row p[b-5sers2bzsw]{margin:0;line-height:1.7}.knowledge-row>span[b-5sers2bzsw]{font-size:10px;color:var(--sw-muted)}.article-content[b-5sers2bzsw]{line-height:1.9;min-height:300px}
.satisfaction-grid[b-5sers2bzsw]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-bottom:13px}.score-card[b-5sers2bzsw]{padding:18px}.score-card small[b-5sers2bzsw]{color:var(--sw-muted)}.score-card strong[b-5sers2bzsw]{display:block;font-size:30px;margin:6px 0;color:var(--sw-primary)}.score-card p[b-5sers2bzsw]{margin:0;color:var(--sw-muted);font-size:11px}.feedback-table-card[b-5sers2bzsw]{overflow:hidden}.table-wrap[b-5sers2bzsw]{overflow:auto}.feedback-table-card table[b-5sers2bzsw]{width:100%;border-collapse:collapse;min-width:760px}.feedback-table-card th[b-5sers2bzsw],.feedback-table-card td[b-5sers2bzsw]{padding:10px 12px;border-bottom:1px solid var(--sw-border-soft);text-align:right;font-size:11px}.feedback-table-card th[b-5sers2bzsw]{color:var(--sw-muted);font-weight:600;background:var(--sw-raised)}.feedback-table-card td small[b-5sers2bzsw]{display:block;color:var(--sw-muted);margin-top:3px}
@media(max-width:1350px){.kpi-grid[b-5sers2bzsw]{grid-template-columns:repeat(4,minmax(0,1fr))}.detail-grid[b-5sers2bzsw]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1050px){.workspace-grid[b-5sers2bzsw],.admin-layout[b-5sers2bzsw],.knowledge-layout[b-5sers2bzsw]{grid-template-columns:1fr}.ticket-rows[b-5sers2bzsw],.admin-rows[b-5sers2bzsw],.knowledge-rows[b-5sers2bzsw]{max-height:420px}.state-grid[b-5sers2bzsw]{grid-template-columns:repeat(2,minmax(0,1fr))}.satisfaction-grid[b-5sers2bzsw]{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.service-workspace[b-5sers2bzsw]{padding:10px}.service-hero[b-5sers2bzsw]{flex-direction:column}.hero-actions[b-5sers2bzsw],.toolbar[b-5sers2bzsw],.knowledge-toolbar[b-5sers2bzsw]{width:100%;flex-wrap:wrap}.toolbar .search[b-5sers2bzsw],.knowledge-toolbar .search[b-5sers2bzsw]{flex-basis:100%}.kpi-grid[b-5sers2bzsw]{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid[b-5sers2bzsw],.state-grid[b-5sers2bzsw],.feedback-form[b-5sers2bzsw],.detail-grid[b-5sers2bzsw],.sla-preview[b-5sers2bzsw]{grid-template-columns:1fr}.form-grid .wide[b-5sers2bzsw],.feedback-form .wide[b-5sers2bzsw]{grid-column:auto}.satisfaction-grid[b-5sers2bzsw]{grid-template-columns:1fr}}

.new-ticket-card[b-5sers2bzsw]{margin-bottom:13px;overflow:hidden}.new-ticket-card>header[b-5sers2bzsw]{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:15px 17px;border-bottom:1px solid var(--sw-border-soft)}.new-ticket-card>.editor-actions[b-5sers2bzsw]{justify-content:flex-end;padding:13px 16px;border-top:1px solid var(--sw-border-soft)}.ticket-create-grid[b-5sers2bzsw]{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:720px){.ticket-create-grid[b-5sers2bzsw]{grid-template-columns:1fr}.ticket-create-grid .wide[b-5sers2bzsw]{grid-column:auto}}
/* /Components/Pages/CustomerLedger.razor.rz.scp.css */
.ledger-page[b-skt84g19kc] {
    min-height: 100vh;
    padding: 28px;
    background: #eef4fb;
    color: #0f172a;
}

.ledger-hero[b-skt84g19kc],
.ledger-card[b-skt84g19kc],
.ledger-state[b-skt84g19kc],
.ledger-summary[b-skt84g19kc] {
    background: #fff;
    border: 1px solid #dbe4f0;
    border-radius: 28px;
    box-shadow: 0 22px 70px rgba(15, 23, 42, 0.08);
}

.ledger-hero[b-skt84g19kc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 34px 40px;
    margin-bottom: 24px;
}

.ledger-hero span[b-skt84g19kc] {
    display: inline-flex;
    padding: 8px 16px;
    border-radius: 999px;
    background: #dcfce7;
    color: #047857;
    font-weight: 900;
    margin-bottom: 14px;
}

.ledger-hero h1[b-skt84g19kc] {
    margin: 0;
    font-size: 36px;
    font-weight: 1000;
}

.ledger-hero p[b-skt84g19kc] {
    margin: 12px 0 0;
    color: #64748b;
    font-weight: 700;
}

.ledger-state[b-skt84g19kc],
.ledger-card[b-skt84g19kc] {
    padding: 28px;
}

.ledger-state.error[b-skt84g19kc] {
    background: #fff1f2;
    color: #be123c;
    border-color: #fecdd3;
}

.ledger-summary[b-skt84g19kc] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 20px;
    margin-bottom: 24px;
}

.ledger-summary div[b-skt84g19kc] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 18px;
}

.ledger-summary span[b-skt84g19kc] {
    display: block;
    color: #64748b;
    font-weight: 900;
    margin-bottom: 8px;
}

.ledger-summary strong[b-skt84g19kc] {
    font-size: 22px;
    font-weight: 1000;
}

.ledger-empty[b-skt84g19kc] {
    padding: 22px;
    text-align: center;
    color: #64748b;
    font-weight: 900;
}

.table-wrap[b-skt84g19kc] {
    overflow: auto;
}

.ledger-table[b-skt84g19kc] {
    min-width: 980px;
}

.ledger-table th[b-skt84g19kc] {
    color: #64748b;
    font-size: 13px;
    white-space: nowrap;
}

.ledger-btn[b-skt84g19kc] {
    border: 1px solid #dbe4f0;
    background: #fff;
    color: #334155;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 720px) {
    .ledger-page[b-skt84g19kc] {
        padding: 16px;
    }

    .ledger-hero[b-skt84g19kc] {
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
    }

    .ledger-summary[b-skt84g19kc] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Customers.razor.rz.scp.css */
.customers-page[b-cnyd9850o5] {
    --text: #0f172a;
    --muted: #64748b;
    --border: #dbe4f0;
    --blue: var(--erp-primary, #2563eb);
    --purple: var(--erp-accent, #7c3aed);
    min-height: 100vh;
    padding: 24px;
    color: var(--text);
    background:
        radial-gradient(circle at 18% 0%, rgba(124, 58, 237, .08), transparent 340px),
        linear-gradient(180deg, #eef4fb 0%, #f8fbff 52%, #eef4fb 100%);
}

.customers-page *[b-cnyd9850o5],
.customers-page *[b-cnyd9850o5]::before,
.customers-page *[b-cnyd9850o5]::after {
    box-sizing: border-box;
}

.customers-hero[b-cnyd9850o5],
.customers-card[b-cnyd9850o5],
.customers-summary article[b-cnyd9850o5] {
    border: 1px solid rgba(219, 228, 240, .96);
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 20px 58px rgba(15, 23, 42, .07);
}

.customers-hero[b-cnyd9850o5] {
    min-height: 158px;
    margin-bottom: 18px;
    padding: 28px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        radial-gradient(circle at 0 0, rgba(124, 58, 237, .12), transparent 280px),
        linear-gradient(135deg, #fff, #f2f6ff);
}

.customers-kicker[b-cnyd9850o5] {
    display: inline-flex;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    align-items: center;
    color: var(--erp-primary, #2563eb);
    background: #e0edff;
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: .08em;
}

.customers-hero h1[b-cnyd9850o5] {
    margin: 10px 0 0;
    font-size: 31px;
    font-weight: 1000;
}

.customers-hero p[b-cnyd9850o5] {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.customers-hero-actions[b-cnyd9850o5],
.customers-export-actions[b-cnyd9850o5],
.customers-toolbar[b-cnyd9850o5] {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.customers-button[b-cnyd9850o5],
.customers-export-actions button[b-cnyd9850o5],
.customers-select-button[b-cnyd9850o5] {
    min-height: 44px;
    padding: 0 16px;
    border-radius: 13px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 1000;
    cursor: pointer;
}

.customers-button[b-cnyd9850o5] {
    border: 0;
    color: #fff;
}

.customers-button.primary[b-cnyd9850o5] {
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
}

.customers-button.refresh[b-cnyd9850o5] {
    background: linear-gradient(135deg, #334155, #475569);
}

.customers-button.sms[b-cnyd9850o5] {
    background: linear-gradient(135deg, #059669, #0f766e);
}

.customers-button:disabled[b-cnyd9850o5],
.customers-select-button:disabled[b-cnyd9850o5],
.customers-export-actions button:disabled[b-cnyd9850o5] {
    opacity: .45;
    cursor: not-allowed;
}

.customers-alert[b-cnyd9850o5] {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 13px;
    font-weight: 900;
}

.customers-alert.error[b-cnyd9850o5] {
    color: #be123c;
    border: 1px solid #fecdd3;
    background: #fff1f2;
}

.customers-alert.success[b-cnyd9850o5] {
    color: #166534;
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
}

.customers-alert button[b-cnyd9850o5] {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 9px;
    color: inherit;
    background: rgba(255,255,255,.75);
    font-size: 20px;
}

.customers-summary[b-cnyd9850o5] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.customers-summary article[b-cnyd9850o5] {
    position: relative;
    min-height: 122px;
    padding: 20px 22px;
    overflow: hidden;
    border-radius: 22px;
    display: grid;
    align-content: center;
    gap: 7px;
}

.customers-summary article[b-cnyd9850o5]::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: linear-gradient(180deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
}

.customers-summary article.active[b-cnyd9850o5]::before {
    background: linear-gradient(180deg, #10b981, #059669);
}

.customers-summary article.selected[b-cnyd9850o5]::before {
    background: linear-gradient(180deg, var(--erp-accent, #8b5cf6), #6d28d9);
}

.customers-summary article.credit[b-cnyd9850o5]::before {
    background: linear-gradient(180deg, #f59e0b, #ea580c);
}

.customers-summary span[b-cnyd9850o5] {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.customers-summary strong[b-cnyd9850o5] {
    font-size: 29px;
    line-height: 1;
    font-weight: 1000;
}

.customers-summary small[b-cnyd9850o5] {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
}

.customers-card[b-cnyd9850o5] {
    padding: 22px;
    border-radius: 26px;
}

.customers-section-head[b-cnyd9850o5] {
    min-height: 66px;
    margin-bottom: 16px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e7edf5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.customers-section-head h2[b-cnyd9850o5] {
    margin: 0;
    font-size: 21px;
    font-weight: 1000;
}

.customers-section-head p[b-cnyd9850o5] {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.customers-export-actions button[b-cnyd9850o5] {
    color: #475569;
    border: 1px solid var(--border);
    background: #fff;
}

.customers-toolbar[b-cnyd9850o5] {
    margin-bottom: 16px;
    padding: 14px;
    border: 1px solid #e7edf5;
    border-radius: 18px;
    background: #f8fafc;
}

.customers-select-button[b-cnyd9850o5] {
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
}

.customers-select-button.clear[b-cnyd9850o5] {
    color: #be123c;
    border-color: #fecdd3;
    background: #fff1f2;
}

.customers-filter[b-cnyd9850o5] {
    min-width: 145px;
    display: grid;
    gap: 5px;
}

.customers-filter span[b-cnyd9850o5] {
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
}

.customers-filter select[b-cnyd9850o5] {
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 900;
}

.customers-search[b-cnyd9850o5] {
    position: relative;
    flex: 1 1 320px;
}

.customers-search span[b-cnyd9850o5] {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 20px;
}

.customers-search input[b-cnyd9850o5] {
    width: 100%;
    min-height: 46px;
    padding: 0 44px 0 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    font-family: inherit;
    font-weight: 850;
    outline: none;
}

.customers-search input:focus[b-cnyd9850o5] {
    border-color: rgba(124, 58, 237, .42);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, .08);
}

.customers-table-wrap[b-cnyd9850o5] {
    position: relative;
    overflow-x: auto;
    overflow-y: visible;
    border: 1px solid #e5eaf1;
    border-radius: 18px;
    background: #fff;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.customers-table-wrap[b-cnyd9850o5]::-webkit-scrollbar {
    height: 10px;
}

.customers-table-wrap[b-cnyd9850o5]::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background: #cbd5e1;
    background-clip: padding-box;
}

.customers-table[b-cnyd9850o5] {
    width: 100%;
    min-width: 1080px;
    border-collapse: separate;
    border-spacing: 0;
}

.customers-table th[b-cnyd9850o5] {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 14px;
    border-bottom: 1px solid #dbe4f0;
    background: linear-gradient(180deg, #f8fafc, #eef2ff);
    text-align: right;
    white-space: nowrap;
}

.customers-sort[b-cnyd9850o5] {
    border: 0;
    color: #475569;
    background: transparent;
    font-family: inherit;
    font-size: 12px;
    font-weight: 1000;
    cursor: pointer;
}

.customers-table td[b-cnyd9850o5] {
    padding: 14px;
    border-bottom: 1px solid #edf2f7;
    color: #334155;
    background: #fff;
    font-size: 12px;
    font-weight: 800;
    vertical-align: middle;
    white-space: nowrap;
}

.customers-table tbody tr:hover td[b-cnyd9850o5] {
    background: #f7f9ff;
}

.customers-table tbody tr.selected-row td[b-cnyd9850o5] {
    background: #f0fdf4;
}

.customers-check-column[b-cnyd9850o5] {
    width: 48px;
    text-align: center !important;
}

.customers-check-column input[b-cnyd9850o5] {
    width: 18px;
    height: 18px;
    accent-color: var(--erp-primary, #2563eb);
}

.customers-code[b-cnyd9850o5] {
    min-height: 30px;
    padding: 0 10px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    direction: ltr;
    color: #1d4ed8;
    background: #eff6ff;
    font-weight: 900;
}

.customers-name strong[b-cnyd9850o5],
.customers-name small[b-cnyd9850o5] {
    display: block;
}

.customers-name strong[b-cnyd9850o5] {
    color: var(--text);
    font-size: 13px;
    font-weight: 1000;
}

.customers-name small[b-cnyd9850o5] {
    max-width: 210px;
    margin-top: 4px;
    overflow: hidden;
    color: var(--muted);
    text-overflow: ellipsis;
}

.customers-ltr[b-cnyd9850o5] {
    direction: ltr;
    text-align: right;
}

.customers-status[b-cnyd9850o5] {
    min-width: 74px;
    min-height: 31px;
    padding: 0 11px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 1000;
}

.customers-status.active[b-cnyd9850o5] {
    color: #047857;
    border: 1px solid #a7f3d0;
    background: #ecfdf5;
}

.customers-status.inactive[b-cnyd9850o5] {
    color: #475569;
    border: 1px solid #cbd5e1;
    background: #f1f5f9;
}

.customers-operation-column[b-cnyd9850o5] {
    position: sticky;
    left: 0;
    z-index: 6;
    width: 86px;
    min-width: 86px;
    text-align: center !important;
    background: #fff !important;
    box-shadow: 8px 0 18px rgba(15, 23, 42, .06);
}

.customers-table thead .customers-operation-column[b-cnyd9850o5] {
    z-index: 10;
    background: linear-gradient(180deg, #f8fafc, #eef2ff) !important;
}

.customers-table tbody tr:hover .customers-operation-column[b-cnyd9850o5] {
    background: #f7f9ff !important;
}

.customers-table tbody tr.selected-row .customers-operation-column[b-cnyd9850o5] {
    background: #f0fdf4 !important;
}

.customers-action-menu[b-cnyd9850o5] {
    position: relative;
    display: inline-flex;
}

.customers-action-trigger[b-cnyd9850o5] {
    width: 38px;
    height: 38px;
    border: 1px solid #dbe4f0;
    border-radius: 11px;
    color: #334155;
    background: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.customers-action-trigger:hover[b-cnyd9850o5] {
    border-color: #bfdbfe;
    color: #1d4ed8;
    background: #eff6ff;
}

.customers-pagination[b-cnyd9850o5] {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.customers-pagination > div[b-cnyd9850o5] {
    display: flex;
    gap: 6px;
}

.customers-pagination button[b-cnyd9850o5] {
    min-width: 38px;
    min-height: 38px;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: #475569;
    background: #fff;
    font-family: inherit;
    font-weight: 900;
}

.customers-pagination button.active[b-cnyd9850o5] {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--blue), var(--purple));
}

.customers-pagination button:disabled[b-cnyd9850o5] {
    opacity: .45;
}

.customers-skeleton[b-cnyd9850o5] {
    display: grid;
    gap: 10px;
}

.customers-skeleton-row[b-cnyd9850o5] {
    height: 58px;
    border-radius: 13px;
    background: linear-gradient(90deg, #eef2f7 25%, #f8fafc 50%, #eef2f7 75%);
    background-size: 200% 100%;
    animation: customers-skeleton-b-cnyd9850o5 1.2s infinite;
}

@keyframes customers-skeleton-b-cnyd9850o5 {
    to {
        background-position: -200% 0;
    }
}

.customers-empty[b-cnyd9850o5] {
    min-height: 220px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    text-align: center;
}

.customers-empty > div[b-cnyd9850o5] {
    font-size: 40px;
}

.customers-empty span[b-cnyd9850o5] {
    color: var(--muted);
}

.customers-modal-backdrop[b-cnyd9850o5] {
    position: fixed;
    inset: 0;
    z-index: 99999;
    padding: 20px;
    display: grid;
    place-items: center;
    background: rgba(15, 23, 42, .64);
    backdrop-filter: blur(9px);
}

.customers-form-modal[b-cnyd9850o5],
.customers-details-modal[b-cnyd9850o5],
.customers-delete-modal[b-cnyd9850o5],
.customers-sms-modal[b-cnyd9850o5] {
    width: min(700px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 24px;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 34px 100px rgba(15, 23, 42, .34);
}

.customers-delete-modal[b-cnyd9850o5] {
    width: min(470px, 100%);
}

.customers-form-modal header[b-cnyd9850o5],
.customers-details-modal header[b-cnyd9850o5],
.customers-delete-modal header[b-cnyd9850o5],
.customers-sms-modal header[b-cnyd9850o5] {
    padding-bottom: 16px;
    border-bottom: 1px solid #e7edf5;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.customers-form-modal header span[b-cnyd9850o5],
.customers-details-modal header span[b-cnyd9850o5],
.customers-delete-modal header span[b-cnyd9850o5],
.customers-sms-modal header span[b-cnyd9850o5] {
    color: var(--blue);
    font-size: 11px;
    font-weight: 1000;
}

.customers-form-modal header h3[b-cnyd9850o5],
.customers-details-modal header h3[b-cnyd9850o5],
.customers-delete-modal header h3[b-cnyd9850o5],
.customers-sms-modal header h3[b-cnyd9850o5] {
    margin: 6px 0 0;
    font-size: 21px;
    font-weight: 1000;
}

.customers-form-modal header button[b-cnyd9850o5],
.customers-details-modal header button[b-cnyd9850o5],
.customers-delete-modal header button[b-cnyd9850o5],
.customers-sms-modal header button[b-cnyd9850o5] {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 12px;
    color: #be123c;
    background: #fff1f2;
    font-size: 23px;
}

.customers-form-grid[b-cnyd9850o5],
.customers-details-grid[b-cnyd9850o5] {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.customers-form-grid label[b-cnyd9850o5] {
    display: grid;
    gap: 7px;
}

.customers-form-grid label > span[b-cnyd9850o5],
.customers-details-grid span[b-cnyd9850o5] {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
}

.customers-form-grid input[b-cnyd9850o5],
.customers-form-grid select[b-cnyd9850o5],
.customers-form-grid textarea[b-cnyd9850o5] {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid var(--border);
    border-radius: 13px;
    color: var(--text);
    background: #f8fafc;
    font-family: inherit;
    font-weight: 850;
    outline: none;
}

.customers-form-grid textarea[b-cnyd9850o5] {
    min-height: 100px;
    padding-top: 12px;
}

.customers-form-grid .wide[b-cnyd9850o5],
.customers-details-grid .wide[b-cnyd9850o5] {
    grid-column: 1 / -1;
}

.customers-active-check[b-cnyd9850o5] {
    display: flex !important;
    align-items: center;
    gap: 9px;
}

.customers-active-check input[b-cnyd9850o5] {
    width: 18px;
    min-height: 18px;
}

.customers-profile-head[b-cnyd9850o5] {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #e7edf5;
    border-radius: 17px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f8fafc;
}

.customers-avatar[b-cnyd9850o5] {
    width: 56px;
    height: 56px;
    border-radius: 17px;
    display: grid;
    place-items: center;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    font-size: 22px;
    font-weight: 1000;
}

.customers-profile-head strong[b-cnyd9850o5],
.customers-profile-head span[b-cnyd9850o5] {
    display: block;
}

.customers-profile-head strong[b-cnyd9850o5] {
    font-size: 15px;
    font-weight: 1000;
}

.customers-profile-head span[b-cnyd9850o5] {
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

.customers-details-grid > div[b-cnyd9850o5] {
    padding: 14px;
    border: 1px solid #e7edf5;
    border-radius: 14px;
    background: #f8fafc;
}

.customers-details-grid strong[b-cnyd9850o5] {
    display: block;
    margin-top: 7px;
    font-size: 13px;
}

.customers-details-actions[b-cnyd9850o5] {
    margin-top: 18px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.customers-details-actions button[b-cnyd9850o5] {
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid #dbe4f0;
    border-radius: 11px;
    color: #334155;
    background: #fff;
    font-family: inherit;
    font-size: 11px;
    font-weight: 900;
}

.customers-form-modal footer[b-cnyd9850o5],
.customers-delete-modal footer[b-cnyd9850o5],
.customers-sms-modal footer[b-cnyd9850o5] {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e7edf5;
    display: flex;
    gap: 10px;
}

.customers-modal-cancel[b-cnyd9850o5],
.customers-modal-save[b-cnyd9850o5],
.customers-modal-delete[b-cnyd9850o5],
.customers-modal-send[b-cnyd9850o5] {
    min-width: 120px;
    min-height: 44px;
    padding: 0 17px;
    border-radius: 13px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 1000;
}

.customers-modal-cancel[b-cnyd9850o5] {
    color: #475569;
    border: 1px solid var(--border);
    background: #fff;
}

.customers-modal-save[b-cnyd9850o5],
.customers-modal-send[b-cnyd9850o5] {
    color: #fff;
    border: 0;
    background: linear-gradient(135deg, #059669, #0f766e);
}

.customers-modal-delete[b-cnyd9850o5] {
    color: #fff;
    border: 0;
    background: linear-gradient(135deg, #dc2626, #be123c);
}

.customers-delete-modal p[b-cnyd9850o5] {
    margin: 20px 0;
    line-height: 2;
}

.customers-sms-recipients[b-cnyd9850o5] {
    margin: 18px 0;
    padding: 14px 16px;
    border: 1px solid #bbf7d0;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    color: #166534;
    background: #f0fdf4;
}

.customers-sms-field[b-cnyd9850o5] {
    display: grid;
    gap: 8px;
}

.customers-sms-field textarea[b-cnyd9850o5] {
    min-height: 160px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 16px;
    font-family: inherit;
    resize: vertical;
}

.customers-sms-field small[b-cnyd9850o5] {
    color: var(--muted);
    text-align: left;
}

.customers-sms-templates[b-cnyd9850o5] {
    margin-top: 14px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.customers-sms-templates button[b-cnyd9850o5] {
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #f8fafc;
    font-family: inherit;
    font-weight: 900;
}

@media (max-width: 1100px) {
    .customers-summary[b-cnyd9850o5] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .customers-table-wrap[b-cnyd9850o5] {
        overflow: auto;
    }
}

@media (max-width: 760px) {
    .customers-page[b-cnyd9850o5] {
        padding: 14px;
    }

    .customers-hero[b-cnyd9850o5],
    .customers-section-head[b-cnyd9850o5],
    .customers-pagination[b-cnyd9850o5] {
        align-items: stretch;
        flex-direction: column;
    }

    .customers-summary[b-cnyd9850o5] {
        grid-template-columns: 1fr;
    }

    .customers-hero-actions[b-cnyd9850o5],
    .customers-export-actions[b-cnyd9850o5] {
        width: 100%;
    }

    .customers-button[b-cnyd9850o5],
    .customers-export-actions button[b-cnyd9850o5] {
        flex: 1;
    }

    .customers-filter[b-cnyd9850o5] {
        width: 100%;
    }

    .customers-form-grid[b-cnyd9850o5],
    .customers-details-grid[b-cnyd9850o5] {
        grid-template-columns: 1fr;
    }

    .customers-form-grid .wide[b-cnyd9850o5],
    .customers-details-grid .wide[b-cnyd9850o5] {
        grid-column: auto;
    }

    .customers-form-modal footer[b-cnyd9850o5],
    .customers-delete-modal footer[b-cnyd9850o5],
    .customers-sms-modal footer[b-cnyd9850o5] {
        flex-direction: column;
    }

    .customers-modal-cancel[b-cnyd9850o5],
    .customers-modal-save[b-cnyd9850o5],
    .customers-modal-delete[b-cnyd9850o5],
    .customers-modal-send[b-cnyd9850o5] {
        width: 100%;
    }
}

@media print {
    .customers-hero-actions[b-cnyd9850o5],
    .customers-export-actions[b-cnyd9850o5],
    .customers-toolbar[b-cnyd9850o5],
    .customers-check-column[b-cnyd9850o5],
    .customers-operation-column[b-cnyd9850o5],
    .customers-pagination[b-cnyd9850o5] {
        display: none !important;
    }

    .customers-page[b-cnyd9850o5] {
        padding: 0;
        background: #fff;
    }

    .customers-card[b-cnyd9850o5],
    .customers-hero[b-cnyd9850o5],
    .customers-summary article[b-cnyd9850o5] {
        box-shadow: none;
    }
}


.customers-action-trigger[b-cnyd9850o5],
.customers-button[b-cnyd9850o5],
.customers-export-actions button[b-cnyd9850o5],
.customers-select-button[b-cnyd9850o5],
.customers-pagination button[b-cnyd9850o5] {
    transition:
        transform .16s ease,
        box-shadow .16s ease,
        border-color .16s ease,
        background .16s ease;
}

.customers-action-trigger:hover[b-cnyd9850o5],
.customers-button:hover:not(:disabled)[b-cnyd9850o5],
.customers-export-actions button:hover:not(:disabled)[b-cnyd9850o5],
.customers-select-button:hover:not(:disabled)[b-cnyd9850o5],
.customers-pagination button:hover:not(:disabled)[b-cnyd9850o5] {
    transform: translateY(-1px);
}

.customers-table tbody tr[b-cnyd9850o5] {
    transition: background .16s ease;
}

.customers-table th:first-child[b-cnyd9850o5],
.customers-table td:first-child[b-cnyd9850o5] {
    position: sticky;
    right: 0;
    z-index: 5;
    background: inherit;
}

.customers-table thead th:first-child[b-cnyd9850o5] {
    z-index: 9;
    background: linear-gradient(180deg, #f8fafc, #eef2ff);
}

.customers-table tbody tr:hover td:first-child[b-cnyd9850o5] {
    background: #f7f9ff;
}

.customers-table tbody tr.selected-row td:first-child[b-cnyd9850o5] {
    background: #f0fdf4;
}

.customers-sms-modal[b-cnyd9850o5],
.customers-form-modal[b-cnyd9850o5],
.customers-details-modal[b-cnyd9850o5],
.customers-delete-modal[b-cnyd9850o5] {
    animation: customers-modal-in-b-cnyd9850o5 .18s ease-out;
}

@keyframes customers-modal-in-b-cnyd9850o5 {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 760px) {
    .customers-table[b-cnyd9850o5] {
        min-width: 980px;
    }

    .customers-operation-column[b-cnyd9850o5] {
        box-shadow: 6px 0 14px rgba(15, 23, 42, .08);
    }
}


.customers-action-overlay[b-cnyd9850o5] {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    background: rgba(15, 23, 42, .48);
    backdrop-filter: blur(6px);
    animation: customers-action-fade-b-cnyd9850o5 .16s ease-out;
}

.customers-action-panel[b-cnyd9850o5] {
    width: min(390px, calc(100vw - 24px));
    height: 100%;
    padding: 20px;
    overflow-y: auto;
    border-right: 1px solid rgba(255, 255, 255, .75);
    background: #fff;
    box-shadow: 22px 0 70px rgba(15, 23, 42, .28);
    animation: customers-action-slide-b-cnyd9850o5 .2s ease-out;
}

.customers-action-panel > header[b-cnyd9850o5] {
    padding-bottom: 17px;
    border-bottom: 1px solid #e7edf5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.customers-action-customer[b-cnyd9850o5] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.customers-action-avatar[b-cnyd9850o5] {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    box-shadow: 0 10px 24px rgba(37, 99, 235, .2);
    font-size: 18px;
    font-weight: 1000;
}

.customers-action-customer strong[b-cnyd9850o5],
.customers-action-customer span[b-cnyd9850o5] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customers-action-customer strong[b-cnyd9850o5] {
    color: #0f172a;
    font-size: 14px;
    font-weight: 1000;
}

.customers-action-customer span[b-cnyd9850o5] {
    margin-top: 5px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.customers-action-close[b-cnyd9850o5] {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 0;
    border-radius: 12px;
    color: #be123c;
    background: #fff1f2;
    font-family: inherit;
    font-size: 23px;
    cursor: pointer;
}

.customers-action-list[b-cnyd9850o5] {
    margin-top: 18px;
    display: grid;
    gap: 8px;
}

.customers-action-list button[b-cnyd9850o5] {
    width: 100%;
    min-height: 64px;
    padding: 11px 13px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    display: block;
    color: #334155;
    background: #f8fafc;
    text-align: right;
    font-family: inherit;
    cursor: pointer;
    transition:
        transform .16s ease,
        border-color .16s ease,
        background .16s ease,
        box-shadow .16s ease;
}

.customers-action-list button:hover:not(:disabled)[b-cnyd9850o5] {
    transform: translateX(2px);
    border-color: #bfdbfe;
    background: #eff6ff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.customers-action-list button span[b-cnyd9850o5],
.customers-action-list button small[b-cnyd9850o5] {
    display: block;
}

.customers-action-list button span[b-cnyd9850o5] {
    color: #0f172a;
    font-size: 12px;
    font-weight: 1000;
}

.customers-action-list button small[b-cnyd9850o5] {
    margin-top: 5px;
    color: #64748b;
    font-size: 10px;
    line-height: 1.7;
    font-weight: 750;
}

.customers-action-list button.danger[b-cnyd9850o5] {
    border-color: #fecdd3;
    background: #fff1f2;
}

.customers-action-list button.danger span[b-cnyd9850o5] {
    color: #be123c;
}

.customers-action-list button.danger:hover:not(:disabled)[b-cnyd9850o5] {
    border-color: #fda4af;
    background: #ffe4e6;
}

.customers-action-list button:disabled[b-cnyd9850o5] {
    opacity: .45;
    cursor: not-allowed;
}

@keyframes customers-action-fade-b-cnyd9850o5 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes customers-action-slide-b-cnyd9850o5 {
    from {
        opacity: 0;
        transform: translateX(-26px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 640px) {
    .customers-action-overlay[b-cnyd9850o5] {
        align-items: flex-end;
    }

    .customers-action-panel[b-cnyd9850o5] {
        width: 100%;
        height: auto;
        max-height: 88vh;
        border: 0;
        border-radius: 24px 24px 0 0;
        box-shadow: 0 -22px 70px rgba(15, 23, 42, .28);
        animation-name: customers-action-sheet-b-cnyd9850o5;
    }

    @keyframes customers-action-sheet-b-cnyd9850o5 {
        from {
            opacity: 0;
            transform: translateY(30px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}


/* Persons page integration */
.persons-filters[b-cnyd9850o5] {
    display: grid;
    grid-template-columns: minmax(260px, 1.7fr) repeat(3, minmax(145px, .75fr));
    align-items: end;
}

.person-search-filter[b-cnyd9850o5] {
    min-width: 0;
}

.person-search-filter input[b-cnyd9850o5],
.customers-filter input[b-cnyd9850o5],
.customers-filter select[b-cnyd9850o5],
.customers-form-grid select[b-cnyd9850o5] {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid var(--border);
    border-radius: 13px;
    color: #0f172a;
    background: #fff;
    font-family: inherit;
    font-weight: 850;
    outline: none;
}

.person-search-filter input:focus[b-cnyd9850o5],
.customers-filter select:focus[b-cnyd9850o5],
.customers-form-grid input:focus[b-cnyd9850o5],
.customers-form-grid textarea:focus[b-cnyd9850o5],
.customers-form-grid select:focus[b-cnyd9850o5] {
    border-color: rgba(124, 58, 237, .42);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, .08);
}

.person-roles[b-cnyd9850o5] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.person-tag[b-cnyd9850o5] {
    min-height: 29px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 1000;
    white-space: nowrap;
}

.person-tag.type[b-cnyd9850o5] {
    color: #4338ca;
    border: 1px solid #c7d2fe;
    background: #eef2ff;
}

.person-tag.customer[b-cnyd9850o5] {
    color: #047857;
    border: 1px solid #a7f3d0;
    background: #ecfdf5;
}

.person-tag.supplier[b-cnyd9850o5] {
    color: #b45309;
    border: 1px solid #fde68a;
    background: #fffbeb;
}

.person-balance[b-cnyd9850o5] {
    font-size: 12px;
    font-weight: 1000;
}

.person-balance.debit[b-cnyd9850o5] { color: #b91c1c; }
.person-balance.credit[b-cnyd9850o5] { color: #047857; }

.person-row-actions[b-cnyd9850o5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.person-row-actions button[b-cnyd9850o5] {
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid #dbe4f0;
    border-radius: 10px;
    color: #334155;
    background: #fff;
    font-family: inherit;
    font-size: 10px;
    font-weight: 1000;
    cursor: pointer;
}

.person-row-actions button:hover[b-cnyd9850o5] {
    border-color: #bfdbfe;
    color: #1d4ed8;
    background: #eff6ff;
}

.person-row-actions .person-danger[b-cnyd9850o5] {
    color: #be123c;
    border-color: #fecdd3;
    background: #fff1f2;
}

.person-role-box[b-cnyd9850o5] {
    min-height: 74px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    background: #f8fafc;
}

.person-role-box > span[b-cnyd9850o5] {
    width: 100%;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
}

.person-role-box label[b-cnyd9850o5] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #334155;
    font-size: 12px;
    font-weight: 900;
}

.person-role-box input[b-cnyd9850o5] {
    width: 18px;
    min-height: 18px;
    accent-color: var(--erp-primary, #2563eb);
}

/* Global overlay content */
.customers-global-backdrop[b-cnyd9850o5] {
    --text: #0f172a;
    --muted: #64748b;
    --border: #dbe4f0;
    --blue: var(--erp-primary, #2563eb);
    --purple: var(--erp-accent, #7c3aed);
    color: var(--text);
    position: fixed;
    inset: 0;
    z-index: 2147483601;
    padding: 24px;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    direction: rtl;
    background: rgba(15, 23, 42, .68);
    backdrop-filter: blur(9px);
}

.customers-global-modal[b-cnyd9850o5] {
    width: min(980px, 100%);
    margin: auto 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 38px 120px rgba(15, 23, 42, .42);
    animation: customers-modal-in-b-cnyd9850o5 .18s ease-out;
}

.customers-global-delete[b-cnyd9850o5] {
    width: min(480px, 100%);
}

.customers-global-sms[b-cnyd9850o5] {
    width: min(820px, 100%);
}

.customers-sms-compose-grid[b-cnyd9850o5] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.customers-sms-compose-grid label[b-cnyd9850o5],
.customers-sms-editor[b-cnyd9850o5] {
    display: grid;
    gap: 8px;
}

.customers-sms-compose-grid label > span[b-cnyd9850o5],
.customers-sms-editor > span[b-cnyd9850o5] {
    color: #55657d;
    font-size: 12px;
    font-weight: 900;
}

.customers-sms-compose-grid select[b-cnyd9850o5],
.customers-sms-editor textarea[b-cnyd9850o5] {
    width: 100%;
    border: 1px solid #d8e1ed;
    border-radius: 13px;
    color: #17233f;
    background: #fbfdff;
    font: inherit;
    font-weight: 750;
    outline: none;
}

.customers-sms-compose-grid select[b-cnyd9850o5] {
    min-height: 48px;
    padding: 0 13px;
}

.customers-sms-audience-summary[b-cnyd9850o5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 16px 0;
    padding: 14px 17px;
    border: 1px solid #bce6dc;
    border-radius: 14px;
    color: #0d766e;
    background: #effcf8;
}

.customers-sms-audience-summary strong[b-cnyd9850o5] {
    font-size: 17px;
}

.customers-sms-editor textarea[b-cnyd9850o5] {
    min-height: 170px;
    padding: 14px;
    resize: vertical;
    line-height: 2;
}

.customers-sms-editor small[b-cnyd9850o5] {
    color: #74839a;
    line-height: 1.9;
}

.customers-global-modal-header[b-cnyd9850o5] {
    position: sticky;
    top: 0;
    z-index: 5;
    min-height: 82px;
    padding: 18px 24px;
    border-bottom: 1px solid #e7edf5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(12px);
}

.customers-global-modal-header span[b-cnyd9850o5] {
    color: var(--blue);
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: .08em;
}

.customers-global-modal-header h3[b-cnyd9850o5] {
    margin: 6px 0 0;
    color: #0f172a;
    font-size: 22px;
    font-weight: 1000;
}

.customers-global-modal-header > button[b-cnyd9850o5] {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border: 0;
    border-radius: 12px;
    color: #be123c;
    background: #fff1f2;
    font-family: inherit;
    font-size: 24px;
    cursor: pointer;
}

.customers-global-modal-body[b-cnyd9850o5] {
    padding: 24px;
}

.customers-global-modal-footer[b-cnyd9850o5] {
    position: sticky;
    bottom: 0;
    z-index: 5;
    padding: 16px 24px 20px;
    border-top: 1px solid #e7edf5;
    display: flex;
    gap: 10px;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(12px);
}

.customers-delete-message[b-cnyd9850o5] {
    margin: 0;
    color: #334155;
    font-size: 14px;
    line-height: 2;
    font-weight: 850;
}

@media (max-width: 1050px) {
    .persons-filters[b-cnyd9850o5] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .persons-filters[b-cnyd9850o5] {
        grid-template-columns: 1fr;
    }

    .customers-global-backdrop[b-cnyd9850o5] {
        padding: 10px;
    }

    .customers-global-modal[b-cnyd9850o5] {
        width: 100%;
        border-radius: 20px;
    }

    .customers-global-modal-body[b-cnyd9850o5] {
        padding: 18px;
    }

    .customers-global-modal-footer[b-cnyd9850o5] {
        flex-direction: column;
    }

    .customers-global-modal-footer button[b-cnyd9850o5] {
        width: 100%;
    }

    .customers-sms-compose-grid[b-cnyd9850o5] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/CustomersNew.razor.rz.scp.css */
:host[b-t1dtbd6ok5] {
    display: block;
    width: 100%;
}

.customer-new-page[b-t1dtbd6ok5] {
    --c-primary: var(--erp-primary, #2563eb);
    --c-secondary: var(--erp-accent, #7c3aed);
    --c-text: #0f172a;
    --c-muted: #64748b;
    --c-border: #e2e8f0;
    width: 100%;
    min-width: 0;
    display: grid;
    gap: 16px;
    padding: 0 0 24px;
    color: var(--c-text);
    direction: rtl;
}

.customer-new-page *[b-t1dtbd6ok5],
.customer-new-page *[b-t1dtbd6ok5]::before,
.customer-new-page *[b-t1dtbd6ok5]::after {
    box-sizing: border-box;
}

.customer-hero[b-t1dtbd6ok5] {
    min-height: 126px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 22px 24px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 24px;
    color: var(--erp-on-brand, #ffffff);
    background:
        radial-gradient(circle at 12% 25%, rgba(255,255,255,.18), transparent 180px),
        linear-gradient(135deg, var(--erp-primary, #2563eb) 0%, var(--erp-primary, #4f46e5) 50%, var(--erp-accent, #7c3aed) 100%);
    box-shadow: 0 18px 42px rgba(37, 99, 235, .20);
    overflow: hidden;
}

.customer-hero-content[b-t1dtbd6ok5] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.customer-hero-icon[b-t1dtbd6ok5] {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 19px;
    background: rgba(255,255,255,.14);
    font-size: 28px;
    backdrop-filter: blur(10px);
}

.customer-eyebrow[b-t1dtbd6ok5] {
    margin-bottom: 4px;
    color: rgba(255,255,255,.72);
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: .04em;
}

.customer-hero h1[b-t1dtbd6ok5] {
    margin: 0;
    font-size: 29px;
    line-height: 1.3;
    font-weight: 950;
}

.customer-hero p[b-t1dtbd6ok5] {
    margin: 6px 0 0;
    color: rgba(255,255,255,.84);
    font-size: 12.5px;
    line-height: 1.8;
    font-weight: 700;
}

.customer-layout[b-t1dtbd6ok5] {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    grid-template-areas: "main sidebar";
    gap: 16px;
    align-items: start;
    direction: ltr;
}

.customer-main[b-t1dtbd6ok5] {
    grid-area: main;
    min-width: 0;
    direction: rtl;
}

.customer-sidebar[b-t1dtbd6ok5] {
    grid-area: sidebar;
    min-width: 0;
    position: sticky;
    top: 14px;
    direction: rtl;
}

.customer-card[b-t1dtbd6ok5],
.customer-summary-card[b-t1dtbd6ok5],
.customer-help-card[b-t1dtbd6ok5] {
    border: 1px solid rgba(148, 163, 184, .18);
    background: rgba(255,255,255,.97);
    box-shadow: 0 10px 30px rgba(15, 23, 42, .055);
}

.customer-card[b-t1dtbd6ok5] {
    margin-bottom: 14px;
    border-radius: 20px;
    overflow: hidden;
}

.customer-card-header[b-t1dtbd6ok5] {
    min-height: 66px;
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0;
    padding: 13px 16px;
    border-bottom: 1px solid #edf1f6;
    background: linear-gradient(180deg, #fff, #fafbfe);
}

.customer-section-icon[b-t1dtbd6ok5] {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
    box-shadow: 0 8px 18px rgba(37, 99, 235, .17);
    font-size: 11px;
    font-weight: 950;
}

.customer-card-header h2[b-t1dtbd6ok5] {
    margin: 0;
    color: var(--c-text);
    font-size: 15px;
    font-weight: 950;
}

.customer-card-header p[b-t1dtbd6ok5] {
    margin: 3px 0 0;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 650;
}

.customer-form-grid[b-t1dtbd6ok5] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 16px;
}

.customer-form-grid-primary[b-t1dtbd6ok5] {
    grid-template-columns: minmax(0, 1.55fr) minmax(160px, .7fr) minmax(150px, .6fr);
}

.customer-field[b-t1dtbd6ok5] {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 6px;
}

.customer-field-full[b-t1dtbd6ok5] {
    grid-column: 1 / -1;
}

.customer-field label[b-t1dtbd6ok5] {
    color: #475569;
    font-size: 11.5px;
    font-weight: 850;
}

.customer-field label span[b-t1dtbd6ok5] {
    color: #ef4444;
}

.customer-field small[b-t1dtbd6ok5] {
    color: #94a3b8;
    font-size: 10px;
    line-height: 1.6;
    font-weight: 650;
}

[b-t1dtbd6ok5] .customer-input {
    width: 100%;
    min-width: 0;
    min-height: 43px;
    padding: 9px 11px;
    border: 1px solid #d8e1ec !important;
    border-radius: 11px !important;
    outline: 0 !important;
    color: #0f172a !important;
    background: #f8fafc !important;
    box-shadow: none !important;
    font: inherit !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    transition: .16s ease;
}

[b-t1dtbd6ok5] .customer-input:hover {
    border-color: #c4cfdd !important;
    background: #fff !important;
}

[b-t1dtbd6ok5] .customer-input:focus {
    border-color: #60a5fa !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .09) !important;
}

[b-t1dtbd6ok5] .customer-input::placeholder {
    color: #94a3b8 !important;
    opacity: 1;
}

[b-t1dtbd6ok5] .customer-textarea {
    min-height: 92px !important;
    resize: vertical;
    line-height: 1.7;
}

[b-t1dtbd6ok5] .customer-number {
    text-align: left;
    font-variant-numeric: tabular-nums;
}

.customer-ltr[b-t1dtbd6ok5] {
    direction: ltr;
    text-align: left;
}

.customer-switch[b-t1dtbd6ok5] {
    min-height: 43px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    border: 1px solid #d8e1ec;
    border-radius: 11px;
    background: #f8fafc;
    cursor: pointer;
}

[b-t1dtbd6ok5] .customer-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.customer-switch-track[b-t1dtbd6ok5] {
    position: relative;
    width: 42px;
    height: 23px;
    flex: 0 0 42px;
    border-radius: 999px;
    background: #cbd5e1;
    transition: .18s ease;
}

.customer-switch-track[b-t1dtbd6ok5]::after {
    content: "";
    position: absolute;
    top: 3px;
    right: 3px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(15,23,42,.20);
    transition: .18s ease;
}

[b-t1dtbd6ok5] .customer-switch input:checked + .customer-switch-track {
    background: #22c55e;
}

[b-t1dtbd6ok5] .customer-switch input:checked + .customer-switch-track::after {
    transform: translateX(-19px);
}

.customer-switch-text[b-t1dtbd6ok5] {
    color: #334155 !important;
    font-size: 11.5px;
    font-weight: 900;
}

.customer-summary-card[b-t1dtbd6ok5] {
    padding: 18px;
    border-radius: 20px;
}

.customer-summary-top[b-t1dtbd6ok5] {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf1f6;
}

.customer-avatar[b-t1dtbd6ok5] {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
    box-shadow: 0 9px 20px rgba(37,99,235,.20);
    font-size: 20px;
    font-weight: 950;
}

.customer-summary-top span[b-t1dtbd6ok5] {
    color: #94a3b8;
    font-size: 10px;
    font-weight: 800;
}

.customer-summary-top strong[b-t1dtbd6ok5] {
    display: block;
    max-width: 190px;
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--c-text);
    font-size: 14px;
    font-weight: 950;
}

.customer-summary-list[b-t1dtbd6ok5] {
    padding: 8px 0;
}

.customer-summary-list > div[b-t1dtbd6ok5] {
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #edf1f6;
}

.customer-summary-list span[b-t1dtbd6ok5] {
    color: #64748b;
    font-size: 10.5px;
    font-weight: 750;
}

.customer-summary-list strong[b-t1dtbd6ok5] {
    max-width: 165px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--c-text);
    font-size: 11px;
    font-weight: 900;
}

.customer-status-active[b-t1dtbd6ok5],
.customer-status-inactive[b-t1dtbd6ok5] {
    padding: 5px 9px;
    border-radius: 999px;
}

.customer-status-active[b-t1dtbd6ok5] {
    color: #15803d !important;
    background: #dcfce7;
}

.customer-status-inactive[b-t1dtbd6ok5] {
    color: #b91c1c !important;
    background: #fee2e2;
}

.customer-summary-note[b-t1dtbd6ok5] {
    margin-top: 7px;
    padding: 11px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    color: #1e40af;
    background: #eff6ff;
    font-size: 10px;
    line-height: 1.7;
    font-weight: 750;
}

.customer-summary-actions[b-t1dtbd6ok5] {
    display: grid;
    gap: 8px;
    margin-top: 13px;
}

.customer-help-card[b-t1dtbd6ok5] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
    padding: 14px;
    border-radius: 16px;
}

.customer-help-icon[b-t1dtbd6ok5] {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--erp-accent, #7c3aed);
    background: #f3e8ff;
    font-size: 12px;
    font-weight: 950;
}

.customer-help-card strong[b-t1dtbd6ok5] {
    color: var(--c-text);
    font-size: 11.5px;
    font-weight: 900;
}

.customer-help-card p[b-t1dtbd6ok5] {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 9.8px;
    line-height: 1.7;
    font-weight: 650;
}

.customer-btn[b-t1dtbd6ok5] {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border-radius: 11px;
    border: 0;
    font: inherit;
    font-size: 11.5px;
    font-weight: 900;
    cursor: pointer;
    transition: .16s ease;
}

.customer-btn:hover:not(:disabled)[b-t1dtbd6ok5] {
    transform: translateY(-1px);
}

.customer-btn:disabled[b-t1dtbd6ok5] {
    opacity: .62;
    cursor: not-allowed;
}

.customer-btn-primary[b-t1dtbd6ok5] {
    color: #fff;
    background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
    box-shadow: 0 9px 20px rgba(37,99,235,.18);
}

.customer-btn-outline[b-t1dtbd6ok5] {
    color: #475569;
    border: 1px solid #d8e1ec;
    background: #fff;
}

.customer-btn-light[b-t1dtbd6ok5] {
    color: #1e3a8a;
    border: 1px solid rgba(255,255,255,.38);
    background: rgba(255,255,255,.92);
    box-shadow: 0 8px 20px rgba(15,23,42,.12);
}

.customer-alert[b-t1dtbd6ok5] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 13px;
}

.customer-alert-error[b-t1dtbd6ok5] {
    color: #991b1b;
    border: 1px solid #fecdd3;
    background: #fff1f2;
}

.customer-alert-icon[b-t1dtbd6ok5] {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: #fff;
    background: #e11d48;
    font-weight: 950;
}

.customer-alert strong[b-t1dtbd6ok5] {
    display: block;
    font-size: 11.5px;
    font-weight: 900;
}

.customer-alert p[b-t1dtbd6ok5] {
    margin: 3px 0 0;
    font-size: 10.5px;
    line-height: 1.7;
    font-weight: 700;
}

.customer-spinner[b-t1dtbd6ok5] {
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255,255,255,.45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: customer-spin-b-t1dtbd6ok5 .7s linear infinite;
}

.customer-mobile-actions[b-t1dtbd6ok5] {
    display: none;
}

[b-t1dtbd6ok5] .validation-message {
    color: #dc2626;
    font-size: 10px;
    font-weight: 800;
}

@keyframes customer-spin-b-t1dtbd6ok5 {
    to { transform: rotate(360deg); }
}

@media (max-width: 1180px) {
    .customer-layout[b-t1dtbd6ok5] {
        grid-template-columns: minmax(0, 1fr) 280px;
    }

    .customer-form-grid-primary[b-t1dtbd6ok5] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .customer-field-wide[b-t1dtbd6ok5] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 950px) {
    .customer-layout[b-t1dtbd6ok5] {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "sidebar";
        direction: rtl;
    }

    .customer-sidebar[b-t1dtbd6ok5] {
        position: static;
    }

    .customer-summary-card[b-t1dtbd6ok5],
    .customer-help-card[b-t1dtbd6ok5] {
        display: none;
    }

    .customer-mobile-actions[b-t1dtbd6ok5] {
        display: grid;
        grid-template-columns: minmax(120px, .45fr) minmax(0, 1fr);
        gap: 10px;
        margin-top: 2px;
    }
}

@media (max-width: 700px) {
    .customer-hero[b-t1dtbd6ok5] {
        min-height: auto;
        align-items: stretch;
        flex-direction: column;
        padding: 18px;
        border-radius: 20px;
    }

    .customer-hero-content[b-t1dtbd6ok5] {
        align-items: flex-start;
    }

    .customer-hero-icon[b-t1dtbd6ok5] {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        border-radius: 15px;
        font-size: 23px;
    }

    .customer-hero h1[b-t1dtbd6ok5] {
        font-size: 23px;
    }

    .customer-form-grid[b-t1dtbd6ok5],
    .customer-form-grid-primary[b-t1dtbd6ok5] {
        grid-template-columns: 1fr;
    }

    .customer-field-wide[b-t1dtbd6ok5],
    .customer-field-full[b-t1dtbd6ok5] {
        grid-column: auto;
    }

    .customer-mobile-actions[b-t1dtbd6ok5] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/CustomerStatement.razor.rz.scp.css */
.customer-statement-page[b-r01d7gx68q] {
    width: 100%;
    padding: 24px 24px 48px;
    color: #0f172a;
}

.statement-hero[b-r01d7gx68q],
.statement-filter-card[b-r01d7gx68q],
.statement-table-card[b-r01d7gx68q] {
    border: 1px solid #dfe7f3;
    background: rgba(255, 255, 255, .96);
    border-radius: 28px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .07);
}

.statement-hero[b-r01d7gx68q] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px 34px;
    margin-bottom: 20px;
    background:
        radial-gradient(circle at 12% 20%, rgba(99, 102, 241, .13), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
}

.statement-eyebrow[b-r01d7gx68q] {
    display: inline-block;
    margin-bottom: 7px;
    color: #5b4bf2;
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: .8px;
}

.statement-hero h1[b-r01d7gx68q],
.statement-table-head h2[b-r01d7gx68q],
.statement-filter-head h2[b-r01d7gx68q] {
    margin: 0;
    font-weight: 1000;
    color: #0f172a;
}

.statement-hero h1[b-r01d7gx68q] { font-size: 30px; }
.statement-hero p[b-r01d7gx68q],
.statement-table-head p[b-r01d7gx68q],
.statement-filter-head p[b-r01d7gx68q] {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.statement-hero-badge[b-r01d7gx68q] {
    min-width: 190px;
    padding: 18px 22px;
    text-align: center;
    border-radius: 22px;
    border: 1px solid #ddd6fe;
    background: linear-gradient(135deg, #f5f3ff, #eef2ff);
}

.statement-hero-badge span[b-r01d7gx68q],
.statement-hero-badge small[b-r01d7gx68q] { display: block; color: #6d5fd0; font-weight: 900; }
.statement-hero-badge strong[b-r01d7gx68q] { display: block; margin: 4px 0; color: var(--erp-primary, #4f46e5); font-size: 24px; font-weight: 1000; }

.statement-filter-card[b-r01d7gx68q] { padding: 24px; margin-bottom: 20px; }
.statement-filter-head[b-r01d7gx68q],
.statement-table-head[b-r01d7gx68q] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #e7edf5;
}

.statement-filter-head h2[b-r01d7gx68q],
.statement-table-head h2[b-r01d7gx68q] { font-size: 21px; }

.statement-customer-count[b-r01d7gx68q] {
    padding: 9px 13px;
    border-radius: 999px;
    color: var(--erp-primary, #4f46e5);
    background: #eef2ff;
    font-size: 12px;
    font-weight: 1000;
}

.statement-filter-grid[b-r01d7gx68q] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 14px;
    align-items: end;
}

.statement-field label[b-r01d7gx68q] {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 12px;
    font-weight: 950;
}

.statement-select[b-r01d7gx68q] {
    width: 100%;
    height: 52px;
    padding: 0 15px;
    border: 1px solid #d7e1ef;
    border-radius: 15px;
    background: #f8fbff;
    color: #0f172a;
    font-family: inherit;
    font-size: 13px;
    font-weight: 850;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.statement-select:focus[b-r01d7gx68q] {
    border-color: #7c6cf3;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, .11);
}

.statement-load-btn[b-r01d7gx68q] {
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--erp-primary, #4f46e5), var(--erp-accent, #7c3aed));
    color: var(--erp-on-brand, #ffffff);
    font-family: inherit;
    font-size: 13px;
    font-weight: 1000;
    cursor: pointer;
    box-shadow: 0 13px 28px rgba(79, 70, 229, .24);
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.statement-load-btn:hover:not(:disabled)[b-r01d7gx68q] { transform: translateY(-1px); box-shadow: 0 17px 34px rgba(79, 70, 229, .3); }
.statement-load-btn:disabled[b-r01d7gx68q] { opacity: .65; cursor: wait; }
.statement-btn-icon[b-r01d7gx68q] { font-size: 20px; line-height: 1; }

.statement-message[b-r01d7gx68q] {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 14px 17px;
    margin-bottom: 20px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 800;
}

.statement-message.error[b-r01d7gx68q] { color: #991b1b; border: 1px solid #fecaca; background: #fff1f2; }

.statement-summary-grid[b-r01d7gx68q] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.statement-summary-grid article[b-r01d7gx68q] {
    padding: 20px;
    border: 1px solid #e1e8f2;
    border-radius: 21px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .055);
}

.statement-summary-grid span[b-r01d7gx68q],
.statement-summary-grid small[b-r01d7gx68q] { display: block; color: #64748b; font-size: 12px; font-weight: 850; }
.statement-summary-grid strong[b-r01d7gx68q] { display: block; margin: 7px 0 4px; color: #0f172a; font-size: 22px; font-weight: 1000; }
.statement-summary-grid strong.debit[b-r01d7gx68q] { color: #dc2626; }
.statement-summary-grid strong.credit[b-r01d7gx68q] { color: #059669; }
.statement-summary-grid strong.zero[b-r01d7gx68q] { color: var(--erp-primary, #4f46e5); }

.statement-table-card[b-r01d7gx68q] { padding: 24px; overflow: hidden; }
.statement-table-wrap[b-r01d7gx68q] { width: 100%; overflow-x: auto; border: 1px solid #e3eaf4; border-radius: 18px; }

.statement-table[b-r01d7gx68q] {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
    background: #fff;
}

.statement-table th[b-r01d7gx68q],
.statement-table td[b-r01d7gx68q] { padding: 14px 13px; text-align: right; border-bottom: 1px solid #edf1f6; }
.statement-table thead th[b-r01d7gx68q] { color: #475569; background: #f7f9fc; font-size: 11px; font-weight: 1000; white-space: nowrap; }
.statement-table tbody td[b-r01d7gx68q] { color: #334155; font-size: 12px; font-weight: 750; }
.statement-table tbody tr:hover[b-r01d7gx68q] { background: #fafbff; }
.statement-table tbody tr:last-child td[b-r01d7gx68q] { border-bottom: 0; }
.statement-table tfoot th[b-r01d7gx68q] { padding: 16px 13px; color: #0f172a; background: #f8fafc; font-size: 12px; font-weight: 1000; border-top: 1px solid #dfe7f1; }

.statement-index[b-r01d7gx68q] { width: 54px; text-align: center !important; color: #94a3b8 !important; }
.statement-date[b-r01d7gx68q],
.statement-number[b-r01d7gx68q],
.statement-money[b-r01d7gx68q] { white-space: nowrap; font-variant-numeric: tabular-nums; }
.statement-description[b-r01d7gx68q] { min-width: 250px; }
.statement-money[b-r01d7gx68q] { font-weight: 950 !important; }
.statement-money.debit[b-r01d7gx68q] { color: #dc2626; }
.statement-money.credit[b-r01d7gx68q] { color: #059669; }
.statement-money.balance[b-r01d7gx68q] { color: var(--erp-primary, #4f46e5); }

.statement-type[b-r01d7gx68q] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 1000;
    white-space: nowrap;
}

.statement-type.invoice[b-r01d7gx68q] { color: #1d4ed8; background: #dbeafe; }
.statement-type.payment[b-r01d7gx68q] { color: #047857; background: #d1fae5; }
.statement-type.cheque[b-r01d7gx68q] { color: #9a3412; background: #ffedd5; }
.statement-type.other[b-r01d7gx68q] { color: #475569; background: #e2e8f0; }

.statement-empty-state[b-r01d7gx68q] {
    min-height: 285px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #64748b;
}

.statement-empty-state strong[b-r01d7gx68q] { margin-top: 10px; color: #334155; font-size: 16px; font-weight: 1000; }
.statement-empty-state span[b-r01d7gx68q] { margin-top: 7px; font-size: 12px; font-weight: 700; }
.statement-empty-icon[b-r01d7gx68q] { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 19px; color: var(--erp-primary, #4f46e5); background: #eef2ff; font-size: 28px; font-weight: 1000; }
.statement-empty-state.warning .statement-empty-icon[b-r01d7gx68q] { color: #b45309; background: #fef3c7; }

.statement-spinner[b-r01d7gx68q] {
    width: 42px;
    height: 42px;
    border: 4px solid #e0e7ff;
    border-top-color: var(--erp-primary, #4f46e5);
    border-radius: 50%;
    animation: statement-spin-b-r01d7gx68q .8s linear infinite;
}

@keyframes statement-spin-b-r01d7gx68q { to { transform: rotate(360deg); } }

@media (max-width: 1050px) {
    .statement-summary-grid[b-r01d7gx68q] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .customer-statement-page[b-r01d7gx68q] { padding: 16px 12px 32px; }
    .statement-hero[b-r01d7gx68q] { align-items: stretch; flex-direction: column; padding: 24px 20px; }
    .statement-hero-badge[b-r01d7gx68q] { min-width: 0; }
    .statement-filter-grid[b-r01d7gx68q] { grid-template-columns: 1fr; }
    .statement-summary-grid[b-r01d7gx68q] { grid-template-columns: 1fr; }
    .statement-filter-head[b-r01d7gx68q],
    .statement-table-head[b-r01d7gx68q] { align-items: flex-start; flex-direction: column; }
    .statement-table-card[b-r01d7gx68q],
    .statement-filter-card[b-r01d7gx68q] { padding: 18px; border-radius: 22px; }
}
/* /Components/Pages/DailySalesReport.razor.rz.scp.css */
.daily-sales-page[b-bs19xbesfj] {
    display: grid;
    gap: 20px;
    padding: 22px 24px 40px;
    color: #14213d;
    font-family: inherit;
}

.daily-sales-hero[b-bs19xbesfj],
.daily-sales-filter-card[b-bs19xbesfj],
.daily-sales-table-card[b-bs19xbesfj],
.daily-sales-identity[b-bs19xbesfj] {
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 26px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 50px rgba(43, 63, 104, .08);
}

.daily-sales-hero[b-bs19xbesfj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 15%, rgba(59, 130, 246, .16), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f4f7ff 100%);
}

.daily-sales-hero__title[b-bs19xbesfj] {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.daily-sales-hero__icon[b-bs19xbesfj] {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: 20px;
    background: linear-gradient(145deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    box-shadow: 0 14px 30px rgba(79, 70, 229, .28);
    font-size: 28px;
}

.daily-sales-hero__eyebrow[b-bs19xbesfj],
.daily-sales-filter-card__heading span[b-bs19xbesfj],
.daily-sales-table-card__heading span[b-bs19xbesfj] {
    display: block;
    margin-bottom: 5px;
    color: var(--erp-primary, #2563eb);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .03em;
}

.daily-sales-hero h1[b-bs19xbesfj],
.daily-sales-filter-card h2[b-bs19xbesfj],
.daily-sales-table-card h2[b-bs19xbesfj] {
    margin: 0;
    color: #111827;
    font-weight: 950;
}

.daily-sales-hero h1[b-bs19xbesfj] { font-size: 28px; }
.daily-sales-filter-card h2[b-bs19xbesfj],
.daily-sales-table-card h2[b-bs19xbesfj] { font-size: 19px; }

.daily-sales-hero p[b-bs19xbesfj] {
    margin: 7px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.daily-sales-hero__period[b-bs19xbesfj] {
    min-width: 220px;
    padding: 14px 18px;
    border: 1px solid #dbe7ff;
    border-radius: 18px;
    background: rgba(255,255,255,.8);
    text-align: center;
}

.daily-sales-hero__period span[b-bs19xbesfj] {
    display: block;
    margin-bottom: 5px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.daily-sales-hero__period strong[b-bs19xbesfj] {
    direction: ltr;
    color: #1d4ed8;
    font-size: 14px;
    font-weight: 950;
}

.daily-sales-identity[b-bs19xbesfj] {
    padding: 4px;
    overflow: hidden;
}

.daily-sales-identity[b-bs19xbesfj]  .erp-organization-identity,
.daily-sales-identity[b-bs19xbesfj]  .organization-identity {
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}

.daily-sales-filter-card[b-bs19xbesfj],
.daily-sales-table-card[b-bs19xbesfj] { padding: 22px; }

.daily-sales-filter-card__heading[b-bs19xbesfj],
.daily-sales-table-card__heading[b-bs19xbesfj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.daily-sales-today-btn[b-bs19xbesfj],
.daily-sales-load-btn[b-bs19xbesfj] {
    border: 0;
    cursor: pointer;
    font-family: inherit;
    font-weight: 900;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.daily-sales-today-btn[b-bs19xbesfj] {
    min-width: 86px;
    padding: 10px 16px;
    border: 1px solid #cfe0ff;
    border-radius: 13px;
    color: #1d4ed8;
    background: #eff6ff;
}

.daily-sales-filter-grid[b-bs19xbesfj] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(180px, .72fr);
    gap: 14px;
    align-items: end;
}

.daily-sales-field[b-bs19xbesfj] {
    display: grid;
    gap: 8px;
}

.daily-sales-field > span[b-bs19xbesfj] {
    color: #475569;
    font-size: 12px;
    font-weight: 900;
}

.daily-sales-field input[b-bs19xbesfj] {
    width: 100%;
    min-height: 49px;
    padding: 0 15px;
    border: 1px solid #dbe3ef;
    border-radius: 15px;
    outline: none;
    color: #0f172a;
    background: #f8fafc;
    direction: ltr;
    text-align: center;
    font: 900 14px inherit;
    box-sizing: border-box;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.daily-sales-field input:focus[b-bs19xbesfj] {
    border-color: #60a5fa;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, .1);
}

.daily-sales-load-btn[b-bs19xbesfj] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 49px;
    padding: 0 20px;
    border-radius: 15px;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-primary, #4f46e5));
    box-shadow: 0 10px 24px rgba(37, 99, 235, .22);
}

.daily-sales-load-btn:hover:not(:disabled)[b-bs19xbesfj],
.daily-sales-today-btn:hover:not(:disabled)[b-bs19xbesfj] { transform: translateY(-1px); }
.daily-sales-load-btn:disabled[b-bs19xbesfj],
.daily-sales-today-btn:disabled[b-bs19xbesfj] { cursor: default; opacity: .65; }

.daily-sales-message[b-bs19xbesfj] {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 13px;
    font-size: 12px;
    font-weight: 850;
}

.daily-sales-message--error[b-bs19xbesfj] {
    color: #b91c1c;
    border: 1px solid #fecaca;
    background: #fff1f2;
}

.daily-sales-kpis[b-bs19xbesfj] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.daily-sales-kpi[b-bs19xbesfj] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 112px;
    padding: 18px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 21px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(43, 63, 104, .07);
}

.daily-sales-kpi[b-bs19xbesfj]::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--kpi-color);
}

.daily-sales-kpi--blue[b-bs19xbesfj] { --kpi-color: var(--erp-primary, #2563eb); }
.daily-sales-kpi--violet[b-bs19xbesfj] { --kpi-color: var(--erp-accent, #7c3aed); }
.daily-sales-kpi--amber[b-bs19xbesfj] { --kpi-color: #f59e0b; }
.daily-sales-kpi--green[b-bs19xbesfj] { --kpi-color: #10b981; }

.daily-sales-kpi__icon[b-bs19xbesfj] {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 15px;
    color: var(--kpi-color);
    background: color-mix(in srgb, var(--kpi-color) 12%, white);
    font-size: 21px;
    font-weight: 950;
}

.daily-sales-kpi div[b-bs19xbesfj] { min-width: 0; }
.daily-sales-kpi div > span[b-bs19xbesfj],
.daily-sales-kpi small[b-bs19xbesfj] {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.daily-sales-kpi strong[b-bs19xbesfj] {
    display: block;
    margin: 4px 0;
    overflow: hidden;
    color: #0f172a;
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 950;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.daily-sales-table-card__count[b-bs19xbesfj] {
    padding: 8px 13px;
    border-radius: 999px;
    color: #1d4ed8;
    background: #eff6ff;
    font-size: 11px;
    font-weight: 900;
}

.daily-sales-table-wrap[b-bs19xbesfj] {
    overflow: auto;
    border: 1px solid #e3eaf4;
    border-radius: 18px;
}

.daily-sales-table[b-bs19xbesfj] {
    width: 100%;
    min-width: 1050px;
    border-collapse: collapse;
    font-size: 12px;
}

.daily-sales-table th[b-bs19xbesfj],
.daily-sales-table td[b-bs19xbesfj] {
    padding: 14px 12px;
    border-bottom: 1px solid #edf1f7;
    text-align: center;
    vertical-align: middle;
}

.daily-sales-table th[b-bs19xbesfj] {
    position: sticky;
    top: 0;
    z-index: 1;
    color: #475569;
    background: #f8fafc;
    font-size: 11px;
    font-weight: 950;
    white-space: nowrap;
}

.daily-sales-table tbody tr:hover td[b-bs19xbesfj] { background: #f8fbff; }
.daily-sales-table tbody tr:last-child td[b-bs19xbesfj] { border-bottom: 0; }
.daily-sales-table .daily-sales-customer[b-bs19xbesfj] { min-width: 150px; text-align: right; }
.daily-sales-nowrap[b-bs19xbesfj] { white-space: nowrap; }
.daily-sales-invoice-no[b-bs19xbesfj] { color: var(--erp-primary, #2563eb); }
.daily-sales-final[b-bs19xbesfj] { color: #047857; white-space: nowrap; }

.daily-sales-table tfoot td[b-bs19xbesfj] {
    border-top: 2px solid #dbe5f1;
    border-bottom: 0;
    color: #172554;
    background: #f1f5f9;
    font-weight: 950;
    white-space: nowrap;
}

.daily-sales-state[b-bs19xbesfj] {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    min-height: 230px;
    color: #64748b;
    text-align: center;
}

.daily-sales-state--empty > span[b-bs19xbesfj] { font-size: 42px; }
.daily-sales-state strong[b-bs19xbesfj] { color: #334155; font-size: 15px; }
.daily-sales-state p[b-bs19xbesfj] { margin: 0; font-size: 12px; }

.daily-sales-spinner[b-bs19xbesfj] {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: daily-sales-spin-b-bs19xbesfj .75s linear infinite;
}

.daily-sales-spinner--large[b-bs19xbesfj] {
    width: 32px;
    height: 32px;
    border-color: #dbeafe;
    border-top-color: var(--erp-primary, #2563eb);
}

@keyframes daily-sales-spin-b-bs19xbesfj { to { transform: rotate(360deg); } }

@media (max-width: 1100px) {
    .daily-sales-kpis[b-bs19xbesfj] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .daily-sales-page[b-bs19xbesfj] { padding: 14px 12px 28px; gap: 14px; }
    .daily-sales-hero[b-bs19xbesfj] { align-items: flex-start; flex-direction: column; padding: 20px; border-radius: 21px; }
    .daily-sales-hero__period[b-bs19xbesfj] { width: 100%; box-sizing: border-box; }
    .daily-sales-filter-card[b-bs19xbesfj],
    .daily-sales-table-card[b-bs19xbesfj] { padding: 17px; border-radius: 21px; }
    .daily-sales-filter-grid[b-bs19xbesfj] { grid-template-columns: 1fr; }
    .daily-sales-kpis[b-bs19xbesfj] { grid-template-columns: 1fr; }
    .daily-sales-kpi[b-bs19xbesfj] { min-height: 92px; }
}

@media (max-width: 480px) {
    .daily-sales-hero__icon[b-bs19xbesfj] { width: 52px; height: 52px; flex-basis: 52px; border-radius: 16px; }
    .daily-sales-hero h1[b-bs19xbesfj] { font-size: 22px; }
    .daily-sales-filter-card__heading[b-bs19xbesfj],
    .daily-sales-table-card__heading[b-bs19xbesfj] { align-items: flex-start; }
}
/* /Components/Pages/Dashboard.razor.rz.scp.css */
/* =========================================================
   ERPPlus Dashboard.razor.css
   مسیر جایگذاری:
   ERPPlus.Web/Components/Pages/Dashboard.razor.css

   اصلاحات:
   - هدر/Toolbar داشبورد
   - فاصله‌های بالا و Grid
   - کشیدگی کنترل‌شده کارت‌ها
   - ظاهر نهایی نزدیک به Screenshot 617
   ========================================================= */

.erpdb-reference[b-jntsxysz4g] {
    --erpdc-card-bg: #0f172a;
    --erpdc-card-soft: #111827;
    --erpdc-card-soft-2: #172033;
    --erpdc-border: #1e293b;
    --erpdc-border-strong: #334155;
    --erpdc-text: #f8fafc;
    --erpdc-muted: #cbd5e1;
    --erpdc-blue: #60a5fa;
    --erpdc-purple: var(--erp-accent, #a78bfa);
    --erpdc-shadow: 0 18px 44px rgba(0, 0, 0, .28);
    width: 100%;
    min-width: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
    margin: 0;
    color: var(--erpdc-text);
    background: transparent;
    box-sizing: border-box;
}

.erpdb-reference.erpdb-light[b-jntsxysz4g] {
    --erpdc-card-bg: #ffffff;
    --erpdc-card-soft: #f8fafc;
    --erpdc-card-soft-2: #eff6ff;
    --erpdc-border: #e2e8f0;
    --erpdc-border-strong: #bfdbfe;
    --erpdc-text: #0f172a;
    --erpdc-muted: #64748b;
    --erpdc-blue: var(--erp-primary, #2563eb);
    --erpdc-purple: var(--erp-accent, #7c3aed);
    --erpdc-shadow: 0 18px 44px rgba(15, 23, 42, .06);
}

/* Dashboard header / toolbar */
.erpdb-reference[b-jntsxysz4g] (.erpdc-toolbar-pro),
.erpdb-reference[b-jntsxysz4g] (.erpdc-dashboard-header),
.erpdb-reference[b-jntsxysz4g] (.erpdc-header),
.erpdb-reference[b-jntsxysz4g] (.erpdc-toolbar) {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    border-radius: 28px !important;
    padding: 16px 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    background:
        radial-gradient(circle at 12% 0%, rgba(37, 99, 235, .12), transparent 260px),
        radial-gradient(circle at 88% 0%, rgba(124, 58, 237, .10), transparent 260px),
        var(--erpdc-card-bg) !important;
    border: 1px solid var(--erpdc-border) !important;
    box-shadow: var(--erpdc-shadow) !important;
    color: var(--erpdc-text) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.erpdb-reference[b-jntsxysz4g] (.erpdc-toolbar-pro h1),
.erpdb-reference[b-jntsxysz4g] (.erpdc-dashboard-header h1),
.erpdb-reference[b-jntsxysz4g] (.erpdc-header h1) {
    margin: 0 !important;
    color: var(--erpdc-text) !important;
    font-size: clamp(22px, 1.7vw, 31px) !important;
    line-height: 1.35 !important;
    font-weight: 1000 !important;
    letter-spacing: -.03em !important;
}

.erpdb-reference[b-jntsxysz4g] (.erpdc-toolbar-pro p),
.erpdb-reference[b-jntsxysz4g] (.erpdc-dashboard-header p),
.erpdb-reference[b-jntsxysz4g] (.erpdc-header p) {
    margin: 5px 0 0 !important;
    color: var(--erpdc-muted) !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
    font-weight: 800 !important;
}

.erpdb-reference[b-jntsxysz4g] (.erpdc-toolbar-buttons),
.erpdb-reference[b-jntsxysz4g] (.erpdc-toolbar-tools) {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

.erpdb-reference[b-jntsxysz4g] (.erpdc-toolbar-buttons button),
.erpdb-reference[b-jntsxysz4g] (.erpdc-toolbar-tools button),
.erpdb-reference[b-jntsxysz4g] (.erpdc-toolbar-pro .mud-button-root),
.erpdb-reference[b-jntsxysz4g] (.erpdc-toolbar-pro .mud-icon-button-root) {
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-width: 1px !important;
    border-radius: 17px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
}

.erpdb-reference[b-jntsxysz4g] (.erpdc-toolbar-buttons button) {
    min-width: 132px !important;
    justify-content: center !important;
}

/* Hero header */
.erpdb-reference[b-jntsxysz4g] (.erpdc-hero) {
    min-height: 250px !important;
    border-radius: 32px !important;
    padding: 28px !important;
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 255, 255, .18), transparent 260px),
        linear-gradient(135deg, var(--erp-primary, #2563eb) 0%, var(--erp-primary, #4f46e5) 48%, var(--erp-accent, #7c3aed) 100%) !important;
    box-shadow: 0 22px 54px rgba(37, 99, 235, .22) !important;
    overflow: hidden !important;
}

.erpdb-reference[b-jntsxysz4g] (.erpdc-hero h1) {
    margin: 0 !important;
    font-size: clamp(27px, 2.2vw, 42px) !important;
    line-height: 1.35 !important;
    font-weight: 1000 !important;
    letter-spacing: -.04em !important;
}

/* Board */
.erpdb-reference-board[b-jntsxysz4g] {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
    grid-auto-flow: dense;
    margin: 0;
    padding: 0;
    background: transparent;
    box-sizing: border-box;
}

.erpdb-reference-widget[b-jntsxysz4g],
.erpdb-reference-widget-body[b-jntsxysz4g] {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    display: block;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    align-self: start;
}

.erpdb-reference-widget-body > *[b-jntsxysz4g] {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.erpdb-reference-widget--hero[b-jntsxysz4g],
.erpdb-reference-widget--kpis[b-jntsxysz4g],
.erpdb-reference-widget--health[b-jntsxysz4g],
.erpdb-reference-widget--user-sales[b-jntsxysz4g],
.erpdb-reference-span-12[b-jntsxysz4g] {
    grid-column: 1 / -1 !important;
}

.erpdb-reference-widget--reports[b-jntsxysz4g],
.erpdb-reference-widget--finance[b-jntsxysz4g],
.erpdb-reference-widget--quick[b-jntsxysz4g],
.erpdb-reference-widget--ai[b-jntsxysz4g],
.erpdb-reference-span-4[b-jntsxysz4g] {
    grid-column: span 4 !important;
}

.erpdb-reference-widget--charts[b-jntsxysz4g],
.erpdb-reference-span-8[b-jntsxysz4g] {
    grid-column: span 8 !important;
}

.erpdb-reference-widget--reports[b-jntsxysz4g],
.erpdb-reference-widget--charts[b-jntsxysz4g],
.erpdb-reference-widget--finance[b-jntsxysz4g],
.erpdb-reference-widget--quick[b-jntsxysz4g],
.erpdb-reference-widget--ai[b-jntsxysz4g],
.erpdb-reference-widget--health[b-jntsxysz4g] {
    min-height: auto !important;
}

/* Child cards */
.erpdb-reference[b-jntsxysz4g] (.erpdc-kpis),
.erpdb-reference[b-jntsxysz4g] (.erpdc-kpi-grid) {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
}

.erpdb-reference[b-jntsxysz4g] (.erpdc-kpi-card),
.erpdb-reference[b-jntsxysz4g] (.erpdc-chart-card),
.erpdb-reference[b-jntsxysz4g] (.erpdc-reports-enterprise),
.erpdb-reference[b-jntsxysz4g] (.erpdc-actions-enterprise),
.erpdb-reference[b-jntsxysz4g] (.erpdc-finance-enterprise),
.erpdb-reference[b-jntsxysz4g] (.erpdc-ai-enterprise),
.erpdb-reference[b-jntsxysz4g] (.erpdc-health-pro),
.erpdb-reference[b-jntsxysz4g] (.erpdc-footer-enterprise) {
    background:
        radial-gradient(circle at 12% 0%, rgba(37, 99, 235, .08), transparent 240px),
        var(--erpdc-card-bg) !important;
    border: 1px solid var(--erpdc-border) !important;
    color: var(--erpdc-text) !important;
    box-shadow: var(--erpdc-shadow) !important;
    border-radius: 28px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.erpdb-reference[b-jntsxysz4g] (.erpdc-kpi-card) {
    min-height: 158px !important;
    padding: 20px !important;
}

.erpdb-reference[b-jntsxysz4g] (.erpdc-reports-enterprise),
.erpdb-reference[b-jntsxysz4g] (.erpdc-chart-card),
.erpdb-reference[b-jntsxysz4g] (.erpdc-finance-enterprise),
.erpdb-reference[b-jntsxysz4g] (.erpdc-actions-enterprise),
.erpdb-reference[b-jntsxysz4g] (.erpdc-ai-enterprise) {
    min-height: 0;
    height: 100%;
}

.erpdb-reference[b-jntsxysz4g] (.erpdc-charts) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 20px !important;
    height: auto !important;
    min-height: 0;
}

.erpdb-reference[b-jntsxysz4g] (.erpdc-charts .erpdc-chart-card) {
    min-height: 420px;
    height: 100%;
}

.erpdb-reference[b-jntsxysz4g] (.erpdc-report-item),
.erpdb-reference[b-jntsxysz4g] (.finance-card),
.erpdb-reference[b-jntsxysz4g] (.erpdc-actions-grid a),
.erpdb-reference[b-jntsxysz4g] (.erpdc-health-pro-grid article),
.erpdb-reference[b-jntsxysz4g] (.erpdc-ai-result),
.erpdb-reference[b-jntsxysz4g] (.erpdc-ai-metrics div),
.erpdb-reference[b-jntsxysz4g] (.erpdc-health-score),
.erpdb-reference[b-jntsxysz4g] (.erpdc-health-pro-footer) {
    background: rgba(255, 255, 255, .045) !important;
    border-color: rgba(148, 163, 184, .16) !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
}

.erpdb-reference[b-jntsxysz4g] (.erpdc-reports-enterprise header),
.erpdb-reference[b-jntsxysz4g] (.erpdc-chart-card header),
.erpdb-reference[b-jntsxysz4g] (.erpdc-finance-enterprise header),
.erpdb-reference[b-jntsxysz4g] (.erpdc-actions-enterprise header),
.erpdb-reference[b-jntsxysz4g] (.erpdc-ai-enterprise header),
.erpdb-reference[b-jntsxysz4g] (.erpdc-health-pro header) {
    margin-bottom: 16px !important;
}

.erpdb-reference[b-jntsxysz4g] (h1),
.erpdb-reference[b-jntsxysz4g] (h2),
.erpdb-reference[b-jntsxysz4g] (h3),
.erpdb-reference[b-jntsxysz4g] (h4),
.erpdb-reference[b-jntsxysz4g] (strong) {
    color: var(--erpdc-text) !important;
}

.erpdb-reference[b-jntsxysz4g] (p),
.erpdb-reference[b-jntsxysz4g] (span),
.erpdb-reference[b-jntsxysz4g] (small),
.erpdb-reference[b-jntsxysz4g] (label) {
    color: var(--erpdc-muted) !important;
}

.erpdb-reference[b-jntsxysz4g] (.erpdc-hero h1),
.erpdb-reference[b-jntsxysz4g] (.erpdc-hero h1 span),
.erpdb-reference[b-jntsxysz4g] (.erpdc-hero p),
.erpdb-reference[b-jntsxysz4g] (.erpdc-hero span),
.erpdb-reference[b-jntsxysz4g] (.erpdc-ai-enterprise h2),
.erpdb-reference[b-jntsxysz4g] (.erpdc-ai-enterprise strong),
.erpdb-reference[b-jntsxysz4g] (.erpdc-ai-enterprise p) {
    color: #ffffff !important;
}

.erpdb-reference-widget.is-editing[b-jntsxysz4g] { cursor: grab; }
.erpdb-reference-widget.is-dragging[b-jntsxysz4g] {
    opacity: .55;
    transform: scale(.985);
}

.erpdb-reference-dragbar[b-jntsxysz4g] {
    min-height: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    margin-bottom: 8px;
    border-radius: 14px;
    color: var(--erpdc-muted);
    background: var(--erpdc-card-bg);
    border: 1px dashed var(--erpdc-border);
    user-select: none;
}

.erpdb-reference-dragbar span[b-jntsxysz4g] {
    color: var(--erpdc-muted);
    font-size: 11px;
    font-weight: 950;
}

.erpdb-reference-dragbar b[b-jntsxysz4g] {
    min-height: 22px;
    display: inline-flex;
    align-items: center;
    padding: 0 9px;
    border-radius: 999px;
    color: var(--erpdc-blue);
    background: var(--erpdc-card-soft-2);
    font-size: 10px;
    font-weight: 1000;
}

.erpdb-dashboard[b-jntsxysz4g],
.erpdb-board[b-jntsxysz4g],
.erpdb-widget[b-jntsxysz4g],
.erpdb-widget-body[b-jntsxysz4g] {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 1440px) {
    .erpdb-reference[b-jntsxysz4g] (.erpdc-toolbar-buttons button) { min-width: 118px !important; }
    .erpdb-reference[b-jntsxysz4g] (.erpdc-kpis),
    .erpdb-reference[b-jntsxysz4g] (.erpdc-kpi-grid) { gap: 16px !important; }
}

@media (max-width: 1280px) {
    .erpdb-reference-widget--reports[b-jntsxysz4g],
    .erpdb-reference-widget--finance[b-jntsxysz4g],
    .erpdb-reference-widget--quick[b-jntsxysz4g],
    .erpdb-reference-widget--ai[b-jntsxysz4g],
    .erpdb-reference-widget--charts[b-jntsxysz4g],
    .erpdb-reference-span-4[b-jntsxysz4g],
    .erpdb-reference-span-8[b-jntsxysz4g] {
        grid-column: span 6 !important;
    }

    .erpdb-reference[b-jntsxysz4g] (.erpdc-kpis),
    .erpdb-reference[b-jntsxysz4g] (.erpdc-kpi-grid) {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .erpdb-reference[b-jntsxysz4g] (.erpdc-charts) { grid-template-columns: 1fr !important; }

    .erpdb-reference[b-jntsxysz4g] (.erpdc-reports-enterprise),
    .erpdb-reference[b-jntsxysz4g] (.erpdc-chart-card),
    .erpdb-reference[b-jntsxysz4g] (.erpdc-finance-enterprise),
    .erpdb-reference[b-jntsxysz4g] (.erpdc-actions-enterprise),
    .erpdb-reference[b-jntsxysz4g] (.erpdc-ai-enterprise),
    .erpdb-reference[b-jntsxysz4g] (.erpdc-charts .erpdc-chart-card) {
        height: auto !important;
        min-height: 430px !important;
    }
}

@media (max-width: 900px) {
    .erpdb-reference[b-jntsxysz4g] { gap: 16px; }

    .erpdb-reference-board[b-jntsxysz4g] {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .erpdb-reference-widget[b-jntsxysz4g],
    .erpdb-reference-span-12[b-jntsxysz4g],
    .erpdb-reference-span-8[b-jntsxysz4g],
    .erpdb-reference-span-4[b-jntsxysz4g],
    .erpdb-reference-widget--hero[b-jntsxysz4g],
    .erpdb-reference-widget--kpis[b-jntsxysz4g],
    .erpdb-reference-widget--charts[b-jntsxysz4g],
    .erpdb-reference-widget--reports[b-jntsxysz4g],
    .erpdb-reference-widget--finance[b-jntsxysz4g],
    .erpdb-reference-widget--quick[b-jntsxysz4g],
    .erpdb-reference-widget--ai[b-jntsxysz4g],
    .erpdb-reference-widget--health[b-jntsxysz4g] {
        grid-column: 1 / -1 !important;
        min-height: auto !important;
    }

    .erpdb-reference[b-jntsxysz4g] (.erpdc-toolbar-pro),
    .erpdb-reference[b-jntsxysz4g] (.erpdc-dashboard-header),
    .erpdb-reference[b-jntsxysz4g] (.erpdc-header),
    .erpdb-reference[b-jntsxysz4g] (.erpdc-toolbar) {
        align-items: stretch !important;
        flex-direction: column !important;
        border-radius: 24px !important;
    }

    .erpdb-reference[b-jntsxysz4g] (.erpdc-kpis),
    .erpdb-reference[b-jntsxysz4g] (.erpdc-kpi-grid) {
        grid-template-columns: 1fr !important;
    }

    .erpdb-reference[b-jntsxysz4g] (.erpdc-reports-enterprise),
    .erpdb-reference[b-jntsxysz4g] (.erpdc-chart-card),
    .erpdb-reference[b-jntsxysz4g] (.erpdc-finance-enterprise),
    .erpdb-reference[b-jntsxysz4g] (.erpdc-actions-enterprise),
    .erpdb-reference[b-jntsxysz4g] (.erpdc-ai-enterprise),
    .erpdb-reference[b-jntsxysz4g] (.erpdc-health-pro),
    .erpdb-reference[b-jntsxysz4g] (.erpdc-charts .erpdc-chart-card) {
        height: auto !important;
        min-height: auto !important;
    }
}

/* =========================================================
   ERPPlus Dashboard Final Height + Chart Visibility Patch
   مسیر جایگذاری:
   ERPPlus.Web/Components/Pages/Dashboard.razor.css
   ========================================================= */

.erpdb-reference-board[b-jntsxysz4g] {
    align-items: stretch !important;
}

.erpdb-reference-widget[b-jntsxysz4g],
.erpdb-reference-widget-body[b-jntsxysz4g] {
    height: 100% !important;
}

.erpdb-reference-widget--reports[b-jntsxysz4g],
.erpdb-reference-widget--charts[b-jntsxysz4g] {
    min-height: 0;
}

.erpdb-reference-widget--reports .erpdb-reference-widget-body[b-jntsxysz4g],
.erpdb-reference-widget--charts .erpdb-reference-widget-body[b-jntsxysz4g] {
    min-height: 0;
}

.erpdb-reference[b-jntsxysz4g] (.erpdc-reports-enterprise),
.erpdb-reference[b-jntsxysz4g] (.erpdc-charts),
.erpdb-reference[b-jntsxysz4g] (.erpdc-chart-card) {
    height: 100% !important;
    min-height: 0;
}

.erpdb-reference[b-jntsxysz4g] (.erpdc-chart-card) {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) auto !important;
}

.erpdb-reference[b-jntsxysz4g] (.erpdc-chart-body),
.erpdb-reference[b-jntsxysz4g] (.erpdc-chart-area) {
    min-height: 330px !important;
    height: 100% !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.erpdb-reference[b-jntsxysz4g] (.erpdc-chart-card svg),
.erpdb-reference[b-jntsxysz4g] (.erpdc-chart-card canvas) {
    width: 100% !important;
    height: 100% !important;
    min-height: 330px !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.erpdb-reference-widget--finance[b-jntsxysz4g],
.erpdb-reference-widget--quick[b-jntsxysz4g],
.erpdb-reference-widget--ai[b-jntsxysz4g] {
    min-height: 0;
}

.erpdb-reference-widget--finance .erpdb-reference-widget-body[b-jntsxysz4g],
.erpdb-reference-widget--quick .erpdb-reference-widget-body[b-jntsxysz4g],
.erpdb-reference-widget--ai .erpdb-reference-widget-body[b-jntsxysz4g],
.erpdb-reference[b-jntsxysz4g] (.erpdc-finance-enterprise),
.erpdb-reference[b-jntsxysz4g] (.erpdc-actions-enterprise),
.erpdb-reference[b-jntsxysz4g] (.erpdc-ai-enterprise) {
    height: 100% !important;
    min-height: 0;
}

@media (max-width: 1280px) {
    .erpdb-reference-widget--reports[b-jntsxysz4g],
    .erpdb-reference-widget--charts[b-jntsxysz4g],
    .erpdb-reference-widget--finance[b-jntsxysz4g],
    .erpdb-reference-widget--quick[b-jntsxysz4g],
    .erpdb-reference-widget--ai[b-jntsxysz4g],
    .erpdb-reference-widget--reports .erpdb-reference-widget-body[b-jntsxysz4g],
    .erpdb-reference-widget--charts .erpdb-reference-widget-body[b-jntsxysz4g],
    .erpdb-reference-widget--finance .erpdb-reference-widget-body[b-jntsxysz4g],
    .erpdb-reference-widget--quick .erpdb-reference-widget-body[b-jntsxysz4g],
    .erpdb-reference-widget--ai .erpdb-reference-widget-body[b-jntsxysz4g],
    .erpdb-reference[b-jntsxysz4g] (.erpdc-reports-enterprise),
    .erpdb-reference[b-jntsxysz4g] (.erpdc-charts),
    .erpdb-reference[b-jntsxysz4g] (.erpdc-chart-card),
    .erpdb-reference[b-jntsxysz4g] (.erpdc-finance-enterprise),
    .erpdb-reference[b-jntsxysz4g] (.erpdc-actions-enterprise),
    .erpdb-reference[b-jntsxysz4g] (.erpdc-ai-enterprise) {
        min-height: 500px !important;
    }
}

@media (max-width: 900px) {
    .erpdb-reference-widget--reports[b-jntsxysz4g],
    .erpdb-reference-widget--charts[b-jntsxysz4g],
    .erpdb-reference-widget--finance[b-jntsxysz4g],
    .erpdb-reference-widget--quick[b-jntsxysz4g],
    .erpdb-reference-widget--ai[b-jntsxysz4g],
    .erpdb-reference-widget--reports .erpdb-reference-widget-body[b-jntsxysz4g],
    .erpdb-reference-widget--charts .erpdb-reference-widget-body[b-jntsxysz4g],
    .erpdb-reference-widget--finance .erpdb-reference-widget-body[b-jntsxysz4g],
    .erpdb-reference-widget--quick .erpdb-reference-widget-body[b-jntsxysz4g],
    .erpdb-reference-widget--ai .erpdb-reference-widget-body[b-jntsxysz4g],
    .erpdb-reference[b-jntsxysz4g] (.erpdc-reports-enterprise),
    .erpdb-reference[b-jntsxysz4g] (.erpdc-charts),
    .erpdb-reference[b-jntsxysz4g] (.erpdc-chart-card),
    .erpdb-reference[b-jntsxysz4g] (.erpdc-finance-enterprise),
    .erpdb-reference[b-jntsxysz4g] (.erpdc-actions-enterprise),
    .erpdb-reference[b-jntsxysz4g] (.erpdc-ai-enterprise) {
        height: auto !important;
        min-height: auto !important;
    }
}

/* =========================================================
   Dashboard layout final correction - 2026-07-16
   ========================================================= */
.erpdb-reference-board[b-jntsxysz4g] {
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch !important;
}

.erpdb-reference-widget--finance[b-jntsxysz4g],
.erpdb-reference-widget--quick[b-jntsxysz4g] {
    grid-column: span 6 !important;
}

.erpdb-reference-widget--ai[b-jntsxysz4g] {
    grid-column: 1 / -1 !important;
}

.erpdb-reference-widget--finance[b-jntsxysz4g],
.erpdb-reference-widget--quick[b-jntsxysz4g],
.erpdb-reference-widget--ai[b-jntsxysz4g],
.erpdb-reference-widget--finance .erpdb-reference-widget-body[b-jntsxysz4g],
.erpdb-reference-widget--quick .erpdb-reference-widget-body[b-jntsxysz4g],
.erpdb-reference-widget--ai .erpdb-reference-widget-body[b-jntsxysz4g] {
    min-height: 0 !important;
    height: auto !important;
}

.erpdb-reference[b-jntsxysz4g] (.erpdc-finance-enterprise),
.erpdb-reference[b-jntsxysz4g] (.erpdc-actions-enterprise) {
    min-height: 0;
    height: 100% !important;
}

.erpdb-reference[b-jntsxysz4g] (.erpdc-ai-enterprise) {
    min-height: 0 !important;
    height: auto !important;
}

@media (max-width: 1180px) {
    .erpdb-reference-widget--finance[b-jntsxysz4g],
    .erpdb-reference-widget--quick[b-jntsxysz4g],
    .erpdb-reference-widget--ai[b-jntsxysz4g] {
        grid-column: 1 / -1 !important;
    }
}

/* Premium dashboard design system */
.erpdb-reference[b-jntsxysz4g]{--erp-primary:#5b5bff;--erp-accent:#7c4dff;--erp-success:#00c853;--erp-warning:#ffb300;--erp-danger:#ff5252;gap:24px;animation:dashboard-enter-b-jntsxysz4g .45s ease both}
.erpdb-reference.erpdb-light[b-jntsxysz4g]{--erpdc-card-bg:rgba(255,255,255,.78);--erpdc-card-soft:rgba(245,247,251,.78);--erpdc-border:rgba(255,255,255,.9);--erpdc-shadow:0 18px 55px rgba(36,43,92,.09)}
.erpdb-reference.erpdb-dark[b-jntsxysz4g]{--erpdc-card-bg:rgba(15,23,42,.78);--erpdc-card-soft:rgba(30,41,59,.7);--erpdc-border:rgba(148,163,184,.15);--erpdc-shadow:0 22px 60px rgba(0,0,0,.28)}
.erpdb-reference-widget[b-jntsxysz4g]{transition:transform .25s ease,opacity .25s ease,filter .25s ease}.erpdb-reference-widget:hover[b-jntsxysz4g]{z-index:2}.erpdb-reference-widget.is-editing[b-jntsxysz4g]{padding:7px;border:1px dashed rgba(91,91,255,.45);border-radius:28px;background:rgba(91,91,255,.035)}
.erpdb-reference-dragbar[b-jntsxysz4g]{min-height:42px;background:linear-gradient(135deg,rgba(91,91,255,.08),rgba(124,77,255,.06));border-color:rgba(91,91,255,.3)}.erpdb-reference-dragbar button[b-jntsxysz4g]{margin-left:auto;padding:6px 10px;border:0;border-radius:10px;color:var(--erp-on-brand, #ffffff);background:linear-gradient(135deg,var(--erp-primary),var(--erp-accent));font-family:inherit;font-size:10px;font-weight:900;cursor:pointer;box-shadow:0 7px 18px rgba(91,91,255,.2)}
.erpdb-reference-widget.erpdb-size-small:not(.erpdb-reference-widget--hero):not(.erpdb-reference-widget--kpis):not(.erpdb-reference-widget--health):not(.erpdb-reference-widget--user-sales)[b-jntsxysz4g]{grid-column:span 4!important}.erpdb-reference-widget.erpdb-size-medium:not(.erpdb-reference-widget--hero):not(.erpdb-reference-widget--kpis):not(.erpdb-reference-widget--health):not(.erpdb-reference-widget--user-sales)[b-jntsxysz4g]{grid-column:span 6!important}.erpdb-reference-widget.erpdb-size-large:not(.erpdb-reference-widget--hero):not(.erpdb-reference-widget--kpis):not(.erpdb-reference-widget--health):not(.erpdb-reference-widget--user-sales)[b-jntsxysz4g]{grid-column:span 8!important}.erpdb-reference-widget.erpdb-size-full[b-jntsxysz4g]{grid-column:1/-1!important}
.erpdb-reference[b-jntsxysz4g] (.erpdc-chart-card),.erpdb-reference[b-jntsxysz4g] (.erpdc-finance-enterprise),.erpdb-reference[b-jntsxysz4g] (.erpdc-actions-enterprise),.erpdb-reference[b-jntsxysz4g] (.erpdc-ai-enterprise),.erpdb-reference[b-jntsxysz4g] (.erpdc-health-pro),.erpdb-reference[b-jntsxysz4g] (.erpdc-footer-enterprise){backdrop-filter:blur(22px);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}.erpdb-reference[b-jntsxysz4g] (.erpdc-chart-card:hover),.erpdb-reference[b-jntsxysz4g] (.erpdc-finance-enterprise:hover),.erpdb-reference[b-jntsxysz4g] (.erpdc-actions-enterprise:hover),.erpdb-reference[b-jntsxysz4g] (.erpdc-ai-enterprise:hover){transform:translateY(-5px);border-color:rgba(91,91,255,.35)!important;box-shadow:0 28px 70px rgba(91,91,255,.12)!important}
@keyframes dashboard-enter-b-jntsxysz4g{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(max-width:900px){.erpdb-reference-widget.erpdb-size-small[b-jntsxysz4g],.erpdb-reference-widget.erpdb-size-medium[b-jntsxysz4g],.erpdb-reference-widget.erpdb-size-large[b-jntsxysz4g],.erpdb-reference-widget.erpdb-size-full[b-jntsxysz4g]{grid-column:1/-1!important}}
@media(prefers-reduced-motion:reduce){.erpdb-reference[b-jntsxysz4g],.erpdb-reference *[b-jntsxysz4g]{animation:none!important;transition:none!important}}

.erpdb-user-sales-row[b-jntsxysz4g] {
    grid-column: 1 / -1 !important;
    width: 100%;
    min-width: 0;
    margin: 0;
}
/* /Components/Pages/DashboardCanvas/DashboardAiInsights.razor.rz.scp.css */
.erpdc-ai-enterprise[b-tgrt0nhchk]{position:relative;width:100%;min-width:0;min-height:520px;display:flex;flex-direction:column;gap:14px;padding:24px;border-radius:28px;color:#fff;background:radial-gradient(circle at 15% 10%,rgba(var(--erp-primary-rgb, 59, 130, 246),.20),transparent 260px),radial-gradient(circle at 92% 8%,rgba(var(--erp-accent-rgb, 124, 58, 237),.24),transparent 250px),linear-gradient(145deg,#16213a,#0f172a 60%,#0b1220);border:1px solid rgba(148,163,184,.18);box-shadow:0 22px 60px rgba(15,23,42,.18);overflow:hidden;isolation:isolate;box-sizing:border-box}
.erpdc-ai-bg[b-tgrt0nhchk]{position:absolute;inset:0;z-index:-1;opacity:.55;background:linear-gradient(120deg,transparent 15%,rgba(255,255,255,.045) 36%,transparent 48%)}
.erpdc-ai-header[b-tgrt0nhchk]{display:grid;grid-template-columns:64px minmax(0,1fr);gap:14px;align-items:center}.erpdc-ai-avatar[b-tgrt0nhchk]{width:64px;height:64px;display:grid;place-items:center;border-radius:20px;background:linear-gradient(135deg,var(--erp-primary, #2563eb),var(--erp-accent, #7c3aed));box-shadow:0 18px 40px rgba(var(--erp-primary-rgb, 79, 70, 229),.35)}
.erpdc-ai-header span[b-tgrt0nhchk]{color:#93c5fd;font-size:11px;font-weight:900}.erpdc-ai-header h2[b-tgrt0nhchk]{margin:3px 0 0;font-size:24px;line-height:1.4;font-weight:1000}.erpdc-ai-header p[b-tgrt0nhchk]{margin:4px 0 0;color:#bfdbfe;font-size:12px;line-height:1.8;font-weight:800}
.erpdc-ai-chat[b-tgrt0nhchk]{height:260px;overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:20px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.11);scroll-behavior:smooth}.erpdc-ai-empty[b-tgrt0nhchk]{margin:auto;color:#bfdbfe;font-size:13px;text-align:center}
.erpdc-ai-chat-end[b-tgrt0nhchk]{height:1px;outline:none}
.erpdc-ai-message[b-tgrt0nhchk]{max-width:86%;padding:11px 14px;border-radius:16px;background:rgba(255,255,255,.10);align-self:flex-start}.erpdc-ai-message.is-user[b-tgrt0nhchk]{align-self:flex-end;background:linear-gradient(135deg,var(--erp-primary, #2563eb),var(--erp-primary, #4f46e5))}.erpdc-ai-message strong[b-tgrt0nhchk]{display:block;color:#bfdbfe;font-size:10px}.erpdc-ai-message p[b-tgrt0nhchk]{margin:5px 0;color:#f8fafc;white-space:pre-wrap;line-height:1.9;font-size:13px}.erpdc-ai-message time[b-tgrt0nhchk]{display:block;color:#cbd5e1;font-size:9px;text-align:left}
.erpdc-ai-message.is-loading[b-tgrt0nhchk]{display:flex;gap:5px}.erpdc-ai-message.is-loading span[b-tgrt0nhchk]{width:7px;height:7px;border-radius:50%;background:#93c5fd;animation:erpdc-pulse-b-tgrt0nhchk 1s infinite alternate}.erpdc-ai-message.is-loading span:nth-child(2)[b-tgrt0nhchk]{animation-delay:.2s}.erpdc-ai-message.is-loading span:nth-child(3)[b-tgrt0nhchk]{animation-delay:.4s}@keyframes erpdc-pulse-b-tgrt0nhchk{to{opacity:.25;transform:translateY(-3px)}}
.erpdc-ai-error[b-tgrt0nhchk]{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border-radius:14px;color:#fecaca;background:rgba(127,29,29,.45);font-size:12px}.erpdc-ai-error button[b-tgrt0nhchk]{border:1px solid rgba(255,255,255,.25);border-radius:10px;padding:6px 10px;color:#fff;background:transparent;font-family:inherit;cursor:pointer}
.erpdc-ai-actions[b-tgrt0nhchk]{display:flex;flex-wrap:wrap;gap:8px}.erpdc-ai-actions button[b-tgrt0nhchk]{min-height:38px;display:inline-flex;align-items:center;gap:7px;padding:0 13px;border-radius:999px;border:1px solid rgba(255,255,255,.15);color:#fff;background:rgba(255,255,255,.09);font-family:inherit;font-size:11px;font-weight:900;cursor:pointer}.erpdc-ai-actions button:disabled[b-tgrt0nhchk]{opacity:.5;cursor:not-allowed}
.erpdc-ai-input[b-tgrt0nhchk]{display:grid;grid-template-columns:minmax(0,1fr) 46px;align-items:center;gap:10px;padding:7px;border-radius:18px;background:#fff;box-shadow:0 14px 34px rgba(2,6,23,.18)}.erpdc-ai-input textarea[b-tgrt0nhchk]{width:100%;min-width:0;resize:none;border:0;outline:0;color:#0f172a;background:transparent;font-family:inherit;font-size:13px;font-weight:700;line-height:1.7;text-align:right}.erpdc-ai-send[b-tgrt0nhchk]{width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:14px;color:var(--erp-on-brand,#fff);background:linear-gradient(135deg,var(--erp-primary, #2563eb),var(--erp-accent, #7c3aed));cursor:pointer}.erpdc-ai-send:disabled[b-tgrt0nhchk]{opacity:.45;cursor:not-allowed}
@media(max-width:760px){.erpdc-ai-enterprise[b-tgrt0nhchk]{padding:18px;border-radius:22px}.erpdc-ai-header[b-tgrt0nhchk]{grid-template-columns:52px 1fr}.erpdc-ai-avatar[b-tgrt0nhchk]{width:52px;height:52px}.erpdc-ai-chat[b-tgrt0nhchk]{height:300px}.erpdc-ai-message[b-tgrt0nhchk]{max-width:94%}}

/* ERPPlus scoped theme tokens: AI keeps its dark glass identity in both modes */
.erpdc-ai-enterprise[b-tgrt0nhchk]{color:#f8fafc!important;background:radial-gradient(circle at 15% 10%,rgba(var(--erp-primary-rgb),.20),transparent 260px),radial-gradient(circle at 92% 8%,rgba(var(--erp-accent-rgb),.24),transparent 250px),linear-gradient(145deg,#16213a,#0f172a 60%,#0b1220)!important}
.erpdc-ai-header h2[b-tgrt0nhchk],.erpdc-ai-actions button[b-tgrt0nhchk],.erpdc-ai-message p[b-tgrt0nhchk]{color:#f8fafc!important}
.erpdc-ai-header span[b-tgrt0nhchk],.erpdc-ai-header p[b-tgrt0nhchk],.erpdc-ai-empty[b-tgrt0nhchk],.erpdc-ai-message strong[b-tgrt0nhchk]{color:#bfdbfe!important}
.erpdc-ai-message.is-user[b-tgrt0nhchk]{color:var(--erp-on-primary)!important;background:linear-gradient(135deg,var(--erp-primary),var(--erp-accent))!important}
.erpdc-ai-input[b-tgrt0nhchk]{background:#fff!important}.erpdc-ai-input textarea[b-tgrt0nhchk]{color:#0f172a!important}
.erpdc-ai-send[b-tgrt0nhchk]{color:var(--erp-on-brand)!important;background:linear-gradient(135deg,var(--erp-primary),var(--erp-accent))!important}

/* White/light brand contrast safeguards */
.erpdc-ai-avatar[b-tgrt0nhchk],.erpdc-ai-send[b-tgrt0nhchk]{color:var(--erp-on-brand,#fff)!important}
.erpdc-ai-message.is-user[b-tgrt0nhchk],.erpdc-ai-message.is-user strong[b-tgrt0nhchk],.erpdc-ai-message.is-user p[b-tgrt0nhchk],.erpdc-ai-message.is-user time[b-tgrt0nhchk]{color:var(--erp-on-brand,#fff)!important}
.erpdc-ai-message.is-user[b-tgrt0nhchk]{background:linear-gradient(135deg,var(--erp-primary),var(--erp-accent))!important}
/* /Components/Pages/DashboardCanvas/DashboardCharts.razor.rz.scp.css */
:host[b-mce0xzkiqy] {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
}

.erpdc-charts[b-mce0xzkiqy] {
    width: 100%;
    height: 100%;
    min-height: 560px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.erpdc-chart-card[b-mce0xzkiqy] {
    min-width: 0;
    height: 100%;
    min-height: 560px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 18px;
    padding: 24px;
    border-radius: 30px;
    color: var(--erpdc-text, #0f172a);
    background:
        radial-gradient(circle at 12% 0%, rgba(var(--erp-primary-rgb, 37, 99, 235), .08), transparent 250px),
        var(--erpdc-card-bg, #ffffff);
    border: 1px solid var(--erpdc-border, #e2e8f0);
    box-shadow: var(--erpdc-shadow, 0 18px 44px rgba(15, 23, 42, .06));
    overflow: hidden;
    box-sizing: border-box;
}

.erpdc-chart-header[b-mce0xzkiqy] {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.erpdc-chart-header h2[b-mce0xzkiqy] {
    margin: 0;
    color: var(--erpdc-text, #0f172a);
    font-size: 27px;
    line-height: 1.35;
    font-weight: 1000;
    letter-spacing: -.03em;
}

.erpdc-chart-header span:not(.erpdc-chart-badge)[b-mce0xzkiqy] {
    display: block;
    margin-top: 8px;
    color: var(--erpdc-muted, #64748b);
    font-size: 13px;
    font-weight: 900;
}

.erpdc-chart-badge[b-mce0xzkiqy] {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    color: var(--erp-primary-ink, var(--erp-primary, #2563eb));
    background: var(--erpdc-card-soft-2, #eff6ff);
    border: 1px solid var(--erpdc-border-strong, #bfdbfe);
}

.erpdc-chart-body[b-mce0xzkiqy] {
    min-width: 0;
    min-height: 0;
    display: block;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(148, 163, 184, .08), rgba(148, 163, 184, .035));
    border: 1px solid var(--erpdc-border, #e2e8f0);
    overflow: hidden;
}

.erpdc-chart-svg[b-mce0xzkiqy] {
    width: 100%;
    height: 100%;
    min-height: 330px;
    display: block;
    color: var(--erp-primary-ink, var(--erp-primary, #2563eb));
}

.erpdc-chart-card--purchase .erpdc-chart-svg[b-mce0xzkiqy] {
    color: var(--erp-accent-ink, var(--erp-accent, #7c3aed));
}

.erpdc-chart-grid-line[b-mce0xzkiqy] {
    stroke: currentColor;
    stroke-opacity: .10;
    stroke-width: 1.4;
}

.erpdc-chart-bar[b-mce0xzkiqy] {
    fill: currentColor;
    opacity: .26;
}

.erpdc-chart-point[b-mce0xzkiqy] {
    fill: currentColor;
    opacity: .88;
    filter: drop-shadow(0 7px 9px rgba(var(--erp-primary-rgb, 37, 99, 235), .22));
}

.erpdc-chart-line[b-mce0xzkiqy] {
    fill: none;
    stroke: currentColor;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .78;
}

.erpdc-chart-label[b-mce0xzkiqy] {
    fill: var(--erpdc-muted, #64748b);
    font-size: 18px;
    font-family: ERPFont, Tahoma, Arial, sans-serif;
    font-weight: 900;
}

.erpdc-chart-footer[b-mce0xzkiqy] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.erpdc-chart-footer > div[b-mce0xzkiqy] {
    min-height: 70px;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 0 16px;
    border-radius: 20px;
    background: var(--erpdc-card-soft, #f8fafc);
    border: 1px solid var(--erpdc-border, #e2e8f0);
}

.erpdc-chart-footer small[b-mce0xzkiqy] {
    color: var(--erpdc-muted, #64748b);
    font-size: 11px;
    font-weight: 900;
}

.erpdc-chart-footer strong[b-mce0xzkiqy] {
    color: var(--erpdc-text, #0f172a);
    font-size: 18px;
    font-weight: 1000;
}

:host-context(.erpdb-dark) .erpdc-chart-card[b-mce0xzkiqy],
body.erpdb-dark .erpdc-chart-card[b-mce0xzkiqy] {
    background:
        radial-gradient(circle at 12% 0%, rgba(96, 165, 250, .10), transparent 250px),
        #0f172a;
    border-color: #1e293b;
}

:host-context(.erpdb-dark) .erpdc-chart-body[b-mce0xzkiqy],
body.erpdb-dark .erpdc-chart-body[b-mce0xzkiqy] {
    background: rgba(15, 23, 42, .72);
    border-color: rgba(148, 163, 184, .16);
}

@media (max-width: 1280px) {
    .erpdc-charts[b-mce0xzkiqy] {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .erpdc-chart-card[b-mce0xzkiqy] {
        min-height: 500px;
    }
}
/* /Components/Pages/DashboardCanvas/DashboardError.razor.rz.scp.css */
.erpdc-error[b-lw4spe93k2] {
    min-height: 280px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 18px;
    text-align: center;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid #fee2e2;
    box-shadow: 0 18px 48px rgba(239,68,68,.10);
}

.erpdc-error-icon[b-lw4spe93k2] {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: #fef2f2;
}

    .erpdc-error-icon :deep(.mud-icon-root)[b-lw4spe93k2] {
        font-size: 42px !important;
        color: #ef4444;
    }

.erpdc-error strong[b-lw4spe93k2] {
    color: #0f172a;
    font-size: 1.35rem;
    font-weight: 1000;
}

.erpdc-error span[b-lw4spe93k2] {
    max-width: 520px;
    color: #64748b;
    line-height: 1.9;
    font-weight: 850;
}

.erpdc-error :deep(.mud-button-root)[b-lw4spe93k2] {
    min-width: 180px;
    min-height: 48px;
    border-radius: 14px;
    font-weight: 900;
}
/* /Components/Pages/DashboardCanvas/DashboardFinance.razor.rz.scp.css */
.erpdc-finance-enterprise[b-88bpp6p279] {
    width: 100%;
    min-width: 0;
    height: 100%;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 26px;
    border-radius: 28px;
    border: 1px solid var(--erpdc-border, #e2e8f0);
    background: var(--erpdc-card-bg, #fff);
    box-shadow: var(--erpdc-shadow, 0 18px 44px rgba(15,23,42,.06));
    color: var(--erpdc-text, #0f172a);
    overflow: hidden;
    box-sizing: border-box;
}

.erpdc-finance-header[b-88bpp6p279] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.erpdc-finance-eyebrow[b-88bpp6p279],
.erpdc-finance-status[b-88bpp6p279] {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    border-radius: 999px;
    border: 1px solid var(--erpdc-border, #e2e8f0);
    background: var(--erpdc-card-soft, #f8fafc);
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.erpdc-finance-eyebrow[b-88bpp6p279] { color: var(--erpdc-blue, var(--erp-primary, #2563eb)); }
.erpdc-finance-status.ok[b-88bpp6p279] { color: #15803d; }
.erpdc-finance-status.warn[b-88bpp6p279] { color: #b45309; }
.erpdc-finance-status i[b-88bpp6p279] { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }

.erpdc-finance-header h2[b-88bpp6p279] {
    margin: 10px 0 0;
    font-size: clamp(24px, 2vw, 31px);
    line-height: 1.35;
    font-weight: 1000;
}

.erpdc-finance-header p[b-88bpp6p279] {
    margin: 7px 0 0;
    color: var(--erpdc-muted, #64748b);
    font-size: 13px;
    line-height: 1.9;
    font-weight: 800;
}

.erpdc-finance-grid[b-88bpp6p279] {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.finance-card[b-88bpp6p279] {
    position: relative;
    min-width: 0;
    min-height: 150px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    grid-template-areas: "icon content" "trend trend";
    align-items: center;
    gap: 12px 14px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid var(--erpdc-border, #e2e8f0);
    background: var(--erpdc-card-soft, #f8fafc);
    overflow: hidden;
    isolation: isolate;
}

.finance-card[b-88bpp6p279]::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    left: -52px;
    bottom: -58px;
    border-radius: 50%;
    opacity: .28;
    z-index: -1;
}
.finance-card.cash[b-88bpp6p279]::before { background:#bfdbfe; }
.finance-card.bank[b-88bpp6p279]::before { background:#ddd6fe; }
.finance-card.receive[b-88bpp6p279]::before { background:#bbf7d0; }
.finance-card.pay[b-88bpp6p279]::before { background:#fed7aa; }

.finance-card-icon[b-88bpp6p279] {
    grid-area: icon;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--erpdc-card-bg, #fff);
    border: 1px solid var(--erpdc-border, #e2e8f0);
    color: var(--erp-primary, #2563eb);
}
.finance-card.bank .finance-card-icon[b-88bpp6p279] { color:var(--erp-accent, #7c3aed); }
.finance-card.receive .finance-card-icon[b-88bpp6p279] { color:#16a34a; }
.finance-card.pay .finance-card-icon[b-88bpp6p279] { color:#ea580c; }
.finance-card-icon :deep(.mud-icon-root)[b-88bpp6p279] { font-size:1.45rem !important; }

.finance-card-content[b-88bpp6p279] { grid-area: content; min-width:0; }
.finance-card-content span[b-88bpp6p279],
.finance-card-content small[b-88bpp6p279] { display:block; color:var(--erpdc-muted,#64748b); font-weight:850; }
.finance-card-content span[b-88bpp6p279] { font-size:12px; }
.finance-card-content small[b-88bpp6p279] { margin-top:4px; font-size:10px; }
.finance-card-content strong[b-88bpp6p279] {
    display:block;
    margin-top:5px;
    direction:ltr;
    text-align:right;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    font-size:clamp(19px,1.6vw,25px);
    line-height:1.35;
    font-weight:1000;
    font-variant-numeric: tabular-nums;
}

.finance-card-trend[b-88bpp6p279] {
    grid-area: trend;
    height:28px;
    display:flex;
    align-items:flex-end;
    gap:5px;
}
.finance-card-trend b[b-88bpp6p279] { width:8px; min-height:7px; border-radius:999px; background:linear-gradient(180deg,#93c5fd,var(--erp-primary, #2563eb)); }
.finance-card.bank .finance-card-trend b[b-88bpp6p279] { background:linear-gradient(180deg,#c4b5fd,var(--erp-accent, #7c3aed)); }
.finance-card.receive .finance-card-trend b[b-88bpp6p279] { background:linear-gradient(180deg,#86efac,#16a34a); }
.finance-card.pay .finance-card-trend b[b-88bpp6p279] { background:linear-gradient(180deg,#fdba74,#ea580c); }

.erpdc-profit-panel[b-88bpp6p279] {
    min-height:112px;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:18px;
    padding:18px 20px;
    border-radius:22px;
    background:linear-gradient(135deg,var(--erp-primary, #2563eb),var(--erp-accent, #7c3aed));
    color:var(--erp-on-brand, #ffffff);
    box-shadow:0 18px 40px rgba(37,99,235,.18);
}
.erpdc-profit-copy span[b-88bpp6p279],.erpdc-profit-copy small[b-88bpp6p279] { display:block; }
.erpdc-profit-copy strong[b-88bpp6p279] { display:block; margin:5px 0; direction:ltr; text-align:right; white-space:nowrap; font-size:27px; font-weight:1000; }
.erpdc-profit-copy span[b-88bpp6p279] { font-size:12px; font-weight:900; }
.erpdc-profit-copy small[b-88bpp6p279] { font-size:11px; font-weight:800; color:#dbeafe; }
.erpdc-profit-ring[b-88bpp6p279] { width:72px; height:72px; display:grid; place-items:center; border-radius:50%; background:conic-gradient(#fff calc(var(--profit-percent) * 1%),rgba(255,255,255,.18) 0); position:relative; }
.erpdc-profit-ring[b-88bpp6p279]::after { content:""; position:absolute; inset:9px; border-radius:50%; background:var(--erp-primary, #4f46e5); }
.erpdc-profit-ring b[b-88bpp6p279] { position:relative; z-index:1; font-size:13px; }

@media (max-width: 760px) {
    .erpdc-finance-enterprise[b-88bpp6p279] { min-height:auto; padding:20px; }
    .erpdc-finance-header[b-88bpp6p279] { flex-direction:column; }
    .erpdc-finance-grid[b-88bpp6p279] { grid-template-columns:1fr; }
}
/* /Components/Pages/DashboardCanvas/DashboardFooter.razor.rz.scp.css */
.erpdc-footer-enterprise[b-qcwrlp2rrh] {
    min-height: 86px;
    display: grid;
    grid-template-columns: minmax(260px, .9fr) minmax(360px, 1.2fr) minmax(240px, .75fr);
    align-items: center;
    gap: 22px;
    padding: 18px 22px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 12% 18%, rgba(37, 99, 235, .08), transparent 180px),
        #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .06);
}

.erpdc-footer-brand[b-qcwrlp2rrh] {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.erpdc-footer-logo[b-qcwrlp2rrh] {
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: var(--erp-primary, #2563eb);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.erpdc-footer-logo :deep(.mud-icon-root)[b-qcwrlp2rrh] {
    font-size: 29px !important;
}

.erpdc-footer-brand strong[b-qcwrlp2rrh],
.erpdc-footer-brand span[b-qcwrlp2rrh] {
    display: block;
}

.erpdc-footer-brand strong[b-qcwrlp2rrh] {
    color: #0f172a;
    font-size: 17px;
    font-weight: 1000;
}

.erpdc-footer-brand span[b-qcwrlp2rrh] {
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}

.erpdc-footer-meta[b-qcwrlp2rrh] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.erpdc-footer-meta div[b-qcwrlp2rrh] {
    min-height: 54px;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 10px 14px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.erpdc-footer-meta span[b-qcwrlp2rrh] {
    color: #64748b;
    font-size: 11px;
    font-weight: 850;
}

.erpdc-footer-meta strong[b-qcwrlp2rrh] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0f172a;
    font-size: 13px;
    font-weight: 1000;
}

.erpdc-footer-meta i[b-qcwrlp2rrh] {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, .14);
}

.erpdc-footer-links[b-qcwrlp2rrh] {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.erpdc-footer-links a[b-qcwrlp2rrh] {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--erp-primary, #2563eb);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    text-decoration: none;
    font-size: 12px;
    font-weight: 950;
    transition: transform .2s ease, background .2s ease;
}

.erpdc-footer-links a:hover[b-qcwrlp2rrh] {
    transform: translateY(-2px);
    background: #dbeafe;
}

@media (max-width: 1180px) {
    .erpdc-footer-enterprise[b-qcwrlp2rrh] {
        grid-template-columns: 1fr;
    }

    .erpdc-footer-links[b-qcwrlp2rrh] {
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .erpdc-footer-enterprise[b-qcwrlp2rrh] {
        padding: 18px;
        border-radius: 24px;
    }

    .erpdc-footer-meta[b-qcwrlp2rrh] {
        grid-template-columns: 1fr;
    }

    .erpdc-footer-links[b-qcwrlp2rrh] {
        justify-content: stretch;
    }

    .erpdc-footer-links a[b-qcwrlp2rrh] {
        flex: 1;
        justify-content: center;
    }
}
/* /Components/Pages/DashboardCanvas/DashboardHero.razor.rz.scp.css */
.erpdc-hero-logo[b-adcv16u17o]{width:148px;height:92px;margin-bottom:14px;padding:10px;border:1px solid rgba(255,255,255,.22);border-radius:22px;background:rgba(255,255,255,.12);backdrop-filter:blur(16px);display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:inset 0 1px rgba(255,255,255,.2),0 12px 30px rgba(15,23,42,.16)}.erpdc-hero-logo img[b-adcv16u17o]{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;border-radius:12px}.erpdc-hero-logo-fallback[b-adcv16u17o]{background:linear-gradient(135deg,rgba(255,255,255,.2),rgba(255,255,255,.08))}.erpdc-hero-logo-fallback span[b-adcv16u17o]{font-size:26px;font-weight:1000;letter-spacing:1px;color:var(--hero-text,#fff)}
.erpdc-hero[b-adcv16u17o]{position:relative;display:grid;grid-template-columns:minmax(260px,.9fr) minmax(360px,1.25fr) minmax(280px,.9fr);gap:18px;min-height:320px;padding:28px;border-radius:32px;color:var(--hero-text,#fff);background:radial-gradient(circle at 8% 10%,rgba(255,255,255,.20),transparent 260px),radial-gradient(circle at 90% 88%,rgba(255,255,255,.12),transparent 320px),linear-gradient(135deg,var(--hero-primary,#2563eb) 0%,var(--hero-primary,#2563eb) 48%,var(--hero-accent,#7c3aed) 100%);box-shadow:0 28px 70px color-mix(in srgb,var(--hero-primary,#2563eb) 28%,transparent);overflow:hidden;isolation:isolate}.erpdc-hero[b-adcv16u17o]:before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.1) 38%,transparent 52%);transform:translateX(-100%);animation:shine-b-adcv16u17o 8s ease-in-out infinite;pointer-events:none}.erpdc-hero-profile[b-adcv16u17o],.erpdc-hero-kpis[b-adcv16u17o],.erpdc-hero-actions[b-adcv16u17o]{position:relative;z-index:1;min-width:0}.erpdc-hero-profile[b-adcv16u17o]{display:flex;flex-direction:column;justify-content:center}.erpdc-hero-badge[b-adcv16u17o],.erpdc-hero-date[b-adcv16u17o],.erpdc-hero-meta span[b-adcv16u17o],.erpdc-hero-actions header[b-adcv16u17o]{display:flex;align-items:center;gap:8px}.erpdc-hero-badge[b-adcv16u17o]{align-self:flex-start;padding:8px 13px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(255,255,255,.1);backdrop-filter:blur(16px);font-size:11px;font-weight:900}.erpdc-hero h1[b-adcv16u17o]{margin:20px 0 5px;font-size:clamp(28px,2.6vw,46px);font-weight:1000}.erpdc-hero-profile>p[b-adcv16u17o]{margin:0 0 18px;color:var(--hero-text-muted,rgba(255,255,255,.78));font-weight:850}.erpdc-hero-meta[b-adcv16u17o]{display:grid;gap:8px}.erpdc-hero-meta span[b-adcv16u17o]{font-size:11px;color:var(--hero-text-muted,rgba(255,255,255,.82))}.erpdc-hero-meta i[b-adcv16u17o]{width:9px;height:9px;border-radius:50%;background:#ff5252;box-shadow:0 0 0 5px rgba(255,82,82,.14)}.erpdc-hero-meta i.ok[b-adcv16u17o]{background:#00c853;box-shadow:0 0 0 5px rgba(0,200,83,.16)}.erpdc-hero-date[b-adcv16u17o]{margin-top:16px;font-size:12px;font-weight:900}.erpdc-hero-kpis[b-adcv16u17o]{display:grid;grid-template-columns:1fr;gap:12px;align-content:center}.erpdc-hero-kpis article[b-adcv16u17o]{min-width:0;min-height:86px;display:grid;grid-template-columns:minmax(88px,.65fr) minmax(0,1.7fr) minmax(68px,.55fr);align-items:center;gap:12px;padding:14px 18px;border:1px solid rgba(255,255,255,.2);border-radius:22px;background:linear-gradient(145deg,rgba(255,255,255,.17),rgba(255,255,255,.07));backdrop-filter:blur(18px);box-shadow:inset 0 1px rgba(255,255,255,.18);transition:transform .25s ease,background .25s ease}.erpdc-hero-kpis article:hover[b-adcv16u17o]{transform:translateY(-6px) scale(1.015);background:rgba(255,255,255,.2)}.erpdc-hero-kpis span[b-adcv16u17o]{text-align:right;font-size:12px;color:var(--hero-text-muted,rgba(255,255,255,.76));font-weight:900;white-space:nowrap}.erpdc-hero-kpis strong[b-adcv16u17o]{display:block;width:100%;min-width:0;margin:0;color:var(--hero-text,var(--erp-on-brand,#fff));font-size:clamp(20px,1.65vw,30px);font-weight:1000;line-height:1.2;direction:ltr;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums lining-nums;letter-spacing:-.025em}.erpdc-hero-kpis strong.amount-medium[b-adcv16u17o]{font-size:clamp(18px,1.35vw,25px)}.erpdc-hero-kpis strong.amount-large[b-adcv16u17o]{font-size:clamp(15px,1.12vw,21px)}.erpdc-hero-kpis strong.amount-xlarge[b-adcv16u17o]{font-size:clamp(12px,.92vw,17px);letter-spacing:-.04em}.erpdc-hero-kpis small[b-adcv16u17o]{text-align:left;color:var(--hero-text-muted,rgba(255,255,255,.7));white-space:nowrap}.erpdc-hero-kpis .profit[b-adcv16u17o]{background:linear-gradient(145deg,rgba(0,200,83,.28),rgba(255,255,255,.07))}.erpdc-hero-actions[b-adcv16u17o]{padding:18px;border:1px solid rgba(255,255,255,.2);border-radius:26px;background:rgba(14,14,68,.2);backdrop-filter:blur(18px)}.erpdc-hero-actions header[b-adcv16u17o]{margin-bottom:14px;font-weight:1000}.erpdc-hero-actions>div[b-adcv16u17o]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.erpdc-hero-actions a[b-adcv16u17o]{position:relative;display:flex;align-items:center;gap:9px;min-height:48px;padding:10px;border-radius:15px;color:var(--hero-text,#fff);background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.13);text-decoration:none;font-size:12px;font-weight:900;overflow:hidden;transition:all .25s ease}.erpdc-hero-actions a:hover[b-adcv16u17o]{transform:translateY(-3px);background:rgba(255,255,255,.19);box-shadow:0 12px 28px rgba(15,23,42,.18)}@keyframes shine-b-adcv16u17o{0%,65%{transform:translateX(-110%)}85%,100%{transform:translateX(110%)}}@media(max-width:1350px){.erpdc-hero[b-adcv16u17o]{grid-template-columns:1fr 1.4fr}.erpdc-hero-actions[b-adcv16u17o]{grid-column:1/-1}.erpdc-hero-actions>div[b-adcv16u17o]{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:900px){.erpdc-hero[b-adcv16u17o]{grid-template-columns:1fr}.erpdc-hero-kpis[b-adcv16u17o]{grid-template-columns:1fr}.erpdc-hero-actions[b-adcv16u17o]{grid-column:auto}}@media(max-width:600px){.erpdc-hero[b-adcv16u17o]{padding:18px;border-radius:24px}.erpdc-hero-kpis[b-adcv16u17o]{grid-template-columns:1fr}.erpdc-hero-kpis article[b-adcv16u17o]{min-height:82px;grid-template-columns:minmax(76px,.75fr) minmax(0,1.5fr) minmax(58px,.55fr);gap:8px;padding:12px 14px}.erpdc-hero-kpis span[b-adcv16u17o]{font-size:11px}.erpdc-hero-kpis strong[b-adcv16u17o]{font-size:clamp(17px,5.1vw,25px)}.erpdc-hero-kpis strong.amount-medium[b-adcv16u17o]{font-size:clamp(16px,4.7vw,23px)}.erpdc-hero-kpis strong.amount-large[b-adcv16u17o]{font-size:clamp(14px,4.2vw,20px)}.erpdc-hero-kpis strong.amount-xlarge[b-adcv16u17o]{font-size:clamp(12px,3.7vw,18px)}.erpdc-hero-kpis small[b-adcv16u17o]{font-size:10px}.erpdc-hero-actions>div[b-adcv16u17o]{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){.erpdc-hero[b-adcv16u17o]:before{animation:none}.erpdc-hero *[b-adcv16u17o]{transition:none!important}}

.erpdc-hero[b-adcv16u17o]{--hero-glass-border:color-mix(in srgb,var(--hero-text,#fff) 22%,transparent);--hero-glass-bg:color-mix(in srgb,var(--hero-text,#fff) 10%,transparent)}
.erpdc-hero-badge[b-adcv16u17o],.erpdc-hero-logo[b-adcv16u17o],.erpdc-hero-kpis article[b-adcv16u17o],.erpdc-hero-actions[b-adcv16u17o],.erpdc-hero-actions a[b-adcv16u17o]{border-color:var(--hero-glass-border)}
.erpdc-hero-badge[b-adcv16u17o],.erpdc-hero-logo[b-adcv16u17o]{background:var(--hero-glass-bg)}
.erpdc-hero-actions a svg[b-adcv16u17o],.erpdc-hero-badge svg[b-adcv16u17o],.erpdc-hero-date svg[b-adcv16u17o],.erpdc-hero-meta svg[b-adcv16u17o],.erpdc-hero-actions header svg[b-adcv16u17o]{color:var(--hero-text,#fff)}

/* Light organization colors must keep all hero copy and actions readable */
.erpdc-hero[b-adcv16u17o],.erpdc-hero h1[b-adcv16u17o],.erpdc-hero-actions[b-adcv16u17o],.erpdc-hero-actions header[b-adcv16u17o],.erpdc-hero-actions a[b-adcv16u17o],.erpdc-hero-actions a span[b-adcv16u17o],.erpdc-hero-date[b-adcv16u17o]{color:var(--hero-text,#fff)!important}
.erpdc-hero-profile>p[b-adcv16u17o],.erpdc-hero-meta span[b-adcv16u17o],.erpdc-hero-kpis span[b-adcv16u17o],.erpdc-hero-kpis small[b-adcv16u17o]{text-align:center;color:var(--hero-text-muted,rgba(255,255,255,.78))!important}
.erpdc-hero-actions[b-adcv16u17o]{background:color-mix(in srgb,var(--hero-text,#fff) 10%,transparent)!important}
.erpdc-hero-actions a[b-adcv16u17o]{background:color-mix(in srgb,var(--hero-text,#fff) 8%,transparent)!important}
/* /Components/Pages/DashboardCanvas/DashboardKpis.razor.rz.scp.css */
.erpdc-kpis-premium[b-4fnjszfp15]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.erpdc-kpi-premium[b-4fnjszfp15]{--tone:var(--erp-primary, #5b5bff);position:relative;min-width:0;min-height:190px;padding:20px;border-radius:24px;background:linear-gradient(145deg,color-mix(in srgb,var(--erpdc-card-bg,#fff) 90%,transparent),color-mix(in srgb,var(--tone) 6%,var(--erpdc-card-bg,#fff)));border:1px solid color-mix(in srgb,var(--tone) 18%,var(--erpdc-border,#e2e8f0));box-shadow:0 16px 44px rgba(15,23,42,.07);overflow:hidden;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;animation:kpi-in-b-4fnjszfp15 .45s both}.erpdc-kpi-premium:nth-child(2)[b-4fnjszfp15]{animation-delay:.04s}.erpdc-kpi-premium:nth-child(3)[b-4fnjszfp15]{animation-delay:.08s}.erpdc-kpi-premium:nth-child(4)[b-4fnjszfp15]{animation-delay:.12s}.erpdc-kpi-premium:nth-child(5)[b-4fnjszfp15]{animation-delay:.16s}.erpdc-kpi-premium:nth-child(6)[b-4fnjszfp15]{animation-delay:.2s}.erpdc-kpi-premium:nth-child(7)[b-4fnjszfp15]{animation-delay:.24s}.erpdc-kpi-premium:nth-child(8)[b-4fnjszfp15]{animation-delay:.28s}.erpdc-kpi-premium:hover[b-4fnjszfp15]{transform:translateY(-7px) scale(1.01);border-color:color-mix(in srgb,var(--tone) 50%,transparent);box-shadow:0 24px 60px color-mix(in srgb,var(--tone) 18%,transparent)}.erpdc-kpi-premium.accent[b-4fnjszfp15]{--tone:var(--erp-accent, #7c4dff)}.erpdc-kpi-premium.success[b-4fnjszfp15]{--tone:#00c853}.erpdc-kpi-premium.warning[b-4fnjszfp15]{--tone:#ffb300}.erpdc-kpi-premium.danger[b-4fnjszfp15]{--tone:#ff5252}.erpdc-kpi-head[b-4fnjszfp15]{display:flex;align-items:center;justify-content:space-between}.erpdc-kpi-icon[b-4fnjszfp15]{width:46px;height:46px;display:grid;place-items:center;border-radius:15px;color:var(--tone);background:color-mix(in srgb,var(--tone) 12%,transparent)}.erpdc-kpi-trend[b-4fnjszfp15]{display:flex;align-items:center;gap:3px;padding:5px 8px;border-radius:999px;color:#00c853;background:rgba(0,200,83,.1);font-size:10px;font-weight:1000}.erpdc-kpi-trend.down[b-4fnjszfp15]{color:#ff5252;background:rgba(255,82,82,.1)}.erpdc-kpi-label[b-4fnjszfp15]{display:block;margin-top:16px;color:var(--erpdc-muted,#64748b);font-size:12px;font-weight:900}.erpdc-kpi-premium>strong[b-4fnjszfp15]{display:block;margin-top:5px;color:var(--erpdc-text,#0f172a);font-size:clamp(22px,2vw,34px);font-weight:1000;overflow-wrap:anywhere}.erpdc-kpi-premium>small[b-4fnjszfp15]{display:block;color:var(--erpdc-muted,#94a3b8);font-size:10px}.erpdc-kpi-spark[b-4fnjszfp15]{position:absolute;right:18px;left:18px;bottom:12px;width:calc(100% - 36px);height:34px;color:var(--tone);overflow:visible}.erpdc-kpi-spark polyline[b-4fnjszfp15]{fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 5px 5px color-mix(in srgb,var(--tone) 35%,transparent))}@keyframes kpi-in-b-4fnjszfp15{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}@media(max-width:1350px){.erpdc-kpis-premium[b-4fnjszfp15]{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.erpdc-kpis-premium[b-4fnjszfp15]{grid-template-columns:1fr}.erpdc-kpi-premium[b-4fnjszfp15]{min-height:176px}}@media(prefers-reduced-motion:reduce){.erpdc-kpi-premium[b-4fnjszfp15]{animation:none;transition:none}}
/* /Components/Pages/DashboardCanvas/DashboardLoading.razor.rz.scp.css */
.erpdc-loading[b-41ma0kzfzx] {
    min-height: 280px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 16px;
    text-align: center;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .06);
}

.erpdc-loading-icon[b-41ma0kzfzx] {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: #eff6ff;
}

.erpdc-loading strong[b-41ma0kzfzx] {
    color: #0f172a;
    font-size: 1.35rem;
    font-weight: 1000;
}

.erpdc-loading span[b-41ma0kzfzx] {
    color: #64748b;
    font-weight: 850;
}
/* /Components/Pages/DashboardCanvas/DashboardQuickActions.razor.rz.scp.css */
.erpdc-actions-enterprise[b-okti87mucq] {
    width:100%; min-width:0; height:100%; min-height:520px;
    display:flex; flex-direction:column; gap:20px;
    padding:26px; border-radius:28px;
    border:1px solid var(--erpdc-border,#e2e8f0);
    background:var(--erpdc-card-bg,#fff);
    box-shadow:var(--erpdc-shadow,0 18px 44px rgba(15,23,42,.06));
    color:var(--erpdc-text,#0f172a); box-sizing:border-box; overflow:hidden;
}
.erpdc-actions-eyebrow[b-okti87mucq] { min-height:34px; display:inline-flex; align-items:center; gap:8px; padding:0 13px; border-radius:999px; color:var(--erpdc-blue,var(--erp-primary, #2563eb)); background:var(--erpdc-card-soft-2,#eff6ff); border:1px solid var(--erpdc-border-strong,#bfdbfe); font-size:11px; font-weight:900; }
.erpdc-actions-header h2[b-okti87mucq] { margin:10px 0 0; font-size:clamp(24px,2vw,31px); line-height:1.35; font-weight:1000; }
.erpdc-actions-header p[b-okti87mucq] { margin:7px 0 0; color:var(--erpdc-muted,#64748b); font-size:13px; line-height:1.9; font-weight:800; }
.erpdc-actions-grid[b-okti87mucq] { flex:1 1 auto; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:13px; }
.erpdc-actions-grid a[b-okti87mucq] { position:relative; min-width:0; min-height:150px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:16px 12px; border-radius:20px; text-decoration:none; text-align:center; color:var(--erpdc-text,#0f172a); background:var(--erpdc-card-soft,#f8fafc); border:1px solid var(--erpdc-border,#e2e8f0); overflow:hidden; transition:.18s ease; }
.erpdc-actions-grid a:hover[b-okti87mucq] { transform:translateY(-3px); border-color:var(--erpdc-border-strong,#bfdbfe); box-shadow:0 16px 28px rgba(15,23,42,.08); }
.erpdc-actions-grid a[b-okti87mucq]::before { content:""; position:absolute; width:94px; height:94px; left:-45px; bottom:-46px; border-radius:50%; opacity:.22; background:var(--erp-primary, #2563eb); }
.erpdc-actions-grid a :deep(.mud-icon-root)[b-okti87mucq] { width:48px !important; height:48px !important; display:grid !important; place-items:center !important; padding:11px; border-radius:15px; color:var(--erp-primary, #2563eb); background:var(--erpdc-card-bg,#fff); border:1px solid var(--erpdc-border,#e2e8f0); }
.erpdc-actions-grid strong[b-okti87mucq] { font-size:15px; line-height:1.4; font-weight:1000; }
.erpdc-actions-grid span[b-okti87mucq] { color:var(--erpdc-muted,#64748b); font-size:11px; line-height:1.6; font-weight:800; }
.erpdc-actions-grid a.green[b-okti87mucq]::before { background:#16a34a; } .erpdc-actions-grid a.green :deep(.mud-icon-root)[b-okti87mucq] { color:#16a34a; }
.erpdc-actions-grid a.purple[b-okti87mucq]::before { background:var(--erp-accent, #7c3aed); } .erpdc-actions-grid a.purple :deep(.mud-icon-root)[b-okti87mucq] { color:var(--erp-accent, #7c3aed); }
.erpdc-actions-grid a.orange[b-okti87mucq]::before { background:#ea580c; } .erpdc-actions-grid a.orange :deep(.mud-icon-root)[b-okti87mucq] { color:#ea580c; }
.erpdc-actions-grid a.cyan[b-okti87mucq]::before { background:#0891b2; } .erpdc-actions-grid a.cyan :deep(.mud-icon-root)[b-okti87mucq] { color:#0891b2; }
.erpdc-actions-grid a.red[b-okti87mucq]::before { background:#dc2626; } .erpdc-actions-grid a.red :deep(.mud-icon-root)[b-okti87mucq] { color:#dc2626; }
.erpdc-actions-grid a.teal[b-okti87mucq]::before { background:#0f766e; } .erpdc-actions-grid a.teal :deep(.mud-icon-root)[b-okti87mucq] { color:#0f766e; }
.erpdc-actions-grid a.gray[b-okti87mucq]::before { background:#475569; } .erpdc-actions-grid a.gray :deep(.mud-icon-root)[b-okti87mucq] { color:#475569; }
@media(max-width:900px){.erpdc-actions-grid[b-okti87mucq]{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:520px){.erpdc-actions-enterprise[b-okti87mucq]{min-height:auto;padding:20px}.erpdc-actions-grid[b-okti87mucq]{grid-template-columns:1fr}.erpdc-actions-grid a[b-okti87mucq]{min-height:118px}}
/* /Components/Pages/DashboardCanvas/DashboardReports.razor.rz.scp.css */
.erpdc-reports-enterprise[b-d65hw7zh99]{height:100%;min-height:500px;padding:22px;border-radius:26px;background:var(--erpdc-card-bg,#fff);border:1px solid var(--erpdc-border,#e2e8f0);box-shadow:var(--erpdc-shadow);overflow:hidden}.erpdc-reports-enterprise header[b-d65hw7zh99]{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.erpdc-reports-enterprise h2[b-d65hw7zh99]{margin:4px 0;font-size:21px}.erpdc-reports-enterprise p[b-d65hw7zh99]{margin:0;color:var(--erpdc-muted);font-size:11px}.erpdc-reports-enterprise header>a[b-d65hw7zh99]{display:flex;align-items:center;gap:5px;padding:8px 11px;border-radius:12px;color:var(--erp-primary, #5b5bff);background:rgba(var(--erp-primary-rgb, 91,91,255),.09);text-decoration:none;font-size:11px;font-weight:900}.eyebrow[b-d65hw7zh99]{display:flex;align-items:center;gap:6px;color:var(--erp-accent, #7c4dff);font-size:10px;font-weight:1000}.erpdc-management-tabs[b-d65hw7zh99]{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:18px 0}.erpdc-management-tabs button[b-d65hw7zh99]{padding:9px 5px;border:1px solid var(--erpdc-border);border-radius:12px;color:var(--erpdc-muted);background:transparent;font-family:inherit;font-size:10px;font-weight:900;cursor:pointer;transition:all .25s ease}.erpdc-management-tabs button.active[b-d65hw7zh99]{color:#fff;border-color:var(--erp-primary, #5b5bff);background:linear-gradient(135deg,var(--erp-primary, #5b5bff),var(--erp-accent, #7c4dff));box-shadow:0 8px 20px rgba(var(--erp-primary-rgb, 91,91,255),.2)}.erpdc-management-tabs b[b-d65hw7zh99]{margin-right:4px}.erpdc-management-list[b-d65hw7zh99]{display:grid;gap:7px;max-height:350px;overflow:auto}.erpdc-management-list article[b-d65hw7zh99],.erpdc-management-list>a[b-d65hw7zh99]{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px;border-radius:14px;color:inherit;background:color-mix(in srgb,var(--erpdc-card-soft,#f8fafc) 80%,transparent);border:1px solid var(--erpdc-border);text-decoration:none;transition:all .25s ease}.erpdc-management-list article:hover[b-d65hw7zh99],.erpdc-management-list>a:hover[b-d65hw7zh99]{transform:translateX(-3px);border-color:rgba(var(--erp-primary-rgb, 91,91,255),.4)}.item-icon[b-d65hw7zh99]{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;color:var(--erp-primary, #5b5bff);background:rgba(var(--erp-primary-rgb, 91,91,255),.1)}.item-icon.invoice[b-d65hw7zh99]{color:#00c853;background:rgba(0,200,83,.1)}.item-icon.alert[b-d65hw7zh99]{color:#ffb300;background:rgba(255,179,0,.12)}.erpdc-management-list strong[b-d65hw7zh99],.erpdc-management-list small[b-d65hw7zh99]{display:block}.erpdc-management-list strong[b-d65hw7zh99]{font-size:11px}.erpdc-management-list small[b-d65hw7zh99],.erpdc-management-list time[b-d65hw7zh99]{color:var(--erpdc-muted);font-size:9px}.erpdc-management-list time[b-d65hw7zh99]{white-space:nowrap}
/* /Components/Pages/DashboardCanvas/DashboardSalesChart.razor.rz.scp.css */
.erpdc-chart-panel[b-fx3barejti] {
    min-width: 0;
    min-height: 410px;
    padding: 26px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .06);
}

.erpdc-chart-head[b-fx3barejti] {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.erpdc-chart-head h2[b-fx3barejti] {
    margin: 0;
    color: #0f172a;
    font-size: 28px;
    line-height: 1.35;
    font-weight: 1000;
}

.erpdc-chart-head p[b-fx3barejti] {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
    font-weight: 850;
}

.erpdc-chart-head > span[b-fx3barejti] {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid #dbe4f0;
    border-radius: 16px;
    color: var(--erp-primary, #2563eb);
    background: #f8fbff;
    font-size: 14px;
    font-weight: 950;
    white-space: nowrap;
}

.erpdc-chart-body[b-fx3barejti] {
    min-height: 300px;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 16px;
}

.erpdc-chart-scale[b-fx3barejti] {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 900;
    padding: 8px 0 34px;
}

.erpdc-bars[b-fx3barejti] {
    position: relative;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: end;
    gap: 14px;
    min-height: 270px;
    padding-top: 14px;
    border-bottom: 1px solid #e2e8f0;
    background:
        linear-gradient(to bottom, #e2e8f0 1px, transparent 1px) 0 14px / 100% 55px;
}

.erpdc-bar-item[b-fx3barejti] {
    height: 100%;
    display: grid;
    align-items: end;
    justify-items: center;
    gap: 10px;
}

.erpdc-bar-item i[b-fx3barejti] {
    width: min(44px, 72%);
    min-height: 8px;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(180deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    box-shadow: 0 12px 26px rgba(37, 99, 235, .20);
    transition: height .25s ease, transform .2s ease;
}

.erpdc-bar-item:hover i[b-fx3barejti] {
    transform: translateY(-3px);
}

.erpdc-bar-item span[b-fx3barejti] {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .erpdc-chart-panel[b-fx3barejti] {
        padding: 20px;
        border-radius: 22px;
    }

    .erpdc-chart-head[b-fx3barejti] {
        flex-direction: column;
        align-items: stretch;
    }

    .erpdc-chart-body[b-fx3barejti] {
        grid-template-columns: 42px 1fr;
        gap: 10px;
    }

    .erpdc-bars[b-fx3barejti] {
        gap: 8px;
        overflow-x: auto;
    }

    .erpdc-bar-item[b-fx3barejti] {
        min-width: 42px;
    }
}
/* /Components/Pages/DashboardCanvas/DashboardSystemStatus.razor.rz.scp.css */
/* =========================================================
   ERPPlus DashboardSystemStatus - Enterprise Final
   جایگذاری:
   ERPPlus.Web/Components/Pages/DashboardCanvas/DashboardSystemStatus.razor.css
   ========================================================= */

.erpdc-health-pro[b-d6ogyjnj1v] {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 420px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--erpdc-blue, var(--erp-primary, #2563eb)) 10%, transparent), transparent 280px),
        var(--erpdc-card-bg, #ffffff);
    border: 1px solid var(--erpdc-border, #e2e8f0);
    color: var(--erpdc-text, #0f172a);
    box-shadow: var(--erpdc-shadow, 0 18px 44px rgba(15, 23, 42, .06));
    overflow: hidden;
    box-sizing: border-box;
}

.erpdc-health-pro-header[b-d6ogyjnj1v] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.erpdc-health-eyebrow[b-d6ogyjnj1v] {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--erpdc-blue, var(--erp-primary, #2563eb));
    background: var(--erpdc-card-soft-2, #eff6ff);
    border: 1px solid var(--erpdc-border-strong, #bfdbfe);
    font-size: 11px;
    font-weight: 1000;
}

.erpdc-health-eyebrow :deep(.mud-icon-root)[b-d6ogyjnj1v] {
    font-size: 1rem !important;
}

.erpdc-health-pro-header h2[b-d6ogyjnj1v] {
    margin: 10px 0 0;
    color: var(--erpdc-text, #0f172a);
    font-size: clamp(24px, 2vw, 32px);
    line-height: 1.35;
    font-weight: 1000;
}

.erpdc-health-pro-header p[b-d6ogyjnj1v] {
    max-width: 680px;
    margin: 6px 0 0;
    color: var(--erpdc-muted, #64748b);
    line-height: 1.85;
    font-size: 13px;
    font-weight: 850;
}

.erpdc-health-state[b-d6ogyjnj1v] {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 15px;
    border-radius: 999px;
    font-weight: 1000;
    white-space: nowrap;
    font-size: 12px;
}

.erpdc-health-state.ok[b-d6ogyjnj1v] {
    color: #15803d;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
}

.erpdc-health-state.warn[b-d6ogyjnj1v] {
    color: #b45309;
    background: #fef3c7;
    border: 1px solid #fde68a;
}

.erpdc-health-state.bad[b-d6ogyjnj1v] {
    color: #b91c1c;
    background: #fee2e2;
    border: 1px solid #fecaca;
}

.erpdc-health-score[b-d6ogyjnj1v] {
    padding: 16px;
    border-radius: 20px;
    background: var(--erpdc-card-soft, #f8fafc);
    border: 1px solid var(--erpdc-border, #e2e8f0);
}

.erpdc-health-score-top[b-d6ogyjnj1v] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.erpdc-health-score span[b-d6ogyjnj1v],
.erpdc-health-score small[b-d6ogyjnj1v] {
    color: var(--erpdc-muted, #64748b);
    font-weight: 900;
}

.erpdc-health-score strong[b-d6ogyjnj1v] {
    display: block;
    margin-top: 5px;
    color: var(--erpdc-text, #0f172a);
    font-size: 28px;
    line-height: 1.2;
    font-weight: 1000;
}

.erpdc-health-score small[b-d6ogyjnj1v] {
    text-align: left;
    line-height: 1.75;
    font-size: 12px;
}

.erpdc-health-progress[b-d6ogyjnj1v] {
    height: 10px;
    margin-top: 14px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--erpdc-border, #e2e8f0) 70%, transparent);
    overflow: hidden;
}

.erpdc-health-progress b[b-d6ogyjnj1v] {
    display: block;
    height: 100%;
    min-width: 14px;
    border-radius: inherit;
}

.erpdc-health-progress b.ok[b-d6ogyjnj1v] {
    background: linear-gradient(90deg, #86efac, #16a34a);
}

.erpdc-health-progress b.warn[b-d6ogyjnj1v] {
    background: linear-gradient(90deg, #fde68a, #d97706);
}

.erpdc-health-progress b.bad[b-d6ogyjnj1v] {
    background: linear-gradient(90deg, #fca5a5, #dc2626);
}

.erpdc-health-pro-grid[b-d6ogyjnj1v] {
    min-width: 0;
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.erpdc-health-pro-grid article[b-d6ogyjnj1v] {
    min-width: 0;
    min-height: 108px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 20px;
    background: var(--erpdc-card-soft, #f8fafc);
    border: 1px solid var(--erpdc-border, #e2e8f0);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.erpdc-health-pro-grid article:hover[b-d6ogyjnj1v] {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, .06);
}

.erpdc-health-pro-grid article.ok[b-d6ogyjnj1v] {
    border-color: color-mix(in srgb, #22c55e 34%, var(--erpdc-border, #e2e8f0));
}

.erpdc-health-pro-grid article.warn[b-d6ogyjnj1v] {
    border-color: color-mix(in srgb, #f59e0b 36%, var(--erpdc-border, #e2e8f0));
}

.erpdc-health-pro-grid article.bad[b-d6ogyjnj1v] {
    border-color: color-mix(in srgb, #ef4444 32%, var(--erpdc-border, #e2e8f0));
}

.erpdc-health-pro-grid .icon[b-d6ogyjnj1v] {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    color: var(--erpdc-blue, var(--erp-primary, #2563eb));
    background: var(--erpdc-card-bg, #ffffff);
    border: 1px solid var(--erpdc-border, #e2e8f0);
}

.erpdc-health-pro-grid .icon :deep(.mud-icon-root)[b-d6ogyjnj1v] {
    font-size: 1.45rem !important;
}

.erpdc-health-pro-grid strong[b-d6ogyjnj1v] {
    display: block;
    color: var(--erpdc-text, #0f172a);
    font-size: 15px;
    font-weight: 1000;
}

.erpdc-health-pro-grid span[b-d6ogyjnj1v] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    color: var(--erpdc-muted, #64748b);
    font-size: 12px;
    line-height: 1.6;
    font-weight: 850;
}

.erpdc-health-pro-grid i[b-d6ogyjnj1v] {
    width: 10px;
    height: 10px;
    display: inline-block;
    flex: 0 0 auto;
    border-radius: 50%;
}

.erpdc-health-pro-grid i.ok[b-d6ogyjnj1v] {
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, .16);
}

.erpdc-health-pro-grid i.warn[b-d6ogyjnj1v] {
    background: #f59e0b;
    box-shadow: 0 0 0 6px rgba(245, 158, 11, .16);
}

.erpdc-health-pro-grid i.bad[b-d6ogyjnj1v] {
    background: #ef4444;
    box-shadow: 0 0 0 6px rgba(239, 68, 68, .16);
}

.erpdc-health-pro-footer[b-d6ogyjnj1v] {
    min-height: 52px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 0 15px;
    border-radius: 17px;
    background: var(--erpdc-card-soft, #f8fafc);
    border: 1px solid var(--erpdc-border, #e2e8f0);
}

.erpdc-health-pro-footer span[b-d6ogyjnj1v] {
    display: block;
    color: var(--erpdc-muted, #64748b);
    font-size: 12px;
    font-weight: 850;
}

.erpdc-health-pro-footer strong[b-d6ogyjnj1v] {
    display: block;
    margin-top: 2px;
    color: var(--erpdc-blue, var(--erp-primary, #2563eb));
    font-size: 13px;
    font-weight: 1000;
}

.erpdc-health-pro-footer a[b-d6ogyjnj1v] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--erpdc-blue, var(--erp-primary, #2563eb));
    text-decoration: none;
    font-size: 12px;
    font-weight: 1000;
}

.erpdc-health-pro-footer a :deep(.mud-icon-root)[b-d6ogyjnj1v] {
    font-size: 1rem !important;
}

@media (max-width: 1280px) {
    .erpdc-health-pro-grid[b-d6ogyjnj1v] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .erpdc-health-pro[b-d6ogyjnj1v] {
        min-height: auto;
        padding: 20px;
        border-radius: 24px;
    }

    .erpdc-health-pro-header[b-d6ogyjnj1v],
    .erpdc-health-score-top[b-d6ogyjnj1v],
    .erpdc-health-pro-footer[b-d6ogyjnj1v] {
        flex-direction: column;
        align-items: stretch;
    }

    .erpdc-health-score small[b-d6ogyjnj1v] {
        text-align: right;
    }

    .erpdc-health-pro-grid[b-d6ogyjnj1v] {
        grid-template-columns: 1fr;
    }

    .erpdc-health-pro-footer a[b-d6ogyjnj1v] {
        justify-content: center;
    }
}
/* /Components/Pages/DashboardCanvas/DashboardThemeToggle.razor.rz.scp.css */
.erpdc-theme-toggle[b-zgiei3jrq2] {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #bfdbfe;
    color: var(--erp-primary, #2563eb);
    background: #eff6ff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.erpdc-theme-toggle:hover[b-zgiei3jrq2] {
    transform: translateY(-2px);
}

.erpdc-theme-toggle :deep(.mud-icon-root)[b-zgiei3jrq2] {
    font-size: 1.1rem !important;
}

.erpdc-theme-toggle.dark[b-zgiei3jrq2] {
    color: #f8fafc;
    background: #1e293b;
    border-color: #334155;
}
/* /Components/Pages/DashboardCanvas/DashboardToolbar.razor.rz.scp.css */
/* =========================================================
   ERPPlus Dashboard Toolbar - Enterprise Final
   جایگذاری کامل:
   ERPPlus.Web/Components/Pages/DashboardCanvas/DashboardToolbar.razor.css
   ========================================================= */

.erpdc-toolbar-pro[b-jdawcvhike] {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 26px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--erpdc-card-bg, #ffffff) 96%, var(--erp-primary, #2563eb) 4%), var(--erpdc-card-bg, #ffffff));
    border: 1px solid var(--erpdc-border, #e2e8f0);
    box-shadow: var(--erpdc-shadow, 0 18px 44px rgba(15, 23, 42, .06));
    box-sizing: border-box;
    overflow: hidden;
}

.erpdc-toolbar-head[b-jdawcvhike] {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(250px, 1fr) auto;
    align-items: center;
    gap: 14px;
}

.erpdc-toolbar-info[b-jdawcvhike] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.erpdc-toolbar-icon[b-jdawcvhike] {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    box-shadow: 0 16px 32px rgba(var(--erp-primary-rgb, 37, 99, 235), .22);
}

.erpdc-toolbar-icon :deep(.mud-icon-root)[b-jdawcvhike] {
    font-size: 22px !important;
}

.erpdc-toolbar-icon.has-logo[b-jdawcvhike] {
    overflow: hidden;
    padding: 5px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(var(--erp-primary-rgb, 37, 99, 235), .24);
}

.erpdc-toolbar-icon img[b-jdawcvhike] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 11px;
}

.erpdc-toolbar-info strong[b-jdawcvhike],
.erpdc-toolbar-info span[b-jdawcvhike] {
    display: block;
}

.erpdc-toolbar-info strong[b-jdawcvhike] {
    color: var(--erpdc-text, #0f172a);
    font-size: 17px;
    line-height: 1.35;
    font-weight: 1000;
}

.erpdc-toolbar-info span[b-jdawcvhike] {
    margin-top: 4px;
    color: var(--erpdc-muted, #64748b);
    font-size: 12px;
    line-height: 1.7;
    font-weight: 850;
}

.erpdc-toolbar-buttons[b-jdawcvhike],
.erpdc-toolbar-tools[b-jdawcvhike] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.erpdc-toolbar-buttons[b-jdawcvhike] {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 9px;
}

.erpdc-toolbar-tools[b-jdawcvhike] {
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.erpdc-toolbar-pro button[b-jdawcvhike] {
    min-width: 0;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 13px;
    border-radius: 999px;
    border: 1px solid var(--erpdc-border, #e2e8f0);
    color: var(--erpdc-muted, #64748b);
    background: var(--erpdc-card-soft, #f8fafc);
    font-family: inherit;
    font-size: 12px;
    line-height: 1;
    font-weight: 1000;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
    position: relative;
    flex-shrink: 0;
    outline: 0;
    -webkit-tap-highlight-color: transparent;
    transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, filter .2s ease;
    will-change: transform;
}

.erpdc-toolbar-pro button:hover[b-jdawcvhike] {
    transform: translateY(-2px);
    border-color: var(--erpdc-border-strong, #bfdbfe);
    box-shadow: 0 12px 24px rgba(15, 23, 42, .07);
}

.erpdc-toolbar-pro button:active:not(:disabled)[b-jdawcvhike] {
    transform: translateY(0) scale(.985);
    filter: brightness(.96);
    border-width: 1px;
    box-shadow: 0 5px 14px rgba(15, 23, 42, .10);
}

.erpdc-toolbar-pro button:focus[b-jdawcvhike] { outline: 0; }
.erpdc-toolbar-pro button:focus-visible[b-jdawcvhike] {
    outline: 3px solid color-mix(in srgb, var(--erpdc-blue, var(--erp-primary, #2563eb)) 28%, transparent);
    outline-offset: 3px;
    box-shadow: 0 0 0 1px var(--erpdc-card-bg, #fff), 0 10px 24px rgba(var(--erp-primary-rgb, 37, 99, 235), .18);
}

.erpdc-toolbar-pro button:disabled[b-jdawcvhike] {
    cursor: wait;
    opacity: .72;
    transform: none !important;
    filter: none !important;
}

.erpdc-toolbar-pro button > span[b-jdawcvhike],
.erpdc-toolbar-pro button :deep(.mud-icon-root)[b-jdawcvhike] {
    flex: 0 0 auto;
    transform: translateZ(0);
    pointer-events: none;
}

.erpdc-toolbar-pro button :deep(.mud-icon-root)[b-jdawcvhike] {
    font-size: 17px !important;
}

.widget-chip[b-jdawcvhike] {
    width: 100%;
    min-width: 0;
}

.widget-chip.active[b-jdawcvhike] {
    color: var(--erp-on-brand, #ffffff) !important;
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed)) !important;
    border-color: transparent !important;
    box-shadow: 0 14px 28px rgba(var(--erp-primary-rgb, 37, 99, 235), .20);
}

.erpdc-toolbar-tools button.tool[b-jdawcvhike] {
    color: var(--erp-primary-ink, var(--erp-primary, #2563eb));
    background: var(--erpdc-card-soft-2, #eff6ff);
    border-color: var(--erpdc-border-strong, #bfdbfe);
}

.erpdc-toolbar-tools button.active-edit[b-jdawcvhike] {
    color: #ffffff !important;
    background: linear-gradient(135deg, #f97316, #dc2626) !important;
    border-color: transparent !important;
    box-shadow: 0 14px 28px rgba(220, 38, 38, .18);
}

.erpdc-toolbar-tools button.save-tool.is-saving[b-jdawcvhike] {
    color: var(--erp-on-brand, #ffffff) !important;
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed)) !important;
    border-color: transparent !important;
    box-shadow: 0 12px 26px rgba(var(--erp-primary-rgb, 37, 99, 235), .22);
}

.erpdc-toolbar-tools button.save-tool.is-saving[b-jdawcvhike]::before {
    content: "";
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    border: 2px solid rgba(255,255,255,.38);
    border-top-color: #fff;
    border-radius: 50%;
    animation: toolbar-spin-b-jdawcvhike .7s linear infinite;
}

.erpdc-toolbar-tools button.refresh-tool.is-refreshing :deep(.mud-icon-root)[b-jdawcvhike] {
    animation: toolbar-spin-b-jdawcvhike .8s linear infinite;
}

@keyframes toolbar-spin-b-jdawcvhike { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
    .erpdc-toolbar-pro button[b-jdawcvhike] { transition-duration: .01ms; }
    .erpdc-toolbar-tools button.save-tool.is-saving[b-jdawcvhike]::before { animation-duration: 1.4s; }
}

.erpdc-toolbar-tools button.theme.dark[b-jdawcvhike] {
    color: #f8fafc;
    background: #0f172a;
    border-color: #334155;
}

.erpdc-toolbar-tools button.theme.light[b-jdawcvhike] {
    color: #b45309;
    background: #fffbeb;
    border-color: #fde68a;
}

.erpdc-toolbar-pro :deep(.mud-icon-root)[b-jdawcvhike] {
    color: inherit !important;
}

.erpdb-dark .erpdc-toolbar-pro[b-jdawcvhike],
:host-context(.erpdb-dark) .erpdc-toolbar-pro[b-jdawcvhike] {
    background:
        radial-gradient(circle at 8% 0%, rgba(96, 165, 250, .12), transparent 240px),
        var(--erpdc-card-bg, #0f172a);
}

@media (max-width: 1500px) {
    .erpdc-toolbar-buttons[b-jdawcvhike] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1180px) {
    .erpdc-toolbar-head[b-jdawcvhike] {
        grid-template-columns: 1fr;
    }

    .erpdc-toolbar-tools[b-jdawcvhike] {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 760px) {
    .erpdc-toolbar-pro[b-jdawcvhike] {
        padding: 14px;
        border-radius: 22px;
    }

    .erpdc-toolbar-info[b-jdawcvhike] {
        align-items: flex-start;
    }

    .erpdc-toolbar-buttons[b-jdawcvhike] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .erpdc-toolbar-tools[b-jdawcvhike] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .erpdc-toolbar-tools button[b-jdawcvhike] {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .erpdc-toolbar-buttons[b-jdawcvhike],
    .erpdc-toolbar-tools[b-jdawcvhike] {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   ERPPlus DashboardToolbar Final Theme Fix
   ========================================================= */

body.erpdb-dark .erpdc-toolbar-pro[b-jdawcvhike],
:host-context(.erpdb-dark) .erpdc-toolbar-pro[b-jdawcvhike] {
    background:
        radial-gradient(circle at 8% 0%, rgba(96, 165, 250, .12), transparent 240px),
        #0f172a !important;
    border-color: #1e293b !important;
    color: #f8fafc !important;
}

body.erpdb-light .erpdc-toolbar-pro[b-jdawcvhike],
:host-context(.erpdb-light) .erpdc-toolbar-pro[b-jdawcvhike] {
    background:
        radial-gradient(circle at 8% 0%, rgba(var(--erp-primary-rgb, 37, 99, 235), .08), transparent 240px),
        #ffffff !important;
    border-color: #e2e8f0 !important;
    color: #0f172a !important;
}

body.erpdb-dark .erpdc-toolbar-info strong[b-jdawcvhike],
:host-context(.erpdb-dark) .erpdc-toolbar-info strong[b-jdawcvhike] {
    color: #f8fafc !important;
}

body.erpdb-dark .erpdc-toolbar-info span[b-jdawcvhike],
:host-context(.erpdb-dark) .erpdc-toolbar-info span[b-jdawcvhike] {
    color: #cbd5e1 !important;
}

body.erpdb-light .erpdc-toolbar-info strong[b-jdawcvhike],
:host-context(.erpdb-light) .erpdc-toolbar-info strong[b-jdawcvhike] {
    color: #0f172a !important;
}

body.erpdb-light .erpdc-toolbar-info span[b-jdawcvhike],
:host-context(.erpdb-light) .erpdc-toolbar-info span[b-jdawcvhike] {
    color: #64748b !important;
}

/* =========================================================
   ERPPlus Final Patch - Toolbar Theme Sync
   ========================================================= */
body.erpdb-dark .erpdc-toolbar-pro[b-jdawcvhike],
html.erpdb-dark .erpdc-toolbar-pro[b-jdawcvhike],
.erpdb-dark .erpdc-toolbar-pro[b-jdawcvhike],
:host-context(.erpdb-dark) .erpdc-toolbar-pro[b-jdawcvhike] {
    background:
        radial-gradient(circle at 8% 0%, rgba(96, 165, 250, .12), transparent 240px),
        #0f172a !important;
    border-color: #1e293b !important;
    color: #f8fafc !important;
}

body.erpdb-light .erpdc-toolbar-pro[b-jdawcvhike],
html.erpdb-light .erpdc-toolbar-pro[b-jdawcvhike],
.erpdb-light .erpdc-toolbar-pro[b-jdawcvhike],
:host-context(.erpdb-light) .erpdc-toolbar-pro[b-jdawcvhike] {
    background:
        radial-gradient(circle at 8% 0%, rgba(var(--erp-primary-rgb, 37, 99, 235), .08), transparent 240px),
        #ffffff !important;
    border-color: #e2e8f0 !important;
    color: #0f172a !important;
}

.erpdc-toolbar-pro button.theme.dark span[b-jdawcvhike]::before {
    content: "";
}

.erpdc-toolbar-pro button.theme.light span[b-jdawcvhike]::before {
    content: "";
}
/* /Components/Pages/DashboardCanvas/DashboardUserSales.razor.rz.scp.css */
.erpdc-user-sales[b-4gzpojxbvx]{width:100%;padding:24px;border-radius:26px;background:var(--erpdc-card-bg,#fff);border:1px solid var(--erpdc-border,#e2e8f0);box-shadow:var(--erpdc-shadow);overflow:hidden}.erpdc-user-sales__header[b-4gzpojxbvx]{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.erpdc-user-sales__eyebrow[b-4gzpojxbvx]{display:flex;align-items:center;gap:7px;color:var(--erp-primary,#5b5bff);font-size:10px;font-weight:1000}.erpdc-user-sales h2[b-4gzpojxbvx]{margin:5px 0;font-size:22px}.erpdc-user-sales p[b-4gzpojxbvx]{margin:0;color:var(--erpdc-muted);font-size:11px}.erpdc-user-sales__totals[b-4gzpojxbvx]{min-width:180px;padding:13px 16px;border-radius:17px;text-align:center;background:linear-gradient(135deg,rgba(var(--erp-primary-rgb,91,91,255),.11),rgba(124,77,255,.08));border:1px solid rgba(var(--erp-primary-rgb,91,91,255),.16)}.erpdc-user-sales__totals span[b-4gzpojxbvx],.erpdc-user-sales__totals small[b-4gzpojxbvx]{display:block;color:var(--erpdc-muted);font-size:10px}.erpdc-user-sales__totals strong[b-4gzpojxbvx]{display:block;margin:4px 0;font-size:20px}.erpdc-user-sales__table-wrap[b-4gzpojxbvx]{overflow:auto;border:1px solid var(--erpdc-border);border-radius:18px}.erpdc-user-sales__table[b-4gzpojxbvx]{width:100%;min-width:860px;border-collapse:collapse}.erpdc-user-sales__table th[b-4gzpojxbvx],.erpdc-user-sales__table td[b-4gzpojxbvx]{padding:13px 15px;text-align:right;border-bottom:1px solid var(--erpdc-border);white-space:nowrap}.erpdc-user-sales__table th[b-4gzpojxbvx]{color:var(--erpdc-muted);background:color-mix(in srgb,var(--erpdc-card-soft,#f8fafc) 88%,transparent);font-size:10px;font-weight:1000}.erpdc-user-sales__table td[b-4gzpojxbvx]{font-size:11px}.erpdc-user-sales__table tbody tr:last-child td[b-4gzpojxbvx]{border-bottom:0}.erpdc-user-sales__table tbody tr:hover[b-4gzpojxbvx]{background:rgba(var(--erp-primary-rgb,91,91,255),.035)}.erpdc-user-sales__identity[b-4gzpojxbvx]{display:flex;align-items:center;gap:9px}.erpdc-user-sales__identity>span[b-4gzpojxbvx]{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;color:#fff;background:linear-gradient(135deg,var(--erp-primary,#5b5bff),var(--erp-accent,#7c4dff));font-size:13px;font-weight:1000}.erpdc-user-sales__identity strong[b-4gzpojxbvx]{font-size:11px}.erpdc-user-sales__table code[b-4gzpojxbvx]{padding:4px 7px;border-radius:8px;color:var(--erp-primary,#5b5bff);background:rgba(var(--erp-primary-rgb,91,91,255),.08);font-family:inherit;font-size:10px}.erpdc-user-sales__share[b-4gzpojxbvx]{display:flex;align-items:center;gap:9px;min-width:150px}.erpdc-user-sales__share>div[b-4gzpojxbvx]{width:105px;height:7px;overflow:hidden;border-radius:999px;background:var(--erpdc-border)}.erpdc-user-sales__share i[b-4gzpojxbvx]{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,var(--erp-primary,#5b5bff),var(--erp-accent,#7c4dff))}.erpdc-user-sales__share span[b-4gzpojxbvx]{color:var(--erpdc-muted);font-size:10px}.erpdc-user-sales__empty[b-4gzpojxbvx]{padding:28px;text-align:center;color:var(--erpdc-muted);border:1px dashed var(--erpdc-border);border-radius:18px}@media(max-width:760px){.erpdc-user-sales[b-4gzpojxbvx]{padding:17px}.erpdc-user-sales__header[b-4gzpojxbvx]{align-items:stretch;flex-direction:column}.erpdc-user-sales__totals[b-4gzpojxbvx]{width:100%}}
/* /Components/Pages/Docs.razor.rz.scp.css */
.docs-shell[b-lyfl6aohb7]{width:100%;max-width:1440px;margin:0 auto;display:grid;gap:18px;color:var(--erpdc-text,#0f172a)}.docs-breadcrumb[b-lyfl6aohb7]{display:flex;align-items:center;gap:6px;color:var(--erpdc-muted,#64748b);font-size:12px}.docs-breadcrumb a[b-lyfl6aohb7]{color:#5b5bff;text-decoration:none}.docs-hero[b-lyfl6aohb7]{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.55fr);align-items:center;gap:24px;padding:28px;border-radius:26px;color:#fff;background:radial-gradient(circle at 15% 0,rgba(255,255,255,.18),transparent 230px),linear-gradient(135deg,#3730a3,#5b5bff 55%,#7c4dff);box-shadow:0 20px 48px rgba(91,91,255,.2)}.docs-eyebrow[b-lyfl6aohb7]{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:900}.docs-hero h1[b-lyfl6aohb7]{margin:9px 0 6px;font-size:clamp(25px,2.4vw,40px)}.docs-hero p[b-lyfl6aohb7]{margin:0;color:rgba(255,255,255,.82)}.docs-search[b-lyfl6aohb7]{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 13px;border:1px solid rgba(255,255,255,.22);border-radius:17px;background:rgba(255,255,255,.12)}.docs-search input[b-lyfl6aohb7]{height:42px;border:0;outline:0;color:#fff;background:transparent;font-family:inherit}.docs-search input[b-lyfl6aohb7]::placeholder{color:rgba(255,255,255,.7)}.docs-search kbd[b-lyfl6aohb7]{padding:5px 8px;border-radius:9px;background:rgba(15,23,42,.28)}.docs-layout[b-lyfl6aohb7]{display:grid;grid-template-columns:230px minmax(0,1fr);gap:18px}.docs-categories[b-lyfl6aohb7],.docs-content[b-lyfl6aohb7]{padding:18px;border:1px solid var(--erpdc-border,#e2e8f0);border-radius:22px;background:var(--erpdc-card-bg,#fff);box-shadow:0 14px 36px rgba(15,23,42,.05)}.docs-categories[b-lyfl6aohb7]{align-self:start;display:grid;gap:6px}.docs-categories>strong[b-lyfl6aohb7]{margin:4px 8px 9px}.docs-categories button[b-lyfl6aohb7]{display:flex;justify-content:space-between;padding:10px 11px;border:0;border-radius:11px;color:var(--erpdc-muted,#64748b);background:transparent;font-family:inherit;cursor:pointer}.docs-categories button:hover[b-lyfl6aohb7],.docs-categories button.active[b-lyfl6aohb7]{color:#5b5bff;background:rgba(91,91,255,.09)}.docs-grid[b-lyfl6aohb7]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.docs-card[b-lyfl6aohb7]{display:grid;grid-template-columns:46px minmax(0,1fr);gap:12px;padding:16px;border:1px solid var(--erpdc-border,#e2e8f0);border-radius:17px;color:inherit;background:var(--erpdc-card-soft,#f8fafc);text-decoration:none;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.docs-card:hover[b-lyfl6aohb7]{transform:translateY(-3px);border-color:rgba(91,91,255,.35);box-shadow:0 15px 32px rgba(91,91,255,.1)}.docs-icon[b-lyfl6aohb7]{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;color:#5b5bff;background:rgba(91,91,255,.1)}.docs-card small[b-lyfl6aohb7]{color:#7c4dff;font-weight:900}.docs-card h3[b-lyfl6aohb7]{margin:4px 0;font-size:15px}.docs-card p[b-lyfl6aohb7]{min-height:42px;margin:0;color:var(--erpdc-muted,#64748b);font-size:11px;line-height:1.8}.docs-card footer[b-lyfl6aohb7]{display:flex;justify-content:space-between;gap:8px;margin-top:10px;color:var(--erpdc-muted,#64748b);font-size:10px}.docs-card footer b[b-lyfl6aohb7]{color:#5b5bff}.docs-card mark[b-lyfl6aohb7]{background:#fde68a}.docs-empty[b-lyfl6aohb7],.docs-loading[b-lyfl6aohb7]{min-height:300px;display:grid;place-items:center;align-content:center;gap:10px;color:var(--erpdc-muted,#64748b)}.docs-empty a[b-lyfl6aohb7],.docs-empty button[b-lyfl6aohb7]{padding:9px 13px;border:0;border-radius:10px;color:#fff;background:#5b5bff;text-decoration:none}.docs-loading span[b-lyfl6aohb7]{width:34px;height:34px;border:3px solid #e0e7ff;border-top-color:#5b5bff;border-radius:50%;animation:spin-b-lyfl6aohb7 .7s linear infinite}@keyframes spin-b-lyfl6aohb7{to{transform:rotate(360deg)}}@media(max-width:1200px){.docs-grid[b-lyfl6aohb7]{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.docs-hero[b-lyfl6aohb7],.docs-layout[b-lyfl6aohb7]{grid-template-columns:1fr}.docs-categories[b-lyfl6aohb7]{display:flex;overflow:auto}.docs-categories>strong[b-lyfl6aohb7]{display:none}.docs-categories button[b-lyfl6aohb7]{white-space:nowrap}}@media(max-width:600px){.docs-hero[b-lyfl6aohb7]{padding:20px}.docs-grid[b-lyfl6aohb7]{grid-template-columns:1fr}.docs-content[b-lyfl6aohb7]{padding:13px}}
/* /Components/Pages/ElectronicCommercialBookExports.razor.rz.scp.css */
.ecb-detail-panel[b-y7j8u1833q]{margin-top:16px;padding:12px;border-radius:10px;}
/* /Components/Pages/ElectronicCommercialBooks.razor.rz.scp.css */
.ecb-page[b-48iecgdhtm]{padding:24px;display:grid;gap:18px;color:#132238}.ecb-hero[b-48iecgdhtm]{background:linear-gradient(135deg,#172f6f,#2f6fed);color:#fff;border-radius:28px;padding:28px 32px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 18px 45px rgba(25,63,143,.24)}.ecb-hero h1[b-48iecgdhtm]{margin:6px 0 8px;font-size:32px}.ecb-hero p[b-48iecgdhtm],.ecb-hero span[b-48iecgdhtm]{opacity:.9}.ecb-hero[b-48iecgdhtm]  .mud-icon-root{font-size:58px}.ecb-toolbar[b-48iecgdhtm]{display:flex;gap:10px;align-items:end;flex-wrap:wrap;background:#fff;border:1px solid #dfe7f5;padding:16px;border-radius:20px}.ecb-toolbar label[b-48iecgdhtm]{display:grid;gap:6px;min-width:170px;font-size:13px;font-weight:800}.ecb-toolbar input[b-48iecgdhtm],.ecb-toolbar button[b-48iecgdhtm]{height:46px;border:1px solid #cdd9ec;border-radius:13px;background:#fff;padding:0 14px}.ecb-toolbar button[b-48iecgdhtm]{display:flex;align-items:center;gap:7px;font-weight:800;cursor:pointer}.ecb-toolbar button.primary[b-48iecgdhtm]{background:#2463eb;color:#fff;border-color:#2463eb}.ecb-toolbar button:disabled[b-48iecgdhtm]{opacity:.55;cursor:not-allowed}.ecb-alert[b-48iecgdhtm],.ecb-state[b-48iecgdhtm]{padding:16px;border-radius:16px}.ecb-alert.error[b-48iecgdhtm]{background:#fff0f0;color:#a71919;border:1px solid #ffc9c9}.ecb-state[b-48iecgdhtm]{background:#fff;border:1px solid #e0e8f4;text-align:center}.ecb-identity[b-48iecgdhtm]{background:#f7faff;border:1px solid #dfe7f5;border-radius:24px;padding:20px;display:grid;gap:18px}.ecb-print-header[b-48iecgdhtm]{display:flex;justify-content:space-between;gap:22px;background:#fff;border:1px solid #dce5f2;border-radius:20px;padding:22px}.ecb-org-title h2[b-48iecgdhtm]{margin:0 0 6px;font-size:27px}.ecb-org-title p[b-48iecgdhtm]{margin:3px 0;color:#60718a}.ecb-identity-meta[b-48iecgdhtm]{display:grid;gap:7px;min-width:270px;color:#42536c}.ecb-seal-row[b-48iecgdhtm]{display:grid;grid-template-columns:1fr 1.5fr 1fr;gap:12px}.ecb-seal-row>div[b-48iecgdhtm]{background:#fff;border:1px solid #dce5f2;border-radius:16px;padding:14px;display:grid;gap:4px}.ecb-seal-row span[b-48iecgdhtm]{color:#6b7890;font-size:12px}.ecb-seal-row strong[b-48iecgdhtm]{font-size:15px}.ecb-seal-row small[b-48iecgdhtm]{color:#7c899e}.ecb-hash code[b-48iecgdhtm]{direction:ltr;text-align:left;background:#f1f5fb;padding:7px;border-radius:8px;font-size:12px}.ecb-final-seal.final[b-48iecgdhtm]{background:#effcf3;border-color:#b7e8c4}.ecb-final-seal.draft[b-48iecgdhtm]{background:#fff8e9;border-color:#f0d398}.ecb-kpis[b-48iecgdhtm]{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.ecb-kpis article[b-48iecgdhtm]{background:#fff;border:1px solid #dce5f2;border-radius:16px;padding:16px;display:grid;gap:6px}.ecb-kpis article span[b-48iecgdhtm]{color:#66758b;font-size:12px}.ecb-kpis article strong[b-48iecgdhtm]{font-size:21px}.ecb-kpis article small[b-48iecgdhtm]{color:#7c899e}.ecb-kpis article.ready[b-48iecgdhtm]{background:#effcf3;border-color:#b7e8c4}.ecb-kpis article.blocked[b-48iecgdhtm]{background:#fff1f1;border-color:#ffcaca}.ecb-tabs[b-48iecgdhtm]{display:flex;gap:8px;background:#eaf0fb;padding:7px;border-radius:14px}.ecb-tabs button[b-48iecgdhtm]{border:0;background:transparent;padding:11px 18px;border-radius:10px;font-weight:800;cursor:pointer}.ecb-tabs button.active[b-48iecgdhtm]{background:#2864df;color:#fff}.ecb-card[b-48iecgdhtm]{background:#fff;border:1px solid #dce5f2;border-radius:18px;overflow:hidden}.ecb-card-title[b-48iecgdhtm]{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid #e5ebf5}.ecb-card-title h3[b-48iecgdhtm]{margin:0}.ecb-table-wrap[b-48iecgdhtm]{overflow:auto}.ecb-card table[b-48iecgdhtm]{width:100%;border-collapse:collapse;min-width:1050px}.ecb-card th[b-48iecgdhtm],.ecb-card td[b-48iecgdhtm]{padding:11px 10px;border-bottom:1px solid #e8edf5;text-align:right;font-size:12px;vertical-align:top}.ecb-card th[b-48iecgdhtm]{background:#f6f8fc;position:sticky;top:0;z-index:1}.ecb-card tfoot td[b-48iecgdhtm]{font-weight:900;background:#edf4ff}.money[b-48iecgdhtm]{white-space:nowrap;font-variant-numeric:tabular-nums}.ecb-issues[b-48iecgdhtm]{display:grid;gap:10px;padding:15px}.ecb-issues article[b-48iecgdhtm]{display:flex;gap:10px;padding:13px;border-radius:12px}.ecb-issues article.error[b-48iecgdhtm]{background:#fff0f0;color:#9a1717}.ecb-issues article.warning[b-48iecgdhtm]{background:#fff8e9;color:#815500}.ecb-issues article div[b-48iecgdhtm]{display:grid;gap:4px}.ecb-empty[b-48iecgdhtm]{padding:25px;text-align:center}.ecb-empty.success[b-48iecgdhtm]{color:#137b3b}.ecb-signatures[b-48iecgdhtm]{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:10px}.ecb-signatures div[b-48iecgdhtm]{height:115px;border:1px dashed #9eabc0;border-radius:14px;padding:13px;display:flex;flex-direction:column;justify-content:space-between;text-align:center;background:#fff}.ecb-signatures span[b-48iecgdhtm]{font-weight:800}.ecb-signatures small[b-48iecgdhtm]{color:#7a879b}.ecb-print-footer[b-48iecgdhtm]{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #cfd9e8;padding-top:12px;font-size:11px;color:#65738a}.ecb-note[b-48iecgdhtm]{padding:12px;background:#edf3ff;border-radius:12px;color:#52657f;font-size:12px}
@media(max-width:1100px){.ecb-kpis[b-48iecgdhtm]{grid-template-columns:repeat(3,1fr)}.ecb-seal-row[b-48iecgdhtm]{grid-template-columns:1fr}.ecb-print-header[b-48iecgdhtm]{flex-direction:column}.ecb-identity-meta[b-48iecgdhtm]{min-width:0}}
@media(max-width:700px){.ecb-page[b-48iecgdhtm]{padding:12px}.ecb-kpis[b-48iecgdhtm]{grid-template-columns:1fr 1fr}.ecb-signatures[b-48iecgdhtm]{grid-template-columns:1fr}.ecb-toolbar label[b-48iecgdhtm]{width:100%}.ecb-hero h1[b-48iecgdhtm]{font-size:24px}}
@media print{@page{size:A4 landscape;margin:10mm 8mm}.no-print[b-48iecgdhtm]{display:none!important}.ecb-page[b-48iecgdhtm]{padding:0}.ecb-identity[b-48iecgdhtm]{padding:0;border:0;background:#fff}.ecb-print-header[b-48iecgdhtm],.ecb-seal-row>div[b-48iecgdhtm],.ecb-kpis article[b-48iecgdhtm],.ecb-card[b-48iecgdhtm]{box-shadow:none;border-color:#aeb8c6}.ecb-kpis[b-48iecgdhtm]{grid-template-columns:repeat(6,1fr)}.ecb-kpis article[b-48iecgdhtm]{padding:8px}.ecb-kpis article strong[b-48iecgdhtm]{font-size:14px}.ecb-card table[b-48iecgdhtm]{min-width:0}.ecb-card th[b-48iecgdhtm],.ecb-card td[b-48iecgdhtm]{font-size:8px;padding:5px}.ecb-card thead[b-48iecgdhtm]{display:table-header-group}.ecb-card tfoot[b-48iecgdhtm]{display:table-footer-group}.ecb-card tr[b-48iecgdhtm]{break-inside:avoid}.ecb-signatures[b-48iecgdhtm]{break-inside:avoid}.ecb-print-footer[b-48iecgdhtm]{position:fixed;bottom:0;left:0;right:0;background:#fff}.page-counter[b-48iecgdhtm]::after{content:"صفحه " counter(page) " از " counter(pages)}.print-section[b-48iecgdhtm]{break-after:auto}}

/* Electronic Commercial Books final print/layout stabilization */
.ecb-card[b-48iecgdhtm]{
    overflow:hidden;
}
.ecb-card table[b-48iecgdhtm]{
    table-layout:fixed;
}
.ecb-card th[b-48iecgdhtm],
.ecb-card td[b-48iecgdhtm]{
    overflow-wrap:anywhere;
    word-break:break-word;
    white-space:normal;
}
.ecb-card th:nth-child(1)[b-48iecgdhtm],.ecb-card td:nth-child(1)[b-48iecgdhtm]{
    width:70px;
}
.ecb-card th:nth-child(2)[b-48iecgdhtm],.ecb-card td:nth-child(2)[b-48iecgdhtm]{
    width:130px;
}
.ecb-card th:nth-child(3)[b-48iecgdhtm],.ecb-card td:nth-child(3)[b-48iecgdhtm]{
    width:120px;
}
.ecb-card th:nth-child(4)[b-48iecgdhtm],.ecb-card td:nth-child(4)[b-48iecgdhtm]{
    width:90px;
}
.ecb-card th:nth-child(5)[b-48iecgdhtm],.ecb-card td:nth-child(5)[b-48iecgdhtm]{
    width:90px;
}
.ecb-card th:nth-child(6)[b-48iecgdhtm],.ecb-card td:nth-child(6)[b-48iecgdhtm]{
    width:160px;
}
.ecb-card th:last-child[b-48iecgdhtm],.ecb-card td:last-child[b-48iecgdhtm]{
    width:auto;
}
@media print{
    body[b-48iecgdhtm]{
        -webkit-print-color-adjust:exact;
        print-color-adjust:exact;
    }
    .ecb-print-header[b-48iecgdhtm]{
        break-inside:avoid;
    }
    .ecb-card[b-48iecgdhtm]{
        page-break-inside:auto;
    }
    .ecb-card table[b-48iecgdhtm]{
        width:100%;
        table-layout:fixed;
    }
    .ecb-card th[b-48iecgdhtm],
    .ecb-card td[b-48iecgdhtm]{
        font-size:7.5pt!important;
        line-height:1.5;
        padding:4px!important;
        overflow-wrap:anywhere;
    }
    .ecb-card tr[b-48iecgdhtm]{
        page-break-inside:avoid;
    }
    .ecb-card thead[b-48iecgdhtm]{
        display:table-header-group;
    }
    .ecb-card tfoot[b-48iecgdhtm]{
        display:table-footer-group;
    }
}


/* Electronic Commercial Books legal print patch */
@media print {
    @page { size: A4 landscape; margin: 12mm 8mm 14mm 8mm; }

    body[b-48iecgdhtm] { background:#fff !important; }
    .ecb-identity[b-48iecgdhtm] { display:block; }
    .ecb-print-header[b-48iecgdhtm] { border:0; border-bottom:1px solid #000; border-radius:0; padding:0 0 8px; margin-bottom:10px; }
    .ecb-seal-row[b-48iecgdhtm],
    .ecb-kpis[b-48iecgdhtm] { display:none !important; }

    .ecb-card[b-48iecgdhtm] {
        border:0 !important;
        border-radius:0;
        overflow:visible;
        break-inside:auto;
    }

    .ecb-card-title[b-48iecgdhtm] { padding:5px 0; border-bottom:1px solid #000; }
    .ecb-table-wrap[b-48iecgdhtm] { overflow:visible !important; }
    .ecb-card table[b-48iecgdhtm] {
        width:100%;
        table-layout:fixed;
        border-collapse:collapse;
        min-width:0;
    }

    .ecb-card th[b-48iecgdhtm],
    .ecb-card td[b-48iecgdhtm] {
        border:1px solid #777;
        padding:5px;
        vertical-align:middle;
        word-break:normal;
        overflow-wrap:anywhere;
        white-space:normal;
    }

    .ecb-card thead[b-48iecgdhtm] { display:table-header-group; }
    .ecb-card tr[b-48iecgdhtm] { break-inside:avoid; page-break-inside:avoid; }

    .ecb-card th:nth-child(1)[b-48iecgdhtm], .ecb-card td:nth-child(1)[b-48iecgdhtm] { width:7%; }
    .ecb-card th:nth-child(2)[b-48iecgdhtm], .ecb-card td:nth-child(2)[b-48iecgdhtm] { width:8%; }
    .ecb-card th:nth-child(3)[b-48iecgdhtm], .ecb-card td:nth-child(3)[b-48iecgdhtm] { width:8%; }
    .ecb-card th:nth-child(4)[b-48iecgdhtm], .ecb-card td:nth-child(4)[b-48iecgdhtm] { width:18%; }
    .ecb-card th:nth-child(5)[b-48iecgdhtm], .ecb-card td:nth-child(5)[b-48iecgdhtm] { width:8%; }
    .ecb-card th:nth-child(6)[b-48iecgdhtm], .ecb-card td:nth-child(6)[b-48iecgdhtm] { width:15%; }

    .money[b-48iecgdhtm] {
        white-space:nowrap;
        direction:ltr;
    }

    .ecb-signatures[b-48iecgdhtm] { margin-top:20px; }
    .ecb-print-footer[b-48iecgdhtm] {
        position:fixed;
        bottom:0;
        left:0;
        right:0;
        border-top:1px solid #000;
        padding-top:5px;
        background:#fff;
    }
}

@media print {
@page { size:A4 landscape; margin:12mm 8mm 14mm 8mm; }
.ecb-seal-row[b-48iecgdhtm],.ecb-kpis[b-48iecgdhtm]{display:none!important;}
.ecb-print-header[b-48iecgdhtm]{border:0;border-bottom:1px solid #000;border-radius:0;padding:0 0 8px;}
.ecb-card[b-48iecgdhtm]{border:0!important;border-radius:0;overflow:visible;}
.ecb-table-wrap[b-48iecgdhtm]{overflow:visible!important;}
.ecb-card table[b-48iecgdhtm]{width:100%;table-layout:fixed;min-width:0;border-collapse:collapse;}
.ecb-card th[b-48iecgdhtm],.ecb-card td[b-48iecgdhtm]{border:1px solid #777;padding:5px;white-space:normal;overflow-wrap:anywhere;vertical-align:middle;}
.ecb-card thead[b-48iecgdhtm]{display:table-header-group;}
.ecb-card tr[b-48iecgdhtm]{break-inside:avoid;page-break-inside:avoid;}
.money[b-48iecgdhtm]{white-space:nowrap;direction:ltr;}
.ecb-print-footer[b-48iecgdhtm]{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #000;}
}


/* Legal commercial books print final layout */
@media print {
    .ecb-legal-print[b-48iecgdhtm] {
        display:block !important;
    }

    .ecb-legal-print .ecb-print-header[b-48iecgdhtm] {
        margin-bottom:8px;
        break-after:avoid;
    }

    .ecb-legal-print .print-section[b-48iecgdhtm] {
        break-inside:auto;
    }

    .ecb-legal-print .ecb-card-title[b-48iecgdhtm] {
        break-after:avoid;
    }

    .ecb-legal-table[b-48iecgdhtm] {
        page-break-inside:auto;
    }

    .ecb-legal-table thead[b-48iecgdhtm] {
        display:table-header-group;
    }

    .ecb-legal-table tbody[b-48iecgdhtm] {
        display:table-row-group;
    }

    .ecb-legal-table tr[b-48iecgdhtm] {
        page-break-inside:avoid;
        break-inside:avoid;
    }

    .ecb-legal-table td:nth-child(2)[b-48iecgdhtm],
    .ecb-legal-table td:nth-child(4)[b-48iecgdhtm],
    .ecb-legal-table td:nth-child(6)[b-48iecgdhtm],
    .ecb-legal-table td:nth-child(7)[b-48iecgdhtm] {
        white-space:normal;
    }

    .ecb-signatures[b-48iecgdhtm] {
        break-inside:avoid;
    }
}
/* /Components/Pages/EmployeeFile.razor.rz.scp.css */
.employee-profile-page[b-ba4qup132g]{padding:28px 36px 70px;direction:rtl}.profile-state[b-ba4qup132g]{padding:48px;text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:22px}.profile-state.error[b-ba4qup132g]{color:#b42318;background:#fff1f1}.profile-hero[b-ba4qup132g]{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 32px;border-radius:28px;background:linear-gradient(135deg,#101d36,#17345c 58%,#21487a);color:#fff;box-shadow:0 24px 60px rgba(17,39,75,.2)}.profile-person[b-ba4qup132g]{display:flex;align-items:center;gap:18px}.profile-avatar[b-ba4qup132g]{width:66px;height:66px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(135deg,#312e81,#6366f1);font-weight:900;font-size:20px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}.profile-person span[b-ba4qup132g],.section-head span[b-ba4qup132g]{font-size:10px;letter-spacing:2px;opacity:.72}.profile-person h1[b-ba4qup132g]{margin:6px 0 4px;font-size:29px}.profile-person p[b-ba4qup132g]{margin:0;color:#d7e4f5}.profile-actions[b-ba4qup132g]{display:flex;gap:8px;flex-wrap:wrap}.profile-actions a[b-ba4qup132g]{padding:10px 14px;border-radius:12px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);color:#fff;text-decoration:none;font-weight:700;font-size:13px}.profile-kpis[b-ba4qup132g]{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin:20px 0}.profile-kpis article[b-ba4qup132g]{padding:18px;background:#fff;border:1px solid #e2e8f0;border-radius:18px;display:flex;flex-direction:column;gap:7px}.profile-kpis span[b-ba4qup132g],.profile-kpis small[b-ba4qup132g]{color:#64748b;font-size:12px}.profile-kpis strong[b-ba4qup132g]{font-size:20px;color:#0f172a}.profile-section[b-ba4qup132g]{margin-top:18px;padding:24px;background:#fff;border:1px solid #e2e8f0;border-radius:22px;box-shadow:0 8px 28px rgba(30,41,59,.04)}.section-head[b-ba4qup132g]{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.section-head h2[b-ba4qup132g]{margin:5px 0 0;font-size:20px}.section-head>b[b-ba4qup132g]{font-size:12px;color:#64748b}.section-actions[b-ba4qup132g]{display:flex;align-items:center;gap:10px}.section-actions>b[b-ba4qup132g]{font-size:12px;color:#64748b}.contract-add-btn[b-ba4qup132g],.contract-edit-btn[b-ba4qup132g]{border:0;border-radius:11px;font:inherit;font-weight:800;cursor:pointer}.contract-add-btn[b-ba4qup132g]{padding:10px 14px;background:#0f766e;color:#fff}.contract-edit-btn[b-ba4qup132g]{margin-top:14px;padding:8px 12px;background:#eef2ff;color:#3730a3}.contract-message[b-ba4qup132g]{padding:11px 14px;border-radius:12px;margin-bottom:14px;font-size:13px;font-weight:800}.contract-message.success[b-ba4qup132g]{background:#dcfce7;color:#166534}.contract-message.error[b-ba4qup132g]{background:#fee2e2;color:#991b1b}.info-grid[b-ba4qup132g]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.info-item[b-ba4qup132g]{padding:14px 15px;border-radius:15px;background:#f8fafc;border:1px solid #edf1f6;display:flex;flex-direction:column;gap:6px}.info-item span[b-ba4qup132g]{font-size:11px;color:#64748b}.info-item strong[b-ba4qup132g]{font-size:13px;color:#172033;overflow-wrap:anywhere}.profile-note[b-ba4qup132g]{margin-top:12px;padding:15px;border-radius:15px;background:#f8fafc}.profile-note span[b-ba4qup132g]{font-size:11px;color:#64748b}.profile-note p[b-ba4qup132g]{margin:7px 0 0}.cards-grid[b-ba4qup132g],.signature-grid[b-ba4qup132g]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.record-card[b-ba4qup132g],.signature-card[b-ba4qup132g]{padding:18px;border:1px solid #e5eaf1;border-radius:17px;background:#fbfdff}.record-card>div[b-ba4qup132g],.signature-meta[b-ba4qup132g]{display:flex;align-items:center;justify-content:space-between;gap:12px}.record-card span[b-ba4qup132g],.record-card small[b-ba4qup132g],.record-card p[b-ba4qup132g]{color:#64748b}.record-card p[b-ba4qup132g]{margin:12px 0 6px}.contract-card-head>div[b-ba4qup132g]{display:flex;flex-direction:column;gap:4px}.contract-money-grid[b-ba4qup132g]{display:grid!important;grid-template-columns:repeat(3,1fr);gap:8px!important;margin:12px 0}.contract-money-grid span[b-ba4qup132g]{padding:9px;border-radius:10px;background:#f8fafc;font-size:11px;letter-spacing:0!important;opacity:1!important}.contract-money-grid b[b-ba4qup132g]{display:block;margin-top:4px;color:#0f172a}.signature-meta>div[b-ba4qup132g]{display:flex;flex-direction:column;gap:4px}.signature-meta span[b-ba4qup132g],.signature-card p[b-ba4qup132g]{color:#64748b;font-size:12px}.signed-info[b-ba4qup132g]{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:14px;padding:12px;border-radius:12px;background:#f8fafc;font-size:12px}.signature-preview[b-ba4qup132g]{margin-top:12px;border:1px dashed #cbd5e1;border-radius:14px;padding:10px;background:#fff;text-align:center}.signature-preview img[b-ba4qup132g]{max-width:100%;max-height:180px;object-fit:contain}.table-wrap[b-ba4qup132g]{overflow:auto}.table-wrap table[b-ba4qup132g]{width:100%;border-collapse:collapse;min-width:850px}.table-wrap th[b-ba4qup132g],.table-wrap td[b-ba4qup132g]{padding:12px 11px;border-bottom:1px solid #edf1f5;text-align:right;font-size:12px;vertical-align:middle}.table-wrap th[b-ba4qup132g]{color:#64748b;font-weight:700;background:#f8fafc}.table-wrap td strong[b-ba4qup132g]{display:block}.table-wrap td small[b-ba4qup132g]{display:block;color:#94a3b8;margin-top:4px}.pill[b-ba4qup132g]{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:11px;white-space:nowrap}.pill.ok[b-ba4qup132g]{background:#dcfce7;color:#166534}.pill.warn[b-ba4qup132g]{background:#fff7d6;color:#92400e}.pill.off[b-ba4qup132g]{background:#f1f5f9;color:#64748b}.empty[b-ba4qup132g]{padding:28px;text-align:center;color:#64748b;background:#f8fafc;border-radius:15px}.contract-modal-backdrop[b-ba4qup132g]{position:fixed;inset:0;z-index:2147483000;background:rgba(15,23,42,.68);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:18px}.contract-modal[b-ba4qup132g]{width:min(760px,96vw);max-height:calc(100dvh - 36px);overflow:auto;background:#fff;border-radius:22px;box-shadow:0 30px 90px rgba(0,0,0,.3)}.contract-modal-wide[b-ba4qup132g]{width:min(1100px,97vw);overflow:hidden;display:flex;flex-direction:column}.contract-modal-head[b-ba4qup132g]{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid #e5e7eb}.contract-modal-head span[b-ba4qup132g]{font-size:10px;letter-spacing:2px;color:#64748b}.contract-modal-head h2[b-ba4qup132g]{margin:5px 0 0}.contract-modal-head button[b-ba4qup132g]{width:38px;height:38px;border:0;border-radius:10px;background:#f1f5f9;font-size:24px;cursor:pointer}.contract-modal-body[b-ba4qup132g]{padding:18px 22px;overflow:auto}.contract-form-section[b-ba4qup132g]{border:1px solid #e5eaf1;border-radius:18px;background:#fff;margin-bottom:16px;overflow:hidden}.contract-form-section:last-child[b-ba4qup132g]{margin-bottom:0}.contract-form-section-head[b-ba4qup132g]{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:16px 18px;border-bottom:1px solid #eef2f7;background:#fbfdff}.contract-form-section-head span[b-ba4qup132g]{font-size:10px;letter-spacing:1.8px;color:#64748b}.contract-form-section-head h3[b-ba4qup132g]{margin:4px 0 0;font-size:16px}.contract-form-section-head small[b-ba4qup132g]{max-width:520px;color:#64748b;line-height:1.8}.contract-personnel-grid[b-ba4qup132g]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:16px 18px}.contract-source-item[b-ba4qup132g]{padding:11px 12px;border:1px solid #edf1f6;border-radius:12px;background:#f8fafc;min-width:0}.contract-source-item span[b-ba4qup132g]{display:block;font-size:10px;color:#64748b;margin-bottom:5px}.contract-source-item strong[b-ba4qup132g]{display:block;font-size:12px;color:#172033;overflow-wrap:anywhere}.contract-address[b-ba4qup132g]{margin:0 18px 14px;padding:12px 14px;border-radius:12px;background:#f8fafc;border:1px solid #edf1f6}.contract-address span[b-ba4qup132g]{display:block;font-size:10px;color:#64748b;margin-bottom:5px}.contract-address strong[b-ba4qup132g]{font-size:12px}.contract-source-note[b-ba4qup132g]{margin:0 18px 16px;padding:11px 13px;border-radius:12px;background:#eff6ff;color:#1d4ed8;font-size:12px;line-height:1.8}.contract-form[b-ba4qup132g]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:20px 22px}.contract-form label[b-ba4qup132g]{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:800;color:#475569}.contract-form em[b-ba4qup132g]{color:#dc2626;font-style:normal}.contract-form input[b-ba4qup132g],.contract-form select[b-ba4qup132g],.contract-form textarea[b-ba4qup132g]{width:100%;box-sizing:border-box;border:1px solid #dbe3ed;border-radius:11px;padding:10px 12px;background:#fff;color:#0f172a;font:inherit;outline:none}.contract-form input[b-ba4qup132g],.contract-form select[b-ba4qup132g]{height:44px}.contract-form input:focus[b-ba4qup132g],.contract-form select:focus[b-ba4qup132g],.contract-form textarea:focus[b-ba4qup132g]{border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.12)}.jalali-contract-date[b-ba4qup132g]{direction:ltr;text-align:center}.contract-current[b-ba4qup132g]{flex-direction:row!important;align-items:center;align-self:end;height:44px;padding:0 12px;border:1px solid #e2e8f0;border-radius:11px;background:#f8fafc}.contract-current input[b-ba4qup132g]{width:17px!important;height:17px!important}.contract-description[b-ba4qup132g],.contract-form .contract-message[b-ba4qup132g]{grid-column:1/-1}.contract-salary-source[b-ba4qup132g]{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:10px 12px;border:1px solid #dbe3ed;border-radius:11px;background:#f8fafc}.contract-salary-source span[b-ba4qup132g]{font-size:10px;color:#64748b}.contract-salary-source strong[b-ba4qup132g]{font-size:14px;color:#0f172a}.contract-salary-source small[b-ba4qup132g]{font-size:10px;color:#64748b}.contract-modal-actions[b-ba4qup132g]{display:flex;gap:10px;padding:14px 22px;border-top:1px solid #e5e7eb;background:#fff}.contract-modal-actions button[b-ba4qup132g]{border:0;border-radius:11px;padding:11px 18px;font:inherit;font-weight:900;cursor:pointer}.contract-modal-actions .primary[b-ba4qup132g]{background:#0f766e;color:#fff}.contract-modal-actions .secondary[b-ba4qup132g]{background:#f1f5f9;color:#334155}.contract-modal-actions button:disabled[b-ba4qup132g]{opacity:.6;cursor:not-allowed}@media(max-width:1200px){.profile-kpis[b-ba4qup132g]{grid-template-columns:repeat(3,1fr)}.info-grid[b-ba4qup132g]{grid-template-columns:repeat(3,1fr)}.contract-personnel-grid[b-ba4qup132g]{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:850px){.employee-profile-page[b-ba4qup132g]{padding:20px 14px 60px}.profile-hero[b-ba4qup132g]{align-items:flex-start;flex-direction:column}.profile-kpis[b-ba4qup132g]{grid-template-columns:repeat(2,1fr)}.info-grid[b-ba4qup132g]{grid-template-columns:repeat(2,1fr)}.cards-grid[b-ba4qup132g],.signature-grid[b-ba4qup132g]{grid-template-columns:1fr}.contract-form[b-ba4qup132g]{grid-template-columns:1fr}.contract-description[b-ba4qup132g],.contract-form .contract-message[b-ba4qup132g]{grid-column:auto}.contract-personnel-grid[b-ba4qup132g]{grid-template-columns:repeat(2,minmax(0,1fr))}.contract-form-section-head[b-ba4qup132g]{flex-direction:column}}@media(max-width:520px){.profile-person[b-ba4qup132g]{align-items:flex-start}.profile-avatar[b-ba4qup132g]{width:54px;height:54px;flex:0 0 54px;border-radius:18px}.profile-person h1[b-ba4qup132g]{font-size:23px}.profile-kpis[b-ba4qup132g]{grid-template-columns:1fr 1fr;gap:9px}.profile-kpis article[b-ba4qup132g]{padding:14px}.profile-kpis strong[b-ba4qup132g]{font-size:17px}.profile-section[b-ba4qup132g]{padding:18px}.info-grid[b-ba4qup132g]{grid-template-columns:1fr}.section-head[b-ba4qup132g]{align-items:flex-start}.section-actions[b-ba4qup132g]{align-items:flex-end;flex-direction:column}.profile-actions[b-ba4qup132g]{width:100%}.profile-actions a[b-ba4qup132g]{flex:1;text-align:center}.signed-info[b-ba4qup132g]{flex-direction:column}.contract-money-grid[b-ba4qup132g]{grid-template-columns:1fr}.contract-modal-backdrop[b-ba4qup132g]{padding:8px}.contract-modal[b-ba4qup132g]{max-height:calc(100dvh - 16px);border-radius:16px}.contract-modal-body[b-ba4qup132g]{padding:10px}.contract-personnel-grid[b-ba4qup132g]{grid-template-columns:1fr 1fr;padding:12px}.contract-form[b-ba4qup132g]{padding:14px}.contract-address[b-ba4qup132g],.contract-source-note[b-ba4qup132g]{margin-left:12px;margin-right:12px}.contract-form-section-head[b-ba4qup132g]{padding:14px}}
/* /Components/Pages/EmployeeFiles.razor.rz.scp.css */
.employee-files-page[b-36z1qj6jr9]{padding:28px 36px 60px;direction:rtl}.employee-files-hero[b-36z1qj6jr9]{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 32px;border-radius:28px;background:linear-gradient(135deg,#0f1f3d,#193962);color:#fff;box-shadow:0 22px 55px rgba(22,45,84,.18)}.employee-files-hero span[b-36z1qj6jr9]{font-size:11px;letter-spacing:2px;opacity:.72}.employee-files-hero h1[b-36z1qj6jr9]{margin:7px 0 5px;font-size:30px}.employee-files-hero p[b-36z1qj6jr9]{margin:0;color:#dbe7fb}.employee-files-back[b-36z1qj6jr9]{padding:11px 18px;border-radius:13px;background:#fff;color:#162b50;text-decoration:none;font-weight:800;white-space:nowrap}.employee-files-toolbar[b-36z1qj6jr9]{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:24px 0;padding:16px 18px;background:#fff;border:1px solid #e4eaf3;border-radius:18px}.employee-files-toolbar input[b-36z1qj6jr9]{width:min(520px,100%);border:1px solid #dce4ef;border-radius:12px;padding:11px 14px;font:inherit}.employee-files-toolbar span[b-36z1qj6jr9]{color:#64748b}.employee-files-grid[b-36z1qj6jr9]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.employee-file-card[b-36z1qj6jr9]{display:flex;align-items:center;gap:16px;padding:20px;background:#fff;border:1px solid #e1e7f0;border-radius:20px;text-decoration:none;color:#0f172a;box-shadow:0 8px 25px rgba(30,41,59,.045);transition:.18s ease}.employee-file-card:hover[b-36z1qj6jr9]{transform:translateY(-2px);border-color:#b9c9e2;box-shadow:0 16px 36px rgba(30,41,59,.08)}.employee-file-avatar[b-36z1qj6jr9]{width:54px;height:54px;flex:0 0 54px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,#172554,#4338ca);color:#fff;font-weight:900}.employee-file-main[b-36z1qj6jr9]{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.employee-file-main strong[b-36z1qj6jr9]{font-size:17px}.employee-file-main span[b-36z1qj6jr9],.employee-file-main small[b-36z1qj6jr9]{color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.employee-file-side[b-36z1qj6jr9]{display:flex;align-items:flex-end;flex-direction:column;gap:12px}.employee-file-side b[b-36z1qj6jr9]{font-size:12px;color:#3730a3}.status[b-36z1qj6jr9]{font-size:11px;padding:5px 9px;border-radius:999px}.status.active[b-36z1qj6jr9]{background:#dcfce7;color:#166534}.status.inactive[b-36z1qj6jr9]{background:#f1f5f9;color:#64748b}.employee-files-state[b-36z1qj6jr9]{padding:40px;text-align:center;background:#fff;border:1px solid #e4eaf3;border-radius:20px}.employee-files-state.error[b-36z1qj6jr9]{color:#b42318;background:#fff1f1}@media(max-width:900px){.employee-files-page[b-36z1qj6jr9]{padding:20px 16px 50px}.employee-files-grid[b-36z1qj6jr9]{grid-template-columns:1fr}.employee-files-hero[b-36z1qj6jr9]{align-items:flex-start;flex-direction:column}.employee-files-toolbar[b-36z1qj6jr9]{align-items:stretch;flex-direction:column}.employee-files-toolbar input[b-36z1qj6jr9]{width:100%}}@media(max-width:520px){.employee-file-card[b-36z1qj6jr9]{align-items:flex-start;flex-wrap:wrap}.employee-file-side[b-36z1qj6jr9]{width:100%;align-items:center;flex-direction:row;justify-content:space-between;padding-right:70px}.employee-files-hero h1[b-36z1qj6jr9]{font-size:25px}}
/* /Components/Pages/FiscalYears.razor.rz.scp.css */
.fiscal-page[b-xulmie40ko] {
    min-height: 100%;
    padding: 28px;
    color: #0f172a;
    font-family: inherit;
}

.fiscal-page[b-xulmie40ko],
.fiscal-page *[b-xulmie40ko] {
    box-sizing: border-box;
}

.fiscal-page a[b-xulmie40ko] {
    text-decoration: none;
}

.fiscal-hero[b-xulmie40ko],
.fiscal-summary-card[b-xulmie40ko],
.fiscal-card[b-xulmie40ko] {
    border: 1px solid #dbe4f0;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .07);
}

.fiscal-hero[b-xulmie40ko] {
    padding: 28px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        radial-gradient(circle at 12% 20%, rgba(99, 102, 241, .16), transparent 30%),
        linear-gradient(135deg, #fff, #f8fbff);
}

.fiscal-eyebrow[b-xulmie40ko] {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--erp-primary, #4f46e5);
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: .6px;
}

.fiscal-hero h1[b-xulmie40ko] {
    margin: 0;
    font-size: 30px;
    font-weight: 1000;
}

.fiscal-hero p[b-xulmie40ko] {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.fiscal-hero-actions[b-xulmie40ko] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fiscal-btn[b-xulmie40ko] {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.fiscal-btn:disabled[b-xulmie40ko] {
    opacity: .5;
    cursor: not-allowed;
}

.fiscal-btn.primary[b-xulmie40ko] {
    color: var(--erp-on-brand, #ffffff);
    border-color: var(--erp-primary, #4f46e5);
    background: linear-gradient(135deg, var(--erp-primary, #4f46e5), var(--erp-accent, #7c3aed));
}

.fiscal-btn.secondary[b-xulmie40ko] {
    color: #334155;
    border-color: #cbd5e1;
    background: #fff;
}

.fiscal-message[b-xulmie40ko] {
    margin-top: 18px;
    padding: 13px 15px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 900;
}

.fiscal-message.success[b-xulmie40ko] {
    border: 1px solid #a7f3d0;
    color: #047857;
    background: #ecfdf5;
}

.fiscal-message.error[b-xulmie40ko] {
    border: 1px solid #fecaca;
    color: #b91c1c;
    background: #fef2f2;
}

.fiscal-summary-grid[b-xulmie40ko] {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.fiscal-summary-card[b-xulmie40ko] {
    min-height: 126px;
    padding: 18px;
    border-radius: 20px;
}

.fiscal-summary-card.open[b-xulmie40ko] {
    border-top: 3px solid #10b981;
}

.fiscal-summary-card.closed[b-xulmie40ko] {
    border-top: 3px solid #64748b;
}

.fiscal-summary-card.default[b-xulmie40ko] {
    border-top: 3px solid var(--erp-accent, #7c3aed);
}

.fiscal-summary-card span[b-xulmie40ko] {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
}

.fiscal-summary-card strong[b-xulmie40ko] {
    display: block;
    margin-top: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 21px;
    font-weight: 1000;
}

.fiscal-summary-card small[b-xulmie40ko] {
    display: block;
    margin-top: 9px;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
}

.fiscal-card[b-xulmie40ko] {
    margin-top: 18px;
    border-radius: 24px;
    overflow: hidden;
}

.fiscal-card-header[b-xulmie40ko] {
    padding: 20px 22px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.fiscal-card-header span[b-xulmie40ko] {
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
}

.fiscal-card-header h2[b-xulmie40ko] {
    margin: 6px 0 0;
    font-size: 18px;
    font-weight: 1000;
}

.fiscal-filter-box[b-xulmie40ko] {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(150px, .6fr);
    gap: 10px;
}

.fiscal-filter-box input[b-xulmie40ko],
.fiscal-filter-box select[b-xulmie40ko],
.fiscal-field input[b-xulmie40ko] {
    min-height: 44px;
    padding: 0 13px;
    border: 1px solid #dbe4f0;
    border-radius: 12px;
    outline: none;
    color: #0f172a;
    background: #f8fafc;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
}

.fiscal-table-wrap[b-xulmie40ko] {
    overflow: auto;
}

.fiscal-table[b-xulmie40ko] {
    width: 100%;
    min-width: 1100px;
    border-collapse: collapse;
}

.fiscal-table th[b-xulmie40ko],
.fiscal-table td[b-xulmie40ko] {
    padding: 14px 13px;
    border-bottom: 1px solid #edf2f7;
    text-align: right;
    vertical-align: middle;
    font-size: 11px;
}

.fiscal-table th[b-xulmie40ko] {
    color: #475569;
    background: #f8fafc;
    font-weight: 1000;
}

.fiscal-title-cell strong[b-xulmie40ko],
.fiscal-title-cell small[b-xulmie40ko] {
    display: block;
}

.fiscal-title-cell strong[b-xulmie40ko] {
    font-size: 12px;
    font-weight: 1000;
}

.fiscal-title-cell small[b-xulmie40ko] {
    margin-top: 5px;
    color: #94a3b8;
    font-size: 9px;
    font-weight: 700;
}

.fiscal-status[b-xulmie40ko],
.fiscal-default-badge[b-xulmie40ko],
.fiscal-locked[b-xulmie40ko] {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 1000;
    white-space: nowrap;
}

.fiscal-status.open[b-xulmie40ko] {
    color: #047857;
    background: #d1fae5;
}

.fiscal-status.closed[b-xulmie40ko],
.fiscal-locked[b-xulmie40ko] {
    color: #475569;
    background: #e2e8f0;
}

.fiscal-default-badge[b-xulmie40ko] {
    color: #5b21b6;
    background: #ede9fe;
}

.fiscal-muted[b-xulmie40ko] {
    color: #94a3b8;
}

.company-id[b-xulmie40ko] {
    direction: ltr;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #64748b;
    font-size: 9px !important;
}

.fiscal-row-actions[b-xulmie40ko] {
    min-width: 245px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.row-btn[b-xulmie40ko] {
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid;
    border-radius: 9px;
    background: #fff;
    font: inherit;
    font-size: 9px;
    font-weight: 1000;
    cursor: pointer;
}

.row-btn.edit[b-xulmie40ko] {
    color: #0369a1;
    border-color: #bae6fd;
}

.row-btn.default[b-xulmie40ko] {
    color: #5b21b6;
    border-color: #ddd6fe;
}

.row-btn.close[b-xulmie40ko] {
    color: #b45309;
    border-color: #fde68a;
}

.row-btn.delete[b-xulmie40ko] {
    color: #b91c1c;
    border-color: #fecaca;
}

.fiscal-loading[b-xulmie40ko],
.fiscal-empty[b-xulmie40ko] {
    padding: 48px 24px;
    text-align: center;
}

.fiscal-spinner[b-xulmie40ko] {
    width: 42px;
    height: 42px;
    margin: 0 auto 14px;
    border: 4px solid #e0e7ff;
    border-top-color: var(--erp-primary, #4f46e5);
    border-radius: 50%;
    animation: fiscal-spin-b-xulmie40ko .8s linear infinite;
}

@keyframes fiscal-spin-b-xulmie40ko {
    to {
        transform: rotate(360deg);
    }
}

.fiscal-empty-icon[b-xulmie40ko] {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    font-size: 12px;
    font-weight: 1000;
}

.fiscal-empty h3[b-xulmie40ko] {
    margin: 0;
    font-size: 18px;
    font-weight: 1000;
}

.fiscal-empty p[b-xulmie40ko] {
    margin: 9px 0 18px;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}

.fiscal-modal-backdrop[b-xulmie40ko] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    padding: 24px;
    display: grid;
    place-items: center;
    background: rgba(2, 6, 23, .64);
    backdrop-filter: blur(8px);
}

.fiscal-modal[b-xulmie40ko] {
    width: min(680px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    border: 1px solid #dbe4f0;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 32px 80px rgba(0, 0, 0, .28);
}

.fiscal-modal-header[b-xulmie40ko] {
    padding: 20px 22px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.fiscal-modal-header span[b-xulmie40ko] {
    color: var(--erp-primary, #4f46e5);
    font-size: 10px;
    font-weight: 1000;
}

.fiscal-modal-header h2[b-xulmie40ko] {
    margin: 6px 0 0;
    font-size: 18px;
    font-weight: 1000;
}

.fiscal-modal-close[b-xulmie40ko] {
    width: 38px;
    height: 38px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #475569;
    background: #fff;
    font-size: 24px;
    cursor: pointer;
}

.fiscal-form-grid[b-xulmie40ko] {
    padding: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.fiscal-field[b-xulmie40ko] {
    display: grid;
    gap: 8px;
}

.fiscal-field.full[b-xulmie40ko],
.fiscal-switch.full[b-xulmie40ko] {
    grid-column: 1 / -1;
}

.fiscal-field span[b-xulmie40ko],
.fiscal-switch span[b-xulmie40ko] {
    color: #475569;
    font-size: 11px;
    font-weight: 900;
}

.fiscal-switch[b-xulmie40ko] {
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
}

.fiscal-switch input[b-xulmie40ko] {
    width: 18px;
    height: 18px;
}

.fiscal-modal .fiscal-message[b-xulmie40ko] {
    margin: 0 22px;
}

.fiscal-modal-footer[b-xulmie40ko] {
    padding: 18px 22px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

@media (max-width: 1100px) {
    .fiscal-summary-grid[b-xulmie40ko] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fiscal-card-header[b-xulmie40ko] {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    .fiscal-page[b-xulmie40ko] {
        padding: 16px;
    }

    .fiscal-hero[b-xulmie40ko] {
        align-items: stretch;
        flex-direction: column;
    }

    .fiscal-hero-actions[b-xulmie40ko],
    .fiscal-summary-grid[b-xulmie40ko],
    .fiscal-filter-box[b-xulmie40ko],
    .fiscal-form-grid[b-xulmie40ko] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .fiscal-btn[b-xulmie40ko] {
        width: 100%;
    }

    .fiscal-field.full[b-xulmie40ko],
    .fiscal-switch.full[b-xulmie40ko] {
        grid-column: auto;
    }

    .fiscal-modal-footer[b-xulmie40ko] {
        display: grid;
        grid-template-columns: 1fr;
    }
}


.fiscal-btn.danger[b-xulmie40ko] {
    color: #fff;
    border-color: #dc2626;
    background: linear-gradient(135deg, #dc2626, #f43f5e);
    box-shadow: 0 12px 28px rgba(220, 38, 38, .22);
}

.fiscal-modal-header.danger[b-xulmie40ko] {
    background: linear-gradient(135deg, #fff, #fff1f2);
}

.fiscal-modal-header p[b-xulmie40ko] {
    margin: 7px 0 0;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.fiscal-close-modal[b-xulmie40ko] {
    width: min(780px, 100%);
}

.fiscal-close-warning[b-xulmie40ko] {
    margin: 20px 22px 0;
    padding: 16px;
    border: 1px solid #fecaca;
    border-radius: 16px;
    color: #991b1b;
    background: #fff1f2;
}

.fiscal-close-warning strong[b-xulmie40ko] {
    font-size: 13px;
    font-weight: 1000;
}

.fiscal-close-warning p[b-xulmie40ko] {
    margin: 8px 0 0;
    font-size: 11px;
    line-height: 1.9;
    font-weight: 800;
}

.fiscal-close-summary[b-xulmie40ko] {
    margin: 14px 22px 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.fiscal-close-summary > div[b-xulmie40ko] {
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

.fiscal-close-summary span[b-xulmie40ko],
.fiscal-close-summary strong[b-xulmie40ko] {
    display: block;
}

.fiscal-close-summary span[b-xulmie40ko] {
    color: #64748b;
    font-size: 9px;
    font-weight: 900;
}

.fiscal-close-summary strong[b-xulmie40ko] {
    margin-top: 6px;
    font-size: 11px;
    font-weight: 1000;
}

.fiscal-field select[b-xulmie40ko] {
    min-height: 44px;
    padding: 0 13px;
    border: 1px solid #dbe4f0;
    border-radius: 12px;
    outline: none;
    color: #0f172a;
    background: #f8fafc;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
}

.fiscal-field small[b-xulmie40ko] {
    color: #64748b;
    font-size: 9px;
    line-height: 1.7;
    font-weight: 700;
}

.fiscal-confirm-check[b-xulmie40ko] {
    padding: 15px;
    border: 1px solid #fca5a5;
    border-radius: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #991b1b;
    background: #fff7f7;
}

.fiscal-confirm-check input[b-xulmie40ko] {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 1px;
}

.fiscal-confirm-check span[b-xulmie40ko] {
    font-size: 10px;
    line-height: 1.9;
    font-weight: 900;
}

@media (max-width: 720px) {
    .fiscal-close-summary[b-xulmie40ko] {
        grid-template-columns: 1fr;
    }
}

.fiscal-company-note[b-xulmie40ko]{margin:0 24px 18px;padding:12px 16px;border-radius:12px;background:#eef2ff;color:#3730a3;font-weight:800}.fiscal-company-note strong[b-xulmie40ko]{color:#111827}
/* /Components/Pages/GeneralLedger.razor.rz.scp.css */
.ledger-page[b-dt38p2r3hk] {
    min-height: 100%;
    padding: 28px;
    color: #0f172a;
    font-family: inherit;
}

.ledger-page[b-dt38p2r3hk],
.ledger-page *[b-dt38p2r3hk] {
    box-sizing: border-box;
}

.ledger-page a[b-dt38p2r3hk] {
    text-decoration: none;
}

.ledger-hero[b-dt38p2r3hk],
.ledger-filter-card[b-dt38p2r3hk],
.ledger-account-card[b-dt38p2r3hk],
.ledger-summary-card[b-dt38p2r3hk],
.ledger-table-card[b-dt38p2r3hk],
.ledger-state[b-dt38p2r3hk],
.ledger-empty[b-dt38p2r3hk] {
    border: 1px solid #dbe4f0;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .07);
}

.ledger-hero[b-dt38p2r3hk] {
    padding: 28px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        radial-gradient(circle at 12% 20%, rgba(99, 102, 241, .16), transparent 30%),
        linear-gradient(135deg, #fff, #f8fbff);
}

.ledger-eyebrow[b-dt38p2r3hk] {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--erp-primary, #4f46e5);
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: .6px;
}

.ledger-hero h1[b-dt38p2r3hk] {
    margin: 0;
    font-size: 30px;
    font-weight: 1000;
}

.ledger-hero p[b-dt38p2r3hk] {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.ledger-hero-actions[b-dt38p2r3hk] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ledger-btn[b-dt38p2r3hk],
.ledger-filter-submit[b-dt38p2r3hk] {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.ledger-btn:disabled[b-dt38p2r3hk],
.ledger-filter-submit:disabled[b-dt38p2r3hk] {
    opacity: .5;
    cursor: not-allowed;
}

.ledger-btn.primary[b-dt38p2r3hk],
.ledger-filter-submit[b-dt38p2r3hk] {
    color: var(--erp-on-brand, #ffffff);
    border-color: var(--erp-primary, #4f46e5);
    background: linear-gradient(135deg, var(--erp-primary, #4f46e5), var(--erp-accent, #7c3aed));
}

.ledger-btn.secondary[b-dt38p2r3hk] {
    color: #334155;
    border-color: #cbd5e1;
    background: #fff;
}

.ledger-filter-card[b-dt38p2r3hk] {
    margin-top: 18px;
    padding: 20px;
    border-radius: 22px;
}

.ledger-filter-grid[b-dt38p2r3hk] {
    display: grid;
    grid-template-columns:
        minmax(260px, 1.3fr)
        repeat(3, minmax(170px, .7fr))
        auto;
    gap: 14px;
    align-items: end;
}

.ledger-field[b-dt38p2r3hk] {
    display: grid;
    gap: 8px;
}

.ledger-field span[b-dt38p2r3hk] {
    color: #475569;
    font-size: 11px;
    font-weight: 900;
}

.ledger-field select[b-dt38p2r3hk],
.ledger-field input[b-dt38p2r3hk] {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #dbe4f0;
    border-radius: 13px;
    outline: none;
    color: #0f172a;
    background: #f8fafc;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
}

.ledger-field select:focus[b-dt38p2r3hk],
.ledger-field input:focus[b-dt38p2r3hk] {
    border-color: var(--erp-primary, #818cf8);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, .1);
}

.ledger-validation[b-dt38p2r3hk] {
    margin-top: 12px;
    padding: 11px 13px;
    border: 1px solid #fecaca;
    border-radius: 12px;
    color: #b91c1c;
    background: #fef2f2;
    font-size: 11px;
    font-weight: 800;
}

.ledger-state[b-dt38p2r3hk],
.ledger-empty[b-dt38p2r3hk] {
    margin-top: 18px;
    padding: 48px 24px;
    border-radius: 24px;
    text-align: center;
}

.ledger-state.error[b-dt38p2r3hk] {
    border-color: #fecaca;
    color: #b91c1c;
    background: #fef2f2;
}

.ledger-state p[b-dt38p2r3hk],
.ledger-empty p[b-dt38p2r3hk] {
    margin: 10px 0 18px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.ledger-spinner[b-dt38p2r3hk] {
    width: 42px;
    height: 42px;
    margin: 0 auto 14px;
    border: 4px solid #e0e7ff;
    border-top-color: var(--erp-primary, #4f46e5);
    border-radius: 50%;
    animation: ledger-spin-b-dt38p2r3hk .8s linear infinite;
}

@keyframes ledger-spin-b-dt38p2r3hk {
    to {
        transform: rotate(360deg);
    }
}

.ledger-empty-icon[b-dt38p2r3hk] {
    width: 64px;
    height: 64px;
    margin: 0 auto 15px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    font-weight: 1000;
}

.ledger-empty h2[b-dt38p2r3hk] {
    margin: 0;
    font-size: 20px;
    font-weight: 1000;
}

.ledger-account-card[b-dt38p2r3hk] {
    margin-top: 18px;
    padding: 22px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ledger-account-card span[b-dt38p2r3hk],
.ledger-period span[b-dt38p2r3hk] {
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
}

.ledger-account-card h2[b-dt38p2r3hk] {
    margin: 7px 0 0;
    font-size: 19px;
    font-weight: 1000;
}

.ledger-account-card p[b-dt38p2r3hk] {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.ledger-separator[b-dt38p2r3hk] {
    margin: 0 7px;
}

.ledger-period[b-dt38p2r3hk] {
    min-width: 220px;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    background: #f8fafc;
}

.ledger-period strong[b-dt38p2r3hk] {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    font-weight: 1000;
}

.ledger-summary-grid[b-dt38p2r3hk] {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ledger-summary-card[b-dt38p2r3hk] {
    min-height: 126px;
    padding: 18px;
    border-radius: 20px;
}

.ledger-summary-card.opening[b-dt38p2r3hk] {
    border-top: 3px solid var(--erp-primary, #6366f1);
}

.ledger-summary-card.debit[b-dt38p2r3hk] {
    border-top: 3px solid var(--erp-primary, #2563eb);
}

.ledger-summary-card.credit[b-dt38p2r3hk] {
    border-top: 3px solid #f59e0b;
}

.ledger-summary-card.closing[b-dt38p2r3hk] {
    border-top: 3px solid var(--erp-accent, #7c3aed);
}

.ledger-summary-card > span[b-dt38p2r3hk] {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
}

.ledger-summary-card > strong[b-dt38p2r3hk] {
    display: block;
    margin-top: 13px;
    font-size: 22px;
    font-weight: 1000;
}

.ledger-summary-card > small[b-dt38p2r3hk] {
    display: inline-flex;
    margin-top: 10px;
    font-size: 10px;
    font-weight: 900;
}

.nature-badge[b-dt38p2r3hk] {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 1000;
    white-space: nowrap;
}

.nature-badge.debit[b-dt38p2r3hk] {
    color: #1d4ed8;
    background: #dbeafe;
}

.nature-badge.credit[b-dt38p2r3hk] {
    color: #b45309;
    background: #fef3c7;
}

.nature-badge.balanced[b-dt38p2r3hk] {
    color: #047857;
    background: #d1fae5;
}

.ledger-table-card[b-dt38p2r3hk] {
    margin-top: 18px;
    border-radius: 24px;
    overflow: hidden;
}

.ledger-table-header[b-dt38p2r3hk] {
    padding: 21px 22px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ledger-table-header span[b-dt38p2r3hk] {
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
}

.ledger-table-header h2[b-dt38p2r3hk] {
    margin: 6px 0 0;
    font-size: 18px;
    font-weight: 1000;
}

.ledger-count[b-dt38p2r3hk] {
    padding: 8px 12px;
    border-radius: 999px;
    color: #4338ca !important;
    background: #eef2ff;
}

.ledger-table-wrap[b-dt38p2r3hk] {
    overflow: auto;
}

.ledger-table[b-dt38p2r3hk] {
    width: 100%;
    min-width: 1180px;
    border-collapse: collapse;
}

.ledger-table th[b-dt38p2r3hk],
.ledger-table td[b-dt38p2r3hk] {
    padding: 14px 13px;
    border-bottom: 1px solid #edf2f7;
    text-align: right;
    vertical-align: middle;
    font-size: 11px;
}

.ledger-table th[b-dt38p2r3hk] {
    position: sticky;
    top: 0;
    z-index: 1;
    color: #475569;
    background: #f8fafc;
    font-weight: 1000;
    white-space: nowrap;
}

.ledger-table tbody tr:hover[b-dt38p2r3hk] {
    background: #fafbff;
}

.ledger-table tfoot td[b-dt38p2r3hk] {
    border-bottom: 0;
    color: #0f172a;
    background: #f8fafc;
    font-weight: 1000;
}

.row-number[b-dt38p2r3hk] {
    color: #94a3b8;
    font-weight: 900;
}

.document-number[b-dt38p2r3hk] {
    color: #4338ca;
    font-weight: 1000;
    white-space: nowrap;
}

.description-cell[b-dt38p2r3hk] {
    min-width: 260px;
    line-height: 1.8;
    font-weight: 700;
}

.money[b-dt38p2r3hk] {
    direction: ltr;
    text-align: right !important;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    font-weight: 900;
}

.debit-value[b-dt38p2r3hk] {
    color: #1d4ed8;
}

.credit-value[b-dt38p2r3hk] {
    color: #b45309;
}

.balance-value[b-dt38p2r3hk] {
    color: #6d28d9;
}

.posted-badge[b-dt38p2r3hk] {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 1000;
    white-space: nowrap;
}

.posted-badge.posted[b-dt38p2r3hk] {
    color: #047857;
    background: #d1fae5;
}

.posted-badge.draft[b-dt38p2r3hk] {
    color: #b45309;
    background: #fef3c7;
}

.view-document[b-dt38p2r3hk] {
    display: inline-flex;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid #c7d2fe;
    border-radius: 10px;
    align-items: center;
    color: #4338ca;
    background: #fff;
    font-size: 10px;
    font-weight: 1000;
}

.ledger-table-empty[b-dt38p2r3hk] {
    padding: 42px 20px;
    color: #64748b;
    text-align: center;
    font-size: 12px;
    font-weight: 900;
}

@media (max-width: 1180px) {
    .ledger-filter-grid[b-dt38p2r3hk] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-field[b-dt38p2r3hk] {
        grid-column: 1 / -1;
    }

    .ledger-summary-grid[b-dt38p2r3hk] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .ledger-page[b-dt38p2r3hk] {
        padding: 16px;
    }

    .ledger-hero[b-dt38p2r3hk],
    .ledger-account-card[b-dt38p2r3hk],
    .ledger-table-header[b-dt38p2r3hk] {
        align-items: stretch;
        flex-direction: column;
    }

    .ledger-hero-actions[b-dt38p2r3hk],
    .ledger-filter-grid[b-dt38p2r3hk],
    .ledger-summary-grid[b-dt38p2r3hk] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ledger-btn[b-dt38p2r3hk],
    .ledger-filter-submit[b-dt38p2r3hk],
    .ledger-period[b-dt38p2r3hk] {
        width: 100%;
    }

    .account-field[b-dt38p2r3hk] {
        grid-column: auto;
    }
}

@media print {
    .ledger-hero-actions[b-dt38p2r3hk],
    .ledger-filter-card[b-dt38p2r3hk] {
        display: none !important;
    }

    .ledger-page[b-dt38p2r3hk] {
        padding: 0;
    }

    .ledger-hero[b-dt38p2r3hk],
    .ledger-account-card[b-dt38p2r3hk],
    .ledger-summary-card[b-dt38p2r3hk],
    .ledger-table-card[b-dt38p2r3hk] {
        box-shadow: none;
    }

    .ledger-table th[b-dt38p2r3hk] {
        position: static;
    }
}

.erp-print-report[b-dt38p2r3hk] {
    display: none;
}

@media print {
    .erp-print-report[b-dt38p2r3hk] {
        display: block !important;
        width: 100% !important;
        color: #000 !important;
        background: #fff !important;
        font-size: 10pt !important;
    }

    .erp-print-report *[b-dt38p2r3hk] {
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    .erp-print-header[b-dt38p2r3hk] {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important;
        align-items: start !important;
        gap: 12px !important;
        margin-bottom: 8mm !important;
        padding-bottom: 4mm !important;
        border-bottom: 1px solid #475569 !important;
    }

    .erp-print-header-center[b-dt38p2r3hk] {
        text-align: center !important;
    }

    .erp-print-header-center h1[b-dt38p2r3hk] {
        margin: 0 0 2mm !important;
        font-size: 17pt !important;
        font-weight: 900 !important;
    }

    .erp-print-header-center p[b-dt38p2r3hk],
    .erp-print-header-side p[b-dt38p2r3hk] {
        margin: 1mm 0 !important;
        font-size: 9pt !important;
    }

    .erp-print-header-side:last-child[b-dt38p2r3hk] {
        text-align: left !important;
        direction: ltr !important;
    }

    .erp-print-table[b-dt38p2r3hk] {
        width: 100% !important;
        border-collapse: collapse !important;
        table-layout: auto !important;
        font-size: 9pt !important;
    }

    .erp-print-table th[b-dt38p2r3hk],
    .erp-print-table td[b-dt38p2r3hk] {
        padding: 2.2mm 1.8mm !important;
        border: 1px solid #94a3b8 !important;
        text-align: right !important;
        vertical-align: middle !important;
        background: #fff !important;
    }

    .erp-print-table th[b-dt38p2r3hk] {
        font-weight: 900 !important;
        background: #f1f5f9 !important;
    }

    .erp-print-table .print-money[b-dt38p2r3hk] {
        direction: ltr !important;
        text-align: right !important;
        white-space: nowrap !important;
        font-variant-numeric: tabular-nums !important;
    }

    .erp-print-table tfoot td[b-dt38p2r3hk] {
        font-weight: 900 !important;
        background: #f8fafc !important;
    }

    .erp-print-summary[b-dt38p2r3hk] {
        margin-top: 5mm !important;
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 2mm !important;
    }

    .erp-print-summary > div[b-dt38p2r3hk] {
        padding: 3mm !important;
        border: 1px solid #94a3b8 !important;
    }

    .erp-print-summary span[b-dt38p2r3hk],
    .erp-print-summary strong[b-dt38p2r3hk] {
        display: block !important;
    }

    .erp-print-summary span[b-dt38p2r3hk] {
        font-size: 8.5pt !important;
    }

    .erp-print-summary strong[b-dt38p2r3hk] {
        margin-top: 1.5mm !important;
        font-size: 10pt !important;
    }

    .erp-print-footer[b-dt38p2r3hk] {
        margin-top: 8mm !important;
        padding-top: 3mm !important;
        border-top: 1px solid #cbd5e1 !important;
        display: flex !important;
        justify-content: space-between !important;
        font-size: 8pt !important;
    }
}

@media print {
    .ledger-page > :not(.erp-print-report)[b-dt38p2r3hk] {
        display: none !important;
    }

    .ledger-page[b-dt38p2r3hk] {
        padding: 0 !important;
        margin: 0 !important;
        background: #fff !important;
    }
}

/* Legal books print stabilization */
@media print {
    @page { size: A4 landscape; margin: 12mm; }
    .no-print[b-dt38p2r3hk] { display:none !important; }
    .ecb-table-wrap[b-dt38p2r3hk], .ledger-table-wrap[b-dt38p2r3hk], .journal-report-table-wrap[b-dt38p2r3hk] { overflow: visible !important; }
    table[b-dt38p2r3hk] { width:100% !important; border-collapse:collapse !important; page-break-inside:auto; }
    thead[b-dt38p2r3hk] { display:table-header-group !important; }
    tfoot[b-dt38p2r3hk] { display:table-footer-group !important; }
    tr[b-dt38p2r3hk] { page-break-inside:avoid !important; break-inside:avoid !important; }
    td[b-dt38p2r3hk], th[b-dt38p2r3hk] { white-space:normal !important; word-break:break-word !important; }
    .print-money[b-dt38p2r3hk] { white-space:nowrap !important; direction:ltr; }
}
/* /Components/Pages/InstallmentBooklet.razor.rz.scp.css */
.booklet-page[b-3qoodqsgc8]{min-height:100vh;padding:24px;background:#eef2f7;color:#172033}.booklet-toolbar[b-3qoodqsgc8]{display:flex;justify-content:center;gap:10px;margin-bottom:18px}.booklet-toolbar button[b-3qoodqsgc8]{border:0;border-radius:10px;padding:10px 16px;font:inherit;font-weight:800;cursor:pointer}.booklet-toolbar .primary[b-3qoodqsgc8]{background:#0f766e;color:#fff}.booklet[b-3qoodqsgc8]{width:min(850px,100%);margin:auto;display:grid;gap:16px}.cover[b-3qoodqsgc8],.coupon[b-3qoodqsgc8]{background:#fff;border:1px solid #dbe3ec;box-shadow:0 10px 30px #0f172a12}.cover[b-3qoodqsgc8]{min-height:1000px;padding:70px 60px;text-align:center}.brand-mark[b-3qoodqsgc8]{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 25px;border-radius:22px;background:#0f766e;color:#fff;font-size:1.4rem;font-weight:900}.cover>span[b-3qoodqsgc8]{color:#64748b;font-weight:800}.cover h1[b-3qoodqsgc8]{margin:10px 0 25px;font-size:2rem}.cover-number[b-3qoodqsgc8]{display:inline-block;padding:10px 22px;border-radius:999px;background:#ecfdf5;color:#047857;font-weight:900;direction:ltr}.cover dl[b-3qoodqsgc8]{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:45px 0;text-align:right}.cover dl div[b-3qoodqsgc8]{padding:15px;border:1px solid #e2e8f0;border-radius:12px}.cover dt[b-3qoodqsgc8]{font-size:.78rem;color:#64748b}.cover dd[b-3qoodqsgc8]{margin:6px 0 0;font-weight:900}.address[b-3qoodqsgc8]{min-height:70px;padding:15px;border:1px dashed #cbd5e1;text-align:right}.signatures[b-3qoodqsgc8]{display:flex;justify-content:space-between;margin-top:90px;padding:0 40px;font-weight:800}.coupon[b-3qoodqsgc8]{display:grid;grid-template-columns:1fr 110px;min-height:230px;break-inside:avoid}.coupon-main[b-3qoodqsgc8]{padding:24px}.coupon header[b-3qoodqsgc8],.coupon footer[b-3qoodqsgc8]{display:flex;justify-content:space-between;gap:15px}.coupon header[b-3qoodqsgc8]{padding-bottom:15px;border-bottom:2px solid #0f766e}.coupon header span[b-3qoodqsgc8],.coupon footer[b-3qoodqsgc8]{color:#64748b;font-size:.8rem}.coupon-grid[b-3qoodqsgc8]{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:20px 0}.coupon-grid div[b-3qoodqsgc8]{display:grid;gap:5px}.coupon-grid span[b-3qoodqsgc8]{font-size:.75rem;color:#64748b}.coupon footer[b-3qoodqsgc8]{padding-top:15px;border-top:1px dashed #cbd5e1}.coupon aside[b-3qoodqsgc8]{display:grid;place-content:center;text-align:center;border-right:2px dashed #94a3b8;background:#f8fafc}.coupon aside span[b-3qoodqsgc8],.coupon aside small[b-3qoodqsgc8]{color:#64748b}.coupon aside strong[b-3qoodqsgc8]{font-size:2.4rem;color:#0f766e}.booklet-state[b-3qoodqsgc8]{padding:50px;text-align:center}.booklet-state.error[b-3qoodqsgc8]{color:#b91c1c}@media print{@page{size:A4;margin:10mm}.no-print[b-3qoodqsgc8]{display:none!important}.booklet-page[b-3qoodqsgc8]{padding:0;background:#fff}.booklet[b-3qoodqsgc8]{width:100%;gap:8mm}.cover[b-3qoodqsgc8],.coupon[b-3qoodqsgc8]{box-shadow:none}.cover[b-3qoodqsgc8]{height:277mm;min-height:0;break-after:page}.coupon[b-3qoodqsgc8]{min-height:58mm}.coupon:nth-of-type(5n+1)[b-3qoodqsgc8]{break-before:page}}@media(max-width:650px){.cover[b-3qoodqsgc8]{padding:35px 20px}.cover dl[b-3qoodqsgc8],.coupon-grid[b-3qoodqsgc8]{grid-template-columns:1fr}.coupon[b-3qoodqsgc8]{grid-template-columns:1fr 75px}}
/* /Components/Pages/InstallmentContracts.razor.rz.scp.css */
.installments-page[b-q8xwj4h74s]{display:grid;gap:20px;padding:24px;color:#172033}.installments-hero[b-q8xwj4h74s]{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px;border-radius:24px;background:linear-gradient(135deg,#334155,#0f766e);color:#fff}.installments-hero span[b-q8xwj4h74s]{font-size:.78rem;font-weight:900;opacity:.8}.installments-hero h1[b-q8xwj4h74s]{margin:7px 0;font-size:1.7rem}.installments-hero p[b-q8xwj4h74s]{margin:0;opacity:.82}.hero-actions[b-q8xwj4h74s],.actions[b-q8xwj4h74s]{display:flex;gap:8px;flex-wrap:wrap}button[b-q8xwj4h74s]{border:0;border-radius:10px;padding:10px 14px;font:inherit;font-weight:800;cursor:pointer}.primary[b-q8xwj4h74s],.actions button[b-q8xwj4h74s],.pay[b-q8xwj4h74s]{background:#0f766e;color:#fff}.secondary[b-q8xwj4h74s]{color:#fff;background:#ffffff20;border:1px solid #ffffff50}.stats[b-q8xwj4h74s]{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.stats article[b-q8xwj4h74s],.card[b-q8xwj4h74s]{background:#fff;border:1px solid #e2e8f0;border-radius:18px;box-shadow:0 10px 30px #0f172a0d}.stats article[b-q8xwj4h74s]{display:grid;gap:8px;padding:18px}.stats span[b-q8xwj4h74s]{font-size:.82rem;color:#64748b}.stats strong[b-q8xwj4h74s]{font-size:1.45rem;color:#0f766e}.stats .danger strong[b-q8xwj4h74s]{color:#dc2626}.stats .success strong[b-q8xwj4h74s]{color:#059669}.card[b-q8xwj4h74s]{overflow:hidden}.card>header[b-q8xwj4h74s]{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid #edf2f7}.card h2[b-q8xwj4h74s]{margin:0 0 4px;font-size:1.05rem}.card p[b-q8xwj4h74s]{margin:0;color:#64748b;font-size:.82rem}.card header input[b-q8xwj4h74s]{width:min(330px,100%);height:42px;border:1px solid #d8e0e9;border-radius:10px;padding:0 12px;font:inherit}.table-wrap[b-q8xwj4h74s]{overflow:auto}table[b-q8xwj4h74s]{width:100%;min-width:850px;border-collapse:collapse}th[b-q8xwj4h74s],td[b-q8xwj4h74s]{padding:13px 15px;text-align:right;border-bottom:1px solid #edf2f7;font-size:.86rem}th[b-q8xwj4h74s]{color:#64748b;background:#f8fafc}td strong[b-q8xwj4h74s],td small[b-q8xwj4h74s]{display:block}td small[b-q8xwj4h74s]{margin-top:4px;color:#94a3b8}.actions .print[b-q8xwj4h74s]{background:#334155}.status[b-q8xwj4h74s]{display:inline-flex;padding:6px 10px;border-radius:999px;font-size:.76rem;font-weight:900}.status.active[b-q8xwj4h74s],.status.pending[b-q8xwj4h74s]{background:#fef3c7;color:#a16207}.status.completed[b-q8xwj4h74s],.status.paid[b-q8xwj4h74s]{background:#d1fae5;color:#047857}.status.overdue[b-q8xwj4h74s]{background:#fee2e2;color:#b91c1c}.overdue-count[b-q8xwj4h74s]{display:inline-grid;place-items:center;min-width:30px;height:30px;border-radius:10px;background:#f1f5f9}.overdue-count.has[b-q8xwj4h74s]{background:#fee2e2;color:#b91c1c}.state[b-q8xwj4h74s]{padding:35px;text-align:center;color:#64748b}.message[b-q8xwj4h74s]{padding:13px 16px;border-radius:12px;font-weight:800}.message.error[b-q8xwj4h74s]{background:#fff1f2;color:#be123c}.message.success[b-q8xwj4h74s]{background:#ecfdf5;color:#047857}.contract-summary[b-q8xwj4h74s]{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:16px 20px;background:#f8fafc}.contract-summary span[b-q8xwj4h74s]{display:grid;gap:5px;color:#64748b;font-size:.8rem}.contract-summary b[b-q8xwj4h74s]{color:#172033;font-size:1rem}.close-inline[b-q8xwj4h74s]{background:#f1f5f9;color:#475569}.payment-number[b-q8xwj4h74s]{font-family:monospace;direction:ltr}.installment-overlay[b-q8xwj4h74s]{position:fixed;inset:0;z-index:12000;display:grid;place-items:center;padding:20px;background:#0f172aa8}.installment-dialog[b-q8xwj4h74s]{display:block;width:min(720px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:20px;box-shadow:0 30px 80px #0005}.installment-dialog.small[b-q8xwj4h74s]{width:min(620px,100%)}.installment-dialog>header[b-q8xwj4h74s]{display:flex;justify-content:space-between;align-items:flex-start;padding:20px;border-bottom:1px solid #e2e8f0}.installment-dialog h2[b-q8xwj4h74s]{margin:0 0 5px}.installment-dialog p[b-q8xwj4h74s]{margin:0;color:#64748b}.installment-dialog header button[b-q8xwj4h74s]{font-size:1.5rem;background:#f1f5f9}.form-grid[b-q8xwj4h74s]{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:20px}.form-grid label[b-q8xwj4h74s]{display:grid;gap:7px}.form-grid label span[b-q8xwj4h74s]{font-size:.82rem;font-weight:800;color:#475569}.form-grid .wide[b-q8xwj4h74s]{grid-column:1/-1}.form-grid input[b-q8xwj4h74s],.form-grid select[b-q8xwj4h74s],.form-grid textarea[b-q8xwj4h74s]{width:100%;border:1px solid #d8e0e9;border-radius:10px;padding:10px 12px;font:inherit;background:#fff}.installment-dialog footer[b-q8xwj4h74s]{display:flex;justify-content:flex-end;gap:10px;padding:16px 20px;border-top:1px solid #e2e8f0}.cancel[b-q8xwj4h74s]{background:#f1f5f9;color:#475569}@media(max-width:850px){.stats[b-q8xwj4h74s],.contract-summary[b-q8xwj4h74s]{grid-template-columns:1fr 1fr}.installments-hero[b-q8xwj4h74s],.card>header[b-q8xwj4h74s]{align-items:flex-start;flex-direction:column}}@media(max-width:600px){.installments-page[b-q8xwj4h74s]{padding:12px}.stats[b-q8xwj4h74s],.contract-summary[b-q8xwj4h74s],.form-grid[b-q8xwj4h74s]{grid-template-columns:1fr}.form-grid .wide[b-q8xwj4h74s]{grid-column:auto}}
/* /Components/Pages/IntegrationCenter.razor.rz.scp.css */
.module-center[b-eztfsyhux5]{padding:24px;max-width:1500px;margin:0 auto;color:var(--mud-palette-text-primary,#eaf0ff)}
.module-hero[b-eztfsyhux5]{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 28px;margin-bottom:18px;border:1px solid rgba(125,145,190,.2);border-radius:20px;background:linear-gradient(135deg,rgba(48,63,115,.36),rgba(12,21,43,.82));box-shadow:0 18px 45px rgba(0,0,0,.16)}
.module-hero h1[b-eztfsyhux5]{margin:5px 0 8px;font-size:clamp(24px,3vw,34px);font-weight:900}.module-hero p[b-eztfsyhux5],.section-head p[b-eztfsyhux5]{margin:0;color:#9eacc8}.eyebrow[b-eztfsyhux5]{font-size:12px;font-weight:800;color:#8ca8ff;letter-spacing:.04em}
.summary-grid[b-eztfsyhux5]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.workflow-summary[b-eztfsyhux5]{grid-template-columns:repeat(2,minmax(0,1fr))}
.summary-card[b-eztfsyhux5],.content-card[b-eztfsyhux5]{border:1px solid rgba(125,145,190,.18);background:linear-gradient(145deg,rgba(24,35,62,.92),rgba(10,17,34,.94));box-shadow:0 14px 35px rgba(0,0,0,.13)}
.summary-card[b-eztfsyhux5]{position:relative;overflow:hidden;border-radius:16px;padding:18px 20px}.summary-card[b-eztfsyhux5]::before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:#7187bd}.summary-card.accent[b-eztfsyhux5]::before{background:#7c6cff}.summary-card.success[b-eztfsyhux5]::before{background:#2dd4a0}.summary-card.danger[b-eztfsyhux5]::before{background:#ff6b7a}.summary-card span[b-eztfsyhux5]{display:block;color:#aab6cf;font-size:13px}.summary-card strong[b-eztfsyhux5]{display:block;margin:7px 0 3px;font-size:27px}.summary-card small[b-eztfsyhux5]{color:#73819e}.summary-card .status-text[b-eztfsyhux5]{font-size:18px}
.content-card[b-eztfsyhux5]{border-radius:18px;margin-bottom:18px;padding:20px}.section-head[b-eztfsyhux5]{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.section-head h2[b-eztfsyhux5]{font-size:18px;margin:0 0 5px}
.count-badge[b-eztfsyhux5],.module-tag[b-eztfsyhux5],.event-chip[b-eztfsyhux5],.status-badge[b-eztfsyhux5],.risk[b-eztfsyhux5]{display:inline-flex;align-items:center;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:800;white-space:nowrap}.count-badge[b-eztfsyhux5],.module-tag[b-eztfsyhux5],.event-chip[b-eztfsyhux5]{color:#b9c8f2;background:rgba(92,111,167,.18);border:1px solid rgba(116,138,200,.22)}.status-badge.ok[b-eztfsyhux5]{color:#6ee7b7;background:rgba(16,185,129,.12)}.status-badge.bad[b-eztfsyhux5],.risk.high[b-eztfsyhux5],.risk.critical[b-eztfsyhux5]{color:#ff9aa5;background:rgba(244,63,94,.13)}.status-badge.muted[b-eztfsyhux5],.risk.low[b-eztfsyhux5]{color:#a8b3c9;background:rgba(148,163,184,.12)}.risk.medium[b-eztfsyhux5]{color:#ffd27a;background:rgba(245,158,11,.13)}
.connection-row[b-eztfsyhux5]{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:15px;border-radius:14px;background:rgba(7,13,28,.5)}.connection-icon[b-eztfsyhux5],.empty-icon[b-eztfsyhux5]{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:linear-gradient(135deg,#755df2,#4a36bd);font-weight:900}.connection-row div:nth-child(2)[b-eztfsyhux5]{display:flex;flex-direction:column;gap:4px}.connection-row span[b-eztfsyhux5]{color:#92a0bc;font-size:13px}
.table-wrap[b-eztfsyhux5]{overflow:auto;border:1px solid rgba(125,145,190,.15);border-radius:14px}table[b-eztfsyhux5]{width:100%;border-collapse:collapse;min-width:850px}th[b-eztfsyhux5]{padding:12px 14px;text-align:right;color:#aebbd3;background:rgba(31,45,74,.75);font-size:12px}td[b-eztfsyhux5]{padding:14px;border-top:1px solid rgba(125,145,190,.11);vertical-align:middle;font-size:13px}tbody tr:hover[b-eztfsyhux5]{background:rgba(92,111,167,.08)}.url-cell[b-eztfsyhux5],.last-error[b-eztfsyhux5],.details-cell[b-eztfsyhux5]{display:block;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.last-error[b-eztfsyhux5],.error-number[b-eztfsyhux5]{color:#ff8d9a}.success-number[b-eztfsyhux5]{color:#5ee0b1}.entity-id[b-eztfsyhux5]{display:block;color:#72809b;margin-top:4px}.row-actions[b-eztfsyhux5]{display:flex;gap:7px}.actions-col[b-eztfsyhux5]{width:180px}code[b-eztfsyhux5]{direction:ltr;color:#b6c4e0}
.btn[b-eztfsyhux5]{border:0;border-radius:11px;padding:10px 15px;font-family:inherit;font-weight:800;cursor:pointer;transition:.18s ease}.btn:hover:not(:disabled)[b-eztfsyhux5]{transform:translateY(-1px);filter:brightness(1.08)}.btn:disabled[b-eztfsyhux5]{opacity:.5;cursor:not-allowed}.btn.primary[b-eztfsyhux5]{color:#fff;background:linear-gradient(135deg,#7562ee,#5541c7)}.btn.secondary[b-eztfsyhux5]{color:#d8e0f1;background:rgba(97,115,164,.16);border:1px solid rgba(134,151,196,.22)}.btn.approve[b-eztfsyhux5]{color:#6ee7b7;background:rgba(16,185,129,.13)}.btn.reject[b-eztfsyhux5]{color:#ff9aa5;background:rgba(244,63,94,.13)}
.state-card[b-eztfsyhux5],.empty-state[b-eztfsyhux5]{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;color:#9eacc8}.empty-state h3[b-eztfsyhux5],.state-card strong[b-eztfsyhux5]{color:#e7edfb;margin:5px 0 0}.empty-state p[b-eztfsyhux5]{margin:0;max-width:480px}.empty-icon[b-eztfsyhux5]{font-size:20px}.state-card.error[b-eztfsyhux5]{color:#ff9aa5}.spinner[b-eztfsyhux5]{width:28px;height:28px;border:3px solid rgba(130,150,200,.2);border-top-color:#8172ff;border-radius:50%;animation:spin-b-eztfsyhux5 .8s linear infinite}@keyframes spin-b-eztfsyhux5{to{transform:rotate(360deg)}}
.filters[b-eztfsyhux5]{display:grid;grid-template-columns:repeat(3,minmax(160px,1fr)) auto auto;align-items:end;gap:12px}.filters label[b-eztfsyhux5]{display:flex;flex-direction:column;gap:7px;color:#9eacc8;font-size:12px}.filters input[b-eztfsyhux5]{width:100%;box-sizing:border-box;border:1px solid rgba(130,150,200,.22);border-radius:11px;background:rgba(5,11,24,.65);color:#edf2ff;padding:11px 12px;font-family:inherit;outline:none}.filters input:focus[b-eztfsyhux5]{border-color:#7868ec;box-shadow:0 0 0 3px rgba(120,104,236,.12)}.pagination[b-eztfsyhux5]{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:18px;color:#9eacc8}
@media(max-width:1000px){.summary-grid[b-eztfsyhux5]{grid-template-columns:repeat(2,1fr)}.filters[b-eztfsyhux5]{grid-template-columns:1fr 1fr}.module-center[b-eztfsyhux5]{padding:16px}}
@media(max-width:640px){.module-hero[b-eztfsyhux5]{align-items:flex-start;flex-direction:column;padding:20px}.summary-grid[b-eztfsyhux5],.workflow-summary[b-eztfsyhux5],.filters[b-eztfsyhux5]{grid-template-columns:1fr}.content-card[b-eztfsyhux5]{padding:14px}.module-center[b-eztfsyhux5]{padding:10px}.section-head[b-eztfsyhux5]{align-items:flex-start}.connection-row[b-eztfsyhux5]{grid-template-columns:auto 1fr}.module-tag[b-eztfsyhux5]{grid-column:1/-1;width:max-content}}
.api-secret-panel[b-eztfsyhux5]{display:grid;gap:12px;margin-bottom:18px;padding:16px;border:1px solid rgba(45,212,160,.28);border-radius:14px;background:rgba(16,185,129,.07)}
.secret-warning[b-eztfsyhux5]{display:flex;flex-direction:column;gap:4px;color:#9edfc7}.secret-warning strong[b-eztfsyhux5]{color:#6ee7b7}.api-secret-panel label[b-eztfsyhux5]{display:grid;gap:6px;color:#9eacc8;font-size:12px}
.secret-row[b-eztfsyhux5]{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.secret-row code[b-eztfsyhux5]{display:block;overflow:auto;padding:10px 12px;border:1px solid rgba(125,145,190,.18);border-radius:10px;background:rgba(5,11,24,.6);white-space:nowrap}
.api-create-grid[b-eztfsyhux5]{display:grid;grid-template-columns:1fr 220px;gap:12px;align-items:end;margin-bottom:18px}.api-create-grid label[b-eztfsyhux5]{display:flex;flex-direction:column;gap:7px;color:#9eacc8;font-size:12px}.api-create-grid input[b-eztfsyhux5]{width:100%;box-sizing:border-box;border:1px solid rgba(130,150,200,.22);border-radius:11px;background:rgba(5,11,24,.65);color:#edf2ff;padding:11px 12px;font-family:inherit;outline:none}.api-create-grid input:focus[b-eztfsyhux5]{border-color:#7868ec;box-shadow:0 0 0 3px rgba(120,104,236,.12)}
.api-create-grid .wide-field[b-eztfsyhux5]{grid-column:1/-1}.api-create-grid .switch-field[b-eztfsyhux5]{flex-direction:row;align-items:center;align-self:center}.api-create-grid .switch-field input[b-eztfsyhux5]{width:auto}
.limit-editor[b-eztfsyhux5]{display:flex;align-items:center;gap:6px;white-space:nowrap}.limit-editor input[b-eztfsyhux5]{width:92px;border:1px solid rgba(130,150,200,.2);border-radius:8px;background:rgba(5,11,24,.5);color:#edf2ff;padding:7px 8px}
.api-actions[b-eztfsyhux5]{flex-wrap:wrap}.btn.compact[b-eztfsyhux5]{padding:7px 10px;font-size:11px}.inline-error[b-eztfsyhux5]{margin-bottom:14px;padding:10px 12px;border:1px solid rgba(244,63,94,.24);border-radius:10px;background:rgba(244,63,94,.08);color:#ff9aa5;font-size:12px;white-space:pre-wrap}
@media(max-width:760px){.api-create-grid[b-eztfsyhux5]{grid-template-columns:1fr}.api-create-grid .wide-field[b-eztfsyhux5]{grid-column:auto}.secret-row[b-eztfsyhux5]{grid-template-columns:1fr}.api-actions[b-eztfsyhux5]{min-width:220px}}
/* /Components/Pages/InventorySummary.razor.rz.scp.css */
.inventory-report-page[b-of6hj46g3d] {
    width: 100%;
    display: grid;
    gap: 16px;
    padding: 26px 28px 34px;
    direction: rtl;
    color: #0f172a;
}

.inventory-report-page *[b-of6hj46g3d],
.inventory-report-page *[b-of6hj46g3d]::before,
.inventory-report-page *[b-of6hj46g3d]::after {
    box-sizing: border-box;
}

.inventory-report-page a[b-of6hj46g3d] {
    text-decoration: none;
}

.inventory-report-hero[b-of6hj46g3d],
.inventory-report-toolbar[b-of6hj46g3d],
.inventory-report-filter-card[b-of6hj46g3d],
.inventory-report-period[b-of6hj46g3d],
.inventory-report-kpis article[b-of6hj46g3d],
.inventory-report-insights article[b-of6hj46g3d],
.inventory-report-card[b-of6hj46g3d],
.inventory-report-state[b-of6hj46g3d] {
    border: 1px solid rgba(148, 163, 184, .2);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 16px 40px rgba(15, 23, 42, .065);
}

.inventory-report-hero[b-of6hj46g3d] {
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 28px 34px;
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at 5% 55%, rgba(37, 99, 235, .14), transparent 235px),
        radial-gradient(circle at 96% 5%, rgba(96, 165, 250, .12), transparent 255px),
        linear-gradient(135deg, #fff, #f4f8ff);
}

.inventory-report-hero__content[b-of6hj46g3d] {
    min-width: 0;
}

.inventory-report-back[b-of6hj46g3d] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 14px;
    color: #475569;
    font-size: 11px;
    font-weight: 900;
}

.inventory-report-back:hover[b-of6hj46g3d] {
    color: var(--erp-primary, #2563eb);
}

.inventory-report-eyebrow[b-of6hj46g3d] {
    display: block;
    margin-bottom: 8px;
    color: var(--erp-primary, #2563eb);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .04em;
}

.inventory-report-hero h1[b-of6hj46g3d] {
    margin: 0;
    color: #0f172a;
    font-size: 37px;
    line-height: 1.25;
    font-weight: 1000;
}

.inventory-report-hero p[b-of6hj46g3d] {
    max-width: 760px;
    margin: 10px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.9;
    font-weight: 700;
}

.inventory-report-hero__icon[b-of6hj46g3d] {
    width: 92px;
    height: 92px;
    flex: 0 0 92px;
    display: grid;
    place-items: center;
    border-radius: 27px;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-primary, #3b82f6));
    box-shadow: 0 20px 38px rgba(37, 99, 235, .23);
}

.inventory-report-hero__icon[b-of6hj46g3d]  svg {
    font-size: 43px;
}

.inventory-report-toolbar[b-of6hj46g3d] {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border-radius: 22px;
}

.inventory-report-toolbar__copy strong[b-of6hj46g3d],
.inventory-report-toolbar__copy span[b-of6hj46g3d] {
    display: block;
}

.inventory-report-toolbar__copy strong[b-of6hj46g3d] {
    font-size: 14px;
    font-weight: 950;
}

.inventory-report-toolbar__copy span[b-of6hj46g3d] {
    margin-top: 4px;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
}

.inventory-report-toolbar__actions[b-of6hj46g3d] {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.inventory-report-btn[b-of6hj46g3d],
.inventory-report-clear[b-of6hj46g3d] {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 12px;
    font: inherit;
    font-size: 11.5px;
    font-weight: 900;
    cursor: pointer;
    transition: .16s ease;
}

.inventory-report-btn:disabled[b-of6hj46g3d],
.inventory-report-clear:disabled[b-of6hj46g3d] {
    opacity: .5;
    cursor: not-allowed;
}

.inventory-report-btn.primary[b-of6hj46g3d] {
    color: var(--erp-on-brand, #ffffff);
    border-color: var(--erp-primary, #2563eb);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-primary, #3b82f6));
    box-shadow: 0 9px 20px rgba(37, 99, 235, .18);
}

.inventory-report-btn.secondary[b-of6hj46g3d] {
    color: #334155;
    border-color: #d7e0eb;
    background: #fff;
}

.inventory-report-btn.export[b-of6hj46g3d] {
    color: #1d4ed8;
    border-color: #bfdbfe;
    background: #eff6ff;
}

.inventory-report-btn:hover:not(:disabled)[b-of6hj46g3d],
.inventory-report-clear:hover:not(:disabled)[b-of6hj46g3d] {
    transform: translateY(-1px);
}

.inventory-report-filter-card[b-of6hj46g3d] {
    padding: 18px;
    border-radius: 22px;
}

.inventory-report-filter-grid[b-of6hj46g3d] {
    display: grid;
    grid-template-columns: minmax(260px, 1.5fr) repeat(2, minmax(170px, .75fr)) auto;
    gap: 13px;
    align-items: end;
}

.inventory-report-field[b-of6hj46g3d] {
    display: grid;
    gap: 7px;
}

.inventory-report-field > span[b-of6hj46g3d] {
    color: #475569;
    font-size: 10.5px;
    font-weight: 900;
}

.inventory-report-field input[b-of6hj46g3d],
.inventory-report-field select[b-of6hj46g3d] {
    width: 100%;
    min-height: 45px;
    padding: 0 13px;
    border: 1px solid #d8e1ec;
    border-radius: 12px;
    outline: 0;
    color: #0f172a;
    background: #f8fafc;
    font: inherit;
    font-size: 11.5px;
    font-weight: 800;
}

.inventory-report-field.search > div[b-of6hj46g3d] {
    position: relative;
}

.inventory-report-field.search input[b-of6hj46g3d] {
    padding-right: 42px;
}

.inventory-report-field.search[b-of6hj46g3d]  svg {
    position: absolute;
    top: 50%;
    right: 13px;
    z-index: 1;
    color: #94a3b8;
    transform: translateY(-50%);
}

.inventory-report-field input:focus[b-of6hj46g3d],
.inventory-report-field select:focus[b-of6hj46g3d] {
    border-color: #60a5fa;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .1);
}

.inventory-report-clear[b-of6hj46g3d] {
    color: #475569;
    border-color: #d7e0eb;
    background: #fff;
}

.inventory-report-state[b-of6hj46g3d] {
    padding: 48px 24px;
    border-radius: 24px;
    text-align: center;
}

.inventory-report-state.error[b-of6hj46g3d] {
    color: #b91c1c;
    border-color: #fecaca;
    background: #fff1f2;
}

.inventory-report-state p[b-of6hj46g3d] {
    margin: 9px 0 16px;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}

.inventory-report-spinner[b-of6hj46g3d] {
    width: 40px;
    height: 40px;
    margin: 0 auto 13px;
    border: 4px solid #dbeafe;
    border-top-color: var(--erp-primary, #2563eb);
    border-radius: 50%;
    animation: inventory-spin-b-of6hj46g3d .75s linear infinite;
}

@keyframes inventory-spin-b-of6hj46g3d {
    to { transform: rotate(360deg); }
}

.inventory-report-period[b-of6hj46g3d] {
    min-height: 78px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 14px;
    align-items: center;
    padding: 15px 18px;
    border-radius: 20px;
}

.inventory-report-period span[b-of6hj46g3d],
.inventory-report-period strong[b-of6hj46g3d] {
    display: block;
}

.inventory-report-period span[b-of6hj46g3d] {
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
}

.inventory-report-period strong[b-of6hj46g3d] {
    margin-top: 5px;
    color: #0f172a;
    font-size: 13px;
    font-weight: 950;
}

.inventory-report-status[b-of6hj46g3d] {
    padding: 7px 12px;
    border-radius: 999px;
    color: #047857 !important;
    background: #d1fae5;
    font-size: 10px !important;
    font-weight: 950 !important;
}

.inventory-report-kpis[b-of6hj46g3d],
.inventory-report-insights[b-of6hj46g3d] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.inventory-report-kpis article[b-of6hj46g3d],
.inventory-report-insights article[b-of6hj46g3d] {
    min-height: 126px;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 17px;
    border-radius: 20px;
}

.inventory-report-kpis article[b-of6hj46g3d] {
    border-top: 3px solid var(--erp-primary, #2563eb);
}

.inventory-report-kpis article.quantity[b-of6hj46g3d] {
    border-top-color: var(--erp-accent, #7c3aed);
}

.inventory-report-kpis article.purchase-value[b-of6hj46g3d] {
    border-top-color: #059669;
}

.inventory-report-kpis article.sale-value[b-of6hj46g3d] {
    border-top-color: #ea580c;
}

.inventory-report-kpi__icon[b-of6hj46g3d],
.inventory-report-insights article > span[b-of6hj46g3d] {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: var(--erp-primary, #2563eb);
    background: #eff6ff;
}

.inventory-report-kpis article > div > span[b-of6hj46g3d],
.inventory-report-insights article > div > span[b-of6hj46g3d] {
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
}

.inventory-report-kpis article strong[b-of6hj46g3d],
.inventory-report-insights article strong[b-of6hj46g3d] {
    display: block;
    margin-top: 10px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 1000;
}

.inventory-report-kpis article small[b-of6hj46g3d],
.inventory-report-insights article small[b-of6hj46g3d] {
    display: block;
    margin-top: 7px;
    color: #64748b;
    font-size: 9px;
    line-height: 1.6;
    font-weight: 700;
}

.inventory-report-insights article:nth-child(1) > span[b-of6hj46g3d] {
    color: #b45309;
    background: #fef3c7;
}

.inventory-report-insights article:nth-child(2) > span[b-of6hj46g3d] {
    color: #dc2626;
    background: #fee2e2;
}

.inventory-report-insights article:nth-child(3) > span[b-of6hj46g3d] {
    color: #be123c;
    background: #ffe4e6;
}

.inventory-report-insights article:nth-child(4) > span[b-of6hj46g3d] {
    color: #047857;
    background: #d1fae5;
}

.inventory-report-card[b-of6hj46g3d] {
    border-radius: 24px;
    overflow: hidden;
}

.inventory-report-card__header[b-of6hj46g3d] {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 16px 19px;
    border-bottom: 1px solid #e7edf4;
    background: linear-gradient(180deg, #fff, #fbfcfe);
}

.inventory-report-card__header > div > span[b-of6hj46g3d] {
    color: #64748b;
    font-size: 9.5px;
    font-weight: 900;
}

.inventory-report-card__header h2[b-of6hj46g3d] {
    margin: 5px 0 0;
    font-size: 18px;
    font-weight: 1000;
}

.inventory-report-card__header p[b-of6hj46g3d] {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 9.5px;
    font-weight: 700;
}

.inventory-report-count[b-of6hj46g3d] {
    padding: 7px 11px;
    border-radius: 999px;
    color: #1d4ed8;
    background: #dbeafe;
    font-size: 10px;
    font-weight: 950;
}

.inventory-report-table-wrap[b-of6hj46g3d] {
    overflow: auto;
}

.inventory-report-pagination[b-of6hj46g3d] {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 12px 16px;
    border-top: 1px solid #e7edf4;
}

.inventory-report-pagination > span[b-of6hj46g3d] {
    color: #475569;
    font-size: 11px;
    font-weight: 900;
}

.inventory-report-table[b-of6hj46g3d] {
    width: 100%;
    min-width: 1240px;
    border-collapse: collapse;
    font-size: 10px;
}

.inventory-report-table th[b-of6hj46g3d],
.inventory-report-table td[b-of6hj46g3d] {
    padding: 13px 10px;
    border-bottom: 1px solid #e7edf4;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.inventory-report-table th[b-of6hj46g3d] {
    position: sticky;
    top: 0;
    z-index: 1;
    color: #475569;
    background: #f8fafc;
    font-size: 9.5px;
    font-weight: 950;
}

.inventory-report-table tbody tr:hover td[b-of6hj46g3d] {
    background: #f8fbff;
}

.inventory-report-table .name-cell[b-of6hj46g3d] {
    min-width: 190px;
    text-align: right;
    font-weight: 900;
}

.inventory-report-table .ltr-cell[b-of6hj46g3d],
.inventory-report-table .number-cell[b-of6hj46g3d] {
    direction: ltr;
    font-variant-numeric: tabular-nums;
}

.inventory-report-table tfoot td[b-of6hj46g3d] {
    color: #0f172a;
    background: #f1f5f9;
    font-weight: 950;
}

.inventory-stock-badge[b-of6hj46g3d] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 950;
}

.inventory-stock-badge.available[b-of6hj46g3d] {
    color: #047857;
    background: #d1fae5;
}

.inventory-stock-badge.low[b-of6hj46g3d] {
    color: #b45309;
    background: #fef3c7;
}

.inventory-stock-badge.zero[b-of6hj46g3d] {
    color: #b91c1c;
    background: #fee2e2;
}

.inventory-stock-badge.negative[b-of6hj46g3d] {
    color: #fff;
    background: #dc2626;
}

.inventory-report-empty[b-of6hj46g3d] {
    min-height: 220px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    color: #64748b;
}

.inventory-report-empty[b-of6hj46g3d]  svg {
    font-size: 48px;
    color: #93c5fd;
}

.inventory-report-print[b-of6hj46g3d] {
    display: none;
}

@page {
    size: A4 landscape;
    margin: 7mm;
}

@media print {
    html[b-of6hj46g3d],
    body[b-of6hj46g3d] {
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #fff !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .inventory-report-print[b-of6hj46g3d] {
        display: block !important;
        width: 100% !important;
        color: #111827 !important;
        background: #fff !important;
        direction: rtl !important;
        font-family: Tahoma, Arial, sans-serif !important;
    }

    .inventory-report-print__header[b-of6hj46g3d] {
        display: flex !important;
        align-items: flex-end !important;
        justify-content: space-between !important;
        gap: 8mm !important;
        margin: 0 0 4mm !important;
        padding: 0 0 3mm !important;
        border-bottom: 1.5px solid #111827 !important;
        break-after: avoid-page !important;
    }

    .inventory-report-print__header h1[b-of6hj46g3d] {
        margin: 0 0 1mm !important;
        font-size: 16pt !important;
        font-weight: 900 !important;
    }

    .inventory-report-print__header p[b-of6hj46g3d],
    .inventory-report-print__header span[b-of6hj46g3d] {
        margin: 0 !important;
        color: #334155 !important;
        font-size: 7.5pt !important;
        font-weight: 700 !important;
    }

    .inventory-report-print__meta[b-of6hj46g3d] {
        display: grid !important;
        gap: 1mm !important;
        text-align: left !important;
    }

    .inventory-report-print__table[b-of6hj46g3d] {
        width: 100% !important;
        max-width: 100% !important;
        border-collapse: collapse !important;
        table-layout: fixed !important;
        font-size: 6.6pt !important;
    }

    .inventory-report-print__table thead[b-of6hj46g3d] {
        display: table-header-group !important;
    }

    .inventory-report-print__table tfoot[b-of6hj46g3d] {
        display: table-footer-group !important;
    }

    .inventory-report-print__table tr[b-of6hj46g3d] {
        break-inside: avoid-page !important;
        page-break-inside: avoid !important;
    }

    .inventory-report-print__table th[b-of6hj46g3d],
    .inventory-report-print__table td[b-of6hj46g3d] {
        padding: 1.6mm .8mm !important;
        border: 1px solid #cbd5e1 !important;
        line-height: 1.35 !important;
        text-align: center !important;
        vertical-align: middle !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .inventory-report-print__table th[b-of6hj46g3d] {
        background: #eaf0f6 !important;
        font-weight: 900 !important;
    }

    .inventory-report-print__table th:nth-child(1)[b-of6hj46g3d],
    .inventory-report-print__table td:nth-child(1)[b-of6hj46g3d] {
        width: 4% !important;
    }

    .inventory-report-print__table th:nth-child(2)[b-of6hj46g3d],
    .inventory-report-print__table td:nth-child(2)[b-of6hj46g3d] {
        width: 8% !important;
    }

    .inventory-report-print__table th:nth-child(3)[b-of6hj46g3d],
    .inventory-report-print__table td:nth-child(3)[b-of6hj46g3d] {
        width: 17% !important;
        text-align: right !important;
    }

    .inventory-report-print__table th:nth-child(4)[b-of6hj46g3d],
    .inventory-report-print__table td:nth-child(4)[b-of6hj46g3d],
    .inventory-report-print__table th:nth-child(5)[b-of6hj46g3d],
    .inventory-report-print__table td:nth-child(5)[b-of6hj46g3d] {
        width: 8% !important;
    }

    .inventory-report-print__table th:nth-child(6)[b-of6hj46g3d],
    .inventory-report-print__table td:nth-child(6)[b-of6hj46g3d] {
        width: 6% !important;
    }

    .inventory-report-print__table th:nth-child(7)[b-of6hj46g3d],
    .inventory-report-print__table td:nth-child(7)[b-of6hj46g3d] {
        width: 7% !important;
    }

    .inventory-report-print__table th:nth-child(8)[b-of6hj46g3d],
    .inventory-report-print__table td:nth-child(8)[b-of6hj46g3d],
    .inventory-report-print__table th:nth-child(9)[b-of6hj46g3d],
    .inventory-report-print__table td:nth-child(9)[b-of6hj46g3d],
    .inventory-report-print__table th:nth-child(10)[b-of6hj46g3d],
    .inventory-report-print__table td:nth-child(10)[b-of6hj46g3d],
    .inventory-report-print__table th:nth-child(11)[b-of6hj46g3d],
    .inventory-report-print__table td:nth-child(11)[b-of6hj46g3d] {
        width: 9% !important;
        direction: ltr !important;
        font-variant-numeric: tabular-nums !important;
    }

    .inventory-report-print__table th:nth-child(12)[b-of6hj46g3d],
    .inventory-report-print__table td:nth-child(12)[b-of6hj46g3d] {
        width: 8% !important;
    }

    .inventory-report-print__table tfoot td[b-of6hj46g3d] {
        background: #e7edf4 !important;
        font-weight: 900 !important;
    }

    .inventory-report-print__footer[b-of6hj46g3d] {
        display: flex !important;
        justify-content: space-between !important;
        gap: 8mm !important;
        margin-top: 4mm !important;
        padding-top: 2mm !important;
        border-top: 1px solid #cbd5e1 !important;
        color: #475569 !important;
        font-size: 7pt !important;
    }
}

@media (max-width: 1100px) {
    .inventory-report-filter-grid[b-of6hj46g3d] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .inventory-report-kpis[b-of6hj46g3d],
    .inventory-report-insights[b-of6hj46g3d] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .inventory-report-page[b-of6hj46g3d] {
        padding: 16px;
    }

    .inventory-report-hero[b-of6hj46g3d] {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px;
    }

    .inventory-report-hero h1[b-of6hj46g3d] {
        font-size: 29px;
    }

    .inventory-report-hero__icon[b-of6hj46g3d] {
        width: 68px;
        height: 68px;
        flex-basis: 68px;
        border-radius: 20px;
    }

    .inventory-report-toolbar[b-of6hj46g3d] {
        align-items: stretch;
        flex-direction: column;
    }

    .inventory-report-toolbar__actions[b-of6hj46g3d],
    .inventory-report-filter-grid[b-of6hj46g3d],
    .inventory-report-period[b-of6hj46g3d],
    .inventory-report-kpis[b-of6hj46g3d],
    .inventory-report-insights[b-of6hj46g3d] {
        grid-template-columns: 1fr;
    }

    .inventory-report-toolbar__actions[b-of6hj46g3d] {
        display: grid;
    }
}

@media screen {
    :global(.erpdb-dark) .inventory-report-pagination[b-of6hj46g3d] {
        border-color: #2a394f;
    }

    :global(.erpdb-dark) .inventory-report-pagination > span[b-of6hj46g3d] {
        color: #dbe7f7;
    }
}
/* /Components/Pages/Inventory/ActivityCenter.razor.rz.scp.css */
.inventory-activity-page[b-capcf0u0oi] {
    padding: 24px;
    color: var(--erp-final-text);
}

.activity-header[b-capcf0u0oi] {
    margin-bottom: 20px;
}

.activity-header h3[b-capcf0u0oi] {
    margin: 0;
    font-weight: 900;
    color: var(--erp-final-text);
}

.activity-header p[b-capcf0u0oi] {
    margin: 6px 0 0;
    color: var(--erp-final-muted);
}

.activity-grid[b-capcf0u0oi] {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 16px;
}

.activity-card[b-capcf0u0oi] {
    border: 1px solid var(--erp-final-border);
    background: var(--erp-final-bg);
    color: var(--erp-final-text);
    border-radius: 18px;
    padding: 20px;
    text-align: right;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
    cursor: pointer;
}

.activity-card strong[b-capcf0u0oi] {
    display: block;
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 8px;
}

.activity-card span[b-capcf0u0oi] {
    color: var(--erp-final-muted);
    font-weight: 700;
}

@media(max-width: 992px) {
    .activity-grid[b-capcf0u0oi] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 768px) {
    .inventory-activity-page[b-capcf0u0oi] {
        padding: 16px;
    }

    .activity-grid[b-capcf0u0oi] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Inventory/InventoryAdjustment.razor.rz.scp.css */
.inventory-adjustment-page[b-cor2t3s06z] {
    --ia-bg: var(--erp-page-bg, #f8fafc);
    --ia-surface: var(--erp-surface, #ffffff);
    --ia-surface-soft: var(--erp-surface-soft, #f8fafc);
    --ia-text: var(--erp-text, #0f172a);
    --ia-muted: var(--erp-muted, #64748b);
    --ia-border: var(--erp-border, #e2e8f0);
    --ia-accent: #4f46e5;
    --ia-danger: #e11d48;
    --ia-success: #059669;

    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    color: var(--ia-text);
    background: var(--ia-bg);
}

.inventory-adjustment-page[b-cor2t3s06z],
.inventory-adjustment-page *[b-cor2t3s06z] {
    box-sizing: border-box;
}

.page-hero[b-cor2t3s06z],
.control-card[b-cor2t3s06z],
.workspace-card[b-cor2t3s06z],
.commit-card[b-cor2t3s06z],
.history-card[b-cor2t3s06z],
.state-card[b-cor2t3s06z],
.blocking-warning[b-cor2t3s06z],
.alert[b-cor2t3s06z] {
    border: 1px solid var(--ia-border);
    border-radius: 18px;
    background: var(--ia-surface);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}

.page-hero[b-cor2t3s06z] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
}

.eyebrow[b-cor2t3s06z] {
    display: inline-flex;
    margin-bottom: 8px;
    color: #818cf8;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.page-hero h1[b-cor2t3s06z] {
    margin: 0;
    font-size: 24px;
    font-weight: 950;
}

.page-hero p[b-cor2t3s06z] {
    margin: 8px 0 0;
    color: var(--ia-muted);
    font-size: 12px;
    line-height: 1.9;
}

.hero-badge[b-cor2t3s06z] {
    min-width: 125px;
    min-height: 76px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    padding: 12px 16px;
    border: 1px solid rgba(99, 102, 241, .28);
    border-radius: 16px;
    background: rgba(99, 102, 241, .10);
}

.hero-badge strong[b-cor2t3s06z] {
    color: #818cf8;
    font-size: 25px;
    font-weight: 950;
}

.hero-badge span[b-cor2t3s06z] {
    color: var(--ia-muted);
    font-size: 10px;
    font-weight: 800;
}

.alert[b-cor2t3s06z] {
    padding: 13px 16px;
    font-size: 12px;
    font-weight: 850;
}

.alert.error[b-cor2t3s06z] {
    color: #fb7185;
    border-color: rgba(244, 63, 94, .34);
    background: rgba(244, 63, 94, .09);
}

.alert.success[b-cor2t3s06z] {
    color: #34d399;
    border-color: rgba(16, 185, 129, .30);
    background: rgba(16, 185, 129, .09);
}

.control-card[b-cor2t3s06z] {
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(300px, 1.5fr) auto;
    align-items: end;
    gap: 14px;
    padding: 16px;
}

.warehouse-control[b-cor2t3s06z],
.reason-control[b-cor2t3s06z] {
    display: grid;
    gap: 7px;
}

.warehouse-control label[b-cor2t3s06z],
.reason-control label[b-cor2t3s06z] {
    color: var(--ia-muted);
    font-size: 11px;
    font-weight: 900;
}

.control-input[b-cor2t3s06z],
.search-box input[b-cor2t3s06z],
.qty-input[b-cor2t3s06z] {
    width: 100%;
    border: 1px solid var(--ia-border);
    outline: 0;
    background: var(--ia-surface-soft);
    color: var(--ia-text);
    font: inherit;
}

.control-input[b-cor2t3s06z] {
    min-height: 46px;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
}

.control-input:focus[b-cor2t3s06z],
.search-box:focus-within[b-cor2t3s06z],
.qty-input:focus[b-cor2t3s06z] {
    border-color: rgba(99, 102, 241, .55);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .10);
}

.primary-btn[b-cor2t3s06z],
.secondary-btn[b-cor2t3s06z],
.ghost-btn[b-cor2t3s06z],
.zero-btn[b-cor2t3s06z],
.pager button[b-cor2t3s06z] {
    border: 1px solid var(--ia-border);
    border-radius: 11px;
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.primary-btn:disabled[b-cor2t3s06z],
.secondary-btn:disabled[b-cor2t3s06z],
.ghost-btn:disabled[b-cor2t3s06z],
.zero-btn:disabled[b-cor2t3s06z],
.pager button:disabled[b-cor2t3s06z] {
    opacity: .45;
    cursor: not-allowed;
}

.secondary-btn[b-cor2t3s06z] {
    min-height: 46px;
    padding: 0 16px;
    color: var(--ia-text);
    background: var(--ia-surface-soft);
}

.blocking-warning[b-cor2t3s06z] {
    padding: 14px 16px;
    border-color: rgba(245, 158, 11, .34);
    background: rgba(245, 158, 11, .09);
}

.blocking-warning div[b-cor2t3s06z] {
    display: grid;
    gap: 5px;
}

.blocking-warning strong[b-cor2t3s06z] {
    color: #fbbf24;
    font-size: 12px;
}

.blocking-warning span[b-cor2t3s06z] {
    color: var(--ia-muted);
    font-size: 11px;
    line-height: 1.8;
}

.state-card[b-cor2t3s06z] {
    min-height: 160px;
    display: grid;
    place-items: center;
    color: var(--ia-muted);
    font-size: 12px;
    font-weight: 850;
}

.summary-grid[b-cor2t3s06z] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.summary-grid article[b-cor2t3s06z] {
    min-height: 88px;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 13px 15px;
    border: 1px solid var(--ia-border);
    border-radius: 15px;
    background: var(--ia-surface);
}

.summary-grid span[b-cor2t3s06z],
.summary-grid small[b-cor2t3s06z] {
    color: var(--ia-muted);
    font-size: 9px;
    font-weight: 750;
}

.summary-grid strong[b-cor2t3s06z] {
    overflow: hidden;
    color: var(--ia-text);
    font-size: 17px;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.summary-grid .difference strong[b-cor2t3s06z] {
    color: #818cf8;
}

.workspace-card[b-cor2t3s06z] {
    overflow: hidden;
}

.workspace-toolbar[b-cor2t3s06z] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px;
    border-bottom: 1px solid var(--ia-border);
}

.search-box[b-cor2t3s06z] {
    min-width: 280px;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 11px;
    border: 1px solid var(--ia-border);
    border-radius: 11px;
    background: var(--ia-surface-soft);
    color: var(--ia-muted);
}

.search-box input[b-cor2t3s06z] {
    border: 0;
    background: transparent;
    font-size: 11px;
}

.toolbar-actions[b-cor2t3s06z] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ghost-btn[b-cor2t3s06z],
.zero-btn[b-cor2t3s06z] {
    min-height: 38px;
    padding: 0 12px;
}

.ghost-btn[b-cor2t3s06z] {
    color: var(--ia-text);
    background: var(--ia-surface-soft);
}

.zero-btn[b-cor2t3s06z] {
    color: #fb7185;
    border-color: rgba(244, 63, 94, .35);
    background: rgba(244, 63, 94, .09);
}

.table-shell[b-cor2t3s06z] {
    width: 100%;
    overflow: auto;
}

.adjustment-table[b-cor2t3s06z],
.history-table[b-cor2t3s06z] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--ia-text);
}

.adjustment-table[b-cor2t3s06z] {
    min-width: 930px;
}

.history-table[b-cor2t3s06z] {
    min-width: 1120px;
}

.adjustment-table th[b-cor2t3s06z],
.history-table th[b-cor2t3s06z] {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 12px 13px;
    border-bottom: 1px solid var(--ia-border);
    background: var(--ia-surface-soft);
    color: var(--ia-muted);
    font-size: 10px;
    font-weight: 950;
    text-align: right;
    white-space: nowrap;
}

.adjustment-table td[b-cor2t3s06z],
.history-table td[b-cor2t3s06z] {
    padding: 11px 13px;
    border-bottom: 1px solid var(--ia-border);
    font-size: 11px;
    font-weight: 760;
    vertical-align: middle;
}

.adjustment-table tbody tr:last-child td[b-cor2t3s06z],
.history-table tbody tr:last-child td[b-cor2t3s06z] {
    border-bottom: 0;
}

.changed-row[b-cor2t3s06z] {
    background: rgba(99, 102, 241, .055);
}

.product-cell[b-cor2t3s06z] {
    min-width: 220px;
}

.product-cell strong[b-cor2t3s06z] {
    display: block;
    max-width: 330px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.code[b-cor2t3s06z] {
    direction: ltr;
    display: inline-block;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
}

.qty-input[b-cor2t3s06z] {
    width: 96px;
    min-height: 36px;
    padding: 0 9px;
    border-radius: 9px;
    text-align: center;
    font-size: 12px;
    font-weight: 900;
}

.difference-pill[b-cor2t3s06z],
.status-pill[b-cor2t3s06z] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    min-height: 28px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 950;
}

.difference-pill.negative[b-cor2t3s06z],
.negative[b-cor2t3s06z] {
    color: #fb7185;
}

.difference-pill.negative[b-cor2t3s06z] {
    background: rgba(244, 63, 94, .10);
}

.difference-pill.positive[b-cor2t3s06z],
.positive[b-cor2t3s06z] {
    color: #34d399;
}

.difference-pill.positive[b-cor2t3s06z] {
    background: rgba(16, 185, 129, .10);
}

.difference-pill.neutral[b-cor2t3s06z] {
    color: var(--ia-muted);
    background: var(--ia-surface-soft);
}

.status-pill[b-cor2t3s06z] {
    color: #818cf8;
    background: rgba(99, 102, 241, .10);
}

.empty-row[b-cor2t3s06z],
.history-state[b-cor2t3s06z] {
    min-height: 120px;
    display: grid;
    place-items: center;
    color: var(--ia-muted);
    font-size: 11px;
    font-weight: 800;
}

.pager[b-cor2t3s06z] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 14px;
    border-top: 1px solid var(--ia-border);
    background: var(--ia-surface-soft);
    color: var(--ia-muted);
    font-size: 10px;
    font-weight: 800;
}

.pager > div[b-cor2t3s06z] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pager button[b-cor2t3s06z] {
    min-width: 62px;
    min-height: 32px;
    color: var(--ia-text);
    background: var(--ia-surface);
}

.pager strong[b-cor2t3s06z] {
    min-width: 92px;
    text-align: center;
}

.commit-card[b-cor2t3s06z] {
    display: grid;
    grid-template-columns: 1fr minmax(330px, 1.6fr) auto;
    align-items: center;
    gap: 16px;
    padding: 15px 16px;
}

.commit-summary[b-cor2t3s06z] {
    display: flex;
    align-items: center;
    gap: 18px;
}

.commit-summary div[b-cor2t3s06z] {
    display: grid;
    gap: 3px;
}

.commit-summary span[b-cor2t3s06z] {
    color: var(--ia-muted);
    font-size: 9px;
    font-weight: 800;
}

.commit-summary strong[b-cor2t3s06z] {
    font-size: 16px;
    font-weight: 950;
}

.confirm-box[b-cor2t3s06z] {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--ia-muted);
    font-size: 10px;
    font-weight: 750;
    line-height: 1.7;
    cursor: pointer;
}

.confirm-box input[b-cor2t3s06z] {
    width: 17px;
    height: 17px;
    margin-top: 1px;
    accent-color: var(--ia-accent);
}

.primary-btn[b-cor2t3s06z] {
    min-height: 44px;
    padding: 0 17px;
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    box-shadow: 0 9px 24px rgba(79, 70, 229, .22);
}

.history-card[b-cor2t3s06z] {
    overflow: hidden;
}

.section-heading[b-cor2t3s06z] {
    padding: 15px 16px;
    border-bottom: 1px solid var(--ia-border);
}

.section-heading h2[b-cor2t3s06z] {
    margin: 0;
    font-size: 16px;
    font-weight: 950;
}

.section-heading p[b-cor2t3s06z] {
    margin: 5px 0 0;
    color: var(--ia-muted);
    font-size: 10px;
}

.reason-cell[b-cor2t3s06z] {
    max-width: 320px;
    white-space: normal;
    line-height: 1.7;
}

@media (max-width: 1180px) {
    .summary-grid[b-cor2t3s06z] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .commit-card[b-cor2t3s06z] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .inventory-adjustment-page[b-cor2t3s06z] {
        padding: 12px;
    }

    .page-hero[b-cor2t3s06z],
    .workspace-toolbar[b-cor2t3s06z],
    .control-card[b-cor2t3s06z] {
        align-items: stretch;
        flex-direction: column;
    }

    .page-hero[b-cor2t3s06z] {
        display: flex;
    }

    .hero-badge[b-cor2t3s06z] {
        width: 100%;
    }

    .control-card[b-cor2t3s06z] {
        grid-template-columns: 1fr;
    }

    .summary-grid[b-cor2t3s06z] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .workspace-toolbar[b-cor2t3s06z] {
        display: flex;
    }

    .toolbar-actions[b-cor2t3s06z] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .search-box[b-cor2t3s06z] {
        min-width: 0;
        width: 100%;
    }

    .pager[b-cor2t3s06z] {
        align-items: stretch;
        flex-direction: column;
    }

    .pager > div[b-cor2t3s06z] {
        justify-content: space-between;
    }

    .commit-summary[b-cor2t3s06z] {
        justify-content: space-between;
    }
}

@media (max-width: 520px) {
    .summary-grid[b-cor2t3s06z] {
        grid-template-columns: 1fr;
    }

    .commit-summary[b-cor2t3s06z] {
        align-items: stretch;
        flex-direction: column;
    }
}
/* /Components/Pages/Inventory/InventoryAiRecommendation.razor.rz.scp.css */
.inventory-ai-page[b-9oq5dyawi1] {
    padding: 24px;
    color: var(--erp-final-text);
}

.ai-header[b-9oq5dyawi1] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.ai-header h3[b-9oq5dyawi1] {
    margin: 0;
    font-weight: 900;
}

.ai-header p[b-9oq5dyawi1],
.ai-kpi-card span[b-9oq5dyawi1] {
    margin: 6px 0 0;
    color: var(--erp-final-muted);
}

.ai-actions[b-9oq5dyawi1] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.ai-actions input[b-9oq5dyawi1] {
    width: 110px;
}

.ai-kpi-grid[b-9oq5dyawi1] {
    display: grid;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.ai-kpi-card[b-9oq5dyawi1],
.ai-card[b-9oq5dyawi1] {
    background: var(--erp-final-bg);
    color: var(--erp-final-text);
    border: 1px solid var(--erp-final-border);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
}

.ai-kpi-card span[b-9oq5dyawi1] {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}

.ai-kpi-card strong[b-9oq5dyawi1] {
    display: block;
    font-size: 24px;
    font-weight: 900;
}

.ai-kpi-card.danger strong[b-9oq5dyawi1] { color: #ef4444; }
.ai-kpi-card.warning strong[b-9oq5dyawi1] { color: #f59e0b; }
.ai-kpi-card.success strong[b-9oq5dyawi1] { color: #10b981; }

.ai-card h5[b-9oq5dyawi1] {
    margin: 0 0 14px;
    font-weight: 900;
}

.ai-table th[b-9oq5dyawi1] {
    background: var(--erp-final-border);
    color: var(--erp-final-text);
    white-space: nowrap;
}

.ai-table td[b-9oq5dyawi1] {
    vertical-align: middle;
    white-space: nowrap;
}

@media(max-width: 1200px) {
    .ai-kpi-grid[b-9oq5dyawi1] { grid-template-columns: repeat(3, 1fr); }
}

@media(max-width: 768px) {
    .inventory-ai-page[b-9oq5dyawi1] { padding: 16px; }
    .ai-header[b-9oq5dyawi1] { flex-direction: column; }
    .ai-actions[b-9oq5dyawi1] { width: 100%; flex-wrap: wrap; }
    .ai-kpi-grid[b-9oq5dyawi1] { grid-template-columns: 1fr; }
}
/* /Components/Pages/Inventory/InventoryAlerts.razor.rz.scp.css */
.inventory-alerts-page[b-y3gbfws8q0] {
    width: 100%;
    padding: 28px;
    direction: rtl;
    color: #0f172a;
}

.alerts-hero[b-y3gbfws8q0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
    padding: 24px 26px;
    background:
        radial-gradient(circle at 8% 12%, rgba(99, 102, 241, .14), transparent 27%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dbe5f1;
    border-radius: 24px;
    box-shadow: 0 16px 45px rgba(15, 23, 42, .08);
}

.alerts-hero__content[b-y3gbfws8q0] {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.alerts-hero__icon[b-y3gbfws8q0] {
    display: grid;
    place-items: center;
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    border-radius: 19px;
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    color: var(--erp-on-brand, #ffffff);
    font-size: 29px;
    font-weight: 900;
    box-shadow: 0 12px 25px rgba(79, 70, 229, .24);
}

.alerts-eyebrow[b-y3gbfws8q0] {
    display: block;
    margin-bottom: 6px;
    color: var(--erp-primary, #2563eb);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .55px;
}

.alerts-hero h1[b-y3gbfws8q0],
.alerts-panel__header h2[b-y3gbfws8q0] {
    margin: 0;
    color: #0f172a;
    font-weight: 950;
}

.alerts-hero h1[b-y3gbfws8q0] {
    font-size: clamp(23px, 2vw, 31px);
}

.alerts-hero p[b-y3gbfws8q0],
.alerts-panel__header p[b-y3gbfws8q0] {
    margin: 8px 0 0;
    color: #64748b;
    font-weight: 650;
    line-height: 1.8;
}

.alerts-actions[b-y3gbfws8q0] {
    display: flex;
    align-items: end;
    gap: 10px;
    flex: 0 0 auto;
}

.alerts-filter[b-y3gbfws8q0] {
    display: grid;
    gap: 7px;
    min-width: 180px;
}

.alerts-filter > span[b-y3gbfws8q0] {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.alerts-filter select[b-y3gbfws8q0] {
    min-height: 46px;
    border: 1px solid #d7e1ee;
    border-radius: 14px;
    padding-inline: 14px 38px;
    background-color: #fff;
    color: #0f172a;
    font-weight: 800;
    box-shadow: none;
}

.alerts-filter select:focus[b-y3gbfws8q0] {
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, .12);
}

.alerts-refresh-btn[b-y3gbfws8q0],
.alerts-empty button[b-y3gbfws8q0],
.alerts-state button[b-y3gbfws8q0],
.alerts-read-btn[b-y3gbfws8q0] {
    border: 0;
    cursor: pointer;
    font-family: inherit;
    font-weight: 900;
    transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.alerts-refresh-btn[b-y3gbfws8q0] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 19px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-primary, #4f46e5));
    color: var(--erp-on-brand, #ffffff);
    box-shadow: 0 10px 20px rgba(37, 99, 235, .22);
}

.alerts-refresh-btn:hover:not(:disabled)[b-y3gbfws8q0],
.alerts-empty button:hover[b-y3gbfws8q0],
.alerts-state button:hover[b-y3gbfws8q0],
.alerts-read-btn:hover:not(:disabled)[b-y3gbfws8q0] {
    transform: translateY(-1px);
}

.alerts-refresh-btn:disabled[b-y3gbfws8q0],
.alerts-read-btn:disabled[b-y3gbfws8q0] {
    cursor: not-allowed;
    opacity: .6;
}

.alerts-kpi-grid[b-y3gbfws8q0] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.alerts-kpi-card[b-y3gbfws8q0] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 128px;
    overflow: hidden;
    padding: 18px;
    background: #fff;
    border: 1px solid #e1e8f1;
    border-radius: 21px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .07);
}

.alerts-kpi-card[b-y3gbfws8q0]::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--kpi-accent, var(--erp-primary, #2563eb));
}

.alerts-kpi-card--total[b-y3gbfws8q0] {
    --kpi-accent: var(--erp-primary, #2563eb);
    --kpi-soft: #dbeafe;
}

.alerts-kpi-card--danger[b-y3gbfws8q0] {
    --kpi-accent: #dc2626;
    --kpi-soft: #fee2e2;
}

.alerts-kpi-card--warning[b-y3gbfws8q0] {
    --kpi-accent: #d97706;
    --kpi-soft: #fef3c7;
}

.alerts-kpi-card--unread[b-y3gbfws8q0] {
    --kpi-accent: var(--erp-accent, #7c3aed);
    --kpi-soft: #ede9fe;
}

.alerts-kpi-card__icon[b-y3gbfws8q0] {
    display: grid;
    place-items: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--kpi-soft);
    color: var(--kpi-accent);
    font-size: 23px;
}

.alerts-kpi-card span[b-y3gbfws8q0] {
    display: block;
    margin-bottom: 5px;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.alerts-kpi-card strong[b-y3gbfws8q0] {
    display: block;
    color: var(--kpi-accent);
    font-size: 28px;
    font-weight: 950;
    line-height: 1.1;
}

.alerts-kpi-card small[b-y3gbfws8q0] {
    display: block;
    margin-top: 7px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
}

.alerts-panel[b-y3gbfws8q0] {
    overflow: hidden;
    background: #fff;
    border: 1px solid #dfe7f0;
    border-radius: 24px;
    box-shadow: 0 16px 45px rgba(15, 23, 42, .08);
}

.alerts-panel__header[b-y3gbfws8q0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    border-bottom: 1px solid #e5ebf3;
    background: linear-gradient(180deg, #fff, #fbfdff);
}

.alerts-panel__header h2[b-y3gbfws8q0] {
    font-size: 21px;
}

.alerts-result-badge[b-y3gbfws8q0] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--erp-primary, #2563eb);
    font-size: 12px;
    font-weight: 900;
}

.alerts-table-wrap[b-y3gbfws8q0] {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.alerts-table[b-y3gbfws8q0] {
    width: 100%;
    min-width: 1080px;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.alerts-table th[b-y3gbfws8q0] {
    padding: 15px 14px;
    background: #f8fafc;
    color: #475569;
    border-bottom: 1px solid #dfe7f0;
    text-align: right;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.alerts-table td[b-y3gbfws8q0] {
    padding: 16px 14px;
    border-bottom: 1px solid #edf1f6;
    color: #334155;
    text-align: right;
    vertical-align: middle;
    font-size: 13px;
}

.alerts-table tbody tr[b-y3gbfws8q0] {
    transition: background-color .15s ease;
}

.alerts-table tbody tr:hover[b-y3gbfws8q0] {
    background: #f8fbff;
}

.alerts-table tbody tr:last-child td[b-y3gbfws8q0] {
    border-bottom: 0;
}

.col-level[b-y3gbfws8q0] {
    width: 105px;
}

.col-type[b-y3gbfws8q0] {
    width: 145px;
}

.col-title[b-y3gbfws8q0] {
    width: 190px;
}

.col-message[b-y3gbfws8q0] {
    width: 330px;
}

.col-status[b-y3gbfws8q0] {
    width: 120px;
}

.col-date[b-y3gbfws8q0] {
    width: 125px;
}

.col-actions[b-y3gbfws8q0] {
    width: 110px;
}

.alerts-level[b-y3gbfws8q0],
.alerts-read-status[b-y3gbfws8q0] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.alerts-level-dot[b-y3gbfws8q0] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .75);
}

.alerts-level--danger[b-y3gbfws8q0] {
    background: #fee2e2;
    color: #b91c1c;
}

.alerts-level--warning[b-y3gbfws8q0] {
    background: #fef3c7;
    color: #a16207;
}

.alerts-level--info[b-y3gbfws8q0] {
    background: #dbeafe;
    color: #1d4ed8;
}

.alerts-type[b-y3gbfws8q0] {
    color: #475569;
    font-weight: 800;
}

.alerts-title[b-y3gbfws8q0] {
    display: block;
    overflow: hidden;
    color: #0f172a;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.alerts-message[b-y3gbfws8q0] {
    display: -webkit-box;
    overflow: hidden;
    color: #64748b;
    line-height: 1.75;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.alerts-read-status--new[b-y3gbfws8q0] {
    background: #ede9fe;
    color: #6d28d9;
}

.alerts-read-status--read[b-y3gbfws8q0] {
    background: #dcfce7;
    color: #15803d;
}

.alerts-date[b-y3gbfws8q0] {
    display: grid;
    gap: 3px;
    color: #334155;
    font-weight: 850;
    white-space: nowrap;
}

.alerts-date small[b-y3gbfws8q0] {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
}

.alerts-read-btn[b-y3gbfws8q0] {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    background: #ecfdf5;
    color: #047857;
    box-shadow: inset 0 0 0 1px #a7f3d0;
    white-space: nowrap;
}

.alerts-no-action[b-y3gbfws8q0] {
    color: #cbd5e1;
    font-weight: 900;
}

.alerts-loading[b-y3gbfws8q0],
.alerts-empty[b-y3gbfws8q0] {
    display: grid;
    place-items: center;
    min-height: 260px;
    padding: 36px 20px;
    text-align: center;
}

.alerts-loading[b-y3gbfws8q0] {
    gap: 8px;
    background: #fff;
    border: 1px solid #dfe7f0;
    border-radius: 24px;
    box-shadow: 0 16px 45px rgba(15, 23, 42, .08);
}

.alerts-spinner[b-y3gbfws8q0] {
    width: 42px;
    height: 42px;
    margin-bottom: 8px;
    border: 4px solid #dbeafe;
    border-top-color: var(--erp-primary, #2563eb);
    border-radius: 50%;
    animation: alerts-spin-b-y3gbfws8q0 .8s linear infinite;
}

.alerts-loading strong[b-y3gbfws8q0],
.alerts-empty h3[b-y3gbfws8q0] {
    color: #0f172a;
    font-weight: 950;
}

.alerts-loading small[b-y3gbfws8q0],
.alerts-empty p[b-y3gbfws8q0] {
    color: #64748b;
    font-weight: 650;
}

.alerts-empty__icon[b-y3gbfws8q0] {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    margin-bottom: 4px;
    border-radius: 22px;
    background: #dcfce7;
    color: #16a34a;
    font-size: 34px;
    font-weight: 950;
}

.alerts-empty h3[b-y3gbfws8q0] {
    margin: 6px 0 0;
    font-size: 20px;
}

.alerts-empty p[b-y3gbfws8q0] {
    max-width: 560px;
    margin: 0;
    line-height: 1.9;
}

.alerts-empty button[b-y3gbfws8q0] {
    min-height: 42px;
    margin-top: 10px;
    padding: 0 18px;
    border-radius: 12px;
    background: #eff6ff;
    color: #1d4ed8;
}

.alerts-state[b-y3gbfws8q0] {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 18px;
    padding: 15px 17px;
    border-radius: 16px;
}

.alerts-state--error[b-y3gbfws8q0] {
    background: #fff1f2;
    color: #9f1239;
    border: 1px solid #fecdd3;
}

.alerts-state__icon[b-y3gbfws8q0] {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #ffe4e6;
    font-size: 20px;
    font-weight: 950;
}

.alerts-state strong[b-y3gbfws8q0],
.alerts-state span[b-y3gbfws8q0] {
    display: block;
}

.alerts-state span[b-y3gbfws8q0] {
    margin-top: 3px;
    color: #be123c;
    font-size: 12px;
    font-weight: 650;
}

.alerts-state button[b-y3gbfws8q0] {
    margin-inline-start: auto;
    min-height: 36px;
    padding: 0 13px;
    border-radius: 10px;
    background: #be123c;
    color: #fff;
}

@keyframes alerts-spin-b-y3gbfws8q0 {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1100px) {
    .alerts-kpi-grid[b-y3gbfws8q0] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .alerts-hero[b-y3gbfws8q0] {
        align-items: stretch;
        flex-direction: column;
    }

    .alerts-actions[b-y3gbfws8q0] {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .inventory-alerts-page[b-y3gbfws8q0] {
        padding: 16px;
    }

    .alerts-hero[b-y3gbfws8q0] {
        padding: 20px;
        border-radius: 20px;
    }

    .alerts-hero__content[b-y3gbfws8q0] {
        align-items: flex-start;
    }

    .alerts-hero__icon[b-y3gbfws8q0] {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
        border-radius: 16px;
        font-size: 24px;
    }

    .alerts-actions[b-y3gbfws8q0] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .alerts-filter[b-y3gbfws8q0] {
        min-width: 0;
    }

    .alerts-kpi-grid[b-y3gbfws8q0] {
        grid-template-columns: 1fr;
    }

    .alerts-panel__header[b-y3gbfws8q0] {
        align-items: flex-start;
    }

    .alerts-table[b-y3gbfws8q0],
    .alerts-table tbody[b-y3gbfws8q0],
    .alerts-table tr[b-y3gbfws8q0],
    .alerts-table td[b-y3gbfws8q0] {
        display: block;
        width: 100%;
    }

    .alerts-table[b-y3gbfws8q0] {
        min-width: 0;
    }

    .alerts-table thead[b-y3gbfws8q0] {
        display: none;
    }

    .alerts-table tbody[b-y3gbfws8q0] {
        padding: 12px;
    }

    .alerts-table tbody tr[b-y3gbfws8q0] {
        margin-bottom: 12px;
        padding: 10px 14px;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        box-shadow: 0 7px 18px rgba(15, 23, 42, .05);
    }

    .alerts-table tbody tr:last-child[b-y3gbfws8q0] {
        margin-bottom: 0;
    }

    .alerts-table td[b-y3gbfws8q0] {
        display: grid;
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 12px;
        padding: 10px 0;
        border-bottom: 1px dashed #e2e8f0;
        text-align: right;
    }

    .alerts-table td:last-child[b-y3gbfws8q0] {
        border-bottom: 0;
    }

    .alerts-table td[b-y3gbfws8q0]::before {
        content: attr(data-label);
        color: #94a3b8;
        font-size: 11px;
        font-weight: 900;
    }

    .alerts-title[b-y3gbfws8q0] {
        white-space: normal;
    }

    .alerts-state[b-y3gbfws8q0] {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .alerts-state button[b-y3gbfws8q0] {
        width: 100%;
        margin-inline-start: 0;
    }
}
/* /Components/Pages/Inventory/InventoryAnalytics.razor.rz.scp.css */
.inventory-analytics-page[b-zidgrif299] {
    padding: 24px;
    color: var(--erp-text, inherit);
}

.analytics-header[b-zidgrif299] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.analytics-header h3[b-zidgrif299],
.analytics-card h5[b-zidgrif299] {
    margin: 0;
    font-weight: 900;
    color: var(--erp-text, inherit);
}

.analytics-header p[b-zidgrif299],
.analytics-kpi-card span[b-zidgrif299] {
    margin: 6px 0 0;
    color: var(--erp-muted-text, #64748b);
}

.analytics-actions[b-zidgrif299] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.analytics-actions input[b-zidgrif299] {
    width: 120px;
}

.analytics-kpi-grid[b-zidgrif299] {
    display: grid;
    grid-template-columns: repeat(6, minmax(140px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.analytics-kpi-card[b-zidgrif299],
.analytics-card[b-zidgrif299] {
    background: var(--erp-card-bg, var(--erp-surface, #fff));
    color: var(--erp-text, inherit);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
}

.analytics-kpi-card span[b-zidgrif299] {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}

.analytics-kpi-card strong[b-zidgrif299] {
    display: block;
    font-size: 24px;
    font-weight: 900;
}

.analytics-kpi-card.danger strong[b-zidgrif299] { color: #b91c1c; }
.analytics-kpi-card.warning strong[b-zidgrif299] { color: #b45309; }
.analytics-kpi-card.success strong[b-zidgrif299] { color: #047857; }

.analytics-table th[b-zidgrif299] {
    background: var(--erp-primary, #111827);
    color: var(--erp-on-brand, #fff);
    white-space: nowrap;
}

.analytics-table td[b-zidgrif299] {
    vertical-align: middle;
    white-space: nowrap;
    color: var(--erp-text, inherit);
}

@media(max-width: 1200px) {
    .analytics-kpi-grid[b-zidgrif299] { grid-template-columns: repeat(3, 1fr); }
}

@media(max-width: 768px) {
    .inventory-analytics-page[b-zidgrif299] { padding: 16px; }
    .analytics-header[b-zidgrif299] { flex-direction: column; }
    .analytics-actions[b-zidgrif299] { width: 100%; }
    .analytics-kpi-grid[b-zidgrif299] { grid-template-columns: 1fr; }
}
/* /Components/Pages/Inventory/InventoryAuditDashboard.razor.rz.scp.css */
.inventory-audit-page[b-pso94lxvkc] {
    padding: 24px;
    color: var(--erp-final-text, inherit);
}

.audit-header[b-pso94lxvkc] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.audit-header h3[b-pso94lxvkc] {
    margin: 0;
    font-weight: 900;
}

.audit-header p[b-pso94lxvkc] {
    margin: 6px 0 0;
    color: var(--erp-muted-text, #64748b);
}

.audit-actions[b-pso94lxvkc] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.audit-actions input[b-pso94lxvkc] {
    width: 155px;
}

.audit-kpi-grid[b-pso94lxvkc] {
    display: grid;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.audit-kpi-card[b-pso94lxvkc],
.audit-card[b-pso94lxvkc] {
    background: var(--erp-final-bg, #fff);
    color: var(--erp-final-text, inherit);
    border-radius: 18px;
    padding: 16px;
    border: 1px solid var(--erp-final-border, transparent);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
}

.audit-kpi-card span[b-pso94lxvkc] {
    display: block;
    color: var(--erp-muted-text, #64748b);
    font-weight: 700;
    margin-bottom: 8px;
}

.audit-kpi-card strong[b-pso94lxvkc] {
    display: block;
    font-size: 24px;
    font-weight: 900;
}

.audit-kpi-card.success strong[b-pso94lxvkc] {
    color: #047857;
}

.audit-kpi-card.warning strong[b-pso94lxvkc] {
    color: #b45309;
}

.audit-kpi-card.danger strong[b-pso94lxvkc] {
    color: #b91c1c;
}

.audit-layout[b-pso94lxvkc] {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 18px;
}

.audit-card h5[b-pso94lxvkc] {
    margin: 0 0 14px;
    font-weight: 900;
}

.audit-table th[b-pso94lxvkc] {
    background: var(--erp-primary, #111827);
    color: var(--erp-on-brand, #fff);
    white-space: nowrap;
}

.audit-table td[b-pso94lxvkc] {
    vertical-align: middle;
    white-space: nowrap;
}

@media(max-width: 1200px) {
    .audit-kpi-grid[b-pso94lxvkc] {
        grid-template-columns: repeat(3, 1fr);
    }

    .audit-layout[b-pso94lxvkc] {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 768px) {
    .inventory-audit-page[b-pso94lxvkc] {
        padding: 16px;
    }

    .audit-header[b-pso94lxvkc] {
        flex-direction: column;
    }

    .audit-actions[b-pso94lxvkc] {
        width: 100%;
        flex-wrap: wrap;
    }

    .audit-kpi-grid[b-pso94lxvkc] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Inventory/InventoryAutoPurchasePlanning.razor.rz.scp.css */
.auto-purchase-page[b-ykyzfbc3v6] {
    padding: 24px;
}

.auto-purchase-header[b-ykyzfbc3v6] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.auto-purchase-header h3[b-ykyzfbc3v6] {
    margin: 0;
    font-weight: 900;
}

.auto-purchase-header p[b-ykyzfbc3v6] {
    margin: 6px 0 0;
    color: #64748b;
}

.auto-purchase-actions[b-ykyzfbc3v6] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.auto-purchase-actions input[b-ykyzfbc3v6] {
    width: 130px;
}

.auto-purchase-kpi-grid[b-ykyzfbc3v6] {
    display: grid;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.auto-purchase-kpi-card[b-ykyzfbc3v6],
.auto-purchase-card[b-ykyzfbc3v6] {
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
}

.auto-purchase-kpi-card span[b-ykyzfbc3v6] {
    display: block;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 8px;
}

.auto-purchase-kpi-card strong[b-ykyzfbc3v6] {
    display: block;
    font-size: 24px;
    font-weight: 900;
}

.auto-purchase-kpi-card.danger strong[b-ykyzfbc3v6] {
    color: #b91c1c;
}

.auto-purchase-kpi-card.warning strong[b-ykyzfbc3v6] {
    color: #b45309;
}

.auto-purchase-kpi-card.success strong[b-ykyzfbc3v6] {
    color: #047857;
}

.auto-purchase-card h5[b-ykyzfbc3v6] {
    margin: 0 0 14px;
    font-weight: 900;
}

.auto-purchase-table th[b-ykyzfbc3v6] {
    background: #111827;
    color: #fff;
    white-space: nowrap;
}

.auto-purchase-table td[b-ykyzfbc3v6] {
    vertical-align: middle;
    white-space: nowrap;
}

@media(max-width: 1200px) {
    .auto-purchase-kpi-grid[b-ykyzfbc3v6] {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width: 768px) {
    .auto-purchase-page[b-ykyzfbc3v6] {
        padding: 16px;
    }

    .auto-purchase-header[b-ykyzfbc3v6] {
        flex-direction: column;
    }

    .auto-purchase-actions[b-ykyzfbc3v6] {
        width: 100%;
    }

    .auto-purchase-kpi-grid[b-ykyzfbc3v6] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Inventory/InventoryAutoReorderEngine.razor.rz.scp.css */
.auto-reorder-page[b-rmmo0je83c] {
    padding: 24px;
}

.auto-reorder-header[b-rmmo0je83c] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.auto-reorder-header h3[b-rmmo0je83c] {
    margin: 0;
    font-weight: 900;
}

.auto-reorder-header p[b-rmmo0je83c] {
    margin: 6px 0 0;
    color: #64748b;
}

.auto-reorder-actions[b-rmmo0je83c] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.auto-reorder-actions input[b-rmmo0je83c] {
    width: 120px;
}

.auto-reorder-kpi-grid[b-rmmo0je83c] {
    display: grid;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.auto-reorder-kpi-card[b-rmmo0je83c],
.auto-reorder-card[b-rmmo0je83c] {
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
}

.auto-reorder-kpi-card span[b-rmmo0je83c] {
    display: block;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 8px;
}

.auto-reorder-kpi-card strong[b-rmmo0je83c] {
    display: block;
    font-size: 24px;
    font-weight: 900;
}

.auto-reorder-kpi-card.danger strong[b-rmmo0je83c] {
    color: #b91c1c;
}

.auto-reorder-kpi-card.warning strong[b-rmmo0je83c] {
    color: #b45309;
}

.auto-reorder-kpi-card.success strong[b-rmmo0je83c] {
    color: #047857;
}

.auto-reorder-card h5[b-rmmo0je83c] {
    margin: 0 0 14px;
    font-weight: 900;
}

.auto-reorder-table th[b-rmmo0je83c] {
    background: #111827;
    color: #fff;
    white-space: nowrap;
}

.auto-reorder-table td[b-rmmo0je83c] {
    vertical-align: middle;
    white-space: nowrap;
}

@media(max-width: 1200px) {
    .auto-reorder-kpi-grid[b-rmmo0je83c] {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width: 768px) {
    .auto-reorder-page[b-rmmo0je83c] {
        padding: 16px;
    }

    .auto-reorder-header[b-rmmo0je83c] {
        flex-direction: column;
    }

    .auto-reorder-actions[b-rmmo0je83c] {
        width: 100%;
        flex-wrap: wrap;
    }

    .auto-reorder-kpi-grid[b-rmmo0je83c] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Inventory/InventoryCost.razor.rz.scp.css */
.toolbar[b-dsyqq3lvc8]{margin:20px 0}.btn[b-dsyqq3lvc8]{padding:8px 16px}.alert[b-dsyqq3lvc8]{margin-top:20px;padding:12px;border-radius:6px;background:#d1fae5}
/* /Components/Pages/Inventory/InventoryCounting.razor.rz.scp.css */
.table[b-s50e255298]{width:100%;border-collapse:collapse}th[b-s50e255298],td[b-s50e255298]{border:1px solid #ddd;padding:8px}th[b-s50e255298]{background:#f5f5f5}
/* /Components/Pages/Inventory/InventoryDeadStock.razor.rz.scp.css */
.inventory-dead-stock-page[b-bulezeda6l] {
    padding: 24px;
}

.dead-stock-header[b-bulezeda6l] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.dead-stock-header h3[b-bulezeda6l] {
    margin: 0;
    font-weight: 900;
}

.dead-stock-header p[b-bulezeda6l] {
    margin: 6px 0 0;
    color: #64748b;
}

.dead-stock-actions[b-bulezeda6l] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dead-stock-actions input[b-bulezeda6l] {
    width: 130px;
}

.dead-stock-kpi-grid[b-bulezeda6l] {
    display: grid;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.dead-stock-kpi-card[b-bulezeda6l],
.dead-stock-card[b-bulezeda6l] {
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
}

.dead-stock-kpi-card span[b-bulezeda6l] {
    display: block;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 8px;
}

.dead-stock-kpi-card strong[b-bulezeda6l] {
    display: block;
    font-size: 24px;
    font-weight: 900;
}

.dead-stock-kpi-card.danger strong[b-bulezeda6l] {
    color: #b91c1c;
}

.dead-stock-kpi-card.warning strong[b-bulezeda6l] {
    color: #b45309;
}

.dead-stock-card h5[b-bulezeda6l] {
    margin: 0 0 14px;
    font-weight: 900;
}

.dead-stock-table th[b-bulezeda6l] {
    background: #111827;
    color: #fff;
    white-space: nowrap;
}

.dead-stock-table td[b-bulezeda6l] {
    vertical-align: middle;
    white-space: nowrap;
}

@media(max-width: 1200px) {
    .dead-stock-kpi-grid[b-bulezeda6l] {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width: 768px) {
    .inventory-dead-stock-page[b-bulezeda6l] {
        padding: 16px;
    }

    .dead-stock-header[b-bulezeda6l] {
        flex-direction: column;
    }

    .dead-stock-actions[b-bulezeda6l] {
        width: 100%;
    }

    .dead-stock-kpi-grid[b-bulezeda6l] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Inventory/InventoryFastMoving.razor.rz.scp.css */
.inventory-fast-moving-page[b-4m0zom1p33] {
    padding: 24px;
}

.fast-moving-header[b-4m0zom1p33] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.fast-moving-header h3[b-4m0zom1p33] {
    margin: 0;
    font-weight: 900;
}

.fast-moving-header p[b-4m0zom1p33] {
    margin: 6px 0 0;
    color: #64748b;
}

.fast-moving-actions[b-4m0zom1p33] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.fast-moving-actions input[b-4m0zom1p33] {
    width: 120px;
}

.fast-moving-kpi-grid[b-4m0zom1p33] {
    display: grid;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.fast-moving-kpi-card[b-4m0zom1p33],
.fast-moving-card[b-4m0zom1p33] {
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
}

.fast-moving-kpi-card span[b-4m0zom1p33] {
    display: block;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 8px;
}

.fast-moving-kpi-card strong[b-4m0zom1p33] {
    display: block;
    font-size: 24px;
    font-weight: 900;
}

.fast-moving-kpi-card.success strong[b-4m0zom1p33] {
    color: #047857;
}

.fast-moving-kpi-card.warning strong[b-4m0zom1p33] {
    color: #b45309;
}

.fast-moving-kpi-card.danger strong[b-4m0zom1p33] {
    color: #b91c1c;
}

.fast-moving-card h5[b-4m0zom1p33] {
    margin: 0 0 14px;
    font-weight: 900;
}

.fast-moving-table th[b-4m0zom1p33] {
    background: #111827;
    color: #fff;
    white-space: nowrap;
}

.fast-moving-table td[b-4m0zom1p33] {
    vertical-align: middle;
    white-space: nowrap;
}

@media(max-width: 1200px) {
    .fast-moving-kpi-grid[b-4m0zom1p33] {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width: 768px) {
    .inventory-fast-moving-page[b-4m0zom1p33] {
        padding: 16px;
    }

    .fast-moving-header[b-4m0zom1p33] {
        flex-direction: column;
    }

    .fast-moving-actions[b-4m0zom1p33] {
        width: 100%;
        flex-wrap: wrap;
    }

    .fast-moving-kpi-grid[b-4m0zom1p33] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Inventory/InventoryForecast.razor.rz.scp.css */
.inventory-forecast-page[b-cqyd6g69pa] {
    padding: 24px;
}

.forecast-header[b-cqyd6g69pa] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.forecast-header h3[b-cqyd6g69pa] {
    margin: 0;
    font-weight: 900;
}

.forecast-header p[b-cqyd6g69pa] {
    margin: 6px 0 0;
    color: #64748b;
}

.forecast-actions[b-cqyd6g69pa] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.forecast-filter-card[b-cqyd6g69pa],
.forecast-table-card[b-cqyd6g69pa],
.forecast-summary-card[b-cqyd6g69pa] {
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(15,23,42,.08);
}

.forecast-filter-card[b-cqyd6g69pa] {
    margin-bottom: 16px;
}

.forecast-summary-grid[b-cqyd6g69pa] {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.forecast-summary-card[b-cqyd6g69pa] {
    text-align: center;
}

.forecast-summary-card strong[b-cqyd6g69pa] {
    display: block;
    font-size: 24px;
    font-weight: 900;
}

.forecast-summary-card span[b-cqyd6g69pa] {
    color: #64748b;
    font-weight: 700;
}

.forecast-summary-card.warning strong[b-cqyd6g69pa] {
    color: #b45309;
}

.forecast-summary-card.danger strong[b-cqyd6g69pa] {
    color: #b91c1c;
}

.forecast-table-card th[b-cqyd6g69pa] {
    background: #1f2937;
    color: #fff;
    white-space: nowrap;
}

.forecast-table-card td[b-cqyd6g69pa] {
    white-space: nowrap;
}

@media(max-width: 992px) {
    .forecast-summary-grid[b-cqyd6g69pa] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 768px) {
    .inventory-forecast-page[b-cqyd6g69pa] {
        padding: 16px;
    }

    .forecast-header[b-cqyd6g69pa] {
        flex-direction: column;
    }

    .forecast-summary-grid[b-cqyd6g69pa] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Inventory/InventoryKpiDashboard.razor.rz.scp.css */
h3[b-nlm4twcfom]{font-weight:700}
/* /Components/Pages/Inventory/InventoryNotifications.razor.rz.scp.css */
.inventory-notifications-page[b-lzmdphri89] {
    padding: 24px;
}

.notification-header[b-lzmdphri89] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.notification-header h3[b-lzmdphri89] {
    margin: 0;
    font-weight: 900;
}

.notification-header p[b-lzmdphri89] {
    margin: 6px 0 0;
    color: #64748b;
}

.notification-kpi-grid[b-lzmdphri89] {
    display: grid;
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.notification-kpi-card[b-lzmdphri89],
.notification-card[b-lzmdphri89] {
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
}

.notification-kpi-card span[b-lzmdphri89] {
    display: block;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 8px;
}

.notification-kpi-card strong[b-lzmdphri89] {
    display: block;
    font-size: 24px;
    font-weight: 900;
}

.notification-kpi-card.danger strong[b-lzmdphri89] {
    color: #b91c1c;
}

.notification-kpi-card.warning strong[b-lzmdphri89] {
    color: #b45309;
}

.notification-card h5[b-lzmdphri89] {
    margin: 0 0 14px;
    font-weight: 900;
}

.notification-table th[b-lzmdphri89] {
    background: #111827;
    color: #fff;
    white-space: nowrap;
}

.notification-table td[b-lzmdphri89] {
    vertical-align: middle;
    white-space: nowrap;
}

@media(max-width: 992px) {
    .notification-kpi-grid[b-lzmdphri89] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 768px) {
    .inventory-notifications-page[b-lzmdphri89] {
        padding: 16px;
    }

    .notification-header[b-lzmdphri89] {
        flex-direction: column;
    }

    .notification-kpi-grid[b-lzmdphri89] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Inventory/InventoryReorder.razor.rz.scp.css */
.inventory-reorder-page[b-hwmb59crjy] {
    padding: 24px;
}

.reorder-header[b-hwmb59crjy] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.reorder-header h3[b-hwmb59crjy] {
    margin: 0;
    font-weight: 900;
}

.reorder-header p[b-hwmb59crjy] {
    margin: 6px 0 0;
    color: #64748b;
}

.reorder-actions[b-hwmb59crjy],
.editor-actions[b-hwmb59crjy] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.reorder-editor[b-hwmb59crjy],
.reorder-panel[b-hwmb59crjy] {
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.reorder-editor h5[b-hwmb59crjy] {
    font-weight: 900;
    margin-bottom: 14px;
}

.reorder-check[b-hwmb59crjy] {
    padding-top: 34px;
}

.editor-actions[b-hwmb59crjy] {
    margin-top: 16px;
}

.reorder-grid[b-hwmb59crjy] {
    display: grid;
    gap: 16px;
}

.panel-title[b-hwmb59crjy] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.panel-title h5[b-hwmb59crjy] {
    margin: 0;
    font-weight: 900;
}

.panel-title span[b-hwmb59crjy],
.empty-text[b-hwmb59crjy] {
    color: #64748b;
}

.reorder-panel th[b-hwmb59crjy] {
    background: #1f2937;
    color: #fff;
    white-space: nowrap;
}

.reorder-panel td[b-hwmb59crjy] {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .inventory-reorder-page[b-hwmb59crjy] {
        padding: 16px;
    }

    .reorder-header[b-hwmb59crjy],
    .panel-title[b-hwmb59crjy] {
        flex-direction: column;
        align-items: stretch;
    }
}
/* /Components/Pages/Inventory/InventoryReturnsReport.razor.rz.scp.css */
.inventory-return-report[b-o3wcmr2p78] {
    min-height: 100vh;
    padding: 24px;
    direction: rtl;
    color: #172033;
    background: #f4f7fb;
}

.report-header[b-o3wcmr2p78] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    padding: 22px;
    border: 1px solid #dbe3ef;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .06);
}

.report-header h1[b-o3wcmr2p78] {
    margin: 5px 0 7px;
    font-size: 25px;
    font-weight: 1000;
}

.report-header p[b-o3wcmr2p78] {
    margin: 0;
    color: #64748b;
    font-weight: 700;
}

.eyebrow[b-o3wcmr2p78] {
    color: #2563eb;
    font-size: 12px;
    font-weight: 1000;
}

.header-actions[b-o3wcmr2p78] {
    display: flex;
    gap: 8px;
}

.report-btn[b-o3wcmr2p78] {
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: #1d4ed8;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.report-btn.secondary[b-o3wcmr2p78] {
    color: #334155;
    border: 1px solid #cbd5e1;
    background: #fff;
}

.summary-grid[b-o3wcmr2p78] {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.summary-grid article[b-o3wcmr2p78] {
    min-height: 94px;
    padding: 15px;
    display: grid;
    align-content: center;
    gap: 8px;
    border: 1px solid #dbe3ef;
    border-radius: 16px;
    background: #fff;
}

.summary-grid span[b-o3wcmr2p78] {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.summary-grid strong[b-o3wcmr2p78] {
    font-size: 21px;
    font-weight: 1000;
}

.summary-grid .success[b-o3wcmr2p78] { border-color: #86efac; }
.summary-grid .repair[b-o3wcmr2p78] { border-color: #93c5fd; }
.summary-grid .danger[b-o3wcmr2p78] { border-color: #fca5a5; }
.summary-grid .warning[b-o3wcmr2p78] { border-color: #fcd34d; }

.filters[b-o3wcmr2p78] {
    margin-bottom: 14px;
    padding: 13px;
    display: grid;
    grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(170px, .6fr));
    gap: 9px;
    border: 1px solid #dbe3ef;
    border-radius: 16px;
    background: #fff;
}

.filters input[b-o3wcmr2p78],
.filters select[b-o3wcmr2p78] {
    min-height: 43px;
    padding: 0 12px;
    border: 1px solid #cbd5e1;
    border-radius: 11px;
    color: #172033;
    background: #fff;
    font: inherit;
    font-weight: 750;
    outline: none;
}

.table-shell[b-o3wcmr2p78] {
    overflow: auto;
    border: 1px solid #dbe3ef;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .05);
}

table[b-o3wcmr2p78] {
    width: 100%;
    min-width: 1250px;
    border-collapse: collapse;
}

th[b-o3wcmr2p78],
td[b-o3wcmr2p78] {
    padding: 12px 10px;
    border-bottom: 1px solid #e7edf5;
    text-align: right;
    vertical-align: middle;
    font-size: 12px;
    font-weight: 750;
}

th[b-o3wcmr2p78] {
    position: sticky;
    top: 0;
    z-index: 2;
    color: #334155;
    background: #f8fafc;
    font-weight: 1000;
}

.product-cell[b-o3wcmr2p78] {
    min-width: 170px;
    display: grid;
    gap: 3px;
}

.product-cell span[b-o3wcmr2p78] {
    color: #64748b;
    font-size: 10px;
}

.status-badge[b-o3wcmr2p78],
.stock-effect[b-o3wcmr2p78] {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 1000;
    white-space: nowrap;
}

.status-badge.restock[b-o3wcmr2p78],
.stock-effect.added[b-o3wcmr2p78] {
    color: #166534;
    background: #dcfce7;
}

.status-badge.repair[b-o3wcmr2p78] {
    color: #1d4ed8;
    background: #dbeafe;
}

.status-badge.scrap[b-o3wcmr2p78] {
    color: #991b1b;
    background: #fee2e2;
}

.status-badge.supplier[b-o3wcmr2p78] {
    color: #92400e;
    background: #fef3c7;
}

.status-badge.quarantine[b-o3wcmr2p78],
.stock-effect.not-added[b-o3wcmr2p78] {
    color: #475569;
    background: #e2e8f0;
}

.report-message[b-o3wcmr2p78] {
    margin: 15px 0;
    padding: 16px;
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    color: #1e40af;
    background: #eff6ff;
    font-weight: 850;
}

.report-message.error[b-o3wcmr2p78] {
    color: #991b1b;
    border-color: #fecaca;
    background: #fef2f2;
}

@media (max-width: 1200px) {
    .summary-grid[b-o3wcmr2p78] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .filters[b-o3wcmr2p78] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .inventory-return-report[b-o3wcmr2p78] {
        padding: 12px;
    }

    .report-header[b-o3wcmr2p78] {
        align-items: stretch;
        flex-direction: column;
    }

    .header-actions[b-o3wcmr2p78] {
        width: 100%;
    }

    .report-btn[b-o3wcmr2p78] {
        flex: 1;
    }

    .summary-grid[b-o3wcmr2p78],
    .filters[b-o3wcmr2p78] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Inventory/InventorySlowMoving.razor.rz.scp.css */
.inventory-slow-moving-page[b-2032lueecs] {
    padding: 24px;
}

.slow-moving-header[b-2032lueecs] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.slow-moving-header h3[b-2032lueecs] {
    margin: 0;
    font-weight: 900;
}

.slow-moving-header p[b-2032lueecs] {
    margin: 6px 0 0;
    color: #64748b;
}

.slow-moving-actions[b-2032lueecs] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.slow-moving-actions input[b-2032lueecs] {
    width: 120px;
}

.slow-moving-kpi-grid[b-2032lueecs] {
    display: grid;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.slow-moving-kpi-card[b-2032lueecs],
.slow-moving-card[b-2032lueecs] {
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
}

.slow-moving-kpi-card span[b-2032lueecs] {
    display: block;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 8px;
}

.slow-moving-kpi-card strong[b-2032lueecs] {
    display: block;
    font-size: 24px;
    font-weight: 900;
}

.slow-moving-kpi-card.warning strong[b-2032lueecs] {
    color: #b45309;
}

.slow-moving-kpi-card.danger strong[b-2032lueecs] {
    color: #b91c1c;
}

.slow-moving-card h5[b-2032lueecs] {
    margin: 0 0 14px;
    font-weight: 900;
}

.slow-moving-table th[b-2032lueecs] {
    background: #111827;
    color: #fff;
    white-space: nowrap;
}

.slow-moving-table td[b-2032lueecs] {
    vertical-align: middle;
    white-space: nowrap;
}

@media(max-width: 1200px) {
    .slow-moving-kpi-grid[b-2032lueecs] {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width: 768px) {
    .inventory-slow-moving-page[b-2032lueecs] {
        padding: 16px;
    }

    .slow-moving-header[b-2032lueecs] {
        flex-direction: column;
    }

    .slow-moving-actions[b-2032lueecs] {
        width: 100%;
        flex-wrap: wrap;
    }

    .slow-moving-kpi-grid[b-2032lueecs] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Inventory/InventoryTransferRequest.razor.rz.scp.css */
.table[b-s7erx04h80]{width:100%;border-collapse:collapse}th[b-s7erx04h80],td[b-s7erx04h80]{border:1px solid #ddd;padding:8px}th[b-s7erx04h80]{background:#eef2f7}
/* /Components/Pages/Inventory/InventoryValuation.razor.rz.scp.css */
.table[b-b9lngizri6]{width:100%;border-collapse:collapse}th[b-b9lngizri6],td[b-b9lngizri6]{border:1px solid #ddd;padding:8px}th[b-b9lngizri6]{background:#f3f4f6}
/* /Components/Pages/Inventory/InventoryXyzAnalysis.razor.rz.scp.css */
.inventory-xyz-page[b-1k046sgg54] {
    padding: 24px;
}

.xyz-header[b-1k046sgg54] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.xyz-header h3[b-1k046sgg54] {
    margin: 0;
    font-weight: 900;
}

.xyz-header p[b-1k046sgg54] {
    margin: 6px 0 0;
    color: #64748b;
}

.xyz-actions[b-1k046sgg54] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.xyz-actions input[b-1k046sgg54] {
    width: 110px;
}

.xyz-kpi-grid[b-1k046sgg54] {
    display: grid;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.xyz-kpi-card[b-1k046sgg54],
.xyz-card[b-1k046sgg54] {
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
}

.xyz-kpi-card span[b-1k046sgg54] {
    display: block;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 8px;
}

.xyz-kpi-card strong[b-1k046sgg54] {
    display: block;
    font-size: 24px;
    font-weight: 900;
}

.xyz-kpi-card.success strong[b-1k046sgg54] {
    color: #047857;
}

.xyz-kpi-card.warning strong[b-1k046sgg54] {
    color: #b45309;
}

.xyz-kpi-card.danger strong[b-1k046sgg54] {
    color: #b91c1c;
}

.xyz-card h5[b-1k046sgg54] {
    margin: 0 0 14px;
    font-weight: 900;
}

.xyz-table th[b-1k046sgg54] {
    background: #111827;
    color: #fff;
    white-space: nowrap;
}

.xyz-table td[b-1k046sgg54] {
    vertical-align: middle;
    white-space: nowrap;
}

@media(max-width: 1200px) {
    .xyz-kpi-grid[b-1k046sgg54] {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width: 768px) {
    .inventory-xyz-page[b-1k046sgg54] {
        padding: 16px;
    }

    .xyz-header[b-1k046sgg54] {
        flex-direction: column;
    }

    .xyz-actions[b-1k046sgg54] {
        width: 100%;
        flex-wrap: wrap;
    }

    .xyz-kpi-grid[b-1k046sgg54] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/InvoicePaymentDialog.razor.rz.scp.css */
.invoice-payment-box[b-l8mnrb8quw] {
    width: 100%;
    padding: 30px;
    border: 0;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: none;
    color: #0f172a;
    direction: rtl;
}

.invoice-payment-head[b-l8mnrb8quw] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8eef6;
}

.invoice-payment-head > div[b-l8mnrb8quw] {
    min-width: 0;
}

.invoice-payment-head h3[b-l8mnrb8quw] {
    margin: 0;
    color: #0f172a;
    font-size: 26px;
    line-height: 1.35;
    font-weight: 1000;
    letter-spacing: -.4px;
}

.invoice-payment-head p[b-l8mnrb8quw] {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.9;
    font-weight: 800;
}

.pay-close[b-l8mnrb8quw] {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid #fecaca;
    border-radius: 14px;
    color: #b91c1c;
    background: #fff1f2;
    font-family: inherit;
    font-size: 22px;
    font-weight: 1000;
    line-height: 1;
    cursor: pointer;
    transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}

.pay-close:hover[b-l8mnrb8quw] {
    transform: translateY(-1px);
    background: #ffe4e6;
    box-shadow: 0 8px 20px rgba(190, 24, 93, .12);
}

.pay-message[b-l8mnrb8quw] {
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    color: #1d4ed8;
    background: #eff6ff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.8;
}

.pay-message.error[b-l8mnrb8quw] {
    color: #be123c;
    background: #fff1f2;
    border-color: #fecdd3;
}

.pay-message.success[b-l8mnrb8quw] {
    color: #047857;
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.pay-grid[b-l8mnrb8quw] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 22px;
    align-items: start;
}

.pay-grid > div[b-l8mnrb8quw] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.pay-grid label[b-l8mnrb8quw] {
    margin: 0;
    color: #334155;
    font-size: 13px;
    font-weight: 1000;
}

.pay-grid .form-control[b-l8mnrb8quw],
.pay-grid .form-select[b-l8mnrb8quw] {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 12px 15px;
    border: 1px solid #d7e1ed;
    border-radius: 15px;
    color: #0f172a;
    background: #fbfdff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 850;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .92);
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.pay-grid textarea.form-control[b-l8mnrb8quw] {
    min-height: 92px;
    resize: vertical;
    line-height: 1.9;
}

.pay-grid .form-control:hover[b-l8mnrb8quw],
.pay-grid .form-select:hover[b-l8mnrb8quw] {
    border-color: #b9c8da;
    background: #ffffff;
}

.pay-grid .form-control:focus[b-l8mnrb8quw],
.pay-grid .form-select:focus[b-l8mnrb8quw] {
    border-color: #60a5fa;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
}

.pay-grid .form-control:disabled[b-l8mnrb8quw],
.pay-grid .form-select:disabled[b-l8mnrb8quw] {
    color: #94a3b8;
    background: #f1f5f9;
    cursor: not-allowed;
    opacity: 1;
}

.pay-grid input[type="number"][b-l8mnrb8quw] {
    direction: ltr;
    text-align: left;
}

.pay-actions[b-l8mnrb8quw] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e8eef6;
    flex-wrap: wrap;
}

.pay-btn[b-l8mnrb8quw] {
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid #dbe4f0;
    border-radius: 14px;
    color: #334155;
    background: #ffffff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 1000;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.pay-btn:hover:not(:disabled)[b-l8mnrb8quw] {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.pay-btn:disabled[b-l8mnrb8quw] {
    opacity: .58;
    cursor: not-allowed;
}

.pay-btn.primary[b-l8mnrb8quw] {
    min-width: 122px;
    color: var(--erp-on-brand, #ffffff);
    border: 0;
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    box-shadow: 0 12px 26px rgba(37, 99, 235, .22);
}

.pay-btn.online[b-l8mnrb8quw] {
    min-width: 132px;
    color: #ffffff;
    border: 0;
    background: linear-gradient(135deg, #059669, #0ea5e9);
    box-shadow: 0 12px 26px rgba(5, 150, 105, .18);
}

.pay-btn.terminal[b-l8mnrb8quw] {
    min-width: 178px;
    color: #ffffff;
    border: 0;
    background: linear-gradient(135deg, #0f766e, #0891b2);
    box-shadow: 0 12px 26px rgba(8, 145, 178, .18);
}

.pay-btn:not(.primary):not(.online)[b-l8mnrb8quw] {
    min-width: 92px;
}

@media (max-width: 760px) {
    .invoice-payment-box[b-l8mnrb8quw] {
        padding: 22px;
        border-radius: 22px;
    }

    .invoice-payment-head[b-l8mnrb8quw] {
        margin-bottom: 20px;
        padding-bottom: 16px;
    }

    .invoice-payment-head h3[b-l8mnrb8quw] {
        font-size: 22px;
    }

    .pay-grid[b-l8mnrb8quw] {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pay-actions[b-l8mnrb8quw] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .pay-btn[b-l8mnrb8quw] {
        width: 100%;
    }
}

@media (max-width: 460px) {
    .invoice-payment-box[b-l8mnrb8quw] {
        padding: 18px;
    }

    .invoice-payment-head[b-l8mnrb8quw] {
        gap: 12px;
    }

    .invoice-payment-head h3[b-l8mnrb8quw] {
        font-size: 20px;
    }

    .pay-close[b-l8mnrb8quw] {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        border-radius: 12px;
    }
}


/* Component-local palette keeps receipt/payment dialogs in sync with each user's theme. */
.invoice-payment-box.invoice-payment-dark[b-l8mnrb8quw]{color:#f8fafc!important;background:#0f172a!important}
.invoice-payment-dark .invoice-payment-head[b-l8mnrb8quw]{border-color:#2a394f!important}
.invoice-payment-dark .invoice-payment-head h3[b-l8mnrb8quw]{color:#f8fafc!important}
.invoice-payment-dark .invoice-payment-head p[b-l8mnrb8quw]{color:#a8b3c7!important}
.invoice-payment-dark .pay-grid label[b-l8mnrb8quw]{color:#dbe7f7!important}
.invoice-payment-dark .pay-grid :is(.form-control,.form-select)[b-l8mnrb8quw]{color:#f8fafc!important;border-color:#3a4960!important;background:#111c30!important;box-shadow:none!important}
.invoice-payment-dark .pay-grid :is(.form-control,.form-select):hover[b-l8mnrb8quw]{border-color:#52627a!important;background:#142038!important}
.invoice-payment-dark .pay-grid :is(.form-control,.form-select):focus[b-l8mnrb8quw]{color:#fff!important;border-color:var(--erp-primary,#2563eb)!important;background:#142038!important;box-shadow:0 0 0 4px rgba(var(--erp-primary-rgb,37,99,235),.14)!important}
.invoice-payment-dark .pay-grid :is(.form-control,.form-select):disabled[b-l8mnrb8quw]{color:#94a3b8!important;border-color:#2a394f!important;background:#172033!important}
.invoice-payment-dark .pay-actions[b-l8mnrb8quw]{border-color:#2a394f!important}
.invoice-payment-dark .pay-btn:not(.primary):not(.online):not(.terminal)[b-l8mnrb8quw]{color:#f8fafc!important;border-color:#3a4960!important;background:#172033!important}
.invoice-payment-dark .pay-close[b-l8mnrb8quw]{color:#fecaca!important;border-color:#7f1d1d!important;background:#2b1118!important}
.invoice-payment-dark .pay-message[b-l8mnrb8quw]{color:#bfdbfe!important;border-color:#1e4f8f!important;background:#102747!important}
.invoice-payment-dark .pay-message.error[b-l8mnrb8quw]{color:#fecaca!important;border-color:#7f1d1d!important;background:#2b1118!important}
.invoice-payment-dark .pay-message.success[b-l8mnrb8quw]{color:#a7f3d0!important;border-color:#065f46!important;background:#073b31!important}
/* /Components/Pages/Journal.razor.rz.scp.css */
.journal-page[b-i3em3rlv51] {
    min-height: 100%;
    padding: 28px;
    color: #0f172a;
    font-family: inherit;
}

.journal-page[b-i3em3rlv51],
.journal-page *[b-i3em3rlv51] {
    box-sizing: border-box;
}

.journal-page a[b-i3em3rlv51] {
    text-decoration: none;
}

.journal-hero[b-i3em3rlv51],
.journal-filter-card[b-i3em3rlv51],
.journal-status-card[b-i3em3rlv51],
.journal-summary-card[b-i3em3rlv51],
.journal-list-card[b-i3em3rlv51],
.journal-state[b-i3em3rlv51] {
    border: 1px solid #dbe4f0;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .07);
}

.journal-hero[b-i3em3rlv51] {
    padding: 28px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        radial-gradient(circle at 12% 20%, rgba(99, 102, 241, .16), transparent 30%),
        linear-gradient(135deg, #fff, #f8fbff);
}

.journal-eyebrow[b-i3em3rlv51] {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--erp-primary, #4f46e5);
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: .6px;
}

.journal-hero h1[b-i3em3rlv51] {
    margin: 0;
    font-size: 30px;
    font-weight: 1000;
}

.journal-hero p[b-i3em3rlv51] {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.journal-hero-actions[b-i3em3rlv51] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.journal-btn[b-i3em3rlv51],
.journal-filter-submit[b-i3em3rlv51] {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.journal-btn.primary[b-i3em3rlv51],
.journal-filter-submit[b-i3em3rlv51] {
    color: var(--erp-on-brand, #ffffff);
    border-color: var(--erp-primary, #4f46e5);
    background: linear-gradient(135deg, var(--erp-primary, #4f46e5), var(--erp-accent, #7c3aed));
}

.journal-btn.secondary[b-i3em3rlv51] {
    color: #334155;
    border-color: #cbd5e1;
    background: #fff;
}

.journal-filter-card[b-i3em3rlv51] {
    margin-top: 18px;
    padding: 20px;
    border-radius: 22px;
}

.journal-filter-grid[b-i3em3rlv51] {
    display: grid;
    grid-template-columns: minmax(230px, 1.2fr) minmax(220px, 1fr) repeat(3, minmax(150px, .7fr)) auto;
    gap: 12px;
    align-items: end;
}

.journal-field[b-i3em3rlv51] {
    display: grid;
    gap: 8px;
}

.journal-field span[b-i3em3rlv51] {
    color: #475569;
    font-size: 11px;
    font-weight: 900;
}

.journal-field input[b-i3em3rlv51],
.journal-field select[b-i3em3rlv51] {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #dbe4f0;
    border-radius: 13px;
    outline: none;
    background: #f8fafc;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
}

.journal-validation[b-i3em3rlv51] {
    margin-top: 12px;
    padding: 11px 13px;
    border: 1px solid #fecaca;
    border-radius: 12px;
    color: #b91c1c;
    background: #fef2f2;
    font-size: 11px;
    font-weight: 800;
}

.journal-state[b-i3em3rlv51] {
    margin-top: 18px;
    padding: 48px 24px;
    border-radius: 24px;
    text-align: center;
}

.journal-state.error[b-i3em3rlv51] {
    border-color: #fecaca;
    color: #b91c1c;
    background: #fef2f2;
}

.journal-spinner[b-i3em3rlv51] {
    width: 42px;
    height: 42px;
    margin: 0 auto 14px;
    border: 4px solid #e0e7ff;
    border-top-color: var(--erp-primary, #4f46e5);
    border-radius: 50%;
    animation: spin-b-i3em3rlv51 .8s linear infinite;
}

@keyframes spin-b-i3em3rlv51 {
    to { transform: rotate(360deg); }
}

.journal-status-card[b-i3em3rlv51] {
    margin-top: 18px;
    padding: 20px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.journal-status-card.balanced[b-i3em3rlv51] {
    border-color: #a7f3d0;
    background: linear-gradient(135deg, #fff, #ecfdf5);
}

.journal-status-card.unbalanced[b-i3em3rlv51] {
    border-color: #fecaca;
    background: linear-gradient(135deg, #fff, #fef2f2);
}

.journal-status-icon[b-i3em3rlv51] {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 20px;
    font-weight: 1000;
}

.balanced .journal-status-icon[b-i3em3rlv51] {
    background: linear-gradient(135deg, #059669, #10b981);
}

.unbalanced .journal-status-icon[b-i3em3rlv51] {
    background: linear-gradient(135deg, #dc2626, #f43f5e);
}

.journal-status-card span[b-i3em3rlv51],
.journal-summary-card span[b-i3em3rlv51] {
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
}

.journal-status-card h2[b-i3em3rlv51] {
    margin: 5px 0 0;
    font-size: 17px;
    font-weight: 1000;
}

.journal-status-card p[b-i3em3rlv51] {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.journal-summary-grid[b-i3em3rlv51] {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.journal-summary-card[b-i3em3rlv51] {
    min-height: 120px;
    padding: 18px;
    border-radius: 20px;
}

.journal-summary-card.debit[b-i3em3rlv51] { border-top: 3px solid var(--erp-primary, #2563eb); }
.journal-summary-card.credit[b-i3em3rlv51] { border-top: 3px solid #f59e0b; }
.journal-summary-card.rows[b-i3em3rlv51] { border-top: 3px solid var(--erp-accent, #7c3aed); }

.journal-summary-card strong[b-i3em3rlv51] {
    display: block;
    margin-top: 12px;
    font-size: 21px;
    font-weight: 1000;
}

.journal-summary-card small[b-i3em3rlv51] {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
}

.journal-list-card[b-i3em3rlv51] {
    margin-top: 18px;
    border-radius: 24px;
    overflow: hidden;
}

.journal-list-header[b-i3em3rlv51] {
    padding: 21px 22px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.journal-list-header span[b-i3em3rlv51] {
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
}

.journal-list-header h2[b-i3em3rlv51] {
    margin: 6px 0 0;
    font-size: 18px;
    font-weight: 1000;
}

.journal-count[b-i3em3rlv51] {
    padding: 8px 12px;
    border-radius: 999px;
    color: #4338ca;
    background: #eef2ff;
    font-size: 10px;
    font-weight: 1000;
}

.journal-document[b-i3em3rlv51] {
    margin: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
}

.journal-document-header[b-i3em3rlv51] {
    padding: 15px 17px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    background: #f8fafc;
}

.journal-document-title span[b-i3em3rlv51],
.journal-document-title strong[b-i3em3rlv51] {
    display: block;
}

.journal-document-title span[b-i3em3rlv51] {
    color: #64748b;
    font-size: 9px;
    font-weight: 900;
}

.journal-document-title strong[b-i3em3rlv51] {
    margin-top: 5px;
    color: #4338ca;
    font-size: 14px;
    font-weight: 1000;
}

.journal-document-meta[b-i3em3rlv51] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 900;
}

.source-badge[b-i3em3rlv51],
.posting-badge[b-i3em3rlv51],
.view-link[b-i3em3rlv51] {
    padding: 6px 9px;
    border-radius: 999px;
    white-space: nowrap;
}

.source-badge[b-i3em3rlv51] {
    color: #4338ca;
    background: #eef2ff;
}

.posting-badge.posted[b-i3em3rlv51] {
    color: #047857;
    background: #d1fae5;
}

.posting-badge.draft[b-i3em3rlv51] {
    color: #b45309;
    background: #fef3c7;
}

.view-link[b-i3em3rlv51] {
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    background: #fff;
}

.journal-document-description[b-i3em3rlv51] {
    padding: 13px 17px;
    border-top: 1px solid #edf2f7;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
}

.journal-table-wrap[b-i3em3rlv51] {
    overflow: auto;
}

.journal-table[b-i3em3rlv51] {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
}

.journal-table th[b-i3em3rlv51],
.journal-table td[b-i3em3rlv51] {
    padding: 13px;
    border-top: 1px solid #edf2f7;
    text-align: right;
    font-size: 11px;
}

.journal-table th[b-i3em3rlv51] {
    color: #475569;
    background: #fafbff;
    font-weight: 1000;
}

.journal-table tfoot td[b-i3em3rlv51] {
    background: #f8fafc;
    font-weight: 1000;
}

.row-number[b-i3em3rlv51] {
    color: #94a3b8;
    font-weight: 900;
}

.account-code[b-i3em3rlv51] {
    color: #4338ca;
    font-weight: 1000;
}

.account-name[b-i3em3rlv51] {
    min-width: 190px;
    font-weight: 900;
}

.description-cell[b-i3em3rlv51] {
    min-width: 240px;
    color: #475569;
}

.money[b-i3em3rlv51] {
    direction: ltr;
    text-align: right !important;
    white-space: nowrap;
    font-weight: 1000;
}

.debit-value[b-i3em3rlv51] { color: #1d4ed8; }
.credit-value[b-i3em3rlv51] { color: #b45309; }

.journal-pagination[b-i3em3rlv51] {
    padding: 15px 22px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
}

.journal-pagination label[b-i3em3rlv51],
.journal-pagination > div[b-i3em3rlv51] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.journal-pagination span[b-i3em3rlv51],
.journal-pagination strong[b-i3em3rlv51] {
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
}

.journal-pagination select[b-i3em3rlv51],
.journal-pagination button[b-i3em3rlv51] {
    min-height: 34px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    font: inherit;
}

.journal-pagination select[b-i3em3rlv51] {
    padding: 0 8px;
}

.journal-pagination button[b-i3em3rlv51] {
    width: 34px;
    font-size: 18px;
    cursor: pointer;
}

.journal-pagination button:disabled[b-i3em3rlv51] {
    opacity: .4;
    cursor: not-allowed;
}

.journal-empty[b-i3em3rlv51] {
    padding: 44px 20px;
    text-align: center;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

@media (max-width: 1200px) {
    .journal-filter-grid[b-i3em3rlv51] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-field[b-i3em3rlv51] {
        grid-column: 1 / -1;
    }

    .journal-summary-grid[b-i3em3rlv51] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .journal-page[b-i3em3rlv51] {
        padding: 16px;
    }

    .journal-hero[b-i3em3rlv51],
    .journal-list-header[b-i3em3rlv51],
    .journal-document-header[b-i3em3rlv51],
    .journal-pagination[b-i3em3rlv51] {
        align-items: stretch;
        flex-direction: column;
    }

    .journal-hero-actions[b-i3em3rlv51],
    .journal-filter-grid[b-i3em3rlv51],
    .journal-summary-grid[b-i3em3rlv51] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .journal-btn[b-i3em3rlv51],
    .journal-filter-submit[b-i3em3rlv51] {
        width: 100%;
    }

    .search-field[b-i3em3rlv51] {
        grid-column: auto;
    }
}

@media print {
    .journal-hero-actions[b-i3em3rlv51],
    .journal-filter-card[b-i3em3rlv51],
    .journal-pagination[b-i3em3rlv51],
    .view-link[b-i3em3rlv51] {
        display: none !important;
    }

    .journal-page[b-i3em3rlv51] {
        padding: 0;
    }

    .journal-hero[b-i3em3rlv51],
    .journal-status-card[b-i3em3rlv51],
    .journal-summary-card[b-i3em3rlv51],
    .journal-list-card[b-i3em3rlv51],
    .journal-document[b-i3em3rlv51] {
        box-shadow: none;
    }

    .journal-document[b-i3em3rlv51] {
        break-inside: avoid;
    }
}
/* /Components/Pages/JournalBook.razor.rz.scp.css */
.journal-report-page[b-t9fxghavoi] {
    width: 100%;
    display: grid;
    gap: 16px;
    padding: 26px 28px 34px;
    direction: rtl;
    color: #0f172a;
}

.journal-report-page *[b-t9fxghavoi],
.journal-report-page *[b-t9fxghavoi]::before,
.journal-report-page *[b-t9fxghavoi]::after {
    box-sizing: border-box;
}

.journal-report-page a[b-t9fxghavoi] { text-decoration: none; }

.journal-report-hero[b-t9fxghavoi],
.journal-report-toolbar[b-t9fxghavoi],
.journal-report-filter-card[b-t9fxghavoi],
.journal-report-period[b-t9fxghavoi],
.journal-report-kpis article[b-t9fxghavoi],
.journal-report-insights article[b-t9fxghavoi],
.journal-report-card[b-t9fxghavoi],
.journal-report-state[b-t9fxghavoi] {
    border: 1px solid rgba(148, 163, 184, .2);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 16px 40px rgba(15, 23, 42, .065);
}

.journal-report-hero[b-t9fxghavoi] {
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 28px 34px;
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at 5% 55%, rgba(79, 70, 229, .14), transparent 235px),
        radial-gradient(circle at 96% 5%, rgba(139, 92, 246, .12), transparent 255px),
        linear-gradient(135deg, #fff, #f7f5ff);
}

.journal-report-hero__content[b-t9fxghavoi] { min-width: 0; }

.journal-report-back[b-t9fxghavoi] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 14px;
    color: #475569;
    font-size: 11px;
    font-weight: 900;
}

.journal-report-back:hover[b-t9fxghavoi] { color: var(--erp-primary, #4f46e5); }

.journal-report-eyebrow[b-t9fxghavoi] {
    display: block;
    margin-bottom: 8px;
    color: var(--erp-primary, #4f46e5);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .04em;
}

.journal-report-hero h1[b-t9fxghavoi] {
    margin: 0;
    color: #0f172a;
    font-size: 37px;
    line-height: 1.25;
    font-weight: 1000;
}

.journal-report-hero p[b-t9fxghavoi] {
    max-width: 760px;
    margin: 10px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.9;
    font-weight: 700;
}

.journal-report-hero__icon[b-t9fxghavoi] {
    width: 92px;
    height: 92px;
    flex: 0 0 92px;
    display: grid;
    place-items: center;
    border-radius: 27px;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient(135deg, var(--erp-primary, #4f46e5), var(--erp-accent, #7c3aed));
    box-shadow: 0 20px 38px rgba(79, 70, 229, .23);
}

.journal-report-hero__icon[b-t9fxghavoi]  svg { font-size: 43px; }

.journal-report-toolbar[b-t9fxghavoi] {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border-radius: 22px;
}

.journal-report-toolbar__copy strong[b-t9fxghavoi],
.journal-report-toolbar__copy span[b-t9fxghavoi] { display: block; }

.journal-report-toolbar__copy strong[b-t9fxghavoi] { font-size: 14px; font-weight: 950; }
.journal-report-toolbar__copy span[b-t9fxghavoi] { margin-top: 4px; color: #64748b; font-size: 10px; font-weight: 700; }
.journal-report-toolbar__actions[b-t9fxghavoi] { display: flex; flex-wrap: wrap; gap: 9px; }

.journal-report-btn[b-t9fxghavoi],
.journal-report-clear[b-t9fxghavoi] {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 12px;
    font: inherit;
    font-size: 11.5px;
    font-weight: 900;
    cursor: pointer;
    transition: .16s ease;
}

.journal-report-btn:disabled[b-t9fxghavoi],
.journal-report-clear:disabled[b-t9fxghavoi] { opacity: .5; cursor: not-allowed; }
.journal-report-btn:hover:not(:disabled)[b-t9fxghavoi],
.journal-report-clear:hover:not(:disabled)[b-t9fxghavoi] { transform: translateY(-1px); }

.journal-report-btn.primary[b-t9fxghavoi] {
    color: var(--erp-on-brand, #ffffff);
    border-color: var(--erp-primary, #4f46e5);
    background: linear-gradient(135deg, var(--erp-primary, #4f46e5), var(--erp-accent, #7c3aed));
    box-shadow: 0 9px 20px rgba(79, 70, 229, .18);
}

.journal-report-btn.secondary[b-t9fxghavoi] { color: #334155; border-color: #d7e0eb; background: #fff; }
.journal-report-btn.export[b-t9fxghavoi] { color: #5b21b6; border-color: #ddd6fe; background: #f5f3ff; }

.journal-report-filter-card[b-t9fxghavoi] { padding: 18px; border-radius: 22px; }
.journal-report-filter-grid[b-t9fxghavoi] {
    display: grid;
    grid-template-columns: minmax(260px, 1.5fr) repeat(2, minmax(170px, .75fr)) auto;
    gap: 13px;
    align-items: end;
}

.journal-report-field[b-t9fxghavoi] { display: grid; gap: 7px; }
.journal-report-field > span[b-t9fxghavoi] { color: #475569; font-size: 10.5px; font-weight: 900; }
.journal-report-field input[b-t9fxghavoi],
.journal-report-field select[b-t9fxghavoi] {
    width: 100%;
    min-height: 45px;
    padding: 0 13px;
    border: 1px solid #d8e1ec;
    border-radius: 12px;
    outline: 0;
    color: #0f172a;
    background: #f8fafc;
    font: inherit;
    font-size: 11.5px;
    font-weight: 800;
}

.journal-report-field.search > div[b-t9fxghavoi] { position: relative; }
.journal-report-field.search input[b-t9fxghavoi] { padding-right: 42px; }
.journal-report-field.search[b-t9fxghavoi]  svg {
    position: absolute;
    top: 50%;
    right: 13px;
    z-index: 1;
    color: #94a3b8;
    transform: translateY(-50%);
}

.journal-report-field input:focus[b-t9fxghavoi],
.journal-report-field select:focus[b-t9fxghavoi] {
    border-color: var(--erp-accent, #8b5cf6);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, .1);
}

.journal-report-clear[b-t9fxghavoi] { color: #475569; border-color: #d7e0eb; background: #fff; }

.journal-report-state[b-t9fxghavoi] { padding: 48px 24px; border-radius: 24px; text-align: center; }
.journal-report-state.error[b-t9fxghavoi] { color: #b91c1c; border-color: #fecaca; background: #fff1f2; }
.journal-report-state[b-t9fxghavoi] >  svg { font-size: 40px; margin-bottom: 8px; }
.journal-report-state p[b-t9fxghavoi] { margin: 9px 0 16px; color: #64748b; font-size: 11px; font-weight: 700; }

.journal-report-spinner[b-t9fxghavoi] {
    width: 40px;
    height: 40px;
    margin: 0 auto 13px;
    border: 4px solid #ede9fe;
    border-top-color: var(--erp-accent, #7c3aed);
    border-radius: 50%;
    animation: journal-spin-b-t9fxghavoi .75s linear infinite;
}

@keyframes journal-spin-b-t9fxghavoi { to { transform: rotate(360deg); } }

.journal-report-period[b-t9fxghavoi] {
    min-height: 78px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 14px;
    align-items: center;
    padding: 15px 18px;
    border-radius: 20px;
}

.journal-report-period span[b-t9fxghavoi],
.journal-report-period strong[b-t9fxghavoi] { display: block; }
.journal-report-period span[b-t9fxghavoi] { color: #64748b; font-size: 10px; font-weight: 900; }
.journal-report-period strong[b-t9fxghavoi] { margin-top: 5px; color: #0f172a; font-size: 13px; font-weight: 950; }
.journal-report-status[b-t9fxghavoi] { padding: 7px 12px; border-radius: 999px; color: #047857 !important; background: #d1fae5; }

.journal-report-kpis[b-t9fxghavoi],
.journal-report-insights[b-t9fxghavoi] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.journal-report-kpis article[b-t9fxghavoi],
.journal-report-insights article[b-t9fxghavoi] {
    min-height: 134px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: 22px;
    border-top: 3px solid var(--accent, var(--erp-accent, #7c3aed));
}

.journal-report-kpis article.documents[b-t9fxghavoi] { --accent: var(--erp-primary, #4f46e5); }
.journal-report-kpis article.lines[b-t9fxghavoi] { --accent: var(--erp-accent, #7c3aed); }
.journal-report-kpis article.debit[b-t9fxghavoi] { --accent: var(--erp-primary, #2563eb); }
.journal-report-kpis article.credit[b-t9fxghavoi] { --accent: #059669; }

.journal-report-kpi__icon[b-t9fxghavoi],
.journal-report-insights article > span[b-t9fxghavoi] {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--accent, var(--erp-accent, #7c3aed));
    background: color-mix(in srgb, var(--accent, var(--erp-accent, #7c3aed)) 12%, white);
}

.journal-report-kpi__icon[b-t9fxghavoi]  svg,
.journal-report-insights article > span[b-t9fxghavoi]  svg { font-size: 24px; }

.journal-report-kpis article > div > span[b-t9fxghavoi],
.journal-report-kpis article strong[b-t9fxghavoi],
.journal-report-kpis article small[b-t9fxghavoi],
.journal-report-insights strong[b-t9fxghavoi],
.journal-report-insights small[b-t9fxghavoi] { display: block; }

.journal-report-kpis article > div > span[b-t9fxghavoi] { color: #64748b; font-size: 10px; font-weight: 900; }
.journal-report-kpis article strong[b-t9fxghavoi] { margin-top: 7px; font-size: 21px; line-height: 1.35; font-weight: 1000; }
.journal-report-kpis article small[b-t9fxghavoi],
.journal-report-insights small[b-t9fxghavoi] { margin-top: 7px; color: #64748b; font-size: 9.5px; line-height: 1.7; font-weight: 700; }

.journal-report-insights article[b-t9fxghavoi] { min-height: 112px; border-top-width: 1px; align-items: center; }
.journal-report-insights article > span[b-t9fxghavoi] { --accent: #475569; }
.journal-report-insights article:nth-child(1) > span[b-t9fxghavoi] { --accent: #059669; }
.journal-report-insights article:nth-child(2) > span[b-t9fxghavoi] { --accent: #d97706; }
.journal-report-insights article:nth-child(3) > span[b-t9fxghavoi] { --accent: var(--erp-primary, #2563eb); }
.journal-report-insights article.danger > span[b-t9fxghavoi] { --accent: #dc2626; }
.journal-report-insights strong[b-t9fxghavoi] { font-size: 14px; font-weight: 950; }

.journal-report-card[b-t9fxghavoi] { overflow: hidden; border-radius: 24px; }
.journal-report-card__header[b-t9fxghavoi] {
    min-height: 106px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.journal-report-card__header span[b-t9fxghavoi],
.journal-report-card__header h2[b-t9fxghavoi],
.journal-report-card__header p[b-t9fxghavoi] { display: block; }
.journal-report-card__header > div > span[b-t9fxghavoi] { color: var(--erp-primary, #4f46e5); font-size: 10px; font-weight: 950; }
.journal-report-card__header h2[b-t9fxghavoi] { margin: 5px 0 0; font-size: 22px; font-weight: 1000; }
.journal-report-card__header p[b-t9fxghavoi] { margin: 5px 0 0; color: #64748b; font-size: 10px; font-weight: 700; }
.journal-report-count[b-t9fxghavoi] { padding: 8px 12px; border-radius: 999px; color: #5b21b6; background: #ede9fe; font-size: 10px; font-weight: 950; }

.journal-report-documents[b-t9fxghavoi] { display: grid; gap: 14px; padding: 18px; }
.journal-document[b-t9fxghavoi] { overflow: hidden; border: 1px solid #dfe6ef; border-radius: 18px; background: #fff; }
.journal-document.unbalanced[b-t9fxghavoi] { border-color: #fecaca; }

.journal-document__header[b-t9fxghavoi] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 17px;
    border-bottom: 1px solid #e5e7eb;
    background: #f8fafc;
}

.journal-document.unbalanced .journal-document__header[b-t9fxghavoi] { background: #fff7f7; }
.journal-document__title[b-t9fxghavoi] { min-width: 0; display: flex; align-items: center; gap: 12px; }
.journal-document__number[b-t9fxghavoi] { flex: 0 0 auto; padding: 7px 10px; border-radius: 10px; color: #4338ca; background: #e0e7ff; font-size: 10px; font-weight: 950; }
.journal-document__title strong[b-t9fxghavoi],
.journal-document__title small[b-t9fxghavoi] { display: block; }
.journal-document__title strong[b-t9fxghavoi] { font-size: 12px; font-weight: 950; }
.journal-document__title small[b-t9fxghavoi] { margin-top: 4px; color: #64748b; font-size: 9px; font-weight: 700; }

.journal-document__meta[b-t9fxghavoi] { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.journal-document__meta span[b-t9fxghavoi] { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border-radius: 999px; color: #475569; background: #fff; border: 1px solid #dfe6ef; font-size: 9px; font-weight: 900; }
.journal-document__meta span.posted[b-t9fxghavoi],
.journal-document__meta span.balanced[b-t9fxghavoi] { color: #047857; border-color: #a7f3d0; background: #ecfdf5; }
.journal-document__meta span.draft[b-t9fxghavoi] { color: #b45309; border-color: #fde68a; background: #fffbeb; }
.journal-document__meta span.unbalanced[b-t9fxghavoi] { color: #b91c1c; border-color: #fecaca; background: #fff1f2; }
.journal-document__meta[b-t9fxghavoi]  svg { font-size: 15px; }

.journal-report-table-wrap[b-t9fxghavoi] { width: 100%; overflow: auto; }
.journal-report-table[b-t9fxghavoi] { width: 100%; min-width: 930px; border-collapse: collapse; }
.journal-report-table th[b-t9fxghavoi],
.journal-report-table td[b-t9fxghavoi] { padding: 12px 13px; border-bottom: 1px solid #edf1f5; text-align: right; vertical-align: middle; }
.journal-report-table th[b-t9fxghavoi] { position: sticky; top: 0; z-index: 2; color: #475569; background: #f8fafc; font-size: 9.5px; font-weight: 950; white-space: nowrap; }
.journal-report-table td[b-t9fxghavoi] { color: #334155; font-size: 10.5px; font-weight: 750; }
.journal-report-table tbody tr:hover[b-t9fxghavoi] { background: #fafaff; }
.journal-report-table .account-code[b-t9fxghavoi] { color: var(--erp-primary, #4f46e5); font-weight: 950; }
.journal-report-table .account-name[b-t9fxghavoi] { color: #0f172a; font-weight: 900; }
.journal-report-table .money[b-t9fxghavoi] { direction: ltr; text-align: right; white-space: nowrap; font-weight: 950; }
.journal-report-table .debit[b-t9fxghavoi] { color: var(--erp-primary, #2563eb); }
.journal-report-table .credit[b-t9fxghavoi] { color: #059669; }
.journal-report-table tfoot td[b-t9fxghavoi] { border-bottom: 0; background: #f8fafc; font-weight: 1000; }

.journal-report-empty[b-t9fxghavoi] { min-height: 220px; display: grid; place-items: center; align-content: center; gap: 10px; color: #64748b; }
.journal-report-empty[b-t9fxghavoi]  svg { font-size: 46px; color: var(--erp-accent, #a78bfa); }

[b-t9fxghavoi] .erpdb-dark .journal-report-page { color: #e5e7eb; }
[b-t9fxghavoi] .erpdb-dark .journal-report-hero,
[b-t9fxghavoi] .erpdb-dark .journal-report-toolbar,
[b-t9fxghavoi] .erpdb-dark .journal-report-filter-card,
[b-t9fxghavoi] .erpdb-dark .journal-report-period,
[b-t9fxghavoi] .erpdb-dark .journal-report-kpis article,
[b-t9fxghavoi] .erpdb-dark .journal-report-insights article,
[b-t9fxghavoi] .erpdb-dark .journal-report-card,
[b-t9fxghavoi] .erpdb-dark .journal-report-state,
[b-t9fxghavoi] .erpdb-dark .journal-document { border-color: rgba(148, 163, 184, .18); background: rgba(15, 23, 42, .96); box-shadow: none; }
[b-t9fxghavoi] .erpdb-dark .journal-report-hero { background: radial-gradient(circle at 5% 55%, rgba(124, 58, 237, .22), transparent 235px), linear-gradient(135deg, #111827, #172033); }
[b-t9fxghavoi] .erpdb-dark .journal-report-hero h1,
[b-t9fxghavoi] .erpdb-dark .journal-report-period strong,
[b-t9fxghavoi] .erpdb-dark .journal-report-kpis article strong,
[b-t9fxghavoi] .erpdb-dark .journal-report-insights strong,
[b-t9fxghavoi] .erpdb-dark .journal-report-card__header h2,
[b-t9fxghavoi] .erpdb-dark .journal-document__title strong,
[b-t9fxghavoi] .erpdb-dark .journal-report-table .account-name { color: #f8fafc; }
[b-t9fxghavoi] .erpdb-dark .journal-report-field input,
[b-t9fxghavoi] .erpdb-dark .journal-report-field select,
[b-t9fxghavoi] .erpdb-dark .journal-report-btn.secondary,
[b-t9fxghavoi] .erpdb-dark .journal-report-clear,
[b-t9fxghavoi] .erpdb-dark .journal-document__header,
[b-t9fxghavoi] .erpdb-dark .journal-report-table th,
[b-t9fxghavoi] .erpdb-dark .journal-report-table tfoot td { color: #e5e7eb; border-color: #334155; background: #111827; }
[b-t9fxghavoi] .erpdb-dark .journal-report-table td,
[b-t9fxghavoi] .erpdb-dark .journal-report-card__header,
[b-t9fxghavoi] .erpdb-dark .journal-document__header { border-color: #273449; }
[b-t9fxghavoi] .erpdb-dark .journal-report-table td { color: #cbd5e1; }
[b-t9fxghavoi] .erpdb-dark .journal-report-table tbody tr:hover { background: #172033; }

@media (max-width: 1100px) {
    .journal-report-filter-grid[b-t9fxghavoi] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .journal-report-kpis[b-t9fxghavoi],
    .journal-report-insights[b-t9fxghavoi] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .journal-report-page[b-t9fxghavoi] { padding: 16px; }
    .journal-report-hero[b-t9fxghavoi] { min-height: auto; padding: 22px; }
    .journal-report-hero__icon[b-t9fxghavoi] { display: none; }
    .journal-report-hero h1[b-t9fxghavoi] { font-size: 29px; }
    .journal-report-toolbar[b-t9fxghavoi],
    .journal-report-card__header[b-t9fxghavoi],
    .journal-document__header[b-t9fxghavoi] { align-items: stretch; flex-direction: column; }
    .journal-report-toolbar__actions[b-t9fxghavoi] { width: 100%; }
    .journal-report-btn[b-t9fxghavoi] { flex: 1 1 auto; }
    .journal-report-filter-grid[b-t9fxghavoi],
    .journal-report-period[b-t9fxghavoi],
    .journal-report-kpis[b-t9fxghavoi],
    .journal-report-insights[b-t9fxghavoi] { grid-template-columns: 1fr; }
    .journal-report-status[b-t9fxghavoi] { justify-self: start; }
    .journal-document__meta[b-t9fxghavoi] { justify-content: flex-start; }
}

@media print {
    .no-print[b-t9fxghavoi],
    .journal-report-hero[b-t9fxghavoi],
    .erp-organization-report-identity[b-t9fxghavoi] { display: none !important; }
    .journal-report-page[b-t9fxghavoi] { display: block; padding: 0; color: #000; background: #fff; }
    .journal-report-period[b-t9fxghavoi],
    .journal-report-kpis[b-t9fxghavoi],
    .journal-report-insights[b-t9fxghavoi] { display: none !important; }
    .journal-report-card[b-t9fxghavoi] { border: 0; box-shadow: none; }
    .journal-report-card__header[b-t9fxghavoi] { padding: 0 0 14px; }
    .journal-report-documents[b-t9fxghavoi] { padding: 0; gap: 10px; }
    .journal-document[b-t9fxghavoi] { break-inside: avoid; border-color: #bbb; }
    .journal-document__header[b-t9fxghavoi],
    .journal-report-table th[b-t9fxghavoi],
    .journal-report-table tfoot td[b-t9fxghavoi] { background: #f3f4f6 !important; }
    .journal-report-table[b-t9fxghavoi] { min-width: 0; }
    .journal-report-table th[b-t9fxghavoi],
    .journal-report-table td[b-t9fxghavoi] { padding: 6px 7px; font-size: 8px; }
}

/* Legal books print stabilization */
@media print {
    @page { size: A4 landscape; margin: 12mm; }
    .no-print[b-t9fxghavoi] { display:none !important; }
    .ecb-table-wrap[b-t9fxghavoi], .ledger-table-wrap[b-t9fxghavoi], .journal-report-table-wrap[b-t9fxghavoi] { overflow: visible !important; }
    table[b-t9fxghavoi] { width:100% !important; border-collapse:collapse !important; page-break-inside:auto; }
    thead[b-t9fxghavoi] { display:table-header-group !important; }
    tfoot[b-t9fxghavoi] { display:table-footer-group !important; }
    tr[b-t9fxghavoi] { page-break-inside:avoid !important; break-inside:avoid !important; }
    td[b-t9fxghavoi], th[b-t9fxghavoi] { white-space:normal !important; word-break:break-word !important; }
    .print-money[b-t9fxghavoi] { white-space:nowrap !important; direction:ltr; }
}
/* /Components/Pages/Login.razor.rz.scp.css */
:host[b-olha3loyka] {
    display: block;
    min-height: 100dvh;
    direction: rtl;
}

.erp-login-shell[b-olha3loyka] {
    position: relative;
    min-height: 100dvh;
    width: 100%;
    overflow: hidden;
    direction: rtl;
    font-family: IRANSans, Vazirmatn, Tahoma, Arial, sans-serif;
    background: #020617;
    color: #0f172a;
}

.erp-login-background[b-olha3loyka] {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    direction: rtl;
    background:
        radial-gradient(circle at 76% 0%, rgba(37, 99, 235, .34), transparent 360px),
        radial-gradient(circle at 12% 18%, rgba(124, 58, 237, .24), transparent 380px),
        linear-gradient(135deg, #020617 0%, #08111f 48%, #0f172a 100%);
}

.erp-login-bg-sidebar[b-olha3loyka] {
    position: relative;
    grid-column: 1;
    padding: 28px 22px;
    color: #e5eefc;
    background:
        radial-gradient(circle at 28% 0%, rgba(124, 58, 237, .30), transparent 230px),
        linear-gradient(180deg, rgba(9, 15, 34, .95), rgba(5, 8, 20, .98));
    border-left: 1px solid rgba(148, 163, 184, .16);
    box-shadow: -20px 0 60px rgba(0, 0, 0, .22);
}

.erp-login-bg-logo[b-olha3loyka] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    margin-bottom: 28px;
    font-size: 20px;
    font-weight: 1000;
    letter-spacing: -.03em;
}

.erp-login-bg-logo-dots[b-olha3loyka] {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 35% 35%, #ffffff 0 3px, transparent 4px),
        radial-gradient(circle at 65% 35%, #ffffff 0 3px, transparent 4px),
        radial-gradient(circle at 50% 65%, #ffffff 0 3px, transparent 4px),
        linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    box-shadow: 0 18px 34px rgba(37, 99, 235, .32);
}

.erp-login-bg-menu[b-olha3loyka] {
    height: 52px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 9px;
    padding: 0 15px;
    border-radius: 18px;
    color: #cbd5e1;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(148, 163, 184, .10);
    font-size: 14px;
    font-weight: 900;
}

.erp-login-bg-menu.active[b-olha3loyka] {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(37, 99, 235, .42), rgba(124, 58, 237, .30));
    border-color: rgba(147, 197, 253, .28);
}

.erp-login-bg-menu-icon[b-olha3loyka] {
    width: 26px;
    height: 26px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .16);
    position: relative;
}

.erp-login-bg-menu-icon[b-olha3loyka]::after {
    content: "";
    position: absolute;
    inset: 7px;
    border-radius: 5px;
    border: 2px solid currentColor;
    opacity: .72;
}

.erp-login-bg-user[b-olha3loyka] {
    position: absolute;
    right: 22px;
    left: 22px;
    bottom: 26px;
    min-height: 72px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(148, 163, 184, .14);
}

.erp-login-bg-avatar[b-olha3loyka] {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
}

.erp-login-bg-user b[b-olha3loyka],
.erp-login-bg-user small[b-olha3loyka] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.erp-login-bg-user b[b-olha3loyka] {
    color: #ffffff;
    font-size: 13px;
    font-weight: 1000;
}

.erp-login-bg-user small[b-olha3loyka] {
    color: #94a3b8;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 800;
}

.erp-login-bg-content[b-olha3loyka] {
    position: relative;
    padding: 28px;
    opacity: .72;
}

.erp-login-bg-topbar[b-olha3loyka] {
    height: 84px;
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) 220px;
    gap: 18px;
    margin-bottom: 24px;
}

.erp-login-bg-topbar div[b-olha3loyka],
.erp-login-bg-card[b-olha3loyka],
.erp-login-bg-grid div[b-olha3loyka] {
    border-radius: 28px;
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(148, 163, 184, .12);
    box-shadow: 0 22px 56px rgba(0, 0, 0, .18);
    backdrop-filter: blur(16px);
}

.erp-login-bg-card[b-olha3loyka] {
    height: 260px;
    margin-bottom: 24px;
}

.erp-login-bg-grid[b-olha3loyka] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.erp-login-bg-grid div[b-olha3loyka] {
    height: 190px;
}

.erp-login-overlay[b-olha3loyka] {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, .50);
    backdrop-filter: blur(7px);
}

.erp-login-panel[b-olha3loyka] {
    position: relative;
    z-index: 2;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 34px;
}

.erp-login-card[b-olha3loyka] {
    width: min(1040px, 100%);
    min-height: 640px;
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    direction: rtl;
    overflow: hidden;
    border-radius: 34px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(226, 232, 240, .86);
    box-shadow: 0 34px 100px rgba(0, 0, 0, .34);
}

.erp-login-intro[b-olha3loyka] {
    position: relative;
    overflow: hidden;
    padding: 38px 34px;
    color: var(--erp-on-brand, #ffffff);
    background:
        radial-gradient(circle at 20% 8%, rgba(255, 255, 255, .16), transparent 180px),
        radial-gradient(circle at 84% 88%, rgba(34, 211, 238, .22), transparent 210px),
        linear-gradient(160deg, #1d4ed8 0%, var(--erp-primary, #4f46e5) 48%, var(--erp-accent, #7c3aed) 100%);
}

.erp-login-intro-pattern[b-olha3loyka] {
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image:
        linear-gradient(135deg, rgba(255,255,255,.42) 1px, transparent 1px),
        linear-gradient(45deg, rgba(255,255,255,.28) 1px, transparent 1px);
    background-size: 42px 42px;
}

.erp-login-logo[b-olha3loyka],
.erp-login-intro h2[b-olha3loyka],
.erp-login-intro p[b-olha3loyka],
.erp-login-feature[b-olha3loyka],
.erp-login-intro-line[b-olha3loyka] {
    position: relative;
    z-index: 1;
}

.erp-login-logo[b-olha3loyka] {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    margin-bottom: 28px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .24);
    box-shadow: 0 22px 46px rgba(15, 23, 42, .22);
    font-size: 21px;
    font-weight: 1000;
}

.erp-login-intro h2[b-olha3loyka] {
    margin: 0;
    font-size: 34px;
    font-weight: 1000;
    letter-spacing: -.04em;
}

.erp-login-intro p[b-olha3loyka] {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
    font-weight: 850;
}

.erp-login-intro-line[b-olha3loyka] {
    width: 74px;
    height: 4px;
    margin: 30px 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
}

.erp-login-feature[b-olha3loyka] {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    padding: 13px 0;
}

.erp-login-feature-icon[b-olha3loyka] {
    width: 46px;
    height: 46px;
    display: block;
    border-radius: 17px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .20);
    position: relative;
}

.erp-login-feature-icon[b-olha3loyka]::after {
    content: "";
    position: absolute;
    inset: 12px;
    border: 2px solid #fff;
    border-radius: 8px;
    opacity: .78;
}

.erp-login-feature b[b-olha3loyka],
.erp-login-feature small[b-olha3loyka] {
    display: block;
}

.erp-login-feature b[b-olha3loyka] {
    font-size: 14px;
    font-weight: 1000;
}

.erp-login-feature small[b-olha3loyka] {
    margin-top: 3px;
    color: rgba(255, 255, 255, .74);
    font-size: 12px;
    font-weight: 800;
}

.erp-login-main[b-olha3loyka] {
    padding: 48px 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        radial-gradient(circle at 100% 0%, rgba(37, 99, 235, .08), transparent 260px),
        #ffffff;
}

.erp-login-heading[b-olha3loyka] {
    margin-bottom: 26px;
}

.erp-login-heading h1[b-olha3loyka] {
    margin: 0;
    color: #0f172a;
    font-size: 32px;
    font-weight: 1000;
    letter-spacing: -.04em;
}

.erp-login-heading span[b-olha3loyka] {
    width: 56px;
    height: 4px;
    display: block;
    margin: 14px 0 13px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
}

.erp-login-heading p[b-olha3loyka] {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    font-weight: 800;
}

.erp-login-message[b-olha3loyka] {
    margin-bottom: 14px;
    padding: 13px 15px;
    border-radius: 18px;
    font-size: 13px;
    font-weight: 900;
    border: 1px solid transparent;
}

.erp-login-message.error[b-olha3loyka] {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fecaca;
}

.erp-login-message.info[b-olha3loyka] {
    color: #1d4ed8;
    background: #eff6ff;
    border-color: #bfdbfe;
}

.erp-login-form[b-olha3loyka] {
    display: grid;
    gap: 17px;
}

.erp-login-control label[b-olha3loyka] {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 1000;
}

.erp-login-field[b-olha3loyka] {
    min-height: 58px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 0 11px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid #dbe3ef;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.erp-login-field:focus-within[b-olha3loyka] {
    background: #ffffff;
    border-color: #93c5fd;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
}

.erp-login-field-icon[b-olha3loyka] {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(124, 58, 237, .12));
    position: relative;
}

.erp-login-field-icon[b-olha3loyka]::after {
    content: "";
    position: absolute;
    inset: 10px;
    border: 2px solid var(--erp-primary, #2563eb);
    border-radius: 8px;
    opacity: .70;
}

.erp-login-input[b-olha3loyka] {
    width: 100%;
    height: 54px;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #0f172a;
    font-family: inherit;
    font-size: 15px;
    font-weight: 900;
    direction: rtl;
}

.erp-login-input[b-olha3loyka]::placeholder {
    color: #94a3b8;
    font-weight: 800;
}

.erp-login-input:disabled[b-olha3loyka] {
    opacity: .72;
}

.erp-login-password-toggle[b-olha3loyka] {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 15px;
    background: rgba(37, 99, 235, .08);
    cursor: pointer;
}

.erp-login-eye[b-olha3loyka] {
    width: 18px;
    height: 18px;
    display: block;
    border: 2px solid #475569;
    border-radius: 50%;
    position: relative;
}

.erp-login-eye[b-olha3loyka]::after {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: #475569;
}

.erp-login-eye.visible[b-olha3loyka] {
    border-color: var(--erp-primary, #2563eb);
}

.erp-login-eye.visible[b-olha3loyka]::after {
    background: var(--erp-primary, #2563eb);
}

.erp-login-button[b-olha3loyka] {
    min-height: 58px;
    margin-top: 6px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    border: 0;
    border-radius: 20px;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    box-shadow: 0 18px 36px rgba(37, 99, 235, .26);
    font-family: inherit;
    font-size: 15px;
    font-weight: 1000;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.erp-login-button:hover:not(:disabled)[b-olha3loyka] {
    transform: translateY(-1px);
    box-shadow: 0 24px 44px rgba(37, 99, 235, .32);
}

.erp-login-button:disabled[b-olha3loyka] {
    cursor: wait;
    opacity: .78;
}

.erp-login-button-icon[b-olha3loyka] {
    width: 40px;
    height: 40px;
    border-radius: 15px;
    background: rgba(255, 255, 255, .18);
    position: relative;
}

.erp-login-button-icon[b-olha3loyka]::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    top: 13px;
    left: 13px;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(45deg);
}

.erp-login-demo-title[b-olha3loyka] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin: 22px 0 13px;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

.erp-login-demo-title span[b-olha3loyka] {
    height: 1px;
    background: #e2e8f0;
}

.erp-login-demo[b-olha3loyka] {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr;
    gap: 8px 10px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 18px;
    color: #475569;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    font-size: 13px;
    font-weight: 850;
}

.erp-login-demo b[b-olha3loyka] {
    color: #0f172a;
    direction: ltr;
    text-align: left;
    font-weight: 1000;
}

.erp-login-security-note[b-olha3loyka] {
    width: min(1040px, 100%);
    margin-top: 14px;
    text-align: center;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 850;
}

@media (max-width: 980px) {
    .erp-login-background[b-olha3loyka] {
        grid-template-columns: 1fr;
    }

    .erp-login-bg-sidebar[b-olha3loyka] {
        display: none;
    }

    .erp-login-card[b-olha3loyka] {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .erp-login-intro[b-olha3loyka] {
        display: none;
    }

    .erp-login-main[b-olha3loyka] {
        padding: 36px 26px;
    }
}

@media (max-width: 560px) {
    .erp-login-panel[b-olha3loyka] {
        padding: 18px;
    }

    .erp-login-main[b-olha3loyka] {
        padding: 30px 20px;
    }

    .erp-login-heading h1[b-olha3loyka] {
        font-size: 27px;
    }

    .erp-login-demo[b-olha3loyka] {
        grid-template-columns: auto 1fr;
    }
}


.erp-login-field-help[b-olha3loyka] {
    display: block;
    margin-top: 7px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.erp-login-field.tenant .erp-login-field-icon[b-olha3loyka]::after {
    border-radius: 50% 50% 8px 8px;
}
/* /Components/Pages/ModuleMarketplace.razor.rz.scp.css */
.module-grid[b-lr9ekd2ct2] {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(320px,1fr));
    gap: 22px;
}

.module-card[b-lr9ekd2ct2] {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
    transition: .25s;
}

    .module-card:hover[b-lr9ekd2ct2] {
        transform: translateY(-5px);
    }

.module-icon[b-lr9ekd2ct2] {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    margin-bottom: 15px;
}

.module-info[b-lr9ekd2ct2] {
    display: flex;
    justify-content: space-between;
    margin: 18px 0;
    color: #64748b;
}

.price[b-lr9ekd2ct2] {
    font-size: 18px;
    font-weight: 700;
    color: var(--erp-primary, #2563eb);
}

    .price.free[b-lr9ekd2ct2] {
        color: #16a34a;
    }
/* /Components/Pages/PaymentReceipt.razor.rz.scp.css */
.receipt-page[b-6opxclcrg0] {
    min-height: 100vh;
    padding: 28px;
    background: #eef4fb;
    color: #0f172a;
}

.receipt-toolbar[b-6opxclcrg0] {
    max-width: 860px;
    margin: 0 auto 18px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.receipt-btn[b-6opxclcrg0] {
    border: 1px solid #dbe4f0;
    background: #fff;
    color: #334155;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
}

.receipt-btn.primary[b-6opxclcrg0] {
    border: 0;
    background: linear-gradient(135deg, #059669, #0ea5e9);
    color: #fff;
}

.receipt-state[b-6opxclcrg0] {
    max-width: 860px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #dbe4f0;
    border-radius: 20px;
    padding: 20px;
    font-weight: 900;
}

.receipt-state.error[b-6opxclcrg0] {
    background: #fff1f2;
    color: #be123c;
    border-color: #fecdd3;
}

.receipt-paper[b-6opxclcrg0] {
    max-width: 860px;
    margin: 0 auto;
    background: #fff;
    border-radius: 26px;
    padding: 42px;
    box-shadow: 0 22px 70px rgba(15, 23, 42, 0.12);
}

.receipt-header[b-6opxclcrg0] {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 2px solid #e2e8f0;
}

.receipt-header h1[b-6opxclcrg0] {
    margin: 0;
    font-size: 34px;
    font-weight: 1000;
}

.receipt-header p[b-6opxclcrg0] {
    margin: 8px 0 0;
    color: #64748b;
    font-weight: 800;
}

.receipt-meta[b-6opxclcrg0] {
    display: grid;
    gap: 10px;
    min-width: 240px;
}

.receipt-meta div[b-6opxclcrg0] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.receipt-meta span[b-6opxclcrg0],
.receipt-grid span[b-6opxclcrg0],
.receipt-amount span[b-6opxclcrg0],
.receipt-description span[b-6opxclcrg0],
.receipt-footer span[b-6opxclcrg0] {
    color: #64748b;
    font-weight: 900;
}

.receipt-grid[b-6opxclcrg0] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 26px 0;
}

.receipt-grid div[b-6opxclcrg0] {
    display: grid;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 16px;
}

.receipt-grid strong[b-6opxclcrg0] {
    font-weight: 1000;
}

.receipt-amount[b-6opxclcrg0] {
    background: linear-gradient(135deg, #059669, #0ea5e9);
    color: #fff;
    border-radius: 22px;
    padding: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 1000;
}

.receipt-amount span[b-6opxclcrg0] {
    color: #d1fae5;
}

.receipt-amount strong[b-6opxclcrg0] {
    font-size: 28px;
}

.receipt-description[b-6opxclcrg0] {
    margin-top: 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 18px;
    border-radius: 18px;
}

.receipt-description p[b-6opxclcrg0] {
    margin: 10px 0 0;
    font-weight: 800;
}

.receipt-footer[b-6opxclcrg0] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 70px;
}

.receipt-footer div[b-6opxclcrg0] {
    height: 90px;
    border-top: 1px solid #94a3b8;
    padding-top: 12px;
    text-align: center;
}

@media print {
    .no-print[b-6opxclcrg0] {
        display: none !important;
    }

    .receipt-page[b-6opxclcrg0] {
        padding: 0;
        background: #fff;
    }

    .receipt-paper[b-6opxclcrg0] {
        box-shadow: none;
        border-radius: 0;
        max-width: none;
        padding: 0;
    }
}

@media (max-width: 780px) {
    .receipt-grid[b-6opxclcrg0] {
        grid-template-columns: 1fr;
    }

    .receipt-header[b-6opxclcrg0] {
        flex-direction: column;
    }
}
.receipt-paper[b-6opxclcrg0]{position:relative}.receipt-cancelled[b-6opxclcrg0]{position:absolute;inset:42% 18%;transform:rotate(-18deg);border:8px solid rgba(185,28,28,.35);color:rgba(185,28,28,.35);font-size:64px;font-weight:900;text-align:center;padding:12px;z-index:3;pointer-events:none}
/* /Components/Pages/PaymentSignature.razor.rz.scp.css */
.advance-sign-page[b-074ejxoome]{min-height:100vh;background:#f1f5f9;padding:24px;display:grid;place-items:center;font-family:Vazirmatn,Tahoma,sans-serif}.advance-sign-card[b-074ejxoome]{width:min(680px,100%);background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:28px;box-shadow:0 20px 60px rgba(15,23,42,.12)}.brand[b-074ejxoome]{color:var(--erp-primary, #4f46e5);font-weight:900;margin-bottom:16px}.advance-sign-card h1[b-074ejxoome]{margin:0 0 22px;color:#0f172a}.details[b-074ejxoome]{display:grid;grid-template-columns:1fr 1fr;gap:12px}.details div[b-074ejxoome]{padding:14px;border:1px solid #e2e8f0;border-radius:14px}.details span[b-074ejxoome]{display:block;color:#64748b;font-size:13px;margin-bottom:5px}.description[b-074ejxoome],.alert[b-074ejxoome]{margin:16px 0;padding:14px;border-radius:14px}.description[b-074ejxoome]{background:#f8fafc}.alert.error[b-074ejxoome]{background:#fee2e2;color:#991b1b}.alert.success[b-074ejxoome]{background:#dcfce7;color:#166534}.advance-sign-card label[b-074ejxoome]{display:block;font-weight:800;color:#334155;margin:16px 0 8px}.advance-sign-card input[b-074ejxoome]{width:100%;height:48px;border:1px solid #cbd5e1;border-radius:12px;padding:0 14px;font:inherit}canvas[b-074ejxoome]{width:100%;height:220px;border:2px dashed #94a3b8;border-radius:14px;background:#fff;touch-action:none}.actions[b-074ejxoome]{display:flex;gap:10px;margin-top:18px}.actions button[b-074ejxoome]{border:0;border-radius:12px;padding:12px 20px;font:inherit;font-weight:900;cursor:pointer}.primary[b-074ejxoome]{background:var(--erp-primary, #4f46e5);color:#fff}.secondary[b-074ejxoome]{background:#e2e8f0;color:#334155}@media(max-width:600px){.advance-sign-page[b-074ejxoome]{padding:12px}.advance-sign-card[b-074ejxoome]{padding:18px}.details[b-074ejxoome]{grid-template-columns:1fr}}
/* /Components/Pages/PaymentVerify.razor.rz.scp.css */
.payment-verify-page[b-psjb2rodp0] {
    min-height: 100vh;
    padding: 28px;
    background: #eef4fb;
    display: grid;
    place-items: center;
    color: #0f172a;
}

.verify-card[b-psjb2rodp0] {
    width: min(520px, 100%);
    background: #fff;
    border: 1px solid #dbe4f0;
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 22px 70px rgba(15, 23, 42, 0.12);
    text-align: center;
}

.verify-card h1[b-psjb2rodp0] {
    margin: 0 0 18px;
    font-size: 30px;
    font-weight: 1000;
}

.verify-card p[b-psjb2rodp0] {
    color: #64748b;
    font-weight: 900;
}

.verify-message[b-psjb2rodp0] {
    padding: 16px;
    border-radius: 18px;
    font-weight: 900;
    margin: 18px 0;
}

.verify-message.success[b-psjb2rodp0] {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.verify-message.error[b-psjb2rodp0] {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
}

.verify-btn[b-psjb2rodp0] {
    border: 0;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 900;
    background: linear-gradient(135deg, #059669, #0ea5e9);
    color: #fff;
    cursor: pointer;
}
/* /Components/Pages/Payroll.razor.rz.scp.css */
.payroll-page[b-ajyzizq26y]{min-height:100vh;padding:28px;background:#f4f7fb;color:#14213d}.payroll-hero[b-ajyzizq26y]{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:28px;border-radius:24px;background:linear-gradient(135deg,#0f172a,#1e3a5f);color:#fff;box-shadow:0 18px 45px rgba(15,23,42,.18)}.payroll-hero span[b-ajyzizq26y],.payroll-card-head span[b-ajyzizq26y],.dialog-head span[b-ajyzizq26y]{font-size:11px;letter-spacing:2px;opacity:.72}.payroll-hero h1[b-ajyzizq26y]{margin:7px 0;font-size:30px}.payroll-hero p[b-ajyzizq26y]{margin:0;color:#d8e4f2}.payroll-hero-actions[b-ajyzizq26y]{display:flex;flex-wrap:wrap;gap:10px}.payroll-btn[b-ajyzizq26y]{border:0;border-radius:12px;padding:11px 16px;font-weight:800;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;min-height:44px}.payroll-btn.primary[b-ajyzizq26y]{background:#16a085;color:#fff}.payroll-btn.dark[b-ajyzizq26y]{background:var(--erp-primary, #2563eb);color:#fff}.payroll-btn.secondary[b-ajyzizq26y]{background:#fff;color:#1e293b;border:1px solid #d9e1ec}.payroll-btn:disabled[b-ajyzizq26y]{opacity:.55;cursor:not-allowed}.payroll-summary[b-ajyzizq26y]{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0}.payroll-summary article[b-ajyzizq26y]{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:20px;box-shadow:0 8px 24px rgba(15,23,42,.05)}.payroll-summary span[b-ajyzizq26y],.payroll-summary small[b-ajyzizq26y]{display:block;color:#64748b}.payroll-summary strong[b-ajyzizq26y]{display:block;font-size:24px;margin:8px 0}.payroll-tabs[b-ajyzizq26y]{display:flex;gap:8px;margin-bottom:14px}.payroll-tabs button[b-ajyzizq26y]{border:1px solid #d9e1ec;background:#fff;padding:11px 22px;border-radius:12px;font-weight:800;cursor:pointer}.payroll-tabs button.active[b-ajyzizq26y]{background:#0f172a;color:#fff;border-color:#0f172a}.payroll-card[b-ajyzizq26y]{background:#fff;border:1px solid #e2e8f0;border-radius:22px;overflow:hidden;box-shadow:0 10px 30px rgba(15,23,42,.05)}.payroll-card-head[b-ajyzizq26y]{padding:20px 22px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf2f7}.payroll-card-head h2[b-ajyzizq26y],.dialog-head h2[b-ajyzizq26y]{margin:5px 0 0}.payroll-card-head input[b-ajyzizq26y]{min-width:280px;border:1px solid #dbe3ed;border-radius:12px;padding:11px 14px}.payroll-table-wrap[b-ajyzizq26y]{overflow:auto}.payroll-table-wrap table[b-ajyzizq26y]{width:100%;border-collapse:collapse;min-width:900px}.payroll-table-wrap th[b-ajyzizq26y]{background:#f8fafc;color:#64748b;font-size:12px;text-align:right;padding:14px}.payroll-table-wrap td[b-ajyzizq26y]{padding:14px;border-top:1px solid #edf2f7;vertical-align:middle}.payroll-table-wrap td small[b-ajyzizq26y]{display:block;color:#8492a6;margin-top:4px}.row-actions[b-ajyzizq26y]{display:flex;gap:6px;flex-wrap:wrap}.row-actions button[b-ajyzizq26y]{border:1px solid #dbe3ed;background:#fff;border-radius:9px;padding:7px 10px;cursor:pointer;font-weight:700}.row-actions button.danger[b-ajyzizq26y]{color:#dc2626}.row-actions button.success[b-ajyzizq26y]{color:#047857;border-color:#a7f3d0;background:#ecfdf5}.status[b-ajyzizq26y]{display:inline-block;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800}.status.ok[b-ajyzizq26y]{background:#dcfce7;color:#166534}.status.warn[b-ajyzizq26y]{background:#fef3c7;color:#92400e}.status.off[b-ajyzizq26y]{background:#e2e8f0;color:#475569}.payroll-message[b-ajyzizq26y]{margin:16px 0;padding:12px 16px;border-radius:12px;font-weight:700}.payroll-message.success[b-ajyzizq26y]{background:#dcfce7;color:#166534}.payroll-message.error[b-ajyzizq26y]{background:#fee2e2;color:#991b1b}.payroll-loading[b-ajyzizq26y]{padding:60px;text-align:center;background:#fff;border-radius:20px}
.payroll-overlay[b-ajyzizq26y]{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:18px!important;border:0!important;background:transparent!important;color:inherit;z-index:2147483647!important;overflow:auto!important;box-sizing:border-box;align-items:center;justify-content:center}.payroll-overlay[open][b-ajyzizq26y]{display:flex!important}.payroll-overlay[b-ajyzizq26y]::backdrop{background:rgba(15,23,42,.68);backdrop-filter:blur(5px)}.payroll-dialog[b-ajyzizq26y]{width:min(680px,96vw);max-height:calc(100vh - 36px);background:#fff;border-radius:22px;box-shadow:0 30px 80px rgba(0,0,0,.3);display:flex;flex-direction:column;overflow:hidden}.payroll-dialog.wide[b-ajyzizq26y]{width:min(1180px,97vw)}.payroll-dialog.extra-wide[b-ajyzizq26y]{width:min(1320px,98vw)}.dialog-head[b-ajyzizq26y]{display:flex;justify-content:space-between;align-items:center;padding:18px 24px;border-bottom:1px solid #edf2f7;flex:0 0 auto;background:#fff}.dialog-head button[b-ajyzizq26y]{border:0;background:#f1f5f9;border-radius:10px;width:38px;height:38px;font-size:24px;cursor:pointer}.dialog-body[b-ajyzizq26y]{padding:20px 22px;overflow:auto;min-height:0}.dialog-body.no-padding[b-ajyzizq26y]{padding:0}.form-section[b-ajyzizq26y]{border:1px solid #e8edf4;border-radius:16px;padding:16px;margin-bottom:14px;background:#fbfdff}.form-section:last-child[b-ajyzizq26y]{margin-bottom:0}.form-section h3[b-ajyzizq26y]{font-size:14px;margin:0 0 14px;color:#1e3a5f}.form-grid[b-ajyzizq26y]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 16px}.form-grid.two[b-ajyzizq26y]{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid label[b-ajyzizq26y],.rate-grid label[b-ajyzizq26y],.account-grid label[b-ajyzizq26y]{display:flex;flex-direction:column;font-size:12px;font-weight:800;color:#475569;min-width:0}.form-grid label em[b-ajyzizq26y]{color:#dc2626;font-style:normal}.form-grid input[b-ajyzizq26y],.form-grid select[b-ajyzizq26y],.form-grid textarea[b-ajyzizq26y],.rate-grid input[b-ajyzizq26y],.account-grid select[b-ajyzizq26y]{width:100%;height:44px;box-sizing:border-box;margin-top:7px;border:1px solid #dbe3ed;border-radius:11px;padding:10px 12px;background:#fff;color:#0f172a;outline:none;transition:.18s}.form-grid textarea[b-ajyzizq26y]{height:auto;min-height:74px;resize:vertical}.form-grid input:focus[b-ajyzizq26y],.form-grid select:focus[b-ajyzizq26y],.form-grid textarea:focus[b-ajyzizq26y],.rate-grid input:focus[b-ajyzizq26y],.account-grid select:focus[b-ajyzizq26y]{border-color:var(--erp-primary, #3b82f6);box-shadow:0 0 0 3px rgba(59,130,246,.12)}.jalali-input[b-ajyzizq26y]{direction:ltr;text-align:center;font-variant-numeric:tabular-nums}.checks[b-ajyzizq26y]{display:flex;gap:12px;flex-wrap:wrap;padding:14px 2px 0}.checks label[b-ajyzizq26y]{display:flex;align-items:center;gap:9px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:10px 14px;font-weight:800;cursor:pointer}.checks input[b-ajyzizq26y]{width:17px;height:17px;accent-color:#16a085}.dialog-actions[b-ajyzizq26y]{display:flex;justify-content:flex-start;gap:10px;padding:14px 22px;border-top:1px solid #edf2f7;background:#fff;flex:0 0 auto;box-shadow:0 -8px 20px rgba(15,23,42,.04)}.form-error[b-ajyzizq26y]{padding:11px 14px;margin-bottom:14px;border:1px solid #fecaca;background:#fef2f2;color:#991b1b;border-radius:12px;font-weight:800;font-size:13px}.rate-grid[b-ajyzizq26y],.account-grid[b-ajyzizq26y]{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:20px}.account-grid[b-ajyzizq26y]{grid-template-columns:repeat(3,1fr);background:#f8fafc;border-top:1px solid #e2e8f0}.payroll-table-wrap.calc[b-ajyzizq26y]{max-height:430px}.payroll-table-wrap.calc input[b-ajyzizq26y]{width:105px;border:1px solid #dbe3ed;border-radius:8px;padding:8px}.details-summary[b-ajyzizq26y]{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:20px}.details-summary div[b-ajyzizq26y]{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:15px}.details-summary span[b-ajyzizq26y]{display:block;color:#64748b;font-size:12px}.details-summary strong[b-ajyzizq26y]{display:block;margin-top:8px;font-size:20px}.form-grid .span-3[b-ajyzizq26y]{grid-column:1/-1}.payroll-table-wrap.calc table[b-ajyzizq26y]{min-width:2050px}.calculation-help[b-ajyzizq26y]{margin:0 20px 12px}
@media(max-width:900px){.payroll-page[b-ajyzizq26y]{padding:14px}.payroll-hero[b-ajyzizq26y]{align-items:flex-start;flex-direction:column}.payroll-summary[b-ajyzizq26y]{grid-template-columns:repeat(2,1fr)}.form-grid[b-ajyzizq26y],.form-grid.two[b-ajyzizq26y],.rate-grid[b-ajyzizq26y],.account-grid[b-ajyzizq26y]{grid-template-columns:1fr}.payroll-card-head[b-ajyzizq26y]{align-items:stretch;flex-direction:column;gap:12px}.payroll-card-head input[b-ajyzizq26y]{min-width:0}.details-summary[b-ajyzizq26y]{grid-template-columns:repeat(2,1fr)}.form-grid .span-3[b-ajyzizq26y]{grid-column:auto}.payroll-overlay[b-ajyzizq26y]{padding:8px}.payroll-dialog[b-ajyzizq26y]{max-height:calc(100vh - 16px);border-radius:16px}.dialog-head[b-ajyzizq26y]{padding:14px 16px}.dialog-body[b-ajyzizq26y]{padding:14px}.dialog-actions[b-ajyzizq26y]{padding:12px 14px}.checks[b-ajyzizq26y]{display:grid;grid-template-columns:1fr}}
@media(max-height:760px){.payroll-overlay[b-ajyzizq26y]{align-items:flex-start}.payroll-dialog[b-ajyzizq26y]{max-height:calc(100vh - 16px)}.dialog-body[b-ajyzizq26y]{padding-top:14px;padding-bottom:14px}.form-section[b-ajyzizq26y]{padding:12px}.form-grid[b-ajyzizq26y]{gap:10px 12px}}

/* Payroll modal scrolling and Jalali date fields */
.payroll-dialog > .dialog-body[b-ajyzizq26y]{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;padding:20px 22px;overscroll-behavior:contain;scrollbar-gutter:stable}
.payroll-dialog.wide > .dialog-body[b-ajyzizq26y]{padding-bottom:28px}
.payroll-dialog .dialog-actions[b-ajyzizq26y]{position:relative;z-index:3}
.payroll-dialog .jalali-input[b-ajyzizq26y]{direction:ltr;text-align:center;letter-spacing:.4px;font-family:inherit}
@media(max-width:900px){.payroll-dialog > .dialog-body[b-ajyzizq26y]{padding:14px 14px 24px}.payroll-dialog.wide[b-ajyzizq26y]{width:min(100%,97vw)}}

/* Employee form validation */
.required-note[b-ajyzizq26y]{display:flex;align-items:center;gap:6px;margin:0 0 14px;padding:9px 12px;border-radius:10px;background:#fff7ed;color:#9a3412;font-size:12px;font-weight:800}
.required-note span[b-ajyzizq26y]{color:#dc2626;font-size:16px;line-height:1}
.employee-form-error[b-ajyzizq26y]{position:sticky;top:0;z-index:4;margin:0 0 12px;box-shadow:0 8px 18px rgba(153,27,27,.08)}
.form-grid label.field-invalid input[b-ajyzizq26y],.form-grid label.field-invalid select[b-ajyzizq26y],.form-grid label.field-invalid textarea[b-ajyzizq26y]{border-color:#ef4444;background:#fffafa;box-shadow:0 0 0 3px rgba(239,68,68,.08)}
.field-error-text[b-ajyzizq26y]{display:block!important;margin-top:6px!important;color:#dc2626!important;font-size:11px!important;font-weight:800!important;line-height:1.5}
.form-grid label>em[b-ajyzizq26y]{margin-right:3px}
.report-actions[b-ajyzizq26y]{display:flex;gap:8px;flex-wrap:wrap}.report-filters[b-ajyzizq26y]{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;padding:18px 22px;background:#F8FAFC;border-bottom:1px solid #e2e8f0}.report-filters label[b-ajyzizq26y]{font-size:11px;font-weight:800;color:#475569}.report-filters input[b-ajyzizq26y],.report-filters select[b-ajyzizq26y]{display:block;width:100%;box-sizing:border-box;margin-top:6px;height:40px;border:1px solid #dbe3ed;border-radius:9px;padding:8px;background:#fff}.report-pager[b-ajyzizq26y]{display:flex;align-items:center;justify-content:center;gap:14px;padding:16px}.report-pager button[b-ajyzizq26y]{border:1px solid #cbd5e1;background:#fff;border-radius:9px;padding:8px 14px}.payslip-print[b-ajyzizq26y]{color:#0D1B2A;background:#fff;padding:18px}.ps-head[b-ajyzizq26y]{display:flex;justify-content:space-between;border-bottom:3px solid #14B8A6;padding-bottom:12px}.ps-head h2[b-ajyzizq26y]{margin:0 0 5px}.ps-brand[b-ajyzizq26y]{display:flex;align-items:center;gap:10px}.ps-brand img[b-ajyzizq26y]{width:54px;height:48px;object-fit:contain}.ps-grid[b-ajyzizq26y]{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}.ps-box[b-ajyzizq26y]{background:#F8FAFC;border:1px solid #dbe3ed;padding:9px}.ps-table[b-ajyzizq26y]{width:100%;border-collapse:collapse;margin:10px 0}.ps-table th[b-ajyzizq26y]{background:#1B263B;color:#fff}.ps-table th[b-ajyzizq26y],.ps-table td[b-ajyzizq26y]{border:1px solid #dbe3ed;padding:7px;text-align:right}.ps-net[b-ajyzizq26y]{background:#0D1B2A;color:#fff;padding:12px;font-size:18px;font-weight:bold;display:flex;justify-content:space-between;margin-bottom:10px}.ps-net strong[b-ajyzizq26y]{color:#5EEAD4}
@media(max-width:900px){.report-filters[b-ajyzizq26y]{grid-template-columns:repeat(2,minmax(0,1fr))}.ps-grid[b-ajyzizq26y]{grid-template-columns:1fr}}

/* Professional payroll finalization */
.post-finalization-panel[b-ajyzizq26y]{padding:0 20px 18px;background:#f8fafc;border-top:1px solid #e2e8f0}
.post-finalization-head[b-ajyzizq26y]{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 4px 16px}.post-finalization-head span[b-ajyzizq26y]{font-size:10px;letter-spacing:1.8px;color:#2563eb;font-weight:900}.post-finalization-head h3[b-ajyzizq26y]{margin:5px 0 4px;font-size:19px;color:#0f172a}.post-finalization-head p[b-ajyzizq26y]{margin:0;color:#64748b;font-size:12px}.payroll-btn.compact[b-ajyzizq26y]{min-height:38px;padding:8px 12px;font-size:12px;white-space:nowrap}
.posting-balance-strip[b-ajyzizq26y]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.posting-balance-strip>div[b-ajyzizq26y]{background:#fff;border:1px solid #e2e8f0;border-radius:13px;padding:12px 14px}.posting-balance-strip span[b-ajyzizq26y]{display:block;color:#64748b;font-size:11px}.posting-balance-strip strong[b-ajyzizq26y]{display:block;margin-top:7px;font-size:16px;color:#0f172a}.posting-balance-strip .balanced[b-ajyzizq26y]{background:#ecfdf5;border-color:#a7f3d0}.posting-balance-strip .balanced strong[b-ajyzizq26y]{color:#047857}.posting-balance-strip .unbalanced[b-ajyzizq26y]{background:#fff7ed;border-color:#fed7aa}.posting-balance-strip .unbalanced strong[b-ajyzizq26y]{color:#c2410c}
.account-groups[b-ajyzizq26y]{display:grid;grid-template-columns:1fr 1.25fr;gap:12px}.account-group-card[b-ajyzizq26y]{background:#fff;border:1px solid #e2e8f0;border-radius:16px;overflow:hidden}.account-group-card>header[b-ajyzizq26y]{padding:13px 16px;border-bottom:1px solid #edf2f7;background:linear-gradient(180deg,#fff,#f8fafc)}.account-group-card>header span[b-ajyzizq26y]{font-size:10px;color:#64748b;font-weight:900}.account-group-card>header h4[b-ajyzizq26y]{margin:3px 0 0;color:#0f172a;font-size:14px}.account-grid.professional[b-ajyzizq26y]{grid-template-columns:1fr;padding:14px;background:#fff;border:0;gap:10px}.account-grid.professional label[b-ajyzizq26y]{background:#f8fafc;border:1px solid #e2e8f0;border-radius:11px;padding:9px 11px}.account-grid.professional select[b-ajyzizq26y]{margin-top:5px;height:40px;background:#fff}.post-validation-message[b-ajyzizq26y]{margin:0 0 12px}.posting-note[b-ajyzizq26y]{display:flex;gap:8px;align-items:flex-start;margin-top:12px;padding:12px 14px;border-radius:12px;background:#eff6ff;border:1px solid #bfdbfe;color:#1e40af;font-size:12px;line-height:1.8}.posting-note strong[b-ajyzizq26y]{white-space:nowrap}.dialog-actions.post-actions[b-ajyzizq26y]{justify-content:flex-start}.post-submit[b-ajyzizq26y]{min-width:190px}
@media(max-width:1000px){.account-groups[b-ajyzizq26y]{grid-template-columns:1fr}.posting-balance-strip[b-ajyzizq26y]{grid-template-columns:repeat(2,minmax(0,1fr))}.post-finalization-head[b-ajyzizq26y]{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.posting-balance-strip[b-ajyzizq26y]{grid-template-columns:1fr}.posting-note[b-ajyzizq26y]{flex-direction:column}.post-submit[b-ajyzizq26y]{min-width:0;flex:1}}

/* Currency and loan layout normalization */
.payroll-summary article strong[b-ajyzizq26y],
.loan-summary article strong[b-ajyzizq26y],
.payroll-table-wrap td[b-ajyzizq26y],
.ps-net strong[b-ajyzizq26y] {
    unicode-bidi: plaintext;
}
.loan-summary[b-ajyzizq26y] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 18px 24px;
    border-bottom: 1px solid #e7edf5;
}
.loan-summary article[b-ajyzizq26y] {
    min-width: 0;
    padding: 18px;
    border: 1px solid #dce6f2;
    border-radius: 16px;
    background: #f8fbff;
    display: grid;
    gap: 8px;
}
.loan-summary article strong[b-ajyzizq26y] { font-size: 22px; line-height: 1.3; overflow-wrap: anywhere; }
.loan-summary article small[b-ajyzizq26y] { color: #64748b; }
.loan-table[b-ajyzizq26y] { min-width: 1120px; }
.loan-table th[b-ajyzizq26y], .loan-table td[b-ajyzizq26y] { vertical-align: middle; white-space: nowrap; }
.loan-table td:first-child[b-ajyzizq26y] { white-space: normal; min-width: 220px; }
@media (max-width: 1100px) { .loan-summary[b-ajyzizq26y] { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 640px) { .loan-summary[b-ajyzizq26y] { grid-template-columns: 1fr; padding: 14px; } }

/* Payroll production dashboard, workflow and reporting */
.payroll-summary[b-ajyzizq26y]{grid-template-columns:repeat(4,minmax(0,1fr))}
.payroll-summary article[b-ajyzizq26y]{min-width:0}
.payroll-summary article strong[b-ajyzizq26y]{overflow-wrap:anywhere}
.workflow-strip[b-ajyzizq26y]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:18px 22px;border-bottom:1px solid #e7edf5;background:#f8fafc}
.workflow-strip>div[b-ajyzizq26y]{position:relative;display:grid;grid-template-columns:auto 1fr;column-gap:10px;row-gap:3px;align-items:center;padding:14px;border:1px solid #dfe7f1;border-radius:15px;background:#fff}
.workflow-strip>div>span[b-ajyzizq26y]{grid-row:1/3;width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#e0e7ff;color:#3730a3;font-weight:900}
.workflow-strip strong[b-ajyzizq26y]{font-size:13px;color:#172033}
.workflow-strip small[b-ajyzizq26y]{font-size:11px;color:#64748b}
.payroll-analytics[b-ajyzizq26y]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:18px 22px;border-bottom:1px solid #e7edf5}
.payroll-analytics article[b-ajyzizq26y]{padding:15px;border:1px solid #e2e8f0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}
.payroll-analytics span[b-ajyzizq26y]{display:block;color:#64748b;font-size:11px}
.payroll-analytics strong[b-ajyzizq26y]{display:block;margin-top:7px;font-size:18px;color:#0f172a}
.payroll-analytics small[b-ajyzizq26y]{display:block;margin-top:4px;color:#94a3b8}
.report-type-tabs[b-ajyzizq26y]{display:flex;gap:8px;flex-wrap:wrap;padding:14px 22px;border-bottom:1px solid #e5eaf1;background:#fff}
.report-type-tabs button[b-ajyzizq26y]{border:1px solid #dbe3ed;background:#fff;color:#475569;border-radius:11px;padding:9px 14px;font:inherit;font-weight:800;cursor:pointer}
.report-type-tabs button.active[b-ajyzizq26y]{background:#0f172a;color:#fff;border-color:#0f172a;box-shadow:0 7px 16px rgba(15,23,42,.14)}
.report-summary[b-ajyzizq26y]{grid-template-columns:repeat(4,minmax(0,1fr))}
.payroll-hero-actions[b-ajyzizq26y]{flex-wrap:wrap}
@media(max-width:1150px){.payroll-summary[b-ajyzizq26y]{grid-template-columns:repeat(3,minmax(0,1fr))}.workflow-strip[b-ajyzizq26y],.payroll-analytics[b-ajyzizq26y]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.payroll-summary[b-ajyzizq26y]{grid-template-columns:repeat(2,minmax(0,1fr))}.workflow-strip[b-ajyzizq26y],.payroll-analytics[b-ajyzizq26y]{grid-template-columns:1fr}.report-summary[b-ajyzizq26y]{grid-template-columns:repeat(2,minmax(0,1fr))}.payroll-hero-actions[b-ajyzizq26y]{width:100%}.payroll-hero-actions .payroll-btn[b-ajyzizq26y]{flex:1 1 145px}}
@media(max-width:460px){.payroll-summary[b-ajyzizq26y],.report-summary[b-ajyzizq26y]{grid-template-columns:1fr}.report-type-tabs[b-ajyzizq26y]{display:grid;grid-template-columns:1fr 1fr}}

/* Production A4 payslip */
.payslip-dialog[b-ajyzizq26y]{background:#eef2f7}.payslip-dialog-head[b-ajyzizq26y]{background:#fff}.payslip-dialog-body[b-ajyzizq26y]{padding:18px!important;background:#e8edf4}.payslip-actions[b-ajyzizq26y]{background:#fff}.payslip-print[b-ajyzizq26y]{width:min(1120px,100%);min-height:740px;margin:0 auto 20px;padding:24px 28px;border:1px solid #dbe3ed;border-radius:18px;background:#fff;color:#0f172a;box-shadow:0 18px 45px rgba(15,23,42,.12);font-variant-numeric:tabular-nums;break-after:page;box-sizing:border-box}.payslip-print:last-child[b-ajyzizq26y]{margin-bottom:0}.ps-head[b-ajyzizq26y]{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding-bottom:14px;border-bottom:3px solid #0f766e}.ps-brand[b-ajyzizq26y]{display:flex;align-items:center;gap:12px;min-width:0}.ps-brand img[b-ajyzizq26y]{width:62px;height:62px;object-fit:contain;border:1px solid #e2e8f0;border-radius:12px;padding:5px}.ps-brand h2[b-ajyzizq26y]{margin:0 0 5px;font-size:22px}.ps-brand small[b-ajyzizq26y]{color:#64748b}.ps-title[b-ajyzizq26y]{text-align:left;display:grid;gap:3px;justify-items:end}.ps-title span[b-ajyzizq26y]{font-size:10px;letter-spacing:2px;color:#0f766e;font-weight:900}.ps-title h1[b-ajyzizq26y]{margin:0;font-size:27px}.ps-title strong[b-ajyzizq26y]{font-size:14px;color:#334155}.ps-document-meta[b-ajyzizq26y]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0}.ps-document-meta>div[b-ajyzizq26y],.ps-identity>div[b-ajyzizq26y],.ps-work-summary>div[b-ajyzizq26y]{min-width:0;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;padding:9px 11px}.ps-document-meta span[b-ajyzizq26y],.ps-identity span[b-ajyzizq26y],.ps-work-summary span[b-ajyzizq26y]{display:block;font-size:10px;color:#64748b;margin-bottom:4px}.ps-document-meta strong[b-ajyzizq26y],.ps-identity strong[b-ajyzizq26y],.ps-work-summary strong[b-ajyzizq26y]{display:block;font-size:12px;overflow-wrap:anywhere}.ps-identity[b-ajyzizq26y]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:10px}.ps-identity .wide[b-ajyzizq26y]{grid-column:span 2}.ps-work-summary[b-ajyzizq26y]{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:12px}.ps-work-summary>div[b-ajyzizq26y]{text-align:center;background:#ecfeff;border-color:#bae6fd}.ps-columns[b-ajyzizq26y]{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:stretch}.ps-panel[b-ajyzizq26y]{border:1px solid #dbe3ed;border-radius:13px;overflow:hidden;background:#fff}.ps-panel-title[b-ajyzizq26y]{display:flex;align-items:center;justify-content:space-between;padding:11px 13px;font-weight:900}.ps-panel-title.income[b-ajyzizq26y]{background:#ecfdf5;color:#065f46;border-bottom:1px solid #a7f3d0}.ps-panel-title.deduction[b-ajyzizq26y]{background:#fff1f2;color:#9f1239;border-bottom:1px solid #fecdd3}.ps-table.compact-table[b-ajyzizq26y]{width:100%;margin:0;border-collapse:collapse}.ps-table.compact-table th[b-ajyzizq26y],.ps-table.compact-table td[b-ajyzizq26y]{padding:8px 10px;border:0;border-bottom:1px solid #edf2f7;font-size:11px}.ps-table.compact-table th[b-ajyzizq26y]{background:#f8fafc;color:#475569}.ps-table.compact-table th:last-child[b-ajyzizq26y],.ps-table.compact-table td:last-child[b-ajyzizq26y]{text-align:left;direction:ltr;white-space:nowrap}.ps-table.compact-table tfoot td[b-ajyzizq26y]{background:#f8fafc;font-weight:900;border-bottom:0}.ps-financial-summary[b-ajyzizq26y]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:12px}.ps-financial-summary>div[b-ajyzizq26y]{border:1px solid #dbe3ed;border-radius:11px;padding:11px;background:#f8fafc}.ps-financial-summary span[b-ajyzizq26y]{display:block;font-size:10px;color:#64748b}.ps-financial-summary strong[b-ajyzizq26y]{display:block;margin-top:6px;font-size:15px}.ps-financial-summary .net[b-ajyzizq26y]{background:#0f172a;color:#fff;border-color:#0f172a}.ps-financial-summary .net span[b-ajyzizq26y]{color:#cbd5e1}.ps-financial-summary .net strong[b-ajyzizq26y]{color:#5eead4;font-size:18px}.ps-description[b-ajyzizq26y]{margin-top:12px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:10px;background:#fffbeb}.ps-description span[b-ajyzizq26y]{font-size:10px;color:#92400e;font-weight:900}.ps-description p[b-ajyzizq26y]{margin:5px 0 0;font-size:11px;line-height:1.8}.ps-signatures[b-ajyzizq26y]{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:22px}.ps-signatures>div[b-ajyzizq26y]{height:74px;border-top:1px dashed #94a3b8;padding-top:8px;text-align:center;color:#475569;font-size:11px}.ps-signatures strong[b-ajyzizq26y]{display:block;height:42px}.ps-footer[b-ajyzizq26y]{display:flex;justify-content:space-between;gap:12px;margin-top:10px;padding-top:9px;border-top:1px solid #e2e8f0;font-size:9px;color:#64748b}.ps-footer span[b-ajyzizq26y]{overflow-wrap:anywhere}.ps-line[b-ajyzizq26y],.ps-attendance[b-ajyzizq26y],.ps-net[b-ajyzizq26y]{display:none}
@media(max-width:900px){.payslip-dialog-body[b-ajyzizq26y]{padding:8px!important}.payslip-print[b-ajyzizq26y]{padding:16px;border-radius:12px}.ps-document-meta[b-ajyzizq26y],.ps-identity[b-ajyzizq26y]{grid-template-columns:repeat(2,minmax(0,1fr))}.ps-work-summary[b-ajyzizq26y]{grid-template-columns:repeat(3,minmax(0,1fr))}.ps-columns[b-ajyzizq26y]{grid-template-columns:1fr}.ps-financial-summary[b-ajyzizq26y]{grid-template-columns:repeat(2,minmax(0,1fr))}.ps-footer[b-ajyzizq26y]{flex-direction:column}.ps-title h1[b-ajyzizq26y]{font-size:22px}}
@media print{body *[b-ajyzizq26y]{visibility:hidden!important}#payroll-print-area[b-ajyzizq26y],#payroll-print-area *[b-ajyzizq26y]{visibility:visible!important}.payroll-overlay[b-ajyzizq26y]{position:absolute!important;inset:0!important;padding:0!important;background:#fff!important;overflow:visible!important}.payroll-dialog[b-ajyzizq26y]{width:100%!important;max-height:none!important;box-shadow:none!important;background:#fff!important}.dialog-head[b-ajyzizq26y],.dialog-actions[b-ajyzizq26y]{display:none!important}.dialog-body[b-ajyzizq26y]{padding:0!important;overflow:visible!important;background:#fff!important}.payslip-print[b-ajyzizq26y]{width:100%!important;min-height:0!important;margin:0!important;padding:8mm 9mm!important;border:0!important;border-radius:0!important;box-shadow:none!important;page-break-after:always!important}.payslip-print:last-child[b-ajyzizq26y]{page-break-after:auto!important}.ps-head[b-ajyzizq26y]{padding-bottom:3mm}.ps-document-meta[b-ajyzizq26y]{margin:3mm 0}.ps-document-meta>div[b-ajyzizq26y],.ps-identity>div[b-ajyzizq26y],.ps-work-summary>div[b-ajyzizq26y]{break-inside:avoid}.ps-table.compact-table th[b-ajyzizq26y],.ps-table.compact-table td[b-ajyzizq26y]{padding:2.2mm 2.5mm;font-size:9pt}.ps-panel-title[b-ajyzizq26y]{padding:2.5mm 3mm}.ps-signatures[b-ajyzizq26y]{margin-top:6mm}.ps-footer[b-ajyzizq26y]{margin-top:3mm}@page{size:A4 portrait;margin:0}}

/* Final compact A4 payslip corrections */
.payslip-print[b-ajyzizq26y]{min-height:0!important;padding:18px 22px!important}
.ps-head[b-ajyzizq26y]{padding-bottom:10px!important}
.ps-document-meta[b-ajyzizq26y]{margin:10px 0!important}
.ps-identity[b-ajyzizq26y]{margin-bottom:8px!important}
.ps-work-summary[b-ajyzizq26y]{margin-bottom:9px!important}
.ps-columns[b-ajyzizq26y]{gap:10px!important;align-items:stretch!important}
.ps-panel[b-ajyzizq26y]{display:flex;flex-direction:column;break-inside:avoid;page-break-inside:avoid}
.ps-panel .ps-table[b-ajyzizq26y]{flex:1}
.ps-table.compact-table tbody tr[b-ajyzizq26y]{height:30px}
.ps-table.compact-table th[b-ajyzizq26y],.ps-table.compact-table td[b-ajyzizq26y]{font-variant-numeric:tabular-nums}
.ps-financial-summary[b-ajyzizq26y]{grid-template-columns:repeat(4,minmax(0,1fr))!important;margin-top:10px!important}
.ps-financial-summary .debt[b-ajyzizq26y]{background:#fff7ed;border-color:#fdba74;color:#9a3412}
.ps-financial-summary .debt span[b-ajyzizq26y]{color:#c2410c}
.ps-financial-summary .net[b-ajyzizq26y]{grid-column:span 2}
.ps-signatures[b-ajyzizq26y]{grid-template-columns:repeat(4,1fr)!important;gap:12px!important;margin-top:16px!important}
.ps-signatures>div[b-ajyzizq26y]{height:62px!important;break-inside:avoid;page-break-inside:avoid}
.ps-footer[b-ajyzizq26y]{margin-top:6px!important}
@media(max-width:900px){.ps-financial-summary[b-ajyzizq26y]{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ps-signatures[b-ajyzizq26y]{grid-template-columns:repeat(2,1fr)!important}.ps-financial-summary .net[b-ajyzizq26y]{grid-column:span 2}}
@media print{
  html[b-ajyzizq26y],body[b-ajyzizq26y]{height:auto!important;overflow:visible!important;background:#fff!important}
  #payroll-print-area[b-ajyzizq26y]{position:absolute!important;inset:0!important;width:100%!important;height:auto!important;overflow:visible!important}
  .payslip-print[b-ajyzizq26y]{padding:7mm 10mm!important;break-inside:avoid!important;page-break-inside:avoid!important;overflow:visible!important;font-family:Tahoma,"Segoe UI",sans-serif!important}
  .ps-head[b-ajyzizq26y],.ps-document-meta[b-ajyzizq26y],.ps-identity[b-ajyzizq26y],.ps-work-summary[b-ajyzizq26y],.ps-columns[b-ajyzizq26y],.ps-financial-summary[b-ajyzizq26y],.ps-signatures[b-ajyzizq26y],.ps-footer[b-ajyzizq26y]{break-inside:avoid!important;page-break-inside:avoid!important}
  .ps-document-meta[b-ajyzizq26y]{margin:2.5mm 0!important}
  .ps-identity[b-ajyzizq26y]{margin-bottom:2mm!important}
  .ps-work-summary[b-ajyzizq26y]{margin-bottom:2.5mm!important}
  .ps-table.compact-table th[b-ajyzizq26y],.ps-table.compact-table td[b-ajyzizq26y]{padding:1.65mm 2.2mm!important;font-size:8.5pt!important}
  .ps-table.compact-table tbody tr[b-ajyzizq26y]{height:auto!important}
  .ps-panel-title[b-ajyzizq26y]{padding:2mm 2.5mm!important}
  .ps-financial-summary[b-ajyzizq26y]{margin-top:2.5mm!important;gap:2mm!important}
  .ps-financial-summary>div[b-ajyzizq26y]{padding:2.2mm!important}
  .ps-signatures[b-ajyzizq26y]{margin-top:4mm!important;gap:4mm!important}
  .ps-signatures>div[b-ajyzizq26y]{height:18mm!important}
  .ps-footer[b-ajyzizq26y]{margin-top:2mm!important}
  @page{size:A4 portrait;margin:10mm 12mm!important}
}

/* Definitive single-page A4 print layout */
@media print {
  html[b-ajyzizq26y], body[b-ajyzizq26y] {
    width: 210mm !important;
    min-width: 210mm !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: #fff !important;
  }

  #payroll-print-area[b-ajyzizq26y] {
    position: static !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    direction: rtl !important;
  }

  .payslip-print[b-ajyzizq26y] {
    width: 190mm !important;
    max-width: 190mm !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
    font-family: Tahoma, "Segoe UI", sans-serif !important;
    font-size: 8.3pt !important;
    line-height: 1.35 !important;
  }

  .ps-head[b-ajyzizq26y] {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 5mm !important;
    min-height: 18mm !important;
    padding: 0 0 2.5mm !important;
    border-bottom-width: 0.7mm !important;
  }

  .ps-brand[b-ajyzizq26y] { display: flex !important; align-items: center !important; gap: 3mm !important; }
  .ps-brand img[b-ajyzizq26y] { width: 14mm !important; height: 14mm !important; padding: 1mm !important; border-radius: 2mm !important; }
  .ps-brand h2[b-ajyzizq26y] { margin: 0 0 1mm !important; font-size: 15pt !important; }
  .ps-brand small[b-ajyzizq26y] { font-size: 8pt !important; }
  .ps-title[b-ajyzizq26y] { display: grid !important; justify-items: start !important; text-align: right !important; gap: .5mm !important; }
  .ps-title span[b-ajyzizq26y] { font-size: 7pt !important; letter-spacing: 1.5px !important; }
  .ps-title h1[b-ajyzizq26y] { margin: 0 !important; font-size: 17pt !important; }
  .ps-title strong[b-ajyzizq26y] { font-size: 10pt !important; }

  .ps-document-meta[b-ajyzizq26y] {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1.5mm !important;
    margin: 2mm 0 !important;
  }

  .ps-identity[b-ajyzizq26y] {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1.5mm !important;
    margin: 0 0 1.5mm !important;
  }

  .ps-identity .wide[b-ajyzizq26y] { grid-column: span 2 !important; }

  .ps-work-summary[b-ajyzizq26y] {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 1.5mm !important;
    margin: 0 0 2mm !important;
  }

  .ps-document-meta > div[b-ajyzizq26y],
  .ps-identity > div[b-ajyzizq26y],
  .ps-work-summary > div[b-ajyzizq26y] {
    display: block !important;
    min-width: 0 !important;
    padding: 1.6mm 2mm !important;
    border-radius: 2mm !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .ps-document-meta span[b-ajyzizq26y],
  .ps-identity span[b-ajyzizq26y],
  .ps-work-summary span[b-ajyzizq26y] {
    margin-bottom: .7mm !important;
    font-size: 6.5pt !important;
    line-height: 1.2 !important;
  }

  .ps-document-meta strong[b-ajyzizq26y],
  .ps-identity strong[b-ajyzizq26y],
  .ps-work-summary strong[b-ajyzizq26y] {
    font-size: 8pt !important;
    line-height: 1.25 !important;
    white-space: normal !important;
  }

  .ps-columns[b-ajyzizq26y] {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 2.5mm !important;
    align-items: stretch !important;
    margin: 0 !important;
  }

  .ps-panel[b-ajyzizq26y] {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    border-radius: 2.5mm !important;
    overflow: hidden !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .ps-panel-title[b-ajyzizq26y] {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 2mm 2.5mm !important;
    font-size: 10pt !important;
    line-height: 1.2 !important;
  }

  .ps-table.compact-table[b-ajyzizq26y] {
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
  }

  .ps-table.compact-table th[b-ajyzizq26y],
  .ps-table.compact-table td[b-ajyzizq26y] {
    padding: 1.25mm 2mm !important;
    font-size: 8pt !important;
    line-height: 1.25 !important;
    vertical-align: middle !important;
  }

  .ps-table.compact-table th:first-child[b-ajyzizq26y],
  .ps-table.compact-table td:first-child[b-ajyzizq26y] { width: 62% !important; text-align: right !important; }
  .ps-table.compact-table th:last-child[b-ajyzizq26y],
  .ps-table.compact-table td:last-child[b-ajyzizq26y] { width: 38% !important; text-align: left !important; direction: ltr !important; }
  .ps-table.compact-table tbody tr[b-ajyzizq26y] { height: 7mm !important; }

  .ps-financial-summary[b-ajyzizq26y] {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1.5mm !important;
    margin: 2mm 0 0 !important;
  }

  .ps-financial-summary > div[b-ajyzizq26y] {
    min-width: 0 !important;
    padding: 1.7mm 2mm !important;
    border-radius: 2mm !important;
  }

  .ps-financial-summary span[b-ajyzizq26y] { font-size: 6.5pt !important; }
  .ps-financial-summary strong[b-ajyzizq26y] { margin-top: .8mm !important; font-size: 9pt !important; }
  .ps-financial-summary .net[b-ajyzizq26y] { grid-column: span 2 !important; }
  .ps-financial-summary .net strong[b-ajyzizq26y] { font-size: 11pt !important; }

  .ps-description[b-ajyzizq26y] {
    margin-top: 1.5mm !important;
    padding: 1.5mm 2mm !important;
    border-radius: 2mm !important;
  }
  .ps-description span[b-ajyzizq26y] { font-size: 6.5pt !important; }
  .ps-description p[b-ajyzizq26y] { margin: .8mm 0 0 !important; font-size: 7.5pt !important; line-height: 1.45 !important; }

  .ps-signatures[b-ajyzizq26y] {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 5mm !important;
    margin-top: 4mm !important;
  }

  .ps-signatures > div[b-ajyzizq26y] {
    height: 15mm !important;
    padding-top: 1.5mm !important;
    font-size: 7.5pt !important;
  }
  .ps-signatures strong[b-ajyzizq26y] { height: 9mm !important; }

  .ps-footer[b-ajyzizq26y] {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    gap: 3mm !important;
    margin-top: 2mm !important;
    padding-top: 1.5mm !important;
    font-size: 6.5pt !important;
  }

  @page { size: A4 portrait; margin: 8mm 10mm !important; }
}

/* Selectable payslip print paper size */
.payslip-actions[b-ajyzizq26y]{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.payslip-paper-selector[b-ajyzizq26y]{display:inline-flex;align-items:center;padding:3px;border:1px solid #cbd5e1;border-radius:11px;background:#f8fafc;direction:ltr}
.payslip-paper-selector button[b-ajyzizq26y]{min-width:88px;height:36px;border:0;border-radius:8px;background:transparent;color:#475569;font:inherit;font-size:12px;font-weight:900;cursor:pointer}
.payslip-paper-selector button.active[b-ajyzizq26y]{background:#0f766e;color:#fff;box-shadow:0 3px 10px rgba(15,118,110,.22)}
@media(max-width:640px){.payslip-actions[b-ajyzizq26y]{justify-content:center}.payslip-paper-selector[b-ajyzizq26y]{order:3;width:100%}.payslip-paper-selector button[b-ajyzizq26y]{flex:1}}

/* Final selectable A4/A5 payslip preview and print isolation */
.payslip-dialog-body[b-ajyzizq26y]{overflow:auto!important}
#payroll-print-area[b-ajyzizq26y]{display:grid;gap:18px;align-content:start}
#payroll-print-area .payslip-print[b-ajyzizq26y]{break-after:auto!important;page-break-after:auto!important;min-height:0!important;overflow:visible!important}
#payroll-print-area .ps-brand img[b-ajyzizq26y]{max-width:62px!important;max-height:62px!important}
@media screen and (max-width:900px){#payroll-print-area .payslip-print[b-ajyzizq26y]{width:100%!important}}
@media print{
  body>*:not(.payroll-overlay)[b-ajyzizq26y]{display:none!important}
  .payroll-overlay:not([open])[b-ajyzizq26y]{display:none!important}
  #payroll-print-area[b-ajyzizq26y]{display:block!important}
}
/* /Components/Pages/PersonLedger.razor.rz.scp.css */
.person-ledger[b-0avmt2h0pn]{min-height:100%;padding:28px;color:#0f172a}.person-ledger[b-0avmt2h0pn],.person-ledger *[b-0avmt2h0pn]{box-sizing:border-box}.person-ledger__hero[b-0avmt2h0pn]{padding:26px;border:1px solid #dbe4f0;border-radius:24px;display:flex;align-items:center;justify-content:space-between;gap:22px;background:radial-gradient(circle at 12% 20%,rgba(99,102,241,.15),transparent 32%),linear-gradient(135deg,#fff,#f8fbff);box-shadow:0 18px 45px rgba(15,23,42,.07)}.person-ledger__eyebrow[b-0avmt2h0pn]{display:block;margin-bottom:8px;color:var(--erp-primary, #4f46e5);font-size:11px;font-weight:1000;letter-spacing:.7px}.person-ledger__hero h1[b-0avmt2h0pn]{margin:0;font-size:30px;font-weight:1000}.person-ledger__hero p[b-0avmt2h0pn]{margin:9px 0 0;color:#64748b;font-size:13px;font-weight:700}.person-ledger__hero-actions[b-0avmt2h0pn]{display:flex;flex-wrap:wrap;gap:10px}.person-ledger__button[b-0avmt2h0pn]{min-height:45px;padding:0 18px;border-radius:14px;font:900 13px inherit;cursor:pointer}.person-ledger__button:disabled[b-0avmt2h0pn]{opacity:.5;cursor:not-allowed}.person-ledger__button.primary[b-0avmt2h0pn]{border:1px solid #6d28d9;color:var(--erp-on-brand, #ffffff);background:linear-gradient(135deg,var(--erp-primary, #4f46e5),var(--erp-accent, #7c3aed));box-shadow:0 12px 28px rgba(79,70,229,.22)}.person-ledger__button.secondary[b-0avmt2h0pn]{border:1px solid #dbe4f0;color:#334155;background:#fff}.person-ledger__filters[b-0avmt2h0pn]{margin-top:18px;padding:20px;border:1px solid #dbe4f0;border-radius:22px;display:grid;grid-template-columns:1.2fr 1.5fr 1fr 1fr;gap:14px;background:#fff;box-shadow:0 14px 34px rgba(15,23,42,.05)}.person-ledger__filter-type>span[b-0avmt2h0pn],.person-ledger__field label[b-0avmt2h0pn]{display:block;margin-bottom:9px;color:#475569;font-size:12px;font-weight:900}.person-ledger__segmented[b-0avmt2h0pn]{height:48px;padding:4px;border:1px solid #dbe4f0;border-radius:14px;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;background:#f8fafc}.person-ledger__segmented button[b-0avmt2h0pn]{border:0;border-radius:10px;color:#64748b;background:transparent;font:900 12px inherit;cursor:pointer}.person-ledger__segmented button.active[b-0avmt2h0pn]{color:var(--erp-on-brand, #ffffff);background:linear-gradient(135deg,var(--erp-primary, #4f46e5),var(--erp-accent, #7c3aed));box-shadow:0 8px 18px rgba(79,70,229,.2)}.person-ledger__field select[b-0avmt2h0pn],.person-ledger__field input[b-0avmt2h0pn]{width:100%;height:48px;padding:0 14px;border:1px solid #dbe4f0;border-radius:14px;outline:0;color:#0f172a;background:#f8fafc;font:800 12px inherit}.person-ledger__field select:focus[b-0avmt2h0pn],.person-ledger__field input:focus[b-0avmt2h0pn]{border-color:var(--erp-primary, #818cf8);box-shadow:0 0 0 4px rgba(99,102,241,.1)}.person-ledger__message[b-0avmt2h0pn],.person-ledger__state[b-0avmt2h0pn]{margin-top:18px;padding:17px;border-radius:17px;text-align:center;font-size:13px;font-weight:900}.person-ledger__message.error[b-0avmt2h0pn]{border:1px solid #fecaca;color:#b91c1c;background:#fef2f2}.person-ledger__state[b-0avmt2h0pn]{border:1px dashed #cbd5e1;color:#64748b;background:#fff}.person-ledger__summary[b-0avmt2h0pn]{margin-top:18px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.person-ledger__summary article[b-0avmt2h0pn]{padding:18px;border:1px solid #dbe4f0;border-radius:19px;background:#fff;box-shadow:0 10px 26px rgba(15,23,42,.05)}.person-ledger__summary span[b-0avmt2h0pn],.person-ledger__summary small[b-0avmt2h0pn]{display:block;color:#64748b;font-size:11px;font-weight:800}.person-ledger__summary strong[b-0avmt2h0pn]{display:block;margin:8px 0 6px;font-size:24px;font-weight:1000}.person-ledger__summary strong.date[b-0avmt2h0pn]{font-size:19px}.person-ledger__summary .balance-positive strong[b-0avmt2h0pn]{color:#059669}.person-ledger__summary .balance-negative strong[b-0avmt2h0pn]{color:#dc2626}.person-ledger__card[b-0avmt2h0pn]{margin-top:18px;padding:22px;border:1px solid #dbe4f0;border-radius:24px;background:#fff;box-shadow:0 18px 42px rgba(15,23,42,.06)}.person-ledger__card-header[b-0avmt2h0pn]{padding-bottom:18px;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;gap:18px}.person-ledger__card-header span[b-0avmt2h0pn]{color:var(--erp-primary, #4f46e5);font-size:11px;font-weight:1000}.person-ledger__card-header h2[b-0avmt2h0pn]{margin:7px 0 0;font-size:20px;font-weight:1000}.person-ledger__identity[b-0avmt2h0pn]{display:flex;flex-wrap:wrap;gap:8px}.person-ledger__identity span[b-0avmt2h0pn]{padding:8px 11px;border:1px solid #dbe4f0;border-radius:11px;color:#475569;background:#f8fafc}.person-ledger__table-wrap[b-0avmt2h0pn]{margin-top:18px;overflow:auto;border:1px solid #e2e8f0;border-radius:18px}.person-ledger__table[b-0avmt2h0pn]{width:100%;min-width:1050px;border-collapse:collapse}.person-ledger__table th[b-0avmt2h0pn]{padding:14px 12px;border-bottom:1px solid #dbe4f0;color:#475569;background:#f8fafc;font-size:11px;font-weight:1000;white-space:nowrap}.person-ledger__table td[b-0avmt2h0pn]{padding:14px 12px;border-bottom:1px solid #eef2f7;color:#334155;font-size:12px;font-weight:750;vertical-align:middle}.person-ledger__table tbody tr:hover[b-0avmt2h0pn]{background:#fafbff}.person-ledger__table .index[b-0avmt2h0pn]{text-align:center;color:#94a3b8}.person-ledger__table .date[b-0avmt2h0pn],.person-ledger__table .number[b-0avmt2h0pn]{white-space:nowrap;font-weight:900}.person-ledger__table .description[b-0avmt2h0pn]{min-width:260px}.person-ledger__table .money[b-0avmt2h0pn]{direction:ltr;text-align:right;white-space:nowrap;font-weight:1000}.person-ledger__table .debit[b-0avmt2h0pn]{color:#b45309}.person-ledger__table .credit[b-0avmt2h0pn]{color:#047857}.person-ledger__table .balance[b-0avmt2h0pn]{color:#1d4ed8}.person-ledger__table .balance.negative[b-0avmt2h0pn]{color:#dc2626}.person-ledger__type[b-0avmt2h0pn]{display:inline-flex;padding:6px 9px;border-radius:9px;font-size:10px;font-weight:1000;white-space:nowrap}.person-ledger__type.sale[b-0avmt2h0pn]{color:#1d4ed8;background:#eff6ff}.person-ledger__type.purchase[b-0avmt2h0pn]{color:var(--erp-accent, #7c3aed);background:#f5f3ff}.person-ledger__type.payment[b-0avmt2h0pn]{color:#047857;background:#ecfdf5}.person-ledger__type.cheque[b-0avmt2h0pn]{color:#b45309;background:#fffbeb}.person-ledger__type.other[b-0avmt2h0pn]{color:#475569;background:#f1f5f9}.person-ledger__table tfoot td[b-0avmt2h0pn]{padding:15px 12px;border:0;color:#0f172a;background:#f8fafc;font-weight:1000}.person-ledger__empty[b-0avmt2h0pn]{margin-top:18px;padding:44px;border:1px dashed #cbd5e1;border-radius:17px;color:#64748b;text-align:center;font-weight:900}@media(max-width:1150px){.person-ledger__filters[b-0avmt2h0pn]{grid-template-columns:repeat(2,minmax(0,1fr))}.person-ledger__summary[b-0avmt2h0pn]{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.person-ledger[b-0avmt2h0pn]{padding:14px}.person-ledger__hero[b-0avmt2h0pn]{align-items:flex-start;flex-direction:column}.person-ledger__hero-actions[b-0avmt2h0pn]{width:100%}.person-ledger__hero-actions .person-ledger__button[b-0avmt2h0pn]{flex:1}.person-ledger__filters[b-0avmt2h0pn],.person-ledger__summary[b-0avmt2h0pn]{grid-template-columns:1fr}.person-ledger__card-header[b-0avmt2h0pn]{align-items:flex-start;flex-direction:column}}
@media print{.person-ledger[b-0avmt2h0pn]{padding:0}.person-ledger__hero-actions[b-0avmt2h0pn],.person-ledger__filters[b-0avmt2h0pn],.pro-sidebar[b-0avmt2h0pn],.erp-topbar[b-0avmt2h0pn]{display:none!important}.person-ledger__hero[b-0avmt2h0pn],.person-ledger__card[b-0avmt2h0pn],.person-ledger__summary article[b-0avmt2h0pn]{box-shadow:none}.person-ledger__table-wrap[b-0avmt2h0pn]{overflow:visible}.person-ledger__table[b-0avmt2h0pn]{min-width:0;font-size:10px}}


/* Balance values are always unsigned; accounting nature is shown explicitly. */
.person-ledger__table .balance[b-0avmt2h0pn] {
    display: grid;
    justify-items: start;
    gap: 3px;
}

.person-ledger__table .balance > span[b-0avmt2h0pn] {
    direction: ltr;
    font-weight: 1000;
}

.person-ledger__table .balance > small[b-0avmt2h0pn],
.person-ledger__table tfoot small[b-0avmt2h0pn] {
    display: block;
    font-size: 9px;
    font-weight: 900;
}

.person-ledger__table .balance-debtor[b-0avmt2h0pn],
.person-ledger__summary .balance-debtor strong[b-0avmt2h0pn] {
    color: #b45309;
}

.person-ledger__table .balance-creditor[b-0avmt2h0pn],
.person-ledger__summary .balance-creditor strong[b-0avmt2h0pn] {
    color: #047857;
}

.person-ledger__table .balance-settled[b-0avmt2h0pn],
.person-ledger__summary .balance-settled strong[b-0avmt2h0pn] {
    color: #64748b;
}

.person-ledger__footer-balance[b-0avmt2h0pn] {
    display: block;
    direction: ltr;
    font-weight: 1000;
}

.person-ledger__type.payroll[b-0avmt2h0pn]{color:#1d4ed8;background:#dbeafe}.person-ledger__type.salary-payment[b-0avmt2h0pn]{color:#047857;background:#d1fae5}.person-ledger__type.advance[b-0avmt2h0pn]{color:#b45309;background:#fef3c7}.person-ledger__type.loan[b-0avmt2h0pn]{color:#7c3aed;background:#ede9fe}.person-ledger__type.employee-payment[b-0avmt2h0pn]{color:#0f766e;background:#ccfbf1}

/* Keep this page aligned with the application light/dark color-scheme.
   light-dark() follows the color-scheme set by the ERP shell on body. */
.person-ledger[b-0avmt2h0pn] {
    --person-ledger-surface: light-dark(#ffffff, #0f172a);
    --person-ledger-surface-soft: light-dark(#f8fafc, #111c31);
    --person-ledger-surface-hover: light-dark(#fafbff, #172036);
    --person-ledger-text: var(--erp-final-text, light-dark(#0f172a, #f8fafc));
    --person-ledger-muted: var(--erp-final-muted, light-dark(#64748b, #cbd5e1));
    --person-ledger-border: var(--erp-final-border, light-dark(#dbe4f0, #334155));
    --person-ledger-border-soft: light-dark(#eef2f7, #1e293b);
    --person-ledger-shadow: light-dark(rgba(15, 23, 42, .07), rgba(0, 0, 0, .28));
    color: var(--person-ledger-text);
}

.person-ledger__hero[b-0avmt2h0pn] {
    border-color: var(--person-ledger-border);
    color: var(--person-ledger-text);
    background:
        radial-gradient(circle at 12% 20%, rgba(99, 102, 241, .15), transparent 32%),
        linear-gradient(135deg, var(--person-ledger-surface), var(--person-ledger-surface-soft));
    box-shadow: 0 18px 45px var(--person-ledger-shadow);
}

.person-ledger__hero h1[b-0avmt2h0pn],
.person-ledger__card-header h2[b-0avmt2h0pn],
.person-ledger__summary strong[b-0avmt2h0pn] {
    color: var(--person-ledger-text);
}

.person-ledger__hero p[b-0avmt2h0pn],
.person-ledger__filter-type > span[b-0avmt2h0pn],
.person-ledger__field label[b-0avmt2h0pn],
.person-ledger__summary span[b-0avmt2h0pn],
.person-ledger__summary small[b-0avmt2h0pn],
.person-ledger__table .index[b-0avmt2h0pn],
.person-ledger__empty[b-0avmt2h0pn] {
    color: var(--person-ledger-muted);
}

.person-ledger__button.secondary[b-0avmt2h0pn] {
    border-color: var(--person-ledger-border);
    color: var(--person-ledger-text);
    background: var(--person-ledger-surface-soft);
}

.person-ledger__button.secondary:hover:not(:disabled)[b-0avmt2h0pn] {
    border-color: var(--erp-primary, #6366f1);
    background: var(--person-ledger-surface-hover);
}

.person-ledger__button:disabled[b-0avmt2h0pn] {
    color: var(--person-ledger-muted);
}

.person-ledger__filters[b-0avmt2h0pn],
.person-ledger__summary article[b-0avmt2h0pn],
.person-ledger__card[b-0avmt2h0pn],
.person-ledger__state[b-0avmt2h0pn] {
    border-color: var(--person-ledger-border);
    color: var(--person-ledger-text);
    background: var(--person-ledger-surface);
    box-shadow: 0 14px 34px var(--person-ledger-shadow);
}

.person-ledger__state[b-0avmt2h0pn] {
    border-style: dashed;
    color: var(--person-ledger-muted);
    box-shadow: none;
}

.person-ledger__segmented[b-0avmt2h0pn] {
    border-color: var(--person-ledger-border);
    background: var(--person-ledger-surface-soft);
}

.person-ledger__segmented button[b-0avmt2h0pn] {
    color: var(--person-ledger-muted);
}

.person-ledger__segmented button:hover:not(.active)[b-0avmt2h0pn] {
    color: var(--person-ledger-text);
    background: var(--person-ledger-surface-hover);
}

.person-ledger__segmented button.active[b-0avmt2h0pn] {
    color: var(--erp-on-brand, #ffffff);
}

.person-ledger__field select[b-0avmt2h0pn],
.person-ledger__field input[b-0avmt2h0pn] {
    border-color: var(--person-ledger-border);
    color: var(--person-ledger-text);
    background: var(--person-ledger-surface-soft);
    color-scheme: inherit;
}

.person-ledger__field input[b-0avmt2h0pn]::placeholder {
    color: var(--person-ledger-muted);
    opacity: .85;
}

.person-ledger__field select option[b-0avmt2h0pn] {
    color: var(--person-ledger-text);
    background: var(--person-ledger-surface);
}

.person-ledger__message.error[b-0avmt2h0pn] {
    border-color: light-dark(#fecaca, #7f1d1d);
    color: light-dark(#b91c1c, #fca5a5);
    background: light-dark(#fef2f2, rgba(127, 29, 29, .22));
}

.person-ledger__card-header[b-0avmt2h0pn] {
    border-color: var(--person-ledger-border);
}

.person-ledger__identity span[b-0avmt2h0pn] {
    border-color: var(--person-ledger-border);
    color: var(--person-ledger-muted);
    background: var(--person-ledger-surface-soft);
}

.person-ledger__table-wrap[b-0avmt2h0pn] {
    border-color: var(--person-ledger-border);
    background: var(--person-ledger-surface);
}

.person-ledger__table th[b-0avmt2h0pn] {
    border-color: var(--person-ledger-border);
    color: var(--person-ledger-muted);
    background: var(--person-ledger-surface-soft);
}

.person-ledger__table td[b-0avmt2h0pn] {
    border-color: var(--person-ledger-border-soft);
    color: var(--person-ledger-text);
    background: transparent;
}

.person-ledger__table tbody tr:hover[b-0avmt2h0pn] {
    background: var(--person-ledger-surface-hover);
}

.person-ledger__table tfoot td[b-0avmt2h0pn] {
    color: var(--person-ledger-text);
    background: var(--person-ledger-surface-soft);
}

.person-ledger__empty[b-0avmt2h0pn] {
    border-color: var(--person-ledger-border);
    background: var(--person-ledger-surface-soft);
}

.person-ledger__table .debit[b-0avmt2h0pn],
.person-ledger__table .balance-debtor[b-0avmt2h0pn],
.person-ledger__summary .balance-debtor strong[b-0avmt2h0pn] {
    color: light-dark(#b45309, #fbbf24);
}

.person-ledger__table .credit[b-0avmt2h0pn],
.person-ledger__table .balance-creditor[b-0avmt2h0pn],
.person-ledger__summary .balance-creditor strong[b-0avmt2h0pn] {
    color: light-dark(#047857, #34d399);
}

.person-ledger__table .balance-settled[b-0avmt2h0pn],
.person-ledger__summary .balance-settled strong[b-0avmt2h0pn] {
    color: var(--person-ledger-muted);
}

.person-ledger__type.sale[b-0avmt2h0pn],
.person-ledger__type.payroll[b-0avmt2h0pn] {
    color: light-dark(#1d4ed8, #93c5fd);
    background: light-dark(#eff6ff, rgba(37, 99, 235, .20));
}

.person-ledger__type.purchase[b-0avmt2h0pn],
.person-ledger__type.loan[b-0avmt2h0pn] {
    color: light-dark(#7c3aed, #c4b5fd);
    background: light-dark(#f5f3ff, rgba(124, 58, 237, .20));
}

.person-ledger__type.payment[b-0avmt2h0pn],
.person-ledger__type.salary-payment[b-0avmt2h0pn] {
    color: light-dark(#047857, #6ee7b7);
    background: light-dark(#ecfdf5, rgba(5, 150, 105, .18));
}

.person-ledger__type.cheque[b-0avmt2h0pn],
.person-ledger__type.advance[b-0avmt2h0pn] {
    color: light-dark(#b45309, #fcd34d);
    background: light-dark(#fffbeb, rgba(217, 119, 6, .18));
}

.person-ledger__type.employee-payment[b-0avmt2h0pn] {
    color: light-dark(#0f766e, #5eead4);
    background: light-dark(#ccfbf1, rgba(13, 148, 136, .18));
}

.person-ledger__type.other[b-0avmt2h0pn] {
    color: var(--person-ledger-muted);
    background: var(--person-ledger-surface-soft);
}

@media print {
    .person-ledger[b-0avmt2h0pn] {
        --person-ledger-surface: #ffffff;
        --person-ledger-surface-soft: #f8fafc;
        --person-ledger-surface-hover: #ffffff;
        --person-ledger-text: #0f172a;
        --person-ledger-muted: #64748b;
        --person-ledger-border: #dbe4f0;
        --person-ledger-border-soft: #eef2f7;
        --person-ledger-shadow: transparent;
        color-scheme: light;
    }
}
/* /Components/Pages/PluginMarketplace.razor.rz.scp.css */
.plugin-grid[b-fd5g1rbhxq] {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
    gap: 18px;
}

.plugin-card[b-fd5g1rbhxq] {
    min-height: 260px;
}

.plugin-header[b-fd5g1rbhxq] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.plugin-icon[b-fd5g1rbhxq] {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    object-fit: cover;
    background: #f1f5f9;
}

.plugin-meta[b-fd5g1rbhxq] {
    display: flex;
    gap: 14px;
    color: #64748b;
    font-size: .9rem;
}
/* /Components/Pages/ProductBarcodeDesigner.razor.rz.scp.css */
:host[b-yzw2l1b7xb] {
    display: block;
}

.barcode-pro-page[b-yzw2l1b7xb] {
    --bp-text: #0f172a;
    --bp-muted: #64748b;
    --bp-border: #dbe4f0;
    --bp-soft: #e2e8f0;
    --bp-blue: var(--erp-primary, #2563eb);
    --bp-purple: var(--erp-accent, #7c3aed);
    --bp-green: #059669;
    --bp-red: #be123c;
    min-height: 100vh;
    padding: 24px;
    color: var(--bp-text);
    background:
        radial-gradient(circle at 12% 0%, rgba(124, 58, 237, .08), transparent 340px),
        radial-gradient(circle at 85% 5%, rgba(37, 99, 235, .08), transparent 360px),
        linear-gradient(180deg, #eef4fb 0%, #f8fbff 52%, #eef4fb 100%);
}

.barcode-pro-page *[b-yzw2l1b7xb],
.barcode-pro-page *[b-yzw2l1b7xb]::before,
.barcode-pro-page *[b-yzw2l1b7xb]::after {
    box-sizing: border-box;
}

.barcode-pro-hero[b-yzw2l1b7xb],
.barcode-pro-panel[b-yzw2l1b7xb] {
    border: 1px solid rgba(219, 228, 240, .96);
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 22px 64px rgba(15, 23, 42, .07);
}

.barcode-pro-hero[b-yzw2l1b7xb] {
    min-height: 170px;
    margin-bottom: 18px;
    padding: 28px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        radial-gradient(circle at 0 0, rgba(124, 58, 237, .13), transparent 280px),
        linear-gradient(135deg, #fff, #eff6ff);
}

.barcode-pro-hero-copy[b-yzw2l1b7xb] {
    display: grid;
    gap: 20px;
}

.barcode-pro-breadcrumb[b-yzw2l1b7xb] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--bp-muted);
    font-size: 12px;
    font-weight: 1000;
}

.barcode-pro-breadcrumb span[b-yzw2l1b7xb],
.barcode-pro-breadcrumb b[b-yzw2l1b7xb] {
    min-height: 32px;
    padding: 0 13px;
    border: 1px solid var(--bp-soft);
    border-radius: 999px;
    background: #f8fafc;
    display: inline-flex;
    align-items: center;
}

.barcode-pro-breadcrumb b[b-yzw2l1b7xb] {
    color: #1d4ed8;
    border-color: #bfdbfe;
    background: #dbeafe;
}

.barcode-pro-breadcrumb i[b-yzw2l1b7xb] {
    width: 6px;
    height: 6px;
    border-top: 2px solid #94a3b8;
    border-left: 2px solid #94a3b8;
    transform: rotate(-45deg);
}

.barcode-pro-title-row[b-yzw2l1b7xb] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.barcode-pro-hero-icon[b-yzw2l1b7xb] {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    border-radius: 22px;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    display: grid;
    place-items: center;
    font-size: 34px;
    font-weight: 1000;
    box-shadow: 0 16px 34px rgba(37, 99, 235, .24);
}

.barcode-pro-eyebrow[b-yzw2l1b7xb] {
    min-height: 30px;
    padding: 7px 14px;
    border-radius: 999px;
    color: #1d4ed8;
    background: #eff6ff;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 1000;
}

.barcode-pro-hero h1[b-yzw2l1b7xb] {
    margin: 8px 0 0;
    font-size: 34px;
    font-weight: 1000;
}

.barcode-pro-hero p[b-yzw2l1b7xb] {
    margin: 10px 0 0;
    color: var(--bp-muted);
    font-size: 14px;
    font-weight: 800;
}

.barcode-pro-actions[b-yzw2l1b7xb] {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.barcode-pro-btn[b-yzw2l1b7xb] {
    min-height: 44px;
    padding: 0 17px;
    border: 1px solid var(--bp-border);
    border-radius: 999px;
    color: #334155;
    background: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 1000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease;
}

.barcode-pro-btn:hover:not(:disabled)[b-yzw2l1b7xb] {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, .09);
}

.barcode-pro-btn:disabled[b-yzw2l1b7xb] {
    opacity: .55;
    cursor: not-allowed;
}

.barcode-pro-btn.primary[b-yzw2l1b7xb] {
    color: var(--erp-on-brand, #ffffff);
    border: 0;
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    box-shadow: 0 14px 30px rgba(37, 99, 235, .22);
}

.barcode-pro-btn.full[b-yzw2l1b7xb] {
    width: 100%;
    margin-top: 14px;
}

.barcode-pro-alert[b-yzw2l1b7xb] {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 13px;
    font-weight: 900;
}

.barcode-pro-alert.error[b-yzw2l1b7xb] {
    color: #be123c;
    border: 1px solid #fecdd3;
    background: #fff1f2;
}

.barcode-pro-alert.success[b-yzw2l1b7xb] {
    color: #047857;
    border: 1px solid #a7f3d0;
    background: #ecfdf5;
}

.barcode-pro-alert button[b-yzw2l1b7xb] {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 10px;
    color: inherit;
    background: rgba(255, 255, 255, .75);
    font-size: 20px;
    cursor: pointer;
}

.barcode-pro-workspace[b-yzw2l1b7xb] {
    display: grid;
    grid-template-columns: 250px minmax(520px, 1fr) minmax(390px, 540px);
    gap: 18px;
    align-items: start;
    isolation: isolate;
}

.barcode-pro-panel[b-yzw2l1b7xb] {
    min-width: 0;
    padding: 22px;
    border-radius: 26px;
}

.barcode-pro-presets[b-yzw2l1b7xb],
.barcode-pro-preview-panel[b-yzw2l1b7xb] {
    position: sticky;
    top: 18px;
    max-height: calc(100vh - 36px);
    overflow: auto;
}

.barcode-pro-panel-head[b-yzw2l1b7xb] {
    margin-bottom: 18px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--bp-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.barcode-pro-panel-head span[b-yzw2l1b7xb] {
    color: var(--bp-blue);
    font-size: 10px;
    font-weight: 1000;
}

.barcode-pro-panel-head h2[b-yzw2l1b7xb] {
    margin: 5px 0 0;
    font-size: 18px;
    font-weight: 1000;
}

.barcode-pro-count[b-yzw2l1b7xb],
.barcode-pro-mode[b-yzw2l1b7xb] {
    min-width: 38px;
    min-height: 38px;
    padding: 0 11px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px !important;
    font-weight: 1000;
}

.barcode-pro-count[b-yzw2l1b7xb] {
    color: #6d28d9 !important;
    background: #f3e8ff;
    border: 1px solid #ddd6fe;
}

.barcode-pro-mode[b-yzw2l1b7xb] {
    color: #1d4ed8 !important;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.barcode-pro-preset-list[b-yzw2l1b7xb] {
    display: grid;
    gap: 9px;
}

.barcode-pro-preset[b-yzw2l1b7xb] {
    width: 100%;
    min-height: 96px;
    padding: 13px;
    border: 1px solid var(--bp-soft);
    border-radius: 16px;
    color: var(--bp-text);
    background: #fff;
    text-align: right;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    font-family: inherit;
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.barcode-pro-preset:hover[b-yzw2l1b7xb] {
    transform: translateY(-1px);
    border-color: #bfdbfe;
    background: #f8fbff;
}

.barcode-pro-preset.active[b-yzw2l1b7xb] {
    border-color: #60a5fa;
    background: linear-gradient(135deg, #eff6ff, #f5f3ff);
    box-shadow: 0 10px 24px rgba(37, 99, 235, .1);
}

.barcode-pro-preset-icon[b-yzw2l1b7xb] {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: var(--erp-primary, #2563eb);
    background: #eff6ff;
    border: 1px solid #dbeafe;
    display: grid;
    place-items: center;
    font-size: 22px;
}

.barcode-pro-preset strong[b-yzw2l1b7xb],
.barcode-pro-preset span[b-yzw2l1b7xb],
.barcode-pro-preset small[b-yzw2l1b7xb] {
    display: block;
}

.barcode-pro-preset strong[b-yzw2l1b7xb] {
    font-size: 12px;
    font-weight: 1000;
}

.barcode-pro-preset span[b-yzw2l1b7xb] {
    margin-top: 4px;
    color: var(--bp-muted);
    font-size: 9px;
    font-weight: 800;
    line-height: 1.7;
}

.barcode-pro-preset small[b-yzw2l1b7xb] {
    margin-top: 4px;
    color: #94a3b8;
    font-size: 8px;
    font-weight: 850;
}

.barcode-pro-help[b-yzw2l1b7xb] {
    margin-top: 15px;
    padding: 14px;
    border-radius: 15px;
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.barcode-pro-help span[b-yzw2l1b7xb] {
    color: #b45309;
    font-size: 10px;
    font-weight: 1000;
}

.barcode-pro-help p[b-yzw2l1b7xb] {
    margin: 7px 0 0;
    color: #78350f;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.9;
}

.barcode-pro-section[b-yzw2l1b7xb] {
    margin-bottom: 14px;
    padding: 17px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff, #fbfdff);
}

.barcode-pro-section:last-child[b-yzw2l1b7xb] {
    margin-bottom: 0;
}

.barcode-pro-section-head[b-yzw2l1b7xb] {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.barcode-pro-section-head > span[b-yzw2l1b7xb] {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 12px;
    color: var(--erp-primary, #2563eb);
    background: #eff6ff;
    border: 1px solid #dbeafe;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 1000;
}

.barcode-pro-section-head h3[b-yzw2l1b7xb] {
    margin: 0;
    font-size: 15px;
    font-weight: 1000;
}

.barcode-pro-section-head p[b-yzw2l1b7xb] {
    margin: 5px 0 0;
    color: var(--bp-muted);
    font-size: 11px;
    font-weight: 800;
}

.barcode-pro-form-grid[b-yzw2l1b7xb] {
    display: grid;
    gap: 12px;
}

.barcode-pro-form-grid.two[b-yzw2l1b7xb] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.barcode-pro-form-grid.four[b-yzw2l1b7xb] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.barcode-pro-field.wide[b-yzw2l1b7xb] {
    grid-column: span 2;
}

.barcode-pro-field label[b-yzw2l1b7xb] {
    display: block;
    margin: 0 2px 7px 0;
    color: #334155;
    font-size: 11px;
    font-weight: 1000;
}

.barcode-pro-input[b-yzw2l1b7xb],
.barcode-pro-select[b-yzw2l1b7xb] {
    width: 100%;
    min-height: 49px;
    padding: 0 12px;
    border: 1px solid var(--bp-border);
    border-radius: 13px;
    color: var(--bp-text);
    background: #f8fafc;
    font-family: inherit;
    font-size: 12px;
    font-weight: 850;
    outline: none;
}

.barcode-pro-input.ltr[b-yzw2l1b7xb] {
    direction: ltr;
    text-align: left;
}

.barcode-pro-input:focus[b-yzw2l1b7xb],
.barcode-pro-select:focus[b-yzw2l1b7xb] {
    border-color: rgba(124, 58, 237, .42);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, .08);
}

.barcode-pro-slider-grid[b-yzw2l1b7xb] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.barcode-pro-slider-card[b-yzw2l1b7xb] {
    padding: 14px;
    border: 1px solid var(--bp-soft);
    border-radius: 15px;
    background: #f8fafc;
}

.barcode-pro-slider-head[b-yzw2l1b7xb] {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.barcode-pro-slider-head label[b-yzw2l1b7xb] {
    font-size: 10px;
    font-weight: 1000;
}

.barcode-pro-slider-head strong[b-yzw2l1b7xb] {
    color: var(--erp-primary, #2563eb);
    font-size: 10px;
    font-weight: 1000;
}

.barcode-pro-slider-card input[type="range"][b-yzw2l1b7xb] {
    width: 100%;
    accent-color: var(--erp-primary, #2563eb);
}

.barcode-pro-check-grid[b-yzw2l1b7xb] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.barcode-pro-check[b-yzw2l1b7xb] {
    min-height: 48px;
    padding: 0 12px;
    border: 1px solid var(--bp-border);
    border-radius: 14px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
}

.barcode-pro-check input[b-yzw2l1b7xb] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.barcode-pro-check > span[b-yzw2l1b7xb] {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    border: 2px solid #cbd5e1;
    border-radius: 7px;
    background: #fff;
    position: relative;
}

.barcode-pro-check input:checked + span[b-yzw2l1b7xb] {
    border-color: var(--erp-primary, #2563eb);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
}

.barcode-pro-check input:checked + span[b-yzw2l1b7xb]::after {
    content: "✓";
    position: absolute;
    inset: 0;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 1000;
}

.barcode-pro-check b[b-yzw2l1b7xb] {
    font-size: 10px;
    font-weight: 1000;
}

.barcode-pro-zoom[b-yzw2l1b7xb] {
    display: flex;
    align-items: center;
    gap: 5px;
}

.barcode-pro-zoom button[b-yzw2l1b7xb],
.barcode-pro-zoom span[b-yzw2l1b7xb] {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid var(--bp-border);
    border-radius: 10px;
    color: #334155;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 10px;
    font-weight: 1000;
}

.barcode-pro-zoom button[b-yzw2l1b7xb] {
    cursor: pointer;
}

.barcode-pro-toolbar[b-yzw2l1b7xb] {
    margin-bottom: 12px;
    padding: 8px;
    border: 1px solid var(--bp-border);
    border-radius: 14px;
    background: linear-gradient(180deg, #fff, #f8fafc);
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.barcode-pro-toolbar button[b-yzw2l1b7xb] {
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid var(--bp-border);
    border-radius: 9px;
    color: #475569;
    background: #fff;
    font-family: inherit;
    font-size: 9px;
    font-weight: 1000;
    cursor: pointer;
}

.barcode-pro-toolbar button.active[b-yzw2l1b7xb] {
    color: #1d4ed8;
    border-color: #93c5fd;
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .07);
}

.barcode-pro-preview-stage[b-yzw2l1b7xb] {
    position: relative;
    min-height: 520px;
    padding: 28px;
    overflow: auto;
    border: 1px solid #cbd5e1;
    border-radius: 18px;
    background: #eef2f7;
}

.barcode-pro-preview-stage.grid[b-yzw2l1b7xb] {
    background-color: #eef2f7;
    background-image:
        linear-gradient(rgba(148, 163, 184, .18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, .18) 1px, transparent 1px);
    background-size: 10px 10px;
}

.barcode-pro-preview-zoom[b-yzw2l1b7xb] {
    position: relative;
    width: max-content;
    min-width: 100%;
    transform-origin: top right;
}

.barcode-pro-print-sheet[b-yzw2l1b7xb] {
    width: max-content;
    min-width: 210mm;
    min-height: 297mm;
    padding: 10mm;
    display: grid;
    align-content: start;
    justify-content: start;
    gap: 3mm;
    border: 1px solid #cbd5e1;
    background: #fff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .18);
}

.barcode-pro-label[b-yzw2l1b7xb] {
    overflow: hidden;
    background: #fff;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 4px;
    text-align: center;
}

.barcode-pro-label.with-border[b-yzw2l1b7xb] {
    border: 1px dashed #94a3b8;
}

.barcode-pro-product-name[b-yzw2l1b7xb] {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
    font-weight: 1000;
}

.barcode-pro-product-code[b-yzw2l1b7xb],
.barcode-pro-code[b-yzw2l1b7xb] {
    direction: ltr;
    color: #475569;
    font-size: 10px;
    font-weight: 850;
}

.barcode-pro-bars[b-yzw2l1b7xb] {
    direction: ltr;
    max-width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.barcode-pro-bars span[b-yzw2l1b7xb] {
    display: inline-block;
    flex: 0 0 auto;
    background: #111827;
}

.barcode-pro-price[b-yzw2l1b7xb] {
    font-size: 12px;
    font-weight: 1000;
}

.barcode-pro-qr[b-yzw2l1b7xb] {
    width: 90px;
    height: 90px;
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    gap: 1px;
}

.barcode-pro-qr span[b-yzw2l1b7xb] {
    display: block;
}

.barcode-pro-qr .dark[b-yzw2l1b7xb] {
    background: #111827;
}

.barcode-pro-qr .light[b-yzw2l1b7xb] {
    background: #fff;
}

.barcode-pro-guide[b-yzw2l1b7xb] {
    position: absolute;
    z-index: 3;
    pointer-events: none;
    background: rgba(225, 29, 72, .65);
}

.barcode-pro-guide.horizontal[b-yzw2l1b7xb] {
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
}

.barcode-pro-guide.vertical[b-yzw2l1b7xb] {
    top: 0;
    bottom: 0;
    right: 50%;
    width: 1px;
}

.barcode-pro-preview-stats[b-yzw2l1b7xb] {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.barcode-pro-preview-stats > div[b-yzw2l1b7xb] {
    min-height: 58px;
    padding: 9px;
    border: 1px solid var(--bp-soft);
    border-radius: 13px;
    background: #f8fafc;
    display: grid;
    align-content: center;
    gap: 4px;
}

.barcode-pro-preview-stats span[b-yzw2l1b7xb] {
    color: var(--bp-muted);
    font-size: 8px;
    font-weight: 850;
}

.barcode-pro-preview-stats strong[b-yzw2l1b7xb] {
    font-size: 9px;
    font-weight: 1000;
}

@media (max-width: 1650px) {
    .barcode-pro-workspace[b-yzw2l1b7xb] {
        grid-template-columns: 250px minmax(0, 1fr);
    }

    .barcode-pro-presets[b-yzw2l1b7xb] {
        position: static;
        max-height: none;
    }

    .barcode-pro-preview-panel[b-yzw2l1b7xb] {
        position: static;
        grid-column: 1 / -1;
        max-height: none;
    }
}

@media (max-width: 1050px) {
    .barcode-pro-hero[b-yzw2l1b7xb] {
        flex-direction: column;
        align-items: stretch;
    }

    .barcode-pro-workspace[b-yzw2l1b7xb] {
        grid-template-columns: 1fr;
    }

    .barcode-pro-preview-panel[b-yzw2l1b7xb] {
        grid-column: 1;
    }

    .barcode-pro-form-grid.four[b-yzw2l1b7xb],
    .barcode-pro-check-grid[b-yzw2l1b7xb] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .barcode-pro-page[b-yzw2l1b7xb] {
        padding: 14px;
    }

    .barcode-pro-hero[b-yzw2l1b7xb],
    .barcode-pro-panel[b-yzw2l1b7xb] {
        padding: 18px;
    }

    .barcode-pro-form-grid.two[b-yzw2l1b7xb],
    .barcode-pro-form-grid.four[b-yzw2l1b7xb],
    .barcode-pro-slider-grid[b-yzw2l1b7xb],
    .barcode-pro-check-grid[b-yzw2l1b7xb],
    .barcode-pro-preview-stats[b-yzw2l1b7xb] {
        grid-template-columns: 1fr;
    }

    .barcode-pro-field.wide[b-yzw2l1b7xb] {
        grid-column: span 1;
    }

    .barcode-pro-actions[b-yzw2l1b7xb] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .barcode-pro-btn[b-yzw2l1b7xb] {
        width: 100%;
    }
}
/* /Components/Pages/ProductBarcodePrint.razor.rz.scp.css */
:host[b-9ed54h1mtn] {
    display: block;
}

.barcode-print-page[b-9ed54h1mtn] {
    --bp-text: #0f172a;
    --bp-muted: #64748b;
    --bp-border: #dbe4f0;
    --bp-soft: #e2e8f0;
    --bp-blue: var(--erp-primary, #2563eb);
    --bp-purple: var(--erp-accent, #7c3aed);
    min-height: 100vh;
    padding: 24px;
    color: var(--bp-text);
    background:
        radial-gradient(circle at 12% 0%, rgba(124,58,237,.08), transparent 340px),
        radial-gradient(circle at 88% 4%, rgba(37,99,235,.08), transparent 340px),
        linear-gradient(180deg, #eef4fb 0%, #f8fbff 52%, #eef4fb 100%);
}

.barcode-print-page *[b-9ed54h1mtn],
.barcode-print-page *[b-9ed54h1mtn]::before,
.barcode-print-page *[b-9ed54h1mtn]::after {
    box-sizing: border-box;
}

.barcode-print-hero[b-9ed54h1mtn],
.barcode-print-card[b-9ed54h1mtn],
.barcode-print-summary article[b-9ed54h1mtn] {
    border: 1px solid rgba(219,228,240,.96);
    background: rgba(255,255,255,.98);
    box-shadow: 0 22px 64px rgba(15,23,42,.07);
}

.barcode-print-hero[b-9ed54h1mtn] {
    min-height: 170px;
    margin-bottom: 18px;
    padding: 28px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        radial-gradient(circle at 0 0, rgba(124,58,237,.13), transparent 280px),
        linear-gradient(135deg, #fff, #eff6ff);
}

.barcode-print-hero-copy[b-9ed54h1mtn] {
    display: grid;
    gap: 20px;
}

.barcode-print-breadcrumb[b-9ed54h1mtn] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--bp-muted);
    font-size: 12px;
    font-weight: 1000;
}

.barcode-print-breadcrumb span[b-9ed54h1mtn],
.barcode-print-breadcrumb b[b-9ed54h1mtn] {
    min-height: 32px;
    padding: 0 13px;
    border: 1px solid var(--bp-soft);
    border-radius: 999px;
    background: #f8fafc;
    display: inline-flex;
    align-items: center;
}

.barcode-print-breadcrumb b[b-9ed54h1mtn] {
    color: #1d4ed8;
    border-color: #bfdbfe;
    background: #dbeafe;
}

.barcode-print-breadcrumb i[b-9ed54h1mtn] {
    width: 6px;
    height: 6px;
    border-top: 2px solid #94a3b8;
    border-left: 2px solid #94a3b8;
    transform: rotate(-45deg);
}

.barcode-print-title-row[b-9ed54h1mtn] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.barcode-print-hero-icon[b-9ed54h1mtn] {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    border-radius: 22px;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    display: grid;
    place-items: center;
    font-size: 34px;
    box-shadow: 0 16px 34px rgba(37,99,235,.24);
}

.barcode-print-eyebrow[b-9ed54h1mtn] {
    min-height: 30px;
    padding: 7px 14px;
    border-radius: 999px;
    color: #1d4ed8;
    background: #eff6ff;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 1000;
}

.barcode-print-hero h1[b-9ed54h1mtn] {
    margin: 8px 0 0;
    font-size: 34px;
    font-weight: 1000;
}

.barcode-print-hero p[b-9ed54h1mtn] {
    margin: 10px 0 0;
    color: var(--bp-muted);
    font-size: 14px;
    font-weight: 800;
}

.barcode-print-hero-actions[b-9ed54h1mtn] {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.barcode-print-btn[b-9ed54h1mtn] {
    min-height: 44px;
    padding: 0 17px;
    border: 1px solid var(--bp-border);
    border-radius: 999px;
    color: #334155;
    background: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 1000;
    cursor: pointer;
}

.barcode-print-btn.primary[b-9ed54h1mtn] {
    color: var(--erp-on-brand, #ffffff);
    border: 0;
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    box-shadow: 0 14px 30px rgba(37,99,235,.22);
}

.barcode-print-btn.small[b-9ed54h1mtn] {
    min-height: 36px;
    padding: 0 13px;
    font-size: 10px;
}

.barcode-print-btn.danger[b-9ed54h1mtn] {
    color: #be123c;
    border-color: #fecdd3;
    background: #fff1f2;
}

.barcode-print-btn:disabled[b-9ed54h1mtn] {
    opacity: .52;
    cursor: not-allowed;
}

.barcode-print-alert[b-9ed54h1mtn] {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 13px;
    font-weight: 900;
}

.barcode-print-alert.error[b-9ed54h1mtn] {
    color: #be123c;
    border: 1px solid #fecdd3;
    background: #fff1f2;
}

.barcode-print-alert.success[b-9ed54h1mtn] {
    color: #047857;
    border: 1px solid #a7f3d0;
    background: #ecfdf5;
}

.barcode-print-alert button[b-9ed54h1mtn] {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 10px;
    color: inherit;
    background: rgba(255,255,255,.75);
    font-size: 20px;
    cursor: pointer;
}

.barcode-print-summary[b-9ed54h1mtn] {
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 14px;
}

.barcode-print-summary article[b-9ed54h1mtn] {
    min-height: 104px;
    padding: 18px;
    border-radius: 22px;
    display: grid;
    align-content: center;
    gap: 6px;
}

.barcode-print-summary span[b-9ed54h1mtn] {
    color: var(--bp-muted);
    font-size: 12px;
    font-weight: 900;
}

.barcode-print-summary strong[b-9ed54h1mtn] {
    font-size: 22px;
    font-weight: 1000;
}

.barcode-print-summary small[b-9ed54h1mtn] {
    color: #94a3b8;
    font-size: 10px;
    font-weight: 800;
}

.barcode-print-card[b-9ed54h1mtn] {
    padding: 22px;
    border-radius: 26px;
}

.barcode-print-settings[b-9ed54h1mtn] {
    margin-bottom: 18px;
    overflow: hidden;
}

.barcode-print-card-head[b-9ed54h1mtn] {
    margin-bottom: 18px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--bp-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.barcode-print-card-head.compact[b-9ed54h1mtn] {
    margin-bottom: 14px;
}

.barcode-print-card-head span[b-9ed54h1mtn] {
    color: var(--bp-blue);
    font-size: 10px;
    font-weight: 1000;
}

.barcode-print-card-head h2[b-9ed54h1mtn] {
    margin: 5px 0 0;
    font-size: 19px;
    font-weight: 1000;
}

.barcode-print-card-head p[b-9ed54h1mtn] {
    margin: 6px 0 0;
    color: var(--bp-muted);
    font-size: 11px;
    font-weight: 800;
}

.barcode-print-settings-grid[b-9ed54h1mtn] {
    display: grid;
    grid-template-columns: minmax(320px, 1.6fr) repeat(8, minmax(110px, .7fr));
    gap: 12px;
    align-items: end;
}

.barcode-print-settings-grid > *[b-9ed54h1mtn],
.barcode-print-search[b-9ed54h1mtn],
.barcode-print-field[b-9ed54h1mtn] {
    min-width: 0;
    max-width: 100%;
}

.barcode-print-field label[b-9ed54h1mtn] {
    display: block;
    margin: 0 2px 7px 0;
    color: #334155;
    font-size: 10px;
    font-weight: 1000;
}

.barcode-print-search[b-9ed54h1mtn] {
    position: relative;
    align-self: end;
}

.barcode-print-search > span[b-9ed54h1mtn] {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: var(--bp-muted);
    font-size: 19px;
    pointer-events: none;
}

.barcode-print-search .barcode-print-input[b-9ed54h1mtn] {
    padding-right: 44px;
}

.barcode-print-input[b-9ed54h1mtn],
.barcode-print-select[b-9ed54h1mtn] {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 49px;
    padding: 0 12px;
    border: 1px solid var(--bp-border);
    border-radius: 13px;
    color: var(--bp-text);
    background: #f8fafc;
    font-family: inherit;
    font-size: 11px;
    font-weight: 850;
    outline: none;
}

.barcode-print-input:focus[b-9ed54h1mtn],
.barcode-print-select:focus[b-9ed54h1mtn] {
    border-color: rgba(124,58,237,.42);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(124,58,237,.08);
}

.barcode-print-option-row[b-9ed54h1mtn] {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0,1fr));
    gap: 10px;
}

.barcode-print-option-row label[b-9ed54h1mtn] {
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid var(--bp-border);
    border-radius: 14px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
}

.barcode-print-option-row input[b-9ed54h1mtn],
.barcode-print-item > input[b-9ed54h1mtn] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.barcode-print-option-row label > span[b-9ed54h1mtn],
.barcode-print-checkmark[b-9ed54h1mtn] {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    border: 2px solid #cbd5e1;
    border-radius: 7px;
    background: #fff;
    position: relative;
}

.barcode-print-option-row input:checked + span[b-9ed54h1mtn],
.barcode-print-item input:checked + .barcode-print-checkmark[b-9ed54h1mtn] {
    border-color: var(--erp-primary, #2563eb);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
}

.barcode-print-option-row input:checked + span[b-9ed54h1mtn]::after,
.barcode-print-item input:checked + .barcode-print-checkmark[b-9ed54h1mtn]::after {
    content: "✓";
    position: absolute;
    inset: 0;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 1000;
}

.barcode-print-option-row b[b-9ed54h1mtn] {
    font-size: 10px;
    font-weight: 1000;
}

.barcode-print-workspace[b-9ed54h1mtn] {
    display: grid;
    grid-template-columns: 340px minmax(0,1fr);
    gap: 18px;
    align-items: start;
}

.barcode-print-list[b-9ed54h1mtn] {
    position: sticky;
    top: 18px;
    max-height: calc(100vh - 36px);
    overflow: hidden;
}

.barcode-print-count[b-9ed54h1mtn] {
    min-width: 38px;
    min-height: 38px;
    padding: 0 11px;
    border-radius: 999px;
    color: #6d28d9 !important;
    background: #f3e8ff;
    border: 1px solid #ddd6fe;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.barcode-print-selection-actions[b-9ed54h1mtn] {
    margin-bottom: 12px;
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.barcode-print-items[b-9ed54h1mtn] {
    display: grid;
    gap: 8px;
    max-height: calc(100vh - 230px);
    overflow: auto;
    padding-left: 4px;
}

.barcode-print-item[b-9ed54h1mtn] {
    min-height: 92px;
    padding: 12px;
    border: 1px solid var(--bp-soft);
    border-radius: 16px;
    background: #fff;
    display: grid;
    grid-template-columns: 21px minmax(0,1fr) auto;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.barcode-print-item.selected[b-9ed54h1mtn] {
    border-color: #93c5fd;
    background: linear-gradient(135deg, #eff6ff, #f5f3ff);
    box-shadow: 0 10px 24px rgba(37,99,235,.08);
}

.barcode-print-item strong[b-9ed54h1mtn],
.barcode-print-item small[b-9ed54h1mtn] {
    display: block;
}

.barcode-print-item strong[b-9ed54h1mtn] {
    font-size: 11px;
    font-weight: 1000;
}

.barcode-print-item small[b-9ed54h1mtn] {
    margin-top: 4px;
    color: var(--bp-muted);
    font-size: 8px;
    font-weight: 800;
}

.barcode-print-item > b[b-9ed54h1mtn] {
    color: #047857;
    font-size: 9px;
    font-weight: 1000;
    white-space: nowrap;
}

.barcode-print-state[b-9ed54h1mtn],
.barcode-print-empty-list[b-9ed54h1mtn],
.barcode-print-empty-preview[b-9ed54h1mtn] {
    min-height: 220px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 11px;
    text-align: center;
}

.barcode-print-spinner[b-9ed54h1mtn] {
    width: 42px;
    height: 42px;
    border: 4px solid #dbeafe;
    border-top-color: var(--erp-primary, #2563eb);
    border-radius: 50%;
    animation: bp-spin-b-9ed54h1mtn .8s linear infinite;
}

.barcode-print-empty-list div[b-9ed54h1mtn],
.barcode-print-empty-preview div[b-9ed54h1mtn] {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    color: var(--erp-primary, #2563eb);
    background: #eff6ff;
    border: 1px solid #dbeafe;
    display: grid;
    place-items: center;
    font-size: 34px;
}

.barcode-print-empty-list span[b-9ed54h1mtn],
.barcode-print-empty-preview span[b-9ed54h1mtn] {
    color: var(--bp-muted);
    font-size: 11px;
    font-weight: 800;
}

.barcode-print-zoom[b-9ed54h1mtn] {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.barcode-print-zoom button[b-9ed54h1mtn],
.barcode-print-zoom span[b-9ed54h1mtn] {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid var(--bp-border);
    border-radius: 10px;
    color: #334155;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 9px;
    font-weight: 1000;
}

.barcode-print-zoom button[b-9ed54h1mtn] {
    cursor: pointer;
}

.barcode-print-preview-toolbar[b-9ed54h1mtn] {
    margin-bottom: 12px;
    padding: 9px 11px;
    border: 1px solid var(--bp-border);
    border-radius: 14px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.barcode-print-preview-toolbar span[b-9ed54h1mtn] {
    min-height: 28px;
    padding: 0 9px;
    border-radius: 999px;
    color: #475569;
    background: #fff;
    border: 1px solid var(--bp-soft);
    display: inline-flex;
    align-items: center;
    font-size: 9px;
    font-weight: 900;
}

.barcode-print-preview-stage[b-9ed54h1mtn] {
    position: relative;
    min-height: 720px;
    padding: 32px;
    overflow: auto;
    border: 1px solid #cbd5e1;
    border-radius: 18px;
    background: #eef2f7;
}

.barcode-print-preview-stage.grid[b-9ed54h1mtn] {
    background-image:
        linear-gradient(rgba(148,163,184,.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,.18) 1px, transparent 1px);
    background-size: 10px 10px;
}

.barcode-print-preview-zoom[b-9ed54h1mtn] {
    width: max-content;
    min-width: 100%;
    transform-origin: top right;
}

.barcode-sheet[b-9ed54h1mtn] {
    background: #fff;
    box-shadow: 0 18px 50px rgba(15,23,42,.18);
}

.barcode-sheet.a4[b-9ed54h1mtn] {
    width: 210mm;
    min-height: 297mm;
    display: grid;
    align-content: start;
    justify-content: start;
}

.barcode-sheet.thermal[b-9ed54h1mtn] {
    width: max-content;
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    justify-content: start;
}

.barcode-label[b-9ed54h1mtn] {
    overflow: hidden;
    background: #fff;
    text-align: center;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 3px;
    break-inside: avoid;
}

.barcode-label.with-border[b-9ed54h1mtn] {
    border: 1px dashed #94a3b8;
}

.label-a4[b-9ed54h1mtn] {
    padding: 3mm;
}

.label-50x30[b-9ed54h1mtn] {
    padding: 2mm;
}

.label-60x40[b-9ed54h1mtn] {
    padding: 3mm;
}

.label-100x50[b-9ed54h1mtn] {
    padding: 4mm;
}

.barcode-label-name[b-9ed54h1mtn] {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #0f172a;
    font-size: 11px;
    font-weight: 1000;
}

.barcode-label-code[b-9ed54h1mtn],
.barcode-label-value[b-9ed54h1mtn] {
    direction: ltr;
    color: #475569;
    font-size: 8px;
    font-weight: 850;
}

.barcode-label-bars[b-9ed54h1mtn] {
    direction: ltr;
    width: 88%;
    max-width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.barcode-label-bars span[b-9ed54h1mtn] {
    display: inline-block;
    flex: 0 0 auto;
    background: #111827;
}

.barcode-label-price[b-9ed54h1mtn] {
    color: #0f172a;
    font-size: 11px;
    font-weight: 1000;
}

.label-50x30 .barcode-label-name[b-9ed54h1mtn] { font-size: 8px; }
.label-50x30 .barcode-label-code[b-9ed54h1mtn],
.label-50x30 .barcode-label-value[b-9ed54h1mtn] { font-size: 6px; }
.label-50x30 .barcode-label-price[b-9ed54h1mtn] { font-size: 8px; }

.label-60x40 .barcode-label-name[b-9ed54h1mtn] { font-size: 10px; }
.label-60x40 .barcode-label-code[b-9ed54h1mtn],
.label-60x40 .barcode-label-value[b-9ed54h1mtn] { font-size: 7px; }
.label-60x40 .barcode-label-price[b-9ed54h1mtn] { font-size: 9px; }

.label-100x50 .barcode-label-name[b-9ed54h1mtn] { font-size: 13px; }
.label-100x50 .barcode-label-code[b-9ed54h1mtn],
.label-100x50 .barcode-label-value[b-9ed54h1mtn] { font-size: 9px; }
.label-100x50 .barcode-label-price[b-9ed54h1mtn] { font-size: 12px; }

.barcode-print-document[b-9ed54h1mtn] {
    position: fixed;
    left: -20000px;
    top: 0;
    width: max-content;
    height: auto;
    opacity: 0;
    pointer-events: none;
    overflow: visible;
}

@keyframes bp-spin-b-9ed54h1mtn {
    to { transform: rotate(360deg); }
}

@media (max-width: 1850px) {
    .barcode-print-settings-grid[b-9ed54h1mtn] {
        grid-template-columns: repeat(4, minmax(0,1fr));
    }

    .barcode-print-search[b-9ed54h1mtn] {
        grid-column: span 2;
    }
}

@media (max-width: 1250px) {
    .barcode-print-settings-grid[b-9ed54h1mtn] {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }

    .barcode-print-search[b-9ed54h1mtn] {
        grid-column: 1 / -1;
    }

    .barcode-print-option-row[b-9ed54h1mtn] {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
}

@media (max-width: 1050px) {
    .barcode-print-hero[b-9ed54h1mtn] {
        flex-direction: column;
        align-items: stretch;
    }

    .barcode-print-summary[b-9ed54h1mtn] {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .barcode-print-workspace[b-9ed54h1mtn] {
        grid-template-columns: 1fr;
    }

    .barcode-print-list[b-9ed54h1mtn] {
        position: static;
        max-height: none;
    }

    .barcode-print-items[b-9ed54h1mtn] {
        max-height: 500px;
    }
}

@media (max-width: 700px) {
    .barcode-print-page[b-9ed54h1mtn] {
        padding: 14px;
    }

    .barcode-print-hero[b-9ed54h1mtn],
    .barcode-print-card[b-9ed54h1mtn] {
        padding: 18px;
    }

    .barcode-print-summary[b-9ed54h1mtn],
    .barcode-print-settings-grid[b-9ed54h1mtn],
    .barcode-print-option-row[b-9ed54h1mtn] {
        grid-template-columns: 1fr;
    }

    .barcode-print-search[b-9ed54h1mtn] {
        grid-column: span 1;
    }

    .barcode-print-card-head[b-9ed54h1mtn] {
        flex-direction: column;
        align-items: stretch;
    }

    .barcode-print-hero-actions[b-9ed54h1mtn] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .barcode-print-btn[b-9ed54h1mtn] {
        width: 100%;
    }

    .barcode-print-preview-stage[b-9ed54h1mtn] {
        padding: 15px;
    }
}

@media print {
    .no-print[b-9ed54h1mtn],
    .barcode-print-document[b-9ed54h1mtn] {
        display: none !important;
    }
}
/* /Components/Pages/ProductCreate.razor.rz.scp.css */
:host[b-o0h2mrxenz] {
    display: block;
    width: 100%;
}

.product-create-page[b-o0h2mrxenz] {
    width: 100%;
    display: grid;
    gap: 14px;
    padding: 0 0 24px;
    direction: rtl;
    color: #0f172a;
}

.product-create-hero[b-o0h2mrxenz] {
    min-height: 108px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 22px;
    background:
        radial-gradient(circle at 92% 0%, rgba(99, 102, 241, .13), transparent 220px),
        linear-gradient(135deg, #ffffff, #f6f8ff);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.hero-copy[b-o0h2mrxenz] {
    min-width: 0;
}

.hero-kicker[b-o0h2mrxenz] {
    display: block;
    margin-bottom: 5px;
    color: var(--erp-primary, #6366f1);
    font-size: 11px;
    font-weight: 900;
}

.hero-copy h1[b-o0h2mrxenz] {
    margin: 0;
    color: #0f172a;
    font-size: 25px;
    line-height: 1.3;
    font-weight: 950;
}

.hero-copy p[b-o0h2mrxenz] {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 650;
}

.hero-back-button[b-o0h2mrxenz] {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border: 1px solid #dbe3ee;
    border-radius: 13px;
    color: #334155;
    background: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: .16s ease;
}

.hero-back-button:hover[b-o0h2mrxenz] {
    color: #1d4ed8;
    border-color: #bfdbfe;
    background: #eff6ff;
}

.hero-back-icon[b-o0h2mrxenz] {
    font-size: 17px;
}

.product-create-form[b-o0h2mrxenz] {
    display: grid;
    gap: 14px;
}

.product-section[b-o0h2mrxenz] {
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 9px 26px rgba(15, 23, 42, .045);
    overflow: hidden;
}

.section-header[b-o0h2mrxenz] {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 16px;
    border-bottom: 1px solid #edf1f6;
    background: linear-gradient(180deg, #fff, #fafbfe);
}

.section-index[b-o0h2mrxenz] {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    flex: 0 0 37px;
    border-radius: 12px;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    box-shadow: 0 8px 18px rgba(37, 99, 235, .18);
    font-size: 11px;
    font-weight: 950;
}

.section-header h2[b-o0h2mrxenz] {
    margin: 0;
    color: #0f172a;
    font-size: 15px;
    font-weight: 950;
}

.section-header p[b-o0h2mrxenz] {
    margin: 2px 0 0;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 650;
}

.form-grid[b-o0h2mrxenz],
.stock-grid[b-o0h2mrxenz] {
    display: grid;
    gap: 13px;
    padding: 16px;
}

.form-grid-main[b-o0h2mrxenz] {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.form-grid-main > .field:nth-child(1)[b-o0h2mrxenz] {
    grid-column: span 3;
}

.form-grid-main > .field:nth-child(2)[b-o0h2mrxenz] {
    grid-column: span 6;
}

.form-grid-main > .field:nth-child(3)[b-o0h2mrxenz] {
    grid-column: span 3;
}

.form-grid-main > .field:nth-child(4)[b-o0h2mrxenz] {
    grid-column: span 12;
}

.form-grid-main > .lookup-card[b-o0h2mrxenz] {
    grid-column: span 4;
}

.stock-grid[b-o0h2mrxenz] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-bottom: 12px;
}

.field[b-o0h2mrxenz] {
    display: grid;
    align-content: start;
    gap: 6px;
    min-width: 0;
}

.field > span[b-o0h2mrxenz],
.lookup-head > span[b-o0h2mrxenz],
.metric-field > span[b-o0h2mrxenz] {
    color: #475569;
    font-size: 11px;
    font-weight: 850;
}

/* Blazor InputText/InputNumber/InputSelect render child elements.
   ::deep ensures scoped CSS actually reaches those elements. */
[b-o0h2mrxenz] .control {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid #d8e1ec !important;
    border-radius: 11px !important;
    outline: 0 !important;
    color: #0f172a !important;
    background: #f8fafc !important;
    box-shadow: none !important;
    font: inherit !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.5;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

[b-o0h2mrxenz] .control:hover {
    border-color: #c5d1df !important;
}

[b-o0h2mrxenz] .control:focus {
    border-color: #60a5fa !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .09) !important;
}

[b-o0h2mrxenz] .control::placeholder {
    color: #94a3b8 !important;
    opacity: 1;
}

[b-o0h2mrxenz] select.control {
    cursor: pointer;
    appearance: auto;
}

.control-with-action[b-o0h2mrxenz] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.inline-action[b-o0h2mrxenz],
.lookup-add-button[b-o0h2mrxenz] {
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    color: #1d4ed8;
    background: #eff6ff;
    font: inherit;
    font-size: 10.5px;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
    transition: .16s ease;
}

.inline-action:hover[b-o0h2mrxenz],
.lookup-add-button:hover[b-o0h2mrxenz] {
    color: var(--erp-on-brand, #ffffff);
    border-color: var(--erp-primary, #2563eb);
    background: var(--erp-primary, #2563eb);
}

.inline-action[b-o0h2mrxenz] {
    min-width: 98px;
    padding: 0 12px;
}

.lookup-card[b-o0h2mrxenz] {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 7px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fbfcfe;
}

.lookup-head[b-o0h2mrxenz] {
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.lookup-add-button[b-o0h2mrxenz] {
    min-height: 29px;
    padding: 0 9px;
}

[b-o0h2mrxenz] .lookup-search {
    min-height: 39px;
}

[b-o0h2mrxenz] .select-control {
    min-height: 41px;
}

.metric-grid[b-o0h2mrxenz] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
}

.metric-field[b-o0h2mrxenz] {
    display: grid;
    gap: 7px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fbfcfe;
}

.metric-input[b-o0h2mrxenz] {
    min-height: 42px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    padding: 0 10px;
    border: 1px solid #d8e1ec;
    border-radius: 11px;
    background: #fff;
}

[b-o0h2mrxenz] .metric-input input {
    width: 100%;
    min-width: 0;
    border: 0 !important;
    outline: 0 !important;
    color: #0f172a !important;
    background: transparent !important;
    box-shadow: none !important;
    font: inherit !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    text-align: right;
}

.metric-input b[b-o0h2mrxenz] {
    min-width: 30px;
    padding: 4px 6px;
    border-radius: 7px;
    color: var(--erp-primary, #4f46e5);
    background: #eef2ff;
    font-size: 9.5px;
    text-align: center;
}

.toggle-grid[b-o0h2mrxenz] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 0 16px 16px;
}

.toggle-card[b-o0h2mrxenz] {
    min-height: 78px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fbfcfe;
    cursor: pointer;
    position: relative;
}

[b-o0h2mrxenz] .toggle-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.toggle-ui[b-o0h2mrxenz] {
    position: relative;
    width: 44px;
    height: 24px;
    border-radius: 999px;
    background: #cbd5e1;
    transition: .18s ease;
}

.toggle-ui span[b-o0h2mrxenz] {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 7px rgba(15, 23, 42, .18);
    transition: .18s ease;
}

[b-o0h2mrxenz] .toggle-card input:checked + .toggle-ui {
    background: #22c55e;
}

[b-o0h2mrxenz] .toggle-card input:checked + .toggle-ui span {
    transform: translateX(-20px);
}

.toggle-copy strong[b-o0h2mrxenz],
.toggle-copy small[b-o0h2mrxenz] {
    display: block;
}

.toggle-copy strong[b-o0h2mrxenz] {
    color: #0f172a;
    font-size: 11.5px;
    font-weight: 900;
}

.toggle-copy small[b-o0h2mrxenz] {
    margin-top: 2px;
    color: #94a3b8;
    font-size: 9.8px;
    line-height: 1.55;
    font-weight: 650;
}

[b-o0h2mrxenz] .description-control {
    width: calc(100% - 32px) !important;
    min-height: 88px !important;
    margin: 16px;
    resize: vertical;
}

.product-action-bar[b-o0h2mrxenz] {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 14px;
    border: 1px solid rgba(148, 163, 184, .20);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

.action-hint[b-o0h2mrxenz] {
    color: #64748b;
    font-size: 10.5px;
    font-weight: 700;
}

.action-buttons[b-o0h2mrxenz] {
    display: flex;
    gap: 8px;
}

.primary-button[b-o0h2mrxenz],
.secondary-button[b-o0h2mrxenz] {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 11px;
    font: inherit;
    font-size: 11.5px;
    font-weight: 900;
    cursor: pointer;
}

.primary-button[b-o0h2mrxenz] {
    border: 0;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    box-shadow: 0 8px 18px rgba(37, 99, 235, .18);
}

.secondary-button[b-o0h2mrxenz] {
    border: 1px solid #dbe3ee;
    color: #475569;
    background: #fff;
}

.primary-button:hover:not(:disabled)[b-o0h2mrxenz] {
    filter: brightness(1.04);
}

.secondary-button:hover:not(:disabled)[b-o0h2mrxenz] {
    color: #1d4ed8;
    border-color: #bfdbfe;
    background: #eff6ff;
}

.primary-button:disabled[b-o0h2mrxenz],
.secondary-button:disabled[b-o0h2mrxenz] {
    opacity: .62;
    cursor: not-allowed;
}

.product-state-card[b-o0h2mrxenz] {
    min-height: 150px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 11px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 20px;
    background: #fff;
}

.state-spinner[b-o0h2mrxenz] {
    width: 26px;
    height: 26px;
    border: 3px solid #dbeafe;
    border-top-color: var(--erp-primary, #2563eb);
    border-radius: 50%;
    animation: product-spin-b-o0h2mrxenz .75s linear infinite;
}

@keyframes product-spin-b-o0h2mrxenz {
    to { transform: rotate(360deg); }
}

.product-alert[b-o0h2mrxenz] {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 11.5px;
    font-weight: 750;
}

.product-alert-error[b-o0h2mrxenz] {
    color: #b91c1c;
    border: 1px solid #fecaca;
    background: #fff1f2;
}

.quick-unit-overlay[b-o0h2mrxenz] {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(2, 6, 23, .66);
    backdrop-filter: blur(7px);
}

.quick-unit-dialog[b-o0h2mrxenz] {
    width: min(470px, 100%);
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(2, 6, 23, .34);
    overflow: hidden;
}

.quick-unit-header[b-o0h2mrxenz] {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 18px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #f8fbff, #f5f3ff);
}

.quick-unit-header span[b-o0h2mrxenz] {
    display: block;
    color: var(--erp-primary, #6366f1);
    font-size: 10px;
    font-weight: 900;
}

.quick-unit-header h3[b-o0h2mrxenz] {
    margin: 3px 0 0;
    font-size: 17px;
    font-weight: 950;
}

.quick-unit-close[b-o0h2mrxenz] {
    width: 36px;
    height: 36px;
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    color: #64748b;
    background: #fff;
    font-size: 21px;
    cursor: pointer;
}

.quick-unit-body[b-o0h2mrxenz] {
    display: grid;
    gap: 12px;
    padding: 17px;
}

.quick-active[b-o0h2mrxenz] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #334155;
    font-size: 11.5px;
    font-weight: 800;
}

.quick-unit-footer[b-o0h2mrxenz] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 17px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

@media (max-width: 1100px) {
    .form-grid-main[b-o0h2mrxenz] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .form-grid-main > .field[b-o0h2mrxenz],
    .form-grid-main > .field:nth-child(1)[b-o0h2mrxenz],
    .form-grid-main > .field:nth-child(2)[b-o0h2mrxenz],
    .form-grid-main > .field:nth-child(3)[b-o0h2mrxenz],
    .form-grid-main > .field:nth-child(4)[b-o0h2mrxenz],
    .form-grid-main > .lookup-card[b-o0h2mrxenz] {
        grid-column: auto;
    }

    .metric-grid[b-o0h2mrxenz],
    .stock-grid[b-o0h2mrxenz],
    .toggle-grid[b-o0h2mrxenz] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .product-create-hero[b-o0h2mrxenz] {
        align-items: stretch;
        flex-direction: column;
        padding: 18px;
    }

    .hero-back-button[b-o0h2mrxenz] {
        width: 100%;
    }

    .form-grid-main[b-o0h2mrxenz],
    .metric-grid[b-o0h2mrxenz],
    .stock-grid[b-o0h2mrxenz],
    .toggle-grid[b-o0h2mrxenz] {
        grid-template-columns: 1fr;
    }

    .control-with-action[b-o0h2mrxenz] {
        grid-template-columns: 1fr;
    }

    .inline-action[b-o0h2mrxenz] {
        min-height: 40px;
    }

    .product-action-bar[b-o0h2mrxenz] {
        align-items: stretch;
        flex-direction: column;
    }

    .action-hint[b-o0h2mrxenz] {
        display: none;
    }

    .action-buttons[b-o0h2mrxenz] {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .primary-button[b-o0h2mrxenz],
    .secondary-button[b-o0h2mrxenz] {
        width: 100%;
    }
}


[b-o0h2mrxenz] .quick-description {
    min-height: 86px !important;
    resize: vertical;
}


.variant-price-preview[b-o0h2mrxenz] {
    min-width: 0;
    min-height: 82px;
    padding: 12px 14px;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
}

.variant-price-preview span[b-o0h2mrxenz] {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.variant-price-preview strong[b-o0h2mrxenz] {
    color: #0f172a;
    font-size: clamp(14px, 1.2vw, 18px);
    font-weight: 900;
    overflow-wrap: anywhere;
}

.money-field small[b-o0h2mrxenz] {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.7;
}


.variant-section[b-o0h2mrxenz] {
    overflow: hidden;
}

.variant-toolbar[b-o0h2mrxenz] {
    display: flex;
    justify-content: flex-start;
    padding: 14px 16px 0;
}

.variant-empty-state[b-o0h2mrxenz] {
    margin: 14px 16px 16px;
    padding: 22px 16px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    color: #64748b;
    background: #f8fafc;
    text-align: center;
    font-size: 11.5px;
    font-weight: 750;
}

.variant-table-wrap[b-o0h2mrxenz] {
    width: calc(100% - 32px);
    margin: 14px 16px 16px;
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    background: #fff;
}

.variant-table[b-o0h2mrxenz] {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    table-layout: fixed;
}

.variant-table th[b-o0h2mrxenz],
.variant-table td[b-o0h2mrxenz] {
    padding: 11px;
    border-bottom: 1px solid #eef2f7;
    vertical-align: middle;
    text-align: right;
}

.variant-table th[b-o0h2mrxenz] {
    color: #475569;
    background: #f8fafc;
    font-size: 10.5px;
    font-weight: 900;
    white-space: nowrap;
}

.variant-table td[b-o0h2mrxenz] {
    background: #fff;
}

.variant-table tbody tr:last-child td[b-o0h2mrxenz] {
    border-bottom: 0;
}

.variant-table tbody tr:hover td[b-o0h2mrxenz] {
    background: #fbfdff;
}

.variant-table[b-o0h2mrxenz]  .control {
    width: 100% !important;
    min-width: 0;
    min-height: 42px;
}

.variant-money-input[b-o0h2mrxenz] {
    min-height: 42px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    padding-left: 8px;
    border: 1px solid #d8e1ec;
    border-radius: 11px;
    background: #fff;
}

.variant-money-input[b-o0h2mrxenz]  input {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.variant-money-input b[b-o0h2mrxenz] {
    min-width: 36px;
    padding: 4px 7px;
    border-radius: 8px;
    color: var(--erp-primary, #2563eb);
    background: #eef2ff;
    font-size: 9.5px;
    text-align: center;
    white-space: nowrap;
}

.variant-action-column[b-o0h2mrxenz] {
    width: 84px;
    text-align: center !important;
}

.variant-remove-button[b-o0h2mrxenz] {
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    color: #dc2626;
    background: #fff7f7;
    font: inherit;
    font-size: 10.5px;
    font-weight: 900;
    cursor: pointer;
}

.variant-remove-button:hover[b-o0h2mrxenz] {
    border-color: #fca5a5;
    background: #fef2f2;
}

@media (max-width: 760px) {
    .variant-table-wrap[b-o0h2mrxenz] {
        overflow: visible;
        border: 0;
        background: transparent;
    }

    .variant-table[b-o0h2mrxenz] {
        min-width: 0;
    }

    .variant-table thead[b-o0h2mrxenz] {
        display: none;
    }

    .variant-table[b-o0h2mrxenz],
    .variant-table tbody[b-o0h2mrxenz],
    .variant-table tr[b-o0h2mrxenz],
    .variant-table td[b-o0h2mrxenz] {
        display: block;
        width: 100%;
    }

    .variant-table tr[b-o0h2mrxenz] {
        margin-bottom: 12px;
        padding: 10px;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        background: #fff;
    }

    .variant-table td[b-o0h2mrxenz] {
        display: grid;
        grid-template-columns: 90px minmax(0, 1fr);
        align-items: center;
        gap: 9px;
        padding: 7px 0;
        border: 0;
    }

    .variant-table td[b-o0h2mrxenz]::before {
        content: attr(data-label);
        color: #64748b;
        font-size: 10px;
        font-weight: 850;
    }

    .variant-action-column[b-o0h2mrxenz] {
        width: 100%;
        text-align: right !important;
    }
}


/* Warranty editor */
.warranty-section[b-o0h2mrxenz] {
    overflow: visible;
}

.warranty-topbar[b-o0h2mrxenz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid #edf1f6;
    background: #fbfdff;
}

.warranty-serial-toggle[b-o0h2mrxenz] {
    flex: 1 1 auto;
    max-width: 620px;
    margin: 0;
}

.warranty-add-button[b-o0h2mrxenz] {
    min-width: 148px;
    white-space: nowrap;
}

.warranty-empty-state[b-o0h2mrxenz] {
    display: grid;
    place-items: center;
    gap: 6px;
    min-height: 112px;
    margin: 16px;
    padding: 18px;
    border: 1px dashed #cbd5e1;
    border-radius: 15px;
    color: #64748b;
    background: linear-gradient(135deg, #f8fafc, #fff);
    text-align: center;
}

.warranty-empty-state strong[b-o0h2mrxenz] {
    color: #334155;
    font-size: 12px;
    font-weight: 900;
}

.warranty-empty-state span[b-o0h2mrxenz] {
    font-size: 10.5px;
    font-weight: 650;
}

.warranty-list[b-o0h2mrxenz] {
    display: grid;
    gap: 14px;
    padding: 16px;
}

.warranty-card[b-o0h2mrxenz] {
    border: 1px solid #dbe5f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .045);
    overflow: hidden;
}

.warranty-card-header[b-o0h2mrxenz] {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #e8eef5;
    background: linear-gradient(135deg, #f8fbff, #f5f3ff);
}

.warranty-card-header > div[b-o0h2mrxenz] {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.warranty-card-header strong[b-o0h2mrxenz] {
    overflow: hidden;
    color: #0f172a;
    font-size: 13px;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.warranty-card-header span[b-o0h2mrxenz] {
    overflow: hidden;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.warranty-remove-button[b-o0h2mrxenz] {
    min-width: 64px;
    min-height: 34px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    color: #b91c1c;
    background: #fff7f7;
    font: inherit;
    font-size: 10.5px;
    font-weight: 900;
    cursor: pointer;
}

.warranty-remove-button:hover[b-o0h2mrxenz] {
    color: #fff;
    border-color: #dc2626;
    background: #dc2626;
}

.warranty-grid[b-o0h2mrxenz] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 14px;
}

.warranty-date-input[b-o0h2mrxenz] {
    direction: ltr;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.warranty-card-footer[b-o0h2mrxenz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-top: 1px solid #edf1f6;
    background: #fbfdff;
}

.warranty-dependent-toggle[b-o0h2mrxenz] {
    min-width: 260px;
    margin: 0;
}

.warranty-date-summary[b-o0h2mrxenz] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.warranty-date-summary span[b-o0h2mrxenz] {
    padding: 7px 10px;
    border: 1px solid #dbeafe;
    border-radius: 9px;
    color: #64748b;
    background: #eff6ff;
    font-size: 10px;
    font-weight: 750;
}

.warranty-date-summary strong[b-o0h2mrxenz] {
    color: #1d4ed8;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
    .warranty-grid[b-o0h2mrxenz] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .warranty-card-footer[b-o0h2mrxenz] {
        align-items: stretch;
        flex-direction: column;
    }

    .warranty-dependent-toggle[b-o0h2mrxenz] {
        min-width: 0;
    }
}

@media (max-width: 620px) {
    .warranty-topbar[b-o0h2mrxenz] {
        align-items: stretch;
        flex-direction: column;
    }

    .warranty-add-button[b-o0h2mrxenz] {
        width: 100%;
    }

    .warranty-grid[b-o0h2mrxenz] {
        grid-template-columns: 1fr;
    }

    .warranty-date-summary[b-o0h2mrxenz] {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}
/* /Components/Pages/ProductDashboard.razor.rz.scp.css */
.product-dashboard-page[b-i7hevlc1tq]{padding:24px;color:var(--erp-theme-text)}.product-dashboard-header[b-i7hevlc1tq]{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px}.product-dashboard-header h3[b-i7hevlc1tq]{margin:0;font-weight:900;color:var(--erp-theme-text)}.product-dashboard-header p[b-i7hevlc1tq]{margin:6px 0 0;color:var(--erp-theme-text-soft)}.product-dashboard-stats[b-i7hevlc1tq]{display:grid;grid-template-columns:repeat(5,minmax(140px,1fr));gap:14px;margin-bottom:18px}.stat-card[b-i7hevlc1tq],.dashboard-card[b-i7hevlc1tq],.dashboard-panel[b-i7hevlc1tq]{background:var(--erp-theme-surface);border:1px solid var(--erp-theme-border);border-radius:18px;padding:16px;box-shadow:0 8px 24px rgba(15,23,42,.08);color:var(--erp-theme-text)}.stat-card[b-i7hevlc1tq]{text-align:center}.stat-card strong[b-i7hevlc1tq]{display:block;font-size:24px;font-weight:900}.stat-card span[b-i7hevlc1tq]{color:var(--erp-theme-text-soft);font-weight:700}.stat-card.success strong[b-i7hevlc1tq]{color:#166534}.stat-card.danger strong[b-i7hevlc1tq]{color:#b91c1c}.stat-card.warning strong[b-i7hevlc1tq]{color:#b45309}.product-dashboard-grid[b-i7hevlc1tq]{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;margin-bottom:18px}.dashboard-card[b-i7hevlc1tq]{text-align:right;display:grid;gap:8px;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}.dashboard-card:hover[b-i7hevlc1tq]{transform:translateY(-2px);box-shadow:0 12px 28px rgba(15,23,42,.14)}.card-icon[b-i7hevlc1tq]{width:46px;height:46px;border-radius:16px;background:var(--erp-theme-surface-raised);border:1px solid var(--erp-theme-border);display:grid;place-items:center;font-size:22px}.dashboard-card strong[b-i7hevlc1tq]{font-weight:900;color:var(--erp-theme-text)}.dashboard-card span[b-i7hevlc1tq]{color:var(--erp-theme-text-soft);font-size:13px}.dashboard-panels[b-i7hevlc1tq]{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.dashboard-panel h5[b-i7hevlc1tq]{font-weight:900;margin-bottom:14px;color:var(--erp-theme-text)}.dashboard-panel p[b-i7hevlc1tq]{color:var(--erp-theme-text-soft)}.dashboard-panel ul[b-i7hevlc1tq]{margin:0;padding:0;list-style:none;display:grid;gap:8px}.dashboard-panel li[b-i7hevlc1tq]{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px;border:1px solid var(--erp-theme-border);border-radius:12px;background:var(--erp-theme-surface-raised);color:var(--erp-theme-text)}.dashboard-panel li span[b-i7hevlc1tq],.dashboard-panel li strong[b-i7hevlc1tq]{color:var(--erp-theme-text)}.dashboard-panel li small[b-i7hevlc1tq]{display:block;color:var(--erp-theme-text-soft)}@media(max-width:992px){.product-dashboard-stats[b-i7hevlc1tq]{grid-template-columns:repeat(2,1fr)}.dashboard-panels[b-i7hevlc1tq]{grid-template-columns:1fr}}@media(max-width:768px){.product-dashboard-page[b-i7hevlc1tq]{padding:16px}.product-dashboard-header[b-i7hevlc1tq]{flex-direction:column;align-items:stretch}.product-dashboard-stats[b-i7hevlc1tq]{grid-template-columns:1fr}}
/* /Components/Pages/ProductEdit.razor.rz.scp.css */
.product-form-page[b-ckrp5ziocv] {
    --form-text: #0f172a;
    --form-muted: #64748b;
    --form-border: #dbe4f0;
    --form-soft: #eef2f7;
    --form-blue: var(--erp-primary, #2563eb);
    --form-purple: var(--erp-accent, #7c3aed);
    min-height: 100vh;
    padding: 24px;
    color: var(--form-text);
    background:
        radial-gradient(circle at 16% 0%, rgba(124, 58, 237, .08), transparent 340px),
        linear-gradient(180deg, #eef4fb 0%, #f8fbff 52%, #eef4fb 100%);
}

.product-form-page *[b-ckrp5ziocv],
.product-form-page *[b-ckrp5ziocv]::before,
.product-form-page *[b-ckrp5ziocv]::after {
    box-sizing: border-box;
}

.product-form-header[b-ckrp5ziocv] {
    min-height: 138px;
    margin-bottom: 18px;
    padding: 28px;
    border: 1px solid rgba(219, 228, 240, .96);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    background:
        radial-gradient(circle at 0 0, rgba(124, 58, 237, .11), transparent 280px),
        linear-gradient(135deg, #fff, #f2f6ff);
    box-shadow: 0 20px 58px rgba(15, 23, 42, .07);
}

.product-form-header h3[b-ckrp5ziocv] {
    margin: 0;
    color: var(--form-text);
    font-size: 30px;
    line-height: 1.25;
    font-weight: 1000;
}

.product-form-header p[b-ckrp5ziocv] {
    margin: 10px 0 0;
    color: var(--form-muted);
    font-size: 13px;
    font-weight: 800;
}

.product-form-header[b-ckrp5ziocv]  .btn {
    min-width: 118px;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--form-border);
    border-radius: 14px;
    color: #334155;
    background: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 1000;
    box-shadow: none;
}

.product-form-page[b-ckrp5ziocv]  .alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 900;
}

.product-form-card[b-ckrp5ziocv] {
    margin-bottom: 18px;
    padding: 24px;
    border: 1px solid rgba(219, 228, 240, .96);
    border-radius: 26px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 18px 48px rgba(15, 23, 42, .07);
}

.product-form-card h5[b-ckrp5ziocv] {
    min-height: 50px;
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e7edf5;
    color: var(--form-text);
    display: flex;
    align-items: center;
    font-size: 17px;
    font-weight: 1000;
}

.product-form-card:first-of-type[b-ckrp5ziocv] {
    min-height: 430px;
}

.product-form-card:first-of-type[b-ckrp5ziocv]  .product-image-uploader {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    grid-template-areas:
        "preview actions"
        "preview message";
    align-items: center;
    gap: 18px 28px;
}

.product-form-card:first-of-type[b-ckrp5ziocv]  .product-image-preview {
    grid-area: preview;
    justify-self: start;
}

.product-form-card:first-of-type[b-ckrp5ziocv]  .product-image-actions {
    grid-area: actions;
    align-self: end;
}

.product-form-card:first-of-type[b-ckrp5ziocv]  .product-image-message {
    grid-area: message;
    align-self: start;
}

.product-form-card[b-ckrp5ziocv]  .row {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
}

.product-form-card[b-ckrp5ziocv]  .row > * {
    width: auto;
    max-width: none;
    padding: 0;
}

.product-form-card[b-ckrp5ziocv]  .col-md-3 {
    grid-column: span 3;
}

.product-form-card[b-ckrp5ziocv]  .col-md-4 {
    grid-column: span 4;
}

.product-form-card[b-ckrp5ziocv]  .col-md-5 {
    grid-column: span 5;
}

.product-form-card[b-ckrp5ziocv]  .col-md-6 {
    grid-column: span 6;
}

.product-form-card[b-ckrp5ziocv]  .col-md-8 {
    grid-column: span 8;
}

.product-form-card[b-ckrp5ziocv]  .col-md-12 {
    grid-column: span 12;
}

.product-form-card[b-ckrp5ziocv]  .form-label {
    display: block;
    margin: 0 0 8px;
    color: #475569;
    font-size: 12px;
    font-weight: 900;
}

.product-form-card[b-ckrp5ziocv]  .form-control,
.product-form-card[b-ckrp5ziocv]  .form-select {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid var(--form-border);
    border-radius: 15px;
    color: var(--form-text);
    background: #f8fafc;
    font-family: inherit;
    font-size: 13px;
    font-weight: 850;
    outline: none;
    box-shadow: none;
}

.product-form-card[b-ckrp5ziocv]  textarea.form-control {
    min-height: 130px;
    padding-top: 13px;
    resize: vertical;
}

.product-form-card[b-ckrp5ziocv]  .form-control:focus,
.product-form-card[b-ckrp5ziocv]  .form-select:focus {
    border-color: rgba(124, 58, 237, .42);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, .08);
}

.product-form-card[b-ckrp5ziocv]  .input-group {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.product-form-card[b-ckrp5ziocv]  .input-group .form-control {
    border-radius: 0 15px 15px 0;
}

.product-form-card[b-ckrp5ziocv]  .input-group .btn {
    min-width: 78px;
    border: 1px solid #bfdbfe;
    border-right: 0;
    border-radius: 15px 0 0 15px;
    color: #1d4ed8;
    background: #eff6ff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 1000;
}

.product-search-input[b-ckrp5ziocv] {
    margin-bottom: 8px;
}

.product-form-check[b-ckrp5ziocv] {
    min-height: 50px;
    padding-top: 30px;
    display: flex;
    align-items: center;
}

.product-form-check[b-ckrp5ziocv]  .form-check {
    display: flex;
    align-items: center;
    gap: 9px;
}

.product-form-check[b-ckrp5ziocv]  .form-check-input {
    width: 19px;
    height: 19px;
    margin: 0;
}

.product-form-check[b-ckrp5ziocv]  .form-check-label {
    color: #334155;
    font-size: 13px;
    font-weight: 850;
}

.product-form-description[b-ckrp5ziocv] {
    min-height: 130px;
}

.product-form-actions[b-ckrp5ziocv] {
    position: sticky;
    bottom: 16px;
    z-index: 20;
    margin-top: 20px;
    padding: 14px;
    border: 1px solid rgba(219, 228, 240, .95);
    border-radius: 20px;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 50px rgba(15, 23, 42, .14);
    backdrop-filter: blur(14px);
}

.product-form-actions[b-ckrp5ziocv]  .btn {
    min-width: 132px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 14px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 1000;
}

.product-form-actions[b-ckrp5ziocv]  .btn-primary {
    border: 0;
    background: linear-gradient(135deg, var(--form-blue), var(--form-purple));
    box-shadow: 0 14px 28px rgba(37, 99, 235, .22);
}

@media (max-width: 1100px) {
    .product-form-card[b-ckrp5ziocv]  .col-md-3,
    .product-form-card[b-ckrp5ziocv]  .col-md-4,
    .product-form-card[b-ckrp5ziocv]  .col-md-5,
    .product-form-card[b-ckrp5ziocv]  .col-md-6 {
        grid-column: span 6;
    }

    .product-form-card:first-of-type[b-ckrp5ziocv]  .product-image-uploader {
        grid-template-columns: 320px minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .product-form-page[b-ckrp5ziocv] {
        padding: 14px;
    }

    .product-form-header[b-ckrp5ziocv] {
        align-items: stretch;
        flex-direction: column;
        padding: 20px;
    }

    .product-form-header[b-ckrp5ziocv]  .btn {
        width: 100%;
    }

    .product-form-card[b-ckrp5ziocv] {
        padding: 16px;
    }

    .product-form-card:first-of-type[b-ckrp5ziocv] {
        min-height: auto;
    }

    .product-form-card:first-of-type[b-ckrp5ziocv]  .product-image-uploader {
        grid-template-columns: 1fr;
        grid-template-areas:
            "preview"
            "actions"
            "message";
    }

    .product-form-card:first-of-type[b-ckrp5ziocv]  .product-image-preview {
        justify-self: stretch;
    }

    .product-form-card[b-ckrp5ziocv]  .col-md-3,
    .product-form-card[b-ckrp5ziocv]  .col-md-4,
    .product-form-card[b-ckrp5ziocv]  .col-md-5,
    .product-form-card[b-ckrp5ziocv]  .col-md-6,
    .product-form-card[b-ckrp5ziocv]  .col-md-8,
    .product-form-card[b-ckrp5ziocv]  .col-md-12 {
        grid-column: span 12;
    }

    .product-form-actions[b-ckrp5ziocv] {
        position: static;
        flex-direction: column;
    }

    .product-form-actions[b-ckrp5ziocv]  .btn {
        width: 100%;
    }
}
/* /Components/Pages/ProductImageManager.razor.rz.scp.css */
.product-image-manager-page[b-vhk3pq4nok] {
    width: 100%;
    min-height: 100%;
    padding: 24px;
    direction: rtl;
    background: #f4f7fb;
}

.image-manager-header[b-vhk3pq4nok],
.image-manager-upload-card[b-vhk3pq4nok],
.image-gallery-card[b-vhk3pq4nok],
.image-loading-card[b-vhk3pq4nok] {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

.image-manager-header[b-vhk3pq4nok] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 24px;
    border-radius: 22px;
}

.page-kicker[b-vhk3pq4nok] {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--erp-primary, #2563eb);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.image-manager-header h1[b-vhk3pq4nok] {
    margin: 0;
    color: #0f172a;
    font-size: 27px;
    font-weight: 950;
}

.image-manager-header p[b-vhk3pq4nok] {
    margin: 7px 0 0;
    color: #64748b;
    font-weight: 700;
}

.image-manager-upload-card[b-vhk3pq4nok],
.image-gallery-card[b-vhk3pq4nok],
.image-loading-card[b-vhk3pq4nok] {
    margin-bottom: 18px;
    padding: 22px;
    border-radius: 22px;
}

.section-title[b-vhk3pq4nok] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.section-title h2[b-vhk3pq4nok] {
    margin: 0;
    color: #0f172a;
    font-size: 19px;
    font-weight: 950;
}

.section-title p[b-vhk3pq4nok] {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.uploading-badge[b-vhk3pq4nok],
.main-badge[b-vhk3pq4nok] {
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.uploading-badge[b-vhk3pq4nok] {
    padding: 8px 12px;
    color: #1d4ed8;
    background: #dbeafe;
}

.image-upload-zone[b-vhk3pq4nok] {
    position: relative;
    display: grid;
    min-height: 190px;
    place-items: center;
    align-content: center;
    gap: 7px;
    padding: 26px;
    overflow: hidden;
    cursor: pointer;
    text-align: center;
    border: 2px dashed #93c5fd;
    border-radius: 20px;
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
    transition: 0.2s ease;
}

.image-upload-zone:hover[b-vhk3pq4nok] {
    border-color: var(--erp-primary, #2563eb);
    background: #eff6ff;
    transform: translateY(-1px);
}

.image-upload-zone input[type="file"][b-vhk3pq4nok] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    opacity: 0;
}

.image-upload-zone strong[b-vhk3pq4nok] {
    color: #0f172a;
    font-size: 16px;
    font-weight: 950;
}

.image-upload-zone span[b-vhk3pq4nok] {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.main-image-option[b-vhk3pq4nok] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    color: #334155;
    font-size: 14px;
    font-weight: 800;
}

.main-image-option input[b-vhk3pq4nok] {
    width: 18px;
    height: 18px;
}

.empty-gallery[b-vhk3pq4nok] {
    display: grid;
    min-height: 180px;
    place-items: center;
    align-content: center;
    gap: 7px;
    text-align: center;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    background: #f8fafc;
}

.empty-gallery strong[b-vhk3pq4nok] {
    color: #334155;
    font-size: 16px;
    font-weight: 950;
}

.empty-gallery span[b-vhk3pq4nok] {
    color: #64748b;
    font-size: 13px;
}

.image-gallery-grid[b-vhk3pq4nok] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 16px;
}

.image-gallery-item[b-vhk3pq4nok] {
    min-width: 0;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #ffffff;
    transition: 0.2s ease;
}

.image-gallery-item:hover[b-vhk3pq4nok] {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.09);
}

.image-gallery-item.main-image[b-vhk3pq4nok] {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.13);
}

.image-preview[b-vhk3pq4nok] {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f1f5f9;
}

.image-preview img[b-vhk3pq4nok] {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.main-badge[b-vhk3pq4nok] {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 7px 10px;
    color: #166534;
    background: rgba(220, 252, 231, 0.94);
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.14);
}

.image-info[b-vhk3pq4nok] {
    display: grid;
    gap: 4px;
    margin-top: 12px;
}

.image-info strong[b-vhk3pq4nok] {
    overflow: hidden;
    color: #0f172a;
    font-size: 13px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.image-info span[b-vhk3pq4nok] {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.image-sort[b-vhk3pq4nok] {
    display: grid;
    gap: 6px;
    margin-top: 12px;
}

.image-sort span[b-vhk3pq4nok] {
    color: #475569;
    font-size: 12px;
    font-weight: 800;
}

.image-sort input[b-vhk3pq4nok] {
    direction: ltr;
    text-align: center;
}

.image-item-actions[b-vhk3pq4nok] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
}

.image-item-actions .btn[b-vhk3pq4nok] {
    flex: 1;
    white-space: nowrap;
}

.image-loading-card[b-vhk3pq4nok] {
    color: #475569;
    text-align: center;
    font-weight: 900;
}

@media (max-width: 760px) {
    .product-image-manager-page[b-vhk3pq4nok] {
        padding: 14px;
    }

    .image-manager-header[b-vhk3pq4nok] {
        align-items: stretch;
        flex-direction: column;
        padding: 18px;
    }

    .image-manager-header .btn[b-vhk3pq4nok] {
        width: 100%;
    }

    .section-title[b-vhk3pq4nok] {
        align-items: stretch;
        flex-direction: column;
    }

    .image-gallery-grid[b-vhk3pq4nok] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/ProductImageUploader.razor.rz.scp.css */
.product-image-uploader[b-9h4sezo4th] {
    display: grid;
    gap: 14px;
}

.product-image-preview[b-9h4sezo4th] {
    position: relative;
    width: min(100%, 320px);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px dashed #cbd5e1;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
}

.product-image-preview img[b-9h4sezo4th] {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.product-image-empty[b-9h4sezo4th],
.product-image-loading[b-9h4sezo4th] {
    padding: 18px;
    color: #64748b;
    text-align: center;
    font-size: 13px;
    font-weight: 850;
}

.product-image-main-badge[b-9h4sezo4th] {
    position: absolute;
    top: 12px;
    right: 12px;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    color: #166534;
    background: rgba(220, 252, 231, .94);
    border: 1px solid #86efac;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .14);
    font-size: 11px;
    font-weight: 1000;
}

.product-image-actions[b-9h4sezo4th] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.product-image-upload-button[b-9h4sezo4th],
.product-image-delete-button[b-9h4sezo4th] {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 12px;
    font-weight: 1000;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease;
}

.product-image-upload-button[b-9h4sezo4th] {
    position: relative;
    overflow: hidden;
    color: var(--erp-on-brand, #ffffff);
    border: 0;
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
}

.product-image-upload-button input[type="file"][b-9h4sezo4th] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    opacity: 0;
}

.product-image-delete-button[b-9h4sezo4th] {
    color: #be123c;
    border: 1px solid #fecdd3;
    background: #fff1f2;
}

.product-image-upload-button:hover:not(.disabled)[b-9h4sezo4th],
.product-image-delete-button:hover:not(:disabled)[b-9h4sezo4th] {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, .08);
}

.product-image-upload-button.disabled[b-9h4sezo4th],
.product-image-delete-button:disabled[b-9h4sezo4th] {
    opacity: .55;
    cursor: not-allowed;
}

.product-image-message[b-9h4sezo4th] {
    padding: 11px 13px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 850;
}

.product-image-message.success[b-9h4sezo4th] {
    color: #166534;
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
}

.product-image-message.error[b-9h4sezo4th] {
    color: #be123c;
    border: 1px solid #fecdd3;
    background: #fff1f2;
}

@media (max-width: 640px) {
    .product-image-preview[b-9h4sezo4th] {
        width: 100%;
    }

    .product-image-actions[b-9h4sezo4th] {
        align-items: stretch;
        flex-direction: column;
    }

    .product-image-upload-button[b-9h4sezo4th],
    .product-image-delete-button[b-9h4sezo4th] {
        width: 100%;
    }
}
/* /Components/Pages/ProductImport.razor.rz.scp.css */
.product-import-page[b-wo5hkli89g] {
    --import-text: #0f172a;
    --import-muted: #64748b;
    --import-border: #dbe4f0;
    --import-soft: #e2e8f0;
    --import-blue: var(--erp-primary, #2563eb);
    --import-purple: var(--erp-accent, #7c3aed);
    --import-green: #059669;
    min-height: 100vh;
    padding: 24px;
    color: var(--import-text);
    background:
        radial-gradient(circle at 16% 0%, rgba(124, 58, 237, .09), transparent 340px),
        linear-gradient(180deg, #eef4fb 0%, #f8fbff 52%, #eef4fb 100%);
}

.product-import-page *[b-wo5hkli89g],
.product-import-page *[b-wo5hkli89g]::before,
.product-import-page *[b-wo5hkli89g]::after {
    box-sizing: border-box;
}

.product-import-hero[b-wo5hkli89g],
.product-import-card[b-wo5hkli89g] {
    border: 1px solid rgba(219, 228, 240, .96);
    background: rgba(255,255,255,.98);
    box-shadow: 0 22px 64px rgba(15, 23, 42, .07);
}

.product-import-hero[b-wo5hkli89g] {
    min-height: 170px;
    margin-bottom: 18px;
    padding: 28px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        radial-gradient(circle at 0 0, rgba(124, 58, 237, .13), transparent 280px),
        linear-gradient(135deg, #fff, #eff6ff);
}

.product-import-hero-copy[b-wo5hkli89g] {
    display: grid;
    gap: 20px;
}

.product-import-breadcrumb[b-wo5hkli89g] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--import-muted);
    font-size: 12px;
    font-weight: 1000;
}

.product-import-breadcrumb span[b-wo5hkli89g],
.product-import-breadcrumb b[b-wo5hkli89g] {
    min-height: 32px;
    padding: 0 13px;
    border: 1px solid var(--import-soft);
    border-radius: 999px;
    background: #f8fafc;
    display: inline-flex;
    align-items: center;
}

.product-import-breadcrumb b[b-wo5hkli89g] {
    color: #1d4ed8;
    border-color: #bfdbfe;
    background: #dbeafe;
}

.product-import-breadcrumb i[b-wo5hkli89g] {
    width: 6px;
    height: 6px;
    border-top: 2px solid #94a3b8;
    border-left: 2px solid #94a3b8;
    transform: rotate(-45deg);
}

.product-import-title-row[b-wo5hkli89g] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-import-icon[b-wo5hkli89g] {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(135deg, #059669, #0ea5e9);
    display: grid;
    place-items: center;
    font-size: 15px;
    font-weight: 1000;
    box-shadow: 0 16px 34px rgba(5, 150, 105, .22);
}

.product-import-eyebrow[b-wo5hkli89g] {
    min-height: 30px;
    padding: 7px 14px;
    border-radius: 999px;
    color: #047857;
    background: #ecfdf5;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 1000;
}

.product-import-hero h1[b-wo5hkli89g] {
    margin: 8px 0 0;
    font-size: 34px;
    font-weight: 1000;
}

.product-import-hero p[b-wo5hkli89g] {
    margin: 10px 0 0;
    color: var(--import-muted);
    font-size: 14px;
    font-weight: 800;
}

.product-import-hero-actions[b-wo5hkli89g] {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-import-btn[b-wo5hkli89g] {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--import-border);
    border-radius: 999px;
    color: #334155;
    background: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 1000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.product-import-btn:hover:not(:disabled)[b-wo5hkli89g] {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(15,23,42,.09);
}

.product-import-btn:disabled[b-wo5hkli89g] {
    opacity: .58;
    cursor: not-allowed;
}

.product-import-btn.primary[b-wo5hkli89g],
.product-import-btn.template[b-wo5hkli89g] {
    color: #fff;
    border: 0;
}

.product-import-btn.primary[b-wo5hkli89g] {
    background: linear-gradient(135deg, var(--import-blue), var(--import-purple));
    box-shadow: 0 14px 30px rgba(37,99,235,.22);
}

.product-import-btn.template[b-wo5hkli89g] {
    background: linear-gradient(135deg, #059669, #0ea5e9);
    box-shadow: 0 14px 30px rgba(5,150,105,.2);
}

.product-import-btn.danger[b-wo5hkli89g] {
    color: #be123c;
    border-color: #fecdd3;
    background: #fff1f2;
}

.product-import-alert[b-wo5hkli89g] {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 13px;
    font-weight: 900;
}

.product-import-alert.error[b-wo5hkli89g] {
    color: #be123c;
    border: 1px solid #fecdd3;
    background: #fff1f2;
}

.product-import-alert.success[b-wo5hkli89g] {
    color: #047857;
    border: 1px solid #a7f3d0;
    background: #ecfdf5;
}

.product-import-alert button[b-wo5hkli89g] {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 10px;
    color: inherit;
    background: rgba(255,255,255,.72);
    font-size: 20px;
    cursor: pointer;
}

.product-import-layout[b-wo5hkli89g] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 18px;
    align-items: start;
}

.product-import-main[b-wo5hkli89g],
.product-import-side[b-wo5hkli89g] {
    display: grid;
    gap: 18px;
}

.product-import-card[b-wo5hkli89g] {
    padding: 24px;
    border-radius: 26px;
}

.product-import-card-head[b-wo5hkli89g] {
    margin-bottom: 20px;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--import-soft);
}

.product-import-card-head h2[b-wo5hkli89g] {
    margin: 8px 0 0;
    font-size: 21px;
    font-weight: 1000;
}

.product-import-card-head p[b-wo5hkli89g] {
    margin: 8px 0 0;
    color: var(--import-muted);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.8;
}

.product-import-step[b-wo5hkli89g] {
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 1000;
}

.product-import-step.success[b-wo5hkli89g] {
    color: #047857;
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.product-import-step.error[b-wo5hkli89g] {
    color: #be123c;
    background: #fff1f2;
    border-color: #fecdd3;
}

.product-import-options[b-wo5hkli89g] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.product-import-option[b-wo5hkli89g] {
    position: relative;
    min-height: 112px;
    padding: 18px;
    border: 1px solid var(--import-soft);
    border-radius: 18px;
    background: linear-gradient(180deg, #fff, #f8fafc);
    display: flex;
    align-items: flex-start;
    gap: 13px;
    cursor: pointer;
}

.product-import-option input[b-wo5hkli89g] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.product-import-option-control[b-wo5hkli89g] {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    margin-top: 1px;
    border: 2px solid #cbd5e1;
    border-radius: 7px;
    background: #fff;
    position: relative;
}

.product-import-option input:checked + .product-import-option-control[b-wo5hkli89g] {
    border-color: var(--erp-primary, #2563eb);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
}

.product-import-option input:checked + .product-import-option-control[b-wo5hkli89g]::after {
    content: "✓";
    position: absolute;
    inset: 0;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 1000;
}

.product-import-option-copy[b-wo5hkli89g] {
    display: grid;
    gap: 7px;
}

.product-import-option-copy strong[b-wo5hkli89g] {
    font-size: 13px;
    font-weight: 1000;
}

.product-import-option-copy small[b-wo5hkli89g] {
    color: var(--import-muted);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.9;
}

.product-import-dropzone[b-wo5hkli89g] {
    min-height: 220px;
    padding: 28px;
    border: 2px dashed #94a3b8;
    border-radius: 22px;
    background:
        radial-gradient(circle at 50% 0%, rgba(37,99,235,.08), transparent 190px),
        #f8fafc;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    text-align: center;
    cursor: pointer;
    transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.product-import-dropzone:hover[b-wo5hkli89g] {
    transform: translateY(-1px);
    border-color: #60a5fa;
    background:
        radial-gradient(circle at 50% 0%, rgba(37,99,235,.12), transparent 210px),
        #f8fbff;
}

.product-import-dropzone.has-file[b-wo5hkli89g] {
    border-color: #34d399;
    background:
        radial-gradient(circle at 50% 0%, rgba(5,150,105,.12), transparent 210px),
        #f0fdf4;
}

.product-import-native-file[b-wo5hkli89g] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.product-import-drop-icon[b-wo5hkli89g] {
    width: 62px;
    height: 62px;
    margin-bottom: 5px;
    border-radius: 20px;
    color: var(--erp-primary, #2563eb);
    background: #eff6ff;
    border: 1px solid #dbeafe;
    display: grid;
    place-items: center;
    font-size: 30px;
    font-weight: 1000;
}

.product-import-dropzone.has-file .product-import-drop-icon[b-wo5hkli89g] {
    color: #047857;
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.product-import-dropzone strong[b-wo5hkli89g] {
    font-size: 15px;
    font-weight: 1000;
    overflow-wrap: anywhere;
}

.product-import-dropzone > span:not(.product-import-drop-icon)[b-wo5hkli89g] {
    color: #475569;
    font-size: 12px;
    font-weight: 900;
}

.product-import-dropzone small[b-wo5hkli89g] {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
}

.product-import-selected-file[b-wo5hkli89g] {
    margin-top: 16px;
    padding: 15px;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    background: #f8fbff;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
}

.product-import-file-icon[b-wo5hkli89g] {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, #059669, #0ea5e9);
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 1000;
}

.product-import-file-copy[b-wo5hkli89g] {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.product-import-file-copy strong[b-wo5hkli89g] {
    overflow-wrap: anywhere;
    font-size: 13px;
    font-weight: 1000;
}

.product-import-file-copy span[b-wo5hkli89g] {
    color: var(--import-muted);
    font-size: 11px;
    font-weight: 850;
}

.product-import-file-actions[b-wo5hkli89g] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.product-import-processing[b-wo5hkli89g] {
    background: linear-gradient(180deg, #fff, #f8fbff);
}

.product-import-processing-head[b-wo5hkli89g] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.product-import-processing-head div:first-child[b-wo5hkli89g] {
    display: grid;
    gap: 6px;
}

.product-import-processing-head strong[b-wo5hkli89g] {
    font-size: 14px;
    font-weight: 1000;
}

.product-import-processing-head span[b-wo5hkli89g] {
    color: var(--import-muted);
    font-size: 12px;
    font-weight: 800;
}

.product-import-spinner[b-wo5hkli89g] {
    width: 34px;
    height: 34px;
    border: 4px solid #dbeafe;
    border-top-color: var(--erp-primary, #2563eb);
    border-radius: 50%;
    animation: product-import-spin-b-wo5hkli89g .8s linear infinite;
}

.product-import-progress-track[b-wo5hkli89g] {
    height: 10px;
    margin-top: 18px;
    border-radius: 999px;
    overflow: hidden;
    background: #e2e8f0;
}

.product-import-progress-bar[b-wo5hkli89g] {
    width: 42%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    animation: product-import-progress-b-wo5hkli89g 1.4s ease-in-out infinite alternate;
}

.product-import-summary[b-wo5hkli89g] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.product-import-summary > div[b-wo5hkli89g] {
    min-height: 104px;
    padding: 16px;
    border: 1px solid var(--import-soft);
    border-radius: 18px;
    background: #f8fafc;
    display: grid;
    align-content: center;
    gap: 7px;
    text-align: center;
}

.product-import-summary span[b-wo5hkli89g] {
    color: var(--import-muted);
    font-size: 11px;
    font-weight: 900;
}

.product-import-summary strong[b-wo5hkli89g] {
    font-size: 24px;
    font-weight: 1000;
}

.product-import-summary .inserted strong[b-wo5hkli89g] { color: #047857; }
.product-import-summary .updated strong[b-wo5hkli89g] { color: var(--erp-primary, #2563eb); }
.product-import-summary .skipped strong[b-wo5hkli89g] { color: #b45309; }
.product-import-summary .errors strong[b-wo5hkli89g] { color: #be123c; }

.product-import-result-actions[b-wo5hkli89g] {
    margin-top: 18px;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.product-import-table-wrap[b-wo5hkli89g] {
    overflow: auto;
    border: 1px solid var(--import-soft);
    border-radius: 18px;
}

.product-import-table[b-wo5hkli89g] {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
}

.product-import-table th[b-wo5hkli89g],
.product-import-table td[b-wo5hkli89g] {
    padding: 13px 14px;
    border-bottom: 1px solid #e8eef6;
    text-align: right;
    font-size: 12px;
    font-weight: 850;
}

.product-import-table th[b-wo5hkli89g] {
    color: #475569;
    background: linear-gradient(180deg, #f8fafc, #eef2ff);
    font-weight: 1000;
    white-space: nowrap;
}

.product-import-table tbody tr:last-child td[b-wo5hkli89g] {
    border-bottom: 0;
}

.product-import-table tbody tr:nth-child(even)[b-wo5hkli89g] {
    background: #fbfdff;
}

.product-import-guide[b-wo5hkli89g] {
    position: sticky;
    top: 20px;
}

.product-import-guide + .product-import-guide[b-wo5hkli89g] {
    top: 280px;
}

.product-import-side-icon[b-wo5hkli89g] {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    border-radius: 14px;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    display: grid;
    place-items: center;
    font-size: 20px;
    font-weight: 1000;
}

.product-import-guide.warning .product-import-side-icon[b-wo5hkli89g] {
    color: #b45309;
    background: #fffbeb;
    border-color: #fde68a;
}

.product-import-guide h3[b-wo5hkli89g] {
    margin: 0;
    font-size: 17px;
    font-weight: 1000;
}

.product-import-guide ul[b-wo5hkli89g] {
    margin: 16px 0 0;
    padding: 0 18px 0 0;
    color: #475569;
    display: grid;
    gap: 11px;
}

.product-import-guide li[b-wo5hkli89g] {
    font-size: 12px;
    font-weight: 800;
    line-height: 1.8;
}

@keyframes product-import-spin-b-wo5hkli89g {
    to { transform: rotate(360deg); }
}

@keyframes product-import-progress-b-wo5hkli89g {
    from { transform: translateX(0); }
    to { transform: translateX(-130%); }
}

@media (max-width: 1100px) {
    .product-import-layout[b-wo5hkli89g] {
        grid-template-columns: 1fr;
    }

    .product-import-side[b-wo5hkli89g] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-import-guide[b-wo5hkli89g],
    .product-import-guide + .product-import-guide[b-wo5hkli89g] {
        position: static;
    }
}

@media (max-width: 820px) {
    .product-import-hero[b-wo5hkli89g] {
        flex-direction: column;
        align-items: stretch;
    }

    .product-import-options[b-wo5hkli89g],
    .product-import-summary[b-wo5hkli89g] {
        grid-template-columns: 1fr;
    }

    .product-import-selected-file[b-wo5hkli89g] {
        grid-template-columns: 50px minmax(0, 1fr);
    }

    .product-import-file-actions[b-wo5hkli89g] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .product-import-page[b-wo5hkli89g] {
        padding: 14px;
    }

    .product-import-hero[b-wo5hkli89g],
    .product-import-card[b-wo5hkli89g] {
        padding: 18px;
    }

    .product-import-side[b-wo5hkli89g] {
        grid-template-columns: 1fr;
    }

    .product-import-title-row[b-wo5hkli89g] {
        align-items: flex-start;
    }

    .product-import-hero h1[b-wo5hkli89g] {
        font-size: 27px;
    }

    .product-import-hero-actions[b-wo5hkli89g],
    .product-import-file-actions[b-wo5hkli89g],
    .product-import-result-actions[b-wo5hkli89g] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .product-import-btn[b-wo5hkli89g] {
        width: 100%;
    }
}
/* /Components/Pages/ProductInventoryDashboard.razor.rz.scp.css */
.product-inventory-page[b-jml7p5wmj9] {
    --inventory-text: #0f172a;
    --inventory-muted: #64748b;
    --inventory-border: #dbe4f0;
    --inventory-soft: #e2e8f0;
    --inventory-blue: var(--erp-primary, #2563eb);
    --inventory-purple: var(--erp-accent, #7c3aed);
    --inventory-green: #059669;
    --inventory-red: #be123c;
    --inventory-amber: #b45309;
    min-height: 100vh;
    padding: 24px;
    color: var(--inventory-text);
    background:
        radial-gradient(circle at 16% 0%, rgba(124, 58, 237, .09), transparent 340px),
        linear-gradient(180deg, #eef4fb 0%, #f8fbff 52%, #eef4fb 100%);
}

.product-inventory-page *[b-jml7p5wmj9],
.product-inventory-page *[b-jml7p5wmj9]::before,
.product-inventory-page *[b-jml7p5wmj9]::after {
    box-sizing: border-box;
}

.inventory-hero[b-jml7p5wmj9],
.inventory-card[b-jml7p5wmj9],
.inventory-summary-card[b-jml7p5wmj9],
.inventory-kpi-card[b-jml7p5wmj9],
.inventory-state[b-jml7p5wmj9] {
    border: 1px solid rgba(219, 228, 240, .96);
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 22px 64px rgba(15, 23, 42, .07);
}

.inventory-hero[b-jml7p5wmj9] {
    min-height: 170px;
    margin-bottom: 18px;
    padding: 28px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        radial-gradient(circle at 0 0, rgba(124, 58, 237, .13), transparent 280px),
        linear-gradient(135deg, #fff, #eff6ff);
}

.inventory-hero-copy[b-jml7p5wmj9] {
    display: grid;
    gap: 20px;
}

.inventory-breadcrumb[b-jml7p5wmj9] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--inventory-muted);
    font-size: 12px;
    font-weight: 1000;
}

.inventory-breadcrumb span[b-jml7p5wmj9],
.inventory-breadcrumb b[b-jml7p5wmj9] {
    min-height: 32px;
    padding: 0 13px;
    border: 1px solid var(--inventory-soft);
    border-radius: 999px;
    background: #f8fafc;
    display: inline-flex;
    align-items: center;
}

.inventory-breadcrumb b[b-jml7p5wmj9] {
    color: #1d4ed8;
    border-color: #bfdbfe;
    background: #dbeafe;
}

.inventory-breadcrumb i[b-jml7p5wmj9] {
    width: 6px;
    height: 6px;
    border-top: 2px solid #94a3b8;
    border-left: 2px solid #94a3b8;
    transform: rotate(-45deg);
}

.inventory-title-row[b-jml7p5wmj9] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.inventory-hero-icon[b-jml7p5wmj9] {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    border-radius: 22px;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    display: grid;
    place-items: center;
    font-size: 34px;
    font-weight: 1000;
    box-shadow: 0 16px 34px rgba(37, 99, 235, .24);
}

.inventory-eyebrow[b-jml7p5wmj9] {
    min-height: 30px;
    padding: 7px 14px;
    border-radius: 999px;
    color: #1d4ed8;
    background: #eff6ff;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 1000;
}

.inventory-hero h1[b-jml7p5wmj9] {
    margin: 8px 0 0;
    font-size: 34px;
    font-weight: 1000;
}

.inventory-hero p[b-jml7p5wmj9] {
    margin: 10px 0 0;
    color: var(--inventory-muted);
    font-size: 14px;
    font-weight: 800;
}

.inventory-hero-actions[b-jml7p5wmj9] {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.inventory-btn[b-jml7p5wmj9] {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--inventory-border);
    border-radius: 999px;
    color: #334155;
    background: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 1000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.inventory-btn:hover:not(:disabled)[b-jml7p5wmj9] {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, .09);
}

.inventory-btn:disabled[b-jml7p5wmj9] {
    opacity: .58;
    cursor: not-allowed;
}

.inventory-btn.primary[b-jml7p5wmj9] {
    color: #fff;
    border: 0;
    background: linear-gradient(135deg, var(--inventory-blue), var(--inventory-purple));
    box-shadow: 0 14px 30px rgba(37, 99, 235, .22);
}

.inventory-btn.small[b-jml7p5wmj9] {
    min-height: 36px;
    padding: 0 14px;
    font-size: 12px;
}

.inventory-alert[b-jml7p5wmj9] {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 13px;
    font-weight: 900;
}

.inventory-alert.error[b-jml7p5wmj9] {
    color: var(--inventory-red);
    border: 1px solid #fecdd3;
    background: #fff1f2;
}

.inventory-alert button[b-jml7p5wmj9] {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 10px;
    color: inherit;
    background: rgba(255, 255, 255, .72);
    font-size: 20px;
    cursor: pointer;
}

.inventory-state[b-jml7p5wmj9] {
    min-height: 180px;
    padding: 28px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 14px;
    font-weight: 900;
}

.inventory-spinner[b-jml7p5wmj9] {
    width: 40px;
    height: 40px;
    border: 4px solid #dbeafe;
    border-top-color: var(--erp-primary, #2563eb);
    border-radius: 50%;
    animation: inventory-spin-b-jml7p5wmj9 .8s linear infinite;
}

.inventory-summary-grid[b-jml7p5wmj9] {
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.inventory-summary-card[b-jml7p5wmj9] {
    min-height: 116px;
    padding: 19px;
    border-radius: 24px;
    display: grid;
    align-content: center;
    gap: 7px;
}

.inventory-summary-card span[b-jml7p5wmj9] {
    color: var(--inventory-muted);
    font-size: 13px;
    font-weight: 950;
}

.inventory-summary-card strong[b-jml7p5wmj9] {
    font-size: 26px;
    font-weight: 1000;
}

.inventory-summary-card small[b-jml7p5wmj9] {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
}

.inventory-summary-card.success strong[b-jml7p5wmj9] { color: #047857; }
.inventory-summary-card.danger strong[b-jml7p5wmj9] { color: var(--inventory-red); }
.inventory-summary-card.negative strong[b-jml7p5wmj9] { color: #991b1b; }
.inventory-summary-card.stock strong[b-jml7p5wmj9] { color: #1d4ed8; }
.inventory-summary-card.value strong[b-jml7p5wmj9] { color: var(--erp-accent, #7c3aed); }

.inventory-kpi-grid[b-jml7p5wmj9] {
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.inventory-kpi-card[b-jml7p5wmj9] {
    min-height: 150px;
    padding: 20px;
    border-radius: 24px;
}

.inventory-kpi-head[b-jml7p5wmj9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.inventory-kpi-head span[b-jml7p5wmj9] {
    color: var(--inventory-muted);
    font-size: 13px;
    font-weight: 950;
}

.inventory-kpi-head b[b-jml7p5wmj9] {
    font-size: 19px;
    font-weight: 1000;
}

.inventory-kpi-track[b-jml7p5wmj9] {
    height: 12px;
    margin: 22px 0 14px;
    border-radius: 999px;
    overflow: hidden;
    background: #e2e8f0;
}

.inventory-kpi-track > div[b-jml7p5wmj9] {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
}

.inventory-kpi-track.profit > div[b-jml7p5wmj9] {
    background: linear-gradient(90deg, #059669, #0ea5e9);
}

.inventory-kpi-track.danger > div[b-jml7p5wmj9] {
    background: linear-gradient(90deg, #f59e0b, #e11d48);
}

.inventory-kpi-card small[b-jml7p5wmj9] {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.8;
}

.inventory-card[b-jml7p5wmj9] {
    border-radius: 28px;
}

.inventory-filter-card[b-jml7p5wmj9],
.inventory-report-card[b-jml7p5wmj9],
.inventory-list-card[b-jml7p5wmj9] {
    margin-bottom: 18px;
    padding: 24px;
}

.inventory-card-head[b-jml7p5wmj9] {
    margin-bottom: 20px;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--inventory-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.inventory-card-head.compact[b-jml7p5wmj9] {
    margin-bottom: 16px;
}

.inventory-card-head h2[b-jml7p5wmj9] {
    margin: 8px 0 0;
    font-size: 22px;
    font-weight: 1000;
}

.inventory-card-head p[b-jml7p5wmj9] {
    margin: 8px 0 0;
    color: var(--inventory-muted);
    font-size: 13px;
    font-weight: 800;
}

.inventory-step[b-jml7p5wmj9] {
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 1000;
}

.inventory-step.danger[b-jml7p5wmj9] {
    color: var(--inventory-red);
    background: #fff1f2;
    border-color: #fecdd3;
}

.inventory-step.success[b-jml7p5wmj9] {
    color: #047857;
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.inventory-page-badge[b-jml7p5wmj9],
.inventory-count[b-jml7p5wmj9] {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 1000;
}

.inventory-page-badge[b-jml7p5wmj9] {
    color: #6d28d9;
    background: #f3e8ff;
    border: 1px solid #ddd6fe;
}

.inventory-count.danger[b-jml7p5wmj9] {
    color: var(--inventory-red);
    background: #fff1f2;
    border: 1px solid #fecdd3;
}

.inventory-count.success[b-jml7p5wmj9] {
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.inventory-filter-grid[b-jml7p5wmj9] {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(190px, 230px) minmax(190px, 230px) 140px;
    gap: 12px;
    align-items: center;
}

.inventory-search-box[b-jml7p5wmj9] {
    position: relative;
}

.inventory-search-box > span[b-jml7p5wmj9] {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: var(--inventory-muted);
    font-size: 20px;
    pointer-events: none;
}

.inventory-input[b-jml7p5wmj9],
.inventory-select[b-jml7p5wmj9] {
    width: 100%;
    min-height: 50px;
    border: 1px solid var(--inventory-border);
    border-radius: 15px;
    color: var(--inventory-text);
    background: #f8fafc;
    font-family: inherit;
    font-size: 13px;
    font-weight: 850;
    outline: none;
}

.inventory-input[b-jml7p5wmj9] {
    padding: 0 44px 0 14px;
}

.inventory-select[b-jml7p5wmj9] {
    padding: 0 13px;
}

.inventory-input:focus[b-jml7p5wmj9],
.inventory-select:focus[b-jml7p5wmj9] {
    border-color: rgba(124, 58, 237, .42);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, .08);
}

.inventory-empty[b-jml7p5wmj9] {
    min-height: 230px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    text-align: center;
}

.inventory-empty-icon[b-jml7p5wmj9] {
    width: 74px;
    height: 74px;
    border-radius: 24px;
    color: var(--erp-primary, #2563eb);
    background: #eff6ff;
    border: 1px solid #dbeafe;
    display: grid;
    place-items: center;
    font-size: 34px;
}

.inventory-empty span[b-jml7p5wmj9],
.inventory-mini-empty[b-jml7p5wmj9] {
    color: var(--inventory-muted);
    font-size: 13px;
    font-weight: 850;
}

.inventory-table-wrap[b-jml7p5wmj9] {
    overflow: auto;
    border: 1px solid var(--inventory-soft);
    border-radius: 22px;
    background: #fff;
}

.inventory-table[b-jml7p5wmj9] {
    width: 100%;
    min-width: 1280px;
    border-collapse: separate;
    border-spacing: 0;
}

.inventory-table th[b-jml7p5wmj9] {
    position: sticky;
    top: 0;
    z-index: 4;
    padding: 15px 13px;
    border-bottom: 1px solid var(--inventory-soft);
    color: #475569;
    background: linear-gradient(180deg, #f8fafc, #eef2ff);
    text-align: right;
    font-size: 12px;
    font-weight: 1000;
    white-space: nowrap;
}

.inventory-table td[b-jml7p5wmj9] {
    padding: 13px;
    border-bottom: 1px solid #edf2f7;
    font-size: 12px;
    font-weight: 850;
    vertical-align: middle;
}

.inventory-table tbody tr:hover[b-jml7p5wmj9] {
    background: #f8fbff;
}

.inventory-table tbody tr:last-child td[b-jml7p5wmj9] {
    border-bottom: 0;
}

.inventory-table tbody tr.low[b-jml7p5wmj9] {
    background: #fffaf0;
}

.inventory-table tbody tr.negative[b-jml7p5wmj9] {
    background: #fff1f2;
}

.inventory-table tbody tr.over[b-jml7p5wmj9] {
    background: #eff6ff;
}

.inventory-table tbody tr.service[b-jml7p5wmj9] {
    background: #f8fafc;
}

.inventory-table tfoot td[b-jml7p5wmj9] {
    padding: 15px 13px;
    border-top: 1px solid var(--inventory-soft);
    border-bottom: 0;
    background: #f8fafc;
    font-weight: 1000;
    white-space: nowrap;
}

.inventory-name-cell[b-jml7p5wmj9] {
    min-width: 220px;
}

.inventory-name-cell span[b-jml7p5wmj9],
.inventory-meta-cell small[b-jml7p5wmj9] {
    display: block;
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
}

.inventory-name-cell strong[b-jml7p5wmj9],
.inventory-meta-cell strong[b-jml7p5wmj9] {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 1000;
}

.inventory-name-cell small[b-jml7p5wmj9] {
    display: block;
    margin-top: 4px;
    color: #94a3b8;
    font-size: 10px;
}

.inventory-stock-pill[b-jml7p5wmj9],
.inventory-badge[b-jml7p5wmj9] {
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 1000;
    white-space: nowrap;
}

.inventory-stock-pill.ok[b-jml7p5wmj9],
.inventory-badge.ok[b-jml7p5wmj9] {
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.inventory-stock-pill.low[b-jml7p5wmj9],
.inventory-badge.low[b-jml7p5wmj9] {
    color: var(--inventory-amber);
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.inventory-stock-pill.negative[b-jml7p5wmj9],
.inventory-badge.negative[b-jml7p5wmj9] {
    color: var(--inventory-red);
    background: #fff1f2;
    border: 1px solid #fecdd3;
}

.inventory-stock-pill.service[b-jml7p5wmj9],
.inventory-badge.service[b-jml7p5wmj9] {
    color: #6d28d9;
    background: #f3e8ff;
    border: 1px solid #ddd6fe;
}

.inventory-badge.zero[b-jml7p5wmj9] {
    color: #334155;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
}

.inventory-badge.over[b-jml7p5wmj9] {
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.inventory-badges[b-jml7p5wmj9] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.inventory-money[b-jml7p5wmj9] {
    white-space: nowrap;
    font-weight: 1000 !important;
}

.inventory-money.sale[b-jml7p5wmj9] {
    color: #047857;
}

.inventory-pagination[b-jml7p5wmj9] {
    padding-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--inventory-muted);
    font-size: 12px;
    font-weight: 900;
}

.inventory-pagination-actions[b-jml7p5wmj9] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.inventory-insights-grid[b-jml7p5wmj9] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.inventory-list[b-jml7p5wmj9] {
    display: grid;
    gap: 10px;
}

.inventory-list-item[b-jml7p5wmj9] {
    min-height: 68px;
    padding: 13px 14px;
    border: 1px solid var(--inventory-soft);
    border-radius: 17px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.inventory-list-item > div:first-child[b-jml7p5wmj9] {
    min-width: 0;
}

.inventory-list-item strong[b-jml7p5wmj9] {
    display: block;
    font-size: 12px;
    font-weight: 1000;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.inventory-list-item span[b-jml7p5wmj9] {
    display: block;
    margin-top: 5px;
    color: var(--inventory-muted);
    font-size: 10px;
    font-weight: 850;
}

.inventory-list-value[b-jml7p5wmj9] {
    flex: 0 0 auto;
    text-align: left;
}

.inventory-list-value b[b-jml7p5wmj9] {
    display: block;
    font-size: 14px;
    font-weight: 1000;
}

.inventory-list-value small[b-jml7p5wmj9] {
    display: block;
    margin-top: 5px;
    color: var(--inventory-muted);
    font-size: 9px;
    font-weight: 800;
}

.inventory-list-value.danger b[b-jml7p5wmj9] {
    color: var(--inventory-red);
}

.inventory-list-value.success b[b-jml7p5wmj9] {
    color: #047857;
}

@keyframes inventory-spin-b-jml7p5wmj9 {
    to { transform: rotate(360deg); }
}

@media (max-width: 1280px) {
    .inventory-summary-grid[b-jml7p5wmj9] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .inventory-filter-grid[b-jml7p5wmj9] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .inventory-hero[b-jml7p5wmj9] {
        flex-direction: column;
        align-items: stretch;
    }

    .inventory-kpi-grid[b-jml7p5wmj9],
    .inventory-insights-grid[b-jml7p5wmj9] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .product-inventory-page[b-jml7p5wmj9] {
        padding: 14px;
    }

    .inventory-hero[b-jml7p5wmj9],
    .inventory-filter-card[b-jml7p5wmj9],
    .inventory-report-card[b-jml7p5wmj9],
    .inventory-list-card[b-jml7p5wmj9] {
        padding: 18px;
    }

    .inventory-summary-grid[b-jml7p5wmj9],
    .inventory-filter-grid[b-jml7p5wmj9] {
        grid-template-columns: 1fr;
    }

    .inventory-card-head[b-jml7p5wmj9],
    .inventory-pagination[b-jml7p5wmj9] {
        flex-direction: column;
        align-items: stretch;
    }

    .inventory-hero-actions[b-jml7p5wmj9],
    .inventory-pagination-actions[b-jml7p5wmj9] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .inventory-btn[b-jml7p5wmj9] {
        width: 100%;
    }
}



@media print {
    @page {
        size: A4 landscape;
        margin: 8mm;
    }

    .no-print[b-jml7p5wmj9] {
        display: none !important;
    }

    html[b-jml7p5wmj9],
    body[b-jml7p5wmj9],
    .product-inventory-page[b-jml7p5wmj9] {
        width: auto !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #fff !important;
    }
}
/* /Components/Pages/ProductLabelBatchPrint.razor.rz.scp.css */
:host[b-7865be8rlx] {
    display: block;
}

.batch-label-page[b-7865be8rlx] {
    --bl-text: #0f172a;
    --bl-muted: #64748b;
    --bl-border: #dbe4f0;
    --bl-soft: #e2e8f0;
    --bl-blue: var(--erp-primary, #2563eb);
    --bl-purple: var(--erp-accent, #7c3aed);
    min-height: 100vh;
    padding: 24px;
    color: var(--bl-text);
    background:
        radial-gradient(circle at 12% 0%, rgba(124, 58, 237, .08), transparent 340px),
        radial-gradient(circle at 88% 4%, rgba(37, 99, 235, .08), transparent 340px),
        linear-gradient(180deg, #eef4fb 0%, #f8fbff 52%, #eef4fb 100%);
}

.batch-label-page *[b-7865be8rlx],
.batch-label-page *[b-7865be8rlx]::before,
.batch-label-page *[b-7865be8rlx]::after {
    box-sizing: border-box;
}

.batch-label-hero[b-7865be8rlx],
.batch-label-card[b-7865be8rlx],
.batch-label-summary article[b-7865be8rlx] {
    border: 1px solid rgba(219, 228, 240, .96);
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 22px 64px rgba(15, 23, 42, .07);
}

.batch-label-hero[b-7865be8rlx] {
    min-height: 170px;
    margin-bottom: 18px;
    padding: 28px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        radial-gradient(circle at 0 0, rgba(124, 58, 237, .13), transparent 280px),
        linear-gradient(135deg, #fff, #eff6ff);
}

.batch-label-hero-copy[b-7865be8rlx] {
    display: grid;
    gap: 20px;
}

.batch-label-breadcrumb[b-7865be8rlx] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--bl-muted);
    font-size: 12px;
    font-weight: 1000;
}

.batch-label-breadcrumb span[b-7865be8rlx],
.batch-label-breadcrumb b[b-7865be8rlx] {
    min-height: 32px;
    padding: 0 13px;
    border: 1px solid var(--bl-soft);
    border-radius: 999px;
    background: #f8fafc;
    display: inline-flex;
    align-items: center;
}

.batch-label-breadcrumb b[b-7865be8rlx] {
    color: #1d4ed8;
    border-color: #bfdbfe;
    background: #dbeafe;
}

.batch-label-breadcrumb i[b-7865be8rlx] {
    width: 6px;
    height: 6px;
    border-top: 2px solid #94a3b8;
    border-left: 2px solid #94a3b8;
    transform: rotate(-45deg);
}

.batch-label-title-row[b-7865be8rlx] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.batch-label-hero-icon[b-7865be8rlx] {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    border-radius: 22px;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    display: grid;
    place-items: center;
    font-size: 34px;
    box-shadow: 0 16px 34px rgba(37, 99, 235, .24);
}

.batch-label-eyebrow[b-7865be8rlx] {
    min-height: 30px;
    padding: 7px 14px;
    border-radius: 999px;
    color: #1d4ed8;
    background: #eff6ff;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 1000;
}

.batch-label-hero h1[b-7865be8rlx] {
    margin: 8px 0 0;
    font-size: 34px;
    font-weight: 1000;
}

.batch-label-hero p[b-7865be8rlx] {
    margin: 10px 0 0;
    color: var(--bl-muted);
    font-size: 14px;
    font-weight: 800;
}

.batch-label-hero-actions[b-7865be8rlx],
.batch-label-preview-actions[b-7865be8rlx],
.batch-label-toolbar[b-7865be8rlx] {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.batch-label-btn[b-7865be8rlx] {
    min-height: 44px;
    padding: 0 17px;
    border: 1px solid var(--bl-border);
    border-radius: 999px;
    color: #334155;
    background: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 1000;
    cursor: pointer;
}

.batch-label-btn.primary[b-7865be8rlx] {
    color: var(--erp-on-brand, #ffffff);
    border: 0;
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
}

.batch-label-btn.success[b-7865be8rlx] {
    color: #047857;
    border-color: #a7f3d0;
    background: #ecfdf5;
}

.batch-label-btn.danger[b-7865be8rlx] {
    color: #be123c;
    border-color: #fecdd3;
    background: #fff1f2;
}

.batch-label-btn.small[b-7865be8rlx] {
    min-height: 36px;
    padding: 0 13px;
    font-size: 10px;
}

.batch-label-btn:disabled[b-7865be8rlx] {
    opacity: .52;
    cursor: not-allowed;
}

.batch-label-alert[b-7865be8rlx] {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 13px;
    font-weight: 900;
}

.batch-label-alert.error[b-7865be8rlx] {
    color: #be123c;
    border: 1px solid #fecdd3;
    background: #fff1f2;
}

.batch-label-alert.success[b-7865be8rlx] {
    color: #047857;
    border: 1px solid #a7f3d0;
    background: #ecfdf5;
}

.batch-label-alert button[b-7865be8rlx] {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 10px;
    color: inherit;
    background: rgba(255, 255, 255, .75);
    font-size: 20px;
    cursor: pointer;
}

.batch-label-summary[b-7865be8rlx] {
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.batch-label-summary article[b-7865be8rlx] {
    min-height: 104px;
    padding: 18px;
    border-radius: 22px;
    display: grid;
    align-content: center;
    gap: 6px;
}

.batch-label-summary span[b-7865be8rlx] {
    color: var(--bl-muted);
    font-size: 12px;
    font-weight: 900;
}

.batch-label-summary strong[b-7865be8rlx] {
    font-size: 22px;
    font-weight: 1000;
}

.batch-label-summary small[b-7865be8rlx] {
    color: #94a3b8;
    font-size: 10px;
    font-weight: 800;
}

.batch-label-card[b-7865be8rlx] {
    padding: 22px;
    border-radius: 26px;
}

.batch-label-settings[b-7865be8rlx] {
    margin-bottom: 18px;
    overflow: hidden;
}

.batch-label-card-head[b-7865be8rlx] {
    margin-bottom: 18px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--bl-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.batch-label-card-head.compact[b-7865be8rlx] {
    margin-bottom: 14px;
}

.batch-label-card-head span[b-7865be8rlx] {
    color: var(--bl-blue);
    font-size: 10px;
    font-weight: 1000;
}

.batch-label-card-head h2[b-7865be8rlx] {
    margin: 5px 0 0;
    font-size: 19px;
    font-weight: 1000;
}

.batch-label-card-head p[b-7865be8rlx] {
    margin: 6px 0 0;
    color: var(--bl-muted);
    font-size: 11px;
    font-weight: 800;
}

.batch-label-settings-grid[b-7865be8rlx] {
    display: grid;
    grid-template-columns: minmax(320px, 1.6fr) repeat(3, minmax(160px, .7fr));
    gap: 12px;
    align-items: end;
}

.batch-label-settings-grid > *[b-7865be8rlx],
.batch-label-field[b-7865be8rlx],
.batch-label-search[b-7865be8rlx] {
    min-width: 0;
}

.batch-label-field label[b-7865be8rlx] {
    display: block;
    margin: 0 2px 7px 0;
    color: #334155;
    font-size: 10px;
    font-weight: 1000;
}

.batch-label-search[b-7865be8rlx] {
    position: relative;
}

.batch-label-search > span[b-7865be8rlx] {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: var(--bl-muted);
    font-size: 19px;
    pointer-events: none;
}

.batch-label-search .batch-label-input[b-7865be8rlx] {
    padding-right: 44px;
}

.batch-label-input[b-7865be8rlx],
.batch-label-select[b-7865be8rlx] {
    width: 100%;
    min-width: 0;
    min-height: 49px;
    padding: 0 12px;
    border: 1px solid var(--bl-border);
    border-radius: 13px;
    color: var(--bl-text);
    background: #f8fafc;
    font-family: inherit;
    font-size: 11px;
    font-weight: 850;
    outline: none;
}

.batch-label-input:focus[b-7865be8rlx],
.batch-label-select:focus[b-7865be8rlx] {
    border-color: rgba(124, 58, 237, .42);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, .08);
}

.batch-label-toolbar[b-7865be8rlx] {
    margin-top: 14px;
}

.batch-label-workspace[b-7865be8rlx] {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.batch-label-products[b-7865be8rlx] {
    position: sticky;
    top: 18px;
    max-height: calc(100vh - 36px);
    overflow: hidden;
}

.batch-label-count[b-7865be8rlx] {
    min-width: 38px;
    min-height: 38px;
    padding: 0 11px;
    border-radius: 999px;
    color: #6d28d9 !important;
    background: #f3e8ff;
    border: 1px solid #ddd6fe;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.batch-label-product-list[b-7865be8rlx] {
    display: grid;
    gap: 8px;
    max-height: calc(100vh - 200px);
    overflow: auto;
    padding-left: 4px;
}

.batch-label-product[b-7865be8rlx] {
    min-height: 92px;
    padding: 12px;
    border: 1px solid var(--bl-soft);
    border-radius: 16px;
    background: #fff;
    display: grid;
    grid-template-columns: 21px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.batch-label-product.selected[b-7865be8rlx] {
    border-color: #93c5fd;
    background: linear-gradient(135deg, #eff6ff, #f5f3ff);
}

.batch-label-product > input[b-7865be8rlx] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.batch-label-check[b-7865be8rlx] {
    width: 21px;
    height: 21px;
    border: 2px solid #cbd5e1;
    border-radius: 7px;
    background: #fff;
    position: relative;
}

.batch-label-product input:checked + .batch-label-check[b-7865be8rlx] {
    border-color: var(--erp-primary, #2563eb);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
}

.batch-label-product input:checked + .batch-label-check[b-7865be8rlx]::after {
    content: "✓";
    position: absolute;
    inset: 0;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 1000;
}

.batch-label-product-info strong[b-7865be8rlx],
.batch-label-product-info small[b-7865be8rlx] {
    display: block;
}

.batch-label-product-info strong[b-7865be8rlx] {
    font-size: 11px;
    font-weight: 1000;
}

.batch-label-product-info small[b-7865be8rlx] {
    margin-top: 4px;
    color: var(--bl-muted);
    font-size: 8px;
    font-weight: 800;
}

.batch-label-product > b[b-7865be8rlx] {
    color: #047857;
    font-size: 9px;
    font-weight: 1000;
    white-space: nowrap;
}

.batch-label-state[b-7865be8rlx],
.batch-label-empty[b-7865be8rlx],
.batch-label-preview-empty[b-7865be8rlx] {
    min-height: 260px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 11px;
    text-align: center;
}

.batch-label-spinner[b-7865be8rlx] {
    width: 42px;
    height: 42px;
    border: 4px solid #dbeafe;
    border-top-color: var(--erp-primary, #2563eb);
    border-radius: 50%;
    animation: bl-spin-b-7865be8rlx .8s linear infinite;
}

.batch-label-empty div[b-7865be8rlx],
.batch-label-preview-empty div[b-7865be8rlx] {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    color: var(--erp-primary, #2563eb);
    background: #eff6ff;
    border: 1px solid #dbeafe;
    display: grid;
    place-items: center;
    font-size: 34px;
}

.batch-label-empty span[b-7865be8rlx],
.batch-label-preview-empty span[b-7865be8rlx] {
    color: var(--bl-muted);
    font-size: 11px;
    font-weight: 800;
}

.batch-label-preview-frame-wrap[b-7865be8rlx] {
    min-height: 720px;
    padding: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 18px;
    background:
        linear-gradient(rgba(148, 163, 184, .15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, .15) 1px, transparent 1px),
        #eef2f7;
    background-size: 12px 12px;
    overflow: hidden;
}

.batch-label-preview-frame[b-7865be8rlx] {
    width: 100%;
    min-height: 690px;
    border: 1px solid #dbe4f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(15, 23, 42, .12);
}

@keyframes bl-spin-b-7865be8rlx {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1200px) {
    .batch-label-settings-grid[b-7865be8rlx] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .batch-label-search[b-7865be8rlx] {
        grid-column: 1 / -1;
    }

    .batch-label-workspace[b-7865be8rlx] {
        grid-template-columns: 1fr;
    }

    .batch-label-products[b-7865be8rlx] {
        position: static;
        max-height: none;
    }

    .batch-label-product-list[b-7865be8rlx] {
        max-height: 480px;
    }
}

@media (max-width: 760px) {
    .batch-label-page[b-7865be8rlx] {
        padding: 14px;
    }

    .batch-label-hero[b-7865be8rlx],
    .batch-label-card[b-7865be8rlx] {
        padding: 18px;
    }

    .batch-label-hero[b-7865be8rlx],
    .batch-label-card-head[b-7865be8rlx] {
        flex-direction: column;
        align-items: stretch;
    }

    .batch-label-summary[b-7865be8rlx],
    .batch-label-settings-grid[b-7865be8rlx] {
        grid-template-columns: 1fr;
    }

    .batch-label-search[b-7865be8rlx] {
        grid-column: auto;
    }

    .batch-label-hero-actions[b-7865be8rlx] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .batch-label-btn[b-7865be8rlx] {
        width: 100%;
    }

    .batch-label-preview-frame-wrap[b-7865be8rlx] {
        padding: 8px;
    }
}


/* Final layout refinements */
.batch-label-workspace[b-7865be8rlx] {
    grid-template-columns: minmax(0, 1fr) 320px;
}

.batch-label-preview[b-7865be8rlx] {
    min-width: 0;
    grid-column: 1;
    grid-row: 1;
}

.batch-label-products[b-7865be8rlx] {
    grid-column: 2;
    grid-row: 1;
}

.batch-label-preview .batch-label-card-head[b-7865be8rlx] {
    flex-direction: row-reverse;
}

.batch-label-preview-actions[b-7865be8rlx] {
    justify-content: flex-start;
}

.batch-label-preview-frame-wrap[b-7865be8rlx] {
    min-height: 680px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: auto;
}

.batch-label-preview-frame[b-7865be8rlx] {
    width: min(100%, 980px);
    min-height: 640px;
    margin-inline: auto;
    border-color: #d7e0ec;
}

.batch-label-product-list[b-7865be8rlx] {
    gap: 7px;
}

.batch-label-product[b-7865be8rlx] {
    min-height: 76px;
    padding: 10px 11px;
    grid-template-columns: 21px minmax(0, 1fr);
    align-items: start;
}

.batch-label-product > b[b-7865be8rlx] {
    grid-column: 2;
    margin-top: -2px;
    justify-self: start;
    font-size: 8.5px;
}

.batch-label-product-info[b-7865be8rlx] {
    min-width: 0;
}

.batch-label-product-info strong[b-7865be8rlx] {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.batch-label-product-info small[b-7865be8rlx] {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media (max-width: 1400px) {
    .batch-label-workspace[b-7865be8rlx] {
        grid-template-columns: minmax(0, 65fr) minmax(300px, 35fr);
    }
}

@media (max-width: 1050px) {
    .batch-label-workspace[b-7865be8rlx] {
        grid-template-columns: 1fr;
    }

    .batch-label-preview[b-7865be8rlx],
    .batch-label-products[b-7865be8rlx] {
        grid-column: 1;
        grid-row: auto;
    }

    .batch-label-products[b-7865be8rlx] {
        order: 1;
    }

    .batch-label-preview[b-7865be8rlx] {
        order: 2;
    }
}
/* /Components/Pages/ProductLabelDesigner.razor.rz.scp.css */
.label-designer-page[b-hkksp84000] {
    --ld-text: #0f172a;
    --ld-muted: #64748b;
    --ld-border: #dbe4f0;
    --ld-soft: #e2e8f0;
    --ld-blue: var(--erp-primary, #2563eb);
    --ld-purple: var(--erp-accent, #7c3aed);
    min-height: 100vh;
    padding: 24px;
    color: var(--ld-text);
    background:
        radial-gradient(circle at 16% 0%, rgba(124, 58, 237, .09), transparent 360px),
        linear-gradient(180deg, #eef4fb 0%, #f8fbff 52%, #eef4fb 100%);
}

.label-designer-page *[b-hkksp84000],
.label-designer-page *[b-hkksp84000]::before,
.label-designer-page *[b-hkksp84000]::after {
    box-sizing: border-box;
}

.label-designer-hero[b-hkksp84000],
.label-panel[b-hkksp84000] {
    border: 1px solid rgba(219, 228, 240, .96);
    background: rgba(255,255,255,.98);
    box-shadow: 0 22px 64px rgba(15,23,42,.07);
}

.label-designer-hero[b-hkksp84000] {
    min-height: 170px;
    margin-bottom: 18px;
    padding: 28px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        radial-gradient(circle at 0 0, rgba(124,58,237,.13), transparent 280px),
        linear-gradient(135deg, #fff, #eff6ff);
}

.label-designer-hero-copy[b-hkksp84000] {
    display: grid;
    gap: 20px;
}

.label-designer-breadcrumb[b-hkksp84000] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ld-muted);
    font-size: 12px;
    font-weight: 1000;
}

.label-designer-breadcrumb span[b-hkksp84000],
.label-designer-breadcrumb b[b-hkksp84000] {
    min-height: 32px;
    padding: 0 13px;
    border: 1px solid var(--ld-soft);
    border-radius: 999px;
    background: #f8fafc;
    display: inline-flex;
    align-items: center;
}

.label-designer-breadcrumb b[b-hkksp84000] {
    color: #1d4ed8;
    border-color: #bfdbfe;
    background: #dbeafe;
}

.label-designer-breadcrumb i[b-hkksp84000] {
    width: 6px;
    height: 6px;
    border-top: 2px solid #94a3b8;
    border-left: 2px solid #94a3b8;
    transform: rotate(-45deg);
}

.label-designer-title-row[b-hkksp84000] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.label-designer-hero-icon[b-hkksp84000] {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    border-radius: 22px;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    display: grid;
    place-items: center;
    font-size: 31px;
    box-shadow: 0 16px 34px rgba(37,99,235,.24);
}

.label-designer-eyebrow[b-hkksp84000] {
    min-height: 30px;
    padding: 7px 14px;
    border-radius: 999px;
    color: #1d4ed8;
    background: #eff6ff;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 1000;
}

.label-designer-hero h1[b-hkksp84000] {
    margin: 8px 0 0;
    font-size: 33px;
    font-weight: 1000;
}

.label-designer-hero p[b-hkksp84000] {
    margin: 10px 0 0;
    color: var(--ld-muted);
    font-size: 14px;
    font-weight: 800;
}

.label-designer-actions[b-hkksp84000] {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.label-btn[b-hkksp84000] {
    min-height: 44px;
    padding: 0 17px;
    border: 1px solid var(--ld-border);
    border-radius: 999px;
    color: #334155;
    background: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 1000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease;
}

.label-btn:hover:not(:disabled)[b-hkksp84000] {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(15,23,42,.09);
}

.label-btn:disabled[b-hkksp84000] {
    opacity: .55;
    cursor: not-allowed;
}

.label-btn.primary[b-hkksp84000] {
    color: var(--erp-on-brand, #ffffff);
    border: 0;
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    box-shadow: 0 14px 30px rgba(37,99,235,.22);
}

.label-alert[b-hkksp84000] {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 13px;
    font-weight: 900;
}

.label-alert.error[b-hkksp84000] {
    color: #be123c;
    border: 1px solid #fecdd3;
    background: #fff1f2;
}

.label-alert.success[b-hkksp84000] {
    color: #047857;
    border: 1px solid #a7f3d0;
    background: #ecfdf5;
}

.label-alert button[b-hkksp84000] {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 10px;
    color: inherit;
    background: rgba(255,255,255,.75);
    font-size: 20px;
    cursor: pointer;
}

.label-designer-workspace[b-hkksp84000] {
    display: grid;
    grid-template-columns: 250px minmax(520px, 1fr) minmax(390px, 560px);
    gap: 18px;
    align-items: start;
}

.label-panel[b-hkksp84000] {
    padding: 22px;
    border-radius: 26px;
}

.label-template-list[b-hkksp84000],
.label-preview-panel[b-hkksp84000] {
    position: sticky;
    top: 18px;
    max-height: calc(100vh - 36px);
    overflow: auto;
}

.label-panel-title[b-hkksp84000] {
    margin-bottom: 18px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--ld-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.label-panel-kicker[b-hkksp84000] {
    color: var(--erp-primary, #2563eb);
    font-size: 10px;
    font-weight: 1000;
}

.label-panel-title h2[b-hkksp84000] {
    margin: 5px 0 0;
    font-size: 18px;
    font-weight: 1000;
}

.label-count[b-hkksp84000],
.label-mode-badge[b-hkksp84000] {
    min-width: 38px;
    min-height: 38px;
    padding: 0 11px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 1000;
}

.label-count[b-hkksp84000] {
    color: #6d28d9;
    background: #f3e8ff;
    border: 1px solid #ddd6fe;
}

.label-mode-badge[b-hkksp84000] {
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.label-state[b-hkksp84000],
.label-empty[b-hkksp84000] {
    min-height: 150px;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    color: var(--ld-muted);
    background: #f8fafc;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    text-align: center;
    font-size: 12px;
    font-weight: 900;
}

.label-empty > span[b-hkksp84000] {
    font-size: 30px;
}

.label-empty small[b-hkksp84000] {
    max-width: 180px;
    line-height: 1.8;
    font-size: 10px;
}

.template-items[b-hkksp84000] {
    display: grid;
    gap: 9px;
}

.template-item[b-hkksp84000] {
    width: 100%;
    min-height: 86px;
    padding: 13px;
    border: 1px solid var(--ld-soft);
    border-radius: 16px;
    color: var(--ld-text);
    background: #fff;
    text-align: right;
    display: grid;
    gap: 5px;
    font-family: inherit;
    cursor: pointer;
    transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.template-item:hover[b-hkksp84000] {
    transform: translateY(-1px);
    border-color: #bfdbfe;
    background: #f8fbff;
}

.template-item.active[b-hkksp84000] {
    border-color: #60a5fa;
    background: linear-gradient(135deg, #eff6ff, #f5f3ff);
    box-shadow: 0 10px 24px rgba(37,99,235,.1);
}

.template-item > div[b-hkksp84000] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.template-item strong[b-hkksp84000] {
    font-size: 12px;
    font-weight: 1000;
}

.template-item > span[b-hkksp84000],
.template-item small[b-hkksp84000] {
    color: var(--ld-muted);
    font-size: 10px;
    font-weight: 850;
}

.template-default[b-hkksp84000] {
    min-height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    display: inline-flex;
    align-items: center;
    font-size: 8px;
    font-weight: 1000;
}

.settings-section[b-hkksp84000] {
    padding: 20px 0;
    border-bottom: 1px solid var(--ld-soft);
}

.settings-section:first-of-type[b-hkksp84000] {
    padding-top: 0;
}

.settings-section:last-child[b-hkksp84000] {
    padding-bottom: 0;
    border-bottom: 0;
}

.settings-section-title[b-hkksp84000] {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.settings-section-title > span[b-hkksp84000] {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 12px;
    color: var(--erp-primary, #2563eb);
    background: #eff6ff;
    border: 1px solid #dbeafe;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 1000;
}

.settings-section-title h3[b-hkksp84000] {
    margin: 0;
    font-size: 15px;
    font-weight: 1000;
}

.settings-section-title p[b-hkksp84000] {
    margin: 5px 0 0;
    color: var(--ld-muted);
    font-size: 11px;
    font-weight: 800;
}

.label-form-grid[b-hkksp84000] {
    display: grid;
    gap: 12px;
}

.label-form-grid.columns-2[b-hkksp84000] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.label-form-grid.columns-4[b-hkksp84000] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.label-field.wide[b-hkksp84000] {
    grid-column: span 2;
}

.label-field label[b-hkksp84000] {
    display: block;
    margin: 0 2px 7px 0;
    color: #334155;
    font-size: 11px;
    font-weight: 1000;
}

.label-input[b-hkksp84000],
.label-select[b-hkksp84000] {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid var(--ld-border);
    border-radius: 13px;
    color: var(--ld-text);
    background: #f8fafc;
    font-family: inherit;
    font-size: 12px;
    font-weight: 850;
    outline: none;
}

.label-input:focus[b-hkksp84000],
.label-select:focus[b-hkksp84000] {
    border-color: rgba(124,58,237,.42);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(124,58,237,.08);
}

.field-checks[b-hkksp84000] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.field-check[b-hkksp84000] {
    min-height: 48px;
    padding: 0 12px;
    border: 1px solid var(--ld-border);
    border-radius: 14px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
}

.field-check.state[b-hkksp84000] {
    align-self: end;
}

.field-check input[b-hkksp84000] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.field-check > span[b-hkksp84000] {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    border: 2px solid #cbd5e1;
    border-radius: 7px;
    background: #fff;
    position: relative;
}

.field-check input:checked + span[b-hkksp84000] {
    border-color: var(--erp-primary, #2563eb);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
}

.field-check input:checked + span[b-hkksp84000]::after {
    content: "✓";
    position: absolute;
    inset: 0;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 1000;
}

.field-check b[b-hkksp84000] {
    font-size: 10px;
    font-weight: 1000;
}

.preview-title[b-hkksp84000] {
    position: sticky;
    top: 0;
    z-index: 4;
    background: #fff;
}

.preview-toolbar[b-hkksp84000] {
    display: flex;
    align-items: center;
    gap: 5px;
}

.preview-toolbar button[b-hkksp84000],
.preview-toolbar span[b-hkksp84000] {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid var(--ld-border);
    border-radius: 10px;
    color: #334155;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 10px;
    font-weight: 1000;
}

.preview-toolbar button[b-hkksp84000] {
    cursor: pointer;
}

.preview-metrics[b-hkksp84000] {
    margin-bottom: 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.preview-metrics > div[b-hkksp84000] {
    min-height: 58px;
    padding: 9px;
    border: 1px solid var(--ld-soft);
    border-radius: 13px;
    background: #f8fafc;
    display: grid;
    align-content: center;
    gap: 4px;
}

.preview-metrics span[b-hkksp84000] {
    color: var(--ld-muted);
    font-size: 8px;
    font-weight: 850;
}

.preview-metrics b[b-hkksp84000] {
    font-size: 9px;
    font-weight: 1000;
}

.preview-stage[b-hkksp84000] {
    position: relative;
    min-height: 520px;
    padding: 28px;
    overflow: auto;
    border: 1px solid #cbd5e1;
    border-radius: 18px;
    background-color: #eef2f7;
    background-image:
        linear-gradient(rgba(148,163,184,.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,.16) 1px, transparent 1px);
    background-size: 10px 10px;
}

.preview-ruler[b-hkksp84000] {
    position: absolute;
    z-index: 2;
    opacity: .55;
}

.preview-ruler.horizontal[b-hkksp84000] {
    top: 8px;
    right: 28px;
    left: 28px;
    height: 10px;
    background: repeating-linear-gradient(90deg, #64748b 0 1px, transparent 1px 10px);
}

.preview-ruler.vertical[b-hkksp84000] {
    top: 28px;
    right: 8px;
    bottom: 28px;
    width: 10px;
    background: repeating-linear-gradient(180deg, #64748b 0 1px, transparent 1px 10px);
}

.preview-zoom[b-hkksp84000] {
    transform-origin: top right;
    width: max-content;
    min-width: 100%;
}

.preview-sheet[b-hkksp84000] {
    width: max-content;
    min-width: 210mm;
    min-height: 297mm;
    display: grid;
    align-content: start;
    border: 1px solid #cbd5e1;
    background: #fff;
    box-shadow: 0 18px 50px rgba(15,23,42,.18);
}

.preview-label[b-hkksp84000] {
    padding: 5px;
    overflow: hidden;
    border: 1px dashed #94a3b8;
    background: #fff;
    text-align: center;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 2px;
}

.preview-product-name[b-hkksp84000] {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 1000;
}

.preview-product-code[b-hkksp84000],
.preview-barcode-text[b-hkksp84000],
.preview-extra[b-hkksp84000] {
    color: #475569;
    font-size: .82em;
}

.preview-product-code[b-hkksp84000],
.preview-barcode-text[b-hkksp84000] {
    direction: ltr;
}

.preview-barcode[b-hkksp84000] {
    direction: ltr;
    height: 36px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1px;
    overflow: hidden;
}

.preview-barcode span[b-hkksp84000] {
    display: inline-block;
    background: #111827;
}

.preview-price[b-hkksp84000] {
    font-weight: 1000;
}

.preview-extra[b-hkksp84000] {
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

.preview-qr[b-hkksp84000] {
    width: 40px;
    height: 40px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
}

.preview-qr span[b-hkksp84000] {
    display: block;
}

.qr-dark[b-hkksp84000] {
    background: #111827;
}

.qr-light[b-hkksp84000] {
    background: #fff;
}

.preview-footer[b-hkksp84000] {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.preview-footer > span[b-hkksp84000] {
    color: var(--ld-muted);
    font-size: 9px;
    font-weight: 800;
}

@media (max-width: 1500px) {
    .label-designer-workspace[b-hkksp84000] {
        grid-template-columns: 230px minmax(500px, 1fr);
    }

    .label-preview-panel[b-hkksp84000] {
        position: static;
        grid-column: 1 / -1;
        max-height: none;
    }
}

@media (max-width: 1000px) {
    .label-designer-hero[b-hkksp84000] {
        flex-direction: column;
        align-items: stretch;
    }

    .label-designer-workspace[b-hkksp84000] {
        grid-template-columns: 1fr;
    }

    .label-template-list[b-hkksp84000] {
        position: static;
        max-height: none;
    }

    .label-form-grid.columns-4[b-hkksp84000],
    .field-checks[b-hkksp84000] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .label-designer-page[b-hkksp84000] {
        padding: 14px;
    }

    .label-designer-hero[b-hkksp84000],
    .label-panel[b-hkksp84000] {
        padding: 18px;
    }

    .label-form-grid.columns-2[b-hkksp84000],
    .label-form-grid.columns-4[b-hkksp84000],
    .field-checks[b-hkksp84000],
    .preview-metrics[b-hkksp84000] {
        grid-template-columns: 1fr;
    }

    .label-field.wide[b-hkksp84000] {
        grid-column: span 1;
    }

    .label-designer-actions[b-hkksp84000] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .label-btn[b-hkksp84000] {
        width: 100%;
    }
}




/* Enterprise refinement */
.label-designer-actions[b-hkksp84000] {
    align-items: center;
}

.label-action-group[b-hkksp84000] {
    display: inline-flex;
    padding: 4px;
    gap: 4px;
    border: 1px solid #dbe4f0;
    border-radius: 999px;
    background: rgba(255,255,255,.72);
}

.label-action-group .label-btn[b-hkksp84000] {
    min-height: 38px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.label-btn.save[b-hkksp84000] {
    min-width: 142px;
    min-height: 50px;
    font-size: 13px;
}

.template-item-footer[b-hkksp84000] {
    margin-top: 5px;
    padding-top: 7px;
    border-top: 1px solid #e8eef6;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

.template-item-footer span[b-hkksp84000] {
    color: #64748b;
    font-size: 9px;
    font-weight: 900;
}

.template-item-footer b[b-hkksp84000] {
    color: var(--erp-primary, #2563eb);
    font-size: 9px;
    font-weight: 1000;
}

.preview-editor-toolbar[b-hkksp84000] {
    margin-bottom: 12px;
    padding: 8px;
    border: 1px solid #dbe4f0;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff, #f8fafc);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.preview-tool-group[b-hkksp84000] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.preview-tool[b-hkksp84000] {
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid #dbe4f0;
    border-radius: 9px;
    color: #475569;
    background: #fff;
    font-family: inherit;
    font-size: 9px;
    font-weight: 1000;
    cursor: pointer;
}

.preview-tool.active[b-hkksp84000] {
    color: #1d4ed8;
    border-color: #93c5fd;
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(37,99,235,.07);
}

.preview-stage[b-hkksp84000] {
    min-height: 650px;
    padding: 38px;
}

.preview-stage.grid-hidden[b-hkksp84000] {
    background-image: none;
}

.preview-stage.grid-visible[b-hkksp84000] {
    background-color: #eef2f7;
    background-image:
        linear-gradient(rgba(148,163,184,.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,.18) 1px, transparent 1px);
    background-size: 10px 10px;
}

.preview-sheet[b-hkksp84000] {
    border-radius: 2px;
}

.preview-label[b-hkksp84000] {
    position: relative;
    transition: outline .12s ease, box-shadow .12s ease;
}

.preview-label:hover[b-hkksp84000] {
    z-index: 2;
    outline: 2px solid rgba(37,99,235,.65);
    box-shadow: 0 8px 20px rgba(37,99,235,.12);
}

.label-settings-panel .settings-section[b-hkksp84000] {
    margin-bottom: 14px;
    padding: 17px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff, #fbfdff);
}

.label-settings-panel .settings-section:last-child[b-hkksp84000] {
    margin-bottom: 0;
    border-bottom: 1px solid #e2e8f0;
}

.label-input[b-hkksp84000],
.label-select[b-hkksp84000] {
    min-height: 49px;
}

@media (max-width: 1750px) {
    .label-designer-workspace[b-hkksp84000] {
        grid-template-columns: 250px minmax(0, 1fr);
    }

    .label-preview-panel[b-hkksp84000] {
        position: static;
        grid-column: 1 / -1;
        max-height: none;
    }

    .preview-stage[b-hkksp84000] {
        min-height: 720px;
    }
}

@media (max-width: 1050px) {
    .label-designer-workspace[b-hkksp84000] {
        grid-template-columns: 1fr;
    }

    .label-template-list[b-hkksp84000] {
        position: static;
        max-height: none;
    }

    .label-action-group[b-hkksp84000] {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        border-radius: 16px;
    }
}


@media print {
    @page {
        size: A4 portrait;
        margin: 0;
    }

    .label-designer-hero[b-hkksp84000],
    .label-alert[b-hkksp84000],
    .label-template-list[b-hkksp84000],
    .label-settings-panel[b-hkksp84000],
    .label-panel-title[b-hkksp84000],
    .preview-editor-toolbar[b-hkksp84000],
    .preview-metrics[b-hkksp84000],
    .preview-footer[b-hkksp84000],
    .preview-ruler[b-hkksp84000] {
        display: none !important;
    }

    .label-designer-page[b-hkksp84000],
    .label-designer-workspace[b-hkksp84000],
    .label-preview-panel[b-hkksp84000],
    .preview-stage[b-hkksp84000],
    .preview-zoom[b-hkksp84000] {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        overflow: visible !important;
        box-shadow: none !important;
        background: #fff !important;
        transform: none !important;
    }

    .label-designer-page[b-hkksp84000],
    .label-designer-workspace[b-hkksp84000],
    .label-preview-panel[b-hkksp84000] {
        display: block !important;
    }

    .preview-sheet[b-hkksp84000] {
        box-sizing: border-box !important;
        width: 210mm !important;
        min-width: 210mm !important;
        max-width: 210mm !important;
        height: 297mm !important;
        min-height: 297mm !important;
        max-height: 297mm !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        overflow: hidden !important;
        box-shadow: none !important;
        transform: none !important;
        transform-origin: top right !important;
        background: #fff !important;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .preview-label[b-hkksp84000] {
        box-sizing: border-box !important;
        overflow: hidden !important;
        break-inside: avoid !important;
        page-break-inside: avoid !important;
        border-color: #94a3b8 !important;
        box-shadow: none !important;
        outline: none !important;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .preview-label:hover[b-hkksp84000] {
        outline: none !important;
        box-shadow: none !important;
    }

    .preview-barcode span[b-hkksp84000],
    .qr-dark[b-hkksp84000] {
        background: #000 !important;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
}


/* Fix panel overlap and responsive workspace order */
.label-designer-workspace[b-hkksp84000] {
    isolation: isolate;
}

.label-template-list[b-hkksp84000],
.label-settings-panel[b-hkksp84000],
.label-preview-panel[b-hkksp84000] {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.label-template-list[b-hkksp84000] {
    align-self: start;
    z-index: 3;
    overflow: hidden auto;
}

.label-settings-panel[b-hkksp84000] {
    z-index: 2;
}

.label-preview-panel[b-hkksp84000] {
    z-index: 1;
    overflow: hidden;
}

@media (min-width: 1751px) {
    .label-designer-workspace[b-hkksp84000] {
        grid-template-columns: 250px minmax(520px, 1fr) minmax(390px, 560px);
    }

    .label-template-list[b-hkksp84000] {
        grid-column: 1;
        grid-row: 1;
    }

    .label-settings-panel[b-hkksp84000] {
        grid-column: 2;
        grid-row: 1;
    }

    .label-preview-panel[b-hkksp84000] {
        grid-column: 3;
        grid-row: 1;
    }
}

@media (max-width: 1750px) and (min-width: 1001px) {
    .label-designer-workspace[b-hkksp84000] {
        grid-template-columns: 260px minmax(0, 1fr);
        align-items: start;
    }

    .label-template-list[b-hkksp84000] {
        position: static !important;
        grid-column: 1;
        grid-row: 1;
        max-height: none;
        overflow: visible;
    }

    .label-settings-panel[b-hkksp84000] {
        grid-column: 2;
        grid-row: 1;
    }

    .label-preview-panel[b-hkksp84000] {
        position: static !important;
        grid-column: 1 / -1;
        grid-row: 2;
        max-height: none;
        overflow: visible;
        z-index: 1;
    }
}

@media (max-width: 1000px) {
    .label-designer-workspace[b-hkksp84000] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .label-template-list[b-hkksp84000],
    .label-settings-panel[b-hkksp84000],
    .label-preview-panel[b-hkksp84000] {
        position: static !important;
        grid-column: 1 !important;
        max-height: none;
        overflow: visible;
    }

    .label-template-list[b-hkksp84000] {
        grid-row: 1;
    }

    .label-settings-panel[b-hkksp84000] {
        grid-row: 2;
    }

    .label-preview-panel[b-hkksp84000] {
        grid-row: 3;
    }
}
/* /Components/Pages/ProductLabelLayoutDesigner.razor.rz.scp.css */
.label-layout-page[b-dezpwvpgko] {
    padding: 24px;
}

.layout-header[b-dezpwvpgko] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.layout-header h3[b-dezpwvpgko] {
    margin: 0;
    font-weight: 900;
}

.layout-header p[b-dezpwvpgko] {
    margin: 6px 0 0;
    color: #64748b;
}

.layout-grid[b-dezpwvpgko] {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 16px;
}

.field-list[b-dezpwvpgko],
.canvas-panel[b-dezpwvpgko] {
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(15,23,42,.08);
}

.field-list h5[b-dezpwvpgko] {
    font-weight: 900;
    margin-bottom: 14px;
}

.field-item[b-dezpwvpgko] {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 8px;
    font-weight: 800;
}

@media(max-width: 900px) {
    .label-layout-page[b-dezpwvpgko] {
        padding: 16px;
    }

    .layout-grid[b-dezpwvpgko] {
        grid-template-columns: 1fr;
    }

    .layout-header[b-dezpwvpgko] {
        flex-direction: column;
    }
}
/* /Components/Pages/ProductLabelPrintPreview.razor.rz.scp.css */
.label-print-preview-page[b-gnltnkcu2d] {
    padding: 24px;
}

.preview-header[b-gnltnkcu2d] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.preview-header h3[b-gnltnkcu2d] {
    margin: 0;
    font-weight: 900;
}

.preview-header p[b-gnltnkcu2d] {
    margin: 6px 0 0;
    color: #64748b;
}

.preview-actions[b-gnltnkcu2d] {
    display: flex;
    gap: 8px;
}

.preview-options[b-gnltnkcu2d] {
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

@media print {
    .no-print[b-gnltnkcu2d] {
        display: none !important;
    }

    .label-print-preview-page[b-gnltnkcu2d] {
        padding: 0;
    }

    @page {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .label-print-preview-page[b-gnltnkcu2d] {
        padding: 16px;
    }

    .preview-header[b-gnltnkcu2d] {
        flex-direction: column;
        align-items: stretch;
    }
}
/* /Components/Pages/ProductLabels.razor.rz.scp.css */
:host[b-b574pzjlqx] {
    display: block;
}

.product-label-page[b-b574pzjlqx] {
    --pl-text: #0f172a;
    --pl-muted: #64748b;
    --pl-border: #dbe4f0;
    --pl-soft: #e2e8f0;
    --pl-blue: var(--erp-primary, #2563eb);
    --pl-purple: var(--erp-accent, #7c3aed);
    min-height: 100vh;
    padding: 24px;
    color: var(--pl-text);
    background:
        radial-gradient(circle at 12% 0%, rgba(124,58,237,.08), transparent 340px),
        radial-gradient(circle at 88% 4%, rgba(37,99,235,.08), transparent 340px),
        linear-gradient(180deg, #eef4fb 0%, #f8fbff 52%, #eef4fb 100%);
}

.product-label-page *[b-b574pzjlqx],
.product-label-page *[b-b574pzjlqx]::before,
.product-label-page *[b-b574pzjlqx]::after {
    box-sizing: border-box;
}

.product-label-hero[b-b574pzjlqx],
.product-label-card[b-b574pzjlqx],
.product-label-summary article[b-b574pzjlqx] {
    border: 1px solid rgba(219,228,240,.96);
    background: rgba(255,255,255,.98);
    box-shadow: 0 22px 64px rgba(15,23,42,.07);
}

.product-label-hero[b-b574pzjlqx] {
    min-height: 170px;
    margin-bottom: 18px;
    padding: 28px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        radial-gradient(circle at 0 0, rgba(124,58,237,.13), transparent 280px),
        linear-gradient(135deg, #fff, #eff6ff);
}

.product-label-hero-copy[b-b574pzjlqx] {
    display: grid;
    gap: 20px;
}

.product-label-breadcrumb[b-b574pzjlqx] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--pl-muted);
    font-size: 12px;
    font-weight: 1000;
}

.product-label-breadcrumb span[b-b574pzjlqx],
.product-label-breadcrumb b[b-b574pzjlqx] {
    min-height: 32px;
    padding: 0 13px;
    border: 1px solid var(--pl-soft);
    border-radius: 999px;
    background: #f8fafc;
    display: inline-flex;
    align-items: center;
}

.product-label-breadcrumb b[b-b574pzjlqx] {
    color: #1d4ed8;
    border-color: #bfdbfe;
    background: #dbeafe;
}

.product-label-breadcrumb i[b-b574pzjlqx] {
    width: 6px;
    height: 6px;
    border-top: 2px solid #94a3b8;
    border-left: 2px solid #94a3b8;
    transform: rotate(-45deg);
}

.product-label-title-row[b-b574pzjlqx] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-label-hero-icon[b-b574pzjlqx] {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    border-radius: 22px;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    display: grid;
    place-items: center;
    font-size: 34px;
    box-shadow: 0 16px 34px rgba(37,99,235,.24);
}

.product-label-eyebrow[b-b574pzjlqx] {
    min-height: 30px;
    padding: 7px 14px;
    border-radius: 999px;
    color: #1d4ed8;
    background: #eff6ff;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 1000;
}

.product-label-hero h1[b-b574pzjlqx] {
    margin: 8px 0 0;
    font-size: 34px;
    font-weight: 1000;
}

.product-label-hero p[b-b574pzjlqx] {
    margin: 10px 0 0;
    color: var(--pl-muted);
    font-size: 14px;
    font-weight: 800;
}

.product-label-hero-actions[b-b574pzjlqx] {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.product-label-btn[b-b574pzjlqx] {
    min-height: 44px;
    padding: 0 17px;
    border: 1px solid var(--pl-border);
    border-radius: 999px;
    color: #334155;
    background: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 1000;
    cursor: pointer;
}

.product-label-btn.primary[b-b574pzjlqx] {
    color: var(--erp-on-brand, #ffffff);
    border: 0;
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    box-shadow: 0 14px 30px rgba(37,99,235,.22);
}

.product-label-btn.small[b-b574pzjlqx] {
    min-height: 36px;
    padding: 0 13px;
    font-size: 10px;
}

.product-label-btn.danger[b-b574pzjlqx] {
    color: #be123c;
    border-color: #fecdd3;
    background: #fff1f2;
}

.product-label-btn:disabled[b-b574pzjlqx] {
    opacity: .52;
    cursor: not-allowed;
}

.product-label-alert[b-b574pzjlqx] {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 13px;
    font-weight: 900;
}

.product-label-alert.error[b-b574pzjlqx] {
    color: #be123c;
    border: 1px solid #fecdd3;
    background: #fff1f2;
}

.product-label-alert.success[b-b574pzjlqx] {
    color: #047857;
    border: 1px solid #a7f3d0;
    background: #ecfdf5;
}

.product-label-alert button[b-b574pzjlqx] {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 10px;
    color: inherit;
    background: rgba(255,255,255,.75);
    font-size: 20px;
    cursor: pointer;
}

.product-label-summary[b-b574pzjlqx] {
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 14px;
}

.product-label-summary article[b-b574pzjlqx] {
    min-height: 104px;
    padding: 18px;
    border-radius: 22px;
    display: grid;
    align-content: center;
    gap: 6px;
}

.product-label-summary span[b-b574pzjlqx] {
    color: var(--pl-muted);
    font-size: 12px;
    font-weight: 900;
}

.product-label-summary strong[b-b574pzjlqx] {
    font-size: 22px;
    font-weight: 1000;
}

.product-label-summary small[b-b574pzjlqx] {
    color: #94a3b8;
    font-size: 10px;
    font-weight: 800;
}

.product-label-card[b-b574pzjlqx] {
    padding: 22px;
    border-radius: 26px;
}

.product-label-filter[b-b574pzjlqx] {
    margin-bottom: 18px;
}

.product-label-card-head[b-b574pzjlqx] {
    margin-bottom: 18px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--pl-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.product-label-card-head.compact[b-b574pzjlqx] {
    margin-bottom: 14px;
}

.product-label-card-head span[b-b574pzjlqx] {
    color: var(--pl-blue);
    font-size: 10px;
    font-weight: 1000;
}

.product-label-card-head h2[b-b574pzjlqx] {
    margin: 5px 0 0;
    font-size: 19px;
    font-weight: 1000;
}

.product-label-card-head p[b-b574pzjlqx] {
    margin: 6px 0 0;
    color: var(--pl-muted);
    font-size: 11px;
    font-weight: 800;
}

.product-label-filter-grid[b-b574pzjlqx] {
    display: grid;
    grid-template-columns: minmax(320px, 1.5fr) repeat(7, minmax(120px, .7fr));
    gap: 12px;
    align-items: end;
}

.product-label-field label[b-b574pzjlqx] {
    display: block;
    margin: 0 2px 7px 0;
    color: #334155;
    font-size: 10px;
    font-weight: 1000;
}

.product-label-search[b-b574pzjlqx] {
    position: relative;
    align-self: end;
}

.product-label-search > span[b-b574pzjlqx] {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: var(--pl-muted);
    font-size: 19px;
    pointer-events: none;
}

.product-label-search .product-label-input[b-b574pzjlqx] {
    padding-right: 44px;
}

.product-label-input[b-b574pzjlqx],
.product-label-select[b-b574pzjlqx] {
    width: 100%;
    min-height: 49px;
    padding: 0 12px;
    border: 1px solid var(--pl-border);
    border-radius: 13px;
    color: var(--pl-text);
    background: #f8fafc;
    font-family: inherit;
    font-size: 11px;
    font-weight: 850;
    outline: none;
}

.product-label-input:focus[b-b574pzjlqx],
.product-label-select:focus[b-b574pzjlqx] {
    border-color: rgba(124,58,237,.42);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(124,58,237,.08);
}

.product-label-option-row[b-b574pzjlqx] {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 10px;
}

.product-label-option-row label[b-b574pzjlqx] {
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid var(--pl-border);
    border-radius: 14px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
}

.product-label-option-row input[b-b574pzjlqx],
.product-label-item > input[b-b574pzjlqx] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.product-label-option-row label > span[b-b574pzjlqx],
.product-label-checkmark[b-b574pzjlqx] {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    border: 2px solid #cbd5e1;
    border-radius: 7px;
    background: #fff;
    position: relative;
}

.product-label-option-row input:checked + span[b-b574pzjlqx],
.product-label-item input:checked + .product-label-checkmark[b-b574pzjlqx] {
    border-color: var(--erp-primary, #2563eb);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
}

.product-label-option-row input:checked + span[b-b574pzjlqx]::after,
.product-label-item input:checked + .product-label-checkmark[b-b574pzjlqx]::after {
    content: "✓";
    position: absolute;
    inset: 0;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 1000;
}

.product-label-option-row b[b-b574pzjlqx] {
    font-size: 10px;
    font-weight: 1000;
}

.product-label-workspace[b-b574pzjlqx] {
    display: grid;
    grid-template-columns: 340px minmax(0,1fr);
    gap: 18px;
    align-items: start;
}

.product-label-list[b-b574pzjlqx] {
    position: sticky;
    top: 18px;
    max-height: calc(100vh - 36px);
    overflow: hidden;
}

.product-label-count[b-b574pzjlqx] {
    min-width: 38px;
    min-height: 38px;
    padding: 0 11px;
    border-radius: 999px;
    color: #6d28d9 !important;
    background: #f3e8ff;
    border: 1px solid #ddd6fe;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-label-selection-actions[b-b574pzjlqx] {
    margin-bottom: 12px;
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.product-label-items[b-b574pzjlqx] {
    display: grid;
    gap: 8px;
    max-height: calc(100vh - 230px);
    overflow: auto;
    padding-left: 4px;
}

.product-label-item[b-b574pzjlqx] {
    min-height: 92px;
    padding: 12px;
    border: 1px solid var(--pl-soft);
    border-radius: 16px;
    background: #fff;
    display: grid;
    grid-template-columns: 21px minmax(0,1fr) auto;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.product-label-item.selected[b-b574pzjlqx] {
    border-color: #93c5fd;
    background: linear-gradient(135deg, #eff6ff, #f5f3ff);
    box-shadow: 0 10px 24px rgba(37,99,235,.08);
}

.product-label-item strong[b-b574pzjlqx],
.product-label-item small[b-b574pzjlqx] {
    display: block;
}

.product-label-item strong[b-b574pzjlqx] {
    font-size: 11px;
    font-weight: 1000;
}

.product-label-item small[b-b574pzjlqx] {
    margin-top: 4px;
    color: var(--pl-muted);
    font-size: 8px;
    font-weight: 800;
}

.product-label-item > b[b-b574pzjlqx] {
    color: #047857;
    font-size: 9px;
    font-weight: 1000;
    white-space: nowrap;
}

.product-label-state[b-b574pzjlqx],
.product-label-empty-list[b-b574pzjlqx],
.product-label-empty-preview[b-b574pzjlqx] {
    min-height: 220px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 11px;
    text-align: center;
}

.product-label-spinner[b-b574pzjlqx] {
    width: 42px;
    height: 42px;
    border: 4px solid #dbeafe;
    border-top-color: var(--erp-primary, #2563eb);
    border-radius: 50%;
    animation: pl-spin-b-b574pzjlqx .8s linear infinite;
}

.product-label-empty-list div[b-b574pzjlqx],
.product-label-empty-preview div[b-b574pzjlqx] {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    color: var(--erp-primary, #2563eb);
    background: #eff6ff;
    border: 1px solid #dbeafe;
    display: grid;
    place-items: center;
    font-size: 34px;
}

.product-label-empty-list span[b-b574pzjlqx],
.product-label-empty-preview span[b-b574pzjlqx] {
    color: var(--pl-muted);
    font-size: 11px;
    font-weight: 800;
}

.product-label-zoom[b-b574pzjlqx] {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.product-label-zoom button[b-b574pzjlqx],
.product-label-zoom span[b-b574pzjlqx] {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid var(--pl-border);
    border-radius: 10px;
    color: #334155;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 9px;
    font-weight: 1000;
}

.product-label-zoom button[b-b574pzjlqx] {
    cursor: pointer;
}

.product-label-preview-toolbar[b-b574pzjlqx] {
    margin-bottom: 12px;
    padding: 9px 11px;
    border: 1px solid var(--pl-border);
    border-radius: 14px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.product-label-preview-toolbar span[b-b574pzjlqx] {
    min-height: 28px;
    padding: 0 9px;
    border-radius: 999px;
    color: #475569;
    background: #fff;
    border: 1px solid var(--pl-soft);
    display: inline-flex;
    align-items: center;
    font-size: 9px;
    font-weight: 900;
}

.product-label-preview-stage[b-b574pzjlqx] {
    position: relative;
    min-height: 720px;
    padding: 32px;
    overflow: auto;
    border: 1px solid #cbd5e1;
    border-radius: 18px;
    background: #eef2f7;
}

.product-label-preview-stage.grid[b-b574pzjlqx] {
    background-image:
        linear-gradient(rgba(148,163,184,.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,.18) 1px, transparent 1px);
    background-size: 10px 10px;
}

.product-label-preview-zoom[b-b574pzjlqx] {
    width: max-content;
    min-width: 100%;
    transform-origin: top right;
}

.label-sheet[b-b574pzjlqx] {
    background: #fff;
    box-shadow: 0 18px 50px rgba(15,23,42,.18);
}

.label-sheet.a4[b-b574pzjlqx] {
    width: 210mm;
    min-height: 297mm;
    display: grid;
    align-content: start;
    justify-content: start;
}

.label-sheet.thermal[b-b574pzjlqx] {
    width: max-content;
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    justify-content: start;
}

.product-label[b-b574pzjlqx] {
    overflow: hidden;
    background: #fff;
    text-align: center;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 3px;
    break-inside: avoid;
}

.product-label.with-border[b-b574pzjlqx] {
    border: 1px dashed #94a3b8;
}

.label-a4[b-b574pzjlqx] {
    padding: 3mm;
}

.label-50x30[b-b574pzjlqx] {
    padding: 2mm;
}

.label-60x40[b-b574pzjlqx] {
    padding: 3mm;
}

.label-100x50[b-b574pzjlqx] {
    padding: 4mm;
}

.label-product-name[b-b574pzjlqx] {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #0f172a;
    font-size: 11px;
    font-weight: 1000;
}

.label-product-code[b-b574pzjlqx],
.label-code[b-b574pzjlqx] {
    direction: ltr;
    color: #475569;
    font-size: 8px;
    font-weight: 850;
}

.label-barcode-wrap[b-b574pzjlqx] {
    width: 85%;
    max-width: 100%;
    overflow: hidden;
}

.label-barcode-wrap > *[b-b574pzjlqx] {
    max-width: 100%;
}

.label-price[b-b574pzjlqx] {
    color: #0f172a;
    font-size: 11px;
    font-weight: 1000;
}

.label-50x30 .label-product-name[b-b574pzjlqx] { font-size: 8px; }
.label-50x30 .label-product-code[b-b574pzjlqx],
.label-50x30 .label-code[b-b574pzjlqx] { font-size: 6px; }
.label-50x30 .label-price[b-b574pzjlqx] { font-size: 8px; }

.label-60x40 .label-product-name[b-b574pzjlqx] { font-size: 10px; }
.label-60x40 .label-product-code[b-b574pzjlqx],
.label-60x40 .label-code[b-b574pzjlqx] { font-size: 7px; }
.label-60x40 .label-price[b-b574pzjlqx] { font-size: 9px; }

.label-100x50 .label-product-name[b-b574pzjlqx] { font-size: 13px; }
.label-100x50 .label-product-code[b-b574pzjlqx],
.label-100x50 .label-code[b-b574pzjlqx] { font-size: 9px; }
.label-100x50 .label-price[b-b574pzjlqx] { font-size: 12px; }

.label-qr[b-b574pzjlqx] {
    width: 42px;
    height: 42px;
    display: grid;
    grid-template-columns: repeat(7,1fr);
    gap: 1px;
    direction: ltr;
}

.label-50x30 .label-qr[b-b574pzjlqx] {
    width: 30px;
    height: 30px;
}

.label-60x40 .label-qr[b-b574pzjlqx] {
    width: 38px;
    height: 38px;
}

.label-100x50 .label-qr[b-b574pzjlqx] {
    width: 52px;
    height: 52px;
}

.label-qr span[b-b574pzjlqx] {
    display: block;
}

.qr-dark[b-b574pzjlqx] {
    background: #111827;
}

.qr-light[b-b574pzjlqx] {
    background: #fff;
}

.label-print-document[b-b574pzjlqx] {
    position: fixed;
    left: -20000px;
    top: 0;
    width: max-content;
    height: auto;
    opacity: 0;
    pointer-events: none;
    overflow: visible;
}

@keyframes pl-spin-b-b574pzjlqx {
    to { transform: rotate(360deg); }
}

@media (max-width: 1500px) {
    .product-label-filter-grid[b-b574pzjlqx] {
        grid-template-columns: repeat(4, minmax(0,1fr));
    }

    .product-label-search[b-b574pzjlqx] {
        grid-column: span 2;
    }
}

@media (max-width: 1050px) {
    .product-label-hero[b-b574pzjlqx] {
        flex-direction: column;
        align-items: stretch;
    }

    .product-label-summary[b-b574pzjlqx] {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .product-label-workspace[b-b574pzjlqx] {
        grid-template-columns: 1fr;
    }

    .product-label-list[b-b574pzjlqx] {
        position: static;
        max-height: none;
    }

    .product-label-items[b-b574pzjlqx] {
        max-height: 500px;
    }
}

@media (max-width: 700px) {
    .product-label-page[b-b574pzjlqx] {
        padding: 14px;
    }

    .product-label-hero[b-b574pzjlqx],
    .product-label-card[b-b574pzjlqx] {
        padding: 18px;
    }

    .product-label-summary[b-b574pzjlqx],
    .product-label-filter-grid[b-b574pzjlqx],
    .product-label-option-row[b-b574pzjlqx] {
        grid-template-columns: 1fr;
    }

    .product-label-search[b-b574pzjlqx] {
        grid-column: span 1;
    }

    .product-label-card-head[b-b574pzjlqx] {
        flex-direction: column;
        align-items: stretch;
    }

    .product-label-hero-actions[b-b574pzjlqx] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .product-label-btn[b-b574pzjlqx] {
        width: 100%;
    }

    .product-label-preview-stage[b-b574pzjlqx] {
        padding: 15px;
    }
}

@media print {
    .no-print[b-b574pzjlqx],
    .label-print-document[b-b574pzjlqx] {
        display: none !important;
    }
}


/* اصلاح کامل بیرون‌زدگی بخش مشخصات لیبل */
.product-label-filter[b-b574pzjlqx],
.product-label-filter-grid[b-b574pzjlqx],
.product-label-field[b-b574pzjlqx],
.product-label-search[b-b574pzjlqx],
.product-label-option-row[b-b574pzjlqx] {
    min-width: 0;
    max-width: 100%;
}

.product-label-filter[b-b574pzjlqx] {
    overflow: hidden;
}

.product-label-filter-grid > *[b-b574pzjlqx] {
    min-width: 0;
}

.product-label-input[b-b574pzjlqx],
.product-label-select[b-b574pzjlqx] {
    min-width: 0;
    max-width: 100%;
}

@media (max-width: 1850px) {
    .product-label-filter-grid[b-b574pzjlqx] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .product-label-search[b-b574pzjlqx] {
        grid-column: span 2;
    }
}

@media (max-width: 1250px) {
    .product-label-filter-grid[b-b574pzjlqx] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-label-search[b-b574pzjlqx] {
        grid-column: 1 / -1;
    }

    .product-label-option-row[b-b574pzjlqx] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .product-label-filter-grid[b-b574pzjlqx],
    .product-label-option-row[b-b574pzjlqx] {
        grid-template-columns: 1fr;
    }

    .product-label-search[b-b574pzjlqx] {
        grid-column: auto;
    }
}
/* /Components/Pages/ProductPriceHistory.razor.rz.scp.css */
.product-price-history-page[b-w122teivzt] {
    --history-text: #0f172a;
    --history-muted: #64748b;
    --history-border: #dbe4f0;
    --history-blue: var(--erp-primary, #2563eb);
    --history-purple: var(--erp-accent, #7c3aed);
    --history-green: #059669;
    --history-red: #dc2626;
    min-height: 100vh;
    padding: 24px;
    color: var(--history-text);
    background:
        radial-gradient(circle at 18% 0%, rgba(124, 58, 237, .08), transparent 340px),
        linear-gradient(180deg, #eef4fb 0%, #f8fbff 50%, #eef4fb 100%);
}

.product-price-history-page *[b-w122teivzt],
.product-price-history-page *[b-w122teivzt]::before,
.product-price-history-page *[b-w122teivzt]::after {
    box-sizing: border-box;
}

.product-price-history-header[b-w122teivzt],
.price-history-filter[b-w122teivzt],
.price-history-card[b-w122teivzt],
.price-history-timeline[b-w122teivzt],
.history-empty[b-w122teivzt],
.history-loading[b-w122teivzt] {
    border: 1px solid rgba(219, 228, 240, .96);
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 20px 58px rgba(15, 23, 42, .07);
}

.product-price-history-header[b-w122teivzt] {
    min-height: 142px;
    margin-bottom: 18px;
    padding: 28px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        radial-gradient(circle at 0 0, rgba(124, 58, 237, .12), transparent 280px),
        linear-gradient(135deg, #fff, #f2f6ff);
}

.history-kicker[b-w122teivzt] {
    display: inline-flex;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    align-items: center;
    color: var(--erp-primary, #2563eb);
    background: #e0edff;
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: .08em;
}

.history-header-copy h1[b-w122teivzt] {
    margin: 10px 0 0;
    font-size: 31px;
    line-height: 1.25;
    font-weight: 1000;
}

.history-header-copy p[b-w122teivzt] {
    margin: 10px 0 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--history-muted);
    font-size: 13px;
    font-weight: 800;
}

.history-header-copy p strong[b-w122teivzt] {
    color: var(--history-text);
}

.product-price-history-actions[b-w122teivzt] {
    display: flex;
    gap: 10px;
}

.history-button[b-w122teivzt] {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--history-border);
    border-radius: 14px;
    color: #334155;
    background: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 1000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease;
}

.history-button:hover:not(:disabled)[b-w122teivzt] {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.history-button:disabled[b-w122teivzt] {
    opacity: .55;
    cursor: not-allowed;
}

.history-button.refresh[b-w122teivzt] {
    color: #fff;
    border: 0;
    background: linear-gradient(135deg, var(--history-blue), var(--history-purple));
}

.history-back-button span[b-w122teivzt] {
    font-size: 18px;
    line-height: 1;
}

.history-alert[b-w122teivzt] {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 13px;
    font-weight: 900;
}

.history-alert.error[b-w122teivzt] {
    color: #be123c;
    border: 1px solid #fecdd3;
    background: #fff1f2;
}

.history-alert button[b-w122teivzt] {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 9px;
    color: inherit;
    background: rgba(255,255,255,.72);
    font-size: 20px;
    cursor: pointer;
}

.history-loading[b-w122teivzt] {
    min-height: 180px;
    padding: 24px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 14px;
    color: var(--history-muted);
}

.history-loading-spinner[b-w122teivzt] {
    width: 34px;
    height: 34px;
    border: 4px solid #dbeafe;
    border-top-color: var(--erp-primary, #2563eb);
    border-radius: 50%;
    animation: history-spin-b-w122teivzt .8s linear infinite;
}

@keyframes history-spin-b-w122teivzt {
    to { transform: rotate(360deg); }
}

.price-history-summary[b-w122teivzt] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.history-stat-card[b-w122teivzt] {
    position: relative;
    min-width: 0;
    min-height: 132px;
    padding: 20px 22px;
    overflow: hidden;
    border: 1px solid var(--history-border);
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .07);
}

.history-stat-card[b-w122teivzt]::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: linear-gradient(180deg, var(--history-blue), var(--history-purple));
}

.history-stat-card.purchase[b-w122teivzt]::before {
    background: linear-gradient(180deg, #0ea5e9, var(--erp-primary, #2563eb));
}

.history-stat-card.sale[b-w122teivzt]::before {
    background: linear-gradient(180deg, #10b981, #059669);
}

.history-stat-card.increase[b-w122teivzt]::before {
    background: linear-gradient(180deg, var(--erp-accent, #8b5cf6), var(--erp-accent, #7c3aed));
}

.history-stat-label[b-w122teivzt] {
    color: var(--history-muted);
    font-size: 13px;
    font-weight: 900;
}

.history-stat-card > strong[b-w122teivzt],
.history-stat-value[b-w122teivzt] {
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 1000;
    white-space: nowrap;
}

.stat-value-up[b-w122teivzt] {
    color: #047857 !important;
}

.stat-value-down[b-w122teivzt] {
    color: #be123c !important;
}

.stat-value-neutral[b-w122teivzt] {
    color: #334155 !important;
}

.history-stat-card small[b-w122teivzt] {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
}

.price-history-filter[b-w122teivzt],
.price-history-card[b-w122teivzt],
.price-history-timeline[b-w122teivzt] {
    margin-bottom: 18px;
    padding: 22px;
    border-radius: 24px;
}

.history-section-heading[b-w122teivzt] {
    min-height: 58px;
    margin-bottom: 18px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e7edf5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.history-section-heading h2[b-w122teivzt] {
    margin: 0;
    font-size: 20px;
    font-weight: 1000;
}

.history-section-heading p[b-w122teivzt] {
    margin: 6px 0 0;
    color: var(--history-muted);
    font-size: 12px;
    font-weight: 800;
}

.history-filter-grid[b-w122teivzt] {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(220px, 320px);
    gap: 14px;
}

.history-field[b-w122teivzt] {
    display: grid;
    gap: 7px;
}

.history-field > span[b-w122teivzt] {
    color: #475569;
    font-size: 12px;
    font-weight: 900;
}

.history-field input[b-w122teivzt],
.history-field select[b-w122teivzt] {
    width: 100%;
    min-height: 50px;
    border: 1px solid var(--history-border);
    border-radius: 15px;
    color: var(--history-text);
    background: #f8fafc;
    font-family: inherit;
    font-size: 13px;
    font-weight: 850;
    outline: none;
    padding: 0 14px;
}

.history-field input:focus[b-w122teivzt],
.history-field select:focus[b-w122teivzt] {
    border-color: rgba(124, 58, 237, .42);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, .08);
}

.history-empty[b-w122teivzt] {
    min-height: 220px;
    padding: 24px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    text-align: center;
}

.history-empty-icon[b-w122teivzt] {
    width: 70px;
    height: 70px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    font-size: 32px;
}

.history-empty strong[b-w122teivzt] {
    font-size: 16px;
    font-weight: 1000;
}

.history-empty span[b-w122teivzt] {
    color: var(--history-muted);
    font-size: 13px;
}

.price-history-table-wrap[b-w122teivzt] {
    max-width: 100%;
    overflow: auto;
    border: 1px solid #e5eaf1;
    border-radius: 18px;
    background: #fff;
}

.price-history-table[b-w122teivzt] {
    width: 100%;
    min-width: 1220px;
    border-collapse: separate;
    border-spacing: 0;
}

.price-history-table th[b-w122teivzt] {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 15px 14px;
    border-bottom: 1px solid #dbe4f0;
    color: #475569;
    background: linear-gradient(180deg, #f8fafc, #eef2ff);
    text-align: right;
    font-size: 12px;
    font-weight: 1000;
    white-space: nowrap;
}

.price-history-table td[b-w122teivzt] {
    padding: 14px;
    border-bottom: 1px solid #edf2f7;
    color: #334155;
    background: #fff;
    font-size: 12px;
    font-weight: 800;
    vertical-align: middle;
    white-space: nowrap;
}

.price-history-table tbody tr:hover td[b-w122teivzt] {
    background: #f8fbff;
}

.price-history-table tbody tr:last-child td[b-w122teivzt] {
    border-bottom: 0;
}

.history-date-cell[b-w122teivzt] {
    min-width: 105px;
}

.history-date-cell strong[b-w122teivzt],
.history-date-cell span[b-w122teivzt] {
    display: block;
}

.history-date-cell span[b-w122teivzt] {
    margin-top: 3px;
    color: var(--history-muted);
    font-size: 11px;
}

.history-code[b-w122teivzt] {
    min-height: 30px;
    padding: 0 10px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    direction: ltr;
    color: #1d4ed8;
    background: #eff6ff;
    font-size: 11px;
    font-weight: 900;
}

.price-product-name[b-w122teivzt] {
    min-width: 150px;
    color: var(--history-text) !important;
    font-weight: 1000 !important;
}

.history-change-badge[b-w122teivzt] {
    min-width: 82px;
    min-height: 31px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 1000;
}

.price-change-up[b-w122teivzt] {
    color: #047857 !important;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.price-change-down[b-w122teivzt] {
    color: #be123c !important;
    background: #fff1f2;
    border: 1px solid #fecdd3;
}

.price-change-neutral[b-w122teivzt] {
    color: #475569 !important;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
}

.history-reason[b-w122teivzt] {
    max-width: 220px;
    overflow: hidden;
    display: block;
    text-overflow: ellipsis;
}

.history-timeline-list[b-w122teivzt] {
    display: grid;
    gap: 12px;
}

.price-history-timeline-item[b-w122teivzt] {
    position: relative;
    min-height: 106px;
    padding: 16px;
    border: 1px solid #e7edf5;
    border-radius: 18px;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 14px;
    background: linear-gradient(180deg, #fff, #f8fafc);
    transition: transform .16s ease, box-shadow .16s ease;
}

.price-history-timeline-item:hover[b-w122teivzt] {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, .07);
}

.timeline-dot[b-w122teivzt] {
    width: 14px;
    height: 14px;
    margin-top: 5px;
    border-radius: 50%;
}

.dot-up[b-w122teivzt] {
    background: #16a34a;
    box-shadow: 0 0 0 5px rgba(22, 163, 74, .13);
}

.dot-down[b-w122teivzt] {
    background: #dc2626;
    box-shadow: 0 0 0 5px rgba(220, 38, 38, .13);
}

.dot-neutral[b-w122teivzt] {
    background: #64748b;
    box-shadow: 0 0 0 5px rgba(100, 116, 139, .13);
}

.timeline-content[b-w122teivzt] {
    min-width: 0;
}

.timeline-top[b-w122teivzt] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.timeline-top strong[b-w122teivzt],
.timeline-top span[b-w122teivzt] {
    display: block;
}

.timeline-top strong[b-w122teivzt] {
    font-size: 14px;
    font-weight: 1000;
}

.timeline-top span[b-w122teivzt],
.timeline-top time[b-w122teivzt] {
    margin-top: 4px;
    color: var(--history-muted);
    font-size: 11px;
    font-weight: 800;
}

.timeline-prices[b-w122teivzt] {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.timeline-prices > div[b-w122teivzt] {
    min-height: 62px;
    padding: 10px 12px;
    border: 1px solid #e7edf5;
    border-radius: 13px;
    background: #fff;
}

.timeline-prices span[b-w122teivzt] {
    display: block;
    color: var(--history-muted);
    font-size: 11px;
    font-weight: 800;
}

.timeline-prices strong[b-w122teivzt] {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 1000;
}

.timeline-prices b[b-w122teivzt] {
    margin: 0 6px;
    color: #94a3b8;
}

.timeline-content p[b-w122teivzt] {
    margin: 10px 0 0;
    color: #475569;
    font-size: 12px;
    line-height: 1.8;
    font-weight: 800;
}

@media (max-width: 1100px) {
    .price-history-summary[b-w122teivzt] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .product-price-history-page[b-w122teivzt] {
        padding: 14px;
    }

    .product-price-history-header[b-w122teivzt] {
        align-items: stretch;
        flex-direction: column;
        padding: 20px;
    }

    .product-price-history-actions[b-w122teivzt],
    .product-price-history-actions .history-button[b-w122teivzt] {
        width: 100%;
    }

    .price-history-summary[b-w122teivzt],
    .history-filter-grid[b-w122teivzt],
    .timeline-prices[b-w122teivzt] {
        grid-template-columns: 1fr;
    }

    .price-history-filter[b-w122teivzt],
    .price-history-card[b-w122teivzt],
    .price-history-timeline[b-w122teivzt] {
        padding: 16px;
    }

    .history-section-heading[b-w122teivzt],
    .timeline-top[b-w122teivzt] {
        align-items: stretch;
        flex-direction: column;
    }
}
/* /Components/Pages/ProductPrint.razor.rz.scp.css */
:host[b-b94p8qc8hw] {
    display: block;
}

.product-print-page[b-b94p8qc8hw] {
    --pp-text: #0f172a;
    --pp-muted: #64748b;
    --pp-border: #dbe4f0;
    --pp-soft: #e2e8f0;
    --pp-blue: var(--erp-primary, #2563eb);
    --pp-purple: var(--erp-accent, #7c3aed);
    min-height: 100vh;
    padding: 24px;
    color: var(--pp-text);
    background:
        radial-gradient(circle at 12% 0%, rgba(124,58,237,.08), transparent 340px),
        linear-gradient(180deg, #eef4fb 0%, #f8fbff 52%, #eef4fb 100%);
}

.product-print-page *[b-b94p8qc8hw],
.product-print-page *[b-b94p8qc8hw]::before,
.product-print-page *[b-b94p8qc8hw]::after {
    box-sizing: border-box;
}

.product-print-hero[b-b94p8qc8hw],
.product-print-card[b-b94p8qc8hw],
.product-print-summary article[b-b94p8qc8hw],
.product-print-sheet[b-b94p8qc8hw] {
    border: 1px solid rgba(219,228,240,.96);
    background: rgba(255,255,255,.98);
    box-shadow: 0 22px 64px rgba(15,23,42,.07);
}

.product-print-hero[b-b94p8qc8hw] {
    min-height: 170px;
    margin-bottom: 18px;
    padding: 28px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        radial-gradient(circle at 0 0, rgba(124,58,237,.13), transparent 280px),
        linear-gradient(135deg, #fff, #eff6ff);
}

.product-print-hero-copy[b-b94p8qc8hw] {
    display: grid;
    gap: 20px;
}

.product-print-breadcrumb[b-b94p8qc8hw] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--pp-muted);
    font-size: 12px;
    font-weight: 1000;
}

.product-print-breadcrumb span[b-b94p8qc8hw],
.product-print-breadcrumb b[b-b94p8qc8hw] {
    min-height: 32px;
    padding: 0 13px;
    border: 1px solid var(--pp-soft);
    border-radius: 999px;
    background: #f8fafc;
    display: inline-flex;
    align-items: center;
}

.product-print-breadcrumb b[b-b94p8qc8hw] {
    color: #1d4ed8;
    border-color: #bfdbfe;
    background: #dbeafe;
}

.product-print-breadcrumb i[b-b94p8qc8hw] {
    width: 6px;
    height: 6px;
    border-top: 2px solid #94a3b8;
    border-left: 2px solid #94a3b8;
    transform: rotate(-45deg);
}

.product-print-title-row[b-b94p8qc8hw] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-print-hero-icon[b-b94p8qc8hw] {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    border-radius: 22px;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    display: grid;
    place-items: center;
    font-size: 31px;
    box-shadow: 0 16px 34px rgba(37,99,235,.24);
}

.product-print-eyebrow[b-b94p8qc8hw] {
    min-height: 30px;
    padding: 7px 14px;
    border-radius: 999px;
    color: #1d4ed8;
    background: #eff6ff;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 1000;
}

.product-print-hero h1[b-b94p8qc8hw] {
    margin: 8px 0 0;
    font-size: 34px;
    font-weight: 1000;
}

.product-print-hero p[b-b94p8qc8hw] {
    margin: 10px 0 0;
    color: var(--pp-muted);
    font-size: 14px;
    font-weight: 800;
}

.product-print-actions[b-b94p8qc8hw] {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.product-print-btn[b-b94p8qc8hw] {
    min-height: 44px;
    padding: 0 17px;
    border: 1px solid var(--pp-border);
    border-radius: 999px;
    color: #334155;
    background: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 1000;
    cursor: pointer;
}

.product-print-btn.primary[b-b94p8qc8hw] {
    color: var(--erp-on-brand, #ffffff);
    border: 0;
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    box-shadow: 0 14px 30px rgba(37,99,235,.22);
}

.product-print-alert[b-b94p8qc8hw] {
    margin-bottom: 16px;
    padding: 14px 16px;
    border: 1px solid #fecdd3;
    border-radius: 16px;
    color: #be123c;
    background: #fff1f2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 900;
}

.product-print-alert button[b-b94p8qc8hw] {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 10px;
    color: inherit;
    background: rgba(255,255,255,.7);
    font-size: 20px;
    cursor: pointer;
}

.product-print-card[b-b94p8qc8hw] {
    margin-bottom: 18px;
    padding: 22px;
    border-radius: 26px;
}

.product-print-card-head[b-b94p8qc8hw] {
    margin-bottom: 18px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--pp-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.product-print-card-head.compact[b-b94p8qc8hw] {
    margin-bottom: 14px;
}

.product-print-card-head span[b-b94p8qc8hw] {
    color: var(--pp-blue);
    font-size: 10px;
    font-weight: 1000;
}

.product-print-card-head h2[b-b94p8qc8hw] {
    margin: 5px 0 0;
    font-size: 19px;
    font-weight: 1000;
}

.product-print-card-head p[b-b94p8qc8hw] {
    margin: 6px 0 0;
    color: var(--pp-muted);
    font-size: 11px;
    font-weight: 800;
}

.product-print-filter-grid[b-b94p8qc8hw] {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) repeat(3, minmax(160px, 220px));
    gap: 12px;
}

.product-print-search[b-b94p8qc8hw] {
    position: relative;
}

.product-print-search > span[b-b94p8qc8hw] {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: var(--pp-muted);
    font-size: 19px;
}

.product-print-search .product-print-input[b-b94p8qc8hw] {
    padding-right: 44px;
}

.product-print-input[b-b94p8qc8hw],
.product-print-select[b-b94p8qc8hw] {
    width: 100%;
    min-height: 49px;
    padding: 0 12px;
    border: 1px solid var(--pp-border);
    border-radius: 13px;
    color: var(--pp-text);
    background: #f8fafc;
    font-family: inherit;
    font-size: 12px;
    font-weight: 850;
    outline: none;
}

.product-print-input:focus[b-b94p8qc8hw],
.product-print-select:focus[b-b94p8qc8hw] {
    border-color: rgba(124,58,237,.42);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(124,58,237,.08);
}

.product-print-summary[b-b94p8qc8hw] {
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 14px;
}

.product-print-summary article[b-b94p8qc8hw] {
    min-height: 104px;
    padding: 18px;
    border-radius: 22px;
    display: grid;
    align-content: center;
    gap: 6px;
}

.product-print-summary span[b-b94p8qc8hw] {
    color: var(--pp-muted);
    font-size: 12px;
    font-weight: 900;
}

.product-print-summary strong[b-b94p8qc8hw] {
    font-size: 24px;
    font-weight: 1000;
}

.product-print-summary strong.danger[b-b94p8qc8hw] {
    color: #be123c;
}

.product-print-summary small[b-b94p8qc8hw] {
    color: #94a3b8;
    font-size: 10px;
    font-weight: 800;
}

.product-print-column-grid[b-b94p8qc8hw] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0,1fr));
    gap: 10px;
}

.product-print-column-grid label[b-b94p8qc8hw] {
    min-height: 48px;
    padding: 0 12px;
    border: 1px solid var(--pp-border);
    border-radius: 14px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
}

.product-print-column-grid input[b-b94p8qc8hw] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.product-print-column-grid label > span[b-b94p8qc8hw] {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    border: 2px solid #cbd5e1;
    border-radius: 7px;
    background: #fff;
    position: relative;
}

.product-print-column-grid input:checked + span[b-b94p8qc8hw] {
    border-color: var(--erp-primary, #2563eb);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
}

.product-print-column-grid input:checked + span[b-b94p8qc8hw]::after {
    content: "✓";
    position: absolute;
    inset: 0;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 1000;
}

.product-print-column-grid b[b-b94p8qc8hw] {
    font-size: 10px;
    font-weight: 1000;
}

.product-print-state[b-b94p8qc8hw],
.product-print-empty[b-b94p8qc8hw] {
    min-height: 230px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    text-align: center;
}

.product-print-spinner[b-b94p8qc8hw] {
    width: 42px;
    height: 42px;
    border: 4px solid #dbeafe;
    border-top-color: var(--erp-primary, #2563eb);
    border-radius: 50%;
    animation: pp-spin-b-b94p8qc8hw .8s linear infinite;
}

.product-print-empty div[b-b94p8qc8hw] {
    font-size: 42px;
}

.product-print-empty span[b-b94p8qc8hw] {
    color: var(--pp-muted);
    font-size: 12px;
    font-weight: 800;
}

.product-print-sheet[b-b94p8qc8hw] {
    padding: 24px;
    border-radius: 26px;
    overflow: hidden;
}

.product-print-report-header[b-b94p8qc8hw] {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 2px solid #0f172a;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.product-print-report-badge[b-b94p8qc8hw] {
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    color: #1d4ed8;
    background: #eff6ff;
    display: inline-flex;
    align-items: center;
    font-size: 9px;
    font-weight: 1000;
}

.product-print-report-header h2[b-b94p8qc8hw] {
    margin: 8px 0 0;
    font-size: 24px;
    font-weight: 1000;
}

.product-print-report-meta[b-b94p8qc8hw] {
    display: grid;
    gap: 5px;
    color: #475569;
    font-size: 11px;
    font-weight: 850;
}

.product-print-table-wrap[b-b94p8qc8hw] {
    overflow: auto;
    border: 1px solid #d7dee8;
    border-radius: 16px;
}

.product-print-table[b-b94p8qc8hw] {
    width: 100%;
    min-width: 1000px;
    border-collapse: collapse;
    font-size: 12px;
}

.product-print-table th[b-b94p8qc8hw],
.product-print-table td[b-b94p8qc8hw] {
    padding: 9px 8px;
    border: 1px solid #d7dee8;
    text-align: center;
    vertical-align: middle;
}

.product-print-table th[b-b94p8qc8hw] {
    color: #334155;
    background: #eef2f7;
    font-weight: 1000;
    white-space: nowrap;
}

.product-print-table tbody tr:nth-child(even)[b-b94p8qc8hw] {
    background: #fafcff;
}

.product-print-name[b-b94p8qc8hw] {
    min-width: 150px;
    text-align: right !important;
    font-weight: 1000;
}

.product-print-code[b-b94p8qc8hw] {
    direction: ltr;
    font-weight: 850;
}

.product-print-index[b-b94p8qc8hw],
.product-print-money[b-b94p8qc8hw] {
    white-space: nowrap;
    font-weight: 1000;
}

.print-stock-ok[b-b94p8qc8hw] {
    color: #047857;
    font-weight: 1000;
}

.print-stock-low[b-b94p8qc8hw] {
    color: #be123c;
    font-weight: 1000;
}

.print-stock-service[b-b94p8qc8hw] {
    color: #475569;
    font-weight: 900;
}

.product-print-status[b-b94p8qc8hw] {
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    font-size: 9px;
    font-weight: 1000;
}

.product-print-status.active[b-b94p8qc8hw] {
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.product-print-status.inactive[b-b94p8qc8hw] {
    color: #be123c;
    background: #fff1f2;
    border: 1px solid #fecdd3;
}

.product-print-description[b-b94p8qc8hw] {
    min-width: 190px;
    text-align: right !important;
}

.product-print-table tfoot td[b-b94p8qc8hw] {
    background: #f8fafc;
    font-weight: 1000;
}

.product-print-footer[b-b94p8qc8hw] {
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    color: var(--pp-muted);
    font-size: 10px;
    font-weight: 850;
}

.product-print-compact .product-print-table[b-b94p8qc8hw] {
    font-size: 10px;
}

.product-print-compact .product-print-table th[b-b94p8qc8hw],
.product-print-compact .product-print-table td[b-b94p8qc8hw] {
    padding: 5px;
}

.product-print-large .product-print-table[b-b94p8qc8hw] {
    font-size: 14px;
}

.product-print-large .product-print-table th[b-b94p8qc8hw],
.product-print-large .product-print-table td[b-b94p8qc8hw] {
    padding: 11px;
}

@keyframes pp-spin-b-b94p8qc8hw {
    to { transform: rotate(360deg); }
}

@media (max-width: 1200px) {
    .product-print-filter-grid[b-b94p8qc8hw] {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .product-print-column-grid[b-b94p8qc8hw] {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
}

@media (max-width: 760px) {
    .product-print-page[b-b94p8qc8hw] {
        padding: 14px;
    }

    .product-print-hero[b-b94p8qc8hw],
    .product-print-card[b-b94p8qc8hw],
    .product-print-sheet[b-b94p8qc8hw] {
        padding: 18px;
    }

    .product-print-hero[b-b94p8qc8hw],
    .product-print-card-head[b-b94p8qc8hw],
    .product-print-report-header[b-b94p8qc8hw] {
        flex-direction: column;
        align-items: stretch;
    }

    .product-print-filter-grid[b-b94p8qc8hw],
    .product-print-summary[b-b94p8qc8hw],
    .product-print-column-grid[b-b94p8qc8hw] {
        grid-template-columns: 1fr;
    }

    .product-print-actions[b-b94p8qc8hw] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .product-print-btn[b-b94p8qc8hw] {
        width: 100%;
    }
}





@media print {
    @page {
        size: A4 landscape;
        margin: 8mm;
    }

    .no-print[b-b94p8qc8hw] {
        display: none !important;
    }

    html[b-b94p8qc8hw],
    body[b-b94p8qc8hw],
    .product-print-page[b-b94p8qc8hw],
    .product-print-sheet[b-b94p8qc8hw] {
        width: auto !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #fff !important;
    }

    .product-print-sheet[b-b94p8qc8hw] {
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        break-before: auto !important;
        break-after: auto !important;
        page-break-before: auto !important;
        page-break-after: auto !important;
    }
}
/* /Components/Pages/ProductPrintQueue.razor.rz.scp.css */
:host[b-c1rg87e8w6] {
    display: block;
}

.print-queue-page[b-c1rg87e8w6] {
    --pq-text: #0f172a;
    --pq-muted: #64748b;
    --pq-border: #dbe4f0;
    --pq-soft: #e2e8f0;
    --pq-blue: var(--erp-primary, #2563eb);
    --pq-purple: var(--erp-accent, #7c3aed);
    --pq-green: #059669;
    --pq-red: #be123c;
    --pq-amber: #b45309;
    min-height: 100vh;
    padding: 24px;
    color: var(--pq-text);
    background:
        radial-gradient(circle at 13% 0%, rgba(124, 58, 237, .08), transparent 350px),
        radial-gradient(circle at 86% 4%, rgba(37, 99, 235, .08), transparent 350px),
        linear-gradient(180deg, #eef4fb 0%, #f8fbff 52%, #eef4fb 100%);
}

.print-queue-page *[b-c1rg87e8w6],
.print-queue-page *[b-c1rg87e8w6]::before,
.print-queue-page *[b-c1rg87e8w6]::after {
    box-sizing: border-box;
}

.print-queue-hero[b-c1rg87e8w6],
.print-queue-card[b-c1rg87e8w6],
.print-queue-summary-card[b-c1rg87e8w6] {
    border: 1px solid rgba(219, 228, 240, .96);
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 22px 64px rgba(15, 23, 42, .07);
}

.print-queue-hero[b-c1rg87e8w6] {
    min-height: 170px;
    margin-bottom: 18px;
    padding: 28px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        radial-gradient(circle at 0 0, rgba(124, 58, 237, .13), transparent 280px),
        linear-gradient(135deg, #fff, #eff6ff);
}

.print-queue-hero-copy[b-c1rg87e8w6] {
    display: grid;
    gap: 20px;
}

.print-queue-breadcrumb[b-c1rg87e8w6] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--pq-muted);
    font-size: 12px;
    font-weight: 1000;
}

.print-queue-breadcrumb span[b-c1rg87e8w6],
.print-queue-breadcrumb b[b-c1rg87e8w6] {
    min-height: 32px;
    padding: 0 13px;
    border: 1px solid var(--pq-soft);
    border-radius: 999px;
    background: #f8fafc;
    display: inline-flex;
    align-items: center;
}

.print-queue-breadcrumb b[b-c1rg87e8w6] {
    color: #1d4ed8;
    border-color: #bfdbfe;
    background: #dbeafe;
}

.print-queue-breadcrumb i[b-c1rg87e8w6] {
    width: 6px;
    height: 6px;
    border-top: 2px solid #94a3b8;
    border-left: 2px solid #94a3b8;
    transform: rotate(-45deg);
}

.print-queue-title-row[b-c1rg87e8w6] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.print-queue-hero-icon[b-c1rg87e8w6] {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    border-radius: 22px;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    display: grid;
    place-items: center;
    font-size: 34px;
    font-weight: 1000;
    box-shadow: 0 16px 34px rgba(37, 99, 235, .24);
}

.print-queue-eyebrow[b-c1rg87e8w6] {
    min-height: 30px;
    padding: 7px 14px;
    border-radius: 999px;
    color: #1d4ed8;
    background: #eff6ff;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 1000;
}

.print-queue-hero h1[b-c1rg87e8w6] {
    margin: 8px 0 0;
    font-size: 34px;
    font-weight: 1000;
}

.print-queue-hero p[b-c1rg87e8w6] {
    margin: 10px 0 0;
    color: var(--pq-muted);
    font-size: 14px;
    font-weight: 800;
}

.print-queue-header-actions[b-c1rg87e8w6] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    flex-wrap: wrap;
}

.print-queue-btn[b-c1rg87e8w6] {
    min-height: 44px;
    padding: 0 17px;
    border: 1px solid var(--pq-border);
    border-radius: 999px;
    color: #334155;
    background: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 1000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease;
}

.print-queue-btn:hover:not(:disabled)[b-c1rg87e8w6] {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, .09);
}

.print-queue-btn:disabled[b-c1rg87e8w6] {
    opacity: .55;
    cursor: not-allowed;
}

.print-queue-btn.primary[b-c1rg87e8w6] {
    color: var(--erp-on-brand, #ffffff);
    border: 0;
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    box-shadow: 0 14px 30px rgba(37, 99, 235, .22);
}

.print-queue-btn.small[b-c1rg87e8w6] {
    min-height: 36px;
    padding: 0 13px;
    font-size: 11px;
}

.auto-refresh-toggle[b-c1rg87e8w6] {
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--pq-border);
    border-radius: 999px;
    background: rgba(255,255,255,.86);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.auto-refresh-toggle input[b-c1rg87e8w6] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.auto-refresh-toggle span[b-c1rg87e8w6] {
    width: 34px;
    height: 20px;
    border-radius: 999px;
    background: #cbd5e1;
    position: relative;
    transition: background .2s ease;
}

.auto-refresh-toggle span[b-c1rg87e8w6]::after {
    content: "";
    position: absolute;
    top: 3px;
    right: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(15,23,42,.18);
    transition: transform .2s ease;
}

.auto-refresh-toggle input:checked + span[b-c1rg87e8w6] {
    background: var(--erp-primary, #2563eb);
}

.auto-refresh-toggle input:checked + span[b-c1rg87e8w6]::after {
    transform: translateX(-14px);
}

.auto-refresh-toggle b[b-c1rg87e8w6] {
    font-size: 10px;
    font-weight: 1000;
}

.print-queue-alert[b-c1rg87e8w6] {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 13px;
    font-weight: 900;
}

.print-queue-alert.error[b-c1rg87e8w6] {
    color: #be123c;
    border: 1px solid #fecdd3;
    background: #fff1f2;
}

.print-queue-alert.success[b-c1rg87e8w6] {
    color: #047857;
    border: 1px solid #a7f3d0;
    background: #ecfdf5;
}

.print-queue-alert button[b-c1rg87e8w6] {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 10px;
    color: inherit;
    background: rgba(255,255,255,.75);
    font-size: 20px;
    cursor: pointer;
}

.print-queue-summary[b-c1rg87e8w6] {
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.print-queue-summary-card[b-c1rg87e8w6] {
    min-height: 116px;
    padding: 19px;
    border-radius: 24px;
    display: grid;
    align-content: center;
    gap: 7px;
}

.print-queue-summary-card span[b-c1rg87e8w6] {
    color: var(--pq-muted);
    font-size: 13px;
    font-weight: 950;
}

.print-queue-summary-card strong[b-c1rg87e8w6] {
    font-size: 26px;
    font-weight: 1000;
}

.print-queue-summary-card small[b-c1rg87e8w6] {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
}

.print-queue-summary-card.warning strong[b-c1rg87e8w6] { color: #b45309; }
.print-queue-summary-card.processing strong[b-c1rg87e8w6] { color: #1d4ed8; }
.print-queue-summary-card.success strong[b-c1rg87e8w6] { color: #047857; }
.print-queue-summary-card.danger strong[b-c1rg87e8w6] { color: #be123c; }
.print-queue-summary-card.items strong[b-c1rg87e8w6] { color: var(--erp-accent, #7c3aed); }

.print-queue-card[b-c1rg87e8w6] {
    margin-bottom: 18px;
    padding: 24px;
    border-radius: 28px;
}

.print-queue-card-head[b-c1rg87e8w6] {
    margin-bottom: 20px;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--pq-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.print-queue-card-head.compact[b-c1rg87e8w6] {
    margin-bottom: 16px;
}

.print-queue-card-head h2[b-c1rg87e8w6] {
    margin: 8px 0 0;
    font-size: 22px;
    font-weight: 1000;
}

.print-queue-card-head p[b-c1rg87e8w6] {
    margin: 8px 0 0;
    color: var(--pq-muted);
    font-size: 13px;
    font-weight: 800;
}

.print-queue-step[b-c1rg87e8w6] {
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 1000;
}

.create-job-grid[b-c1rg87e8w6] {
    display: grid;
    grid-template-columns: minmax(260px, 1.6fr) repeat(4, minmax(130px, .8fr)) auto;
    gap: 12px;
    align-items: end;
}

.print-queue-field label[b-c1rg87e8w6] {
    display: block;
    margin: 0 2px 7px 0;
    color: #334155;
    font-size: 11px;
    font-weight: 1000;
}

.print-queue-input[b-c1rg87e8w6],
.print-queue-select[b-c1rg87e8w6] {
    width: 100%;
    min-height: 49px;
    padding: 0 12px;
    border: 1px solid var(--pq-border);
    border-radius: 13px;
    color: var(--pq-text);
    background: #f8fafc;
    font-family: inherit;
    font-size: 12px;
    font-weight: 850;
    outline: none;
}

.print-queue-input:focus[b-c1rg87e8w6],
.print-queue-select:focus[b-c1rg87e8w6] {
    border-color: rgba(124, 58, 237, .42);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, .08);
}

.print-queue-btn.create[b-c1rg87e8w6] {
    min-width: 130px;
    min-height: 49px;
    border-radius: 14px;
}

.filter-grid[b-c1rg87e8w6] {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) repeat(4, minmax(150px, 210px));
    gap: 12px;
}

.print-queue-search[b-c1rg87e8w6] {
    position: relative;
}

.print-queue-search > span[b-c1rg87e8w6] {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: var(--pq-muted);
    font-size: 20px;
    pointer-events: none;
}

.print-queue-search .print-queue-input[b-c1rg87e8w6] {
    padding-right: 44px;
}

.queue-head-meta[b-c1rg87e8w6] {
    display: grid;
    justify-items: end;
    gap: 7px;
    color: var(--pq-muted);
    font-size: 10px;
    font-weight: 850;
}

.queue-head-meta b[b-c1rg87e8w6] {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    color: #6d28d9;
    background: #f3e8ff;
    border: 1px solid #ddd6fe;
    display: inline-flex;
    align-items: center;
    font-size: 10px;
}

.print-queue-state[b-c1rg87e8w6],
.print-queue-empty[b-c1rg87e8w6] {
    min-height: 230px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 11px;
    text-align: center;
}

.print-queue-spinner[b-c1rg87e8w6] {
    width: 42px;
    height: 42px;
    border: 4px solid #dbeafe;
    border-top-color: var(--erp-primary, #2563eb);
    border-radius: 50%;
    animation: pq-spin-b-c1rg87e8w6 .8s linear infinite;
}

.print-queue-empty div[b-c1rg87e8w6] {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    color: var(--erp-primary, #2563eb);
    background: #eff6ff;
    border: 1px solid #dbeafe;
    display: grid;
    place-items: center;
    font-size: 34px;
}

.print-queue-empty span[b-c1rg87e8w6] {
    color: var(--pq-muted);
    font-size: 12px;
    font-weight: 800;
}

.print-queue-table-wrap[b-c1rg87e8w6] {
    overflow: auto;
    border: 1px solid var(--pq-soft);
    border-radius: 22px;
    background: #fff;
}

.print-queue-table[b-c1rg87e8w6] {
    width: 100%;
    min-width: 1280px;
    border-collapse: separate;
    border-spacing: 0;
}

.print-queue-table th[b-c1rg87e8w6] {
    position: sticky;
    top: 0;
    z-index: 3;
    padding: 15px 13px;
    border-bottom: 1px solid var(--pq-soft);
    color: #475569;
    background: linear-gradient(180deg, #f8fafc, #eef2ff);
    text-align: right;
    font-size: 12px;
    font-weight: 1000;
    white-space: nowrap;
}

.print-queue-table td[b-c1rg87e8w6] {
    padding: 13px;
    border-bottom: 1px solid #edf2f7;
    font-size: 12px;
    font-weight: 850;
    vertical-align: middle;
}

.print-queue-table tbody tr:hover[b-c1rg87e8w6] {
    background: #f8fbff;
}

.print-queue-table tbody tr.status-row-processing[b-c1rg87e8w6] {
    background: #f8fbff;
}

.print-queue-table tbody tr.status-row-failed[b-c1rg87e8w6] {
    background: #fff7f8;
}

.print-queue-table tfoot td[b-c1rg87e8w6] {
    padding: 14px 13px;
    border-top: 1px solid var(--pq-soft);
    border-bottom: 0;
    background: #f8fafc;
    font-weight: 1000;
}

.job-title-cell[b-c1rg87e8w6] {
    min-width: 210px;
}

.job-title-cell strong[b-c1rg87e8w6],
.job-title-cell span[b-c1rg87e8w6] {
    display: block;
}

.job-title-cell strong[b-c1rg87e8w6] {
    font-size: 12px;
    font-weight: 1000;
}

.job-title-cell span[b-c1rg87e8w6] {
    margin-top: 5px;
    direction: ltr;
    text-align: right;
    color: #94a3b8;
    font-size: 9px;
    font-weight: 850;
}

.type-pill[b-c1rg87e8w6],
.paper-pill[b-c1rg87e8w6],
.status-pill[b-c1rg87e8w6] {
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 1000;
    white-space: nowrap;
}

.type-pill.label[b-c1rg87e8w6] {
    color: #6d28d9;
    background: #f3e8ff;
    border: 1px solid #ddd6fe;
}

.type-pill.barcode[b-c1rg87e8w6] {
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.type-pill.qr[b-c1rg87e8w6] {
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.paper-pill[b-c1rg87e8w6] {
    color: #334155;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
}

.status-pill[b-c1rg87e8w6] {
    gap: 7px;
}

.status-pill i[b-c1rg87e8w6] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.status-pill.pending[b-c1rg87e8w6] {
    color: #b45309;
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.status-pill.processing[b-c1rg87e8w6] {
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.status-pill.completed[b-c1rg87e8w6] {
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.status-pill.failed[b-c1rg87e8w6] {
    color: #be123c;
    background: #fff1f2;
    border: 1px solid #fecdd3;
}

.job-error[b-c1rg87e8w6] {
    display: block;
    max-width: 190px;
    margin-top: 7px;
    overflow: hidden;
    color: #be123c;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 9px;
    font-weight: 850;
}

.number-cell[b-c1rg87e8w6] {
    white-space: nowrap;
    font-weight: 1000 !important;
}

.date-cell strong[b-c1rg87e8w6],
.date-cell span[b-c1rg87e8w6],
.timeline-cell span[b-c1rg87e8w6] {
    display: block;
}

.date-cell strong[b-c1rg87e8w6] {
    white-space: nowrap;
    font-size: 10px;
    font-weight: 1000;
}

.date-cell span[b-c1rg87e8w6] {
    margin-top: 4px;
    color: var(--pq-muted);
    font-size: 9px;
    font-weight: 850;
}

.timeline-cell[b-c1rg87e8w6] {
    min-width: 180px;
}

.timeline-cell span[b-c1rg87e8w6] {
    color: var(--pq-muted);
    font-size: 9px;
    line-height: 1.8;
}

.timeline-cell b[b-c1rg87e8w6] {
    color: #334155;
}

.job-actions[b-c1rg87e8w6] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.job-action[b-c1rg87e8w6] {
    min-height: 32px;
    padding: 0 10px;
    border-radius: 10px;
    background: #fff;
    font-family: inherit;
    font-size: 9px;
    font-weight: 1000;
    cursor: pointer;
}

.job-action:disabled[b-c1rg87e8w6] {
    opacity: .42;
    cursor: not-allowed;
}

.job-action.start[b-c1rg87e8w6] {
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.job-action.complete[b-c1rg87e8w6] {
    color: #047857;
    border: 1px solid #a7f3d0;
}

.job-action.retry[b-c1rg87e8w6] {
    color: #6d28d9;
    border: 1px solid #ddd6fe;
}

.job-action.delete[b-c1rg87e8w6] {
    color: #be123c;
    border: 1px solid #fecdd3;
}

.print-queue-pagination[b-c1rg87e8w6] {
    padding-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--pq-muted);
    font-size: 11px;
    font-weight: 900;
}

.print-queue-pagination > div[b-c1rg87e8w6] {
    display: flex;
    align-items: center;
    gap: 10px;
}

@keyframes pq-spin-b-c1rg87e8w6 {
    to { transform: rotate(360deg); }
}

@media (max-width: 1380px) {
    .print-queue-summary[b-c1rg87e8w6] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .create-job-grid[b-c1rg87e8w6] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .create-job-grid .title[b-c1rg87e8w6] {
        grid-column: span 2;
    }

    .filter-grid[b-c1rg87e8w6] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .print-queue-hero[b-c1rg87e8w6] {
        flex-direction: column;
        align-items: stretch;
    }

    .print-queue-header-actions[b-c1rg87e8w6] {
        justify-content: stretch;
    }

    .print-queue-header-actions > *[b-c1rg87e8w6] {
        flex: 1 1 180px;
    }

    .create-job-grid[b-c1rg87e8w6] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .create-job-grid .title[b-c1rg87e8w6] {
        grid-column: span 2;
    }
}

@media (max-width: 680px) {
    .print-queue-page[b-c1rg87e8w6] {
        padding: 14px;
    }

    .print-queue-hero[b-c1rg87e8w6],
    .print-queue-card[b-c1rg87e8w6] {
        padding: 18px;
    }

    .print-queue-summary[b-c1rg87e8w6],
    .create-job-grid[b-c1rg87e8w6],
    .filter-grid[b-c1rg87e8w6] {
        grid-template-columns: 1fr;
    }

    .create-job-grid .title[b-c1rg87e8w6] {
        grid-column: span 1;
    }

    .print-queue-card-head[b-c1rg87e8w6],
    .print-queue-pagination[b-c1rg87e8w6] {
        flex-direction: column;
        align-items: stretch;
    }

    .queue-head-meta[b-c1rg87e8w6] {
        justify-items: start;
    }

    .print-queue-pagination > div[b-c1rg87e8w6] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .print-queue-btn[b-c1rg87e8w6],
    .auto-refresh-toggle[b-c1rg87e8w6] {
        width: 100%;
    }
}
/* /Components/Pages/Products.razor.rz.scp.css */
.products-page[b-vow5zcsjel] {
    --products-text: #0f172a;
    --products-muted: #64748b;
    --products-border: #dbe4f0;
    --products-soft: #e2e8f0;
    --products-blue: var(--erp-primary, #2563eb);
    --products-purple: var(--erp-accent, #7c3aed);
    --products-green: #059669;
    min-height: 100vh;
    padding: 24px;
    color: var(--products-text);
    background:
        radial-gradient(circle at 18% 0%, rgba(124, 58, 237, .08), transparent 340px),
        linear-gradient(180deg, #eef4fb 0%, #f8fbff 50%, #eef4fb 100%);
}

.products-page *[b-vow5zcsjel],
.products-page *[b-vow5zcsjel]::before,
.products-page *[b-vow5zcsjel]::after {
    box-sizing: border-box;
}

.products-hero[b-vow5zcsjel],
.products-card[b-vow5zcsjel],
.products-stat-card[b-vow5zcsjel],
.products-state[b-vow5zcsjel] {
    border: 1px solid rgba(219, 228, 240, .96);
    background: rgba(255,255,255,.97);
    box-shadow: 0 22px 64px rgba(15, 23, 42, .07);
}

.products-hero[b-vow5zcsjel] {
    min-height: 170px;
    margin-bottom: 18px;
    padding: 28px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        radial-gradient(circle at 0 0, rgba(124, 58, 237, .12), transparent 280px),
        linear-gradient(135deg, #fff, #eff6ff);
}

.products-hero-copy[b-vow5zcsjel] {
    display: grid;
    gap: 20px;
}

.products-breadcrumb[b-vow5zcsjel] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--products-muted);
    font-size: 12px;
    font-weight: 1000;
}

.products-breadcrumb span[b-vow5zcsjel],
.products-breadcrumb b[b-vow5zcsjel] {
    min-height: 32px;
    padding: 0 13px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--products-soft);
    background: #f8fafc;
}

.products-breadcrumb b[b-vow5zcsjel] {
    color: #1d4ed8;
    border-color: #bfdbfe;
    background: #dbeafe;
}

.products-breadcrumb i[b-vow5zcsjel] {
    width: 6px;
    height: 6px;
    border-top: 2px solid #94a3b8;
    border-left: 2px solid #94a3b8;
    transform: rotate(-45deg);
}

.products-hero-title[b-vow5zcsjel] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.products-hero-icon[b-vow5zcsjel] {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    border-radius: 21px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #eef2ff, #f3e8ff);
    border: 1px solid #ddd6fe;
    font-size: 28px;
    box-shadow: 0 14px 32px rgba(124,58,237,.14);
}

.products-eyebrow[b-vow5zcsjel] {
    min-height: 30px;
    padding: 7px 14px;
    border-radius: 999px;
    color: var(--erp-primary, #2563eb);
    background: #e0edff;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 1000;
}

.products-hero h1[b-vow5zcsjel] {
    margin: 8px 0 0;
    font-size: 34px;
    font-weight: 1000;
}

.products-hero p[b-vow5zcsjel] {
    margin: 10px 0 0;
    color: var(--products-muted);
    font-size: 14px;
    font-weight: 800;
}

.products-hero-actions[b-vow5zcsjel] {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.products-btn[b-vow5zcsjel] {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--products-border);
    border-radius: 999px;
    color: #334155;
    background: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 1000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease;
}

.products-btn:hover:not(:disabled)[b-vow5zcsjel] {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(15,23,42,.08);
}

.products-btn:disabled[b-vow5zcsjel] {
    opacity: .55;
    cursor: not-allowed;
}

.products-btn.primary[b-vow5zcsjel] {
    color: #fff;
    border: 0;
    background: linear-gradient(135deg, var(--products-blue), var(--products-purple));
    box-shadow: 0 16px 34px rgba(37,99,235,.24);
}

.products-btn.danger[b-vow5zcsjel] {
    color: #fff;
    border: 0;
    background: linear-gradient(135deg, #e11d48, #be123c);
}

.products-btn.small[b-vow5zcsjel] {
    min-height: 36px;
    padding: 0 14px;
    font-size: 12px;
}

.products-alert[b-vow5zcsjel] {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 13px;
    font-weight: 900;
}

.products-alert.error[b-vow5zcsjel] {
    color: #be123c;
    border: 1px solid #fecdd3;
    background: #fff1f2;
}

.products-alert button[b-vow5zcsjel] {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 10px;
    color: inherit;
    background: rgba(255,255,255,.75);
    font-size: 20px;
    cursor: pointer;
}

.products-stat-grid[b-vow5zcsjel] {
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.products-stat-card[b-vow5zcsjel] {
    min-height: 112px;
    padding: 20px;
    border-radius: 24px;
    display: grid;
    align-content: center;
    gap: 7px;
}

.products-stat-card span[b-vow5zcsjel] {
    color: var(--products-muted);
    font-size: 13px;
    font-weight: 950;
}

.products-stat-card strong[b-vow5zcsjel] {
    font-size: 26px;
    font-weight: 1000;
}

.products-stat-card small[b-vow5zcsjel] {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
}

.products-stat-card.active strong[b-vow5zcsjel] { color: #047857; }
.products-stat-card.danger strong[b-vow5zcsjel] { color: #be123c; }
.products-stat-card.service strong[b-vow5zcsjel] { color: var(--erp-accent, #7c3aed); }

.products-card[b-vow5zcsjel] {
    border-radius: 28px;
}

.products-tools-card[b-vow5zcsjel],
.products-filter-card[b-vow5zcsjel],
.products-table-card[b-vow5zcsjel] {
    margin-bottom: 18px;
    padding: 24px;
}

.products-section-head[b-vow5zcsjel] {
    min-height: 62px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--products-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.products-section-head h2[b-vow5zcsjel] {
    margin: 0;
    font-size: 22px;
    font-weight: 1000;
}

.products-section-head p[b-vow5zcsjel] {
    margin: 7px 0 0;
    color: var(--products-muted);
    font-size: 13px;
    font-weight: 800;
}

.products-tool-grid[b-vow5zcsjel] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.products-tool-btn[b-vow5zcsjel] {
    min-width: 0;
    min-height: 116px;
    padding: 16px;
    border: 1px solid var(--products-soft);
    border-radius: 18px;
    color: var(--products-text);
    background: linear-gradient(180deg, #fff, #f8fafc);
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 6px;
    font-family: inherit;
    white-space: normal;
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.products-tool-btn:hover:not(:disabled)[b-vow5zcsjel] {
    transform: translateY(-2px);
    border-color: #bfdbfe;
    box-shadow: 0 14px 28px rgba(15,23,42,.08);
}

.products-tool-btn:disabled[b-vow5zcsjel] {
    opacity: .55;
}

.products-tool-btn > span[b-vow5zcsjel] {
    width: 36px;
    height: 36px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    color: var(--erp-primary, #2563eb);
    background: #eff6ff;
    font-size: 20px;
    font-weight: 1000;
}

.products-tool-btn.excel > span[b-vow5zcsjel] {
    color: #047857;
    background: #ecfdf5;
}

.products-tool-btn b[b-vow5zcsjel] {
    width: 100%;
    min-width: 0;
    font-size: 12px;
    line-height: 1.6;
    font-weight: 1000;
    text-align: center;
    white-space: normal;
}

.products-tool-btn small[b-vow5zcsjel] {
    width: 100%;
    min-width: 0;
    color: var(--products-muted);
    font-size: 10px;
    line-height: 1.5;
    font-weight: 800;
    text-align: center;
    white-space: normal;
}

.products-filter-grid[b-vow5zcsjel] {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(170px, 220px) minmax(170px, 220px) 130px auto;
    gap: 12px;
    align-items: center;
}

.products-search-box[b-vow5zcsjel] {
    position: relative;
}

.products-search-box > span[b-vow5zcsjel] {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: var(--products-muted);
    font-size: 20px;
    pointer-events: none;
}

.products-input[b-vow5zcsjel],
.products-select[b-vow5zcsjel] {
    width: 100%;
    min-height: 50px;
    border: 1px solid var(--products-border);
    border-radius: 15px;
    color: var(--products-text);
    background: #f8fafc;
    font-family: inherit;
    font-size: 13px;
    font-weight: 850;
    outline: none;
}

.products-input[b-vow5zcsjel] {
    padding: 0 44px 0 14px;
}

.products-select[b-vow5zcsjel] {
    padding: 0 13px;
}

.products-input:focus[b-vow5zcsjel],
.products-select:focus[b-vow5zcsjel] {
    border-color: rgba(124,58,237,.42);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(124,58,237,.08);
}

.products-state[b-vow5zcsjel] {
    padding: 24px;
    border-radius: 22px;
    font-weight: 900;
}

.products-empty[b-vow5zcsjel] {
    min-height: 240px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    text-align: center;
}

.products-empty-icon[b-vow5zcsjel] {
    width: 74px;
    height: 74px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    font-size: 34px;
}

.products-empty span[b-vow5zcsjel] {
    color: var(--products-muted);
    font-size: 13px;
    font-weight: 850;
}

.products-count-badge[b-vow5zcsjel] {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    color: #6d28d9;
    background: #f3e8ff;
    border: 1px solid #ddd6fe;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 1000;
}

.products-table-wrap[b-vow5zcsjel] {
    overflow: auto;
    border: 1px solid var(--products-soft);
    border-radius: 22px;
    background: #fff;
}

.products-table[b-vow5zcsjel] {
    width: 100%;
    min-width: 1260px;
    border-collapse: separate;
    border-spacing: 0;
}

.products-table th[b-vow5zcsjel] {
    position: sticky;
    top: 0;
    z-index: 4;
    padding: 15px 13px;
    border-bottom: 1px solid var(--products-soft);
    color: #475569;
    background: linear-gradient(180deg, #f8fafc, #eef2ff);
    text-align: right;
    font-size: 12px;
    font-weight: 1000;
    white-space: nowrap;
}

.products-table td[b-vow5zcsjel] {
    padding: 13px;
    border-bottom: 1px solid #edf2f7;
    font-size: 12px;
    font-weight: 850;
    vertical-align: middle;
}

.products-table tbody tr:hover[b-vow5zcsjel] {
    background: #f8fbff;
}

.products-table tbody tr:last-child td[b-vow5zcsjel] {
    border-bottom: 0;
}

.products-image[b-vow5zcsjel],
.products-no-image[b-vow5zcsjel] {
    width: 48px;
    height: 48px;
    border-radius: 14px;
}

.products-image[b-vow5zcsjel] {
    object-fit: cover;
    border: 1px solid #e2e8f0;
}

.products-no-image[b-vow5zcsjel] {
    display: grid;
    place-items: center;
    color: #94a3b8;
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
}

.products-name-cell[b-vow5zcsjel] {
    min-width: 210px;
}

.products-name-cell span[b-vow5zcsjel] {
    display: block;
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
}

.products-name-cell strong[b-vow5zcsjel] {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 1000;
}

.products-name-cell small[b-vow5zcsjel] {
    display: block;
    margin-top: 4px;
    color: #94a3b8;
    font-size: 10px;
}

.products-stock-pill[b-vow5zcsjel],
.products-status[b-vow5zcsjel] {
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 1000;
    white-space: nowrap;
}

.products-stock-pill.ok[b-vow5zcsjel],
.products-status.active[b-vow5zcsjel] {
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.products-stock-pill.danger[b-vow5zcsjel],
.products-status.danger[b-vow5zcsjel] {
    color: #be123c;
    background: #fff1f2;
    border: 1px solid #fecdd3;
}

.products-stock-pill.service[b-vow5zcsjel],
.products-status.service[b-vow5zcsjel] {
    color: #6d28d9;
    background: #f3e8ff;
    border: 1px solid #ddd6fe;
}

.products-status.inactive[b-vow5zcsjel] {
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
}

.products-statuses[b-vow5zcsjel] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.products-row-actions[b-vow5zcsjel] {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: nowrap;
    white-space: nowrap;
    min-width: 194px;
}

.products-row-actions .products-action[b-vow5zcsjel] {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    flex: 0 0 34px;
}

.products-table th:last-child[b-vow5zcsjel],
.products-table td:last-child[b-vow5zcsjel] {
    min-width: 220px;
    white-space: nowrap;
}

.products-money[b-vow5zcsjel] {
    white-space: nowrap;
    font-weight: 1000 !important;
}

.products-money.sale[b-vow5zcsjel] {
    color: #047857;
}

.products-action[b-vow5zcsjel] {
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid var(--erp-border, var(--products-border));
    border-radius: 10px;
    color: var(--erp-text, #0f172a);
    background: var(--erp-surface-soft, rgba(255,255,255,.08));
    font-family: inherit;
    font-size: 10px;
    font-weight: 1000;
    cursor: pointer;
    transition: color .16s ease, border-color .16s ease, background .16s ease, transform .16s ease;
}

.products-row-actions .products-action svg[b-vow5zcsjel] {
    display: block;
    width: 18px !important;
    height: 18px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.2 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none;
}

.products-action:hover[b-vow5zcsjel] {
    color: var(--erp-primary, #60a5fa);
    border-color: var(--erp-primary, #60a5fa);
    background: rgba(96,165,250,.12);
    transform: translateY(-1px);
}

.products-action.edit[b-vow5zcsjel] {
    color: #f59e0b;
    border-color: rgba(245,158,11,.55);
    background: rgba(245,158,11,.10);
}

.products-action.danger[b-vow5zcsjel] {
    color: #fb7185;
    border-color: rgba(251,113,133,.55);
    background: rgba(251,113,133,.10);
}

.products-action.danger:hover[b-vow5zcsjel] {
    color: #fecdd3;
    border-color: #fb7185;
    background: rgba(251,113,133,.18);
}

.products-pagination[b-vow5zcsjel] {
    padding-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--products-muted);
    font-size: 12px;
    font-weight: 900;
}

.products-pagination-actions[b-vow5zcsjel] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.products-modal-backdrop[b-vow5zcsjel] {
    position: fixed;
    inset: 0;
    z-index: 99999;
    padding: 20px;
    display: grid;
    place-items: center;
    background: rgba(15,23,42,.58);
    backdrop-filter: blur(8px);
}

.products-modal-card[b-vow5zcsjel] {
    width: min(480px, 100%);
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(15,23,42,.32);
}

.products-modal-head[b-vow5zcsjel] {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--products-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.products-modal-head h3[b-vow5zcsjel] {
    margin: 0;
    font-size: 20px;
    font-weight: 1000;
}

.products-modal-head button[b-vow5zcsjel] {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 12px;
    color: #be123c;
    background: #fff1f2;
    font-size: 22px;
    cursor: pointer;
}

.products-modal-card p[b-vow5zcsjel] {
    margin: 20px 0;
    color: #334155;
    line-height: 1.9;
    font-weight: 850;
}

.products-modal-actions[b-vow5zcsjel] {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

@media (max-width: 1180px) {
    .products-tool-grid[b-vow5zcsjel] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .products-filter-grid[b-vow5zcsjel] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .products-hero[b-vow5zcsjel] {
        flex-direction: column;
        align-items: stretch;
    }

    .products-stat-grid[b-vow5zcsjel] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .products-tool-grid[b-vow5zcsjel] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .products-page[b-vow5zcsjel] {
        padding: 14px;
    }

    .products-hero[b-vow5zcsjel],
    .products-tools-card[b-vow5zcsjel],
    .products-filter-card[b-vow5zcsjel],
    .products-table-card[b-vow5zcsjel] {
        padding: 18px;
    }

    .products-stat-grid[b-vow5zcsjel],
    .products-filter-grid[b-vow5zcsjel] {
        grid-template-columns: 1fr;
    }

    .products-tool-grid[b-vow5zcsjel] {
        grid-template-columns: 1fr;
    }

    .products-pagination[b-vow5zcsjel] {
        flex-direction: column;
        align-items: stretch;
    }

    .products-pagination-actions[b-vow5zcsjel] {
        justify-content: space-between;
    }
}


/* Inline sale price editor */
.products-inline-price[b-vow5zcsjel] {
    min-width: 190px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.products-price-input[b-vow5zcsjel] {
    width: 118px;
    min-height: 38px;
    padding: 7px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 11px;
    color: #0f172a;
    background: #fff;
    direction: ltr;
    text-align: center;
    font: inherit;
    font-weight: 900;
    outline: none;
}

.products-price-input:focus[b-vow5zcsjel] {
    border-color: var(--erp-primary, #2563eb);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.products-price-input:disabled[b-vow5zcsjel] {
    opacity: .65;
    background: #f1f5f9;
}

.products-price-save[b-vow5zcsjel] {
    min-width: 58px;
    min-height: 38px;
    padding: 7px 10px;
    border: 0;
    border-radius: 11px;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-primary, #4f46e5));
    font: inherit;
    font-size: 11px;
    font-weight: 1000;
    cursor: pointer;
}

.products-price-save:disabled[b-vow5zcsjel] {
    color: #64748b;
    background: #e2e8f0;
    cursor: not-allowed;
}

.products-alert.success[b-vow5zcsjel] {
    color: #065f46;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

/* Postal shipping label */
.products-tool-btn.postal > span[b-vow5zcsjel] {
    color: #9a3412;
    background: linear-gradient(145deg, #fff7ed, #ffedd5);
}

.products-tool-btn.postal:disabled[b-vow5zcsjel] {
    opacity: .62;
    cursor: wait;
    pointer-events: none;
}

.products-tool-btn.postal:disabled > span[b-vow5zcsjel] {
    animation: postal-button-pulse-b-vow5zcsjel 1s ease-in-out infinite;
}

.postal-loading-spinner[b-vow5zcsjel] {
    width: 42px;
    height: 42px;
    border: 4px solid #dbeafe;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: postal-spin-b-vow5zcsjel .8s linear infinite;
}

@keyframes postal-spin-b-vow5zcsjel {
    to { transform: rotate(360deg); }
}

@keyframes postal-button-pulse-b-vow5zcsjel {
    0%, 100% { transform: scale(1); opacity: .75; }
    50% { transform: scale(1.08); opacity: 1; }
}

@media (max-width: 1280px) {
    #postal-print-dialog[b-vow5zcsjel] {
        inset-inline-end: 0 !important;
    }
}

@media (max-width: 900px) {
    #postal-print-dialog[b-vow5zcsjel] {
        padding: 12px !important;
    }

    #postal-print-dialog > section[b-vow5zcsjel] {
        height: calc(100dvh - 24px) !important;
        max-height: calc(100dvh - 24px) !important;
    }

    #postal-print-dialog [style*="grid-template-columns:repeat(2"][b-vow5zcsjel] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 620px) {
    #postal-print-dialog[b-vow5zcsjel] {
        padding: 6px !important;
    }

    #postal-print-dialog > section[b-vow5zcsjel] {
        height: calc(100dvh - 12px) !important;
        max-height: calc(100dvh - 12px) !important;
        border-radius: 17px !important;
    }
}


/* Final postal dialog vertical layout correction */
#postal-print-dialog > section[b-vow5zcsjel] {
    min-height: 0 !important;
}

#postal-print-dialog > section > div:nth-of-type(1)[b-vow5zcsjel] {
    min-height: 0;
}

#postal-print-dialog footer[b-vow5zcsjel] {
    flex: 0 0 auto;
}

@media (max-width: 1280px) {
    #postal-print-dialog[b-vow5zcsjel] {
        inset: 112px 0 12px 0 !important;
        padding: 12px 16px !important;
    }
}

@media (max-width: 900px) {
    #postal-print-dialog[b-vow5zcsjel] {
        inset: 88px 0 8px 0 !important;
        padding: 8px !important;
    }

    #postal-print-dialog > section[b-vow5zcsjel] {
        height: 100% !important;
        max-height: 100% !important;
    }
}

@media (max-width: 620px) {
    #postal-print-dialog[b-vow5zcsjel] {
        inset: 72px 0 4px 0 !important;
        padding: 4px !important;
    }

    #postal-print-dialog footer[b-vow5zcsjel] {
        min-height: 0 !important;
        padding: 10px 12px 12px !important;
    }
}
/* /Components/Pages/ProductSearch.razor.rz.scp.css */
.product-search-page[b-19mfggag3h] {
    --search-text: #0f172a;
    --search-muted: #64748b;
    --search-border: #dbe4f0;
    --search-soft: #e2e8f0;
    --search-blue: var(--erp-primary, #2563eb);
    --search-purple: var(--erp-accent, #7c3aed);
    --search-green: #059669;
    min-height: 100vh;
    padding: 24px;
    color: var(--search-text);
    background:
        radial-gradient(circle at 16% 0%, rgba(124,58,237,.09), transparent 340px),
        linear-gradient(180deg, #eef4fb 0%, #f8fbff 52%, #eef4fb 100%);
}

.product-search-page *[b-19mfggag3h],
.product-search-page *[b-19mfggag3h]::before,
.product-search-page *[b-19mfggag3h]::after {
    box-sizing: border-box;
}

.product-search-hero[b-19mfggag3h],
.product-search-card[b-19mfggag3h],
.product-search-stat[b-19mfggag3h],
.product-search-state[b-19mfggag3h] {
    border: 1px solid rgba(219,228,240,.96);
    background: rgba(255,255,255,.98);
    box-shadow: 0 22px 64px rgba(15,23,42,.07);
}

.product-search-hero[b-19mfggag3h] {
    min-height: 170px;
    margin-bottom: 18px;
    padding: 28px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        radial-gradient(circle at 0 0, rgba(124,58,237,.13), transparent 280px),
        linear-gradient(135deg, #fff, #eff6ff);
}

.product-search-hero-copy[b-19mfggag3h] {
    display: grid;
    gap: 20px;
}

.product-search-breadcrumb[b-19mfggag3h] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--search-muted);
    font-size: 12px;
    font-weight: 1000;
}

.product-search-breadcrumb span[b-19mfggag3h],
.product-search-breadcrumb b[b-19mfggag3h] {
    min-height: 32px;
    padding: 0 13px;
    border: 1px solid var(--search-soft);
    border-radius: 999px;
    background: #f8fafc;
    display: inline-flex;
    align-items: center;
}

.product-search-breadcrumb b[b-19mfggag3h] {
    color: #1d4ed8;
    border-color: #bfdbfe;
    background: #dbeafe;
}

.product-search-breadcrumb i[b-19mfggag3h] {
    width: 6px;
    height: 6px;
    border-top: 2px solid #94a3b8;
    border-left: 2px solid #94a3b8;
    transform: rotate(-45deg);
}

.product-search-title-row[b-19mfggag3h] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-search-icon[b-19mfggag3h] {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    border-radius: 22px;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    display: grid;
    place-items: center;
    font-size: 34px;
    font-weight: 1000;
    box-shadow: 0 16px 34px rgba(37,99,235,.24);
}

.product-search-eyebrow[b-19mfggag3h] {
    min-height: 30px;
    padding: 7px 14px;
    border-radius: 999px;
    color: #1d4ed8;
    background: #eff6ff;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 1000;
}

.product-search-hero h1[b-19mfggag3h] {
    margin: 8px 0 0;
    font-size: 34px;
    font-weight: 1000;
}

.product-search-hero p[b-19mfggag3h] {
    margin: 10px 0 0;
    color: var(--search-muted);
    font-size: 14px;
    font-weight: 800;
}

.product-search-hero-actions[b-19mfggag3h] {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-search-btn[b-19mfggag3h] {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--search-border);
    border-radius: 999px;
    color: #334155;
    background: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 1000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.product-search-btn:hover:not(:disabled)[b-19mfggag3h] {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(15,23,42,.09);
}

.product-search-btn:disabled[b-19mfggag3h] {
    opacity: .58;
    cursor: not-allowed;
}

.product-search-btn.export[b-19mfggag3h] {
    color: #fff;
    border: 0;
    background: linear-gradient(135deg, #059669, #0ea5e9);
    box-shadow: 0 14px 30px rgba(5,150,105,.2);
}

.product-search-btn.small[b-19mfggag3h] {
    min-height: 36px;
    padding: 0 14px;
    font-size: 12px;
}

.product-search-alert[b-19mfggag3h] {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 13px;
    font-weight: 900;
}

.product-search-alert.error[b-19mfggag3h] {
    color: #be123c;
    border: 1px solid #fecdd3;
    background: #fff1f2;
}

.product-search-alert button[b-19mfggag3h] {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 10px;
    color: inherit;
    background: rgba(255,255,255,.72);
    font-size: 20px;
    cursor: pointer;
}

.product-search-stats[b-19mfggag3h] {
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.product-search-stat[b-19mfggag3h] {
    min-height: 112px;
    padding: 20px;
    border-radius: 24px;
    display: grid;
    align-content: center;
    gap: 7px;
}

.product-search-stat span[b-19mfggag3h] {
    color: var(--search-muted);
    font-size: 13px;
    font-weight: 950;
}

.product-search-stat strong[b-19mfggag3h] {
    font-size: 26px;
    font-weight: 1000;
}

.product-search-stat small[b-19mfggag3h] {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
}

.product-search-stat.active strong[b-19mfggag3h] { color: #047857; }
.product-search-stat.warning strong[b-19mfggag3h] { color: #b45309; }
.product-search-stat.value strong[b-19mfggag3h] { color: var(--erp-accent, #7c3aed); }

.product-search-card[b-19mfggag3h] {
    border-radius: 28px;
}

.product-search-filter-card[b-19mfggag3h],
.product-search-results-card[b-19mfggag3h] {
    margin-bottom: 18px;
    padding: 24px;
}

.product-search-card-head[b-19mfggag3h] {
    margin-bottom: 20px;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--search-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.product-search-card-head h2[b-19mfggag3h] {
    margin: 8px 0 0;
    font-size: 22px;
    font-weight: 1000;
}

.product-search-card-head p[b-19mfggag3h] {
    margin: 8px 0 0;
    color: var(--search-muted);
    font-size: 13px;
    font-weight: 800;
}

.product-search-step[b-19mfggag3h] {
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 1000;
}

.product-search-page-badge[b-19mfggag3h] {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    color: #6d28d9;
    background: #f3e8ff;
    border: 1px solid #ddd6fe;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 1000;
}

.product-search-filter-grid[b-19mfggag3h] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: end;
}

.product-search-field[b-19mfggag3h] {
    min-width: 0;
}

.product-search-field.wide[b-19mfggag3h] {
    grid-column: span 2;
}

.product-search-field label[b-19mfggag3h] {
    display: block;
    margin: 0 2px 8px 0;
    color: #334155;
    font-size: 12px;
    font-weight: 1000;
}

.product-search-input-wrap[b-19mfggag3h] {
    position: relative;
}

.product-search-input-wrap > span[b-19mfggag3h] {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: var(--search-muted);
    font-size: 20px;
    pointer-events: none;
}

.product-search-input[b-19mfggag3h],
.product-search-select[b-19mfggag3h] {
    width: 100%;
    min-height: 50px;
    border: 1px solid var(--search-border);
    border-radius: 15px;
    color: var(--search-text);
    background: #f8fafc;
    font-family: inherit;
    font-size: 13px;
    font-weight: 850;
    outline: none;
}

.product-search-input[b-19mfggag3h] {
    padding: 0 14px;
}

.product-search-input-wrap .product-search-input[b-19mfggag3h] {
    padding-right: 44px;
}

.product-search-select[b-19mfggag3h] {
    padding: 0 13px;
}

.product-search-input.number[b-19mfggag3h] {
    direction: ltr;
    text-align: left;
}

.product-search-input:focus[b-19mfggag3h],
.product-search-select:focus[b-19mfggag3h] {
    border-color: rgba(124,58,237,.42);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(124,58,237,.08);
}

.product-search-check[b-19mfggag3h] {
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid var(--search-border);
    border-radius: 15px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.product-search-check input[b-19mfggag3h] {
    position: absolute;
    opacity: 0;
}

.product-search-check span[b-19mfggag3h] {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    border: 2px solid #cbd5e1;
    border-radius: 7px;
    background: #fff;
    position: relative;
}

.product-search-check input:checked + span[b-19mfggag3h] {
    border-color: var(--erp-primary, #2563eb);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
}

.product-search-check input:checked + span[b-19mfggag3h]::after {
    content: "✓";
    position: absolute;
    inset: 0;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 1000;
}

.product-search-check b[b-19mfggag3h] {
    font-size: 12px;
    font-weight: 1000;
}

.product-search-state[b-19mfggag3h] {
    padding: 24px;
    border-radius: 22px;
    font-weight: 900;
}

.product-search-empty[b-19mfggag3h] {
    min-height: 240px;
    padding: 28px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    text-align: center;
}

.product-search-empty-icon[b-19mfggag3h] {
    width: 74px;
    height: 74px;
    border-radius: 24px;
    color: var(--erp-primary, #2563eb);
    background: #eff6ff;
    border: 1px solid #dbeafe;
    display: grid;
    place-items: center;
    font-size: 34px;
}

.product-search-empty span[b-19mfggag3h] {
    color: var(--search-muted);
    font-size: 13px;
    font-weight: 850;
}

.product-search-table-wrap[b-19mfggag3h] {
    overflow: auto;
    border: 1px solid var(--search-soft);
    border-radius: 22px;
    background: #fff;
}

.product-search-table[b-19mfggag3h] {
    width: 100%;
    min-width: 1350px;
    border-collapse: separate;
    border-spacing: 0;
}

.product-search-table th[b-19mfggag3h] {
    position: sticky;
    top: 0;
    z-index: 4;
    padding: 15px 13px;
    border-bottom: 1px solid var(--search-soft);
    color: #475569;
    background: linear-gradient(180deg, #f8fafc, #eef2ff);
    text-align: right;
    font-size: 12px;
    font-weight: 1000;
    white-space: nowrap;
}

.product-search-table td[b-19mfggag3h] {
    padding: 13px;
    border-bottom: 1px solid #edf2f7;
    font-size: 12px;
    font-weight: 850;
    vertical-align: middle;
}

.product-search-table tbody tr:hover[b-19mfggag3h] {
    background: #f8fbff;
}

.product-search-table tbody tr:last-child td[b-19mfggag3h] {
    border-bottom: 0;
}

.product-search-image[b-19mfggag3h],
.product-search-no-image[b-19mfggag3h] {
    width: 48px;
    height: 48px;
    border-radius: 14px;
}

.product-search-image[b-19mfggag3h] {
    object-fit: contain;
    box-sizing: border-box;
    padding: 3px;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.product-search-no-image[b-19mfggag3h] {
    color: #94a3b8;
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
    display: grid;
    place-items: center;
}

.product-search-name-cell[b-19mfggag3h] {
    min-width: 220px;
}

.product-search-name-cell span[b-19mfggag3h],
.product-search-meta-cell small[b-19mfggag3h] {
    display: block;
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
}

.product-search-name-cell strong[b-19mfggag3h],
.product-search-meta-cell strong[b-19mfggag3h] {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 1000;
}

.product-search-name-cell small[b-19mfggag3h] {
    display: block;
    margin-top: 4px;
    color: #94a3b8;
    font-size: 10px;
}

.product-search-meta-cell[b-19mfggag3h] {
    min-width: 140px;
}

.product-search-stock[b-19mfggag3h],
.product-search-profit[b-19mfggag3h],
.product-search-status[b-19mfggag3h] {
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 1000;
    white-space: nowrap;
}

.product-search-stock.ok[b-19mfggag3h],
.product-search-profit.ok[b-19mfggag3h],
.product-search-status.active[b-19mfggag3h] {
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.product-search-stock.danger[b-19mfggag3h],
.product-search-profit.danger[b-19mfggag3h],
.product-search-status.danger[b-19mfggag3h] {
    color: #be123c;
    background: #fff1f2;
    border: 1px solid #fecdd3;
}

.product-search-stock.service[b-19mfggag3h] {
    color: #6d28d9;
    background: #f3e8ff;
    border: 1px solid #ddd6fe;
}

.product-search-profit.warning[b-19mfggag3h] {
    color: #b45309;
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.product-search-status.inactive[b-19mfggag3h] {
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
}

.product-search-statuses[b-19mfggag3h],
.product-search-actions[b-19mfggag3h] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.product-search-money[b-19mfggag3h] {
    white-space: nowrap;
    font-weight: 1000 !important;
}

.product-search-money.sale[b-19mfggag3h] {
    color: #047857;
}

.product-search-action[b-19mfggag3h] {
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid var(--search-border);
    border-radius: 10px;
    color: #334155;
    background: #fff;
    font-family: inherit;
    font-size: 10px;
    font-weight: 1000;
    cursor: pointer;
}

.product-search-action.primary[b-19mfggag3h] {
    color: #1d4ed8;
    border-color: #bfdbfe;
    background: #eff6ff;
}

.product-search-pagination[b-19mfggag3h] {
    padding-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--search-muted);
    font-size: 12px;
    font-weight: 900;
}

.product-search-pagination-actions[b-19mfggag3h] {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 1180px) {
    .product-search-stats[b-19mfggag3h] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-search-filter-grid[b-19mfggag3h] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .product-search-page[b-19mfggag3h] {
        padding: 14px;
    }

    .product-search-hero[b-19mfggag3h],
    .product-search-filter-card[b-19mfggag3h],
    .product-search-results-card[b-19mfggag3h] {
        padding: 18px;
    }

    .product-search-hero[b-19mfggag3h] {
        flex-direction: column;
        align-items: stretch;
    }

    .product-search-stats[b-19mfggag3h],
    .product-search-filter-grid[b-19mfggag3h] {
        grid-template-columns: 1fr;
    }

    .product-search-field.wide[b-19mfggag3h] {
        grid-column: span 1;
    }

    .product-search-card-head[b-19mfggag3h],
    .product-search-pagination[b-19mfggag3h] {
        flex-direction: column;
        align-items: stretch;
    }

    .product-search-hero-actions[b-19mfggag3h],
    .product-search-pagination-actions[b-19mfggag3h] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .product-search-btn[b-19mfggag3h] {
        width: 100%;
    }
}
/* /Components/Pages/Profile.razor.rz.scp.css */
.profile-page[b-lphfuva7ol]{max-width:1180px;margin:0 auto;display:grid;gap:18px;color:var(--erpdc-text,#0f172a)}.profile-hero[b-lphfuva7ol]{display:grid;grid-template-columns:78px minmax(0,1fr) auto;align-items:center;gap:18px;padding:28px;border:1px solid var(--erpdc-border,#e2e8f0);border-radius:26px;background:linear-gradient(135deg,var(--erpdc-card-bg,#fff),color-mix(in srgb,var(--erpdc-card-bg,#fff) 92%,#5b5bff 8%));box-shadow:0 18px 48px rgba(15,23,42,.08)}.profile-avatar[b-lphfuva7ol]{width:78px;height:78px;display:grid;place-items:center;border-radius:23px;color:#fff;background:linear-gradient(135deg,#5b5bff,#7c4dff);font-size:25px;font-weight:1000}.profile-hero h1[b-lphfuva7ol]{margin:4px 0;font-size:30px}.profile-hero p[b-lphfuva7ol],.profile-hero small[b-lphfuva7ol],.profile-card p[b-lphfuva7ol]{margin:0;color:var(--erpdc-muted,#64748b)}.status[b-lphfuva7ol]{padding:7px 11px;border-radius:99px;font-size:11px;font-weight:900}.status.active[b-lphfuva7ol]{color:#047857;background:#d1fae5}.profile-grid[b-lphfuva7ol]{display:grid;grid-template-columns:1.35fr .65fr;gap:18px}.profile-card[b-lphfuva7ol]{padding:24px;border:1px solid var(--erpdc-border,#e2e8f0);border-radius:22px;background:var(--erpdc-card-bg,#fff);box-shadow:0 14px 38px rgba(15,23,42,.05)}.profile-card h2[b-lphfuva7ol]{margin:0 0 18px;font-size:18px}.profile-card dl[b-lphfuva7ol]{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}.profile-card dl div[b-lphfuva7ol]{padding:13px;border-radius:13px;background:var(--erpdc-card-soft,#f8fafc)}.profile-card dt[b-lphfuva7ol]{color:var(--erpdc-muted,#64748b);font-size:10px}.profile-card dd[b-lphfuva7ol]{margin:5px 0 0;font-weight:900}.profile-actions[b-lphfuva7ol]{display:grid;gap:9px;margin-top:20px}.profile-actions a[b-lphfuva7ol],.profile-state button[b-lphfuva7ol]{min-height:42px;display:grid;place-items:center;padding:0 13px;border:1px solid var(--erpdc-border,#e2e8f0);border-radius:12px;color:inherit;background:transparent;text-decoration:none;font-family:inherit}.profile-actions a.primary[b-lphfuva7ol],.profile-state button[b-lphfuva7ol]{color:#fff;border:0;background:linear-gradient(135deg,#5b5bff,#7c4dff)}.profile-state[b-lphfuva7ol]{min-height:320px;display:grid;place-items:center;align-content:center;gap:10px}.profile-state>span[b-lphfuva7ol]{width:35px;height:35px;border:3px solid #e0e7ff;border-top-color:#5b5bff;border-radius:50%;animation:spin-b-lphfuva7ol .7s linear infinite}@keyframes spin-b-lphfuva7ol{to{transform:rotate(360deg)}}@media(max-width:760px){.profile-grid[b-lphfuva7ol]{grid-template-columns:1fr}.profile-hero[b-lphfuva7ol]{grid-template-columns:64px 1fr;padding:20px}.profile-avatar[b-lphfuva7ol]{width:64px;height:64px}.profile-hero>.status[b-lphfuva7ol]{grid-column:1/-1;justify-self:start}.profile-card dl[b-lphfuva7ol]{grid-template-columns:1fr}}
/* /Components/Pages/ProfitAndLoss.razor.rz.scp.css */
.pnl-page[b-f18nfy7gv3] {
    min-height: 100%;
    padding: 28px;
    color: #0f172a;
    font-family: inherit;
}

.pnl-page[b-f18nfy7gv3],
.pnl-page *[b-f18nfy7gv3] {
    box-sizing: border-box;
}

.pnl-page a[b-f18nfy7gv3] {
    text-decoration: none;
}

.pnl-hero[b-f18nfy7gv3],
.pnl-filter-card[b-f18nfy7gv3],
.pnl-period-card[b-f18nfy7gv3],
.pnl-summary-card[b-f18nfy7gv3],
.pnl-statement-card[b-f18nfy7gv3],
.pnl-analysis-card[b-f18nfy7gv3],
.pnl-state[b-f18nfy7gv3] {
    border: 1px solid #dbe4f0;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .07);
}

.pnl-hero[b-f18nfy7gv3] {
    padding: 28px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        radial-gradient(circle at 12% 20%, rgba(99, 102, 241, .16), transparent 30%),
        linear-gradient(135deg, #fff, #f8fbff);
}

.pnl-eyebrow[b-f18nfy7gv3] {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--erp-primary, #4f46e5);
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: .6px;
}

.pnl-hero h1[b-f18nfy7gv3] {
    margin: 0;
    font-size: 30px;
    font-weight: 1000;
}

.pnl-hero p[b-f18nfy7gv3] {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.pnl-hero-actions[b-f18nfy7gv3] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pnl-btn[b-f18nfy7gv3],
.pnl-filter-submit[b-f18nfy7gv3] {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.pnl-btn:disabled[b-f18nfy7gv3],
.pnl-filter-submit:disabled[b-f18nfy7gv3] {
    opacity: .5;
    cursor: not-allowed;
}

.pnl-btn.primary[b-f18nfy7gv3],
.pnl-filter-submit[b-f18nfy7gv3] {
    color: var(--erp-on-brand, #ffffff);
    border-color: var(--erp-primary, #4f46e5);
    background: linear-gradient(135deg, var(--erp-primary, #4f46e5), var(--erp-accent, #7c3aed));
}

.pnl-btn.secondary[b-f18nfy7gv3] {
    color: #334155;
    border-color: #cbd5e1;
    background: #fff;
}

.pnl-filter-card[b-f18nfy7gv3] {
    margin-top: 18px;
    padding: 20px;
    border-radius: 22px;
}

.pnl-filter-grid[b-f18nfy7gv3] {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, .8fr)) auto;
    gap: 14px;
    align-items: end;
}

.pnl-field[b-f18nfy7gv3] {
    display: grid;
    gap: 8px;
}

.pnl-field span[b-f18nfy7gv3] {
    color: #475569;
    font-size: 11px;
    font-weight: 900;
}

.pnl-field input[b-f18nfy7gv3] {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #dbe4f0;
    border-radius: 13px;
    outline: none;
    color: #0f172a;
    background: #f8fafc;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
}

.pnl-field input:focus[b-f18nfy7gv3] {
    border-color: var(--erp-primary, #818cf8);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, .1);
}

.pnl-validation[b-f18nfy7gv3] {
    margin-top: 12px;
    padding: 11px 13px;
    border: 1px solid #fecaca;
    border-radius: 12px;
    color: #b91c1c;
    background: #fef2f2;
    font-size: 11px;
    font-weight: 800;
}

.pnl-state[b-f18nfy7gv3] {
    margin-top: 18px;
    padding: 48px 24px;
    border-radius: 24px;
    text-align: center;
}

.pnl-state.error[b-f18nfy7gv3] {
    border-color: #fecaca;
    color: #b91c1c;
    background: #fef2f2;
}

.pnl-state p[b-f18nfy7gv3] {
    margin: 10px 0 18px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.pnl-spinner[b-f18nfy7gv3] {
    width: 42px;
    height: 42px;
    margin: 0 auto 14px;
    border: 4px solid #e0e7ff;
    border-top-color: var(--erp-primary, #4f46e5);
    border-radius: 50%;
    animation: pnl-spin-b-f18nfy7gv3 .8s linear infinite;
}

@keyframes pnl-spin-b-f18nfy7gv3 {
    to { transform: rotate(360deg); }
}

.pnl-period-card[b-f18nfy7gv3] {
    margin-top: 18px;
    padding: 18px 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pnl-period-card span[b-f18nfy7gv3],
.pnl-period-card strong[b-f18nfy7gv3] {
    display: block;
}

.pnl-period-card span[b-f18nfy7gv3] {
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
}

.pnl-period-card strong[b-f18nfy7gv3] {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 1000;
}

.pnl-result-badge[b-f18nfy7gv3] {
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 1000;
}

.pnl-result-badge.profit[b-f18nfy7gv3] {
    color: #047857;
    background: #d1fae5;
}

.pnl-result-badge.loss[b-f18nfy7gv3] {
    color: #b91c1c;
    background: #fee2e2;
}

.pnl-summary-grid[b-f18nfy7gv3] {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.pnl-summary-card[b-f18nfy7gv3] {
    min-height: 126px;
    padding: 18px;
    border-radius: 20px;
}

.pnl-summary-card.revenue[b-f18nfy7gv3] {
    border-top: 3px solid var(--erp-primary, #2563eb);
}

.pnl-summary-card.net-sales[b-f18nfy7gv3] {
    border-top: 3px solid var(--erp-primary, #6366f1);
}

.pnl-summary-card.gross-profit[b-f18nfy7gv3] {
    border-top: 3px solid #10b981;
}

.pnl-summary-card.net-profit.positive[b-f18nfy7gv3] {
    border-top: 3px solid #059669;
}

.pnl-summary-card.net-profit.negative[b-f18nfy7gv3] {
    border-top: 3px solid #ef4444;
}

.pnl-summary-card span[b-f18nfy7gv3] {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
}

.pnl-summary-card strong[b-f18nfy7gv3] {
    display: block;
    margin-top: 13px;
    font-size: 22px;
    font-weight: 1000;
}

.pnl-summary-card small[b-f18nfy7gv3] {
    display: block;
    margin-top: 9px;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
}

.pnl-content-grid[b-f18nfy7gv3] {
    margin-top: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(320px, .8fr);
    gap: 18px;
    align-items: start;
}

.pnl-statement-card[b-f18nfy7gv3],
.pnl-analysis-card[b-f18nfy7gv3] {
    border-radius: 24px;
    overflow: hidden;
}

.pnl-card-header[b-f18nfy7gv3] {
    padding: 20px 22px;
    border-bottom: 1px solid #e2e8f0;
}

.pnl-card-header span[b-f18nfy7gv3] {
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
}

.pnl-card-header h2[b-f18nfy7gv3] {
    margin: 6px 0 0;
    font-size: 18px;
    font-weight: 1000;
}

.pnl-lines[b-f18nfy7gv3] {
    padding: 8px 22px 22px;
}

.pnl-line[b-f18nfy7gv3] {
    padding: 16px 0;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pnl-line span[b-f18nfy7gv3] {
    color: #475569;
    font-size: 12px;
    font-weight: 800;
}

.pnl-line strong[b-f18nfy7gv3] {
    direction: ltr;
    font-size: 13px;
    font-weight: 1000;
    white-space: nowrap;
}

.pnl-line.deduction strong[b-f18nfy7gv3] {
    color: #b45309;
}

.pnl-line.subtotal[b-f18nfy7gv3] {
    padding: 17px 14px;
    margin: 0 -8px;
    border-radius: 13px;
    background: #f8fafc;
}

.pnl-line.subtotal strong[b-f18nfy7gv3] {
    color: #4338ca;
}

.pnl-line.net[b-f18nfy7gv3] {
    margin-top: 14px;
    padding: 18px;
    border: 0;
    border-radius: 16px;
    color: #fff;
}

.pnl-line.net span[b-f18nfy7gv3],
.pnl-line.net strong[b-f18nfy7gv3] {
    color: #fff;
}

.pnl-line.net.profit[b-f18nfy7gv3] {
    background: linear-gradient(135deg, #059669, #10b981);
}

.pnl-line.net.loss[b-f18nfy7gv3] {
    background: linear-gradient(135deg, #dc2626, #f43f5e);
}

.positive-value[b-f18nfy7gv3] {
    color: #047857;
}

.pnl-analysis-card[b-f18nfy7gv3] {
    position: sticky;
    top: 18px;
}

.pnl-metric[b-f18nfy7gv3] {
    padding: 16px 20px 0;
}

.pnl-metric-head[b-f18nfy7gv3] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.pnl-metric-head span[b-f18nfy7gv3],
.pnl-metric-head strong[b-f18nfy7gv3] {
    font-size: 11px;
    font-weight: 900;
}

.pnl-metric-head span[b-f18nfy7gv3] {
    color: #475569;
}

.pnl-progress[b-f18nfy7gv3] {
    height: 8px;
    margin-top: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: #e2e8f0;
}

.pnl-progress i[b-f18nfy7gv3] {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--erp-primary, #4f46e5), var(--erp-accent, #7c3aed));
}

.pnl-insight[b-f18nfy7gv3] {
    margin: 20px;
    padding: 16px;
    border-radius: 16px;
}

.pnl-insight.positive[b-f18nfy7gv3] {
    border: 1px solid #a7f3d0;
    color: #047857;
    background: #ecfdf5;
}

.pnl-insight.negative[b-f18nfy7gv3] {
    border: 1px solid #fecaca;
    color: #b91c1c;
    background: #fef2f2;
}

.pnl-insight strong[b-f18nfy7gv3] {
    font-size: 12px;
    font-weight: 1000;
}

.pnl-insight p[b-f18nfy7gv3] {
    margin: 8px 0 0;
    font-size: 10px;
    line-height: 1.9;
    font-weight: 800;
}

@media (max-width: 1100px) {
    .pnl-summary-grid[b-f18nfy7gv3] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pnl-content-grid[b-f18nfy7gv3] {
        grid-template-columns: 1fr;
    }

    .pnl-analysis-card[b-f18nfy7gv3] {
        position: static;
    }
}

@media (max-width: 720px) {
    .pnl-page[b-f18nfy7gv3] {
        padding: 16px;
    }

    .pnl-hero[b-f18nfy7gv3],
    .pnl-period-card[b-f18nfy7gv3] {
        align-items: stretch;
        flex-direction: column;
    }

    .pnl-hero-actions[b-f18nfy7gv3],
    .pnl-filter-grid[b-f18nfy7gv3],
    .pnl-summary-grid[b-f18nfy7gv3] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .pnl-btn[b-f18nfy7gv3],
    .pnl-filter-submit[b-f18nfy7gv3] {
        width: 100%;
    }
}

@media print {
    .pnl-hero-actions[b-f18nfy7gv3],
    .pnl-filter-card[b-f18nfy7gv3] {
        display: none !important;
    }

    .pnl-page[b-f18nfy7gv3] {
        padding: 0;
    }

    .pnl-hero[b-f18nfy7gv3],
    .pnl-period-card[b-f18nfy7gv3],
    .pnl-summary-card[b-f18nfy7gv3],
    .pnl-statement-card[b-f18nfy7gv3],
    .pnl-analysis-card[b-f18nfy7gv3] {
        box-shadow: none;
    }

    .pnl-content-grid[b-f18nfy7gv3] {
        grid-template-columns: 1.6fr .8fr;
    }

    .pnl-analysis-card[b-f18nfy7gv3] {
        position: static;
    }
}

.erp-print-report[b-f18nfy7gv3] {
    display: none;
}

@media print {
    .erp-print-report[b-f18nfy7gv3] {
        display: block !important;
        width: 100% !important;
        color: #000 !important;
        background: #fff !important;
        font-size: 10pt !important;
    }

    .erp-print-report *[b-f18nfy7gv3] {
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    .erp-print-header[b-f18nfy7gv3] {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important;
        align-items: start !important;
        gap: 12px !important;
        margin-bottom: 8mm !important;
        padding-bottom: 4mm !important;
        border-bottom: 1px solid #475569 !important;
    }

    .erp-print-header-center[b-f18nfy7gv3] {
        text-align: center !important;
    }

    .erp-print-header-center h1[b-f18nfy7gv3] {
        margin: 0 0 2mm !important;
        font-size: 17pt !important;
        font-weight: 900 !important;
    }

    .erp-print-header-center p[b-f18nfy7gv3],
    .erp-print-header-side p[b-f18nfy7gv3] {
        margin: 1mm 0 !important;
        font-size: 9pt !important;
    }

    .erp-print-header-side:last-child[b-f18nfy7gv3] {
        text-align: left !important;
        direction: ltr !important;
    }

    .erp-print-table[b-f18nfy7gv3] {
        width: 100% !important;
        border-collapse: collapse !important;
        table-layout: auto !important;
        font-size: 9pt !important;
    }

    .erp-print-table th[b-f18nfy7gv3],
    .erp-print-table td[b-f18nfy7gv3] {
        padding: 2.2mm 1.8mm !important;
        border: 1px solid #94a3b8 !important;
        text-align: right !important;
        vertical-align: middle !important;
        background: #fff !important;
    }

    .erp-print-table th[b-f18nfy7gv3] {
        font-weight: 900 !important;
        background: #f1f5f9 !important;
    }

    .erp-print-table .print-money[b-f18nfy7gv3] {
        direction: ltr !important;
        text-align: right !important;
        white-space: nowrap !important;
        font-variant-numeric: tabular-nums !important;
    }

    .erp-print-table tfoot td[b-f18nfy7gv3] {
        font-weight: 900 !important;
        background: #f8fafc !important;
    }

    .erp-print-summary[b-f18nfy7gv3] {
        margin-top: 5mm !important;
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 2mm !important;
    }

    .erp-print-summary > div[b-f18nfy7gv3] {
        padding: 3mm !important;
        border: 1px solid #94a3b8 !important;
    }

    .erp-print-summary span[b-f18nfy7gv3],
    .erp-print-summary strong[b-f18nfy7gv3] {
        display: block !important;
    }

    .erp-print-summary span[b-f18nfy7gv3] {
        font-size: 8.5pt !important;
    }

    .erp-print-summary strong[b-f18nfy7gv3] {
        margin-top: 1.5mm !important;
        font-size: 10pt !important;
    }

    .erp-print-footer[b-f18nfy7gv3] {
        margin-top: 8mm !important;
        padding-top: 3mm !important;
        border-top: 1px solid #cbd5e1 !important;
        display: flex !important;
        justify-content: space-between !important;
        font-size: 8pt !important;
    }
}

@media print {
    .pnl-page > :not(.erp-print-report)[b-f18nfy7gv3] {
        display: none !important;
    }

    .pnl-page[b-f18nfy7gv3] {
        padding: 0 !important;
        margin: 0 !important;
        background: #fff !important;
    }
}
/* /Components/Pages/PublicHome.razor.rz.scp.css */
.saz-hero[b-p36o90obj8] {
    position: relative;
    overflow: hidden;
    min-height: 790px;
    padding: 78px 0 46px;
    isolation: isolate;
    background:
        radial-gradient(circle at 78% 14%, rgba(124, 67, 255, .22), transparent 30%),
        radial-gradient(circle at 16% 34%, rgba(0, 210, 255, .09), transparent 24%),
        radial-gradient(circle at 52% 68%, rgba(161, 42, 255, .08), transparent 28%),
        linear-gradient(180deg, #02040d 0%, #050918 64%, #030611 100%);
}

.saz-hero[b-p36o90obj8]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: .38;
    background-image:
        linear-gradient(rgba(120, 101, 255, .085) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 101, 255, .085) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.92) 56%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.92) 56%, transparent 100%);
}

.saz-hero[b-p36o90obj8]::after {
    content: "";
    position: absolute;
    z-index: -2;
    width: 760px;
    height: 760px;
    left: 50%;
    top: 70px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(105, 77, 255, .16), transparent 68%);
    filter: blur(34px);
    pointer-events: none;
}

.saz-ambient[b-p36o90obj8] {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(92px);
}

.saz-ambient--a[b-p36o90obj8] {
    width: 430px;
    height: 430px;
    right: 5%;
    top: 25px;
    background: rgba(127, 57, 255, .18);
}

.saz-ambient--b[b-p36o90obj8] {
    width: 360px;
    height: 360px;
    left: 2%;
    bottom: 12px;
    background: rgba(0, 213, 255, .075);
}

.saz-hero__grid[b-p36o90obj8] {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
    gap: 58px;
    align-items: center;
}

.saz-hero__content[b-p36o90obj8] {
    position: relative;
    z-index: 8;
}

.saz-kicker[b-p36o90obj8] {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    border: 1px solid rgba(143, 120, 255, .27);
    border-radius: 999px;
    color: #c5b9ff !important;
    background: rgba(17, 24, 54, .62);
    box-shadow: inset 0 1px rgba(255,255,255,.05), 0 10px 30px rgba(0,0,0,.2);
    backdrop-filter: blur(14px);
    font-size: .78rem;
    font-weight: 900;
}

.saz-kicker[b-p36o90obj8]::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #25ddff;
    box-shadow: 0 0 16px rgba(37, 221, 255, .88);
}

.saz-hero__content h1[b-p36o90obj8] {
    max-width: 780px;
    margin: 22px 0 18px;
    color: #fff !important;
    font-size: clamp(3.1rem, 5.5vw, 5.75rem);
    line-height: 1.08;
    letter-spacing: -.055em;
    text-wrap: balance;
}

.saz-hero__content p[b-p36o90obj8] {
    max-width: 720px;
    margin: 0;
    color: #b0bad2 !important;
    font-size: clamp(1rem, 1.25vw, 1.12rem);
    line-height: 2;
}

.saz-actions[b-p36o90obj8] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.saz-btn[b-p36o90obj8] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 21px;
    border-radius: 14px;
    border: 1px solid transparent;
    text-decoration: none !important;
    font-size: .9rem;
    font-weight: 900;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.saz-btn:hover[b-p36o90obj8] { transform: translateY(-2px); }

.saz-btn--primary[b-p36o90obj8] {
    color: #fff !important;
    background: linear-gradient(135deg, #2d62ff 0%, #7658ff 50%, #ce2bee 100%);
    box-shadow: 0 16px 42px rgba(96, 65, 255, .35), inset 0 1px rgba(255,255,255,.18);
}

.saz-btn--primary:hover[b-p36o90obj8] {
    box-shadow: 0 20px 54px rgba(96, 65, 255, .47), 0 0 34px rgba(126, 83, 255, .2);
}

.saz-btn--ghost[b-p36o90obj8] {
    color: #f8f9ff !important;
    background: rgba(8, 14, 31, .78);
    border-color: rgba(141, 157, 255, .2);
    box-shadow: inset 0 1px rgba(255,255,255,.03);
}

.saz-btn--ghost:hover[b-p36o90obj8] {
    background: rgba(15, 24, 52, .96);
    border-color: rgba(126, 94, 255, .56);
    box-shadow: 0 0 28px rgba(104, 76, 255, .14);
}

.saz-proof-row[b-p36o90obj8] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 30px;
}

.saz-proof[b-p36o90obj8] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 72px;
    padding: 12px 14px;
    border: 1px solid rgba(133, 149, 255, .13);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(13, 21, 46, .76), rgba(6, 11, 25, .72));
    backdrop-filter: blur(18px);
    box-shadow: inset 0 1px rgba(255,255,255,.025);
}

.saz-proof > span[b-p36o90obj8] {
    display: inline-grid;
    place-items: center;
    flex: 0 0 34px;
    height: 34px;
    border-radius: 11px;
    color: #fff !important;
    background: linear-gradient(135deg, rgba(61, 98, 255, .96), rgba(143, 64, 255, .92));
    box-shadow: 0 10px 28px rgba(90, 66, 255, .24);
    font-size: .9rem;
    font-weight: 900;
}

.saz-proof strong[b-p36o90obj8],
.saz-proof small[b-p36o90obj8] { display: block; }

.saz-proof strong[b-p36o90obj8] {
    color: #f7f8ff !important;
    font-size: .8rem;
}

.saz-proof small[b-p36o90obj8] {
    margin-top: 3px;
    color: #96a2bd !important;
    font-size: .66rem;
    line-height: 1.6;
}

/* Hero product preview: the reference image in Razor is intentionally hidden.
   Everything visible below is rendered from the real DOM + CSS, not an image mockup. */
.saz-hero__visual[b-p36o90obj8] {
    position: relative;
    min-height: 590px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1400px;
}

.saz-hero__visual > img[b-p36o90obj8] { display: none !important; }

.saz-hero__visual[b-p36o90obj8]::before {
    content: "";
    position: absolute;
    inset: 42px 14px 42px 8px;
    border-radius: 26px;
    border: 1px solid rgba(139, 154, 255, .2);
    background:
        linear-gradient(90deg, transparent 0 18%, rgba(115, 83, 255, .11) 18% 18.2%, transparent 18.2% 100%),
        linear-gradient(180deg, rgba(15, 23, 47, .985), rgba(6, 10, 24, .99));
    box-shadow:
        0 42px 110px rgba(0,0,0,.58),
        0 0 80px rgba(99, 72, 255, .17),
        inset 0 1px rgba(255,255,255,.045);
    transform: rotateY(-3.5deg) rotateX(1.1deg);
}

.saz-hero__visual[b-p36o90obj8]::after {
    content: "";
    position: absolute;
    inset: 101px 44px 77px 37px;
    border-radius: 0 0 18px 18px;
    background:
        radial-gradient(circle at 24% 20%, rgba(69, 102, 255, .18), transparent 28%),
        radial-gradient(circle at 82% 8%, rgba(160, 62, 255, .12), transparent 24%),
        linear-gradient(90deg, rgba(11, 18, 40, .96) 0 19%, rgba(7, 12, 28, .97) 19% 100%);
    border: 1px solid rgba(133, 149, 255, .08);
    box-shadow: inset 0 1px rgba(255,255,255,.018);
    z-index: 1;
}

.saz-orbit[b-p36o90obj8] { position: absolute; pointer-events: none; border-radius: 50%; }

.saz-orbit--1[b-p36o90obj8] {
    width: 650px;
    height: 650px;
    top: -18px;
    left: -38px;
    border: 1px solid rgba(125, 101, 255, .13);
    box-shadow: 0 0 90px rgba(89, 67, 255, .07);
}

.saz-orbit--2[b-p36o90obj8] {
    width: 470px;
    height: 470px;
    top: 66px;
    left: 46px;
    border: 1px dashed rgba(125, 101, 255, .13);
    opacity: .64;
}

.saz-float-card[b-p36o90obj8] {
    position: absolute;
    z-index: 8;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 208px;
    max-width: 255px;
    padding: 13px 14px;
    border: 1px solid rgba(133,149,255,.19);
    border-radius: 16px;
    background: rgba(8,14,31,.84);
    backdrop-filter: blur(20px) saturate(128%);
    box-shadow: 0 22px 58px rgba(0,0,0,.38), inset 0 1px rgba(255,255,255,.03);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.saz-float-card:hover[b-p36o90obj8] {
    transform: translateY(-4px);
    border-color: rgba(131, 101, 255, .5);
    box-shadow: 0 26px 66px rgba(0,0,0,.43), 0 0 34px rgba(109,75,255,.15);
}

.saz-float-card > span[b-p36o90obj8] {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    height: 38px;
    border-radius: 12px;
    color: #fff !important;
    background: linear-gradient(135deg, #2f66ff, #8a55ff 58%, #d53ef1);
    box-shadow: 0 8px 26px rgba(105, 74, 255, .3);
    font-size: .72rem;
    font-weight: 950;
}

.saz-float-card strong[b-p36o90obj8],
.saz-float-card small[b-p36o90obj8] { display: block; }

.saz-float-card strong[b-p36o90obj8] {
    color: #fff !important;
    font-size: .76rem;
}

.saz-float-card small[b-p36o90obj8] {
    margin-top: 3px;
    color: #96a3c1 !important;
    font-size: .62rem;
    line-height: 1.55;
}

.saz-float-card--top[b-p36o90obj8] {
    top: 88px;
    left: -7px;
}

.saz-float-card--bottom[b-p36o90obj8] {
    left: 16px;
    bottom: 58px;
}

/* Real dashboard chrome */
.saz-float-card--top[b-p36o90obj8]::before {
    content: "ERPPlus  •  app.sazmano.com";
    position: absolute;
    top: -47px;
    right: 9px;
    width: 464px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 16px;
    border-radius: 12px 12px 4px 4px;
    color: #8897b8;
    border: 1px solid rgba(133,149,255,.1);
    background:
        radial-gradient(circle at 18px 50%, #ff5f57 0 4px, transparent 5px),
        radial-gradient(circle at 34px 50%, #febc2e 0 4px, transparent 5px),
        radial-gradient(circle at 50px 50%, #28c840 0 4px, transparent 5px),
        rgba(10,16,34,.98);
    font: 700 .62rem/1 system-ui, sans-serif;
    direction: ltr;
    letter-spacing: .02em;
    box-shadow: inset 0 1px rgba(255,255,255,.025);
}

/* Main analytics panel */
.saz-float-card--top[b-p36o90obj8]::after {
    content: "";
    position: absolute;
    top: 108px;
    right: -260px;
    width: 438px;
    height: 248px;
    border-radius: 18px;
    border: 1px solid rgba(127,145,255,.12);
    background:
        linear-gradient(180deg, rgba(255,255,255,.04), transparent 1px) 0 52px/100% 1px no-repeat,
        repeating-linear-gradient(to right, transparent 0 52px, rgba(126,145,255,.04) 52px 53px),
        repeating-linear-gradient(to bottom, transparent 0 48px, rgba(126,145,255,.04) 48px 49px),
        linear-gradient(180deg, rgba(13,21,45,.97), rgba(7,12,28,.97));
    box-shadow: inset 0 1px rgba(255,255,255,.025);
    z-index: -1;
}

/* Sidebar blocks */
.saz-float-card--bottom[b-p36o90obj8]::before {
    content: "داشبورد\A فروش\A انبار\A حسابداری\A مشتریان\A گزارش‌ها";
    white-space: pre;
    position: absolute;
    left: 245px;
    bottom: 6px;
    width: 104px;
    min-height: 280px;
    padding: 22px 15px;
    border-radius: 16px;
    border: 1px solid rgba(127,145,255,.1);
    color: #92a0bf;
    background: rgba(9,15,33,.95);
    font-size: .64rem;
    font-weight: 800;
    line-height: 3.75;
    text-align: right;
    z-index: -1;
}

/* KPI/chart strip */
.saz-float-card--bottom[b-p36o90obj8]::after {
    content: "";
    position: absolute;
    left: 200px;
    bottom: 16px;
    width: 302px;
    height: 118px;
    border-radius: 16px;
    border: 1px solid rgba(127,145,255,.12);
    background:
        linear-gradient(90deg, rgba(67,96,255,.19) 0 18%, transparent 18% 23%, rgba(116,77,255,.22) 23% 45%, transparent 45% 50%, rgba(37,214,255,.15) 50% 68%, transparent 68% 73%, rgba(206,50,238,.17) 73% 100%),
        linear-gradient(180deg, rgba(17,28,59,.9), #091126);
    box-shadow: inset 0 1px rgba(255,255,255,.02);
    z-index: -1;
}

.saz-metrics[b-p36o90obj8] {
    position: relative;
    z-index: 9;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 34px;
    padding: 14px;
    border: 1px solid rgba(133,149,255,.14);
    border-radius: 20px;
    background: rgba(7,12,26,.74);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 50px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.025);
}

.saz-metrics > div[b-p36o90obj8] {
    position: relative;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.saz-metrics > div:not(:last-child)[b-p36o90obj8]::after {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 1px;
    background: rgba(133,149,255,.1);
}

.saz-metrics strong[b-p36o90obj8] {
    color: #fff !important;
    font-size: clamp(1.15rem, 2vw, 1.65rem);
    letter-spacing: -.03em;
}

.saz-metrics span[b-p36o90obj8] {
    margin-top: 4px;
    color: #96a2bd !important;
    font-size: .69rem;
}

@media (max-width: 1180px) {
    .saz-hero__grid[b-p36o90obj8] {
        grid-template-columns: minmax(0, 1fr) minmax(440px, .95fr);
        gap: 36px;
    }

    .saz-hero__visual[b-p36o90obj8] { min-height: 540px; }
    .saz-float-card--top[b-p36o90obj8]::before { width: 398px; }
    .saz-float-card--top[b-p36o90obj8]::after { right: -220px; width: 390px; }
    .saz-float-card--bottom[b-p36o90obj8]::after { width: 260px; }
}

@media (max-width: 980px) {
    .saz-hero[b-p36o90obj8] {
        min-height: auto;
        padding: 64px 0 40px;
    }

    .saz-hero__grid[b-p36o90obj8] {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .saz-hero__content[b-p36o90obj8] {
        max-width: 780px;
        margin: 0 auto;
        text-align: center;
    }

    .saz-hero__content p[b-p36o90obj8] { margin-inline: auto; }
    .saz-actions[b-p36o90obj8] { justify-content: center; }
    .saz-proof-row[b-p36o90obj8] { max-width: 680px; margin-inline: auto; margin-top: 26px; }

    .saz-hero__visual[b-p36o90obj8] {
        width: min(720px, 100%);
        min-height: 540px;
        margin: 0 auto;
    }

    .saz-metrics[b-p36o90obj8] { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 720px) {
    .saz-hero[b-p36o90obj8] { padding: 50px 0 34px; }

    .saz-hero__content h1[b-p36o90obj8] {
        margin-top: 18px;
        font-size: clamp(2.45rem, 11vw, 4.1rem);
        line-height: 1.13;
    }

    .saz-hero__content p[b-p36o90obj8] {
        font-size: .94rem;
        line-height: 1.95;
    }

    .saz-proof-row[b-p36o90obj8] { grid-template-columns: 1fr; }

    .saz-hero__visual[b-p36o90obj8] {
        min-height: 430px;
        transform: scale(.9);
        transform-origin: center top;
        margin-bottom: -36px;
    }

    .saz-float-card--top[b-p36o90obj8] { left: 4px; }
    .saz-float-card--bottom[b-p36o90obj8] { left: 14px; }
    .saz-float-card--top[b-p36o90obj8]::before { width: 325px; }
    .saz-float-card--top[b-p36o90obj8]::after { right: -148px; width: 320px; }
    .saz-float-card--bottom[b-p36o90obj8]::before { display: none; }
    .saz-float-card--bottom[b-p36o90obj8]::after { width: 235px; left: 145px; }

    .saz-metrics[b-p36o90obj8] {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .saz-metrics > div:nth-child(odd)[b-p36o90obj8]::after { display: none; }
    .saz-metrics > div[b-p36o90obj8] { min-height: 66px; }
}

@media (max-width: 480px) {
    .saz-kicker[b-p36o90obj8] { font-size: .7rem; }
    .saz-actions[b-p36o90obj8] { display: grid; grid-template-columns: 1fr; }
    .saz-btn[b-p36o90obj8] { width: 100%; }

    .saz-hero__visual[b-p36o90obj8] {
        width: 112%;
        margin-inline: -6%;
        transform: scale(.78);
        margin-bottom: -92px;
    }

    .saz-float-card[b-p36o90obj8] { min-width: 190px; }
    .saz-float-card--top[b-p36o90obj8]::before { width: 286px; }
    .saz-float-card--top[b-p36o90obj8]::after { right: -118px; width: 285px; }
    .saz-float-card--bottom[b-p36o90obj8]::after { left: 130px; width: 215px; }

    .saz-metrics[b-p36o90obj8] { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
    .saz-ambient--a[b-p36o90obj8] { animation: sazGlowA-b-p36o90obj8 9s ease-in-out infinite alternate; }
    .saz-ambient--b[b-p36o90obj8] { animation: sazGlowB-b-p36o90obj8 11s ease-in-out infinite alternate; }
    .saz-float-card--top[b-p36o90obj8] { animation: sazFloatTop-b-p36o90obj8 5.5s ease-in-out infinite; }
    .saz-float-card--bottom[b-p36o90obj8] { animation: sazFloatBottom-b-p36o90obj8 6.4s ease-in-out infinite; }

    @keyframes sazGlowA-b-p36o90obj8 {
        from { transform: translate3d(0,0,0) scale(1); }
        to { transform: translate3d(-24px,18px,0) scale(1.08); }
    }

    @keyframes sazGlowB-b-p36o90obj8 {
        from { transform: translate3d(0,0,0) scale(1); }
        to { transform: translate3d(24px,-18px,0) scale(1.08); }
    }

    @keyframes sazFloatTop-b-p36o90obj8 {
        0%,100% { transform: translateY(0); }
        50% { transform: translateY(-7px); }
    }

    @keyframes sazFloatBottom-b-p36o90obj8 {
        0%,100% { transform: translateY(0); }
        50% { transform: translateY(6px); }
    }
}

/* PublicHome product-showcase compatibility guard */
.saz-home-v8 .saz-product-shell--premium[b-p36o90obj8] {
    isolation: isolate;
}
/* /Components/Pages/Purchase.razor.rz.scp.css */
.purchase-list-page[b-yevcrjv60x] {
    --purchase-text: #0f172a;
    --purchase-muted: #64748b;
    --purchase-border: #dbe4f0;
    --purchase-soft-border: #e2e8f0;
    --purchase-blue: var(--erp-primary, #2563eb);
    --purchase-purple: var(--erp-accent, #7c3aed);
    --purchase-green: #059669;
    --purchase-amber: #d97706;
    min-height: 100vh;
    padding: 24px;
    color: var(--purchase-text);
    background:
        radial-gradient(circle at 18% 0%, rgba(124, 58, 237, .08), transparent 340px),
        linear-gradient(180deg, #eef4fb 0%, #f8fbff 48%, #eef4fb 100%);
}

.purchase-list-page *[b-yevcrjv60x],
.purchase-list-page *[b-yevcrjv60x]::before,
.purchase-list-page *[b-yevcrjv60x]::after {
    box-sizing: border-box;
}

.purchase-list-hero[b-yevcrjv60x] {
    position: relative;
    min-height: 158px;
    margin-bottom: 22px;
    padding: 28px;
    border: 1px solid rgba(191, 219, 254, .92);
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        radial-gradient(circle at 0% 0%, rgba(124, 58, 237, .13), transparent 280px),
        linear-gradient(135deg, rgba(255, 255, 255, .99), rgba(239, 246, 255, .95));
    box-shadow: 0 24px 70px rgba(15, 23, 42, .075);
}

.purchase-list-hero[b-yevcrjv60x]::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .55;
    transform: translateX(-70%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.78), transparent);
}

.purchase-hero-copy[b-yevcrjv60x],
.purchase-list-hero > .purchase-btn[b-yevcrjv60x] {
    position: relative;
    z-index: 1;
}

.purchase-hero-copy[b-yevcrjv60x] {
    display: grid;
    gap: 20px;
}

.purchase-breadcrumb[b-yevcrjv60x] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--purchase-muted);
    font-size: 12px;
    font-weight: 1000;
}

.purchase-breadcrumb span[b-yevcrjv60x],
.purchase-breadcrumb b[b-yevcrjv60x] {
    min-height: 32px;
    padding: 0 13px;
    border: 1px solid rgba(226, 232, 240, .95);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    background: rgba(241, 245, 249, .92);
}

.purchase-breadcrumb b[b-yevcrjv60x] {
    color: var(--purchase-blue);
    border-color: #bfdbfe;
    background: #dbeafe;
}

.purchase-breadcrumb i[b-yevcrjv60x] {
    width: 6px;
    height: 6px;
    border-top: 2px solid #94a3b8;
    border-left: 2px solid #94a3b8;
    transform: rotate(-45deg);
}

.purchase-hero-title-row[b-yevcrjv60x] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.purchase-hero-icon[b-yevcrjv60x] {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(221, 214, 254, .92);
    border-radius: 20px;
    color: #6d28d9;
    background: linear-gradient(135deg, #eef2ff, #f3e8ff);
    box-shadow: 0 14px 32px rgba(124, 58, 237, .14);
    font-size: 27px;
}

.purchase-eyebrow[b-yevcrjv60x] {
    min-height: 30px;
    margin-bottom: 9px;
    padding: 7px 15px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    color: var(--purchase-blue);
    background: #e0edff;
    font-size: 12px;
    font-weight: 1000;
}

.purchase-list-hero h1[b-yevcrjv60x] {
    margin: 0;
    font-size: 34px;
    line-height: 1.25;
    letter-spacing: -.8px;
    font-weight: 1000;
}

.purchase-list-hero p[b-yevcrjv60x] {
    margin: 11px 0 0;
    color: var(--purchase-muted);
    font-size: 14px;
    font-weight: 750;
}

.purchase-btn[b-yevcrjv60x] {
    min-height: 44px;
    padding: 0 19px;
    border: 1px solid var(--purchase-border);
    border-radius: 999px;
    color: #334155;
    background: rgba(255,255,255,.95);
    font-family: inherit;
    font-size: 13px;
    font-weight: 1000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .045);
    transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.purchase-btn:hover:not(:disabled)[b-yevcrjv60x] {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, .08);
}

.purchase-btn:disabled[b-yevcrjv60x] {
    opacity: .55;
    cursor: not-allowed;
}

.purchase-btn.primary[b-yevcrjv60x] {
    min-height: 48px;
    color: #fff;
    border: 0;
    background: linear-gradient(135deg, var(--purchase-blue), var(--purchase-purple));
    box-shadow: 0 16px 34px rgba(37, 99, 235, .26);
}

.purchase-btn.small[b-yevcrjv60x] {
    min-height: 34px;
    padding: 0 13px;
    font-size: 11px;
}

.purchase-btn.receive[b-yevcrjv60x] {
    color: #fff;
    border: 0;
    background: linear-gradient(135deg, #059669, #0ea5e9);
}

.purchase-btn.danger[b-yevcrjv60x] {
    color: #be123c;
    border-color: #fecdd3;
    background: #fff1f2;
}

.purchase-card[b-yevcrjv60x],
.purchase-state[b-yevcrjv60x],
.purchase-stat-card[b-yevcrjv60x] {
    border: 1px solid rgba(219, 228, 240, .96);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,.995), rgba(255,255,255,.95));
    box-shadow: 0 22px 64px rgba(15, 23, 42, .07);
}

.purchase-state[b-yevcrjv60x] {
    padding: 28px;
    display: grid;
    gap: 10px;
    font-weight: 900;
}

.purchase-state.error[b-yevcrjv60x] {
    color: #be123c;
    border-color: #fecdd3;
    background: #fff1f2;
}

.purchase-state.error span[b-yevcrjv60x] {
    color: #9f1239;
    line-height: 1.9;
}

.purchase-state .purchase-btn[b-yevcrjv60x] {
    width: max-content;
    margin-top: 8px;
}

.purchase-stats-grid[b-yevcrjv60x] {
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.purchase-stat-card[b-yevcrjv60x] {
    position: relative;
    min-height: 112px;
    padding: 19px;
    overflow: hidden;
    display: grid;
    align-content: center;
    gap: 7px;
}

.purchase-stat-card[b-yevcrjv60x]::after {
    content: "";
    position: absolute;
    top: -32px;
    left: -28px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(37, 99, 235, .06);
}

.purchase-stat-card span[b-yevcrjv60x] {
    color: var(--purchase-muted);
    font-size: 13px;
    font-weight: 950;
}

.purchase-stat-card strong[b-yevcrjv60x] {
    position: relative;
    z-index: 1;
    color: var(--purchase-text);
    font-size: 25px;
    font-weight: 1000;
}

.purchase-stat-card small[b-yevcrjv60x] {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
}

.purchase-stat-card.total strong[b-yevcrjv60x] {
    color: var(--erp-primary, #2563eb);
}

.purchase-stat-card.received strong[b-yevcrjv60x] {
    color: #047857;
}

.purchase-stat-card.pending strong[b-yevcrjv60x] {
    color: #b45309;
}

.purchase-filter-card[b-yevcrjv60x] {
    margin-bottom: 18px;
    padding: 18px;
}

.purchase-filter-grid[b-yevcrjv60x] {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(190px, 240px) auto;
    gap: 14px;
    align-items: center;
}

.purchase-search-box[b-yevcrjv60x] {
    position: relative;
}

.purchase-search-box > span[b-yevcrjv60x] {
    position: absolute;
    top: 50%;
    right: 15px;
    z-index: 2;
    transform: translateY(-50%);
    color: var(--purchase-muted);
    font-size: 20px;
    font-weight: 1000;
    pointer-events: none;
}

.purchase-search-box .form-control[b-yevcrjv60x],
.purchase-filter-select[b-yevcrjv60x] {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--purchase-border);
    border-radius: 15px;
    color: var(--purchase-text);
    background: rgba(248, 250, 252, .72);
    font-family: inherit;
    font-size: 13px;
    font-weight: 850;
    outline: none;
}

.purchase-search-box .form-control[b-yevcrjv60x] {
    padding: 0 44px 0 14px;
}

.purchase-filter-select[b-yevcrjv60x] {
    padding: 0 14px;
}

.purchase-search-box .form-control:focus[b-yevcrjv60x],
.purchase-filter-select:focus[b-yevcrjv60x] {
    border-color: rgba(124, 58, 237, .4);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, .08);
}

.purchase-table-card[b-yevcrjv60x] {
    padding: 26px;
}

.purchase-card-head[b-yevcrjv60x] {
    min-height: 72px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--purchase-soft-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.purchase-card-head h2[b-yevcrjv60x] {
    margin: 0;
    font-size: 25px;
    font-weight: 1000;
}

.purchase-card-head p[b-yevcrjv60x] {
    margin: 8px 0 0;
    color: var(--purchase-muted);
    font-size: 13px;
    font-weight: 800;
}

.purchase-badge[b-yevcrjv60x] {
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #ddd6fe;
    border-radius: 999px;
    color: #6d28d9;
    background: #f3e8ff;
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 1000;
    white-space: nowrap;
}

.purchase-empty-modern[b-yevcrjv60x] {
    min-height: 230px;
    border: 1px dashed #cbd5e1;
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% 0%, rgba(124, 58, 237, .08), transparent 220px),
        linear-gradient(180deg, #fff, #f8fafc);
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    text-align: center;
}

.purchase-empty-visual[b-yevcrjv60x] {
    width: 74px;
    height: 74px;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: #f1f5f9;
    display: grid;
    place-items: center;
    font-size: 34px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .06);
}

.purchase-empty-modern strong[b-yevcrjv60x] {
    font-size: 16px;
    font-weight: 1000;
}

.purchase-empty-modern span[b-yevcrjv60x] {
    color: var(--purchase-muted);
    font-size: 13px;
    font-weight: 850;
}

.purchase-table-wrap[b-yevcrjv60x] {
    overflow: auto;
    border: 1px solid var(--purchase-soft-border);
    border-radius: 24px;
    background: #fff;
}

.purchase-table[b-yevcrjv60x] {
    width: 100%;
    min-width: 1280px;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.purchase-table th[b-yevcrjv60x] {
    position: sticky;
    top: 0;
    z-index: 4;
    padding: 16px 14px;
    border-bottom: 1px solid var(--purchase-soft-border);
    color: #475569;
    background: linear-gradient(180deg, #f8fafc, #eef2ff);
    text-align: right;
    font-size: 12px;
    font-weight: 1000;
    white-space: nowrap;
}

.purchase-table td[b-yevcrjv60x] {
    padding: 14px;
    border-bottom: 1px solid #edf2f7;
    color: var(--purchase-text);
    font-size: 12px;
    font-weight: 850;
    vertical-align: middle;
}

.purchase-table tbody tr:last-child td[b-yevcrjv60x] {
    border-bottom: 0;
}

.purchase-row:hover[b-yevcrjv60x] {
    background: #f8fbff;
}

.purchase-number-cell span[b-yevcrjv60x] {
    display: block;
    margin-bottom: 5px;
    color: var(--purchase-muted);
    font-size: 11px;
    font-weight: 900;
}

.purchase-number-cell strong[b-yevcrjv60x] {
    font-weight: 1000;
}

.purchase-date[b-yevcrjv60x],
.purchase-money[b-yevcrjv60x],
.purchase-final[b-yevcrjv60x] {
    white-space: nowrap;
}

.purchase-money[b-yevcrjv60x] {
    color: #334155;
    font-weight: 1000 !important;
}

.purchase-money.discount[b-yevcrjv60x] {
    color: #b45309;
}

.purchase-money.costs[b-yevcrjv60x] {
    color: var(--erp-accent, #7c3aed);
}

.purchase-final[b-yevcrjv60x] {
    color: #047857 !important;
    font-weight: 1000 !important;
}

.purchase-status[b-yevcrjv60x] {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 1000;
    white-space: nowrap;
}

.purchase-status i[b-yevcrjv60x] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.purchase-status.received[b-yevcrjv60x] {
    color: #047857;
    border: 1px solid #a7f3d0;
    background: #ecfdf5;
}

.purchase-status.pending[b-yevcrjv60x] {
    color: #b45309;
    border: 1px solid #fde68a;
    background: #fffbeb;
}

.purchase-actions[b-yevcrjv60x] {
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.purchase-table tfoot td[b-yevcrjv60x] {
    padding: 16px 14px;
    border-top: 1px solid var(--purchase-soft-border);
    border-bottom: 0;
    color: var(--purchase-text);
    background: #f8fafc;
    font-size: 12px;
    font-weight: 1000;
    white-space: nowrap;
}

.purchase-toast[b-yevcrjv60x] {
    position: fixed;
    left: 26px;
    bottom: 26px;
    z-index: 9999;
    width: min(420px, calc(100vw - 32px));
    min-height: 54px;
    padding: 13px 16px;
    border: 1px solid #a7f3d0;
    border-radius: 16px;
    color: #047857;
    background: #ecfdf5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 22px 60px rgba(15, 23, 42, .18);
}

.purchase-toast.error[b-yevcrjv60x] {
    color: #be123c;
    border-color: #fecdd3;
    background: #fff1f2;
}

.purchase-toast button[b-yevcrjv60x] {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    color: inherit;
    background: rgba(255,255,255,.7);
    font-size: 20px;
    font-weight: 1000;
    cursor: pointer;
}

@media (max-width: 1180px) {
    .purchase-stats-grid[b-yevcrjv60x] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .purchase-list-page[b-yevcrjv60x] {
        padding: 14px;
    }

    .purchase-list-hero[b-yevcrjv60x] {
        padding: 22px;
        flex-direction: column;
        align-items: stretch;
    }

    .purchase-hero-title-row[b-yevcrjv60x] {
        align-items: flex-start;
    }

    .purchase-stats-grid[b-yevcrjv60x],
    .purchase-filter-grid[b-yevcrjv60x] {
        grid-template-columns: 1fr;
    }

    .purchase-table-card[b-yevcrjv60x] {
        padding: 18px;
    }

    .purchase-card-head[b-yevcrjv60x] {
        align-items: stretch;
        flex-direction: column;
    }

    .purchase-actions[b-yevcrjv60x] {
        flex-wrap: wrap;
    }

    .purchase-toast[b-yevcrjv60x] {
        right: 16px;
        left: 16px;
        bottom: 16px;
        width: auto;
    }
}


.purchase-btn.small.edit[b-yevcrjv60x] {
    color: #1d4ed8;
    border-color: #bfdbfe;
    background: #eff6ff;
}


/* ===== Purchase delete dialog ===== */

.purchase-delete-backdrop[b-yevcrjv60x] {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(15, 23, 42, .62);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
}

.purchase-delete-dialog[b-yevcrjv60x] {
    width: min(560px, calc(100vw - 32px));
    padding: 28px;
    border: 1px solid rgba(219, 228, 240, .96);
    border-radius: 28px;
    color: #0f172a;
    background:
        radial-gradient(circle at 100% 0%, rgba(124, 58, 237, .08), transparent 220px),
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 32px 100px rgba(15, 23, 42, .32);
    direction: rtl;
    text-align: right;
    animation: purchase-delete-dialog-in-b-yevcrjv60x .18s ease-out;
}

.purchase-delete-dialog h3[b-yevcrjv60x] {
    margin: 0 0 10px;
    font-size: 25px;
    line-height: 1.35;
    font-weight: 1000;
    letter-spacing: -.4px;
}

.purchase-delete-dialog p[b-yevcrjv60x] {
    margin: 0 0 20px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.9;
    font-weight: 800;
}

.purchase-delete-reason[b-yevcrjv60x] {
    display: block;
    width: 100%;
    min-height: 128px;
    max-height: 280px;
    padding: 16px 18px;
    border: 1px solid #dbe4f0;
    border-radius: 18px;
    color: #0f172a;
    background: #ffffff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .95),
        0 8px 24px rgba(15, 23, 42, .035);
    font: inherit;
    font-size: 14px;
    line-height: 1.9;
    font-weight: 800;
    resize: vertical;
    outline: none;
    box-sizing: border-box;
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.purchase-delete-reason:hover[b-yevcrjv60x] {
    border-color: #cbd5e1;
}

.purchase-delete-reason:focus[b-yevcrjv60x] {
    border-color: var(--erp-accent, #8b5cf6);
    background: #ffffff;
    box-shadow:
        0 0 0 4px rgba(124, 58, 237, .11),
        0 12px 30px rgba(15, 23, 42, .05);
}

.purchase-delete-reason[b-yevcrjv60x]::placeholder {
    color: #94a3b8;
    opacity: 1;
    font-weight: 750;
}

.purchase-delete-error[b-yevcrjv60x] {
    margin-top: 14px;
    padding: 13px 15px;
    border: 1px solid #fecdd3;
    border-radius: 15px;
    color: #be123c;
    background: #fff1f2;
    font-size: 13px;
    line-height: 1.8;
    font-weight: 900;
}

.purchase-delete-actions[b-yevcrjv60x] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}

.purchase-delete-actions .purchase-btn[b-yevcrjv60x] {
    width: 100%;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid #dbe4f0;
    border-radius: 999px;
    color: #334155;
    background: #ffffff;
    font: inherit;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
    transition:
        transform .16s ease,
        box-shadow .16s ease,
        opacity .16s ease;
}

.purchase-delete-actions .purchase-btn:hover:not(:disabled)[b-yevcrjv60x] {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, .08);
}

.purchase-delete-actions .purchase-btn.danger[b-yevcrjv60x] {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(135deg, #e11d48, #be123c);
    box-shadow: 0 14px 30px rgba(225, 29, 72, .22);
}

.purchase-delete-actions .purchase-btn:disabled[b-yevcrjv60x] {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

@keyframes purchase-delete-dialog-in-b-yevcrjv60x {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 640px) {
    .purchase-delete-backdrop[b-yevcrjv60x] {
        align-items: end;
        padding: 12px;
    }

    .purchase-delete-dialog[b-yevcrjv60x] {
        width: 100%;
        padding: 22px 18px;
        border-radius: 24px;
    }

    .purchase-delete-actions[b-yevcrjv60x] {
        grid-template-columns: 1fr;
    }
}

.purchase-hero-actions[b-yevcrjv60x] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.purchase-btn.print[b-yevcrjv60x] {
    color: #295fbc;
    border-color: #bdd2f5;
    background: #edf4ff;
}

.purchase-print-header[b-yevcrjv60x] { display: none; }

@media print {
    @page { size: A4 landscape; margin: 7mm; }
    .no-print[b-yevcrjv60x],.purchase-card-head[b-yevcrjv60x],.purchase-actions[b-yevcrjv60x],button[b-yevcrjv60x],input[b-yevcrjv60x],select[b-yevcrjv60x],textarea[b-yevcrjv60x] { display:none!important; }
    .purchase-print-header[b-yevcrjv60x]{display:flex!important;align-items:flex-end;justify-content:space-between;gap:10mm;margin:0 0 3mm;padding:0 0 2.5mm;border-bottom:1.5px solid #000;background:#fff!important;color:#000!important}
    .purchase-print-header h1[b-yevcrjv60x]{margin:0 0 1mm;font-size:16pt;color:#000!important}.purchase-print-header strong[b-yevcrjv60x]{font-size:10pt}.purchase-print-header>div:last-child[b-yevcrjv60x]{display:grid;gap:1mm;text-align:left;font-size:8pt}
    #purchase-list-print[b-yevcrjv60x],.purchase-table-card[b-yevcrjv60x]{width:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#fff!important;color:#000!important;box-shadow:none!important;overflow:visible!important}
    .purchase-table-wrap[b-yevcrjv60x]{overflow:visible!important}.purchase-table[b-yevcrjv60x]{width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:collapse!important;background:#fff!important;color:#000!important;font-size:7pt!important}
    .purchase-table thead[b-yevcrjv60x]{display:table-header-group!important}.purchase-table tfoot[b-yevcrjv60x]{display:table-footer-group!important}.purchase-table tr[b-yevcrjv60x]{break-inside:avoid!important;page-break-inside:avoid!important}
    .purchase-table th[b-yevcrjv60x],.purchase-table td[b-yevcrjv60x]{padding:1.45mm 1mm!important;border:1px solid #666!important;background:#fff!important;color:#000!important;line-height:1.35!important;box-shadow:none!important}.purchase-table th[b-yevcrjv60x]{background:#eee!important;font-size:6.8pt!important}.purchase-table tbody tr:hover td[b-yevcrjv60x]{background:#fff!important}.purchase-number-cell span[b-yevcrjv60x],.purchase-number-cell strong[b-yevcrjv60x]{color:#000!important}.purchase-status[b-yevcrjv60x]{padding:1mm!important;border:1px solid #777!important;background:#fff!important;color:#000!important;font-size:6.5pt!important;white-space:normal!important}.purchase-status i[b-yevcrjv60x]{display:none!important}.purchase-money[b-yevcrjv60x],.purchase-final[b-yevcrjv60x]{direction:ltr!important;text-align:left!important;white-space:nowrap!important}
}

.purchase-filter-input[b-yevcrjv60x] {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #dbe4f0;
    border-radius: 14px;
    background: #fff;
    color: #0f172a;
    font: inherit;
    outline: none;
}

.purchase-filter-input:focus[b-yevcrjv60x] {
    border-color: var(--erp-accent, #7c3aed);
    box-shadow: 0 0 0 3px rgba(124,58,237,.10);
}

.purchase-filter-card .purchase-filter-grid[b-yevcrjv60x] {
    grid-template-columns: minmax(260px, 2fr) repeat(3, minmax(150px, 1fr));
}

@media (max-width: 1100px) {
    .purchase-filter-card .purchase-filter-grid[b-yevcrjv60x] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .purchase-filter-card .purchase-filter-grid[b-yevcrjv60x] { grid-template-columns: 1fr; }
}


.purchase-btn.pay[b-yevcrjv60x] { color:#047857; border-color:#a7f3d0; background:#ecfdf5; }
.purchase-btn.ledger[b-yevcrjv60x] { color:#6d28d9; border-color:#ddd6fe; background:#f5f3ff; }
.purchase-payment-dialog[b-yevcrjv60x] { width:min(760px,calc(100vw - 32px)); max-height:calc(100vh - 48px); overflow:auto; padding:24px; border:1px solid #dbe4f0; border-radius:24px; background:#fff; box-shadow:0 30px 90px rgba(15,23,42,.28); }
.purchase-payment-head[b-yevcrjv60x] { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding-bottom:18px; border-bottom:1px solid #e2e8f0; }
.purchase-payment-head small[b-yevcrjv60x] { color:var(--erp-accent, #7c3aed); font-weight:900; }
.purchase-payment-head h3[b-yevcrjv60x] { margin:5px 0 0; font-size:20px; }
.purchase-payment-head button[b-yevcrjv60x] { width:40px; height:40px; border:0; border-radius:12px; background:#f1f5f9; font-size:24px; cursor:pointer; }
.purchase-payment-summary[b-yevcrjv60x] { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:18px 0; }
.purchase-payment-summary span[b-yevcrjv60x] { padding:13px; border:1px solid #e2e8f0; border-radius:14px; background:#f8fafc; color:#64748b; font-size:12px; font-weight:800; }
.purchase-payment-summary b[b-yevcrjv60x] { display:block; margin-top:5px; color:#0f172a; font-size:16px; }
.purchase-payment-grid[b-yevcrjv60x] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.purchase-payment-grid label[b-yevcrjv60x] { display:grid; gap:7px; color:#334155; font-size:12px; font-weight:900; }
.purchase-payment-grid label.wide[b-yevcrjv60x] { grid-column:1/-1; }
.purchase-payment-grid input[b-yevcrjv60x],.purchase-payment-grid select[b-yevcrjv60x],.purchase-payment-grid textarea[b-yevcrjv60x] { width:100%; min-height:46px; padding:10px 12px; border:1px solid #dbe4f0; border-radius:12px; background:#fff; font:inherit; outline:none; }
.purchase-payment-grid textarea[b-yevcrjv60x] { resize:vertical; }
.purchase-payment-actions[b-yevcrjv60x] { display:flex; justify-content:flex-end; gap:10px; margin-top:20px; padding-top:18px; border-top:1px solid #e2e8f0; }
.purchase-dialog-error[b-yevcrjv60x] { margin:12px 0; padding:12px 14px; border:1px solid #fecaca; border-radius:12px; color:#991b1b; background:#fef2f2; font-weight:800; }
@media(max-width:700px){.purchase-payment-summary[b-yevcrjv60x],.purchase-payment-grid[b-yevcrjv60x]{grid-template-columns:1fr}.purchase-payment-grid label.wide[b-yevcrjv60x]{grid-column:auto}}
/* /Components/Pages/PurchaseAdditionalCostsPanel.razor.rz.scp.css */
.purchase-costs[b-sqtwbwonmc]{margin-top:24px;padding:22px;border:1px solid var(--border-color,#e2e8f0);border-radius:18px;background:var(--card-bg,#fff);box-shadow:0 8px 30px rgba(15,23,42,.05)}
.purchase-costs__head[b-sqtwbwonmc]{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.purchase-costs__head h2[b-sqtwbwonmc]{margin:4px 0 6px;font-size:1.2rem}.purchase-costs__head p[b-sqtwbwonmc]{margin:0;color:var(--text-muted,#64748b);max-width:760px;line-height:1.8}.purchase-costs__eyebrow[b-sqtwbwonmc]{font-size:.78rem;color:var(--primary,#2563eb);font-weight:700}
.purchase-costs__btn[b-sqtwbwonmc],.purchase-costs__mini-btn[b-sqtwbwonmc]{border:1px solid var(--border-color,#cbd5e1);border-radius:10px;background:var(--card-bg,#fff);color:inherit;padding:9px 14px;cursor:pointer;font:inherit;white-space:nowrap}.purchase-costs__btn.primary[b-sqtwbwonmc]{background:var(--primary,#2563eb);border-color:var(--primary,#2563eb);color:#fff}.purchase-costs__btn:disabled[b-sqtwbwonmc]{opacity:.55;cursor:not-allowed}.purchase-costs__mini-btn[b-sqtwbwonmc]{padding:8px 10px}
.purchase-costs__message[b-sqtwbwonmc]{margin:0 0 16px;padding:11px 14px;border-radius:10px}.purchase-costs__message.success[b-sqtwbwonmc]{background:rgba(22,163,74,.1);color:#15803d}.purchase-costs__message.error[b-sqtwbwonmc]{background:rgba(220,38,38,.1);color:#b91c1c}
.purchase-costs__form-card[b-sqtwbwonmc]{padding:18px;margin-bottom:20px;border:1px solid var(--border-color,#e2e8f0);border-radius:14px;background:var(--surface-muted,#f8fafc)}.purchase-costs__form-grid[b-sqtwbwonmc]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.purchase-costs__form-grid label[b-sqtwbwonmc],.purchase-costs__payment-form label[b-sqtwbwonmc]{display:flex;flex-direction:column;gap:6px;font-size:.86rem}.purchase-costs__form-grid label>span[b-sqtwbwonmc],.purchase-costs__payment-form label>span[b-sqtwbwonmc]{font-weight:600;color:var(--text-muted,#475569)}.purchase-costs__form-grid input[b-sqtwbwonmc],.purchase-costs__form-grid select[b-sqtwbwonmc],.purchase-costs__payment-form input[b-sqtwbwonmc],.purchase-costs__payment-form select[b-sqtwbwonmc],.purchase-costs__inline-form input[b-sqtwbwonmc]{width:100%;box-sizing:border-box;border:1px solid var(--border-color,#cbd5e1);border-radius:9px;background:var(--card-bg,#fff);color:inherit;padding:9px 11px;font:inherit}.purchase-costs__form-grid .wide[b-sqtwbwonmc]{grid-column:1/-1}.purchase-costs__check[b-sqtwbwonmc]{flex-direction:row!important;align-items:center}.purchase-costs__check input[b-sqtwbwonmc]{width:auto}.purchase-costs__provider-row[b-sqtwbwonmc]{display:flex;gap:8px}.purchase-costs__provider-row select[b-sqtwbwonmc]{flex:1}.purchase-costs__inline-form[b-sqtwbwonmc]{display:grid;grid-template-columns:1.2fr 1fr 1fr auto;align-items:end;gap:10px;margin-top:14px;padding:14px;border:1px dashed var(--border-color,#cbd5e1);border-radius:12px}.purchase-costs__inline-form strong[b-sqtwbwonmc]{align-self:center}.purchase-costs__form-actions[b-sqtwbwonmc]{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;padding-top:14px;border-top:1px solid var(--border-color,#e2e8f0)}
.purchase-costs__allocation-editor[b-sqtwbwonmc]{margin-top:16px;padding:15px;border:1px solid var(--border-color,#dbe3ee);border-radius:12px;background:var(--card-bg,#fff)}.purchase-costs__allocation-head[b-sqtwbwonmc]{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:12px}.purchase-costs__allocation-head>div[b-sqtwbwonmc]{display:flex;flex-direction:column;gap:4px}.purchase-costs__allocation-head>div span[b-sqtwbwonmc]{font-size:.8rem;color:var(--text-muted,#64748b)}.purchase-costs__allocation-head label[b-sqtwbwonmc]{display:flex;flex-direction:column;gap:5px;min-width:220px;font-size:.82rem}.purchase-costs__allocation-head label>span[b-sqtwbwonmc]{font-weight:600;color:var(--text-muted,#475569)}.purchase-costs__allocation-head select[b-sqtwbwonmc],.purchase-costs__manual-amount input[b-sqtwbwonmc]{width:100%;box-sizing:border-box;border:1px solid var(--border-color,#cbd5e1);border-radius:9px;background:var(--card-bg,#fff);color:inherit;padding:8px 10px;font:inherit}.purchase-costs__allocation-list[b-sqtwbwonmc]{display:flex;flex-direction:column;gap:7px;max-height:310px;overflow:auto;padding-inline-end:3px}.purchase-costs__allocation-row[b-sqtwbwonmc]{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:12px;align-items:center;padding:10px 12px;border:1px solid var(--border-color,#e2e8f0);border-radius:10px;background:var(--surface-muted,#f8fafc)}.purchase-costs__allocation-row.current[b-sqtwbwonmc]{border-color:rgba(37,99,235,.35);background:rgba(37,99,235,.05)}.purchase-costs__allocation-choice[b-sqtwbwonmc]{display:flex;align-items:center;gap:10px;cursor:pointer}.purchase-costs__allocation-choice input[b-sqtwbwonmc]{width:auto}.purchase-costs__allocation-choice>span[b-sqtwbwonmc]{display:flex;flex-direction:column;gap:3px}.purchase-costs__allocation-choice small[b-sqtwbwonmc]{color:var(--text-muted,#64748b);line-height:1.5}.purchase-costs__manual-amount[b-sqtwbwonmc]{display:flex;flex-direction:column;gap:4px;font-size:.76rem;color:var(--text-muted,#64748b)}.purchase-costs__allocation-state[b-sqtwbwonmc]{padding:18px;text-align:center;color:var(--text-muted,#64748b)}.purchase-costs__allocation-state.error[b-sqtwbwonmc]{color:#b91c1c}.purchase-costs__allocation-footer[b-sqtwbwonmc]{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:12px;padding-top:11px;border-top:1px solid var(--border-color,#e2e8f0);font-size:.82rem;color:var(--text-muted,#64748b)}.purchase-costs__allocation-footer .ok[b-sqtwbwonmc]{color:#15803d}.purchase-costs__allocation-footer .warning[b-sqtwbwonmc]{color:#b45309}
.purchase-costs__state[b-sqtwbwonmc],.purchase-costs__empty[b-sqtwbwonmc]{padding:24px;text-align:center;color:var(--text-muted,#64748b)}.purchase-costs__empty[b-sqtwbwonmc]{display:flex;flex-direction:column;gap:6px;border:1px dashed var(--border-color,#cbd5e1);border-radius:12px}.purchase-costs__list[b-sqtwbwonmc]{display:flex;flex-direction:column;gap:12px}.purchase-costs__item[b-sqtwbwonmc]{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:18px;align-items:center;padding:16px;border:1px solid var(--border-color,#e2e8f0);border-radius:14px}.purchase-costs__item-title[b-sqtwbwonmc]{display:flex;align-items:center;gap:10px;margin-bottom:8px}.purchase-costs__status[b-sqtwbwonmc]{padding:3px 8px;border-radius:999px;font-size:.74rem;font-weight:700}.purchase-costs__status.paid[b-sqtwbwonmc]{background:rgba(22,163,74,.12);color:#15803d}.purchase-costs__status.partial[b-sqtwbwonmc]{background:rgba(245,158,11,.14);color:#b45309}.purchase-costs__status.cancelled[b-sqtwbwonmc]{background:rgba(100,116,139,.15);color:#475569}.purchase-costs__status.confirmed[b-sqtwbwonmc]{background:rgba(37,99,235,.12);color:#1d4ed8}.purchase-costs__meta[b-sqtwbwonmc]{display:flex;flex-wrap:wrap;gap:6px 16px;color:var(--text-muted,#64748b);font-size:.82rem}.purchase-costs__item-main p[b-sqtwbwonmc]{margin:8px 0 0;color:var(--text-muted,#64748b)}.purchase-costs__amounts[b-sqtwbwonmc]{display:grid;grid-template-columns:repeat(3,auto);gap:10px}.purchase-costs__amounts div[b-sqtwbwonmc]{display:flex;flex-direction:column;gap:3px;min-width:92px;padding:8px 10px;border-radius:9px;background:var(--surface-muted,#f8fafc)}.purchase-costs__amounts span[b-sqtwbwonmc]{font-size:.72rem;color:var(--text-muted,#64748b)}.purchase-costs__amounts .remaining b[b-sqtwbwonmc]{color:#b45309}.purchase-costs__allocation-summary[b-sqtwbwonmc]{grid-column:1/-1;padding:10px 12px;border-radius:10px;background:var(--surface-muted,#f8fafc);border:1px dashed var(--border-color,#cbd5e1)}.purchase-costs__allocation-summary-head[b-sqtwbwonmc]{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px;font-size:.82rem}.purchase-costs__allocation-summary-head span[b-sqtwbwonmc]{color:var(--text-muted,#64748b)}.purchase-costs__allocation-chips[b-sqtwbwonmc]{display:flex;flex-wrap:wrap;gap:7px}.purchase-costs__allocation-chips>span[b-sqtwbwonmc]{padding:5px 8px;border-radius:8px;background:var(--card-bg,#fff);border:1px solid var(--border-color,#e2e8f0);font-size:.78rem}.purchase-costs__allocation-chips>span.current[b-sqtwbwonmc]{border-color:rgba(37,99,235,.35);background:rgba(37,99,235,.06)}.purchase-costs__payment-form[b-sqtwbwonmc]{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;align-items:end;gap:10px;padding-top:14px;border-top:1px solid var(--border-color,#e2e8f0)}
@media(max-width:900px){.purchase-costs__head[b-sqtwbwonmc]{flex-direction:column}.purchase-costs__form-grid[b-sqtwbwonmc]{grid-template-columns:1fr}.purchase-costs__form-grid .wide[b-sqtwbwonmc]{grid-column:auto}.purchase-costs__inline-form[b-sqtwbwonmc]{grid-template-columns:1fr}.purchase-costs__allocation-head[b-sqtwbwonmc]{align-items:stretch;flex-direction:column}.purchase-costs__allocation-head label[b-sqtwbwonmc]{min-width:0}.purchase-costs__allocation-row[b-sqtwbwonmc]{grid-template-columns:1fr}.purchase-costs__item[b-sqtwbwonmc]{grid-template-columns:1fr}.purchase-costs__amounts[b-sqtwbwonmc]{grid-template-columns:repeat(3,1fr)}.purchase-costs__payment-form[b-sqtwbwonmc]{grid-template-columns:1fr 1fr}.purchase-costs__payment-form .purchase-costs__btn[b-sqtwbwonmc]{grid-column:1/-1}.purchase-costs__form-actions[b-sqtwbwonmc]{align-items:stretch;flex-direction:column}}
@media(max-width:560px){.purchase-costs[b-sqtwbwonmc]{padding:14px}.purchase-costs__amounts[b-sqtwbwonmc]{grid-template-columns:1fr}.purchase-costs__payment-form[b-sqtwbwonmc]{grid-template-columns:1fr}.purchase-costs__provider-row[b-sqtwbwonmc]{flex-direction:column}.purchase-costs__allocation-footer[b-sqtwbwonmc],.purchase-costs__allocation-summary-head[b-sqtwbwonmc]{flex-direction:column;align-items:flex-start}}
/* /Components/Pages/PurchaseDetails.razor.rz.scp.css */
.purchase-details-page[b-bx1uffl1bz] {
    min-height: 100vh;
    padding: 28px;
    color: #0f172a;
    background:
        radial-gradient(circle at 14% 0%, rgba(124, 58, 237, .08), transparent 320px),
        linear-gradient(180deg, #eef4fb 0%, #f8fbff 52%, #eef4fb 100%);
}

.purchase-details-page *[b-bx1uffl1bz],
.purchase-details-page *[b-bx1uffl1bz]::before,
.purchase-details-page *[b-bx1uffl1bz]::after {
    box-sizing: border-box;
}

.purchase-details-toolbar[b-bx1uffl1bz] {
    width: min(1080px, 100%);
    margin: 0 auto 18px;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.purchase-details-btn[b-bx1uffl1bz] {
    min-height: 44px;
    padding: 0 19px;
    border: 1px solid #dbe4f0;
    border-radius: 14px;
    color: #334155;
    background: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 1000;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
    transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.purchase-details-btn:hover:not(:disabled)[b-bx1uffl1bz] {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, .1);
}

.purchase-details-btn:disabled[b-bx1uffl1bz] {
    opacity: .55;
    cursor: not-allowed;
}

.purchase-details-btn.primary[b-bx1uffl1bz] {
    color: var(--erp-on-brand, #ffffff);
    border: 0;
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
}

.purchase-details-btn.receive[b-bx1uffl1bz] {
    color: #fff;
    border: 0;
    background: linear-gradient(135deg, #059669, #0ea5e9);
}

.purchase-details-state[b-bx1uffl1bz] {
    width: min(1080px, 100%);
    margin: 0 auto;
    padding: 24px;
    border: 1px solid #dbe4f0;
    border-radius: 22px;
    background: #fff;
    display: grid;
    gap: 10px;
    font-weight: 900;
}

.purchase-details-state.error[b-bx1uffl1bz] {
    color: #be123c;
    border-color: #fecdd3;
    background: #fff1f2;
}

.purchase-details-state-actions[b-bx1uffl1bz] {
    margin-top: 8px;
    display: flex;
    gap: 10px;
}

.purchase-details-paper[b-bx1uffl1bz] {
    position: relative;
    width: min(1080px, 100%);
    margin: 0 auto;
    padding: 34px 42px 26px;
    border: 1px solid #dbe4f0;
    border-radius: 30px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .12);
}

.purchase-details-brand-strip[b-bx1uffl1bz] {
    position: absolute;
    inset: 0 0 auto;
    height: 8px;
    background: linear-gradient(90deg, var(--erp-primary, #2563eb), var(--erp-primary, #4f46e5), var(--erp-accent, #7c3aed));
}

.purchase-details-header[b-bx1uffl1bz] {
    padding-bottom: 26px;
    border-bottom: 1px solid #dbe4f0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.purchase-details-title-wrap[b-bx1uffl1bz] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.purchase-details-logo[b-bx1uffl1bz] {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    border-radius: 22px;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    display: grid;
    place-items: center;
    font-size: 22px;
    font-weight: 1000;
    box-shadow: 0 14px 30px rgba(37, 99, 235, .24);
}

.purchase-details-eyebrow[b-bx1uffl1bz] {
    color: var(--erp-primary, #2563eb);
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.purchase-details-header h1[b-bx1uffl1bz] {
    margin: 5px 0 0;
    font-size: 36px;
    line-height: 1.25;
    font-weight: 1000;
    letter-spacing: -.7px;
}

.purchase-details-header p[b-bx1uffl1bz] {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.purchase-details-meta[b-bx1uffl1bz] {
    min-width: 270px;
    padding: 16px;
    border: 1px solid #dbe4f0;
    border-radius: 18px;
    background: linear-gradient(180deg, #fbfdff, #f8fafc);
    display: grid;
    gap: 12px;
}

.purchase-details-meta div[b-bx1uffl1bz] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.purchase-details-meta span[b-bx1uffl1bz] {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

.purchase-details-meta b[b-bx1uffl1bz] {
    font-size: 12px;
    font-weight: 1000;
}

.purchase-details-status[b-bx1uffl1bz] {
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
}

.purchase-details-status.received[b-bx1uffl1bz],
.received[b-bx1uffl1bz] {
    color: #047857 !important;
}

.purchase-details-status.received[b-bx1uffl1bz] {
    border: 1px solid #a7f3d0;
    background: #ecfdf5;
}

.purchase-details-status.pending[b-bx1uffl1bz],
.pending[b-bx1uffl1bz] {
    color: #b45309 !important;
}

.purchase-details-status.pending[b-bx1uffl1bz] {
    border: 1px solid #fde68a;
    background: #fffbeb;
}

.purchase-details-section[b-bx1uffl1bz] {
    margin-top: 26px;
}

.purchase-details-section-head[b-bx1uffl1bz] {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.purchase-details-section-head span[b-bx1uffl1bz] {
    font-size: 15px;
    font-weight: 1000;
}

.purchase-details-section-head b[b-bx1uffl1bz] {
    padding: 6px 11px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    color: #1d4ed8;
    background: #eff6ff;
    font-size: 11px;
    font-weight: 1000;
}

.purchase-details-info-grid[b-bx1uffl1bz] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.purchase-details-info-card[b-bx1uffl1bz] {
    min-height: 84px;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 17px;
    background: linear-gradient(180deg, #fbfdff, #f8fafc);
    display: grid;
    align-content: center;
    gap: 8px;
}

.purchase-details-info-card span[b-bx1uffl1bz] {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
}

.purchase-details-info-card strong[b-bx1uffl1bz] {
    font-size: 13px;
    font-weight: 1000;
    overflow-wrap: anywhere;
}

.purchase-details-table-wrap[b-bx1uffl1bz] {
    overflow: hidden;
    border: 1px solid #dbe4f0;
    border-radius: 18px;
}

.purchase-details-table[b-bx1uffl1bz] {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.purchase-details-table th[b-bx1uffl1bz],
.purchase-details-table td[b-bx1uffl1bz] {
    padding: 13px 12px;
    border-bottom: 1px solid #e8eef6;
    text-align: right;
    font-size: 12px;
    font-weight: 850;
}

.purchase-details-table th[b-bx1uffl1bz] {
    color: #475569;
    background: linear-gradient(180deg, #f8fafc, #eef2ff);
    font-weight: 1000;
    white-space: nowrap;
}

.purchase-details-table tbody tr:nth-child(even)[b-bx1uffl1bz] {
    background: #fbfdff;
}

.purchase-details-table tbody tr:last-child td[b-bx1uffl1bz] {
    border-bottom: 0;
}

.purchase-details-product[b-bx1uffl1bz] {
    min-width: 260px;
    font-weight: 1000 !important;
}

.purchase-details-line-total[b-bx1uffl1bz] {
    color: #047857;
    font-weight: 1000 !important;
}

.purchase-details-summary-layout[b-bx1uffl1bz] {
    margin-top: 26px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 24px;
    align-items: start;
}

.purchase-details-note[b-bx1uffl1bz] {
    min-height: 180px;
    padding: 18px;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    background: #fbfdff;
}

.purchase-details-note span[b-bx1uffl1bz] {
    color: #64748b;
    font-size: 12px;
    font-weight: 1000;
}

.purchase-details-note p[b-bx1uffl1bz] {
    margin: 12px 0 0;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    line-height: 2;
}

.purchase-details-total-box[b-bx1uffl1bz] {
    display: grid;
    gap: 3px;
}

.purchase-details-total-box div[b-bx1uffl1bz] {
    min-height: 46px;
    padding: 11px 14px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.purchase-details-total-box span[b-bx1uffl1bz] {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

.purchase-details-total-box b[b-bx1uffl1bz] {
    font-size: 13px;
    font-weight: 1000;
}

.purchase-details-total-box .final[b-bx1uffl1bz] {
    min-height: 70px;
    margin-top: 8px;
    padding: 16px 18px;
    border: 0;
    border-radius: 18px;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    box-shadow: 0 16px 32px rgba(37, 99, 235, .22);
}

.purchase-details-total-box .final span[b-bx1uffl1bz] {
    color: #dbeafe;
    font-size: 13px;
}

.purchase-details-total-box .final b[b-bx1uffl1bz] {
    font-size: 22px;
}

.purchase-details-footer[b-bx1uffl1bz] {
    margin-top: 70px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.purchase-details-footer div[b-bx1uffl1bz] {
    min-height: 94px;
    padding-top: 14px;
    border-top: 1px solid #94a3b8;
    color: #64748b;
    text-align: center;
    font-size: 12px;
    font-weight: 900;
}

.purchase-details-toast[b-bx1uffl1bz] {
    position: fixed;
    left: 26px;
    bottom: 26px;
    z-index: 9999;
    width: min(420px, calc(100vw - 32px));
    min-height: 54px;
    padding: 13px 16px;
    border: 1px solid #a7f3d0;
    border-radius: 16px;
    color: #047857;
    background: #ecfdf5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 22px 60px rgba(15, 23, 42, .18);
}

.purchase-details-toast.error[b-bx1uffl1bz] {
    color: #be123c;
    border-color: #fecdd3;
    background: #fff1f2;
}

.purchase-details-toast button[b-bx1uffl1bz] {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    color: inherit;
    background: rgba(255,255,255,.7);
    font-size: 20px;
    font-weight: 1000;
    cursor: pointer;
}

@media (max-width: 850px) {
    .purchase-details-paper[b-bx1uffl1bz] {
        padding: 28px 22px 20px;
    }

    .purchase-details-header[b-bx1uffl1bz] {
        flex-direction: column;
    }

    .purchase-details-meta[b-bx1uffl1bz] {
        width: 100%;
    }

    .purchase-details-info-grid[b-bx1uffl1bz] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .purchase-details-summary-layout[b-bx1uffl1bz] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .purchase-details-page[b-bx1uffl1bz] {
        padding: 14px;
    }

    .purchase-details-title-wrap[b-bx1uffl1bz] {
        align-items: flex-start;
    }

    .purchase-details-info-grid[b-bx1uffl1bz] {
        grid-template-columns: 1fr;
    }
}

@media print {
    @page {
        size: A4 portrait;
        margin: 10mm;
    }

    body *[b-bx1uffl1bz] {
        visibility: hidden !important;
    }

    .purchase-details-paper[b-bx1uffl1bz],
    .purchase-details-paper *[b-bx1uffl1bz] {
        visibility: visible !important;
    }

    .purchase-details-paper[b-bx1uffl1bz] {
        position: absolute;
        inset: 0;
        width: 100%;
        max-width: none;
        min-height: auto;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
    }

    .purchase-details-brand-strip[b-bx1uffl1bz],
    .no-print[b-bx1uffl1bz] {
        display: none !important;
    }

    .purchase-details-page[b-bx1uffl1bz] {
        min-height: 0;
        padding: 0;
        background: #fff;
    }

    .purchase-details-table-wrap[b-bx1uffl1bz] {
        overflow: visible;
    }

    .purchase-details-table thead[b-bx1uffl1bz] {
        display: table-header-group;
    }

    .purchase-details-table tr[b-bx1uffl1bz] {
        page-break-inside: avoid;
    }

    .purchase-details-info-grid[b-bx1uffl1bz],
    .purchase-details-summary-layout[b-bx1uffl1bz],
    .purchase-details-footer[b-bx1uffl1bz] {
        break-inside: avoid;
    }

    .purchase-details-table th[b-bx1uffl1bz],
    .purchase-details-table td[b-bx1uffl1bz] {
        padding: 8px 7px;
        font-size: 10px;
    }

    .purchase-details-logo[b-bx1uffl1bz] {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
        border-radius: 16px;
        box-shadow: none;
    }

    .purchase-details-header h1[b-bx1uffl1bz] {
        font-size: 28px;
    }

    .purchase-details-total-box .final[b-bx1uffl1bz] {
        box-shadow: none;
    }
}
/* /Components/Pages/PurchaseNew.razor.rz.scp.css */
.purchase-pro-page[b-d5wna9jnyc] {
    --purchase-bg: #eef4fb;
    --purchase-card: #ffffff;
    --purchase-text: #0f172a;
    --purchase-muted: #64748b;
    --purchase-border: #dbe4f0;
    --purchase-soft-border: #e2e8f0;
    --purchase-blue: var(--erp-primary, #2563eb);
    --purchase-purple: var(--erp-accent, #7c3aed);
    --purchase-green: #059669;
    --purchase-red: #e11d48;

    min-height: 100vh;
    padding: 24px;
    color: var(--purchase-text);
    background:
        radial-gradient(circle at 18% 0%, rgba(124, 58, 237, .08), transparent 340px),
        linear-gradient(180deg, #eef4fb 0%, #f8fbff 48%, #eef4fb 100%);
}

.purchase-pro-page[b-d5wna9jnyc],
.purchase-pro-page *[b-d5wna9jnyc],
.purchase-pro-page *[b-d5wna9jnyc]::before,
.purchase-pro-page *[b-d5wna9jnyc]::after {
    box-sizing: border-box;
}

.purchase-pro-hero[b-d5wna9jnyc] {
    position: relative;
    min-height: 150px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 26px 28px;
    margin-bottom: 22px;
    border: 1px solid rgba(191, 219, 254, .92);
    border-radius: 30px;
    overflow: hidden;
    background:
        radial-gradient(circle at 0% 0%, rgba(124, 58, 237, .12), transparent 260px),
        linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(239, 246, 255, .94));
    box-shadow: 0 24px 70px rgba(15, 23, 42, .075);
}

.purchase-pro-hero[b-d5wna9jnyc]::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent);
    transform: translateX(-65%);
    opacity: .55;
}

.purchase-hero-copy[b-d5wna9jnyc],
.purchase-hero-actions[b-d5wna9jnyc] {
    position: relative;
    z-index: 1;
}

.purchase-hero-copy[b-d5wna9jnyc] {
    display: grid;
    gap: 20px;
}

.purchase-breadcrumb[b-d5wna9jnyc] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--purchase-muted);
    font-size: 12px;
    font-weight: 1000;
}

.purchase-breadcrumb span[b-d5wna9jnyc],
.purchase-breadcrumb b[b-d5wna9jnyc] {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 13px;
    border: 1px solid rgba(226, 232, 240, .95);
    border-radius: 999px;
    background: rgba(241, 245, 249, .92);
}

.purchase-breadcrumb b[b-d5wna9jnyc] {
    color: var(--purchase-blue);
    border-color: #bfdbfe;
    background: #dbeafe;
}

.purchase-breadcrumb i[b-d5wna9jnyc] {
    width: 6px;
    height: 6px;
    border-top: 2px solid #94a3b8;
    border-left: 2px solid #94a3b8;
    transform: rotate(-45deg);
}

.purchase-hero-title-row[b-d5wna9jnyc],
.purchase-title-with-icon[b-d5wna9jnyc],
.purchase-summary-head[b-d5wna9jnyc],
.purchase-cost-head[b-d5wna9jnyc],
.purchase-product-cell-main[b-d5wna9jnyc],
.purchase-hero-actions[b-d5wna9jnyc] {
    display: flex;
    align-items: center;
}

.purchase-hero-title-row[b-d5wna9jnyc] {
    gap: 16px;
}

.purchase-title-with-icon[b-d5wna9jnyc],
.purchase-summary-head[b-d5wna9jnyc],
.purchase-cost-head[b-d5wna9jnyc],
.purchase-product-cell-main[b-d5wna9jnyc] {
    gap: 14px;
}

.purchase-hero-icon[b-d5wna9jnyc],
.purchase-section-icon[b-d5wna9jnyc],
.purchase-summary-icon[b-d5wna9jnyc] {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #6d28d9;
    border: 1px solid rgba(221, 214, 254, .9);
    background: linear-gradient(135deg, #eef2ff, #f3e8ff);
    box-shadow: 0 14px 32px rgba(124, 58, 237, .13);
}

.purchase-hero-icon[b-d5wna9jnyc] {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    font-size: 26px;
}

.purchase-section-icon[b-d5wna9jnyc],
.purchase-summary-icon[b-d5wna9jnyc] {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    font-size: 20px;
}

.purchase-section-icon.small[b-d5wna9jnyc] {
    width: 40px;
    height: 40px;
    font-size: 18px;
}

.purchase-eyebrow[b-d5wna9jnyc] {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    margin-bottom: 10px;
    border-radius: 999px;
    color: var(--purchase-blue);
    background: #e0edff;
    font-weight: 900;
}

.purchase-pro-hero h1[b-d5wna9jnyc] {
    margin: 0;
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: -.8px;
    font-weight: 1000;
}

.purchase-pro-hero p[b-d5wna9jnyc] {
    margin: 12px 0 0;
    color: var(--purchase-muted);
    font-size: 14px;
    font-weight: 700;
}

.erp-btn[b-d5wna9jnyc] {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease;
}

.erp-btn:hover:not(:disabled)[b-d5wna9jnyc] {
    transform: translateY(-1px);
}

.erp-btn:disabled[b-d5wna9jnyc] {
    opacity: .55;
    cursor: not-allowed;
}

.erp-btn-primary[b-d5wna9jnyc] {
    color: #fff;
    background: linear-gradient(135deg, var(--purchase-blue), var(--purchase-purple));
    box-shadow: 0 16px 34px rgba(37, 99, 235, .26);
}

.erp-btn-print[b-d5wna9jnyc] {
    color: #334155;
    border: 1px solid var(--purchase-border);
    background: rgba(255,255,255,.92);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
}

.erp-btn-refresh[b-d5wna9jnyc] {
    color: #047857;
    border: 1px solid #a7f3d0;
    background: #ecfdf5;
}

.purchase-state[b-d5wna9jnyc] {
    padding: 15px 18px;
    margin-bottom: 18px;
    border-radius: 18px;
    font-weight: 900;
}

.purchase-loading[b-d5wna9jnyc] {
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
}

.purchase-error[b-d5wna9jnyc] {
    color: #be123c;
    border: 1px solid #fecdd3;
    background: #fff1f2;
}

.purchase-shortcuts[b-d5wna9jnyc] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 22px;
}

.purchase-shortcuts button[b-d5wna9jnyc] {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--purchase-border);
    border-radius: 999px;
    color: #334155;
    background: rgba(255,255,255,.96);
    box-shadow: 0 10px 24px rgba(15,23,42,.045);
    font: inherit;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
}

.purchase-pro-grid[b-d5wna9jnyc] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    grid-template-areas: "main summary";
    gap: 22px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    direction: rtl;
}

.purchase-main[b-d5wna9jnyc] {
    grid-area: main;
    display: grid;
    gap: 22px;
    min-width: 0;
    width: 100%;
}

.purchase-summary[b-d5wna9jnyc] {
    grid-area: summary;
    width: 360px;
    max-width: 360px;
    min-width: 0;
    position: sticky;
    top: 18px;
    z-index: 2;
}

.purchase-card[b-d5wna9jnyc] {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 26px;
    border: 1px solid rgba(219, 228, 240, .95);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(255,255,255,.94));
    box-shadow: 0 22px 64px rgba(15, 23, 42, .07);
    overflow: hidden;
}

.purchase-card-title[b-d5wna9jnyc] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
}

.purchase-card-title-modern[b-d5wna9jnyc] {
    min-height: 72px;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--purchase-soft-border);
}

.purchase-card-title h3[b-d5wna9jnyc],
.purchase-summary h3[b-d5wna9jnyc],
.purchase-cost-head h4[b-d5wna9jnyc] {
    margin: 0;
    font-weight: 1000;
    letter-spacing: -.4px;
}

.purchase-card-title h3[b-d5wna9jnyc],
.purchase-summary h3[b-d5wna9jnyc] {
    font-size: 24px;
}

.purchase-cost-head h4[b-d5wna9jnyc] {
    font-size: 18px;
}

.purchase-card-title p[b-d5wna9jnyc],
.purchase-cost-head p[b-d5wna9jnyc] {
    margin: 8px 0 0;
    color: var(--purchase-muted);
    font-weight: 700;
}

.purchase-badge[b-d5wna9jnyc],
.purchase-total-chip[b-d5wna9jnyc] {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 1000;
    white-space: nowrap;
}

.purchase-badge[b-d5wna9jnyc] {
    color: var(--purchase-blue);
    border: 1px solid #dbeafe;
    background: #f1f5ff;
}

.purchase-total-chip[b-d5wna9jnyc] {
    color: #6d28d9;
    border: 1px solid #ddd6fe;
    background: #f3e8ff;
}

.purchase-form-grid[b-d5wna9jnyc],
.purchase-cost-grid[b-d5wna9jnyc] {
    display: grid;
    gap: 18px;
    width: 100%;
}

.purchase-form-grid[b-d5wna9jnyc] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
}

.purchase-cost-grid[b-d5wna9jnyc] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.purchase-field[b-d5wna9jnyc],
.purchase-form-grid > *[b-d5wna9jnyc],
.purchase-cost-grid > *[b-d5wna9jnyc],
.purchase-add-item-panel > *[b-d5wna9jnyc],
.purchase-inline-select[b-d5wna9jnyc],
.purchase-readonly-box[b-d5wna9jnyc] {
    min-width: 0;
}

.purchase-field label[b-d5wna9jnyc],
.purchase-description label[b-d5wna9jnyc] {
    display: block;
    margin-bottom: 9px;
    color: var(--purchase-text);
    font-size: 13px;
    font-weight: 1000;
}

.form-control[b-d5wna9jnyc],
.form-select[b-d5wna9jnyc],
.purchase-readonly-box[b-d5wna9jnyc] {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--purchase-border);
    border-radius: 15px;
    color: var(--purchase-text);
    background: rgba(248,250,252,.62);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
    font-weight: 800;
}

.form-control[b-d5wna9jnyc],
.form-select[b-d5wna9jnyc] {
    padding: 0 14px;
}

.form-control:focus[b-d5wna9jnyc],
.form-select:focus[b-d5wna9jnyc] {
    border-color: rgba(124,58,237,.38);
    box-shadow: 0 0 0 4px rgba(124,58,237,.08);
    background: #fff;
    outline: 0;
}

.purchase-readonly-box[b-d5wna9jnyc] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    font-weight: 1000;
}

.purchase-money[b-d5wna9jnyc] {
    color: var(--purchase-blue);
    background: #eff6ff;
}

.purchase-final-money[b-d5wna9jnyc] {
    color: var(--purchase-green);
    background: #ecfdf5;
}

.purchase-inline-select[b-d5wna9jnyc] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 8px;
    width: 100%;
}

.purchase-inline-add[b-d5wna9jnyc] {
    width: 48px;
    min-width: 48px;
    min-height: 52px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid #c4b5fd;
    border-radius: 15px;
    color: #6d28d9;
    background: #f5f3ff;
    font-size: 24px;
    font-weight: 1000;
    cursor: pointer;
}

.purchase-cost-panel[b-d5wna9jnyc] {
    margin-top: 20px;
    padding: 18px;
    border: 1px solid var(--purchase-soft-border);
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0%, rgba(124,58,237,.06), transparent 210px),
        linear-gradient(180deg, rgba(248,250,252,.96), rgba(255,255,255,.98));
}

.purchase-cost-head[b-d5wna9jnyc] {
    margin-bottom: 18px;
}

.purchase-description[b-d5wna9jnyc] {
    margin-top: 18px;
}

.purchase-description textarea[b-d5wna9jnyc] {
    min-height: 92px;
    padding: 14px;
    resize: vertical;
}

.purchase-product-header-actions[b-d5wna9jnyc],
.purchase-items-actions-head[b-d5wna9jnyc] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.purchase-product-header-actions[b-d5wna9jnyc] {
    justify-content: flex-end;
}

.purchase-add-item-panel[b-d5wna9jnyc] {
    display: grid;
    grid-template-columns: minmax(240px, 2fr) repeat(4, minmax(100px, 1fr)) minmax(150px, .9fr);
    gap: 14px;
    align-items: end;
    width: 100%;
    padding: 18px;
    border: 1px solid var(--purchase-soft-border);
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0%, rgba(124,58,237,.06), transparent 210px),
        linear-gradient(180deg, rgba(248,250,252,.96), rgba(255,255,255,.98));
}

.purchase-add-btn[b-d5wna9jnyc] {
    width: 100%;
    min-height: 52px;
    white-space: nowrap;
}

.purchase-items-head[b-d5wna9jnyc] {
    align-items: center;
}

.purchase-empty-modern[b-d5wna9jnyc] {
    min-height: 220px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    padding: 24px;
    border: 1px dashed #cbd5e1;
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% 0%, rgba(124,58,237,.08), transparent 220px),
        linear-gradient(180deg, #fff, #f8fafc);
}

.purchase-empty-visual[b-d5wna9jnyc] {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: #f1f5f9;
    box-shadow: 0 18px 40px rgba(15,23,42,.06);
    font-size: 34px;
}

.purchase-empty-modern strong[b-d5wna9jnyc] {
    font-size: 16px;
    font-weight: 1000;
}

.purchase-empty-modern span[b-d5wna9jnyc] {
    color: var(--purchase-muted);
    font-size: 13px;
    font-weight: 850;
}

.purchase-items-shell[b-d5wna9jnyc] {
    display: grid;
    gap: 16px;
}

.table-wrap[b-d5wna9jnyc],
.purchase-items-table-wrap[b-d5wna9jnyc] {
    overflow: auto;
}

.purchase-items-table-wrap[b-d5wna9jnyc] {
    border: 1px solid var(--purchase-soft-border);
    border-radius: 24px;
    background: #fff;
}

.purchase-table[b-d5wna9jnyc] {
    min-width: 960px;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.purchase-table thead th[b-d5wna9jnyc] {
    position: sticky;
    top: 0;
    z-index: 5;
    padding: 16px 14px;
    color: #475569;
    border-bottom: 1px solid var(--purchase-soft-border);
    background: linear-gradient(180deg, #f8fafc, #eef2ff);
    font-size: 12px;
    font-weight: 1000;
    text-align: right;
    white-space: nowrap;
}

.purchase-table tbody td[b-d5wna9jnyc] {
    padding: 14px;
    border-bottom: 1px solid #edf2f7;
    color: var(--purchase-text);
    font-size: 13px;
    font-weight: 850;
    vertical-align: middle;
}

.purchase-item-row:hover[b-d5wna9jnyc] {
    background: #f8fbff;
}

.purchase-product-cell[b-d5wna9jnyc] {
    min-width: 280px;
}

.purchase-product-mini-icon[b-d5wna9jnyc] {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid #ddd6fe;
    border-radius: 14px;
    background: linear-gradient(135deg, #eef2ff, #f3e8ff);
}

.purchase-product-cell-main strong[b-d5wna9jnyc] {
    display: block;
    max-width: 250px;
    overflow: hidden;
    color: var(--purchase-text);
    font-size: 13px;
    font-weight: 1000;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.purchase-product-cell-main small[b-d5wna9jnyc] {
    display: block;
    margin-top: 5px;
    color: var(--purchase-muted);
    font-size: 11px;
    font-weight: 850;
}

.purchase-money-cell[b-d5wna9jnyc],
.purchase-line-total[b-d5wna9jnyc] {
    white-space: nowrap;
    font-weight: 1000;
}

.purchase-line-total[b-d5wna9jnyc] {
    color: var(--purchase-green);
}

.purchase-icon-btn[b-d5wna9jnyc] {
    min-height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 1000;
    cursor: pointer;
}

.purchase-icon-btn.danger[b-d5wna9jnyc] {
    color: var(--purchase-red);
    border: 1px solid #fecdd3;
    background: #fff1f2;
}

.purchase-table tfoot td[b-d5wna9jnyc] {
    padding: 16px 14px;
    color: var(--purchase-text);
    border-top: 1px solid var(--purchase-soft-border);
    background: #f8fafc;
    font-size: 13px;
    font-weight: 1000;
    white-space: nowrap;
}

.purchase-items-footer[b-d5wna9jnyc] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.purchase-items-footer > div[b-d5wna9jnyc] {
    min-height: 72px;
    display: grid;
    align-content: center;
    gap: 6px;
    padding: 14px 16px;
    border: 1px solid var(--purchase-soft-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(15,23,42,.045);
}

.purchase-items-footer span[b-d5wna9jnyc] {
    color: var(--purchase-muted);
    font-size: 12px;
    font-weight: 950;
}

.purchase-items-footer strong[b-d5wna9jnyc] {
    color: var(--purchase-text);
    font-size: 16px;
    font-weight: 1000;
}

.purchase-items-footer .final[b-d5wna9jnyc] {
    color: #fff;
    border: 0;
    background: linear-gradient(135deg, var(--purchase-blue), var(--purchase-purple));
}

.purchase-items-footer .final span[b-d5wna9jnyc],
.purchase-items-footer .final strong[b-d5wna9jnyc] {
    color: #fff;
}

.purchase-summary[b-d5wna9jnyc] {
    padding: 26px;
}

.purchase-summary-head[b-d5wna9jnyc] {
    justify-content: space-between;
    padding-bottom: 18px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--purchase-soft-border);
}

.purchase-summary-row[b-d5wna9jnyc] {
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid var(--purchase-soft-border);
    font-weight: 900;
}

.purchase-summary-row span[b-d5wna9jnyc] {
    color: #475569;
}

.purchase-summary-final[b-d5wna9jnyc] {
    min-height: 84px;
    margin-top: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--purchase-blue), var(--purchase-purple));
    box-shadow: 0 18px 38px rgba(37,99,235,.24);
    font-weight: 1000;
}

.purchase-summary-final strong[b-d5wna9jnyc] {
    color: #fff;
    font-size: 24px;
}

.purchase-actions[b-d5wna9jnyc] {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.purchase-actions .erp-btn[b-d5wna9jnyc] {
    width: 100%;
    min-height: 46px;
}

/* Modal */
.purchase-modal-backdrop[b-d5wna9jnyc] {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    overflow: auto;
    background: rgba(15,23,42,.58);
    backdrop-filter: blur(7px);
    pointer-events: auto;
    isolation: isolate;
}

.purchase-modal[b-d5wna9jnyc] {
    width: min(900px, calc(100vw - 44px));
    max-width: 900px;
    max-height: calc(100vh - 44px);
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    z-index: 1;
    pointer-events: auto;
    padding: 24px;
    border: 1px solid var(--purchase-border);
    border-radius: 24px;
    color: var(--purchase-text);
    background: #fff;
    box-shadow: 0 32px 90px rgba(15,23,42,.28);
}

.purchase-modal-product[b-d5wna9jnyc] {
    width: min(940px, calc(100vw - 44px));
    max-width: 940px;
}

.purchase-modal-header[b-d5wna9jnyc] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--purchase-soft-border);
}

.purchase-modal-header h3[b-d5wna9jnyc] {
    margin: 0;
    font-size: 22px;
    font-weight: 1000;
}

.purchase-modal-header p[b-d5wna9jnyc] {
    margin: 7px 0 0;
    color: var(--purchase-muted);
    font-size: 13px;
    font-weight: 700;
}

.purchase-modal-kicker[b-d5wna9jnyc] {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 8px;
    padding: 0 11px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    color: var(--purchase-blue);
    background: #eff6ff;
    font-size: 11px;
    font-weight: 1000;
}

.purchase-modal-close[b-d5wna9jnyc] {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid #fecdd3;
    border-radius: 13px;
    color: #be123c;
    background: #fff1f2;
    font-size: 24px;
    cursor: pointer;
}

.purchase-modal-grid[b-d5wna9jnyc] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 18px;
    align-items: end;
}

.purchase-modal .purchase-field-full[b-d5wna9jnyc] {
    grid-column: 1 / -1;
}

.purchase-modal .purchase-field-span-2[b-d5wna9jnyc] {
    grid-column: span 2;
}

.purchase-modal .form-control[b-d5wna9jnyc],
.purchase-modal .form-select[b-d5wna9jnyc],
.purchase-modal input[b-d5wna9jnyc],
.purchase-modal select[b-d5wna9jnyc],
.purchase-modal textarea[b-d5wna9jnyc] {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid var(--purchase-border);
    border-radius: 14px;
    color: var(--purchase-text);
    -webkit-text-fill-color: var(--purchase-text);
    background: #fff;
    box-shadow: none;
    font: inherit;
    opacity: 1;
    pointer-events: auto;
}

.purchase-modal input[b-d5wna9jnyc]::placeholder,
.purchase-modal textarea[b-d5wna9jnyc]::placeholder {
    color: #94a3b8;
    -webkit-text-fill-color: #94a3b8;
    opacity: 1;
}

.purchase-barcode-row[b-d5wna9jnyc],
.purchase-lookup-row[b-d5wna9jnyc] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px;
    gap: 8px;
}

.purchase-barcode-row[b-d5wna9jnyc] {
    grid-template-columns: minmax(0, 1fr) 76px;
}

.purchase-lookup-add[b-d5wna9jnyc],
.purchase-inline-tool[b-d5wna9jnyc] {
    min-height: 48px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid #c4b5fd;
    border-radius: 14px;
    color: #6d28d9;
    background: #f5f3ff;
    font: inherit;
    font-weight: 1000;
    cursor: pointer;
}

.purchase-lookup-add[b-d5wna9jnyc] {
    width: 46px;
    min-width: 46px;
    font-size: 22px;
}

.purchase-inline-tool[b-d5wna9jnyc] {
    min-width: 76px;
    padding: 0 10px;
    color: #334155;
    border-color: var(--purchase-border);
    background: #f8fafc;
    font-size: 12px;
}

.purchase-quick-lookup[b-d5wna9jnyc] {
    grid-column: 1 / -1;
    padding: 16px;
    border: 1px solid #bfdbfe;
    border-radius: 18px;
    background: #f8fbff;
}

.purchase-quick-lookup-head[b-d5wna9jnyc] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.purchase-quick-lookup-grid[b-d5wna9jnyc] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.purchase-quick-unit-grid[b-d5wna9jnyc] {
    grid-template-columns: minmax(0, 1fr) minmax(0, .7fr) auto;
}

.purchase-modal-checks[b-d5wna9jnyc],
.purchase-product-checks[b-d5wna9jnyc] {
    display: flex !important;
    align-items: center !important;
    gap: 22px !important;
    flex-wrap: wrap !important;
    margin-top: 18px !important;
    padding: 16px 0 !important;
    border-top: 1px solid var(--purchase-soft-border) !important;
}

.purchase-modal-checks label[b-d5wna9jnyc],
.purchase-product-checks label[b-d5wna9jnyc] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 900;
}

.purchase-modal-checks input[type="checkbox"][b-d5wna9jnyc],
.purchase-product-checks input[type="checkbox"][b-d5wna9jnyc] {
    width: 18px;
    height: 18px;
    min-height: 18px;
    margin: 0;
    padding: 0;
    accent-color: var(--purchase-purple);
}

.purchase-modal-actions[b-d5wna9jnyc] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--purchase-soft-border);
}

.purchase-modal-actions .erp-btn[b-d5wna9jnyc] {
    min-width: 170px;
}

@media (max-width: 1380px) {
    .purchase-pro-grid[b-d5wna9jnyc] {
        grid-template-columns: minmax(0, 1fr) 330px;
    }

    .purchase-summary[b-d5wna9jnyc] {
        width: 330px;
        max-width: 330px;
    }

    .purchase-add-item-panel[b-d5wna9jnyc] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .purchase-field-product[b-d5wna9jnyc],
    .purchase-add-action[b-d5wna9jnyc] {
        grid-column: 1 / -1;
    }

    .purchase-items-footer[b-d5wna9jnyc] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .purchase-items-footer .final[b-d5wna9jnyc] {
        grid-column: span 3;
    }
}

@media (max-width: 1120px) {
    .purchase-pro-grid[b-d5wna9jnyc] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "main"
            "summary";
    }

    .purchase-summary[b-d5wna9jnyc] {
        width: 100%;
        max-width: 100%;
        position: static;
    }

    .purchase-form-grid[b-d5wna9jnyc],
    .purchase-cost-grid[b-d5wna9jnyc] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .purchase-modal-grid[b-d5wna9jnyc] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .purchase-pro-page[b-d5wna9jnyc] {
        padding: 14px;
    }

    .purchase-pro-hero[b-d5wna9jnyc] {
        flex-direction: column;
        align-items: stretch;
        padding: 22px;
    }

    .purchase-hero-title-row[b-d5wna9jnyc] {
        align-items: flex-start;
    }

    .purchase-shortcuts[b-d5wna9jnyc] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .purchase-shortcuts button[b-d5wna9jnyc] {
        width: 100%;
    }

    .purchase-form-grid[b-d5wna9jnyc],
    .purchase-cost-grid[b-d5wna9jnyc],
    .purchase-add-item-panel[b-d5wna9jnyc],
    .purchase-items-footer[b-d5wna9jnyc],
    .purchase-modal-grid[b-d5wna9jnyc],
    .purchase-quick-lookup-grid[b-d5wna9jnyc],
    .purchase-quick-unit-grid[b-d5wna9jnyc] {
        grid-template-columns: minmax(0, 1fr);
    }

    .purchase-items-footer .final[b-d5wna9jnyc],
    .purchase-modal .purchase-field-full[b-d5wna9jnyc],
    .purchase-modal .purchase-field-span-2[b-d5wna9jnyc] {
        grid-column: auto;
    }

    .purchase-card[b-d5wna9jnyc] {
        padding: 20px;
    }

    .purchase-modal-backdrop[b-d5wna9jnyc] {
        align-items: flex-start;
        padding: 10px;
    }

    .purchase-modal[b-d5wna9jnyc],
    .purchase-modal-product[b-d5wna9jnyc] {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
        padding: 18px;
        border-radius: 20px;
    }

    .purchase-modal-actions[b-d5wna9jnyc] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .purchase-modal-actions .erp-btn[b-d5wna9jnyc] {
        width: 100%;
        min-width: 0;
    }
}

/* ===== Product quick-create modal: local-only refinements ===== */

.purchase-modal-product[b-d5wna9jnyc] {
    width: min(900px, calc(100vw - 44px));
    max-width: 900px;
}

.purchase-modal-product .purchase-product-modal-grid[b-d5wna9jnyc] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 20px;
    align-items: end;
}

.purchase-modal-product .purchase-field[b-d5wna9jnyc] {
    min-width: 0;
}

.purchase-modal-product .purchase-field label[b-d5wna9jnyc] {
    min-height: 22px;
    margin-bottom: 8px;
}

.purchase-modal-product .form-control[b-d5wna9jnyc],
.purchase-modal-product .form-select[b-d5wna9jnyc],
.purchase-modal-product input[b-d5wna9jnyc],
.purchase-modal-product select[b-d5wna9jnyc] {
    min-height: 48px;
    height: 48px;
}

.purchase-modal-product .purchase-lookup-row[b-d5wna9jnyc] {
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 8px;
}

.purchase-modal-product .purchase-lookup-add[b-d5wna9jnyc] {
    width: 42px;
    min-width: 42px;
    height: 48px;
    min-height: 48px;
    border-radius: 13px;
    font-size: 20px;
}

.purchase-modal-product .purchase-barcode-row[b-d5wna9jnyc] {
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 8px;
}

.purchase-modal-product .purchase-inline-tool[b-d5wna9jnyc] {
    min-width: 72px;
    height: 48px;
    min-height: 48px;
    border-radius: 13px;
}

.purchase-modal-product .purchase-product-checks[b-d5wna9jnyc] {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    flex-wrap: wrap !important;
    margin-top: 20px !important;
    padding: 16px 0 2px !important;
}

.purchase-modal-product .purchase-product-checks label[b-d5wna9jnyc] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    white-space: nowrap;
}

.purchase-modal-product .purchase-product-checks input[type="checkbox"][b-d5wna9jnyc] {
    width: 18px;
    height: 18px;
    min-height: 18px;
    margin: 0;
}

.purchase-modal-product .purchase-modal-actions[b-d5wna9jnyc] {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.purchase-modal-product .purchase-modal-actions .erp-btn[b-d5wna9jnyc] {
    width: 100%;
    min-width: 0;
    min-height: 46px;
}

.purchase-modal-product .purchase-quick-lookup[b-d5wna9jnyc] {
    margin-top: 2px;
}

@media (max-width: 980px) {
    .purchase-modal-product .purchase-product-modal-grid[b-d5wna9jnyc] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .purchase-modal-product[b-d5wna9jnyc] {
        width: calc(100vw - 20px);
    }

    .purchase-modal-product .purchase-product-modal-grid[b-d5wna9jnyc] {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .purchase-modal-product .purchase-modal-actions[b-d5wna9jnyc] {
        grid-template-columns: minmax(0, 1fr);
    }

    .purchase-modal-product .purchase-product-checks[b-d5wna9jnyc] {
        align-items: flex-start !important;
        gap: 12px !important;
        flex-direction: column;
    }
}


/* ===== Supplier modal: local-only refinements ===== */

.purchase-modal-supplier[b-d5wna9jnyc] {
    width: min(820px, calc(100vw - 44px));
    max-width: 820px;
}

.purchase-modal-supplier .purchase-supplier-modal-grid[b-d5wna9jnyc] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
    align-items: end;
}

.purchase-modal-supplier .purchase-field-span-2[b-d5wna9jnyc],
.purchase-modal-supplier .purchase-field-full[b-d5wna9jnyc] {
    grid-column: 1 / -1;
}

.purchase-modal-supplier .purchase-supplier-address[b-d5wna9jnyc] {
    min-height: 96px;
    height: 96px;
    padding-top: 12px;
    resize: vertical;
}

.purchase-modal-supplier .purchase-supplier-checks[b-d5wna9jnyc] {
    justify-content: flex-start;
    margin-top: 18px !important;
    padding: 15px 0 2px !important;
}

.purchase-modal-supplier .purchase-supplier-actions[b-d5wna9jnyc] {
    display: grid;
    grid-template-columns: minmax(190px, 1fr) minmax(190px, 1fr);
    gap: 12px;
}

.purchase-modal-supplier .purchase-supplier-actions .erp-btn[b-d5wna9jnyc] {
    width: 100%;
    min-width: 0;
    min-height: 46px;
}

/* ===== Add item panel: final stable layout ===== */
.purchase-add-item-panel-final[b-d5wna9jnyc] {
    display: grid;
    grid-template-columns:
        minmax(220px, 2.2fr)
        repeat(4, minmax(90px, 1fr));
    gap: 12px;
    align-items: end;
    width: 100%;
    overflow: visible;
}

.purchase-add-item-panel-final .purchase-field[b-d5wna9jnyc],
.purchase-add-item-panel-final .purchase-field-product[b-d5wna9jnyc] {
    min-width: 0;
    width: 100%;
}

.purchase-add-item-panel-final .form-control[b-d5wna9jnyc],
.purchase-add-item-panel-final .form-select[b-d5wna9jnyc] {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 52px;
    text-align: center;
    text-align-last: center;
}

.purchase-add-action-row[b-d5wna9jnyc] {
    width: 100%;
    margin-top: 14px;
}

.purchase-add-action-row .purchase-add-btn[b-d5wna9jnyc] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    visibility: visible;
    opacity: 1;
    white-space: nowrap;
}

/* Numeric fields: no visual overflow and enough room for values */
.purchase-pro-page input[type="number"][b-d5wna9jnyc] {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding-inline: 12px;
    text-align: center;
    box-sizing: border-box;
    font-variant-numeric: tabular-nums;
}

.purchase-pro-page input[type="number"][b-d5wna9jnyc]::-webkit-inner-spin-button,
.purchase-pro-page input[type="number"][b-d5wna9jnyc]::-webkit-outer-spin-button {
    margin: 0;
}

@media (max-width: 1380px) {
    .purchase-add-item-panel-final[b-d5wna9jnyc] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .purchase-add-item-panel-final .purchase-field-product[b-d5wna9jnyc] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .purchase-add-item-panel-final[b-d5wna9jnyc] {
        grid-template-columns: minmax(0, 1fr);
    }

    .purchase-add-item-panel-final .purchase-field-product[b-d5wna9jnyc] {
        grid-column: auto;
    }
}


/* ===== Purchase item price width fix ===== */
.purchase-add-item-panel-final[b-d5wna9jnyc] {
    grid-template-columns:
        minmax(260px, 2.8fr)
        minmax(82px, .75fr)
        minmax(150px, 1.45fr)
        minmax(92px, .85fr)
        minmax(92px, .85fr);
}

.purchase-add-item-panel-final .purchase-field-price[b-d5wna9jnyc] {
    min-width: 150px;
}

.purchase-add-item-panel-final .purchase-price-input[b-d5wna9jnyc] {
    min-width: 150px;
    padding-inline: 10px 24px;
    font-size: 14px;
    font-weight: 900;
    direction: ltr;
    text-align: left;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 1500px) {
    .purchase-add-item-panel-final[b-d5wna9jnyc] {
        grid-template-columns:
            minmax(230px, 2.5fr)
            minmax(78px, .72fr)
            minmax(145px, 1.35fr)
            minmax(88px, .82fr)
            minmax(88px, .82fr);
    }
}

@media (max-width: 1280px) {
    .purchase-add-item-panel-final[b-d5wna9jnyc] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .purchase-add-item-panel-final .purchase-field-product[b-d5wna9jnyc] {
        grid-column: 1 / -1;
    }

    .purchase-add-item-panel-final .purchase-field-price[b-d5wna9jnyc] {
        min-width: 0;
    }

    .purchase-add-item-panel-final .purchase-price-input[b-d5wna9jnyc] {
        min-width: 0;
    }
}


/* ===== Purchase add-item money inputs — final ===== */
.purchase-add-item-panel-final[b-d5wna9jnyc] {
    display: grid !important;
    grid-template-columns:
        minmax(230px, 2.35fr)
        minmax(78px, .68fr)
        minmax(165px, 1.35fr)
        minmax(130px, 1fr)
        minmax(130px, 1fr) !important;
    align-items: end !important;
    gap: 12px !important;
    overflow: visible !important;
}

.purchase-add-item-panel-final > .purchase-field[b-d5wna9jnyc] {
    min-width: 0 !important;
    width: 100% !important;
}

.purchase-add-item-panel-final .form-control[b-d5wna9jnyc],
.purchase-add-item-panel-final .form-select[b-d5wna9jnyc] {
    width: 100% !important;
    min-width: 0 !important;
    height: 56px !important;
    min-height: 56px !important;
    border-radius: 15px !important;
    box-sizing: border-box !important;
}

.purchase-money-input-wrap[b-d5wna9jnyc] {
    position: relative;
    width: 100%;
    min-width: 0;
}

.purchase-money-input-wrap .purchase-money-input[b-d5wna9jnyc] {
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 14px 0 54px !important;
    direction: ltr !important;
    text-align: left !important;
    font-size: 14px !important;
    font-weight: 950 !important;
    font-variant-numeric: tabular-nums !important;
    letter-spacing: .2px;
    appearance: textfield;
}

.purchase-money-input-wrap > span[b-d5wna9jnyc] {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    min-width: 34px;
    padding: 5px 6px;
    border-radius: 8px;
    color: var(--erp-primary, #4f46e5);
    background: #eef2ff;
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    text-align: center;
    pointer-events: none;
}

.purchase-money-input-wrap .purchase-money-input:focus[b-d5wna9jnyc] {
    border-color: var(--erp-accent, #8b5cf6) !important;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, .12) !important;
}

.purchase-add-item-panel-final input[type="number"][b-d5wna9jnyc]::-webkit-inner-spin-button,
.purchase-add-item-panel-final input[type="number"][b-d5wna9jnyc]::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

@media (max-width: 1380px) {
    .purchase-add-item-panel-final[b-d5wna9jnyc] {
        grid-template-columns:
            minmax(210px, 2.2fr)
            minmax(74px, .65fr)
            minmax(150px, 1.3fr)
            minmax(115px, .95fr)
            minmax(115px, .95fr) !important;
        gap: 10px !important;
    }
}

@media (max-width: 1180px) {
    .purchase-add-item-panel-final[b-d5wna9jnyc] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .purchase-add-item-panel-final .purchase-field-product[b-d5wna9jnyc] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .purchase-add-item-panel-final[b-d5wna9jnyc] {
        grid-template-columns: 1fr !important;
    }

    .purchase-add-item-panel-final .purchase-field-product[b-d5wna9jnyc] {
        grid-column: auto;
    }
}


/* ===== Final add-item row containment fix ===== */
.purchase-add-item-panel-final[b-d5wna9jnyc] {
    grid-template-columns:
        minmax(220px, 2.25fr)
        minmax(74px, .62fr)
        minmax(145px, 1.20fr)
        minmax(118px, .95fr)
        minmax(118px, .95fr) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.purchase-add-item-panel-final > .purchase-field[b-d5wna9jnyc] {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: visible !important;
}

.purchase-add-item-panel-final .purchase-field-tax[b-d5wna9jnyc],
.purchase-add-item-panel-final .purchase-field-discount[b-d5wna9jnyc],
.purchase-add-item-panel-final .purchase-field-price[b-d5wna9jnyc] {
    min-width: 0 !important;
    width: 100% !important;
}

.purchase-add-item-panel-final .purchase-money-input-wrap[b-d5wna9jnyc] {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

.purchase-add-item-panel-final .purchase-money-input-wrap .purchase-money-input[b-d5wna9jnyc] {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding-right: 10px !important;
    padding-left: 48px !important;
    box-sizing: border-box !important;
}

.purchase-add-item-panel-final .purchase-money-input-wrap > span[b-d5wna9jnyc] {
    left: 8px !important;
    min-width: 30px !important;
    padding-inline: 5px !important;
}

@media (max-width: 1450px) {
    .purchase-add-item-panel-final[b-d5wna9jnyc] {
        grid-template-columns:
            minmax(200px, 2fr)
            minmax(70px, .58fr)
            minmax(135px, 1.10fr)
            minmax(108px, .90fr)
            minmax(108px, .90fr) !important;
        gap: 8px !important;
    }

    .purchase-add-item-panel-final .purchase-money-input-wrap .purchase-money-input[b-d5wna9jnyc] {
        font-size: 13px !important;
        padding-left: 44px !important;
    }

    .purchase-add-item-panel-final .purchase-money-input-wrap > span[b-d5wna9jnyc] {
        font-size: 8.5px !important;
        min-width: 28px !important;
    }
}

@media (max-width: 1260px) {
    .purchase-add-item-panel-final[b-d5wna9jnyc] {
        grid-template-columns:
            minmax(210px, 2fr)
            minmax(78px, .70fr)
            minmax(145px, 1.25fr)
            minmax(118px, 1fr) !important;
    }

    .purchase-add-item-panel-final .purchase-field-tax[b-d5wna9jnyc] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 980px) {
    .purchase-add-item-panel-final[b-d5wna9jnyc] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .purchase-add-item-panel-final .purchase-field-product[b-d5wna9jnyc],
    .purchase-add-item-panel-final .purchase-field-tax[b-d5wna9jnyc] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .purchase-add-item-panel-final[b-d5wna9jnyc] {
        grid-template-columns: 1fr !important;
    }

    .purchase-add-item-panel-final .purchase-field-product[b-d5wna9jnyc],
    .purchase-add-item-panel-final .purchase-field-tax[b-d5wna9jnyc] {
        grid-column: auto;
    }
}


/* =========================================================
   Purchase add-item layout aligned with SaleNew
   ========================================================= */
.purchase-product-card .purchase-add-item-panel-final[b-d5wna9jnyc] {
    width: 100% !important;
    display: grid !important;
    grid-template-columns:
        minmax(0, 2fr)
        minmax(0, .8fr)
        minmax(0, .9fr) !important;
    gap: 13px !important;
    align-items: end !important;
    margin-top: 16px !important;
    padding: 16px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 24px !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(124, 58, 237, .06), transparent 210px),
        linear-gradient(180deg, rgba(248, 250, 252, .96), rgba(255, 255, 255, .98)) !important;
    overflow: visible !important;
}

.purchase-product-card .purchase-add-item-panel-final > .purchase-field[b-d5wna9jnyc] {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
}

.purchase-product-card .purchase-add-item-panel-final .purchase-field-product[b-d5wna9jnyc] {
    grid-column: span 1 !important;
}

.purchase-product-card .purchase-add-item-panel-final .purchase-add-action[b-d5wna9jnyc] {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin: 0 !important;
}

.purchase-product-card .purchase-add-item-panel-final .purchase-add-btn[b-d5wna9jnyc] {
    width: 100% !important;
    min-height: 50px !important;
    border-radius: 16px !important;
}

.purchase-product-card .purchase-add-item-panel-final .form-control[b-d5wna9jnyc],
.purchase-product-card .purchase-add-item-panel-final .form-select[b-d5wna9jnyc],
.purchase-product-card .purchase-add-item-panel-final .purchase-money-input[b-d5wna9jnyc] {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 54px !important;
    min-height: 54px !important;
    box-sizing: border-box !important;
    border-radius: 15px !important;
}

.purchase-product-card .purchase-add-item-panel-final .purchase-money-input-wrap[b-d5wna9jnyc] {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

.purchase-product-card .purchase-add-item-panel-final .purchase-money-input[b-d5wna9jnyc] {
    padding-right: 12px !important;
    padding-left: 51px !important;
    direction: ltr !important;
    text-align: left !important;
    font-size: 14px !important;
    font-weight: 950 !important;
    font-variant-numeric: tabular-nums !important;
}

.purchase-product-card .purchase-add-item-panel-final .purchase-money-input-wrap > span[b-d5wna9jnyc] {
    left: 9px !important;
    min-width: 31px !important;
    padding: 5px !important;
    font-size: 9px !important;
}

.purchase-product-card .purchase-add-action-row[b-d5wna9jnyc] {
    display: none !important;
}

@media (max-width: 1050px) {
    .purchase-product-card .purchase-add-item-panel-final[b-d5wna9jnyc] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .purchase-product-card .purchase-add-item-panel-final .purchase-field-product[b-d5wna9jnyc] {
        grid-column: 1 / -1 !important;
    }
}

@media (max-width: 680px) {
    .purchase-product-card .purchase-add-item-panel-final[b-d5wna9jnyc] {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding: 12px !important;
        border-radius: 18px !important;
    }

    .purchase-product-card .purchase-add-item-panel-final .purchase-field-product[b-d5wna9jnyc] {
        grid-column: auto !important;
    }
}
/* /Components/Pages/PurchasePrint.razor.rz.scp.css */
*[b-iaxsbwlwl9] {
    box-sizing: border-box;
}

.purchase-print-shell[b-iaxsbwlwl9] {
    min-height: 100vh;
    padding: 22px;
    color: #111827;
    background: #fff;
    font-family: Tahoma, Arial, sans-serif;
}

.print-toolbar[b-iaxsbwlwl9] {
    width: min(1120px, 100%);
    min-height: 62px;
    margin: 0 auto 14px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #b8c0cc;
    border-radius: 8px;
    background: #fff;
}

.print-btn[b-iaxsbwlwl9] {
    min-height: 40px;
    padding: 0 17px;
    border: 1px solid #8d96a4;
    border-radius: 6px;
    color: #111827;
    background: #fff;
    font: inherit;
    font-size: 11px;
    font-weight: 1000;
    cursor: pointer;
}

.print-btn.primary[b-iaxsbwlwl9] {
    border: 2px solid #111827;
}

.print-state[b-iaxsbwlwl9] {
    width: min(700px, 100%);
    margin: 40px auto;
    padding: 24px;
    border: 1px solid #999;
    background: #fff;
    text-align: center;
    font-weight: 900;
}

.print-error[b-iaxsbwlwl9] {
    color: #991b1b;
}

.invoice-paper[b-iaxsbwlwl9] {
    width: 210mm;
    min-height: 297mm;
    margin: 0 auto;
    padding: 5.5mm;
    color: #111827;
    border: 1px solid #777;
    background: #fff;
    overflow: hidden;
}

.invoice-header[b-iaxsbwlwl9] {
    display: grid;
    grid-template-columns: 1.15fr 1fr .9fr;
    align-items: stretch;
    gap: 6px;
    padding-bottom: 5px;
    border-bottom: 2px solid #111827;
}

.invoice-brand[b-iaxsbwlwl9],
.invoice-title-box[b-iaxsbwlwl9],
.invoice-meta[b-iaxsbwlwl9] {
    min-height: 78px;
    padding: 6px;
    border: 1px solid #aeb7c5;
    background: #fff;
}

.invoice-brand[b-iaxsbwlwl9] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.invoice-logo[b-iaxsbwlwl9],
.invoice-logo-image[b-iaxsbwlwl9] {
    width: 50px;
    height: 50px;
    max-width: 50px;
    max-height: 50px;
    flex: 0 0 50px;
}

.invoice-logo[b-iaxsbwlwl9] {
    display: grid;
    place-items: center;
    padding: 3px;
    border: 1px solid #aeb7c5;
    border-radius: 4px;
    overflow: hidden;
}

.invoice-logo-image[b-iaxsbwlwl9] {
    display: block;
    object-fit: contain;
}

.invoice-logo span[b-iaxsbwlwl9] {
    font-size: 17px;
    font-weight: 1000;
}

.invoice-brand-copy[b-iaxsbwlwl9] {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.invoice-brand-copy strong[b-iaxsbwlwl9] {
    font-size: 12px;
    font-weight: 1000;
}

.invoice-brand-copy span[b-iaxsbwlwl9],
.invoice-brand-copy small[b-iaxsbwlwl9] {
    color: #5f6877;
    font-size: 7px;
    line-height: 1.6;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.invoice-title-box[b-iaxsbwlwl9] {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    text-align: center;
}

.invoice-title-box span[b-iaxsbwlwl9] {
    font-size: 8px;
    font-weight: 850;
}

.invoice-title-box h1[b-iaxsbwlwl9] {
    margin: 0;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 1000;
}

.invoice-title-box small[b-iaxsbwlwl9] {
    color: #5f6877;
    font-size: 7px;
    font-weight: 750;
}

.invoice-meta[b-iaxsbwlwl9] {
    display: grid;
    align-content: center;
}

.invoice-meta > div[b-iaxsbwlwl9] {
    min-height: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    border-bottom: 1px dotted #aeb7c5;
}

.invoice-meta > div:last-child[b-iaxsbwlwl9] {
    border-bottom: 0;
}

.invoice-meta span[b-iaxsbwlwl9] {
    color: #5f6877;
    font-size: 7px;
    font-weight: 800;
}

.invoice-meta b[b-iaxsbwlwl9] {
    font-size: 8px;
    font-weight: 1000;
}

.invoice-section[b-iaxsbwlwl9] {
    margin-top: 5px;
    border: 1px solid #aeb7c5;
    background: #fff;
}

.invoice-section-head[b-iaxsbwlwl9] {
    min-height: 28px;
    padding: 4px 7px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-bottom: 1px solid #aeb7c5;
}

.invoice-section-head span[b-iaxsbwlwl9] {
    font-size: 9px;
    font-weight: 1000;
}

.invoice-section-head small[b-iaxsbwlwl9] {
    margin-right: auto;
    color: #5f6877;
    font-size: 6px;
    font-weight: 700;
}

.invoice-section-head b[b-iaxsbwlwl9] {
    padding: 2px 7px;
    border: 1px solid #999;
    border-radius: 999px;
    font-size: 6.5px;
    font-weight: 1000;
}

.invoice-info-grid[b-iaxsbwlwl9] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.invoice-info-card[b-iaxsbwlwl9] {
    min-width: 0;
    min-height: 31px;
    padding: 3px 5px;
    display: grid;
    align-content: center;
    gap: 2px;
    border-left: 1px solid #d6dce5;
}

.invoice-info-card:last-child[b-iaxsbwlwl9] {
    border-left: 0;
}

.invoice-info-card span[b-iaxsbwlwl9] {
    color: #5f6877;
    font-size: 6.4px;
    font-weight: 800;
}

.invoice-info-card strong[b-iaxsbwlwl9] {
    font-size: 7.5px;
    line-height: 1.45;
    font-weight: 1000;
    overflow-wrap: anywhere;
}

.invoice-table-wrap[b-iaxsbwlwl9] {
    overflow: hidden;
}

.invoice-table[b-iaxsbwlwl9] {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

.invoice-table th[b-iaxsbwlwl9],
.invoice-table td[b-iaxsbwlwl9] {
    height: 23px;
    padding: 2px 3px;
    border-left: 1px solid #cbd2dc;
    border-bottom: 1px solid #cbd2dc;
    text-align: center;
    vertical-align: middle;
    font-size: 6.7px;
    line-height: 1.3;
    font-weight: 850;
    overflow-wrap: anywhere;
}

.invoice-table th:last-child[b-iaxsbwlwl9],
.invoice-table td:last-child[b-iaxsbwlwl9] {
    border-left: 0;
}

.invoice-table tbody tr:last-child td[b-iaxsbwlwl9] {
    border-bottom: 0;
}

.invoice-table th[b-iaxsbwlwl9] {
    height: 25px;
    font-size: 6.2px;
    font-weight: 1000;
}

.invoice-product-cell[b-iaxsbwlwl9] {
    text-align: right !important;
    font-weight: 1000 !important;
}

.invoice-line-total[b-iaxsbwlwl9] {
    font-weight: 1000 !important;
}

.invoice-summary-layout[b-iaxsbwlwl9] {
    margin-top: 5px;
    display: grid;
    grid-template-columns: minmax(0, 1.32fr) minmax(220px, .68fr);
    gap: 5px;
    align-items: stretch;
}

.invoice-summary-note[b-iaxsbwlwl9],
.invoice-total-box[b-iaxsbwlwl9] {
    border: 1px solid #aeb7c5;
    background: #fff;
}

.invoice-summary-note[b-iaxsbwlwl9] {
    min-height: 100px;
    padding: 6px;
}

.invoice-summary-note > span[b-iaxsbwlwl9] {
    display: block;
    padding-bottom: 4px;
    border-bottom: 1px solid #d6dce5;
    font-size: 8px;
    font-weight: 1000;
}

.invoice-summary-note p[b-iaxsbwlwl9] {
    margin: 7px 0 0;
    color: #333;
    font-size: 7.3px;
    line-height: 1.8;
    font-weight: 800;
}

.extra-cost-grid[b-iaxsbwlwl9] {
    margin-top: 6px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid #d6dce5;
}

.extra-cost-grid > div[b-iaxsbwlwl9] {
    min-height: 36px;
    padding: 4px;
    display: grid;
    align-content: center;
    gap: 2px;
    border-left: 1px solid #d6dce5;
}

.extra-cost-grid > div:last-child[b-iaxsbwlwl9] {
    border-left: 0;
}

.extra-cost-grid small[b-iaxsbwlwl9] {
    color: #5f6877;
    font-size: 6px;
    font-weight: 800;
}

.extra-cost-grid b[b-iaxsbwlwl9] {
    font-size: 7px;
    font-weight: 1000;
}

.invoice-ledger-note[b-iaxsbwlwl9] {
    margin-top: 7px;
    padding: 6px;
    border: 1px dashed #888;
    color: #333;
    font-size: 7px;
    line-height: 1.9;
    font-weight: 800;
}

.invoice-ledger-note strong[b-iaxsbwlwl9] {
    font-weight: 1000;
}

.invoice-total-box[b-iaxsbwlwl9] {
    display: grid;
    align-content: start;
}

.invoice-total-box > div[b-iaxsbwlwl9] {
    min-height: 27px;
    padding: 3px 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    border-bottom: 1px solid #d6dce5;
}

.invoice-total-box span[b-iaxsbwlwl9] {
    color: #5f6877;
    font-size: 6.8px;
    font-weight: 850;
}

.invoice-total-box b[b-iaxsbwlwl9] {
    font-size: 8px;
    font-weight: 1000;
    white-space: nowrap;
}

.invoice-total-box .ledger-row.previous[b-iaxsbwlwl9] {
    margin-top: 2px;
    border-top: 1px dashed #777;
    border-bottom-style: dashed;
}

.invoice-total-box .ledger-row.previous b[b-iaxsbwlwl9] {
    color: #8a5b00;
}

.invoice-total-box .ledger-row.paid b[b-iaxsbwlwl9],
.invoice-total-box .ledger-row.credit b[b-iaxsbwlwl9] {
    color: #087443;
}

.invoice-total-box .ledger-row.current[b-iaxsbwlwl9] {
    margin: 3px;
    border: 1px solid #777;
}

.invoice-total-box .final[b-iaxsbwlwl9] {
    min-height: 35px;
    margin: 3px;
    padding: 5px 7px;
    border: 2px solid #111827;
}

.invoice-total-box .final span[b-iaxsbwlwl9],
.invoice-total-box .final b[b-iaxsbwlwl9] {
    color: #111827;
}

.invoice-total-box .final b[b-iaxsbwlwl9] {
    font-size: 10px;
}

.invoice-total-box .payable[b-iaxsbwlwl9] {
    min-height: 33px;
    margin: 0 3px 3px;
    border: 1px solid #111827;
}

.invoice-total-box .settled[b-iaxsbwlwl9] {
    min-height: 33px;
    margin: 0 3px 3px;
    border: 1px solid #087443;
}

.invoice-total-box .settled span[b-iaxsbwlwl9],
.invoice-total-box .settled b[b-iaxsbwlwl9] {
    color: #087443;
}

.invoice-footer[b-iaxsbwlwl9] {
    margin-top: 5px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}

.invoice-signature[b-iaxsbwlwl9] {
    min-height: 52px;
    display: grid;
    place-items: start center;
    padding: 6px;
    border: 1px dashed #888;
}

.invoice-signature span[b-iaxsbwlwl9] {
    font-size: 7px;
    font-weight: 1000;
}

.invoice-print-footer[b-iaxsbwlwl9] {
    min-height: 28px;
    margin-top: 5px;
    padding-top: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 2px solid #111827;
    color: #5f6877;
    font-size: 6.5px;
    font-weight: 750;
}

/* A5 */
.purchase-print-shell.paper-a5 .print-toolbar[b-iaxsbwlwl9],
.purchase-print-shell.paper-a5 .invoice-paper[b-iaxsbwlwl9] {
    width: 148mm;
}

.purchase-print-shell.paper-a5 .invoice-paper[b-iaxsbwlwl9] {
    min-height: 210mm;
    padding: 4mm;
}

.purchase-print-shell.paper-a5 .invoice-header[b-iaxsbwlwl9] {
    gap: 4px;
}

.purchase-print-shell.paper-a5 .invoice-brand[b-iaxsbwlwl9],
.purchase-print-shell.paper-a5 .invoice-title-box[b-iaxsbwlwl9],
.purchase-print-shell.paper-a5 .invoice-meta[b-iaxsbwlwl9] {
    min-height: 67px;
    padding: 4px;
}

.purchase-print-shell.paper-a5 .invoice-logo[b-iaxsbwlwl9],
.purchase-print-shell.paper-a5 .invoice-logo-image[b-iaxsbwlwl9] {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
    flex-basis: 40px;
}

.purchase-print-shell.paper-a5 .invoice-title-box h1[b-iaxsbwlwl9] {
    font-size: 16px;
}

.purchase-print-shell.paper-a5 .invoice-info-card[b-iaxsbwlwl9] {
    min-height: 27px;
    padding: 2px 3px;
}

.purchase-print-shell.paper-a5 .invoice-table th[b-iaxsbwlwl9] {
    height: 21px;
    font-size: 5.4px;
}

.purchase-print-shell.paper-a5 .invoice-table td[b-iaxsbwlwl9] {
    height: 20px;
    font-size: 5.8px;
}

.purchase-print-shell.paper-a5 .invoice-summary-note[b-iaxsbwlwl9] {
    min-height: 82px;
}

.purchase-print-shell.paper-a5 .invoice-total-box > div[b-iaxsbwlwl9] {
    min-height: 22px;
    padding: 2px 4px;
}

.purchase-print-shell.paper-a5 .invoice-ledger-note[b-iaxsbwlwl9] {
    margin-top: 4px;
    padding: 4px;
    font-size: 6px;
}

.purchase-print-shell.paper-a5 .invoice-signature[b-iaxsbwlwl9] {
    min-height: 42px;
}

/* Thermal */
.purchase-print-shell.paper-thermal-80[b-iaxsbwlwl9],
.purchase-print-shell.paper-thermal-58[b-iaxsbwlwl9] {
    padding: 8px;
    overflow-x: auto;
}

.purchase-print-shell.paper-thermal-80 .print-toolbar[b-iaxsbwlwl9],
.purchase-print-shell.paper-thermal-80 .invoice-paper[b-iaxsbwlwl9] {
    width: 80mm;
}

.purchase-print-shell.paper-thermal-58 .print-toolbar[b-iaxsbwlwl9],
.purchase-print-shell.paper-thermal-58 .invoice-paper[b-iaxsbwlwl9] {
    width: 58mm;
}

.purchase-print-shell.paper-thermal-80 .invoice-paper[b-iaxsbwlwl9],
.purchase-print-shell.paper-thermal-58 .invoice-paper[b-iaxsbwlwl9] {
    min-height: auto;
    padding: 2.5mm;
}

.purchase-print-shell.paper-thermal-80 .invoice-header[b-iaxsbwlwl9],
.purchase-print-shell.paper-thermal-58 .invoice-header[b-iaxsbwlwl9] {
    grid-template-columns: 1fr;
    gap: 3px;
}

.purchase-print-shell.paper-thermal-80 .invoice-brand[b-iaxsbwlwl9],
.purchase-print-shell.paper-thermal-58 .invoice-brand[b-iaxsbwlwl9] {
    justify-content: center;
}

.purchase-print-shell.paper-thermal-80 .invoice-info-grid[b-iaxsbwlwl9],
.purchase-print-shell.paper-thermal-58 .invoice-info-grid[b-iaxsbwlwl9] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.purchase-print-shell.paper-thermal-80 .invoice-table[b-iaxsbwlwl9],
.purchase-print-shell.paper-thermal-58 .invoice-table[b-iaxsbwlwl9] {
    table-layout: auto;
}

.purchase-print-shell.paper-thermal-80 .invoice-table th:nth-child(5)[b-iaxsbwlwl9],
.purchase-print-shell.paper-thermal-80 .invoice-table th:nth-child(6)[b-iaxsbwlwl9],
.purchase-print-shell.paper-thermal-80 .invoice-table td:nth-child(5)[b-iaxsbwlwl9],
.purchase-print-shell.paper-thermal-80 .invoice-table td:nth-child(6)[b-iaxsbwlwl9],
.purchase-print-shell.paper-thermal-58 .invoice-table th:nth-child(4)[b-iaxsbwlwl9],
.purchase-print-shell.paper-thermal-58 .invoice-table th:nth-child(5)[b-iaxsbwlwl9],
.purchase-print-shell.paper-thermal-58 .invoice-table th:nth-child(6)[b-iaxsbwlwl9],
.purchase-print-shell.paper-thermal-58 .invoice-table td:nth-child(4)[b-iaxsbwlwl9],
.purchase-print-shell.paper-thermal-58 .invoice-table td:nth-child(5)[b-iaxsbwlwl9],
.purchase-print-shell.paper-thermal-58 .invoice-table td:nth-child(6)[b-iaxsbwlwl9] {
    display: none;
}

.purchase-print-shell.paper-thermal-80 .invoice-summary-layout[b-iaxsbwlwl9],
.purchase-print-shell.paper-thermal-58 .invoice-summary-layout[b-iaxsbwlwl9],
.purchase-print-shell.paper-thermal-80 .invoice-footer[b-iaxsbwlwl9],
.purchase-print-shell.paper-thermal-58 .invoice-footer[b-iaxsbwlwl9] {
    grid-template-columns: 1fr;
}

.purchase-print-shell.paper-thermal-80 .extra-cost-grid[b-iaxsbwlwl9],
.purchase-print-shell.paper-thermal-58 .extra-cost-grid[b-iaxsbwlwl9] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.purchase-print-shell.font-small[b-iaxsbwlwl9] {
    font-size: 90%;
}

.purchase-print-shell.font-large[b-iaxsbwlwl9] {
    font-size: 110%;
}

@media (max-width: 850px) {
    .purchase-print-shell[b-iaxsbwlwl9] {
        padding: 10px;
        overflow-x: auto;
    }

    .print-toolbar[b-iaxsbwlwl9] {
        width: 210mm;
    }
}

@media print {
    html[b-iaxsbwlwl9],
    body[b-iaxsbwlwl9] {
        margin: 0 !important;
        padding: 0 !important;
        color: #000 !important;
        background: #fff !important;
        print-color-adjust: exact !important;
        -webkit-print-color-adjust: exact !important;
    }

    .no-print[b-iaxsbwlwl9] {
        display: none !important;
    }

    .purchase-print-shell[b-iaxsbwlwl9] {
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }

    .purchase-print-shell.paper-a4[b-iaxsbwlwl9],
    .purchase-print-shell.paper-a4 .invoice-paper[b-iaxsbwlwl9] {
        width: 210mm !important;
    }

    .purchase-print-shell.paper-a5[b-iaxsbwlwl9],
    .purchase-print-shell.paper-a5 .invoice-paper[b-iaxsbwlwl9] {
        width: 148mm !important;
    }

    .purchase-print-shell.paper-thermal-80[b-iaxsbwlwl9],
    .purchase-print-shell.paper-thermal-80 .invoice-paper[b-iaxsbwlwl9] {
        width: 80mm !important;
    }

    .purchase-print-shell.paper-thermal-58[b-iaxsbwlwl9],
    .purchase-print-shell.paper-thermal-58 .invoice-paper[b-iaxsbwlwl9] {
        width: 58mm !important;
    }

    .invoice-paper[b-iaxsbwlwl9] {
        min-height: auto !important;
        margin: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
        background: #fff !important;
    }

    .purchase-print-shell.paper-a4 .invoice-paper[b-iaxsbwlwl9] {
        min-height: 297mm !important;
        padding: 5mm !important;
    }

    .purchase-print-shell.paper-a5 .invoice-paper[b-iaxsbwlwl9] {
        min-height: 210mm !important;
        padding: 4mm !important;
    }

    .purchase-print-shell.paper-thermal-80 .invoice-paper[b-iaxsbwlwl9],
    .purchase-print-shell.paper-thermal-58 .invoice-paper[b-iaxsbwlwl9] {
        min-height: auto !important;
        padding: 2.5mm !important;
    }

    .invoice-paper[b-iaxsbwlwl9],
    .invoice-paper *[b-iaxsbwlwl9] {
        background-color: #fff !important;
        background-image: none !important;
    }

    .invoice-header[b-iaxsbwlwl9],
    .invoice-section[b-iaxsbwlwl9],
    .invoice-summary-layout[b-iaxsbwlwl9],
    .invoice-footer[b-iaxsbwlwl9] {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .invoice-table thead[b-iaxsbwlwl9] {
        display: table-header-group;
    }

    .invoice-table tr[b-iaxsbwlwl9] {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}


/* Final print pagination stabilization */
@media print {
    @page {
        margin: 0;
    }

    html[b-iaxsbwlwl9],
    body[b-iaxsbwlwl9] {
        width: auto !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    .purchase-print-shell[b-iaxsbwlwl9] {
        width: auto !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    .invoice-paper[b-iaxsbwlwl9] {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        break-after: auto !important;
        page-break-after: auto !important;
    }

    .purchase-print-shell.paper-a4 .invoice-paper[b-iaxsbwlwl9],
    .purchase-print-shell.paper-a5 .invoice-paper[b-iaxsbwlwl9] {
        min-height: 0 !important;
    }

    .invoice-header[b-iaxsbwlwl9] {
        padding-bottom: 3px !important;
    }

    .invoice-brand[b-iaxsbwlwl9],
    .invoice-title-box[b-iaxsbwlwl9],
    .invoice-meta[b-iaxsbwlwl9] {
        min-height: 64px !important;
        padding: 4px !important;
    }

    .invoice-section[b-iaxsbwlwl9] {
        margin-top: 3px !important;
    }

    .invoice-section-head[b-iaxsbwlwl9] {
        min-height: 23px !important;
        padding: 2px 5px !important;
    }

    .invoice-info-card[b-iaxsbwlwl9] {
        min-height: 25px !important;
        padding: 2px 4px !important;
    }

    .invoice-table th[b-iaxsbwlwl9] {
        height: 20px !important;
        padding: 1px 2px !important;
    }

    .invoice-table td[b-iaxsbwlwl9] {
        height: 19px !important;
        padding: 1px 2px !important;
    }

    .invoice-summary-layout[b-iaxsbwlwl9] {
        margin-top: 3px !important;
        gap: 3px !important;
    }

    .invoice-summary-note[b-iaxsbwlwl9] {
        min-height: 0 !important;
        padding: 4px !important;
    }

    .extra-cost-grid[b-iaxsbwlwl9] {
        margin-top: 3px !important;
    }

    .extra-cost-grid > div[b-iaxsbwlwl9] {
        min-height: 28px !important;
        padding: 2px 3px !important;
    }

    .invoice-ledger-note[b-iaxsbwlwl9] {
        margin-top: 3px !important;
        padding: 3px 4px !important;
        line-height: 1.55 !important;
    }

    .invoice-total-box > div[b-iaxsbwlwl9] {
        min-height: 21px !important;
        padding: 2px 4px !important;
    }

    .invoice-total-box .final[b-iaxsbwlwl9],
    .invoice-total-box .payable[b-iaxsbwlwl9],
    .invoice-total-box .settled[b-iaxsbwlwl9] {
        min-height: 27px !important;
        margin: 2px !important;
        padding: 3px 5px !important;
    }

    .invoice-footer[b-iaxsbwlwl9] {
        margin-top: 3px !important;
        gap: 3px !important;
    }

    .invoice-signature[b-iaxsbwlwl9] {
        min-height: 38px !important;
        padding: 4px !important;
    }

    .invoice-print-footer[b-iaxsbwlwl9] {
        min-height: 20px !important;
        margin-top: 3px !important;
        padding-top: 2px !important;
    }

    .invoice-summary-layout[b-iaxsbwlwl9],
    .invoice-footer[b-iaxsbwlwl9],
    .invoice-print-footer[b-iaxsbwlwl9] {
        break-after: auto !important;
        page-break-after: auto !important;
    }
}


/* Exact paper-size engine: prevents A5 content from being shrunk inside an A4 sheet */
.purchase-print-shell.paper-a4 .invoice-paper[b-iaxsbwlwl9] {
    page: erp-purchase-a4;
}

.purchase-print-shell.paper-a5 .invoice-paper[b-iaxsbwlwl9] {
    page: erp-purchase-a5;
}

.purchase-print-shell.paper-thermal-80 .invoice-paper[b-iaxsbwlwl9] {
    page: erp-purchase-thermal-80;
}

.purchase-print-shell.paper-thermal-58 .invoice-paper[b-iaxsbwlwl9] {
    page: erp-purchase-thermal-58;
}

@page erp-purchase-a4 {
    size: A4 portrait;
    margin: 0;
}

@page erp-purchase-a5 {
    size: A5 portrait;
    margin: 0;
}

@page erp-purchase-thermal-80 {
    size: 80mm auto;
    margin: 0;
}

@page erp-purchase-thermal-58 {
    size: 58mm auto;
    margin: 0;
}

@media print {
    .purchase-print-shell.paper-a4[b-iaxsbwlwl9],
    .purchase-print-shell.paper-a5[b-iaxsbwlwl9],
    .purchase-print-shell.paper-thermal-80[b-iaxsbwlwl9],
    .purchase-print-shell.paper-thermal-58[b-iaxsbwlwl9] {
        width: 100% !important;
        max-width: none !important;
    }

    .purchase-print-shell.paper-a4 .invoice-paper[b-iaxsbwlwl9],
    .purchase-print-shell.paper-a5 .invoice-paper[b-iaxsbwlwl9],
    .purchase-print-shell.paper-thermal-80 .invoice-paper[b-iaxsbwlwl9],
    .purchase-print-shell.paper-thermal-58 .invoice-paper[b-iaxsbwlwl9] {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        transform: none !important;
        zoom: 1 !important;
    }

    .purchase-print-shell.paper-a4 .invoice-paper[b-iaxsbwlwl9] {
        min-height: 297mm !important;
        padding: 5mm !important;
    }

    .purchase-print-shell.paper-a5 .invoice-paper[b-iaxsbwlwl9] {
        min-height: 210mm !important;
        padding: 4mm !important;
    }

    .purchase-print-shell.paper-thermal-80 .invoice-paper[b-iaxsbwlwl9],
    .purchase-print-shell.paper-thermal-58 .invoice-paper[b-iaxsbwlwl9] {
        min-height: 0 !important;
        padding: 2.5mm !important;
    }
}
/* /Components/Pages/PurchaseSuggestion.razor.rz.scp.css */
.purchase-suggestion-page[b-o9z1c6iux4] {
    padding: 24px;
}

.suggestion-header[b-o9z1c6iux4] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.suggestion-header h3[b-o9z1c6iux4] {
    margin: 0;
    font-weight: 900;
}

.suggestion-header p[b-o9z1c6iux4] {
    margin: 6px 0 0;
    color: #64748b;
}

.suggestion-actions[b-o9z1c6iux4],
.suggestion-card-actions[b-o9z1c6iux4] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.suggestion-grid[b-o9z1c6iux4] {
    display: grid;
    gap: 16px;
}

.suggestion-card[b-o9z1c6iux4] {
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.suggestion-card-header[b-o9z1c6iux4] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.suggestion-card-header strong[b-o9z1c6iux4],
.suggestion-card-header span[b-o9z1c6iux4] {
    display: block;
}

.suggestion-card-header strong[b-o9z1c6iux4] {
    font-weight: 900;
}

.suggestion-card-header div span[b-o9z1c6iux4] {
    color: #64748b;
    margin-top: 4px;
}

.suggestion-meta[b-o9z1c6iux4] {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding: 10px;
    border-radius: 12px;
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    margin-bottom: 12px;
}

.suggestion-card th[b-o9z1c6iux4] {
    background: #1f2937;
    color: #fff;
    white-space: nowrap;
}

.suggestion-card td[b-o9z1c6iux4] {
    white-space: nowrap;
}

.suggestion-card-actions[b-o9z1c6iux4] {
    justify-content: flex-end;
    margin-top: 12px;
}

@media (max-width: 768px) {
    .purchase-suggestion-page[b-o9z1c6iux4] {
        padding: 16px;
    }

    .suggestion-header[b-o9z1c6iux4],
    .suggestion-card-header[b-o9z1c6iux4] {
        flex-direction: column;
        align-items: stretch;
    }
}
/* /Components/Pages/Register.razor.rz.scp.css */
.register-shell[b-58xivh8chg]{min-height:100dvh;padding:28px 20px;background:radial-gradient(circle at 12% 8%,rgba(99,102,241,.28),transparent 30%),radial-gradient(circle at 88% 0%,rgba(14,165,233,.24),transparent 34%),linear-gradient(145deg,#020617,#0b1731 58%,#111c38);font-family:"Vazirmatn","IRANSansX","Segoe UI",Tahoma,Arial,sans-serif;color:#0f172a;font-size:15px;line-height:1.75}.register-shell *[b-58xivh8chg]{font-family:inherit}.register-card[b-58xivh8chg]{width:min(1210px,100%);margin:auto;background:rgba(255,255,255,.985);border:1px solid rgba(255,255,255,.84);border-radius:30px;padding:32px 36px;box-shadow:0 34px 100px rgba(2,6,23,.42);backdrop-filter:blur(18px)}.register-header[b-58xivh8chg]{display:flex;align-items:center;gap:18px;padding-bottom:22px;border-bottom:1px solid #e7edf5}.brand[b-58xivh8chg]{width:64px;height:64px;display:grid;place-items:center;flex:0 0 auto;border-radius:20px;color:#fff;background:linear-gradient(145deg,#2563eb,#4f46e5 56%,#7c3aed);font-size:21px;font-weight:900;box-shadow:0 16px 36px rgba(79,70,229,.26)}.eyebrow[b-58xivh8chg],.panel-heading>span[b-58xivh8chg]{display:block;color:#4f46e5;font-size:11px;font-weight:900;letter-spacing:.08em}.register-header h1[b-58xivh8chg],.panel-heading h2[b-58xivh8chg]{margin:4px 0;color:#0f172a;font-weight:900;letter-spacing:-.025em}.register-header h1[b-58xivh8chg]{font-size:30px}.register-header p[b-58xivh8chg],.panel-heading p[b-58xivh8chg]{margin:0;color:#64748b;line-height:1.95;font-size:14px;font-weight:500}.wizard-stepper[b-58xivh8chg]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0}.wizard-step[b-58xivh8chg]{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:11px;text-align:right;padding:13px 14px;border:1px solid #dbe4f0;border-radius:17px;background:#f8fafc;color:#64748b;font:inherit;cursor:pointer;transition:.2s ease}.wizard-step>span[b-58xivh8chg]{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#e2e8f0;color:#475569;font-weight:900}.wizard-step strong[b-58xivh8chg],.wizard-step small[b-58xivh8chg]{display:block}.wizard-step strong[b-58xivh8chg]{font-size:14px;color:#334155;font-weight:800}.wizard-step small[b-58xivh8chg]{margin-top:2px;font-size:11px;color:#94a3b8;font-weight:500}.wizard-step.active[b-58xivh8chg]{border-color:#818cf8;background:linear-gradient(180deg,#fff,#f5f7ff);box-shadow:0 0 0 3px rgba(99,102,241,.08),0 10px 24px rgba(79,70,229,.07)}.wizard-step.active>span[b-58xivh8chg],.wizard-step.done>span[b-58xivh8chg]{background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff}.wizard-step.done[b-58xivh8chg]{border-color:#c7d2fe;background:#eef2ff}.wizard-panel[b-58xivh8chg]{min-height:390px;padding:28px 30px;border:1px solid #e2e8f0;border-radius:24px;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:0 14px 40px rgba(15,23,42,.05)}.panel-heading[b-58xivh8chg]{margin-bottom:24px}.panel-heading h2[b-58xivh8chg]{font-size:27px;line-height:1.45}.plan-grid[b-58xivh8chg]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.plan-card[b-58xivh8chg]{display:grid;grid-template-rows:auto 1fr auto;gap:16px;min-height:315px;text-align:right;padding:22px;border:1px solid #dbe4f0;border-radius:22px;background:#fff;font:inherit;cursor:pointer;transition:.22s ease;box-shadow:0 10px 28px rgba(15,23,42,.045)}.plan-card:hover[b-58xivh8chg]{transform:translateY(-4px);border-color:#a5b4fc;box-shadow:0 18px 42px rgba(79,70,229,.12)}.plan-card.selected[b-58xivh8chg]{border-color:#6366f1;background:linear-gradient(180deg,#fff,#f4f6ff);box-shadow:0 0 0 4px rgba(99,102,241,.10),0 20px 45px rgba(79,70,229,.12)}.plan-head[b-58xivh8chg]{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.plan-head strong[b-58xivh8chg],.plan-head small[b-58xivh8chg]{display:block}.plan-head strong[b-58xivh8chg]{font-size:22px;line-height:1.5;color:#0f172a;font-weight:900}.plan-head small[b-58xivh8chg]{margin-top:7px;color:#64748b;line-height:1.95;font-size:14px;font-weight:500}.plan-head>span[b-58xivh8chg]{color:#4338ca;font-weight:900;font-size:13px;line-height:1.7;white-space:nowrap}.plan-card ul[b-58xivh8chg]{margin:0;padding-right:20px;color:#475569;line-height:2.1;font-size:14px;font-weight:500}.plan-card li[b-58xivh8chg]::marker{color:#6366f1}.select-indicator[b-58xivh8chg]{align-self:end;padding:12px 14px;border-radius:13px;text-align:center;background:#eef2ff;color:#4338ca;font-size:15px;font-weight:900}.plan-card.selected .select-indicator[b-58xivh8chg]{background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff}.subheading[b-58xivh8chg]{margin:20px 0 12px;color:#334155;font-size:16px;font-weight:900}.period-grid[b-58xivh8chg]{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.period-card[b-58xivh8chg]{display:grid;gap:7px;text-align:center;padding:16px 12px;border:1px solid #dbe4f0;border-radius:18px;background:#fff;font:inherit;cursor:pointer;transition:.18s ease}.period-card strong[b-58xivh8chg]{color:#0f172a;font-size:15px;font-weight:800}.period-card span[b-58xivh8chg]{color:#4f46e5;font-size:12px;font-weight:800}.period-card.selected[b-58xivh8chg]{border-color:#6366f1;background:#f3f5ff;box-shadow:0 0 0 3px rgba(99,102,241,.1)}.module-grid[b-58xivh8chg]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.module-card[b-58xivh8chg]{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;padding:16px;border:1px solid #dbe4f0;border-radius:19px;background:#fff;cursor:pointer;transition:.18s ease}.module-card input[b-58xivh8chg]{position:absolute;opacity:0;pointer-events:none}.module-card:hover[b-58xivh8chg]{transform:translateY(-2px);border-color:#a5b4fc}.module-card.selected[b-58xivh8chg]{border-color:#6366f1;background:#f7f8ff;box-shadow:0 0 0 3px rgba(99,102,241,.09)}.module-check[b-58xivh8chg]{width:38px;height:38px;display:grid;place-items:center;border-radius:13px;background:#eef2ff;color:#4338ca;font-size:18px;font-weight:900}.module-card.selected .module-check[b-58xivh8chg]{background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff}.module-card strong[b-58xivh8chg]{display:block;color:#0f172a;font-size:15px;font-weight:800}.module-card p[b-58xivh8chg]{margin:4px 0 0;color:#64748b;font-size:12px;line-height:1.8;font-weight:500}.module-card>span[b-58xivh8chg]{color:#4338ca;font-size:12px;font-weight:800;white-space:nowrap}.grid[b-58xivh8chg]{display:grid;grid-template-columns:1fr 1fr;gap:18px}.grid label[b-58xivh8chg]{display:grid;gap:8px;color:#334155;font-size:14px;font-weight:800}.grid label.wide[b-58xivh8chg]{grid-column:1/-1}.grid input[b-58xivh8chg]{width:100%;box-sizing:border-box;padding:14px 15px;border:1px solid #dbe4f0;border-radius:15px;background:#f8fafc;color:#0f172a;font:inherit;font-size:15px;font-weight:500;outline:none;transition:.18s ease}.grid input:focus[b-58xivh8chg]{background:#fff;border-color:#60a5fa;box-shadow:0 0 0 4px rgba(37,99,235,.1)}.domain-field[b-58xivh8chg]{display:flex;direction:ltr}.domain-field input[b-58xivh8chg]{border-radius:15px 0 0 15px}.domain-field>span[b-58xivh8chg]{display:flex;align-items:center;padding:0 16px;border:1px solid #dbe4f0;border-left:0;border-radius:0 15px 15px 0;background:#eef2ff;color:#3730a3;font-weight:800}.grid small[b-58xivh8chg]{font-weight:500;color:#64748b}.grid small.ok[b-58xivh8chg]{color:#15803d}.review-grid[b-58xivh8chg]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.review-card[b-58xivh8chg]{padding:18px;border:1px solid #e2e8f0;border-radius:18px;background:#f8fafc}.review-card.wide[b-58xivh8chg]{grid-column:1/-1}.review-card small[b-58xivh8chg],.review-card strong[b-58xivh8chg]{display:block}.review-card small[b-58xivh8chg]{color:#64748b;margin-bottom:8px;font-weight:500}.review-card strong[b-58xivh8chg]{color:#0f172a;font-size:16px;font-weight:800}.order-summary[b-58xivh8chg]{margin-top:18px;padding:20px;border:1px solid #c7d2fe;border-radius:20px;background:linear-gradient(180deg,#f5f7ff,#fff);display:grid;gap:12px}.order-summary>div[b-58xivh8chg]{display:flex;justify-content:space-between;gap:16px}.order-summary .total[b-58xivh8chg]{padding-top:14px;border-top:1px solid #c7d2fe;font-size:18px}.order-summary .total strong[b-58xivh8chg]{color:#4338ca}.wizard-actions[b-58xivh8chg]{display:flex;justify-content:space-between;gap:14px;margin-top:20px}.primary[b-58xivh8chg],.secondary[b-58xivh8chg],.success-box button[b-58xivh8chg]{min-width:190px;padding:14px 24px;border:0;border-radius:15px;font:inherit;font-size:15px;font-weight:900;cursor:pointer;transition:.18s ease}.primary[b-58xivh8chg],.success-box button[b-58xivh8chg]{margin-right:auto;background:linear-gradient(135deg,#2563eb,#4f46e5 55%,#7c3aed);color:#fff;box-shadow:0 14px 30px rgba(37,99,235,.22)}.secondary[b-58xivh8chg]{background:#eef2ff;color:#3730a3}.primary:hover:not(:disabled)[b-58xivh8chg],.success-box button:hover[b-58xivh8chg],.secondary:hover[b-58xivh8chg]{transform:translateY(-2px)}.primary:disabled[b-58xivh8chg]{opacity:.6;cursor:not-allowed}.message[b-58xivh8chg],.loading[b-58xivh8chg]{margin:20px 0;padding:15px 17px;border-radius:15px;font-weight:700}.message.error[b-58xivh8chg]{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}.loading[b-58xivh8chg]{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}.login-link[b-58xivh8chg]{display:block;margin-top:18px;padding:13px;text-align:center;border-radius:14px;background:#eef2ff;color:#3730a3;text-decoration:none;font-weight:800}.success-box[b-58xivh8chg]{text-align:center;padding:34px;border:1px solid #bbf7d0;border-radius:24px;background:#f0fdf4}.success-icon[b-58xivh8chg]{width:64px;height:64px;display:grid;place-items:center;margin:0 auto 18px;border-radius:50%;background:#16a34a;color:#fff;font-size:30px;font-weight:900}.success-box strong[b-58xivh8chg]{display:block;margin:14px;color:#166534;direction:ltr}.success-meta[b-58xivh8chg]{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:18px 0}.success-meta span[b-58xivh8chg]{padding:10px 12px;border-radius:12px;background:#fff;color:#166534}.success-box button[b-58xivh8chg]{width:min(320px,100%)}@media(max-width:960px){.wizard-stepper[b-58xivh8chg]{grid-template-columns:repeat(2,1fr)}.plan-grid[b-58xivh8chg],.module-grid[b-58xivh8chg]{grid-template-columns:1fr 1fr}.period-grid[b-58xivh8chg]{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.register-shell[b-58xivh8chg]{padding:12px}.register-card[b-58xivh8chg]{padding:20px;border-radius:24px}.register-header[b-58xivh8chg]{align-items:flex-start}.brand[b-58xivh8chg]{width:56px;height:56px;border-radius:17px}.register-header h1[b-58xivh8chg]{font-size:24px}.wizard-stepper[b-58xivh8chg],.plan-grid[b-58xivh8chg],.module-grid[b-58xivh8chg],.grid[b-58xivh8chg],.review-grid[b-58xivh8chg]{grid-template-columns:1fr}.wizard-panel[b-58xivh8chg]{padding:20px;min-height:auto}.plan-card[b-58xivh8chg]{min-height:auto}.period-grid[b-58xivh8chg]{grid-template-columns:1fr 1fr}.grid label.wide[b-58xivh8chg],.review-card.wide[b-58xivh8chg]{grid-column:auto}.module-card[b-58xivh8chg]{grid-template-columns:38px minmax(0,1fr)}.module-card>span[b-58xivh8chg]{grid-column:2}.wizard-actions[b-58xivh8chg]{flex-direction:column-reverse}.primary[b-58xivh8chg],.secondary[b-58xivh8chg]{width:100%;margin:0}.wizard-step small[b-58xivh8chg]{display:none}}
/* /Components/Pages/Reports/ExecutiveReport.razor.rz.scp.css */
.legal-report[b-b5bphijirw]{display:grid;gap:18px;padding:24px;direction:rtl}.report-hero[b-b5bphijirw]{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:26px;border-radius:24px;background:linear-gradient(135deg,#111827,#312e81);color:#fff;box-shadow:0 18px 45px #11182726}.report-hero>div:first-child[b-b5bphijirw]{display:grid;gap:5px}.report-hero span[b-b5bphijirw]{font-size:12px;opacity:.75}.report-hero h1[b-b5bphijirw]{margin:2px 0;font-size:28px}.report-hero p[b-b5bphijirw]{margin:0;opacity:.8}.back-link[b-b5bphijirw]{color:#fff;text-decoration:none;font-size:12px;opacity:.9}.actions[b-b5bphijirw]{display:flex;gap:8px;flex-wrap:wrap}.actions button[b-b5bphijirw]{border:1px solid #ffffff40;background:#ffffff16;color:#fff;border-radius:12px;padding:10px 14px;cursor:pointer}.actions button:hover[b-b5bphijirw]{background:#ffffff25}.actions button:disabled[b-b5bphijirw]{opacity:.5;cursor:not-allowed}.print-meta[b-b5bphijirw]{display:none}.filters[b-b5bphijirw]{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;padding:16px;background:var(--mud-palette-surface,#fff);border:1px solid #e5e7eb;border-radius:18px}.filters label[b-b5bphijirw]{display:grid;gap:7px;font-size:12px;color:#64748b}.filters input[b-b5bphijirw],.filters select[b-b5bphijirw]{height:42px;border:1px solid #dbe2ea;border-radius:10px;padding:0 11px;background:transparent;color:inherit}.kpis[b-b5bphijirw]{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.kpis article[b-b5bphijirw]{padding:18px;border:1px solid #e5e7eb;border-radius:18px;background:var(--mud-palette-surface,#fff);display:grid;gap:9px;min-height:90px}.kpis span[b-b5bphijirw]{font-size:12px;color:#64748b}.kpis strong[b-b5bphijirw]{font-size:21px}.kpis .primary[b-b5bphijirw]{background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;border:0}.kpis .primary span[b-b5bphijirw]{color:#ffffffc7}.table-card[b-b5bphijirw]{overflow:auto;border:1px solid #e5e7eb;border-radius:18px;background:var(--mud-palette-surface,#fff)}table[b-b5bphijirw]{width:100%;border-collapse:collapse;min-width:900px}th[b-b5bphijirw],td[b-b5bphijirw]{padding:13px 14px;border-bottom:1px solid #eef2f7;text-align:right;white-space:nowrap}th[b-b5bphijirw]{font-size:12px;color:#64748b;background:#f8fafc;position:sticky;top:0}td[b-b5bphijirw]{font-size:13px}td a[b-b5bphijirw]{color:#4f46e5;text-decoration:none;font-weight:700}.state[b-b5bphijirw]{padding:45px;text-align:center;border:1px dashed #cbd5e1;border-radius:18px}.state.error[b-b5bphijirw]{color:#b91c1c}.danger[b-b5bphijirw]{color:#b91c1c;font-weight:700}.executive-grid[b-b5bphijirw]{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}.executive-grid article[b-b5bphijirw]{padding:20px;border:1px solid #e5e7eb;border-radius:18px;background:var(--mud-palette-surface,#fff)}.executive-grid h3[b-b5bphijirw]{margin-top:0}.executive-grid div[b-b5bphijirw]{display:flex;justify-content:space-between;padding:11px 0;border-bottom:1px solid #eef2f7}.export-summary[b-b5bphijirw]{max-width:760px}@media(max-width:760px){.legal-report[b-b5bphijirw]{padding:12px}.report-hero[b-b5bphijirw]{align-items:flex-start;flex-direction:column}.report-hero h1[b-b5bphijirw]{font-size:22px}.actions[b-b5bphijirw]{width:100%}.actions button[b-b5bphijirw]{flex:1}.filters[b-b5bphijirw]{grid-template-columns:1fr}}
@page{size:A4 landscape;margin:12mm}@media print{body *[b-b5bphijirw]{visibility:hidden}.legal-report[b-b5bphijirw],.legal-report *[b-b5bphijirw]{visibility:visible}.legal-report[b-b5bphijirw]{position:absolute;inset:0;padding:0;gap:10px}.no-print[b-b5bphijirw]{display:none!important}.print-meta[b-b5bphijirw]{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #111;padding:8px 0;font-size:10px}.report-hero[b-b5bphijirw]{background:#fff!important;color:#111!important;box-shadow:none;border:0;border-radius:0;padding:0}.report-hero h1[b-b5bphijirw]{font-size:20px}.report-hero p[b-b5bphijirw]{font-size:10px}.table-card[b-b5bphijirw]{overflow:visible;border-color:#aaa}table[b-b5bphijirw]{min-width:0;font-size:9px}th[b-b5bphijirw],td[b-b5bphijirw]{padding:5px 6px;white-space:normal}th[b-b5bphijirw]{position:static;background:#eee!important;color:#111!important}.kpis[b-b5bphijirw]{grid-template-columns:repeat(4,1fr);gap:6px}.kpis article[b-b5bphijirw]{padding:8px;min-height:auto;break-inside:avoid}.kpis strong[b-b5bphijirw]{font-size:13px}.kpis .primary[b-b5bphijirw]{background:#eee!important;color:#111!important}.executive-grid article[b-b5bphijirw]{padding:10px;break-inside:avoid}.export-summary[b-b5bphijirw]{display:none}}
/* /Components/Pages/Reports/ManagementReports.razor.rz.scp.css */
.reports-page[b-j7srteseki] {
    --reports-primary: #5b4df5;
    --reports-text: #101c3a;
    --reports-muted: #6f7f9d;
    --reports-border: #dce5f2;
    --reports-surface: #ffffff;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 26px 28px 48px;
    direction: rtl;
    color: var(--reports-text);
}

.reports-hero[b-j7srteseki] {
    position: relative;
    min-height: 184px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 32px 38px;
    overflow: hidden;
    border: 1px solid rgba(91, 77, 245, .13);
    border-radius: 30px;
    background: radial-gradient(circle at 92% 82%, rgba(91, 77, 245, .11) 0 108px, transparent 109px), linear-gradient(135deg, #fff 0%, #faf9ff 58%, #f2f0ff 100%);
    box-shadow: 0 18px 45px rgba(45, 59, 91, .08);
}

.reports-hero[b-j7srteseki]::before {
    content: "";
    position: absolute;
    inset: auto -45px -75px auto;
    width: 255px;
    height: 255px;
    border-radius: 50%;
    background: rgba(91, 77, 245, .065);
}

.reports-hero__content[b-j7srteseki] { position: relative; z-index: 1; min-width: 0; text-align: right; }
.reports-eyebrow[b-j7srteseki] { display: block; margin-bottom: 11px; color: #5046e5; font-size: 13px; font-weight: 950; }
.reports-hero h1[b-j7srteseki] { margin: 0; color: #111d3a; font-size: clamp(34px, 4vw, 53px); line-height: 1.18; font-weight: 1000; letter-spacing: -1.1px; }
.reports-hero p[b-j7srteseki] { max-width: 850px; margin: 13px 0 0; color: #64748b; font-size: 16px; line-height: 1.9; font-weight: 800; }
.reports-hero__badge[b-j7srteseki] { position: relative; z-index: 1; width: 82px; height: 82px; flex: 0 0 82px; display: grid; place-items: center; border-radius: 24px; color: #fff; background: linear-gradient(145deg, #4666f5, #7437ee); box-shadow: 0 18px 32px rgba(91, 77, 245, .28); }
.reports-hero__badge[b-j7srteseki]  .mud-icon-root { font-size: 40px !important; }

.reports-summary[b-j7srteseki] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.summary-card[b-j7srteseki] { min-width: 0; min-height: 102px; display: flex; align-items: center; gap: 17px; padding: 18px 20px; border: 1px solid var(--reports-border); border-radius: 24px; background: var(--reports-surface); box-shadow: 0 13px 32px rgba(42, 57, 89, .055); cursor: default; user-select: none; pointer-events: none; }
.summary-card__icon[b-j7srteseki] { width: 54px; height: 54px; flex: 0 0 54px; display: grid; place-items: center; border-radius: 17px; }
.summary-card__icon[b-j7srteseki]  .mud-icon-root { font-size: 28px !important; }
.summary-card__icon.purple[b-j7srteseki] { color: #6549e8; background: #eee9ff; }
.summary-card__icon.green[b-j7srteseki] { color: #0c9b74; background: #e3f8ef; }
.summary-card__icon.blue[b-j7srteseki] { color: #2f75e8; background: #e8f1ff; }
.summary-card__icon.orange[b-j7srteseki] { color: #ef651c; background: #fff0e5; }
.summary-card > div[b-j7srteseki] { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.summary-card strong[b-j7srteseki] { color: #111c38; font-size: 23px; line-height: 1.2; font-weight: 1000; }
.summary-card span:not(.summary-card__icon)[b-j7srteseki] { color: #73819b; font-size: 12px; font-weight: 850; }

.reports-section[b-j7srteseki] { margin-top: 24px; padding: 28px; border: 1px solid var(--reports-border); border-radius: 28px; background: var(--reports-surface); box-shadow: 0 16px 38px rgba(42, 57, 89, .06); }
.section-heading[b-j7srteseki] { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 23px; }
.section-heading.compact[b-j7srteseki] { margin-bottom: 18px; }
.section-heading h2[b-j7srteseki] { margin: 0; color: #101c38; font-size: 23px; font-weight: 1000; }
.section-heading p[b-j7srteseki] { margin: 7px 0 0; color: #71809b; font-size: 13px; line-height: 1.8; font-weight: 750; }
.section-heading__mark[b-j7srteseki] { width: 50px; height: 50px; flex: 0 0 50px; display: grid; place-items: center; border-radius: 15px; color: #6154ed; background: #f0edff; }
.section-heading__mark[b-j7srteseki]  .mud-icon-root { font-size: 26px !important; }

.reports-grid[b-j7srteseki] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

[b-j7srteseki] a.report-card {
    --accent: #5b4df5;
    --accent-soft: #eeebff;
    position: relative;
    min-width: 0;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding: 20px;
    overflow: hidden;
    border: 1px solid #dfe6f2;
    border-radius: 22px;
    color: inherit;
    background: #fff;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(42, 57, 89, .045);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
[b-j7srteseki] a.report-card::before { content: ""; position: absolute; top: 0; right: 0; width: 100%; height: 4px; background: var(--accent); }
[b-j7srteseki] a.report-card::after { content: ""; position: absolute; top: -42px; left: -42px; width: 120px; height: 120px; border-radius: 50%; background: var(--accent-soft); opacity: .52; }
[b-j7srteseki] a.report-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 18px 34px rgba(42, 57, 89, .11); }
[b-j7srteseki] a.report-card.active { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
[b-j7srteseki] a.report-card .report-card__icon { position: relative; z-index: 1; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; color: var(--accent); background: var(--accent-soft); }
[b-j7srteseki] a.report-card .report-card__icon .mud-icon-root { font-size: 27px !important; }
[b-j7srteseki] a.report-card .report-card__body { position: relative; z-index: 1; min-width: 0; display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
[b-j7srteseki] a.report-card .report-card__body strong { color: #111c38; font-size: 18px; line-height: 1.45; font-weight: 1000; }
[b-j7srteseki] a.report-card .report-card__body small { min-height: 48px; margin-top: 7px; color: #6c7b96; font-size: 12px; line-height: 1.9; font-weight: 700; }
[b-j7srteseki] a.report-card .report-card__meta { display: inline-flex; align-items: center; min-height: 28px; margin-top: auto; padding: 0 10px; border-radius: 999px; color: var(--accent); background: var(--accent-soft); font-size: 10px; font-weight: 950; }
[b-j7srteseki] a.report-card .report-card__arrow { position: absolute; left: 16px; bottom: 17px; z-index: 1; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #e2e8f2; border-radius: 10px; color: #8794aa; background: #fff; transition: color .2s ease, border-color .2s ease, transform .2s ease; }
[b-j7srteseki] a.report-card:hover .report-card__arrow { color: var(--accent); border-color: var(--accent); transform: translateX(-3px); }
[b-j7srteseki] a.report-card .report-card__arrow .mud-icon-root { font-size: 16px !important; }
[b-j7srteseki] a.report-card.accent-purple { --accent: #6750e9; --accent-soft: #eeeaff; }
[b-j7srteseki] a.report-card.accent-orange { --accent: #ea6a1b; --accent-soft: #fff0e5; }
[b-j7srteseki] a.report-card.accent-green { --accent: #0c9b74; --accent-soft: #e3f8ef; }
[b-j7srteseki] a.report-card.accent-blue { --accent: #2d73e8; --accent-soft: #e8f1ff; }
[b-j7srteseki] a.report-card.accent-cyan { --accent: #0897b7; --accent-soft: #e4f8fb; }
[b-j7srteseki] a.report-card.accent-pink { --accent: #d84c8b; --accent-soft: #fdeaf3; }
[b-j7srteseki] a.report-card.accent-indigo { --accent: #4c5fd5; --accent-soft: #e9ecff; }
[b-j7srteseki] a.report-card.accent-slate { --accent: #53637c; --accent-soft: #edf1f6; }

.quick-section[b-j7srteseki] { margin-bottom: 8px; }
.quick-grid[b-j7srteseki] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
[b-j7srteseki] a.quick-link { min-width: 0; min-height: 64px; display: grid; grid-template-columns: 38px minmax(0, 1fr) 28px; align-items: center; gap: 11px; padding: 11px 14px; border: 1px solid #dfe6f2; border-radius: 16px; color: #16213d; background: #fbfcff; text-decoration: none !important; transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease; }
[b-j7srteseki] a.quick-link:hover { transform: translateY(-2px); border-color: #8d83f6; background: #f7f5ff; box-shadow: 0 10px 22px rgba(42, 57, 89, .08); }
[b-j7srteseki] a.quick-link > .mud-icon-root:first-child { width: 38px; height: 38px; padding: 8px; border-radius: 12px; color: #6154ed; background: #eeebff; }
[b-j7srteseki] a.quick-link span { overflow: hidden; font-size: 12px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
[b-j7srteseki] a.quick-link .quick-link__arrow { justify-self: end; color: #93a0b5; font-size: 20px !important; }
[b-j7srteseki] a.quick-link:hover .quick-link__arrow { color: #6154ed; }

@media (max-width: 1280px) { .reports-grid[b-j7srteseki] { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1050px) {
    .reports-page[b-j7srteseki] { padding-inline: 18px; }
    .reports-summary[b-j7srteseki] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .reports-grid[b-j7srteseki] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .quick-grid[b-j7srteseki] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .reports-page[b-j7srteseki] { padding: 16px 10px 34px; }
    .reports-hero[b-j7srteseki] { min-height: 0; padding: 24px 20px; border-radius: 22px; }
    .reports-hero__badge[b-j7srteseki] { width: 62px; height: 62px; flex-basis: 62px; border-radius: 18px; }
    .reports-hero h1[b-j7srteseki] { font-size: 31px; }
    .reports-hero p[b-j7srteseki] { font-size: 13px; }
    .reports-summary[b-j7srteseki], .reports-grid[b-j7srteseki], .quick-grid[b-j7srteseki] { grid-template-columns: 1fr; }
    .reports-section[b-j7srteseki] { padding: 20px 14px; border-radius: 22px; }
    .section-heading[b-j7srteseki] { align-items: flex-start; }
    [b-j7srteseki] a.report-card { min-height: 170px; }
}
/* /Components/Pages/Reports/OperationalReportHub.razor.rz.scp.css */
.customer-report-page[b-muwyzfo585]{width:100%;display:grid;gap:16px;padding:26px 28px 34px;direction:rtl;color:#0f172a}.customer-report-page *[b-muwyzfo585],.customer-report-page *[b-muwyzfo585]::before,.customer-report-page *[b-muwyzfo585]::after{box-sizing:border-box}.customer-report-page a[b-muwyzfo585]{text-decoration:none}.customer-report-hero[b-muwyzfo585],.customer-report-toolbar[b-muwyzfo585],.customer-report-filter-card[b-muwyzfo585],.customer-report-period[b-muwyzfo585],.customer-report-kpis article[b-muwyzfo585],.customer-report-insights article[b-muwyzfo585],.customer-report-card[b-muwyzfo585],.customer-report-state[b-muwyzfo585]{border:1px solid rgba(148,163,184,.2);background:rgba(255,255,255,.97);box-shadow:0 16px 40px rgba(15,23,42,.065)}.customer-report-hero[b-muwyzfo585]{min-height:190px;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:28px 34px;border-radius:28px;overflow:hidden;background:radial-gradient(circle at 5% 55%,rgba(219,39,119,.14),transparent 235px),radial-gradient(circle at 96% 5%,rgba(244,114,182,.12),transparent 255px),linear-gradient(135deg,#fff,#fff7fb)}.customer-report-hero__content[b-muwyzfo585]{min-width:0}.customer-report-back[b-muwyzfo585]{display:inline-flex;align-items:center;gap:7px;margin-bottom:14px;color:#475569;font-size:11px;font-weight:900}.customer-report-back:hover[b-muwyzfo585]{color:#db2777}.customer-report-eyebrow[b-muwyzfo585]{display:block;margin-bottom:8px;color:#db2777;font-size:11px;font-weight:950;letter-spacing:.04em}.customer-report-hero h1[b-muwyzfo585]{margin:0;font-size:37px;line-height:1.25;font-weight:1000}.customer-report-hero p[b-muwyzfo585]{max-width:760px;margin:10px 0 0;color:#64748b;font-size:13px;line-height:1.9;font-weight:700}.customer-report-hero__icon[b-muwyzfo585]{width:92px;height:92px;flex:0 0 92px;display:grid;place-items:center;border-radius:27px;color:#fff;background:linear-gradient(135deg,#db2777,#ec4899);box-shadow:0 20px 38px rgba(219,39,119,.23)}.customer-report-hero__icon[b-muwyzfo585]  svg{font-size:43px}.customer-report-toolbar[b-muwyzfo585]{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;border-radius:22px}.customer-report-toolbar__copy strong[b-muwyzfo585],.customer-report-toolbar__copy span[b-muwyzfo585]{display:block}.customer-report-toolbar__copy strong[b-muwyzfo585]{font-size:14px;font-weight:950}.customer-report-toolbar__copy span[b-muwyzfo585]{margin-top:4px;color:#64748b;font-size:10px;font-weight:700}.customer-report-toolbar__actions[b-muwyzfo585]{display:flex;flex-wrap:wrap;gap:9px}.customer-report-btn[b-muwyzfo585],.customer-report-clear[b-muwyzfo585]{min-height:43px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 16px;border:1px solid transparent;border-radius:12px;font:inherit;font-size:11.5px;font-weight:900;cursor:pointer;transition:.16s ease}.customer-report-btn:disabled[b-muwyzfo585],.customer-report-clear:disabled[b-muwyzfo585]{opacity:.5;cursor:not-allowed}.customer-report-btn.primary[b-muwyzfo585]{color:#fff;border-color:#db2777;background:linear-gradient(135deg,#db2777,#ec4899);box-shadow:0 9px 20px rgba(219,39,119,.18)}.customer-report-btn.secondary[b-muwyzfo585]{color:#334155;border-color:#d7e0eb;background:#fff}.customer-report-btn.export[b-muwyzfo585]{color:#be185d;border-color:#fbcfe8;background:#fdf2f8}.customer-report-btn:hover:not(:disabled)[b-muwyzfo585],.customer-report-clear:hover:not(:disabled)[b-muwyzfo585]{transform:translateY(-1px)}.customer-report-filter-card[b-muwyzfo585]{padding:18px;border-radius:22px}.customer-report-filter-grid[b-muwyzfo585]{display:grid;grid-template-columns:minmax(260px,1.5fr) repeat(2,minmax(170px,.75fr)) auto;gap:13px;align-items:end}.customer-report-field[b-muwyzfo585]{display:grid;gap:7px}.customer-report-field>span[b-muwyzfo585]{color:#475569;font-size:10.5px;font-weight:900}.customer-report-field input[b-muwyzfo585],.customer-report-field select[b-muwyzfo585]{width:100%;min-height:45px;padding:0 13px;border:1px solid #d8e1ec;border-radius:12px;outline:0;color:#0f172a;background:#f8fafc;font:inherit;font-size:11.5px;font-weight:800}.customer-report-field.search>div[b-muwyzfo585]{position:relative}.customer-report-field.search input[b-muwyzfo585]{padding-right:42px}.customer-report-field.search[b-muwyzfo585]  svg{position:absolute;top:50%;right:13px;z-index:1;color:#94a3b8;transform:translateY(-50%)}.customer-report-field input:focus[b-muwyzfo585],.customer-report-field select:focus[b-muwyzfo585]{border-color:#f472b6;background:#fff;box-shadow:0 0 0 4px rgba(219,39,119,.1)}.customer-report-clear[b-muwyzfo585]{color:#475569;border-color:#d7e0eb;background:#fff}.customer-report-state[b-muwyzfo585]{padding:48px 24px;border-radius:24px;text-align:center}.customer-report-state.error[b-muwyzfo585]{color:#b91c1c;border-color:#fecaca;background:#fff1f2}.customer-report-state p[b-muwyzfo585]{margin:9px 0 16px;color:#64748b;font-size:11px;font-weight:700}.customer-report-spinner[b-muwyzfo585]{width:40px;height:40px;margin:0 auto 13px;border:4px solid #fce7f3;border-top-color:#db2777;border-radius:50%;animation:customer-spin-b-muwyzfo585 .75s linear infinite}@keyframes customer-spin-b-muwyzfo585{to{transform:rotate(360deg)}}.customer-report-period[b-muwyzfo585]{min-height:78px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:14px;align-items:center;padding:15px 18px;border-radius:20px}.customer-report-period span[b-muwyzfo585],.customer-report-period strong[b-muwyzfo585]{display:block}.customer-report-period span[b-muwyzfo585]{color:#64748b;font-size:10px;font-weight:900}.customer-report-period strong[b-muwyzfo585]{margin-top:5px;font-size:13px;font-weight:950}.customer-report-status[b-muwyzfo585]{padding:7px 12px;border-radius:999px;color:#047857!important;background:#d1fae5;font-size:10px!important;font-weight:950!important}.customer-report-kpis[b-muwyzfo585],.customer-report-insights[b-muwyzfo585]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.customer-report-kpis article[b-muwyzfo585],.customer-report-insights article[b-muwyzfo585]{min-height:126px;display:flex;align-items:flex-start;gap:13px;padding:17px;border-radius:20px}.customer-report-kpis article[b-muwyzfo585]{border-top:3px solid #db2777}.customer-report-kpis article.active[b-muwyzfo585]{border-top-color:#059669}.customer-report-kpis article.sales[b-muwyzfo585]{border-top-color:var(--erp-accent, #7c3aed)}.customer-report-kpis article.average[b-muwyzfo585]{border-top-color:#ea580c}.customer-report-kpi__icon[b-muwyzfo585],.customer-report-insights article>span[b-muwyzfo585]{width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center;border-radius:14px;color:#db2777;background:#fce7f3}.customer-report-kpis article.active .customer-report-kpi__icon[b-muwyzfo585]{color:#059669;background:#d1fae5}.customer-report-kpis article.sales .customer-report-kpi__icon[b-muwyzfo585]{color:var(--erp-accent, #7c3aed);background:#ede9fe}.customer-report-kpis article.average .customer-report-kpi__icon[b-muwyzfo585]{color:#ea580c;background:#ffedd5}.customer-report-kpis span[b-muwyzfo585],.customer-report-kpis strong[b-muwyzfo585],.customer-report-kpis small[b-muwyzfo585]{display:block}.customer-report-kpis span[b-muwyzfo585]{color:#64748b;font-size:10px;font-weight:900}.customer-report-kpis strong[b-muwyzfo585]{margin-top:8px;font-size:20px;font-weight:1000}.customer-report-kpis small[b-muwyzfo585]{margin-top:7px;color:#64748b;font-size:9.5px;font-weight:700;line-height:1.7}.customer-report-insights article[b-muwyzfo585]{align-items:center;min-height:112px}.customer-report-insights article>span[b-muwyzfo585]{color:#be185d}.customer-report-insights .debtor>span[b-muwyzfo585]{color:#dc2626;background:#fee2e2}.customer-report-insights .creditor>span[b-muwyzfo585]{color:#059669;background:#d1fae5}.customer-report-insights .inactive>span[b-muwyzfo585]{color:#d97706;background:#fef3c7}.customer-report-insights .new>span[b-muwyzfo585]{color:var(--erp-primary, #2563eb);background:#dbeafe}.customer-report-insights strong[b-muwyzfo585],.customer-report-insights small[b-muwyzfo585]{display:block}.customer-report-insights strong[b-muwyzfo585]{font-size:15px;font-weight:950}.customer-report-insights small[b-muwyzfo585]{margin-top:6px;color:#64748b;font-size:9.5px;font-weight:700}.customer-report-card[b-muwyzfo585]{overflow:hidden;border-radius:24px}.customer-report-card__heading[b-muwyzfo585]{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:19px 20px;border-bottom:1px solid #e7edf4}.customer-report-card__heading span[b-muwyzfo585]{color:#64748b;font-size:9px;font-weight:950;letter-spacing:.04em}.customer-report-card__heading h2[b-muwyzfo585]{margin:5px 0 0;font-size:20px;font-weight:1000}.customer-report-card__heading p[b-muwyzfo585]{margin:6px 0 0;color:#64748b;font-size:10px;font-weight:700}.customer-report-count[b-muwyzfo585]{padding:7px 11px;border-radius:999px;color:#be185d!important;background:#fce7f3}.customer-report-table-wrap[b-muwyzfo585]{width:100%;overflow:auto}.customer-report-table[b-muwyzfo585]{width:100%;min-width:1080px;border-collapse:collapse}.customer-report-table th[b-muwyzfo585],.customer-report-table td[b-muwyzfo585]{padding:13px 12px;border-bottom:1px solid #e8edf4;text-align:right;white-space:nowrap;font-size:10px}.customer-report-table th[b-muwyzfo585]{color:#475569;background:#f8fafc;font-weight:950}.customer-report-table td[b-muwyzfo585]{font-weight:750}.customer-report-table tbody tr:hover[b-muwyzfo585]{background:#fff7fb}.customer-report-table tfoot td[b-muwyzfo585]{background:#f8fafc;font-weight:1000}.name-cell[b-muwyzfo585]{font-weight:950!important}.ltr-cell[b-muwyzfo585]{direction:ltr;text-align:center!important}.number-cell[b-muwyzfo585]{font-variant-numeric:tabular-nums}.customer-balance-badge[b-muwyzfo585],.customer-active-badge[b-muwyzfo585]{display:inline-flex;align-items:center;justify-content:center;min-width:62px;padding:6px 9px;border-radius:999px;font-size:9px;font-weight:950}.customer-balance-badge.debtor[b-muwyzfo585]{color:#b91c1c;background:#fee2e2}.customer-balance-badge.creditor[b-muwyzfo585]{color:#047857;background:#d1fae5}.customer-balance-badge.settled[b-muwyzfo585]{color:#475569;background:#e2e8f0}.customer-active-badge.active[b-muwyzfo585]{color:#047857;background:#d1fae5}.customer-active-badge.inactive[b-muwyzfo585]{color:#9f1239;background:#ffe4e6}.customer-report-empty[b-muwyzfo585]{display:grid;place-items:center;gap:8px;padding:52px;color:#64748b}.customer-report-empty[b-muwyzfo585]  svg{font-size:38px}.customer-print[b-muwyzfo585]{display:none}.operational-fallback[b-muwyzfo585]{padding:26px 28px}.operational-fallback>section[b-muwyzfo585]{padding:28px;border:1px solid #e2e8f0;border-radius:24px;background:#fff}.operational-fallback span[b-muwyzfo585]{color:#64748b;font-size:10px;font-weight:900}.operational-fallback h1[b-muwyzfo585]{margin:7px 0;font-size:28px}.operational-fallback p[b-muwyzfo585]{color:#64748b}.operational-fallback-links[b-muwyzfo585]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:22px}.operational-fallback-links a[b-muwyzfo585]{display:grid;gap:8px;padding:18px;border:1px solid #e2e8f0;border-radius:18px;color:#0f172a}.operational-fallback-links small[b-muwyzfo585]{color:#64748b}@media(max-width:1100px){.customer-report-filter-grid[b-muwyzfo585]{grid-template-columns:1fr 1fr}.customer-report-kpis[b-muwyzfo585],.customer-report-insights[b-muwyzfo585]{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.customer-report-page[b-muwyzfo585]{padding:16px}.customer-report-hero[b-muwyzfo585]{min-height:auto;padding:22px}.customer-report-hero__icon[b-muwyzfo585]{display:none}.customer-report-hero h1[b-muwyzfo585]{font-size:27px}.customer-report-toolbar[b-muwyzfo585]{align-items:stretch;flex-direction:column}.customer-report-toolbar__actions[b-muwyzfo585]{display:grid;grid-template-columns:1fr}.customer-report-filter-grid[b-muwyzfo585],.customer-report-period[b-muwyzfo585],.customer-report-kpis[b-muwyzfo585],.customer-report-insights[b-muwyzfo585]{grid-template-columns:1fr}.customer-report-card__heading[b-muwyzfo585]{align-items:flex-start;flex-direction:column}.operational-fallback-links[b-muwyzfo585]{grid-template-columns:1fr}}:global(.erpdb-dark) .customer-report-page[b-muwyzfo585]{color:#e5edf8}:global(.erpdb-dark) .customer-report-hero[b-muwyzfo585],:global(.erpdb-dark) .customer-report-toolbar[b-muwyzfo585],:global(.erpdb-dark) .customer-report-filter-card[b-muwyzfo585],:global(.erpdb-dark) .customer-report-period[b-muwyzfo585],:global(.erpdb-dark) .customer-report-kpis article[b-muwyzfo585],:global(.erpdb-dark) .customer-report-insights article[b-muwyzfo585],:global(.erpdb-dark) .customer-report-card[b-muwyzfo585]{border-color:rgba(148,163,184,.16);background:rgba(15,23,42,.94);box-shadow:0 18px 42px rgba(0,0,0,.2)}:global(.erpdb-dark) .customer-report-hero[b-muwyzfo585]{background:radial-gradient(circle at 5% 55%,rgba(219,39,119,.16),transparent 235px),linear-gradient(135deg,#111827,#0f172a)}:global(.erpdb-dark) .customer-report-hero h1[b-muwyzfo585],:global(.erpdb-dark) .customer-report-kpis strong[b-muwyzfo585],:global(.erpdb-dark) .customer-report-insights strong[b-muwyzfo585],:global(.erpdb-dark) .customer-report-card__heading h2[b-muwyzfo585],:global(.erpdb-dark) .customer-report-period strong[b-muwyzfo585]{color:#f8fafc}:global(.erpdb-dark) .customer-report-field input[b-muwyzfo585],:global(.erpdb-dark) .customer-report-field select[b-muwyzfo585]{color:#e5edf8;border-color:#334155;background:#111827}:global(.erpdb-dark) .customer-report-btn.secondary[b-muwyzfo585],:global(.erpdb-dark) .customer-report-clear[b-muwyzfo585]{color:#e2e8f0;border-color:#334155;background:#111827}:global(.erpdb-dark) .customer-report-table th[b-muwyzfo585],:global(.erpdb-dark) .customer-report-table tfoot td[b-muwyzfo585]{color:#cbd5e1;background:#111827}:global(.erpdb-dark) .customer-report-table td[b-muwyzfo585]{border-color:#273449}:global(.erpdb-dark) .customer-report-table tbody tr:hover[b-muwyzfo585]{background:#172033}@media print{body *[b-muwyzfo585]{visibility:hidden!important}.customer-print[b-muwyzfo585],.customer-print *[b-muwyzfo585]{visibility:visible!important}.customer-print[b-muwyzfo585]{display:block!important;position:absolute;inset:0;width:100%;padding:10mm;color:#000;background:#fff}.customer-print__header[b-muwyzfo585]{display:flex;justify-content:space-between;gap:20px;padding-bottom:8mm;border-bottom:1px solid #bbb}.customer-print__header h1[b-muwyzfo585]{margin:0;font-size:18pt}.customer-print__header p[b-muwyzfo585]{margin:3mm 0 0;font-size:9pt}.customer-print__header>div:last-child[b-muwyzfo585]{display:grid;gap:2mm;text-align:left;font-size:8pt}.customer-print table[b-muwyzfo585]{width:100%;margin-top:7mm;border-collapse:collapse;font-size:7.5pt}.customer-print th[b-muwyzfo585],.customer-print td[b-muwyzfo585]{padding:2.4mm;border:1px solid #bbb;text-align:right}.customer-print th[b-muwyzfo585]{background:#f1f5f9}@page{size:A4 landscape;margin:8mm}}
/* /Components/Pages/Reports/PayrollTaxReport.razor.rz.scp.css */
.legal-report[b-iuevwug2kr]{display:grid;gap:18px;padding:24px;direction:rtl}.report-hero[b-iuevwug2kr]{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:26px;border-radius:24px;background:linear-gradient(135deg,#111827,#312e81);color:#fff;box-shadow:0 18px 45px #11182726}.report-hero>div:first-child[b-iuevwug2kr]{display:grid;gap:5px}.report-hero span[b-iuevwug2kr]{font-size:12px;opacity:.75}.report-hero h1[b-iuevwug2kr]{margin:2px 0;font-size:28px}.report-hero p[b-iuevwug2kr]{margin:0;opacity:.8}.back-link[b-iuevwug2kr]{color:#fff;text-decoration:none;font-size:12px;opacity:.9}.actions[b-iuevwug2kr]{display:flex;gap:8px;flex-wrap:wrap}.actions button[b-iuevwug2kr]{border:1px solid #ffffff40;background:#ffffff16;color:#fff;border-radius:12px;padding:10px 14px;cursor:pointer}.actions button:hover[b-iuevwug2kr]{background:#ffffff25}.actions button:disabled[b-iuevwug2kr]{opacity:.5;cursor:not-allowed}.print-meta[b-iuevwug2kr]{display:none}.filters[b-iuevwug2kr]{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;padding:16px;background:var(--mud-palette-surface,#fff);border:1px solid #e5e7eb;border-radius:18px}.filters label[b-iuevwug2kr]{display:grid;gap:7px;font-size:12px;color:#64748b}.filters input[b-iuevwug2kr],.filters select[b-iuevwug2kr]{height:42px;border:1px solid #dbe2ea;border-radius:10px;padding:0 11px;background:transparent;color:inherit}.kpis[b-iuevwug2kr]{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.kpis article[b-iuevwug2kr]{padding:18px;border:1px solid #e5e7eb;border-radius:18px;background:var(--mud-palette-surface,#fff);display:grid;gap:9px;min-height:90px}.kpis span[b-iuevwug2kr]{font-size:12px;color:#64748b}.kpis strong[b-iuevwug2kr]{font-size:21px}.kpis .primary[b-iuevwug2kr]{background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;border:0}.kpis .primary span[b-iuevwug2kr]{color:#ffffffc7}.table-card[b-iuevwug2kr]{overflow:auto;border:1px solid #e5e7eb;border-radius:18px;background:var(--mud-palette-surface,#fff)}table[b-iuevwug2kr]{width:100%;border-collapse:collapse;min-width:900px}th[b-iuevwug2kr],td[b-iuevwug2kr]{padding:13px 14px;border-bottom:1px solid #eef2f7;text-align:right;white-space:nowrap}th[b-iuevwug2kr]{font-size:12px;color:#64748b;background:#f8fafc;position:sticky;top:0}td[b-iuevwug2kr]{font-size:13px}td a[b-iuevwug2kr]{color:#4f46e5;text-decoration:none;font-weight:700}.state[b-iuevwug2kr]{padding:45px;text-align:center;border:1px dashed #cbd5e1;border-radius:18px}.state.error[b-iuevwug2kr]{color:#b91c1c}.danger[b-iuevwug2kr]{color:#b91c1c;font-weight:700}.executive-grid[b-iuevwug2kr]{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}.executive-grid article[b-iuevwug2kr]{padding:20px;border:1px solid #e5e7eb;border-radius:18px;background:var(--mud-palette-surface,#fff)}.executive-grid h3[b-iuevwug2kr]{margin-top:0}.executive-grid div[b-iuevwug2kr]{display:flex;justify-content:space-between;padding:11px 0;border-bottom:1px solid #eef2f7}.export-summary[b-iuevwug2kr]{max-width:760px}@media(max-width:760px){.legal-report[b-iuevwug2kr]{padding:12px}.report-hero[b-iuevwug2kr]{align-items:flex-start;flex-direction:column}.report-hero h1[b-iuevwug2kr]{font-size:22px}.actions[b-iuevwug2kr]{width:100%}.actions button[b-iuevwug2kr]{flex:1}.filters[b-iuevwug2kr]{grid-template-columns:1fr}}

@page{size:A4 landscape;margin:8mm}
@media print{
    html[b-iuevwug2kr],body[b-iuevwug2kr]{margin:0!important;padding:0!important;background:#fff!important;color:#111!important;font-family:Tahoma,"Segoe UI",sans-serif!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
    body *[b-iuevwug2kr]{visibility:hidden!important}
    .legal-report[b-iuevwug2kr],.legal-report *[b-iuevwug2kr]{visibility:visible!important}
    .legal-report[b-iuevwug2kr]{position:absolute!important;inset:0!important;width:100%!important;display:block!important;padding:0!important;margin:0!important;direction:rtl!important;color:#111!important;background:#fff!important}
    .no-print[b-iuevwug2kr],.filters[b-iuevwug2kr],.actions[b-iuevwug2kr],.back-link[b-iuevwug2kr],.state[b-iuevwug2kr]{display:none!important}
    .report-hero[b-iuevwug2kr]{display:block!important;margin:0 0 3mm!important;padding:0 0 2.5mm!important;min-height:0!important;height:auto!important;border:0!important;border-bottom:1.5px solid #111!important;border-radius:0!important;background:#fff!important;color:#111!important;box-shadow:none!important}
    .report-hero>div:first-child[b-iuevwug2kr]{display:block!important}
    .report-hero span[b-iuevwug2kr],.report-hero p[b-iuevwug2kr]{display:none!important}
    .report-hero h1[b-iuevwug2kr]{margin:0!important;padding:0!important;font-size:15pt!important;line-height:1.35!important;font-weight:800!important;color:#111!important}
    .print-meta[b-iuevwug2kr]{display:grid!important;grid-template-columns:1.25fr 1fr 1fr!important;align-items:center!important;gap:3mm!important;margin:0 0 3mm!important;padding:2mm 2.5mm!important;min-height:0!important;border:1px solid #aeb8c4!important;border-radius:2mm!important;background:#f4f7fa!important;color:#111!important;font-size:8.5pt!important;line-height:1.5!important}
    .print-meta strong[b-iuevwug2kr],.print-meta span[b-iuevwug2kr]{display:block!important;margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
    .kpis[b-iuevwug2kr]{display:none!important}
    .table-card[b-iuevwug2kr]{display:block!important;width:100%!important;margin:0!important;padding:0!important;overflow:visible!important;border:1px solid #8d99a6!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
    table[b-iuevwug2kr]{width:100%!important;min-width:0!important;table-layout:auto!important;border-collapse:collapse!important;border-spacing:0!important;font-size:7.5pt!important;color:#111!important}
    thead[b-iuevwug2kr]{display:table-header-group!important}
    tfoot[b-iuevwug2kr]{display:table-footer-group!important}
    tr[b-iuevwug2kr]{break-inside:avoid!important;page-break-inside:avoid!important}
    th[b-iuevwug2kr],td[b-iuevwug2kr]{padding:1.6mm 1.4mm!important;border:1px solid #b8c1cb!important;text-align:right!important;vertical-align:middle!important;white-space:nowrap!important;line-height:1.35!important;background:#fff!important;color:#111!important}
    th[b-iuevwug2kr]{position:static!important;font-size:7.5pt!important;font-weight:800!important;background:#e9eef4!important}
    td[b-iuevwug2kr]{font-size:7.3pt!important}
    .danger[b-iuevwug2kr]{color:#111!important;font-weight:700!important}
    .executive-grid[b-iuevwug2kr],.export-summary[b-iuevwug2kr]{display:none!important}
    .legal-report[b-iuevwug2kr]::after{content:"ERPPlus — تاریخ چاپ: " attr(data-print-date);position:fixed;right:0;bottom:-5mm;font-size:7pt;color:#666}
}
/* /Components/Pages/Reports/ProductTradePerformanceReport.razor.rz.scp.css */
.trade-report-page[b-op8vu3e2wp]{display:grid;gap:18px;padding:24px;color:#172033}.trade-hero[b-op8vu3e2wp]{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px;border-radius:24px;color:#fff;background:linear-gradient(135deg,#312e81,#0f766e)}.trade-hero a[b-op8vu3e2wp]{color:#c7d2fe;font-size:.8rem}.trade-hero>div>span[b-op8vu3e2wp]{display:block;margin-top:9px;font-size:.72rem;font-weight:900;opacity:.75}.trade-hero h1[b-op8vu3e2wp]{margin:7px 0;font-size:1.75rem}.trade-hero p[b-op8vu3e2wp]{margin:0;opacity:.82}.hero-actions[b-op8vu3e2wp]{display:flex;gap:9px;flex-wrap:wrap}.hero-actions button[b-op8vu3e2wp],.run[b-op8vu3e2wp],.movement-card header button[b-op8vu3e2wp]{min-height:42px;padding:0 15px;border:1px solid #ffffff44;border-radius:11px;color:#fff;background:#ffffff18;font:inherit;font-weight:900;cursor:pointer}.filters[b-op8vu3e2wp]{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr)) minmax(240px,1.5fr) auto;gap:12px;align-items:end;padding:17px;border:1px solid #e2e8f0;border-radius:18px;background:#fff}.filters label[b-op8vu3e2wp]{display:grid;gap:7px}.filters span[b-op8vu3e2wp]{color:#64748b;font-size:.78rem;font-weight:850}.filters :deep(.input)[b-op8vu3e2wp],.filters input[b-op8vu3e2wp],.filters select[b-op8vu3e2wp]{width:100%;min-height:43px;padding:8px 11px;border:1px solid #d7e1ed;border-radius:10px;background:#fff;font:inherit}.run[b-op8vu3e2wp]{color:#fff;background:#0f766e}.state[b-op8vu3e2wp]{padding:32px;border-radius:18px;text-align:center;color:#64748b;background:#fff}.state.error[b-op8vu3e2wp]{color:#be123c;background:#fff1f2}.kpis[b-op8vu3e2wp]{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.kpis article[b-op8vu3e2wp]{display:grid;gap:8px;padding:17px;border:1px solid #e2e8f0;border-radius:17px;background:#fff}.kpis span[b-op8vu3e2wp]{color:#64748b;font-size:.75rem}.kpis strong[b-op8vu3e2wp]{font-size:1.12rem}.kpis .profit strong[b-op8vu3e2wp]{color:#047857}.report-card[b-op8vu3e2wp]{overflow:hidden;border:1px solid #e2e8f0;border-radius:20px;background:#fff;box-shadow:0 12px 35px #0f172a0b}.report-card>header[b-op8vu3e2wp]{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid #edf2f7}.report-card header span[b-op8vu3e2wp]{font-size:.68rem;font-weight:900;color:#6366f1}.report-card h2[b-op8vu3e2wp]{margin:5px 0;font-size:1.12rem}.report-card p[b-op8vu3e2wp]{margin:0;color:#64748b;font-size:.78rem}.report-card header>strong[b-op8vu3e2wp]{color:#0f766e}.movement-card header button[b-op8vu3e2wp]{color:#475569;border-color:#d7e1ed;background:#f8fafc}.table-wrap[b-op8vu3e2wp]{overflow:auto}table[b-op8vu3e2wp]{width:100%;min-width:1450px;border-collapse:collapse}th[b-op8vu3e2wp],td[b-op8vu3e2wp]{padding:11px 10px;border-bottom:1px solid #edf2f7;text-align:right;white-space:nowrap;font-size:.76rem}th[b-op8vu3e2wp]{color:#64748b;background:#f8fafc;font-weight:900}td strong[b-op8vu3e2wp],td small[b-op8vu3e2wp]{display:block}td small[b-op8vu3e2wp]{margin-top:4px;color:#94a3b8}.ltr[b-op8vu3e2wp]{direction:ltr;text-align:center}.clickable[b-op8vu3e2wp]{cursor:pointer}.clickable:hover[b-op8vu3e2wp],.clickable.selected[b-op8vu3e2wp]{background:#f0fdfa}.type[b-op8vu3e2wp],.movement[b-op8vu3e2wp]{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:.68rem;font-weight:900}.type.product[b-op8vu3e2wp],.movement.purchase[b-op8vu3e2wp]{color:#1d4ed8;background:#dbeafe}.type.service[b-op8vu3e2wp],.movement.sale[b-op8vu3e2wp]{color:#047857;background:#d1fae5}.positive[b-op8vu3e2wp]{color:#047857;font-weight:900}.negative[b-op8vu3e2wp]{color:#be123c;font-weight:900}tfoot td[b-op8vu3e2wp]{background:#f8fafc;font-weight:950}@media(max-width:1100px){.filters[b-op8vu3e2wp]{grid-template-columns:repeat(3,1fr)}.kpis[b-op8vu3e2wp]{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.trade-report-page[b-op8vu3e2wp]{padding:12px}.trade-hero[b-op8vu3e2wp]{align-items:flex-start;flex-direction:column}.filters[b-op8vu3e2wp],.kpis[b-op8vu3e2wp]{grid-template-columns:1fr}}@media print{.no-print[b-op8vu3e2wp]{display:none!important}.trade-report-page[b-op8vu3e2wp]{display:block;padding:0}.report-card[b-op8vu3e2wp]{border:0;box-shadow:none}.report-card>header[b-op8vu3e2wp]{padding:0 0 6mm}.table-wrap[b-op8vu3e2wp]{overflow:visible}table[b-op8vu3e2wp]{min-width:0;font-size:7pt}th[b-op8vu3e2wp],td[b-op8vu3e2wp]{padding:1.5mm;font-size:6.6pt}@page{size:A4 landscape;margin:8mm}}

.trade-print-root[b-op8vu3e2wp]{display:grid;gap:18px}
.filter-heading[b-op8vu3e2wp]{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:12px;border-bottom:1px solid #edf2f7}.filter-heading span[b-op8vu3e2wp]{color:#0f766e;font-size:.68rem;font-weight:950;letter-spacing:.08em}.filter-heading h2[b-op8vu3e2wp]{margin:4px 0 0;font-size:1rem}.filter-grid[b-op8vu3e2wp]{grid-column:1/-1;display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:12px;align-items:end}.clear-filters[b-op8vu3e2wp]{min-height:38px;padding:0 13px;border:1px solid #d7e1ed;border-radius:10px;color:#475569;background:#f8fafc;font:inherit;font-size:.76rem;font-weight:900;cursor:pointer}.filter-grid .search[b-op8vu3e2wp]{grid-column:span 2}

@media(max-width:1100px){.filter-grid[b-op8vu3e2wp]{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.filter-heading[b-op8vu3e2wp]{align-items:flex-start;flex-direction:column}.filter-grid[b-op8vu3e2wp]{grid-template-columns:1fr}.filter-grid .search[b-op8vu3e2wp]{grid-column:auto}}

@media print{
    .trade-print-root[b-op8vu3e2wp]{display:block}
    .report-card[b-op8vu3e2wp]{overflow:visible;break-inside:auto}
    .movement-card[b-op8vu3e2wp]{margin-top:8mm;break-before:page}
    table[b-op8vu3e2wp]{page-break-inside:auto}
    thead[b-op8vu3e2wp]{display:table-header-group}
    tfoot[b-op8vu3e2wp]{display:table-row-group}
    tr[b-op8vu3e2wp]{break-inside:avoid;page-break-inside:avoid}
}

.filters[b-op8vu3e2wp]{
    display:block;
    padding:0;
    overflow:hidden;
    border:1px solid #dce5ef;
    border-radius:24px;
    background:
        radial-gradient(circle at 95% 0,#ccfbf155,transparent 260px),
        #fff;
    box-shadow:0 14px 38px rgba(15,23,42,.08);
}

.filter-heading[b-op8vu3e2wp]{
    padding:20px 22px;
    border-bottom:1px solid #e7edf4;
    background:linear-gradient(90deg,#f8fafc,#f0fdfa);
}

.filter-heading span[b-op8vu3e2wp]{
    color:#0f766e;
}

.filter-heading h2[b-op8vu3e2wp]{
    margin-top:6px;
    color:#0f172a;
    font-size:1.12rem;
}

.filter-grid[b-op8vu3e2wp]{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
    padding:20px 22px 22px;
}

.filter-grid label[b-op8vu3e2wp]{
    min-width:0;
    display:grid;
    gap:8px;
    padding:12px;
    border:1px solid #e3eaf2;
    border-radius:15px;
    background:#fbfdff;
    transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}

.filter-grid label:focus-within[b-op8vu3e2wp]{
    border-color:#2dd4bf;
    background:#fff;
    box-shadow:0 0 0 4px rgba(20,184,166,.1);
}

.filter-grid label>span[b-op8vu3e2wp]{
    color:#64748b;
    font-size:.72rem;
    font-weight:900;
}

.filter-grid input[b-op8vu3e2wp],
.filter-grid select[b-op8vu3e2wp]{
    width:100%;
    min-width:0;
    height:43px;
    padding:0 12px;
    border:1px solid #cfd9e6;
    border-radius:11px;
    outline:0;
    color:#0f172a;
    background:#fff;
    font:inherit;
    font-size:.82rem;
    font-weight:800;
}

.filter-grid input:hover[b-op8vu3e2wp],
.filter-grid select:hover[b-op8vu3e2wp]{
    border-color:#94a3b8;
}

.filter-grid input:focus[b-op8vu3e2wp],
.filter-grid select:focus[b-op8vu3e2wp]{
    border-color:#14b8a6;
}

.filter-grid label[b-op8vu3e2wp]  input{
    width:100%;
    min-width:0;
    height:43px;
    padding:0 12px;
    border:1px solid #cfd9e6;
    border-radius:11px;
    outline:0;
    color:#0f172a;
    background:#fff;
    font:inherit;
    font-size:.82rem;
    font-weight:800;
}

.filter-grid .search[b-op8vu3e2wp]{
    grid-column:span 2;
}

.filter-grid .run[b-op8vu3e2wp]{
    min-height:69px;
    align-self:stretch;
    border:0;
    border-radius:15px;
    color:#fff;
    background:linear-gradient(135deg,#0f766e,#0891b2);
    box-shadow:0 12px 24px rgba(15,118,110,.2);
}

.clear-filters[b-op8vu3e2wp]{
    min-height:40px;
    padding:0 14px;
    border-color:#cbd5e1;
    color:#334155;
    background:#fff;
}

@media(max-width:1150px){
    .filter-grid[b-op8vu3e2wp]{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:820px){
    .filter-grid[b-op8vu3e2wp]{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:560px){
    .filter-grid[b-op8vu3e2wp]{grid-template-columns:1fr;padding:16px}
    .filter-grid .search[b-op8vu3e2wp]{grid-column:auto}
}

:global(.erpdb-dark) .filters[b-op8vu3e2wp]{
    border-color:#334155;
    background:linear-gradient(135deg,#111827,#0f172a);
}

:global(.erpdb-dark) .filter-heading[b-op8vu3e2wp]{
    border-color:#334155;
    background:#111827;
}

:global(.erpdb-dark) .filter-heading h2[b-op8vu3e2wp]{
    color:#f8fafc;
}

:global(.erpdb-dark) .filter-grid label[b-op8vu3e2wp]{
    border-color:#334155;
    background:#111827;
}

:global(.erpdb-dark) .filter-grid input[b-op8vu3e2wp],
:global(.erpdb-dark) .filter-grid select[b-op8vu3e2wp]{
    color:#e5edf8;
    border-color:#475569;
    background:#0f172a;
}

.filter-grid .filter-field[b-op8vu3e2wp]{
    min-height:92px!important;
    padding:12px 13px!important;
}

.filter-grid .filter-control[b-op8vu3e2wp],
.filter-grid[b-op8vu3e2wp]  .filter-control{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    height:48px!important;
    min-height:48px!important;
    margin:0!important;
    padding:0 14px!important;
    border:1px solid #cbd7e5!important;
    border-radius:12px!important;
    outline:0!important;
    color:#0f172a!important;
    background-color:#fff!important;
    font-family:inherit!important;
    font-size:.84rem!important;
    font-weight:850!important;
    line-height:48px!important;
    box-shadow:inset 0 1px 2px rgba(15,23,42,.03)!important;
    appearance:auto!important;
}

.filter-grid .filter-control:focus[b-op8vu3e2wp],
.filter-grid[b-op8vu3e2wp]  .filter-control:focus{
    border-color:#0d9488!important;
    box-shadow:0 0 0 4px rgba(13,148,136,.12)!important;
}

.filter-grid .search[b-op8vu3e2wp]{
    grid-column:span 3!important;
    min-height:104px!important;
}

.search-box[b-op8vu3e2wp]{
    position:relative;
}

.search-box>b[b-op8vu3e2wp]{
    position:absolute;
    top:50%;
    right:15px;
    z-index:2;
    color:#0f766e;
    font-size:1.25rem;
    transform:translateY(-50%);
    pointer-events:none;
}

.filter-grid .filter-search-control[b-op8vu3e2wp]{
    height:56px!important;
    min-height:56px!important;
    padding-right:46px!important;
    padding-left:44px!important;
    border-width:2px!important;
    border-color:#99d5cf!important;
    border-radius:15px!important;
    font-size:.92rem!important;
    line-height:56px!important;
    background:linear-gradient(180deg,#fff,#f8fffe)!important;
}

.search-box>button[b-op8vu3e2wp]{
    position:absolute;
    top:50%;
    left:10px;
    z-index:2;
    width:34px;
    height:34px;
    padding:0;
    border:0;
    border-radius:10px;
    color:#64748b;
    background:#eef2f7;
    font:inherit;
    font-size:1.15rem;
    font-weight:900;
    cursor:pointer;
    transform:translateY(-50%);
}

@media(max-width:820px){
    .filter-grid .search[b-op8vu3e2wp]{grid-column:1/-1!important}
}

:global(.erpdb-dark) .filter-grid .filter-control[b-op8vu3e2wp],
:global(.erpdb-dark) .filter-grid[b-op8vu3e2wp]  .filter-control{
    color:#e5edf8!important;
    border-color:#475569!important;
    background:#0f172a!important;
}
/* /Components/Pages/Reports/ProfitLossManagementReport.razor.rz.scp.css */
.profit-management-page[b-op6e20kr6t] {
    width: 100%;
    display: grid;
    gap: 16px;
    padding: 26px 28px 32px;
    direction: rtl;
    color: #0f172a;
}

.profit-management-page *[b-op6e20kr6t],
.profit-management-page *[b-op6e20kr6t]::before,
.profit-management-page *[b-op6e20kr6t]::after {
    box-sizing: border-box;
}

.profit-management-page a[b-op6e20kr6t] {
    text-decoration: none;
}

.profit-hero[b-op6e20kr6t],
.profit-toolbar[b-op6e20kr6t],
.profit-filter-card[b-op6e20kr6t],
.profit-period-card[b-op6e20kr6t],
.profit-kpi[b-op6e20kr6t],
.profit-statement-card[b-op6e20kr6t],
.profit-analysis-card[b-op6e20kr6t],
.profit-state[b-op6e20kr6t] {
    border: 1px solid rgba(148, 163, 184, .2);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 16px 40px rgba(15, 23, 42, .065);
}

.profit-hero[b-op6e20kr6t] {
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 28px 34px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 5% 55%, rgba(16, 185, 129, .17), transparent 230px),
        radial-gradient(circle at 96% 5%, rgba(45, 212, 191, .11), transparent 250px),
        linear-gradient(135deg, #ffffff, #f2fffb);
    overflow: hidden;
}

.profit-hero-copy[b-op6e20kr6t] {
    min-width: 0;
}

.profit-back-link[b-op6e20kr6t] {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    color: #475569;
    font-size: 11px;
    font-weight: 900;
}

.profit-back-link:hover[b-op6e20kr6t] {
    color: #059669;
}

.profit-eyebrow[b-op6e20kr6t] {
    display: block;
    margin-bottom: 8px;
    color: #059669;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .04em;
}

.profit-hero h1[b-op6e20kr6t] {
    margin: 0;
    color: #0f172a;
    font-size: 37px;
    line-height: 1.25;
    font-weight: 1000;
}

.profit-hero p[b-op6e20kr6t] {
    max-width: 720px;
    margin: 10px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.9;
    font-weight: 700;
}

.profit-hero-icon[b-op6e20kr6t] {
    width: 92px;
    height: 92px;
    flex: 0 0 92px;
    display: grid;
    place-items: center;
    border-radius: 27px;
    color: #fff;
    background: linear-gradient(135deg, #059669, #10b981);
    box-shadow: 0 20px 38px rgba(5, 150, 105, .25);
    font-size: 43px;
    font-weight: 900;
}

.profit-toolbar[b-op6e20kr6t] {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border-radius: 22px;
}

.profit-toolbar-copy strong[b-op6e20kr6t],
.profit-toolbar-copy span[b-op6e20kr6t] {
    display: block;
}

.profit-toolbar-copy strong[b-op6e20kr6t] {
    font-size: 14px;
    font-weight: 950;
}

.profit-toolbar-copy span[b-op6e20kr6t] {
    margin-top: 4px;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
}

.profit-toolbar-actions[b-op6e20kr6t] {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.profit-btn[b-op6e20kr6t],
.profit-apply-button[b-op6e20kr6t] {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 12px;
    font: inherit;
    font-size: 11.5px;
    font-weight: 900;
    cursor: pointer;
    transition: .16s ease;
}

.profit-btn:disabled[b-op6e20kr6t],
.profit-apply-button:disabled[b-op6e20kr6t] {
    opacity: .55;
    cursor: not-allowed;
}

.profit-btn.primary[b-op6e20kr6t],
.profit-apply-button[b-op6e20kr6t] {
    color: #fff;
    border-color: #059669;
    background: linear-gradient(135deg, #059669, #10b981);
    box-shadow: 0 9px 20px rgba(5, 150, 105, .18);
}

.profit-btn.secondary[b-op6e20kr6t] {
    color: #334155;
    border-color: #d7e0eb;
    background: #fff;
}

.profit-btn.export[b-op6e20kr6t] {
    color: #047857;
    border-color: #a7f3d0;
    background: #ecfdf5;
}

.profit-btn:hover:not(:disabled)[b-op6e20kr6t],
.profit-apply-button:hover:not(:disabled)[b-op6e20kr6t] {
    transform: translateY(-1px);
}

.profit-filter-card[b-op6e20kr6t] {
    padding: 18px;
    border-radius: 22px;
}

.profit-filter-grid[b-op6e20kr6t] {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr)) auto;
    gap: 13px;
    align-items: end;
}

.profit-field[b-op6e20kr6t] {
    display: grid;
    gap: 7px;
}

.profit-field span[b-op6e20kr6t] {
    color: #475569;
    font-size: 10.5px;
    font-weight: 900;
}

.profit-field input[b-op6e20kr6t] {
    width: 100%;
    min-height: 45px;
    padding: 0 13px;
    border: 1px solid #d8e1ec;
    border-radius: 12px;
    outline: 0;
    color: #0f172a;
    background: #f8fafc;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
}

.profit-field input:focus[b-op6e20kr6t] {
    border-color: #34d399;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, .1);
}

.profit-alert[b-op6e20kr6t] {
    margin-top: 12px;
    padding: 11px 13px;
    border: 1px solid #fecaca;
    border-radius: 12px;
    color: #b91c1c;
    background: #fff1f2;
    font-size: 11px;
    font-weight: 800;
}

.profit-state[b-op6e20kr6t] {
    padding: 48px 24px;
    border-radius: 24px;
    text-align: center;
}

.profit-state.error[b-op6e20kr6t] {
    color: #b91c1c;
    border-color: #fecaca;
    background: #fff1f2;
}

.profit-state p[b-op6e20kr6t] {
    margin: 9px 0 16px;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}

.profit-spinner[b-op6e20kr6t] {
    width: 40px;
    height: 40px;
    margin: 0 auto 13px;
    border: 4px solid #d1fae5;
    border-top-color: #059669;
    border-radius: 50%;
    animation: profit-spin-b-op6e20kr6t .75s linear infinite;
}

@keyframes profit-spin-b-op6e20kr6t {
    to { transform: rotate(360deg); }
}

.profit-period-card[b-op6e20kr6t] {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 18px;
    border-radius: 20px;
}

.profit-period-card span[b-op6e20kr6t],
.profit-period-card strong[b-op6e20kr6t] {
    display: block;
}

.profit-period-card span[b-op6e20kr6t] {
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
}

.profit-period-card strong[b-op6e20kr6t] {
    margin-top: 5px;
    font-size: 13px;
    font-weight: 950;
}

.profit-result-badge[b-op6e20kr6t] {
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 950;
}

.profit-result-badge.positive[b-op6e20kr6t] {
    color: #047857;
    background: #d1fae5;
}

.profit-result-badge.negative[b-op6e20kr6t] {
    color: #b91c1c;
    background: #fee2e2;
}

.profit-kpi-grid[b-op6e20kr6t] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.profit-kpi[b-op6e20kr6t] {
    min-height: 128px;
    padding: 18px;
    border-radius: 20px;
}

.profit-kpi.revenue[b-op6e20kr6t] {
    border-top: 3px solid var(--erp-primary, #2563eb);
}

.profit-kpi.net-sales[b-op6e20kr6t] {
    border-top: 3px solid var(--erp-primary, #6366f1);
}

.profit-kpi.gross[b-op6e20kr6t],
.profit-kpi.profit[b-op6e20kr6t] {
    border-top: 3px solid #10b981;
}

.profit-kpi.loss[b-op6e20kr6t] {
    border-top: 3px solid #ef4444;
}

.profit-kpi span[b-op6e20kr6t] {
    color: #64748b;
    font-size: 10.5px;
    font-weight: 900;
}

.profit-kpi strong[b-op6e20kr6t] {
    display: block;
    margin-top: 13px;
    color: #0f172a;
    font-size: 22px;
    font-weight: 1000;
}

.profit-kpi small[b-op6e20kr6t] {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-size: 9.5px;
    font-weight: 700;
}

.profit-content-grid[b-op6e20kr6t] {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, .75fr);
    gap: 16px;
    align-items: start;
}

.profit-statement-card[b-op6e20kr6t],
.profit-analysis-card[b-op6e20kr6t] {
    border-radius: 24px;
    overflow: hidden;
}

.profit-analysis-card[b-op6e20kr6t] {
    position: sticky;
    top: 14px;
}

.profit-card-header[b-op6e20kr6t] {
    min-height: 72px;
    display: flex;
    align-items: center;
    padding: 16px 19px;
    border-bottom: 1px solid #e7edf4;
    background: linear-gradient(180deg, #fff, #fbfcfe);
}

.profit-card-header span[b-op6e20kr6t] {
    color: #64748b;
    font-size: 9.5px;
    font-weight: 900;
}

.profit-card-header h2[b-op6e20kr6t] {
    margin: 5px 0 0;
    font-size: 18px;
    font-weight: 1000;
}

.profit-lines[b-op6e20kr6t] {
    padding: 8px 18px 18px;
}

.profit-line[b-op6e20kr6t] {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 5px;
    border-bottom: 1px solid #edf1f6;
}

.profit-line span[b-op6e20kr6t] {
    color: #475569;
    font-size: 11.5px;
    font-weight: 850;
}

.profit-line strong[b-op6e20kr6t] {
    direction: ltr;
    color: #0f172a;
    font-size: 12.5px;
    font-weight: 1000;
    white-space: nowrap;
}

.profit-line.deduction strong[b-op6e20kr6t] {
    color: #b45309;
}

.profit-line.subtotal[b-op6e20kr6t] {
    margin: 0 -4px;
    padding-inline: 12px;
    border-radius: 12px;
    background: #f8fafc;
}

.profit-line.subtotal strong[b-op6e20kr6t] {
    color: #4338ca;
}

.profit-line.final[b-op6e20kr6t] {
    margin-top: 12px;
    padding: 17px;
    border: 0;
    border-radius: 15px;
}

.profit-line.final span[b-op6e20kr6t],
.profit-line.final strong[b-op6e20kr6t] {
    color: #fff;
}

.profit-line.final.positive[b-op6e20kr6t] {
    background: linear-gradient(135deg, #059669, #10b981);
}

.profit-line.final.negative[b-op6e20kr6t] {
    background: linear-gradient(135deg, #dc2626, #f43f5e);
}

.profit-analysis-body[b-op6e20kr6t] {
    padding: 6px 18px 18px;
}

.profit-metric[b-op6e20kr6t] {
    padding: 13px 0;
}

.profit-metric > div[b-op6e20kr6t] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.profit-metric span[b-op6e20kr6t],
.profit-metric strong[b-op6e20kr6t] {
    font-size: 10.5px;
    font-weight: 900;
}

.profit-metric span[b-op6e20kr6t] {
    color: #475569;
}

.profit-metric > i[b-op6e20kr6t] {
    height: 8px;
    display: block;
    margin-top: 9px;
    border-radius: 999px;
    overflow: hidden;
    background: #e2e8f0;
}

.profit-metric > i > b[b-op6e20kr6t] {
    height: 100%;
    display: block;
    border-radius: inherit;
    background: linear-gradient(90deg, #059669, #34d399);
}

.profit-insight[b-op6e20kr6t] {
    margin-top: 12px;
    padding: 14px;
    border-radius: 14px;
}

.profit-insight.positive[b-op6e20kr6t] {
    color: #047857;
    border: 1px solid #a7f3d0;
    background: #ecfdf5;
}

.profit-insight.negative[b-op6e20kr6t] {
    color: #b91c1c;
    border: 1px solid #fecaca;
    background: #fff1f2;
}

.profit-insight strong[b-op6e20kr6t] {
    font-size: 11px;
    font-weight: 950;
}

.profit-insight p[b-op6e20kr6t] {
    margin: 6px 0 0;
    font-size: 10px;
    line-height: 1.8;
    font-weight: 700;
}

.profit-print-report[b-op6e20kr6t] {
    display: none;
}

@page {
    size: A4 portrait;
    margin: 12mm;
}

@media print {
    html[b-op6e20kr6t],
    body[b-op6e20kr6t] {
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #fff !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .profit-print-report[b-op6e20kr6t] {
        display: block !important;
        width: 100% !important;
        color: #111827 !important;
        background: #fff !important;
        direction: rtl !important;
        font-family: Tahoma, Arial, sans-serif !important;
    }

    .profit-print-report > .erp-organization-report-identity[b-op6e20kr6t] {
        margin-bottom: 5mm !important;
    }

    .profit-print-header[b-op6e20kr6t] {
        display: flex !important;
        align-items: flex-end !important;
        justify-content: space-between !important;
        gap: 10mm !important;
        margin-bottom: 5mm !important;
        padding-bottom: 3mm !important;
        border-bottom: 1.5px solid #111827 !important;
        break-after: avoid-page !important;
    }

    .profit-print-header h1[b-op6e20kr6t] {
        margin: 0 0 1mm !important;
        font-size: 17pt !important;
        font-weight: 900 !important;
    }

    .profit-print-header p[b-op6e20kr6t],
    .profit-print-header span[b-op6e20kr6t] {
        margin: 0 !important;
        color: #334155 !important;
        font-size: 8pt !important;
        font-weight: 700 !important;
    }

    .profit-print-meta[b-op6e20kr6t] {
        display: grid !important;
        gap: 1mm !important;
        text-align: left !important;
    }

    .profit-print-meta strong[b-op6e20kr6t] {
        font-size: 10pt !important;
    }

    .profit-print-table[b-op6e20kr6t] {
        width: 100% !important;
        border-collapse: collapse !important;
        table-layout: fixed !important;
        font-size: 9pt !important;
    }

    .profit-print-table thead[b-op6e20kr6t] {
        display: table-header-group !important;
    }

    .profit-print-table tr[b-op6e20kr6t] {
        break-inside: avoid-page !important;
        page-break-inside: avoid !important;
    }

    .profit-print-table th[b-op6e20kr6t],
    .profit-print-table td[b-op6e20kr6t] {
        padding: 3mm !important;
        border: 1px solid #cbd5e1 !important;
        text-align: right !important;
        vertical-align: middle !important;
    }

    .profit-print-table th[b-op6e20kr6t] {
        color: #111827 !important;
        background: #eaf0f6 !important;
        font-weight: 900 !important;
    }

    .profit-print-table td:nth-child(2)[b-op6e20kr6t],
    .profit-print-table th:nth-child(2)[b-op6e20kr6t] {
        width: 30% !important;
        direction: ltr !important;
        text-align: left !important;
        font-variant-numeric: tabular-nums !important;
    }

    .profit-print-table td:nth-child(3)[b-op6e20kr6t],
    .profit-print-table th:nth-child(3)[b-op6e20kr6t] {
        width: 23% !important;
    }

    .profit-print-table tr.subtotal td[b-op6e20kr6t] {
        background: #f1f5f9 !important;
        font-weight: 900 !important;
    }

    .profit-print-table tfoot td[b-op6e20kr6t] {
        color: #fff !important;
        font-size: 10pt !important;
        font-weight: 900 !important;
    }

    .profit-print-table tfoot tr.positive td[b-op6e20kr6t] {
        background: #059669 !important;
    }

    .profit-print-table tfoot tr.negative td[b-op6e20kr6t] {
        background: #dc2626 !important;
    }

    .profit-print-footer[b-op6e20kr6t] {
        display: flex !important;
        justify-content: space-between !important;
        gap: 10mm !important;
        margin-top: 5mm !important;
        padding-top: 2mm !important;
        border-top: 1px solid #cbd5e1 !important;
        color: #475569 !important;
        font-size: 7pt !important;
    }
}

@media (max-width: 1050px) {
    .profit-kpi-grid[b-op6e20kr6t] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profit-content-grid[b-op6e20kr6t] {
        grid-template-columns: 1fr;
    }

    .profit-analysis-card[b-op6e20kr6t] {
        position: static;
    }
}

@media (max-width: 760px) {
    .profit-management-page[b-op6e20kr6t] {
        padding: 16px;
    }

    .profit-hero[b-op6e20kr6t] {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px;
    }

    .profit-hero-icon[b-op6e20kr6t] {
        width: 68px;
        height: 68px;
        flex-basis: 68px;
        border-radius: 20px;
        font-size: 32px;
    }

    .profit-hero h1[b-op6e20kr6t] {
        font-size: 29px;
    }

    .profit-toolbar[b-op6e20kr6t] {
        align-items: stretch;
        flex-direction: column;
    }

    .profit-toolbar-actions[b-op6e20kr6t] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .profit-filter-grid[b-op6e20kr6t],
    .profit-kpi-grid[b-op6e20kr6t] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Reports/PurchaseManagementReport.razor.rz.scp.css */
.purchase-report-page[b-ysajixzd4j] {
    --surface: #fff;
    --border: #dbe5f2;
    --text: #0f1f3d;
    --muted: #6d7d97;
    display: grid;
    gap: 20px;
    min-height: 100%;
    padding: 28px;
    color: var(--text);
    background:
        radial-gradient(circle at 8% 3%, rgba(234,88,12,.09), transparent 24%),
        linear-gradient(180deg,#f4f7fd 0%,#edf3fb 100%);
}

.purchase-report-hero[b-ysajixzd4j],
.filter-panel[b-ysajixzd4j],
.report-panel[b-ysajixzd4j],
.table-panel[b-ysajixzd4j],
.error-panel[b-ysajixzd4j],
.loading-panel[b-ysajixzd4j] {
    border: 1px solid var(--border);
    background: rgba(255,255,255,.96);
    box-shadow: 0 16px 42px rgba(31,55,96,.07);
}

.purchase-report-hero[b-ysajixzd4j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 27px 30px;
    border-radius: 27px;
}

.back-button[b-ysajixzd4j] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
    padding: 0;
    border: 0;
    color: #64748b;
    background: transparent;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}
.back-button[b-ysajixzd4j]  svg { font-size: 17px; }
.eyebrow[b-ysajixzd4j] { color:#ea580c; font-size:12px; font-weight:1000; }
.purchase-report-hero h1[b-ysajixzd4j] { margin:6px 0; font-size:clamp(27px,3vw,40px); line-height:1.25; font-weight:1000; }
.purchase-report-hero p[b-ysajixzd4j] { margin:0; color:var(--muted); font-size:14px; font-weight:750; }
.hero-actions[b-ysajixzd4j] { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.hero-actions button[b-ysajixzd4j],
.apply-button[b-ysajixzd4j],
.clear-button[b-ysajixzd4j] {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-height:44px;
    padding:10px 15px;
    border-radius:14px;
    font:inherit;
    font-size:12px;
    font-weight:950;
    cursor:pointer;
    transition:.2s ease;
}
.hero-actions button[b-ysajixzd4j]  svg,.apply-button[b-ysajixzd4j]  svg { font-size:19px; }
.primary-action[b-ysajixzd4j] { border:1px solid #ea580c; color:#fff; background:linear-gradient(135deg,#4b65f2,#7039ed); box-shadow:0 10px 22px rgba(234,88,12,.22); }
.secondary-action[b-ysajixzd4j] { border:1px solid #cad6e7; color:#263955; background:#fff; }
.hero-actions button:hover:not(:disabled)[b-ysajixzd4j],.apply-button:hover[b-ysajixzd4j],.clear-button:hover[b-ysajixzd4j] { transform:translateY(-2px); }
button:disabled[b-ysajixzd4j] { opacity:.5; cursor:not-allowed; }

.filter-panel[b-ysajixzd4j] { padding:21px; border-radius:23px; }
.filter-title[b-ysajixzd4j] { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-bottom:16px; }
.filter-title h2[b-ysajixzd4j],.panel-heading h2[b-ysajixzd4j] { margin:0 0 4px; font-size:19px; font-weight:1000; }
.filter-title p[b-ysajixzd4j],.panel-heading p[b-ysajixzd4j] { margin:0; color:var(--muted); font-size:12px; font-weight:700; }
.filter-title[b-ysajixzd4j] >  svg { color:#ea580c; font-size:27px; }
.filters-grid[b-ysajixzd4j] { display:grid; grid-template-columns:1fr 1fr 1fr 1.5fr auto auto; align-items:end; gap:11px; }
.field[b-ysajixzd4j] { display:grid; gap:7px; }
.field span[b-ysajixzd4j] { color:#3d4f69; font-size:11px; font-weight:900; }
.field input[b-ysajixzd4j],.field select[b-ysajixzd4j] {
    width:100%;
    min-height:45px;
    padding:10px 13px;
    border:1px solid #cfdaea;
    border-radius:13px;
    outline:none;
    background:#fbfdff;
    color:#17233a;
    font:inherit;
    font-size:12px;
    font-weight:800;
}
.field input:focus[b-ysajixzd4j],.field select:focus[b-ysajixzd4j] { border-color:#8173ef; box-shadow:0 0 0 3px rgba(234,88,12,.09); }
.apply-button[b-ysajixzd4j] { border:1px solid #ea580c; color:#fff; background:#ea580c; }
.clear-button[b-ysajixzd4j] { border:1px solid #cbd7e7; color:#42526b; background:#fff; }
.validation-message[b-ysajixzd4j] { margin-top:12px; padding:11px 13px; border:1px solid #fed7aa; border-radius:12px; color:#9a3412; background:#fff7ed; font-size:12px; font-weight:850; }
.error-panel[b-ysajixzd4j] { display:flex; align-items:center; gap:10px; padding:14px 17px; border-color:#fecaca; border-radius:16px; color:#991b1b; background:#fff7f7; font-size:12px; font-weight:850; }
.error-panel button[b-ysajixzd4j] { margin-inline-start:auto; padding:7px 12px; border:1px solid #ef4444; border-radius:10px; color:#991b1b; background:#fff; font:inherit; font-weight:900; cursor:pointer; }

.print-root[b-ysajixzd4j] { display:grid; gap:18px; }
.print-header[b-ysajixzd4j] { display:none; }
.loading-panel[b-ysajixzd4j] { display:grid; place-items:center; gap:13px; min-height:220px; border-radius:24px; color:#64748b; }
.spinner[b-ysajixzd4j] { width:38px; height:38px; border:4px solid #e2e8f0; border-top-color:#ea580c; border-radius:50%; animation:spin-b-ysajixzd4j .8s linear infinite; }
@keyframes spin-b-ysajixzd4j { to { transform:rotate(360deg); } }

.kpi-grid[b-ysajixzd4j] { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.kpi-card[b-ysajixzd4j] { --accent:#ea580c; --soft:#efedff; display:flex; align-items:center; gap:14px; min-height:112px; padding:18px; border:1px solid var(--border); border-radius:21px; background:#fff; box-shadow:0 12px 32px rgba(31,55,96,.06); }
.kpi-icon[b-ysajixzd4j] { display:grid; place-items:center; width:54px; height:54px; flex:0 0 auto; border-radius:17px; color:var(--accent); background:var(--soft); }
.kpi-icon[b-ysajixzd4j]  svg { font-size:28px; }
.kpi-card div[b-ysajixzd4j] { display:grid; gap:3px; min-width:0; }
.kpi-card div > span[b-ysajixzd4j] { color:#61718a; font-size:11px; font-weight:900; }
.kpi-card strong[b-ysajixzd4j] { overflow-wrap:anywhere; font-size:20px; font-weight:1000; }
.kpi-card small[b-ysajixzd4j] { color:#94a3b8; font-size:10px; font-weight:750; }
.kpi-card.green[b-ysajixzd4j] { --accent:#059669; --soft:#e8f8f2; }
.kpi-card.blue[b-ysajixzd4j] { --accent:var(--erp-primary, #2563eb); --soft:#eaf1ff; }
.kpi-card.orange[b-ysajixzd4j] { --accent:#ea650e; --soft:#fff0e5; }
.kpi-card.cyan[b-ysajixzd4j] { --accent:#0891b2; --soft:#e6f8fb; }
.kpi-card.red[b-ysajixzd4j] { --accent:#dc304d; --soft:#ffecef; }

.analytics-grid[b-ysajixzd4j] { display:grid; grid-template-columns:minmax(0,1.75fr) minmax(320px,.85fr); gap:15px; }
.analytics-grid.secondary[b-ysajixzd4j] { grid-template-columns:1fr 1fr; }
.report-panel[b-ysajixzd4j] { min-width:0; padding:20px; border-radius:23px; }
.panel-heading[b-ysajixzd4j] { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:16px; }
.panel-heading > span[b-ysajixzd4j] { padding:6px 10px; border-radius:999px; color:#ea580c; background:#efedff; font-size:10px; font-weight:900; }
.bar-chart[b-ysajixzd4j] { display:flex; align-items:stretch; gap:7px; height:230px; padding-top:24px; overflow-x:auto; }
.bar-column[b-ysajixzd4j] { display:grid; grid-template-rows:18px minmax(120px,1fr) 20px; align-items:end; justify-items:center; min-width:32px; flex:1 0 32px; gap:4px; }
.bar-value[b-ysajixzd4j] { color:#64748b; font-size:8px; font-weight:900; }
.bar-track[b-ysajixzd4j] { position:relative; width:13px; height:100%; overflow:hidden; border-radius:999px; background:#edf2f8; }
.bar[b-ysajixzd4j] { position:absolute; inset:auto 0 0; min-height:0; border-radius:999px; background:linear-gradient(180deg,#7864ef,#4f62e9); }
.bar-column > span[b-ysajixzd4j] { color:#7b8ba3; font-size:8px; font-weight:800; direction:ltr; }
.empty-chart[b-ysajixzd4j],.panel-empty[b-ysajixzd4j] { display:grid; place-items:center; min-height:170px; color:#8a98ad; font-size:12px; font-weight:800; }
.donut-wrap[b-ysajixzd4j] { display:grid; grid-template-columns:150px minmax(0,1fr); align-items:center; gap:20px; }
.donut[b-ysajixzd4j] { --paid:0%; width:142px; height:142px; display:grid; place-items:center; border-radius:50%; background:conic-gradient(#16a47d 0 var(--paid),#e9eef5 var(--paid) 100%); }
.donut[b-ysajixzd4j]::before { content:""; grid-area:1/1; width:94px; height:94px; border-radius:50%; background:#fff; }
.donut > div[b-ysajixzd4j] { z-index:1; display:grid; place-items:center; gap:2px; }
.donut strong[b-ysajixzd4j] { font-size:22px; font-weight:1000; }
.donut span[b-ysajixzd4j] { color:#7b8ba3; font-size:10px; font-weight:850; }
.legend-list[b-ysajixzd4j] { display:grid; gap:10px; }
.legend-list > div[b-ysajixzd4j] { display:grid; grid-template-columns:10px minmax(0,1fr) auto; align-items:center; gap:8px; padding:9px; border-radius:11px; background:#f8fafc; font-size:10px; font-weight:850; }
.dot[b-ysajixzd4j] { width:8px; height:8px; border-radius:50%; }
.dot.paid[b-ysajixzd4j] { background:#16a47d; }.dot.remaining[b-ysajixzd4j] { background:#f59e0b; }.dot.discount[b-ysajixzd4j] { background:#ef4444; }
.ranking-list[b-ysajixzd4j],.status-bars[b-ysajixzd4j] { display:grid; gap:10px; }
.ranking-row[b-ysajixzd4j] { display:grid; grid-template-columns:35px minmax(0,1fr) auto; align-items:center; gap:10px; padding:11px; border:1px solid #e4eaf3; border-radius:13px; background:#fbfcff; }
.rank[b-ysajixzd4j] { display:grid; place-items:center; width:31px; height:31px; border-radius:10px; color:#ea580c; background:#eeebff; font-weight:1000; }
.ranking-row div[b-ysajixzd4j] { display:grid; gap:2px; }.ranking-row div strong[b-ysajixzd4j] { font-size:12px; }.ranking-row div small[b-ysajixzd4j] { color:#8a98ad; font-size:9px; }.ranking-row > span:last-child[b-ysajixzd4j] { color:#17233a; font-size:11px; font-weight:1000; }
.status-bar-row[b-ysajixzd4j] { display:grid; gap:6px; }
.status-bar-row > div:first-child[b-ysajixzd4j] { display:flex; align-items:center; justify-content:space-between; font-size:11px; font-weight:900; }
.progress[b-ysajixzd4j] { height:7px; overflow:hidden; border-radius:999px; background:#eef2f7; }.progress span[b-ysajixzd4j] { display:block; height:100%; border-radius:inherit; }.progress .paid[b-ysajixzd4j] { background:#16a47d; }.progress .partial[b-ysajixzd4j] { background:#f59e0b; }.progress .unpaid[b-ysajixzd4j] { background:#ef4444; }
.status-bar-row small[b-ysajixzd4j] { color:#8795aa; font-size:9px; font-weight:750; }

.table-panel[b-ysajixzd4j] { padding:0; overflow:hidden; border-radius:23px; }
.table-heading[b-ysajixzd4j] { align-items:center; margin:0; padding:20px 21px; border-bottom:1px solid #e1e8f2; }
.table-heading > strong[b-ysajixzd4j] { color:#059669; font-size:13px; font-weight:1000; }
.table-scroll[b-ysajixzd4j] { width:100%; overflow:auto; }
table[b-ysajixzd4j] { width:100%; min-width:1100px; border-collapse:collapse; }
th[b-ysajixzd4j],td[b-ysajixzd4j] { padding:13px 10px; border-bottom:1px solid #e8edf4; text-align:center; font-size:10px; white-space:nowrap; }
th[b-ysajixzd4j] { color:#52637c; background:#f7f9fc; font-weight:1000; }
td[b-ysajixzd4j] { color:#26364f; font-weight:750; }
tbody tr:hover[b-ysajixzd4j] { background:#fafbff; }
.number-cell[b-ysajixzd4j] { direction:ltr; font-weight:950; }.amount-cell[b-ysajixzd4j] { color:#1d4ed8; font-weight:1000; }.paid-cell[b-ysajixzd4j] { color:#047857; font-weight:1000; }.remaining-cell[b-ysajixzd4j] { color:#b45309; font-weight:1000; }
.status-badge[b-ysajixzd4j] { display:inline-flex; justify-content:center; min-width:78px; padding:5px 8px; border-radius:999px; font-size:9px; font-weight:950; }.status-badge.paid[b-ysajixzd4j] { color:#047857; background:#dcfce7; }.status-badge.partial[b-ysajixzd4j] { color:#a16207; background:#fef3c7; }.status-badge.unpaid[b-ysajixzd4j] { color:#b91c1c; background:#fee2e2; }
tfoot td[b-ysajixzd4j] { border-top:2px solid #d8e1ed; border-bottom:0; background:#f8fafc; font-weight:1000; }
.table-empty[b-ysajixzd4j] { display:grid; place-items:center; gap:10px; min-height:230px; color:#8492a8; }.table-empty[b-ysajixzd4j]  svg { font-size:42px; }

@media (max-width:1250px) { .filters-grid[b-ysajixzd4j] { grid-template-columns:repeat(3,minmax(0,1fr)); }.kpi-grid[b-ysajixzd4j] { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:900px) { .purchase-report-page[b-ysajixzd4j] { padding:16px; }.purchase-report-hero[b-ysajixzd4j] { align-items:flex-start; flex-direction:column; }.analytics-grid[b-ysajixzd4j],.analytics-grid.secondary[b-ysajixzd4j] { grid-template-columns:1fr; }.filters-grid[b-ysajixzd4j] { grid-template-columns:1fr 1fr; } }
@media (max-width:620px) { .purchase-report-page[b-ysajixzd4j] { padding:10px; gap:13px; }.purchase-report-hero[b-ysajixzd4j],.filter-panel[b-ysajixzd4j],.report-panel[b-ysajixzd4j] { padding:16px; border-radius:19px; }.filters-grid[b-ysajixzd4j],.kpi-grid[b-ysajixzd4j] { grid-template-columns:1fr; }.hero-actions[b-ysajixzd4j] { width:100%; }.hero-actions button[b-ysajixzd4j] { flex:1; }.donut-wrap[b-ysajixzd4j] { grid-template-columns:1fr; justify-items:center; } }

.purchase-table-print-report[b-ysajixzd4j] {
    display: none;
}

.purchase-table-print-report[b-ysajixzd4j] {
    display: none;
}

@page {
    size: A4 landscape;
    margin: 7mm;
}

@media print {
    html[b-ysajixzd4j],
    body[b-ysajixzd4j] {
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #fff !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .purchase-table-print-report[b-ysajixzd4j] {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        color: #111827 !important;
        background: #fff !important;
        direction: rtl !important;
        font-family: Tahoma, Arial, sans-serif !important;
    }

    .purchase-table-print-header[b-ysajixzd4j] {
        display: flex !important;
        align-items: flex-end !important;
        justify-content: space-between !important;
        gap: 8mm !important;
        margin: 0 0 4mm !important;
        padding: 0 0 3mm !important;
        border-bottom: 1.5px solid #111827 !important;
        break-after: avoid-page !important;
        page-break-after: avoid !important;
    }

    .purchase-table-print-header > div[b-ysajixzd4j] {
        min-width: 0 !important;
    }

    .purchase-table-print-header h1[b-ysajixzd4j] {
        margin: 0 0 1mm !important;
        color: #111827 !important;
        font-size: 16pt !important;
        line-height: 1.35 !important;
        font-weight: 900 !important;
    }

    .purchase-table-print-header p[b-ysajixzd4j],
    .purchase-table-print-header span[b-ysajixzd4j] {
        margin: 0 !important;
        color: #334155 !important;
        font-size: 8pt !important;
        line-height: 1.5 !important;
        font-weight: 700 !important;
    }

    .purchase-table-print-meta[b-ysajixzd4j] {
        display: grid !important;
        gap: 1mm !important;
        text-align: left !important;
        white-space: nowrap !important;
    }

    .purchase-table-print-meta strong[b-ysajixzd4j] {
        color: #111827 !important;
        font-size: 10pt !important;
        font-weight: 900 !important;
    }

    .purchase-table-print[b-ysajixzd4j] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        table-layout: fixed !important;
        border-spacing: 0 !important;
        border-collapse: collapse !important;
        direction: rtl !important;
        font-size: 7.5pt !important;
    }

    .purchase-table-print thead[b-ysajixzd4j] {
        display: table-header-group !important;
    }

    .purchase-table-print tfoot[b-ysajixzd4j] {
        display: table-footer-group !important;
    }

    .purchase-table-print tbody[b-ysajixzd4j] {
        display: table-row-group !important;
    }

    .purchase-table-print tr[b-ysajixzd4j] {
        break-inside: avoid-page !important;
        page-break-inside: avoid !important;
    }

    .purchase-table-print th[b-ysajixzd4j],
    .purchase-table-print td[b-ysajixzd4j] {
        height: auto !important;
        min-height: 0 !important;
        padding: 2mm 1.2mm !important;
        border: 1px solid #b8c4d3 !important;
        color: #111827 !important;
        line-height: 1.4 !important;
        text-align: center !important;
        vertical-align: middle !important;
        white-space: nowrap !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .purchase-table-print th[b-ysajixzd4j] {
        background: #eaf0f6 !important;
        font-size: 7.2pt !important;
        font-weight: 900 !important;
    }

    .purchase-table-print td[b-ysajixzd4j] {
        background: #fff !important;
        font-weight: 700 !important;
    }

    .purchase-table-print tbody tr:nth-child(even) td[b-ysajixzd4j] {
        background: #f8fafc !important;
    }

    .purchase-table-print tfoot td[b-ysajixzd4j] {
        background: #e7edf4 !important;
        font-size: 7.3pt !important;
        font-weight: 900 !important;
    }

    /*
       ستون‌های چاپ:
       1 ردیف
       2 شماره فاکتور
       3 تاریخ
       4 تأمین‌کننده
       5 انبار
       6 جمع کالاها
       7 تخفیف              مخفی
       8 مالیات             مخفی
       9 هزینه‌های جانبی    مخفی
       10 مبلغ نهایی
       11 پرداخت‌شده
       12 مانده پرداخت
       13 وضعیت پرداخت
       14 وضعیت انبار       مخفی
    */
    .purchase-table-print th:nth-child(7)[b-ysajixzd4j],
    .purchase-table-print td:nth-child(7)[b-ysajixzd4j],
    .purchase-table-print th:nth-child(8)[b-ysajixzd4j],
    .purchase-table-print td:nth-child(8)[b-ysajixzd4j],
    .purchase-table-print th:nth-child(9)[b-ysajixzd4j],
    .purchase-table-print td:nth-child(9)[b-ysajixzd4j],
    .purchase-table-print th:nth-child(14)[b-ysajixzd4j],
    .purchase-table-print td:nth-child(14)[b-ysajixzd4j] {
        display: none !important;
    }

    .purchase-table-print th:nth-child(1)[b-ysajixzd4j],
    .purchase-table-print td:nth-child(1)[b-ysajixzd4j] {
        width: 4% !important;
    }

    .purchase-table-print th:nth-child(2)[b-ysajixzd4j],
    .purchase-table-print td:nth-child(2)[b-ysajixzd4j] {
        width: 11% !important;
        direction: ltr !important;
        font-variant-numeric: tabular-nums !important;
    }

    .purchase-table-print th:nth-child(3)[b-ysajixzd4j],
    .purchase-table-print td:nth-child(3)[b-ysajixzd4j] {
        width: 9% !important;
        direction: ltr !important;
        font-variant-numeric: tabular-nums !important;
    }

    .purchase-table-print th:nth-child(4)[b-ysajixzd4j],
    .purchase-table-print td:nth-child(4)[b-ysajixzd4j] {
        width: 16% !important;
    }

    .purchase-table-print th:nth-child(5)[b-ysajixzd4j],
    .purchase-table-print td:nth-child(5)[b-ysajixzd4j] {
        width: 10% !important;
    }

    .purchase-table-print th:nth-child(6)[b-ysajixzd4j],
    .purchase-table-print td:nth-child(6)[b-ysajixzd4j] {
        width: 11% !important;
        direction: ltr !important;
        font-variant-numeric: tabular-nums !important;
    }

    .purchase-table-print th:nth-child(10)[b-ysajixzd4j],
    .purchase-table-print td:nth-child(10)[b-ysajixzd4j] {
        width: 12% !important;
        direction: ltr !important;
        font-variant-numeric: tabular-nums !important;
    }

    .purchase-table-print th:nth-child(11)[b-ysajixzd4j],
    .purchase-table-print td:nth-child(11)[b-ysajixzd4j] {
        width: 10% !important;
        direction: ltr !important;
        font-variant-numeric: tabular-nums !important;
    }

    .purchase-table-print th:nth-child(12)[b-ysajixzd4j],
    .purchase-table-print td:nth-child(12)[b-ysajixzd4j] {
        width: 10% !important;
        direction: ltr !important;
        font-variant-numeric: tabular-nums !important;
    }

    .purchase-table-print th:nth-child(13)[b-ysajixzd4j],
    .purchase-table-print td:nth-child(13)[b-ysajixzd4j] {
        width: 7% !important;
        white-space: normal !important;
        line-height: 1.3 !important;
    }

    .print-ltr[b-ysajixzd4j] {
        direction: ltr !important;
        font-variant-numeric: tabular-nums !important;
    }

    .purchase-table-print-footer[b-ysajixzd4j] {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8mm !important;
        margin: 4mm 0 0 !important;
        padding: 2.5mm 0 0 !important;
        border-top: 1px solid #b8c4d3 !important;
        color: #475569 !important;
        font-size: 7pt !important;
        line-height: 1.5 !important;
    }
}
/* /Components/Pages/Reports/SalesManagementReport.razor.rz.scp.css */
.sales-report-page[b-n1vyglzega] {
    --surface: #fff;
    --border: #dbe5f2;
    --text: #0f1f3d;
    --muted: #6d7d97;
    display: grid;
    gap: 20px;
    min-height: 100%;
    padding: 28px;
    color: var(--text);
    background:
        radial-gradient(circle at 8% 3%, rgba(91,70,235,.09), transparent 24%),
        linear-gradient(180deg,#f4f7fd 0%,#edf3fb 100%);
}

.sales-report-hero[b-n1vyglzega],
.filter-panel[b-n1vyglzega],
.report-panel[b-n1vyglzega],
.table-panel[b-n1vyglzega],
.error-panel[b-n1vyglzega],
.loading-panel[b-n1vyglzega] {
    border: 1px solid var(--border);
    background: rgba(255,255,255,.96);
    box-shadow: 0 16px 42px rgba(31,55,96,.07);
}

.sales-report-hero[b-n1vyglzega] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 27px 30px;
    border-radius: 27px;
}

.back-button[b-n1vyglzega] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
    padding: 0;
    border: 0;
    color: #64748b;
    background: transparent;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}
.back-button[b-n1vyglzega]  svg { font-size: 17px; }
.eyebrow[b-n1vyglzega] { color:#5b46eb; font-size:12px; font-weight:1000; }
.sales-report-hero h1[b-n1vyglzega] { margin:6px 0; font-size:clamp(27px,3vw,40px); line-height:1.25; font-weight:1000; }
.sales-report-hero p[b-n1vyglzega] { margin:0; color:var(--muted); font-size:14px; font-weight:750; }
.hero-actions[b-n1vyglzega] { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.hero-actions button[b-n1vyglzega],
.apply-button[b-n1vyglzega],
.clear-button[b-n1vyglzega] {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-height:44px;
    padding:10px 15px;
    border-radius:14px;
    font:inherit;
    font-size:12px;
    font-weight:950;
    cursor:pointer;
    transition:.2s ease;
}
.hero-actions button[b-n1vyglzega]  svg,.apply-button[b-n1vyglzega]  svg { font-size:19px; }
.primary-action[b-n1vyglzega] { border:1px solid #5b46eb; color:#fff; background:linear-gradient(135deg,#4b65f2,#7039ed); box-shadow:0 10px 22px rgba(91,70,235,.22); }
.secondary-action[b-n1vyglzega] { border:1px solid #cad6e7; color:#263955; background:#fff; }
.hero-actions button:hover:not(:disabled)[b-n1vyglzega],.apply-button:hover[b-n1vyglzega],.clear-button:hover[b-n1vyglzega] { transform:translateY(-2px); }
button:disabled[b-n1vyglzega] { opacity:.5; cursor:not-allowed; }

.filter-panel[b-n1vyglzega] { padding:21px; border-radius:23px; }
.filter-title[b-n1vyglzega] { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-bottom:16px; }
.filter-title h2[b-n1vyglzega],.panel-heading h2[b-n1vyglzega] { margin:0 0 4px; font-size:19px; font-weight:1000; }
.filter-title p[b-n1vyglzega],.panel-heading p[b-n1vyglzega] { margin:0; color:var(--muted); font-size:12px; font-weight:700; }
.filter-title[b-n1vyglzega] >  svg { color:#5b46eb; font-size:27px; }
.filters-grid[b-n1vyglzega] { display:grid; grid-template-columns:1fr 1fr 1fr 1.5fr auto auto; align-items:end; gap:11px; }
.field[b-n1vyglzega] { display:grid; gap:7px; }
.field span[b-n1vyglzega] { color:#3d4f69; font-size:11px; font-weight:900; }
.field input[b-n1vyglzega],.field select[b-n1vyglzega] {
    width:100%;
    min-height:45px;
    padding:10px 13px;
    border:1px solid #cfdaea;
    border-radius:13px;
    outline:none;
    background:#fbfdff;
    color:#17233a;
    font:inherit;
    font-size:12px;
    font-weight:800;
}
.field input:focus[b-n1vyglzega],.field select:focus[b-n1vyglzega] { border-color:#8173ef; box-shadow:0 0 0 3px rgba(91,70,235,.09); }
.apply-button[b-n1vyglzega] { border:1px solid #5b46eb; color:#fff; background:#5b46eb; }
.clear-button[b-n1vyglzega] { border:1px solid #cbd7e7; color:#42526b; background:#fff; }
.validation-message[b-n1vyglzega] { margin-top:12px; padding:11px 13px; border:1px solid #fed7aa; border-radius:12px; color:#9a3412; background:#fff7ed; font-size:12px; font-weight:850; }
.error-panel[b-n1vyglzega] { display:flex; align-items:center; gap:10px; padding:14px 17px; border-color:#fecaca; border-radius:16px; color:#991b1b; background:#fff7f7; font-size:12px; font-weight:850; }
.error-panel button[b-n1vyglzega] { margin-inline-start:auto; padding:7px 12px; border:1px solid #ef4444; border-radius:10px; color:#991b1b; background:#fff; font:inherit; font-weight:900; cursor:pointer; }

.print-root[b-n1vyglzega] { display:grid; gap:18px; }
.print-header[b-n1vyglzega] { display:none; }
.loading-panel[b-n1vyglzega] { display:grid; place-items:center; gap:13px; min-height:220px; border-radius:24px; color:#64748b; }
.spinner[b-n1vyglzega] { width:38px; height:38px; border:4px solid #e2e8f0; border-top-color:#5b46eb; border-radius:50%; animation:spin-b-n1vyglzega .8s linear infinite; }
@keyframes spin-b-n1vyglzega { to { transform:rotate(360deg); } }

.kpi-grid[b-n1vyglzega] { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.kpi-card[b-n1vyglzega] { --accent:#5b46eb; --soft:#efedff; display:flex; align-items:center; gap:14px; min-height:112px; padding:18px; border:1px solid var(--border); border-radius:21px; background:#fff; box-shadow:0 12px 32px rgba(31,55,96,.06); }
.kpi-icon[b-n1vyglzega] { display:grid; place-items:center; width:54px; height:54px; flex:0 0 auto; border-radius:17px; color:var(--accent); background:var(--soft); }
.kpi-icon[b-n1vyglzega]  svg { font-size:28px; }
.kpi-card div[b-n1vyglzega] { display:grid; gap:3px; min-width:0; }
.kpi-card div > span[b-n1vyglzega] { color:#61718a; font-size:11px; font-weight:900; }
.kpi-card strong[b-n1vyglzega] { overflow-wrap:anywhere; font-size:20px; font-weight:1000; }
.kpi-card small[b-n1vyglzega] { color:#94a3b8; font-size:10px; font-weight:750; }
.kpi-card.green[b-n1vyglzega] { --accent:#059669; --soft:#e8f8f2; }
.kpi-card.blue[b-n1vyglzega] { --accent:var(--erp-primary, #2563eb); --soft:#eaf1ff; }
.kpi-card.orange[b-n1vyglzega] { --accent:#ea650e; --soft:#fff0e5; }
.kpi-card.cyan[b-n1vyglzega] { --accent:#0891b2; --soft:#e6f8fb; }
.kpi-card.red[b-n1vyglzega] { --accent:#dc304d; --soft:#ffecef; }

.analytics-grid[b-n1vyglzega] { display:grid; grid-template-columns:minmax(0,1.75fr) minmax(320px,.85fr); gap:15px; }
.analytics-grid.secondary[b-n1vyglzega] { grid-template-columns:1fr 1fr; }
.report-panel[b-n1vyglzega] { min-width:0; padding:20px; border-radius:23px; }
.panel-heading[b-n1vyglzega] { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:16px; }
.panel-heading > span[b-n1vyglzega] { padding:6px 10px; border-radius:999px; color:#5b46eb; background:#efedff; font-size:10px; font-weight:900; }
.bar-chart[b-n1vyglzega] { display:flex; align-items:stretch; gap:7px; height:230px; padding-top:24px; overflow-x:auto; }
.bar-column[b-n1vyglzega] { display:grid; grid-template-rows:18px minmax(120px,1fr) 20px; align-items:end; justify-items:center; min-width:32px; flex:1 0 32px; gap:4px; }
.bar-value[b-n1vyglzega] { color:#64748b; font-size:8px; font-weight:900; }
.bar-track[b-n1vyglzega] { position:relative; width:13px; height:100%; overflow:hidden; border-radius:999px; background:#edf2f8; }
.bar[b-n1vyglzega] { position:absolute; inset:auto 0 0; min-height:0; border-radius:999px; background:linear-gradient(180deg,#7864ef,#4f62e9); }
.bar-column > span[b-n1vyglzega] { color:#7b8ba3; font-size:8px; font-weight:800; direction:ltr; }
.empty-chart[b-n1vyglzega],.panel-empty[b-n1vyglzega] { display:grid; place-items:center; min-height:170px; color:#8a98ad; font-size:12px; font-weight:800; }
.donut-wrap[b-n1vyglzega] { display:grid; grid-template-columns:150px minmax(0,1fr); align-items:center; gap:20px; }
.donut[b-n1vyglzega] { --paid:0%; width:142px; height:142px; display:grid; place-items:center; border-radius:50%; background:conic-gradient(#16a47d 0 var(--paid),#e9eef5 var(--paid) 100%); }
.donut[b-n1vyglzega]::before { content:""; grid-area:1/1; width:94px; height:94px; border-radius:50%; background:#fff; }
.donut > div[b-n1vyglzega] { z-index:1; display:grid; place-items:center; gap:2px; }
.donut strong[b-n1vyglzega] { font-size:22px; font-weight:1000; }
.donut span[b-n1vyglzega] { color:#7b8ba3; font-size:10px; font-weight:850; }
.legend-list[b-n1vyglzega] { display:grid; gap:10px; }
.legend-list > div[b-n1vyglzega] { display:grid; grid-template-columns:10px minmax(0,1fr) auto; align-items:center; gap:8px; padding:9px; border-radius:11px; background:#f8fafc; font-size:10px; font-weight:850; }
.dot[b-n1vyglzega] { width:8px; height:8px; border-radius:50%; }
.dot.paid[b-n1vyglzega] { background:#16a47d; }.dot.remaining[b-n1vyglzega] { background:#f59e0b; }.dot.discount[b-n1vyglzega] { background:#ef4444; }
.ranking-list[b-n1vyglzega],.status-bars[b-n1vyglzega] { display:grid; gap:10px; }
.ranking-row[b-n1vyglzega] { display:grid; grid-template-columns:35px minmax(0,1fr) auto; align-items:center; gap:10px; padding:11px; border:1px solid #e4eaf3; border-radius:13px; background:#fbfcff; }
.rank[b-n1vyglzega] { display:grid; place-items:center; width:31px; height:31px; border-radius:10px; color:#5b46eb; background:#eeebff; font-weight:1000; }
.ranking-row div[b-n1vyglzega] { display:grid; gap:2px; }.ranking-row div strong[b-n1vyglzega] { font-size:12px; }.ranking-row div small[b-n1vyglzega] { color:#8a98ad; font-size:9px; }.ranking-row > span:last-child[b-n1vyglzega] { color:#17233a; font-size:11px; font-weight:1000; }
.status-bar-row[b-n1vyglzega] { display:grid; gap:6px; }
.status-bar-row > div:first-child[b-n1vyglzega] { display:flex; align-items:center; justify-content:space-between; font-size:11px; font-weight:900; }
.progress[b-n1vyglzega] { height:7px; overflow:hidden; border-radius:999px; background:#eef2f7; }.progress span[b-n1vyglzega] { display:block; height:100%; border-radius:inherit; }.progress .paid[b-n1vyglzega] { background:#16a47d; }.progress .partial[b-n1vyglzega] { background:#f59e0b; }.progress .unpaid[b-n1vyglzega] { background:#ef4444; }
.status-bar-row small[b-n1vyglzega] { color:#8795aa; font-size:9px; font-weight:750; }

.table-panel[b-n1vyglzega] { padding:0; overflow:hidden; border-radius:23px; }
.table-heading[b-n1vyglzega] { align-items:center; margin:0; padding:20px 21px; border-bottom:1px solid #e1e8f2; }
.table-heading > strong[b-n1vyglzega] { color:#059669; font-size:13px; font-weight:1000; }
.table-scroll[b-n1vyglzega] { width:100%; overflow:auto; }
table[b-n1vyglzega] { width:100%; min-width:1100px; border-collapse:collapse; }
th[b-n1vyglzega],td[b-n1vyglzega] { padding:13px 10px; border-bottom:1px solid #e8edf4; text-align:center; font-size:10px; white-space:nowrap; }
th[b-n1vyglzega] { color:#52637c; background:#f7f9fc; font-weight:1000; }
td[b-n1vyglzega] { color:#26364f; font-weight:750; }
tbody tr:hover[b-n1vyglzega] { background:#fafbff; }
.number-cell[b-n1vyglzega] { direction:ltr; font-weight:950; }.amount-cell[b-n1vyglzega] { color:#1d4ed8; font-weight:1000; }.paid-cell[b-n1vyglzega] { color:#047857; font-weight:1000; }.remaining-cell[b-n1vyglzega] { color:#b45309; font-weight:1000; }
.status-badge[b-n1vyglzega] { display:inline-flex; justify-content:center; min-width:78px; padding:5px 8px; border-radius:999px; font-size:9px; font-weight:950; }.status-badge.paid[b-n1vyglzega] { color:#047857; background:#dcfce7; }.status-badge.partial[b-n1vyglzega] { color:#a16207; background:#fef3c7; }.status-badge.unpaid[b-n1vyglzega] { color:#b91c1c; background:#fee2e2; }
tfoot td[b-n1vyglzega] { border-top:2px solid #d8e1ed; border-bottom:0; background:#f8fafc; font-weight:1000; }
.table-empty[b-n1vyglzega] { display:grid; place-items:center; gap:10px; min-height:230px; color:#8492a8; }.table-empty[b-n1vyglzega]  svg { font-size:42px; }

@media (max-width:1250px) { .filters-grid[b-n1vyglzega] { grid-template-columns:repeat(3,minmax(0,1fr)); }.kpi-grid[b-n1vyglzega] { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:900px) { .sales-report-page[b-n1vyglzega] { padding:16px; }.sales-report-hero[b-n1vyglzega] { align-items:flex-start; flex-direction:column; }.analytics-grid[b-n1vyglzega],.analytics-grid.secondary[b-n1vyglzega] { grid-template-columns:1fr; }.filters-grid[b-n1vyglzega] { grid-template-columns:1fr 1fr; } }
@media (max-width:620px) { .sales-report-page[b-n1vyglzega] { padding:10px; gap:13px; }.sales-report-hero[b-n1vyglzega],.filter-panel[b-n1vyglzega],.report-panel[b-n1vyglzega] { padding:16px; border-radius:19px; }.filters-grid[b-n1vyglzega],.kpi-grid[b-n1vyglzega] { grid-template-columns:1fr; }.hero-actions[b-n1vyglzega] { width:100%; }.hero-actions button[b-n1vyglzega] { flex:1; }.donut-wrap[b-n1vyglzega] { grid-template-columns:1fr; justify-items:center; } }

.sales-table-print-report[b-n1vyglzega] {
    display: none;
}

@page {
    size: A4 landscape;
    margin: 8mm;
}

@media print {
    html[b-n1vyglzega],
    body[b-n1vyglzega] {
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #fff !important;
    }

    .sales-table-print-report[b-n1vyglzega] {
        display: block !important;
        width: 100% !important;
        color: #111827 !important;
        background: #fff !important;
        direction: rtl !important;
        font-family: Tahoma, Arial, sans-serif !important;
    }

    .sales-table-print-header[b-n1vyglzega] {
        display: flex !important;
        align-items: flex-end !important;
        justify-content: space-between !important;
        gap: 10mm !important;
        margin-bottom: 4mm !important;
        padding-bottom: 3mm !important;
        border-bottom: 1.5px solid #111827 !important;
        break-after: avoid-page !important;
    }

    .sales-table-print-header h1[b-n1vyglzega] {
        margin: 0 0 1mm !important;
        font-size: 17pt !important;
        font-weight: 900 !important;
    }

    .sales-table-print-header p[b-n1vyglzega],
    .sales-table-print-header span[b-n1vyglzega] {
        margin: 0 !important;
        font-size: 8pt !important;
        font-weight: 700 !important;
    }

    .sales-table-print-meta[b-n1vyglzega] {
        display: grid !important;
        gap: 1mm !important;
        text-align: left !important;
    }

    .sales-table-print-meta strong[b-n1vyglzega] {
        font-size: 10pt !important;
    }

    .sales-table-print[b-n1vyglzega] {
        width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed !important;
        border-collapse: collapse !important;
        font-size: 7.2pt !important;
    }

    .sales-table-print thead[b-n1vyglzega] {
        display: table-header-group !important;
    }

    .sales-table-print tfoot[b-n1vyglzega] {
        display: table-footer-group !important;
    }

    .sales-table-print tr[b-n1vyglzega] {
        break-inside: avoid-page !important;
        page-break-inside: avoid !important;
    }

    .sales-table-print th[b-n1vyglzega],
    .sales-table-print td[b-n1vyglzega] {
        padding: 1.7mm 1.1mm !important;
        border: 1px solid #cbd5e1 !important;
        line-height: 1.4 !important;
        text-align: center !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        vertical-align: middle !important;
    }

    .sales-table-print th[b-n1vyglzega] {
        color: #111827 !important;
        background: #eef2f7 !important;
        font-weight: 900 !important;
    }

    .sales-table-print tbody tr:nth-child(even) td[b-n1vyglzega] {
        background: #f8fafc !important;
    }

    .sales-table-print tfoot td[b-n1vyglzega] {
        color: #111827 !important;
        background: #e8edf4 !important;
        font-weight: 900 !important;
    }

    .sales-table-print th:nth-child(1)[b-n1vyglzega],
    .sales-table-print td:nth-child(1)[b-n1vyglzega] {
        width: 4% !important;
    }

    .sales-table-print th:nth-child(2)[b-n1vyglzega],
    .sales-table-print td:nth-child(2)[b-n1vyglzega] {
        width: 10% !important;
    }

    .sales-table-print th:nth-child(3)[b-n1vyglzega],
    .sales-table-print td:nth-child(3)[b-n1vyglzega] {
        width: 8% !important;
    }

    .sales-table-print th:nth-child(4)[b-n1vyglzega],
    .sales-table-print td:nth-child(4)[b-n1vyglzega] {
        width: 12% !important;
    }

    .sales-table-print th:nth-child(5)[b-n1vyglzega],
    .sales-table-print td:nth-child(5)[b-n1vyglzega] {
        width: 8% !important;
    }

    .sales-table-print th:nth-child(n+6):nth-child(-n+11)[b-n1vyglzega],
    .sales-table-print td:nth-child(n+6):nth-child(-n+11)[b-n1vyglzega] {
        width: 8% !important;
        direction: ltr !important;
        font-variant-numeric: tabular-nums !important;
    }

    .sales-table-print th:nth-child(12)[b-n1vyglzega],
    .sales-table-print td:nth-child(12)[b-n1vyglzega] {
        width: 10% !important;
    }

    .print-ltr[b-n1vyglzega] {
        direction: ltr !important;
        font-variant-numeric: tabular-nums !important;
    }

    .sales-table-print-footer[b-n1vyglzega] {
        display: flex !important;
        justify-content: space-between !important;
        gap: 10mm !important;
        margin-top: 4mm !important;
        padding-top: 2mm !important;
        border-top: 1px solid #cbd5e1 !important;
        color: #475569 !important;
        font-size: 7pt !important;
    }
}
/* /Components/Pages/Reports/SocialInsuranceReport.razor.rz.scp.css */
.legal-report[b-yicqhcbxwe]{display:grid;gap:18px;padding:24px;direction:rtl}.report-hero[b-yicqhcbxwe]{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:26px;border-radius:24px;background:linear-gradient(135deg,#111827,#312e81);color:#fff;box-shadow:0 18px 45px #11182726}.report-hero>div:first-child[b-yicqhcbxwe]{display:grid;gap:5px}.report-hero span[b-yicqhcbxwe]{font-size:12px;opacity:.75}.report-hero h1[b-yicqhcbxwe]{margin:2px 0;font-size:28px}.report-hero p[b-yicqhcbxwe]{margin:0;opacity:.8}.back-link[b-yicqhcbxwe]{color:#fff;text-decoration:none;font-size:12px;opacity:.9}.actions[b-yicqhcbxwe]{display:flex;gap:8px;flex-wrap:wrap}.actions button[b-yicqhcbxwe]{border:1px solid #ffffff40;background:#ffffff16;color:#fff;border-radius:12px;padding:10px 14px;cursor:pointer}.actions button:hover[b-yicqhcbxwe]{background:#ffffff25}.actions button:disabled[b-yicqhcbxwe]{opacity:.5;cursor:not-allowed}.print-meta[b-yicqhcbxwe]{display:none}.filters[b-yicqhcbxwe]{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;padding:16px;background:var(--mud-palette-surface,#fff);border:1px solid #e5e7eb;border-radius:18px}.filters label[b-yicqhcbxwe]{display:grid;gap:7px;font-size:12px;color:#64748b}.filters input[b-yicqhcbxwe],.filters select[b-yicqhcbxwe]{height:42px;border:1px solid #dbe2ea;border-radius:10px;padding:0 11px;background:transparent;color:inherit}.kpis[b-yicqhcbxwe]{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.kpis article[b-yicqhcbxwe]{padding:18px;border:1px solid #e5e7eb;border-radius:18px;background:var(--mud-palette-surface,#fff);display:grid;gap:9px;min-height:90px}.kpis span[b-yicqhcbxwe]{font-size:12px;color:#64748b}.kpis strong[b-yicqhcbxwe]{font-size:21px}.kpis .primary[b-yicqhcbxwe]{background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;border:0}.kpis .primary span[b-yicqhcbxwe]{color:#ffffffc7}.table-card[b-yicqhcbxwe]{overflow:auto;border:1px solid #e5e7eb;border-radius:18px;background:var(--mud-palette-surface,#fff)}table[b-yicqhcbxwe]{width:100%;border-collapse:collapse;min-width:900px}th[b-yicqhcbxwe],td[b-yicqhcbxwe]{padding:13px 14px;border-bottom:1px solid #eef2f7;text-align:right;white-space:nowrap}th[b-yicqhcbxwe]{font-size:12px;color:#64748b;background:#f8fafc;position:sticky;top:0}td[b-yicqhcbxwe]{font-size:13px}td a[b-yicqhcbxwe]{color:#4f46e5;text-decoration:none;font-weight:700}.state[b-yicqhcbxwe]{padding:45px;text-align:center;border:1px dashed #cbd5e1;border-radius:18px}.state.error[b-yicqhcbxwe]{color:#b91c1c}.danger[b-yicqhcbxwe]{color:#b91c1c;font-weight:700}.executive-grid[b-yicqhcbxwe]{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}.executive-grid article[b-yicqhcbxwe]{padding:20px;border:1px solid #e5e7eb;border-radius:18px;background:var(--mud-palette-surface,#fff)}.executive-grid h3[b-yicqhcbxwe]{margin-top:0}.executive-grid div[b-yicqhcbxwe]{display:flex;justify-content:space-between;padding:11px 0;border-bottom:1px solid #eef2f7}.export-summary[b-yicqhcbxwe]{max-width:760px}@media(max-width:760px){.legal-report[b-yicqhcbxwe]{padding:12px}.report-hero[b-yicqhcbxwe]{align-items:flex-start;flex-direction:column}.report-hero h1[b-yicqhcbxwe]{font-size:22px}.actions[b-yicqhcbxwe]{width:100%}.actions button[b-yicqhcbxwe]{flex:1}.filters[b-yicqhcbxwe]{grid-template-columns:1fr}}

@page{size:A4 landscape;margin:8mm}
@media print{
    html[b-yicqhcbxwe],body[b-yicqhcbxwe]{margin:0!important;padding:0!important;background:#fff!important;color:#111!important;font-family:Tahoma,"Segoe UI",sans-serif!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
    body *[b-yicqhcbxwe]{visibility:hidden!important}
    .legal-report[b-yicqhcbxwe],.legal-report *[b-yicqhcbxwe]{visibility:visible!important}
    .legal-report[b-yicqhcbxwe]{position:absolute!important;inset:0!important;width:100%!important;display:block!important;padding:0!important;margin:0!important;direction:rtl!important;color:#111!important;background:#fff!important}
    .no-print[b-yicqhcbxwe],.filters[b-yicqhcbxwe],.actions[b-yicqhcbxwe],.back-link[b-yicqhcbxwe],.state[b-yicqhcbxwe]{display:none!important}
    .report-hero[b-yicqhcbxwe]{display:block!important;margin:0 0 3mm!important;padding:0 0 2.5mm!important;min-height:0!important;height:auto!important;border:0!important;border-bottom:1.5px solid #111!important;border-radius:0!important;background:#fff!important;color:#111!important;box-shadow:none!important}
    .report-hero>div:first-child[b-yicqhcbxwe]{display:block!important}
    .report-hero span[b-yicqhcbxwe],.report-hero p[b-yicqhcbxwe]{display:none!important}
    .report-hero h1[b-yicqhcbxwe]{margin:0!important;padding:0!important;font-size:15pt!important;line-height:1.35!important;font-weight:800!important;color:#111!important}
    .print-meta[b-yicqhcbxwe]{display:grid!important;grid-template-columns:1.25fr 1fr 1fr!important;align-items:center!important;gap:3mm!important;margin:0 0 3mm!important;padding:2mm 2.5mm!important;min-height:0!important;border:1px solid #aeb8c4!important;border-radius:2mm!important;background:#f4f7fa!important;color:#111!important;font-size:8.5pt!important;line-height:1.5!important}
    .print-meta strong[b-yicqhcbxwe],.print-meta span[b-yicqhcbxwe]{display:block!important;margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
    .kpis[b-yicqhcbxwe]{display:none!important}
    .table-card[b-yicqhcbxwe]{display:block!important;width:100%!important;margin:0!important;padding:0!important;overflow:visible!important;border:1px solid #8d99a6!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
    table[b-yicqhcbxwe]{width:100%!important;min-width:0!important;table-layout:auto!important;border-collapse:collapse!important;border-spacing:0!important;font-size:7.5pt!important;color:#111!important}
    thead[b-yicqhcbxwe]{display:table-header-group!important}
    tfoot[b-yicqhcbxwe]{display:table-footer-group!important}
    tr[b-yicqhcbxwe]{break-inside:avoid!important;page-break-inside:avoid!important}
    th[b-yicqhcbxwe],td[b-yicqhcbxwe]{padding:1.6mm 1.4mm!important;border:1px solid #b8c1cb!important;text-align:right!important;vertical-align:middle!important;white-space:nowrap!important;line-height:1.35!important;background:#fff!important;color:#111!important}
    th[b-yicqhcbxwe]{position:static!important;font-size:7.5pt!important;font-weight:800!important;background:#e9eef4!important}
    td[b-yicqhcbxwe]{font-size:7.3pt!important}
    .danger[b-yicqhcbxwe]{color:#111!important;font-weight:700!important}
    .executive-grid[b-yicqhcbxwe],.export-summary[b-yicqhcbxwe]{display:none!important}
    .legal-report[b-yicqhcbxwe]::after{content:"ERPPlus — تاریخ چاپ: " attr(data-print-date);position:fixed;right:0;bottom:-5mm;font-size:7pt;color:#666}
}
/* /Components/Pages/Reports/TreasuryManagementReport.razor.rz.scp.css */
.treasury-report-page[b-ret042l7ha] {
    width: 100%;
    display: grid;
    gap: 16px;
    padding: 26px 28px 34px;
    direction: rtl;
    color: #0f172a;
}

.treasury-report-page *[b-ret042l7ha],
.treasury-report-page *[b-ret042l7ha]::before,
.treasury-report-page *[b-ret042l7ha]::after {
    box-sizing: border-box;
}

.treasury-report-page a[b-ret042l7ha] {
    text-decoration: none;
}

.treasury-report-hero[b-ret042l7ha],
.treasury-report-toolbar[b-ret042l7ha],
.treasury-report-filter-card[b-ret042l7ha],
.treasury-report-period[b-ret042l7ha],
.treasury-report-kpis article[b-ret042l7ha],
.treasury-report-insights article[b-ret042l7ha],
.treasury-report-card[b-ret042l7ha],
.treasury-report-state[b-ret042l7ha] {
    border: 1px solid rgba(148, 163, 184, .2);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 16px 40px rgba(15, 23, 42, .065);
}

.treasury-report-hero[b-ret042l7ha] {
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 28px 34px;
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at 5% 55%, rgba(71, 85, 105, .15), transparent 235px),
        radial-gradient(circle at 96% 5%, rgba(100, 116, 139, .12), transparent 255px),
        linear-gradient(135deg, #fff, #f8fafc);
}

.treasury-report-hero__content[b-ret042l7ha] {
    min-width: 0;
}

.treasury-report-back[b-ret042l7ha] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 14px;
    color: #475569;
    font-size: 11px;
    font-weight: 900;
}

.treasury-report-back:hover[b-ret042l7ha] {
    color: #334155;
}

.treasury-report-eyebrow[b-ret042l7ha] {
    display: block;
    margin-bottom: 8px;
    color: #475569;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .04em;
}

.treasury-report-hero h1[b-ret042l7ha] {
    margin: 0;
    color: #0f172a;
    font-size: 37px;
    line-height: 1.25;
    font-weight: 1000;
}

.treasury-report-hero p[b-ret042l7ha] {
    max-width: 760px;
    margin: 10px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.9;
    font-weight: 700;
}

.treasury-report-hero__icon[b-ret042l7ha] {
    width: 92px;
    height: 92px;
    flex: 0 0 92px;
    display: grid;
    place-items: center;
    border-radius: 27px;
    color: #fff;
    background: linear-gradient(135deg, #334155, #64748b);
    box-shadow: 0 20px 38px rgba(51, 65, 85, .23);
}

.treasury-report-hero__icon[b-ret042l7ha]  svg {
    font-size: 43px;
}

.treasury-report-toolbar[b-ret042l7ha] {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border-radius: 22px;
}

.treasury-report-toolbar__copy strong[b-ret042l7ha],
.treasury-report-toolbar__copy span[b-ret042l7ha] {
    display: block;
}

.treasury-report-toolbar__copy strong[b-ret042l7ha] {
    font-size: 14px;
    font-weight: 950;
}

.treasury-report-toolbar__copy span[b-ret042l7ha] {
    margin-top: 4px;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
}

.treasury-report-toolbar__actions[b-ret042l7ha] {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.treasury-report-btn[b-ret042l7ha],
.treasury-report-apply[b-ret042l7ha],
.treasury-report-clear[b-ret042l7ha] {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 12px;
    font: inherit;
    font-size: 11.5px;
    font-weight: 900;
    cursor: pointer;
    transition: .16s ease;
}

.treasury-report-btn:disabled[b-ret042l7ha],
.treasury-report-clear:disabled[b-ret042l7ha] {
    opacity: .5;
    cursor: not-allowed;
}

.treasury-report-btn.primary[b-ret042l7ha],
.treasury-report-apply[b-ret042l7ha] {
    color: #fff;
    border-color: #475569;
    background: linear-gradient(135deg, #334155, #64748b);
    box-shadow: 0 9px 20px rgba(51, 65, 85, .18);
}

.treasury-report-btn.secondary[b-ret042l7ha],
.treasury-report-clear[b-ret042l7ha] {
    color: #334155;
    border-color: #d7e0eb;
    background: #fff;
}

.treasury-report-btn.export[b-ret042l7ha] {
    color: #334155;
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.treasury-report-btn:hover:not(:disabled)[b-ret042l7ha],
.treasury-report-apply:hover[b-ret042l7ha],
.treasury-report-clear:hover:not(:disabled)[b-ret042l7ha] {
    transform: translateY(-1px);
}

.treasury-report-filter-card[b-ret042l7ha] {
    padding: 18px;
    border-radius: 22px;
}

.treasury-report-filter-grid[b-ret042l7ha] {
    display: grid;
    grid-template-columns: minmax(240px, 1.4fr) repeat(4, minmax(145px, .7fr)) auto auto;
    gap: 12px;
    align-items: end;
}

.treasury-report-field[b-ret042l7ha] {
    display: grid;
    gap: 7px;
}

.treasury-report-field > span[b-ret042l7ha] {
    color: #475569;
    font-size: 10.5px;
    font-weight: 900;
}

.treasury-report-field input[b-ret042l7ha],
.treasury-report-field select[b-ret042l7ha] {
    width: 100%;
    min-height: 45px;
    padding: 0 13px;
    border: 1px solid #d8e1ec;
    border-radius: 12px;
    outline: 0;
    color: #0f172a;
    background: #f8fafc;
    font: inherit;
    font-size: 11.5px;
    font-weight: 800;
}

.treasury-report-field.search > div[b-ret042l7ha] {
    position: relative;
}

.treasury-report-field.search input[b-ret042l7ha] {
    padding-right: 42px;
}

.treasury-report-field.search[b-ret042l7ha]  svg {
    position: absolute;
    top: 50%;
    right: 13px;
    z-index: 1;
    color: #94a3b8;
    transform: translateY(-50%);
}

.treasury-report-field input:focus[b-ret042l7ha],
.treasury-report-field select:focus[b-ret042l7ha] {
    border-color: #94a3b8;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(71, 85, 105, .1);
}

.treasury-report-alert[b-ret042l7ha] {
    margin-top: 12px;
    padding: 11px 13px;
    border: 1px solid #fecaca;
    border-radius: 12px;
    color: #b91c1c;
    background: #fff1f2;
    font-size: 11px;
    font-weight: 800;
}

.treasury-report-state[b-ret042l7ha] {
    padding: 48px 24px;
    border-radius: 24px;
    text-align: center;
}

.treasury-report-state.error[b-ret042l7ha] {
    color: #b91c1c;
    border-color: #fecaca;
    background: #fff1f2;
}

.treasury-report-state p[b-ret042l7ha] {
    margin: 9px 0 16px;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}

.treasury-report-spinner[b-ret042l7ha] {
    width: 40px;
    height: 40px;
    margin: 0 auto 13px;
    border: 4px solid #e2e8f0;
    border-top-color: #475569;
    border-radius: 50%;
    animation: treasury-spin-b-ret042l7ha .75s linear infinite;
}

@keyframes treasury-spin-b-ret042l7ha {
    to { transform: rotate(360deg); }
}

.treasury-report-period[b-ret042l7ha] {
    min-height: 78px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 14px;
    align-items: center;
    padding: 15px 18px;
    border-radius: 20px;
}

.treasury-report-period span[b-ret042l7ha],
.treasury-report-period strong[b-ret042l7ha] {
    display: block;
}

.treasury-report-period span[b-ret042l7ha] {
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
}

.treasury-report-period strong[b-ret042l7ha] {
    margin-top: 5px;
    color: #0f172a;
    font-size: 13px;
    font-weight: 950;
}

.treasury-report-status[b-ret042l7ha] {
    padding: 7px 12px;
    border-radius: 999px;
    color: #047857 !important;
    background: #d1fae5;
    font-size: 10px !important;
    font-weight: 950 !important;
}

.treasury-report-kpis[b-ret042l7ha],
.treasury-report-insights[b-ret042l7ha] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.treasury-report-kpis article[b-ret042l7ha],
.treasury-report-insights article[b-ret042l7ha] {
    min-height: 126px;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 17px;
    border-radius: 20px;
}

.treasury-report-kpis article[b-ret042l7ha] {
    border-top: 3px solid #475569;
}

.treasury-report-kpis article.bank[b-ret042l7ha] {
    border-top-color: var(--erp-primary, #2563eb);
}

.treasury-report-kpis article.receipt[b-ret042l7ha] {
    border-top-color: #059669;
}

.treasury-report-kpis article.payment[b-ret042l7ha] {
    border-top-color: #ea580c;
}

.treasury-report-kpi__icon[b-ret042l7ha],
.treasury-report-insights article > span[b-ret042l7ha] {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #475569;
    background: #f1f5f9;
}

.treasury-report-kpis article > div > span[b-ret042l7ha] {
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
}

.treasury-report-kpis article strong[b-ret042l7ha],
.treasury-report-insights article strong[b-ret042l7ha] {
    display: block;
    margin-top: 10px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 1000;
}

.treasury-report-kpis article small[b-ret042l7ha],
.treasury-report-insights article small[b-ret042l7ha] {
    display: block;
    margin-top: 7px;
    color: #64748b;
    font-size: 9px;
    line-height: 1.6;
    font-weight: 700;
}

.treasury-report-insights article:nth-child(1) > span[b-ret042l7ha] {
    color: #047857;
    background: #d1fae5;
}

.treasury-report-insights article:nth-child(2) > span[b-ret042l7ha] {
    color: #b45309;
    background: #fef3c7;
}

.treasury-report-insights article:nth-child(3) > span[b-ret042l7ha] {
    color: #1d4ed8;
    background: #dbeafe;
}

.treasury-report-insights article:nth-child(4) > span[b-ret042l7ha] {
    color: var(--erp-accent, #7c3aed);
    background: #ede9fe;
}

.treasury-report-grid[b-ret042l7ha] {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, .72fr);
    gap: 16px;
    align-items: start;
}

.treasury-report-card[b-ret042l7ha] {
    border-radius: 24px;
    overflow: hidden;
}

.cheque-card[b-ret042l7ha] {
    position: sticky;
    top: 14px;
}

.treasury-report-card__header[b-ret042l7ha] {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 16px 19px;
    border-bottom: 1px solid #e7edf4;
    background: linear-gradient(180deg, #fff, #fbfcfe);
}

.treasury-report-card__header > div > span[b-ret042l7ha] {
    color: #64748b;
    font-size: 9.5px;
    font-weight: 900;
}

.treasury-report-card__header h2[b-ret042l7ha] {
    margin: 5px 0 0;
    font-size: 18px;
    font-weight: 1000;
}

.treasury-report-card__header p[b-ret042l7ha] {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 9.5px;
    font-weight: 700;
}

.treasury-report-count[b-ret042l7ha] {
    padding: 7px 11px;
    border-radius: 999px;
    color: #334155;
    background: #e2e8f0;
    font-size: 10px;
    font-weight: 950;
}

.treasury-resource-list[b-ret042l7ha] {
    display: grid;
    gap: 0;
    padding: 6px 18px 16px;
}

.treasury-resource-item[b-ret042l7ha] {
    min-height: 72px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #edf1f6;
}

.treasury-resource-item:last-child[b-ret042l7ha] {
    border-bottom: 0;
}

.treasury-resource-item .icon[b-ret042l7ha] {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
}

.treasury-resource-item .icon.cash[b-ret042l7ha] {
    color: #475569;
    background: #f1f5f9;
}

.treasury-resource-item .icon.bank[b-ret042l7ha] {
    color: #1d4ed8;
    background: #dbeafe;
}

.treasury-resource-item strong[b-ret042l7ha],
.treasury-resource-item small[b-ret042l7ha] {
    display: block;
}

.treasury-resource-item strong[b-ret042l7ha] {
    font-size: 11px;
    font-weight: 950;
}

.treasury-resource-item small[b-ret042l7ha] {
    margin-top: 5px;
    color: #64748b;
    font-size: 9px;
    font-weight: 700;
}

.treasury-resource-item b[b-ret042l7ha] {
    direction: ltr;
    font-size: 11px;
    font-weight: 1000;
    white-space: nowrap;
}

.treasury-cheque-summary[b-ret042l7ha] {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.treasury-cheque-summary > div[b-ret042l7ha] {
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

.treasury-cheque-summary span[b-ret042l7ha],
.treasury-cheque-summary strong[b-ret042l7ha],
.treasury-cheque-summary b[b-ret042l7ha] {
    display: block;
}

.treasury-cheque-summary span[b-ret042l7ha] {
    color: #64748b;
    font-size: 9.5px;
    font-weight: 900;
}

.treasury-cheque-summary strong[b-ret042l7ha] {
    margin-top: 7px;
    font-size: 13px;
    font-weight: 950;
}

.treasury-cheque-summary b[b-ret042l7ha] {
    margin-top: 6px;
    color: #334155;
    direction: ltr;
    font-size: 11px;
    font-weight: 900;
}

.treasury-report-card.transactions[b-ret042l7ha] {
    min-width: 0;
}

.treasury-report-table-wrap[b-ret042l7ha] {
    overflow: auto;
}

.treasury-report-table[b-ret042l7ha] {
    width: 100%;
    min-width: 1120px;
    border-collapse: collapse;
    font-size: 10px;
}

.treasury-report-table th[b-ret042l7ha],
.treasury-report-table td[b-ret042l7ha] {
    padding: 13px 10px;
    border-bottom: 1px solid #e7edf4;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.treasury-report-table th[b-ret042l7ha] {
    position: sticky;
    top: 0;
    z-index: 1;
    color: #475569;
    background: #f8fafc;
    font-size: 9.5px;
    font-weight: 950;
}

.treasury-report-table tbody tr:hover td[b-ret042l7ha] {
    background: #f8fafc;
}

.treasury-report-table .description-cell[b-ret042l7ha] {
    min-width: 180px;
    max-width: 260px;
    text-align: right;
    white-space: normal;
}

.treasury-report-table .ltr-cell[b-ret042l7ha],
.treasury-report-table .number-cell[b-ret042l7ha] {
    direction: ltr;
    font-variant-numeric: tabular-nums;
}

.treasury-report-table tfoot td[b-ret042l7ha] {
    background: #f1f5f9;
    font-weight: 950;
}

.treasury-type-badge[b-ret042l7ha],
.treasury-status-badge[b-ret042l7ha] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 950;
}

.treasury-type-badge.receipt[b-ret042l7ha] {
    color: #047857;
    background: #d1fae5;
}

.treasury-type-badge.payment[b-ret042l7ha] {
    color: #b45309;
    background: #fef3c7;
}

.treasury-status-badge.completed[b-ret042l7ha] {
    color: #047857;
    background: #d1fae5;
}

.treasury-status-badge.pending[b-ret042l7ha] {
    color: #b45309;
    background: #fef3c7;
}

.treasury-status-badge.cancelled[b-ret042l7ha],
.treasury-status-badge.failed[b-ret042l7ha] {
    color: #b91c1c;
    background: #fee2e2;
}

.treasury-status-badge.unknown[b-ret042l7ha] {
    color: #475569;
    background: #e2e8f0;
}

.treasury-report-empty[b-ret042l7ha] {
    min-height: 210px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    color: #64748b;
}

.treasury-report-empty.small[b-ret042l7ha] {
    min-height: 100px;
}

.treasury-report-empty[b-ret042l7ha]  svg {
    font-size: 44px;
    color: #94a3b8;
}

.treasury-report-print[b-ret042l7ha] {
    display: none;
}

@page {
    size: A4 landscape;
    margin: 7mm;
}

@media print {
    html[b-ret042l7ha],
    body[b-ret042l7ha] {
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #fff !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .treasury-report-print[b-ret042l7ha] {
        display: block !important;
        width: 100% !important;
        color: #111827 !important;
        background: #fff !important;
        direction: rtl !important;
        font-family: Tahoma, Arial, sans-serif !important;
    }

    .treasury-report-print__header[b-ret042l7ha] {
        display: flex !important;
        align-items: flex-end !important;
        justify-content: space-between !important;
        gap: 8mm !important;
        margin: 0 0 4mm !important;
        padding: 0 0 3mm !important;
        border-bottom: 1.5px solid #111827 !important;
        break-after: avoid-page !important;
    }

    .treasury-report-print__header h1[b-ret042l7ha] {
        margin: 0 0 1mm !important;
        font-size: 16pt !important;
        font-weight: 900 !important;
    }

    .treasury-report-print__header p[b-ret042l7ha],
    .treasury-report-print__header span[b-ret042l7ha] {
        margin: 0 !important;
        color: #334155 !important;
        font-size: 7.5pt !important;
        font-weight: 700 !important;
    }

    .treasury-report-print__meta[b-ret042l7ha] {
        display: grid !important;
        gap: 1mm !important;
        text-align: left !important;
    }

    .treasury-report-print__summary[b-ret042l7ha] {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 2mm !important;
        margin-bottom: 4mm !important;
    }

    .treasury-report-print__summary > div[b-ret042l7ha] {
        padding: 2.5mm !important;
        border: 1px solid #cbd5e1 !important;
        background: #f8fafc !important;
    }

    .treasury-report-print__summary span[b-ret042l7ha],
    .treasury-report-print__summary strong[b-ret042l7ha] {
        display: block !important;
    }

    .treasury-report-print__summary span[b-ret042l7ha] {
        color: #64748b !important;
        font-size: 7pt !important;
        font-weight: 700 !important;
    }

    .treasury-report-print__summary strong[b-ret042l7ha] {
        margin-top: 1mm !important;
        font-size: 9pt !important;
        font-weight: 900 !important;
    }

    .treasury-report-print__table[b-ret042l7ha] {
        width: 100% !important;
        max-width: 100% !important;
        border-collapse: collapse !important;
        table-layout: fixed !important;
        font-size: 6.8pt !important;
    }

    .treasury-report-print__table thead[b-ret042l7ha] {
        display: table-header-group !important;
    }

    .treasury-report-print__table tfoot[b-ret042l7ha] {
        display: table-footer-group !important;
    }

    .treasury-report-print__table tr[b-ret042l7ha] {
        break-inside: avoid-page !important;
        page-break-inside: avoid !important;
    }

    .treasury-report-print__table th[b-ret042l7ha],
    .treasury-report-print__table td[b-ret042l7ha] {
        padding: 1.7mm .8mm !important;
        border: 1px solid #cbd5e1 !important;
        line-height: 1.35 !important;
        text-align: center !important;
        vertical-align: middle !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .treasury-report-print__table th[b-ret042l7ha] {
        background: #eaf0f6 !important;
        font-weight: 900 !important;
    }

    .treasury-report-print__table th:nth-child(1)[b-ret042l7ha],
    .treasury-report-print__table td:nth-child(1)[b-ret042l7ha] {
        width: 4% !important;
    }

    .treasury-report-print__table th:nth-child(2)[b-ret042l7ha],
    .treasury-report-print__table td:nth-child(2)[b-ret042l7ha] {
        width: 10% !important;
    }

    .treasury-report-print__table th:nth-child(3)[b-ret042l7ha],
    .treasury-report-print__table td:nth-child(3)[b-ret042l7ha] {
        width: 10% !important;
    }

    .treasury-report-print__table th:nth-child(4)[b-ret042l7ha],
    .treasury-report-print__table td:nth-child(4)[b-ret042l7ha] {
        width: 7% !important;
    }

    .treasury-report-print__table th:nth-child(5)[b-ret042l7ha],
    .treasury-report-print__table td:nth-child(5)[b-ret042l7ha] {
        width: 13% !important;
    }

    .treasury-report-print__table th:nth-child(6)[b-ret042l7ha],
    .treasury-report-print__table td:nth-child(6)[b-ret042l7ha] {
        width: 8% !important;
    }

    .treasury-report-print__table th:nth-child(7)[b-ret042l7ha],
    .treasury-report-print__table td:nth-child(7)[b-ret042l7ha] {
        width: 12% !important;
    }

    .treasury-report-print__table th:nth-child(8)[b-ret042l7ha],
    .treasury-report-print__table td:nth-child(8)[b-ret042l7ha] {
        width: 18% !important;
        text-align: right !important;
    }

    .treasury-report-print__table th:nth-child(9)[b-ret042l7ha],
    .treasury-report-print__table td:nth-child(9)[b-ret042l7ha] {
        width: 11% !important;
        direction: ltr !important;
        font-variant-numeric: tabular-nums !important;
    }

    .treasury-report-print__table th:nth-child(10)[b-ret042l7ha],
    .treasury-report-print__table td:nth-child(10)[b-ret042l7ha] {
        width: 7% !important;
    }

    .treasury-report-print__table tfoot td[b-ret042l7ha] {
        background: #e7edf4 !important;
        font-weight: 900 !important;
    }

    .treasury-report-print__footer[b-ret042l7ha] {
        display: flex !important;
        justify-content: space-between !important;
        gap: 8mm !important;
        margin-top: 4mm !important;
        padding-top: 2mm !important;
        border-top: 1px solid #cbd5e1 !important;
        color: #475569 !important;
        font-size: 7pt !important;
    }
}

@media (max-width: 1250px) {
    .treasury-report-filter-grid[b-ret042l7ha] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .treasury-report-kpis[b-ret042l7ha],
    .treasury-report-insights[b-ret042l7ha] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .treasury-report-grid[b-ret042l7ha] {
        grid-template-columns: 1fr;
    }

    .cheque-card[b-ret042l7ha] {
        position: static;
    }
}

@media (max-width: 760px) {
    .treasury-report-page[b-ret042l7ha] {
        padding: 16px;
    }

    .treasury-report-hero[b-ret042l7ha] {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px;
    }

    .treasury-report-hero h1[b-ret042l7ha] {
        font-size: 29px;
    }

    .treasury-report-hero__icon[b-ret042l7ha] {
        width: 68px;
        height: 68px;
        flex-basis: 68px;
        border-radius: 20px;
    }

    .treasury-report-toolbar[b-ret042l7ha] {
        align-items: stretch;
        flex-direction: column;
    }

    .treasury-report-toolbar__actions[b-ret042l7ha],
    .treasury-report-filter-grid[b-ret042l7ha],
    .treasury-report-period[b-ret042l7ha],
    .treasury-report-kpis[b-ret042l7ha],
    .treasury-report-insights[b-ret042l7ha] {
        grid-template-columns: 1fr;
    }

    .treasury-report-toolbar__actions[b-ret042l7ha] {
        display: grid;
    }
}
/* polished overrides appended intentionally to preserve existing selectors */
.treasury-report-page[b-ret042l7ha] {
    gap: 18px;
    max-width: 100%;
}

.treasury-report-hero[b-ret042l7ha] {
    min-height: 210px;
    padding: 32px 38px;
    border-radius: 30px;
    border-color: rgba(99, 102, 241, .12);
    background:
        radial-gradient(circle at 0 100%, rgba(99, 102, 241, .16), transparent 280px),
        radial-gradient(circle at 100% 0, rgba(59, 130, 246, .13), transparent 260px),
        linear-gradient(135deg, #ffffff 0%, #f8faff 58%, #eef4ff 100%);
    box-shadow: 0 22px 54px rgba(15, 23, 42, .08);
}

.treasury-report-eyebrow[b-ret042l7ha] { color:var(--erp-primary, #4f46e5); }
.treasury-report-hero h1[b-ret042l7ha] { font-size: 40px; letter-spacing:-.5px; }
.treasury-report-hero__icon[b-ret042l7ha] {
    width: 98px;
    height: 98px;
    flex-basis: 98px;
    border-radius: 29px;
    background: linear-gradient(135deg,var(--erp-primary, #2563eb),var(--erp-accent, #7c3aed));
    box-shadow: 0 22px 44px rgba(79,70,229,.28);
}

.treasury-report-toolbar[b-ret042l7ha],
.treasury-report-filter-card[b-ret042l7ha],
.treasury-report-period[b-ret042l7ha],
.treasury-report-card[b-ret042l7ha],
.treasury-report-kpis article[b-ret042l7ha],
.treasury-report-insights article[b-ret042l7ha] {
    border-color: rgba(148,163,184,.22);
    box-shadow: 0 14px 34px rgba(15,23,42,.055);
}

.treasury-report-toolbar[b-ret042l7ha] { padding:18px 20px; }
.treasury-report-btn[b-ret042l7ha],
.treasury-report-apply[b-ret042l7ha],
.treasury-report-clear[b-ret042l7ha] { min-height:46px; border-radius:14px; }
.treasury-report-btn.primary[b-ret042l7ha],
.treasury-report-apply[b-ret042l7ha] {
    border-color:var(--erp-primary, #4f46e5);
    background:linear-gradient(135deg,var(--erp-primary, #2563eb),var(--erp-accent, #7c3aed));
    box-shadow:0 10px 24px rgba(79,70,229,.2);
}
.treasury-report-btn.export[b-ret042l7ha] { color:var(--erp-primary, #4f46e5); border-color:#c7d2fe; background:#eef2ff; }

.treasury-report-filter-card[b-ret042l7ha] { padding:20px; }
.treasury-report-field input[b-ret042l7ha],
.treasury-report-field select[b-ret042l7ha] { min-height:48px; border-radius:14px; background:#fbfdff; }
.treasury-report-field input:focus[b-ret042l7ha],
.treasury-report-field select:focus[b-ret042l7ha] { border-color:var(--erp-primary, #818cf8); box-shadow:0 0 0 4px rgba(99,102,241,.11); }

.treasury-report-period[b-ret042l7ha] {
    min-height:88px;
    padding:18px 22px;
    border-radius:22px;
    background:linear-gradient(180deg,#fff,#fbfcff);
}

.treasury-report-kpis article[b-ret042l7ha],
.treasury-report-insights article[b-ret042l7ha] {
    min-height:144px;
    padding:20px;
    border-radius:22px;
    position:relative;
    overflow:hidden;
}
.treasury-report-kpis article[b-ret042l7ha]::after,
.treasury-report-insights article[b-ret042l7ha]::after {
    content:"";
    position:absolute;
    width:90px;
    height:90px;
    left:-28px;
    bottom:-32px;
    border-radius:50%;
    background:currentColor;
    opacity:.035;
}
.treasury-report-kpi__icon[b-ret042l7ha],
.treasury-report-insights article > span[b-ret042l7ha] {
    width:48px;
    height:48px;
    flex-basis:48px;
    border-radius:15px;
}
.treasury-report-kpis article strong[b-ret042l7ha],
.treasury-report-insights article strong[b-ret042l7ha] { font-size:20px; margin-top:11px; }
.treasury-report-insights article em[b-ret042l7ha] {
    display:block;
    color:#64748b;
    font-size:10px;
    font-style:normal;
    font-weight:950;
}
.treasury-report-insights article.received-cheques[b-ret042l7ha] { border-top:3px solid #10b981; }
.treasury-report-insights article.issued-cheques[b-ret042l7ha] { border-top:3px solid #f59e0b; }
.treasury-report-insights article.liquidity[b-ret042l7ha] { border-top:3px solid var(--erp-primary, #3b82f6); }
.treasury-report-insights article.cashflow.positive[b-ret042l7ha] { border-top:3px solid var(--erp-accent, #8b5cf6); }
.treasury-report-insights article.cashflow.negative[b-ret042l7ha] { border-top:3px solid #ef4444; }
.treasury-report-insights article.cashflow.negative > span[b-ret042l7ha] { color:#dc2626; background:#fee2e2; }

.treasury-report-grid[b-ret042l7ha] { grid-template-columns:minmax(0,1.7fr) minmax(320px,.75fr); gap:18px; }
.treasury-report-card[b-ret042l7ha] { border-radius:26px; }
.treasury-report-card__header[b-ret042l7ha] {
    min-height:92px;
    padding:19px 22px;
    background:linear-gradient(180deg,#fff,#f8faff);
}
.treasury-report-card__header h2[b-ret042l7ha] { font-size:20px; }

.treasury-resource-list[b-ret042l7ha] { padding:14px 18px 20px; gap:12px; }
.treasury-resource-item[b-ret042l7ha] {
    min-height:84px;
    padding:15px 16px;
    border:1px solid #e2e8f0;
    border-radius:17px;
    background:linear-gradient(180deg,#fff,#fbfdff);
    box-shadow:0 8px 20px rgba(15,23,42,.035);
}
.treasury-resource-item:last-child[b-ret042l7ha] { border-bottom:1px solid #e2e8f0; }
.treasury-resource-item.cash-resource[b-ret042l7ha] { border-right:4px solid #64748b; }
.treasury-resource-item.bank-resource[b-ret042l7ha] { border-right:4px solid var(--erp-primary, #3b82f6); }
.treasury-resource-item .icon[b-ret042l7ha] { width:48px; height:48px; border-radius:15px; }
.treasury-resource-item strong[b-ret042l7ha] { font-size:12px; }
.treasury-resource-item b[b-ret042l7ha] { font-size:13px; color:#0f172a; }

.cheque-card[b-ret042l7ha] { top:18px; }
.treasury-cheque-summary[b-ret042l7ha] { padding:18px; gap:12px; }
.treasury-cheque-summary > div[b-ret042l7ha] {
    min-height:102px;
    display:grid;
    grid-template-columns:48px minmax(0,1fr);
    align-items:center;
    gap:13px;
    padding:15px;
    border-radius:17px;
    box-shadow:0 8px 20px rgba(15,23,42,.035);
}
.treasury-cheque-summary__icon[b-ret042l7ha] {
    width:48px;
    height:48px;
    display:grid !important;
    place-items:center;
    border-radius:15px;
}
.treasury-cheque-summary > div.received[b-ret042l7ha] { border-color:#bbf7d0; background:linear-gradient(180deg,#fff,#f0fdf4); }
.treasury-cheque-summary > div.received .treasury-cheque-summary__icon[b-ret042l7ha] { color:#047857; background:#d1fae5; }
.treasury-cheque-summary > div.issued[b-ret042l7ha] { border-color:#fde68a; background:linear-gradient(180deg,#fff,#fffbeb); }
.treasury-cheque-summary > div.issued .treasury-cheque-summary__icon[b-ret042l7ha] { color:#b45309; background:#fef3c7; }
.treasury-cheque-summary > div.overdue[b-ret042l7ha] { border-color:#fecaca; background:linear-gradient(180deg,#fff,#fff1f2); }
.treasury-cheque-summary > div.overdue .treasury-cheque-summary__icon[b-ret042l7ha] { color:#b91c1c; background:#fee2e2; }
.treasury-cheque-summary b[b-ret042l7ha] { font-size:12px; }

.treasury-report-card.transactions[b-ret042l7ha] { margin-top:2px; }
.treasury-report-table[b-ret042l7ha] { font-size:10.5px; }
.treasury-report-table th[b-ret042l7ha] {
    padding:15px 11px;
    color:#334155;
    background:#eef4ff;
    border-bottom:1px solid #dbe5f3;
}
.treasury-report-table td[b-ret042l7ha] { padding:14px 11px; }
.treasury-report-table tbody tr:nth-child(even) td[b-ret042l7ha] { background:#fbfdff; }
.treasury-report-table tbody tr:hover td[b-ret042l7ha] { background:#f0f6ff; }
.treasury-report-table tfoot td[b-ret042l7ha] { background:#eaf1fb; color:#0f172a; }
.treasury-type-badge[b-ret042l7ha],
.treasury-status-badge[b-ret042l7ha] { min-width:76px; padding:7px 10px; }

@media print {
    .treasury-report-print__summary[b-ret042l7ha] { display:none !important; }
    .treasury-report-print__header[b-ret042l7ha] { margin-bottom:5mm !important; }
    .treasury-report-print__table[b-ret042l7ha] { font-size:7pt !important; }
    .treasury-report-print__table th[b-ret042l7ha],
    .treasury-report-print__table td[b-ret042l7ha] { padding:1.9mm .9mm !important; }
}

@media (max-width:1100px) {
    .treasury-report-grid[b-ret042l7ha] { grid-template-columns:1fr; }
}
/* /Components/Pages/Reports/UserCashReport.razor.rz.scp.css */
.legal-report[b-iapxr41k0q]{display:grid;gap:18px;padding:24px;direction:rtl}.report-hero[b-iapxr41k0q]{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:26px;border-radius:24px;background:linear-gradient(135deg,#111827,#312e81);color:#fff;box-shadow:0 18px 45px #11182726}.report-hero>div:first-child[b-iapxr41k0q]{display:grid;gap:5px}.report-hero span[b-iapxr41k0q]{font-size:12px;opacity:.75}.report-hero h1[b-iapxr41k0q]{margin:2px 0;font-size:28px}.report-hero p[b-iapxr41k0q]{margin:0;opacity:.8}.back-link[b-iapxr41k0q]{color:#fff;text-decoration:none;font-size:12px;opacity:.9}.actions[b-iapxr41k0q]{display:flex;gap:8px;flex-wrap:wrap}.actions button[b-iapxr41k0q]{border:1px solid #ffffff40;background:#ffffff16;color:#fff;border-radius:12px;padding:10px 14px;cursor:pointer}.actions button:hover[b-iapxr41k0q]{background:#ffffff25}.actions button:disabled[b-iapxr41k0q]{opacity:.5;cursor:not-allowed}.print-meta[b-iapxr41k0q]{display:none}.filters[b-iapxr41k0q]{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;padding:16px;background:var(--mud-palette-surface,#fff);border:1px solid #e5e7eb;border-radius:18px}.filters label[b-iapxr41k0q]{display:grid;gap:7px;font-size:12px;color:#64748b}.filters input[b-iapxr41k0q],.filters select[b-iapxr41k0q]{height:42px;border:1px solid #dbe2ea;border-radius:10px;padding:0 11px;background:transparent;color:inherit}.kpis[b-iapxr41k0q]{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.kpis article[b-iapxr41k0q]{padding:18px;border:1px solid #e5e7eb;border-radius:18px;background:var(--mud-palette-surface,#fff);display:grid;gap:9px;min-height:90px}.kpis span[b-iapxr41k0q]{font-size:12px;color:#64748b}.kpis strong[b-iapxr41k0q]{font-size:21px}.kpis .primary[b-iapxr41k0q]{background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;border:0}.kpis .primary span[b-iapxr41k0q]{color:#ffffffc7}.table-card[b-iapxr41k0q]{overflow:auto;border:1px solid #e5e7eb;border-radius:18px;background:var(--mud-palette-surface,#fff)}table[b-iapxr41k0q]{width:100%;border-collapse:collapse;min-width:900px}th[b-iapxr41k0q],td[b-iapxr41k0q]{padding:13px 14px;border-bottom:1px solid #eef2f7;text-align:right;white-space:nowrap}th[b-iapxr41k0q]{font-size:12px;color:#64748b;background:#f8fafc;position:sticky;top:0}td[b-iapxr41k0q]{font-size:13px}td a[b-iapxr41k0q]{color:#4f46e5;text-decoration:none;font-weight:700}.state[b-iapxr41k0q]{padding:45px;text-align:center;border:1px dashed #cbd5e1;border-radius:18px}.state.error[b-iapxr41k0q]{color:#b91c1c}.danger[b-iapxr41k0q]{color:#b91c1c;font-weight:700}.executive-grid[b-iapxr41k0q]{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}.executive-grid article[b-iapxr41k0q]{padding:20px;border:1px solid #e5e7eb;border-radius:18px;background:var(--mud-palette-surface,#fff)}.executive-grid h3[b-iapxr41k0q]{margin-top:0}.executive-grid div[b-iapxr41k0q]{display:flex;justify-content:space-between;padding:11px 0;border-bottom:1px solid #eef2f7}.export-summary[b-iapxr41k0q]{max-width:760px}@media(max-width:760px){.legal-report[b-iapxr41k0q]{padding:12px}.report-hero[b-iapxr41k0q]{align-items:flex-start;flex-direction:column}.report-hero h1[b-iapxr41k0q]{font-size:22px}.actions[b-iapxr41k0q]{width:100%}.actions button[b-iapxr41k0q]{flex:1}.filters[b-iapxr41k0q]{grid-template-columns:1fr}}

@page{size:A4 landscape;margin:8mm}
@media print{
    html[b-iapxr41k0q],body[b-iapxr41k0q]{margin:0!important;padding:0!important;background:#fff!important;color:#111!important;font-family:Tahoma,"Segoe UI",sans-serif!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
    body *[b-iapxr41k0q]{visibility:hidden!important}
    .legal-report[b-iapxr41k0q],.legal-report *[b-iapxr41k0q]{visibility:visible!important}
    .legal-report[b-iapxr41k0q]{position:absolute!important;inset:0!important;width:100%!important;display:block!important;padding:0!important;margin:0!important;direction:rtl!important;color:#111!important;background:#fff!important}
    .no-print[b-iapxr41k0q],.filters[b-iapxr41k0q],.actions[b-iapxr41k0q],.back-link[b-iapxr41k0q],.state[b-iapxr41k0q]{display:none!important}
    .report-hero[b-iapxr41k0q]{display:block!important;margin:0 0 3mm!important;padding:0 0 2.5mm!important;min-height:0!important;height:auto!important;border:0!important;border-bottom:1.5px solid #111!important;border-radius:0!important;background:#fff!important;color:#111!important;box-shadow:none!important}
    .report-hero>div:first-child[b-iapxr41k0q]{display:block!important}
    .report-hero span[b-iapxr41k0q],.report-hero p[b-iapxr41k0q]{display:none!important}
    .report-hero h1[b-iapxr41k0q]{margin:0!important;padding:0!important;font-size:15pt!important;line-height:1.35!important;font-weight:800!important;color:#111!important}
    .print-meta[b-iapxr41k0q]{display:grid!important;grid-template-columns:1.25fr 1fr 1fr!important;align-items:center!important;gap:3mm!important;margin:0 0 3mm!important;padding:2mm 2.5mm!important;min-height:0!important;border:1px solid #aeb8c4!important;border-radius:2mm!important;background:#f4f7fa!important;color:#111!important;font-size:8.5pt!important;line-height:1.5!important}
    .print-meta strong[b-iapxr41k0q],.print-meta span[b-iapxr41k0q]{display:block!important;margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
    .kpis[b-iapxr41k0q]{display:none!important}
    .table-card[b-iapxr41k0q]{display:block!important;width:100%!important;margin:0!important;padding:0!important;overflow:visible!important;border:1px solid #8d99a6!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
    table[b-iapxr41k0q]{width:100%!important;min-width:0!important;table-layout:auto!important;border-collapse:collapse!important;border-spacing:0!important;font-size:7.5pt!important;color:#111!important}
    thead[b-iapxr41k0q]{display:table-header-group!important}
    tfoot[b-iapxr41k0q]{display:table-footer-group!important}
    tr[b-iapxr41k0q]{break-inside:avoid!important;page-break-inside:avoid!important}
    th[b-iapxr41k0q],td[b-iapxr41k0q]{padding:1.6mm 1.4mm!important;border:1px solid #b8c1cb!important;text-align:right!important;vertical-align:middle!important;white-space:nowrap!important;line-height:1.35!important;background:#fff!important;color:#111!important}
    th[b-iapxr41k0q]{position:static!important;font-size:7.5pt!important;font-weight:800!important;background:#e9eef4!important}
    td[b-iapxr41k0q]{font-size:7.3pt!important}
    .danger[b-iapxr41k0q]{color:#111!important;font-weight:700!important}
    .executive-grid[b-iapxr41k0q],.export-summary[b-iapxr41k0q]{display:none!important}
    .legal-report[b-iapxr41k0q]::after{content:"ERPPlus — تاریخ چاپ: " attr(data-print-date);position:fixed;right:0;bottom:-5mm;font-size:7pt;color:#666}
}
/* /Components/Pages/Reports/VatReport.razor.rz.scp.css */
.vat-page[b-393dr3dp0o] {
    direction: rtl;
    display: grid;
    gap: 20px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 22px 28px 34px;
    box-sizing: border-box;
    color: var(--mud-palette-text-primary, #0f172a);
}

.vat-hero[b-393dr3dp0o] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    min-height: 156px;
    padding: 26px 30px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 26px;
    background: linear-gradient(135deg, #0f172a 0%, #172554 44%, #312e81 72%, #4338ca 100%);
    color: #fff;
    box-shadow: 0 22px 50px rgba(30, 41, 59, .18);
    overflow: hidden;
}

.vat-hero__content[b-393dr3dp0o] {
    min-width: 0;
    display: grid;
    gap: 7px;
}

.vat-back[b-393dr3dp0o] {
    width: fit-content;
    color: #c7d2fe;
    text-decoration: none;
    font-size: 12px;
}

.vat-eyebrow[b-393dr3dp0o] {
    font-size: 12px;
    color: #a5b4fc;
}

.vat-hero h1[b-393dr3dp0o] {
    margin: 2px 0;
    font-size: clamp(28px, 2.35vw, 38px);
    line-height: 1.35;
}

.vat-hero p[b-393dr3dp0o] {
    max-width: 760px;
    margin: 0;
    color: #e0e7ff;
    font-size: 14px;
    line-height: 1.9;
}

.vat-hero__actions[b-393dr3dp0o] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 9px;
    max-width: 430px;
}

.vat-hero__actions button[b-393dr3dp0o],
.vat-apply[b-393dr3dp0o],
.vat-reset[b-393dr3dp0o],
.vat-pagination button[b-393dr3dp0o],
.vat-state button[b-393dr3dp0o] {
    min-height: 43px;
    border: 0;
    border-radius: 12px;
    padding: 10px 16px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.vat-hero__actions button[b-393dr3dp0o] {
    min-width: 92px;
    background: #fff;
    color: #312e81;
}

.vat-hero__actions button.secondary[b-393dr3dp0o] {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .22);
}

.vat-hero__actions button:hover[b-393dr3dp0o],
.vat-apply:hover[b-393dr3dp0o],
.vat-reset:hover[b-393dr3dp0o],
.vat-pagination button:hover[b-393dr3dp0o] {
    transform: translateY(-1px);
}

button:disabled[b-393dr3dp0o] {
    opacity: .5;
    cursor: not-allowed;
    transform: none !important;
}

.vat-print-header[b-393dr3dp0o] {
    display: none;
}

.print-only[b-393dr3dp0o] {
    display: none;
}

.vat-filters[b-393dr3dp0o] {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--mud-palette-lines-default, #e2e8f0);
    border-radius: 20px;
    background: var(--mud-palette-surface, #fff);
    box-shadow: 0 8px 28px rgba(15, 23, 42, .05);
}

.vat-filter[b-393dr3dp0o] {
    display: grid;
    align-content: start;
    gap: 7px;
    min-width: 0;
}

.vat-filter label[b-393dr3dp0o] {
    font-size: 12px;
    font-weight: 800;
    color: var(--mud-palette-text-secondary, #64748b);
}

.vat-filter input[b-393dr3dp0o],
.vat-filter select[b-393dr3dp0o],
.vat-page-size select[b-393dr3dp0o],
.vat-filter[b-393dr3dp0o]  input {
    width: 100%;
    height: 46px;
    box-sizing: border-box;
    border: 1px solid var(--mud-palette-lines-inputs, #dbe2ea);
    border-radius: 12px;
    background: var(--mud-palette-background, #fff);
    color: var(--mud-palette-text-primary, #111827);
    padding: 0 13px;
    font: inherit;
    outline: none;
}

.vat-filter input:focus[b-393dr3dp0o],
.vat-filter select:focus[b-393dr3dp0o],
.vat-filter[b-393dr3dp0o]  input:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, .11);
}

.vat-filter--search[b-393dr3dp0o] {
    grid-column: span 2;
}

.vat-search-box[b-393dr3dp0o] {
    position: relative;
}

.vat-search-box input[b-393dr3dp0o] {
    padding-left: 42px;
}

.vat-search-box span[b-393dr3dp0o] {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 22px;
    pointer-events: none;
}

.vat-filter--actions[b-393dr3dp0o] {
    grid-column: span 2;
    display: flex;
    align-items: end;
    justify-content: flex-start;
    gap: 10px;
}

.vat-apply[b-393dr3dp0o] {
    min-width: 150px;
    background: #172554;
    color: #fff;
    box-shadow: 0 8px 18px rgba(23, 37, 84, .18);
}

.vat-reset[b-393dr3dp0o] {
    min-width: 138px;
    background: #fff;
    color: #334155;
    border: 1px solid #dbe2ea;
}

.vat-state[b-393dr3dp0o] {
    min-height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;
    border: 1px dashed #cbd5e1;
    border-radius: 20px;
    background: var(--mud-palette-surface, #fff);
}

.vat-state--error[b-393dr3dp0o] { color: #b91c1c; }
.vat-state button[b-393dr3dp0o] { background: #b91c1c; color: #fff; }

.vat-spinner[b-393dr3dp0o] {
    width: 36px;
    height: 36px;
    border: 3px solid #ddd6fe;
    border-top-color: #4f46e5;
    border-radius: 50%;
    animation: vat-spin-b-393dr3dp0o .8s linear infinite;
}

@keyframes vat-spin-b-393dr3dp0o { to { transform: rotate(360deg); } }

.vat-kpis[b-393dr3dp0o] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.vat-kpis article[b-393dr3dp0o] {
    position: relative;
    min-width: 0;
    min-height: 104px;
    display: grid;
    align-content: center;
    gap: 7px;
    padding: 17px 18px;
    overflow: hidden;
    border: 1px solid var(--mud-palette-lines-default, #e5e7eb);
    border-radius: 18px;
    background: var(--mud-palette-surface, #fff);
    box-shadow: 0 6px 20px rgba(15, 23, 42, .04);
}

.vat-kpis article[b-393dr3dp0o]::after {
    content: "";
    position: absolute;
    left: -18px;
    top: -18px;
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: rgba(79, 70, 229, .06);
    transform: rotate(18deg);
}

.vat-kpis span[b-393dr3dp0o] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary, #64748b);
}

.vat-kpis strong[b-393dr3dp0o] {
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(18px, 1.45vw, 23px);
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
}

.vat-kpis small[b-393dr3dp0o] {
    font-size: 11px;
    color: var(--mud-palette-text-secondary, #64748b);
}

.vat-kpi--primary[b-393dr3dp0o] {
    border: 0 !important;
    background: linear-gradient(135deg, #4338ca, #7c3aed) !important;
    color: #fff;
    box-shadow: 0 14px 28px rgba(79, 70, 229, .22) !important;
}

.vat-kpi--primary span[b-393dr3dp0o],
.vat-kpi--primary small[b-393dr3dp0o] { color: #ede9fe; }
.vat-kpi--primary[b-393dr3dp0o]::after { background: rgba(255, 255, 255, .1) !important; }

.vat-table-card[b-393dr3dp0o] {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--mud-palette-lines-default, #e2e8f0);
    border-radius: 20px;
    background: var(--mud-palette-surface, #fff);
    box-shadow: 0 8px 28px rgba(15, 23, 42, .04);
}

.vat-table-card__header[b-393dr3dp0o] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 19px 21px;
    border-bottom: 1px solid var(--mud-palette-lines-default, #e5e7eb);
}

.vat-table-card__header h2[b-393dr3dp0o] { margin: 0 0 4px; font-size: 18px; }
.vat-table-card__header span[b-393dr3dp0o] { font-size: 12px; color: #64748b; }

.vat-page-size[b-393dr3dp0o] {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 12px;
    color: #64748b;
}

.vat-page-size select[b-393dr3dp0o] { width: 82px; height: 38px; }

.vat-table-wrap[b-393dr3dp0o] {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: thin;
}

.vat-table-wrap table[b-393dr3dp0o] {
    width: 100%;
    min-width: 1120px;
    table-layout: auto;
    border-collapse: separate;
    border-spacing: 0;
}

.vat-table-wrap th[b-393dr3dp0o],
.vat-table-wrap td[b-393dr3dp0o] {
    padding: 13px 12px;
    border-bottom: 1px solid var(--mud-palette-lines-default, #eef2f7);
    text-align: right;
    white-space: nowrap;
    font-size: 12px;
    vertical-align: middle;
}

.vat-table-wrap th[b-393dr3dp0o] {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--mud-palette-background-gray, #f8fafc);
    color: var(--mud-palette-text-secondary, #64748b);
    font-weight: 800;
}

.vat-table-wrap th button[b-393dr3dp0o] {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: right;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.vat-table-wrap tbody tr:hover[b-393dr3dp0o] { background: rgba(79, 70, 229, .035); }

.vat-type[b-393dr3dp0o],
.vat-status[b-393dr3dp0o] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.vat-type[b-393dr3dp0o] { background: #eef2ff; color: #4338ca; }
.vat-status.taxable[b-393dr3dp0o] { background: #dcfce7; color: #166534; }
.vat-status.exempt[b-393dr3dp0o] { background: #f1f5f9; color: #475569; }

.vat-detail[b-393dr3dp0o] {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 9px;
    background: #eef2ff;
    color: #4338ca;
    text-decoration: none;
    font-weight: 800;
}

.vat-empty[b-393dr3dp0o] { padding: 48px !important; text-align: center !important; color: #64748b; }

.vat-pagination[b-393dr3dp0o] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid var(--mud-palette-lines-default, #eef2f7);
}

.vat-pagination button[b-393dr3dp0o] { background: #eef2ff; color: #4338ca; padding: 9px 14px; }
.vat-pagination span[b-393dr3dp0o] { min-width: 110px; text-align: center; font-size: 12px; color: #64748b; }

@media (max-width: 1450px) {
    .vat-page[b-393dr3dp0o] { padding-inline: 18px; }
    .vat-filters[b-393dr3dp0o] { grid-template-columns: repeat(3, minmax(170px, 1fr)); }
    .vat-filter--search[b-393dr3dp0o] { grid-column: span 2; }
    .vat-filter--actions[b-393dr3dp0o] { grid-column: span 1; }
    .vat-kpis[b-393dr3dp0o] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
    .vat-hero[b-393dr3dp0o] { grid-template-columns: 1fr; align-items: flex-start; }
    .vat-hero__actions[b-393dr3dp0o] { max-width: none; }
    .vat-filters[b-393dr3dp0o] { grid-template-columns: repeat(2, minmax(160px, 1fr)); }
    .vat-filter--search[b-393dr3dp0o],
    .vat-filter--actions[b-393dr3dp0o] { grid-column: span 2; }
    .vat-kpis[b-393dr3dp0o] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .vat-page[b-393dr3dp0o] { padding: 12px; gap: 14px; }
    .vat-hero[b-393dr3dp0o] { padding: 22px; border-radius: 20px; }
    .vat-hero__actions[b-393dr3dp0o] { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
    .vat-hero__actions button[b-393dr3dp0o] { width: 100%; }
    .vat-filters[b-393dr3dp0o] { grid-template-columns: 1fr; padding: 16px; }
    .vat-filter--search[b-393dr3dp0o],
    .vat-filter--actions[b-393dr3dp0o] { grid-column: auto; }
    .vat-filter--actions[b-393dr3dp0o] { display: grid; grid-template-columns: 1fr 1fr; }
    .vat-apply[b-393dr3dp0o],
    .vat-reset[b-393dr3dp0o] { min-width: 0; }
    .vat-kpis[b-393dr3dp0o] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vat-table-card__header[b-393dr3dp0o] { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
    .vat-hero__actions[b-393dr3dp0o],
    .vat-filter--actions[b-393dr3dp0o],
    .vat-kpis[b-393dr3dp0o] { grid-template-columns: 1fr; }
}

@media print {
    @page { size: A4 landscape; margin: 8mm; }

    .no-print[b-393dr3dp0o] { display: none !important; }
    .print-only[b-393dr3dp0o] { display: inline !important; }

    .vat-page[b-393dr3dp0o] {
        display: block;
        width: auto;
        max-width: none;
        margin: 0;
        padding: 0;
        color: #000;
        background: #fff;
    }

    .vat-print-header[b-393dr3dp0o] {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 20px;
        margin-bottom: 5mm;
        padding: 3mm 4mm;
        border: 1px solid #94a3b8;
        background: #f8fafc;
    }

    .vat-print-header > div[b-393dr3dp0o] { display: grid; gap: 2px; }
    .vat-print-header strong[b-393dr3dp0o] { font-size: 15px; }
    .vat-print-header span[b-393dr3dp0o] { font-size: 9px; }

    .vat-kpis[b-393dr3dp0o] {
        grid-template-columns: repeat(5, 1fr);
        gap: 3mm;
        margin-bottom: 5mm;
    }

    .vat-kpis article[b-393dr3dp0o] {
        min-height: 19mm;
        padding: 3mm;
        border-radius: 3px;
        box-shadow: none;
        page-break-inside: avoid;
    }

    .vat-kpis article[b-393dr3dp0o]::after { display: none; }
    .vat-kpis span[b-393dr3dp0o],
    .vat-kpis small[b-393dr3dp0o] { font-size: 7.5px; }
    .vat-kpis strong[b-393dr3dp0o] { font-size: 10px; overflow: visible; }
    .vat-kpi--primary[b-393dr3dp0o] { background: #eee !important; color: #000; }
    .vat-kpi--primary span[b-393dr3dp0o],
    .vat-kpi--primary small[b-393dr3dp0o] { color: #000; }

    .vat-table-card[b-393dr3dp0o] {
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
    }

    .vat-table-card__header[b-393dr3dp0o] { padding: 2mm 0; }
    .vat-table-card__header h2[b-393dr3dp0o] { font-size: 11px; }
    .vat-table-card__header span[b-393dr3dp0o] { font-size: 8px; }
    .vat-table-wrap[b-393dr3dp0o] { overflow: visible; }
    .vat-table-wrap table[b-393dr3dp0o] { width: 100%; min-width: 0; table-layout: fixed; }
    .vat-table-wrap thead[b-393dr3dp0o] { display: table-header-group; }
    .vat-table-wrap tr[b-393dr3dp0o] { page-break-inside: avoid; }
    .vat-table-wrap th[b-393dr3dp0o],
    .vat-table-wrap td[b-393dr3dp0o] {
        padding: 1.6mm 1mm;
        font-size: 7px;
        white-space: normal;
        overflow-wrap: anywhere;
        border: 1px solid #94a3b8;
    }

    .vat-table-wrap th[b-393dr3dp0o] {
        position: static;
        background: #e2e8f0 !important;
        color: #000;
        font-weight: 800;
        text-align: center;
        white-space: nowrap;
    }

    .vat-table-wrap th .print-only[b-393dr3dp0o] {
        font: inherit;
        font-weight: 800;
        color: #000;
    }
    .vat-type[b-393dr3dp0o],
    .vat-status[b-393dr3dp0o] { padding: 1px 3px; font-size: 6px; }
}
/* /Components/Pages/RetailDevices.razor.rz.scp.css */
.devices-page[b-pdrgw07wf0]{display:grid;gap:20px;padding:24px;color:#172033}.devices-hero[b-pdrgw07wf0]{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px;border-radius:24px;color:#fff;background:linear-gradient(135deg,#0f766e,#164e63);box-shadow:0 18px 50px #0f172a1a}.devices-hero span[b-pdrgw07wf0]{font-size:.78rem;font-weight:900;opacity:.78}.devices-hero h1[b-pdrgw07wf0]{margin:7px 0;font-size:1.8rem}.devices-hero p[b-pdrgw07wf0]{margin:0;opacity:.84}.hero-actions[b-pdrgw07wf0],.card-actions[b-pdrgw07wf0]{display:flex;gap:10px;flex-wrap:wrap}button[b-pdrgw07wf0]{min-height:42px;padding:0 16px;border:0;border-radius:11px;font:inherit;font-weight:900;cursor:pointer}.primary[b-pdrgw07wf0],.card-actions button[b-pdrgw07wf0]{color:#fff;background:#0f766e}.secondary[b-pdrgw07wf0]{color:#fff;background:#ffffff20;border:1px solid #ffffff55}.notice[b-pdrgw07wf0],.loading[b-pdrgw07wf0]{padding:15px 18px;border-radius:14px;font-weight:800}.notice.success[b-pdrgw07wf0]{color:#047857;background:#ecfdf5}.notice.error[b-pdrgw07wf0]{color:#be123c;background:#fff1f2}.loading[b-pdrgw07wf0]{color:#475569;background:#fff}.device-grid[b-pdrgw07wf0]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.device-card[b-pdrgw07wf0]{display:grid;gap:18px;padding:22px;border:1px solid #dfe7f1;border-radius:20px;background:#fff;box-shadow:0 12px 35px #0f172a0d}.device-card header[b-pdrgw07wf0]{display:flex;align-items:center;gap:13px;padding-bottom:15px;border-bottom:1px solid #edf2f7}.device-card header>span[b-pdrgw07wf0]{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;color:#0f766e;background:#ccfbf1;font-size:1.35rem}.device-card h2[b-pdrgw07wf0]{margin:0 0 5px;font-size:1.08rem}.device-card p[b-pdrgw07wf0]{margin:0;color:#64748b;font-size:.8rem}.fields[b-pdrgw07wf0]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.fields label:not(.switch)[b-pdrgw07wf0]{display:grid;gap:7px}.fields label>span[b-pdrgw07wf0]{color:#475569;font-size:.8rem;font-weight:850}.fields input[b-pdrgw07wf0],.fields select[b-pdrgw07wf0]{width:100%;min-height:44px;padding:8px 11px;border:1px solid #d7e1ed;border-radius:10px;background:#fff;font:inherit}.wide[b-pdrgw07wf0]{grid-column:1/-1}.switch[b-pdrgw07wf0]{display:flex;align-items:center;gap:9px;color:#334155;font-weight:850}.switch input[b-pdrgw07wf0]{width:19px;height:19px}.switch.compact[b-pdrgw07wf0]{align-self:end;min-height:44px}.device-status[b-pdrgw07wf0]{padding:12px 14px;border-radius:11px;color:#64748b;background:#f8fafc;font-size:.8rem;font-weight:800}.device-status.ok[b-pdrgw07wf0]{color:#047857;background:#ecfdf5}@media(max-width:900px){.device-grid[b-pdrgw07wf0]{grid-template-columns:1fr}}@media(max-width:620px){.devices-page[b-pdrgw07wf0]{padding:12px}.devices-hero[b-pdrgw07wf0]{align-items:flex-start;flex-direction:column}.fields[b-pdrgw07wf0]{grid-template-columns:1fr}.wide[b-pdrgw07wf0]{grid-column:auto}}
/* /Components/Pages/ReturnManagement.razor.rz.scp.css */
.rma-page[b-fxojudhekx]{direction:rtl;padding:24px;background:#f3f6fb;min-height:100vh;color:#142033}.rma-hero[b-fxojudhekx]{display:flex;justify-content:space-between;align-items:center;padding:24px;border-radius:20px;background:#fff;border:1px solid #dce4ef}.rma-hero span[b-fxojudhekx]{color:#667085;font-weight:800}.rma-hero h1[b-fxojudhekx]{margin:6px 0;font-size:28px}.rma-hero p[b-fxojudhekx]{margin:0;color:#667085}.rma-hero button[b-fxojudhekx]{border:0;border-radius:12px;padding:13px 22px;background:#172554;color:white;font-weight:900}.rma-card[b-fxojudhekx]{margin-top:16px;padding:20px;border-radius:18px;background:#fff;border:1px solid #dce4ef}.rma-grid[b-fxojudhekx]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}label[b-fxojudhekx]{display:grid;gap:7px;font-weight:800;font-size:13px}input[b-fxojudhekx],select[b-fxojudhekx],textarea[b-fxojudhekx]{width:100%;border:1px solid #cbd5e1;border-radius:10px;padding:10px;background:#fff}.source-info[b-fxojudhekx]{display:flex;gap:24px;margin:16px 0;padding:12px;border-radius:12px;background:#f8fafc}.table-wrap[b-fxojudhekx]{overflow:auto}table[b-fxojudhekx]{width:100%;border-collapse:collapse}th[b-fxojudhekx],td[b-fxojudhekx]{padding:10px;border-bottom:1px solid #e5e7eb;text-align:right}th[b-fxojudhekx]{background:#f8fafc}td small[b-fxojudhekx]{display:block;color:#667085}.description[b-fxojudhekx]{margin-top:14px}.description textarea[b-fxojudhekx]{min-height:80px}.rma-message[b-fxojudhekx]{margin-top:14px;padding:12px;border-radius:10px;font-weight:800}.rma-message.success[b-fxojudhekx]{background:#ecfdf3;color:#067647}.rma-message.error[b-fxojudhekx]{background:#fef3f2;color:#b42318}.cards[b-fxojudhekx]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.cards article[b-fxojudhekx]{display:grid;gap:5px;padding:13px;border:1px solid #e5e7eb;border-radius:12px}.cards span[b-fxojudhekx]{color:#667085;font-size:12px}@media(max-width:900px){.rma-grid[b-fxojudhekx],.cards[b-fxojudhekx]{grid-template-columns:1fr 1fr}.rma-hero[b-fxojudhekx]{align-items:flex-start;gap:16px;flex-direction:column}}

.rma-page[b-fxojudhekx]  .erp-persian-date-input {
    width: 100%;
}

.rma-page[b-fxojudhekx]  .rma-persian-date {
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px;
    color: #142033;
    background: #fff;
    direction: rtl;
    text-align: right;
    font: inherit;
}

.rma-page[b-fxojudhekx]  .rma-persian-date:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.rma-page[b-fxojudhekx]  .erp-persian-date-error {
    display: block;
    margin-top: 5px;
    color: #b42318;
    font-size: 11px;
    font-weight: 800;
}
/* /Components/Pages/SaaS/WorkflowAdmin.razor.rz.scp.css */
.workflow-page[b-9ymgrmjd1y] {
    padding: 24px;
    color: #e5e7eb;
}

.workflow-header[b-9ymgrmjd1y] {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 24px;
}

    .workflow-header h1[b-9ymgrmjd1y] {
        font-size: 28px;
        margin: 0 0 8px;
    }

    .workflow-header p[b-9ymgrmjd1y] {
        margin: 0;
        color: #94a3b8;
    }

.header-actions[b-9ymgrmjd1y] {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.workflow-card[b-9ymgrmjd1y] {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 20px;
}

.form-grid[b-9ymgrmjd1y] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.full[b-9ymgrmjd1y] {
    grid-column: 1 / -1;
}

label[b-9ymgrmjd1y] {
    display: block;
    margin-bottom: 8px;
    color: #cbd5e1;
}

input[b-9ymgrmjd1y],
textarea[b-9ymgrmjd1y] {
    width: 100%;
    border: 1px solid #334155;
    background: #020617;
    color: #e5e7eb;
    border-radius: 12px;
    padding: 11px 12px;
    outline: none;
}

textarea[b-9ymgrmjd1y] {
    min-height: 90px;
}

.primary-btn[b-9ymgrmjd1y],
.secondary-btn[b-9ymgrmjd1y],
.ghost-btn[b-9ymgrmjd1y],
.seed-btn[b-9ymgrmjd1y],
.link-btn[b-9ymgrmjd1y] {
    border: 0;
    border-radius: 12px;
    padding: 11px 16px;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.primary-btn[b-9ymgrmjd1y] {
    background: var(--erp-accent, #7c3aed);
    color: var(--erp-on-brand, #ffffff);
}

.secondary-btn[b-9ymgrmjd1y] {
    background: var(--erp-primary, #2563eb);
    color: var(--erp-on-brand, #ffffff);
    margin-top: 16px;
}

.ghost-btn[b-9ymgrmjd1y] {
    background: #1f2937;
    color: #e5e7eb;
}

.seed-btn[b-9ymgrmjd1y] {
    background: #0f766e;
    color: white;
}

.link-btn[b-9ymgrmjd1y] {
    background: #312e81;
    color: #ddd6fe;
}

.seed-grid[b-9ymgrmjd1y] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.section-title[b-9ymgrmjd1y] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.message[b-9ymgrmjd1y] {
    margin: 14px 0;
    padding: 12px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 12px;
}

.empty[b-9ymgrmjd1y] {
    padding: 20px;
    color: #94a3b8;
}

.workflow-list[b-9ymgrmjd1y] {
    display: grid;
    gap: 16px;
}

.workflow-item[b-9ymgrmjd1y] {
    background: #020617;
    border: 1px solid #1e293b;
    border-radius: 16px;
    padding: 16px;
}

.workflow-item-main[b-9ymgrmjd1y] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

    .workflow-item-main h3[b-9ymgrmjd1y] {
        margin: 0 0 8px;
    }

    .workflow-item-main p[b-9ymgrmjd1y] {
        color: #94a3b8;
        margin: 0 0 10px;
    }

    .workflow-item-main span[b-9ymgrmjd1y] {
        display: inline-block;
        background: #1e293b;
        color: #cbd5e1;
        padding: 5px 10px;
        border-radius: 999px;
        margin-left: 8px;
        margin-bottom: 8px;
    }

    .workflow-item-main .active[b-9ymgrmjd1y] {
        background: #14532d;
        color: #bbf7d0;
    }

    .workflow-item-main .inactive[b-9ymgrmjd1y] {
        background: #7f1d1d;
        color: #fecaca;
    }

    .workflow-item-main .design-ok[b-9ymgrmjd1y] {
        background: #3730a3;
        color: #ddd6fe;
    }

.workflow-id[b-9ymgrmjd1y] {
    min-width: 280px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 14px;
    padding: 12px;
    direction: ltr;
    text-align: left;
}

    .workflow-id small[b-9ymgrmjd1y] {
        display: block;
        color: #94a3b8;
        margin-bottom: 6px;
    }

    .workflow-id code[b-9ymgrmjd1y] {
        color: #e5e7eb;
        font-size: 12px;
        word-break: break-all;
    }

.workflow-actions[b-9ymgrmjd1y] {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 14px 0;
}

.workflow-steps[b-9ymgrmjd1y] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
}

.step-chip[b-9ymgrmjd1y] {
    background: #312e81;
    color: #ddd6fe;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 13px;
}

.empty-step[b-9ymgrmjd1y] {
    background: #374151;
    color: #cbd5e1;
}

.add-step-box[b-9ymgrmjd1y] {
    display: grid;
    grid-template-columns: 1.2fr 1fr 100px auto auto auto;
    gap: 10px;
    align-items: center;
}

.check[b-9ymgrmjd1y] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    white-space: nowrap;
}

    .check input[b-9ymgrmjd1y] {
        width: auto;
    }

@media (max-width: 1100px) {
    .seed-grid[b-9ymgrmjd1y] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .workflow-item-main[b-9ymgrmjd1y] {
        flex-direction: column;
    }

    .workflow-id[b-9ymgrmjd1y] {
        min-width: 0;
    }
}

@media (max-width: 900px) {
    .workflow-header[b-9ymgrmjd1y],
    .form-grid[b-9ymgrmjd1y],
    .add-step-box[b-9ymgrmjd1y] {
        grid-template-columns: 1fr;
        display: grid;
    }

    .seed-grid[b-9ymgrmjd1y] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/SaaS/WorkflowDesigner.razor.rz.scp.css */
.connection-layer[b-4jm8up1g7s] {
    position: absolute;
    inset: 0;
    width: 2000px;
    height: 2000px;
    pointer-events: none;
}

.connection-line[b-4jm8up1g7s] {
    stroke: var(--erp-accent, #8b5cf6);
    stroke-width: 3;
}

.workflow-node.connect-source[b-4jm8up1g7s] {
    border-color: #22c55e;
}

.json-box[b-4jm8up1g7s] {
    width: 100%;
    margin-top: 16px;
    min-height: 180px;
    background: #020617;
    color: #e5e7eb;
    border: 1px solid #334155;
    border-radius: 14px;
    padding: 12px;
}
.workflow-id-input[b-4jm8up1g7s] {
    min-width: 320px;
    border: 1px solid #334155;
    background: #020617;
    color: #e5e7eb;
    border-radius: 12px;
    padding: 10px 12px;
}
/* /Components/Pages/SaaS/WorkflowInbox.razor.rz.scp.css */
.workflow-inbox-page[b-wf6jkieeb1] {
    padding: 24px;
    color: #e5e7eb;
}

.workflow-inbox-header[b-wf6jkieeb1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.workflow-inbox-header h1[b-wf6jkieeb1] {
    margin: 0 0 8px;
    font-size: 28px;
}

.workflow-inbox-header p[b-wf6jkieeb1] {
    margin: 0;
    color: #94a3b8;
}

.workflow-filter-card[b-wf6jkieeb1],
.workflow-list-card[b-wf6jkieeb1],
.workflow-detail-card[b-wf6jkieeb1] {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 18px;
    padding: 18px;
}

.workflow-filter-card[b-wf6jkieeb1] {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 14px;
    align-items: end;
    margin-bottom: 20px;
}

label[b-wf6jkieeb1] {
    display: block;
    color: #cbd5e1;
    margin-bottom: 8px;
}

input[b-wf6jkieeb1],
textarea[b-wf6jkieeb1] {
    width: 100%;
    border: 1px solid #334155;
    background: #020617;
    color: #e5e7eb;
    border-radius: 12px;
    padding: 11px 12px;
    outline: none;
}

textarea[b-wf6jkieeb1] {
    min-height: 100px;
}

.primary-btn[b-wf6jkieeb1],
.ghost-btn[b-wf6jkieeb1],
.approve-btn[b-wf6jkieeb1],
.reject-btn[b-wf6jkieeb1] {
    border: 0;
    border-radius: 12px;
    padding: 11px 16px;
    cursor: pointer;
    font-weight: 800;
}

.primary-btn[b-wf6jkieeb1] {
    background: var(--erp-accent, #7c3aed);
    color: #fff;
}

.ghost-btn[b-wf6jkieeb1] {
    background: #1f2937;
    color: #e5e7eb;
}

.approve-btn[b-wf6jkieeb1] {
    background: #16a34a;
    color: #fff;
}

.reject-btn[b-wf6jkieeb1] {
    background: #dc2626;
    color: #fff;
}

.message[b-wf6jkieeb1] {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 18px;
}

.workflow-grid[b-wf6jkieeb1] {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 18px;
}

.workflow-list-card h2[b-wf6jkieeb1],
.workflow-detail-card h2[b-wf6jkieeb1] {
    margin: 0 0 16px;
}

.workflow-item[b-wf6jkieeb1] {
    background: #020617;
    border: 1px solid #1e293b;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 12px;
    cursor: pointer;
}

.workflow-item.selected[b-wf6jkieeb1] {
    border-color: var(--erp-accent, #7c3aed);
    box-shadow: 0 0 0 1px var(--erp-accent, #7c3aed) inset;
}

.item-title[b-wf6jkieeb1] {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.item-title span[b-wf6jkieeb1],
.status[b-wf6jkieeb1] {
    background: #312e81;
    color: #ddd6fe;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
}

.item-meta[b-wf6jkieeb1] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.item-meta small[b-wf6jkieeb1] {
    background: #1e293b;
    color: #cbd5e1;
    border-radius: 999px;
    padding: 5px 9px;
}

code[b-wf6jkieeb1] {
    direction: ltr;
    display: inline-block;
    color: #cbd5e1;
    word-break: break-all;
}

.empty[b-wf6jkieeb1] {
    color: #94a3b8;
    padding: 18px;
}

.detail-head[b-wf6jkieeb1] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.detail-head p[b-wf6jkieeb1] {
    color: #94a3b8;
    margin: 6px 0 0;
}

.detail-grid[b-wf6jkieeb1] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.detail-grid > div[b-wf6jkieeb1] {
    background: #020617;
    border: 1px solid #1e293b;
    border-radius: 14px;
    padding: 14px;
}

.action-box[b-wf6jkieeb1] {
    background: #020617;
    border: 1px solid #1e293b;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 18px;
}

.action-buttons[b-wf6jkieeb1] {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.timeline[b-wf6jkieeb1] {
    background: #020617;
    border: 1px solid #1e293b;
    border-radius: 14px;
    padding: 14px;
}

.timeline h3[b-wf6jkieeb1] {
    margin-top: 0;
}

.timeline-item[b-wf6jkieeb1] {
    border-right: 3px solid var(--erp-accent, #7c3aed);
    padding: 8px 12px;
    margin-bottom: 10px;
    background: #0f172a;
    border-radius: 10px;
}

.timeline-item p[b-wf6jkieeb1] {
    color: #cbd5e1;
    margin: 6px 0;
}

.timeline-item small[b-wf6jkieeb1] {
    color: #94a3b8;
}

@media (max-width: 1100px) {
    .workflow-grid[b-wf6jkieeb1],
    .workflow-filter-card[b-wf6jkieeb1] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/SaleInvoicePrint.razor.rz.scp.css */
.sale-print-page[b-h8naovd6cw] {
    min-height: 100vh;
    background: #f1f5f9;
    padding: 28px;
    color: #0f172a;
}

.sale-print-toolbar[b-h8naovd6cw] {
    max-width: 1120px;
    margin: 0 auto 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.sale-print-toolbar h2[b-h8naovd6cw] {
    margin: 0;
    font-size: 26px;
    font-weight: 950;
}

.sale-print-toolbar p[b-h8naovd6cw] {
    margin: 6px 0 0;
    color: #64748b;
    font-weight: 800;
}

.sale-print-actions[b-h8naovd6cw] {
    display: flex;
    gap: 10px;
}

.sale-print-btn[b-h8naovd6cw] {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #0f172a;
    border-radius: 14px;
    padding: 11px 18px;
    font-weight: 950;
    cursor: pointer;
}

.sale-print-btn-primary[b-h8naovd6cw] {
    border-color: var(--erp-primary, #2563eb);
    background: var(--erp-primary, #2563eb);
    color: var(--erp-on-brand, #ffffff);
}

.sale-print-state[b-h8naovd6cw] {
    max-width: 680px;
    margin: 70px auto;
    background: #fff;
    border: 1px solid #dbe3ef;
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    font-weight: 950;
    box-shadow: 0 20px 44px rgba(15, 23, 42, .08);
}

.sale-print-error[b-h8naovd6cw] {
    display: grid;
    gap: 12px;
    color: #991b1b;
}

.sale-print-sheet[b-h8naovd6cw] {
    max-width: 1120px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 26px;
    padding: 34px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, .12);
}

.sale-print-header[b-h8naovd6cw] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 24px;
}

.sale-print-brand[b-h8naovd6cw] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sale-print-logo[b-h8naovd6cw] {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: var(--erp-primary, #2563eb);
    font-size: 22px;
    font-weight: 950;
}

.sale-print-brand h1[b-h8naovd6cw] {
    margin: 0;
    font-size: 34px;
    font-weight: 950;
}

.sale-print-brand p[b-h8naovd6cw] {
    margin: 8px 0 0;
    color: #64748b;
    font-weight: 800;
}

.sale-print-meta[b-h8naovd6cw] {
    display: grid;
    gap: 10px;
    min-width: 240px;
}

.sale-print-meta div[b-h8naovd6cw],
.sale-print-summary div[b-h8naovd6cw] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 14px;
}

.sale-print-meta span[b-h8naovd6cw],
.sale-print-info-card span[b-h8naovd6cw],
.sale-print-summary span[b-h8naovd6cw] {
    color: #64748b;
    font-weight: 850;
}

.sale-print-meta strong[b-h8naovd6cw],
.sale-print-info-card strong[b-h8naovd6cw],
.sale-print-summary strong[b-h8naovd6cw] {
    color: #0f172a;
    font-weight: 950;
}

.sale-print-info-grid[b-h8naovd6cw] {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 14px;
    margin: 24px 0;
}

.sale-print-info-card[b-h8naovd6cw] {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 18px;
    padding: 16px;
    display: grid;
    gap: 8px;
}

.sale-print-table[b-h8naovd6cw] {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 18px;
}

.sale-print-table th[b-h8naovd6cw] {
    background: #0f172a;
    color: #fff;
    font-weight: 950;
    padding: 14px;
    text-align: right;
}

.sale-print-table td[b-h8naovd6cw] {
    border-bottom: 1px solid #e2e8f0;
    padding: 14px;
    font-weight: 850;
}

.sale-print-table small[b-h8naovd6cw] {
    display: block;
    margin-top: 4px;
    color: #64748b;
}

.sale-print-money[b-h8naovd6cw] {
    color: #15803d;
    font-weight: 950 !important;
}

.sale-print-empty[b-h8naovd6cw] {
    text-align: center;
    color: #64748b;
    padding: 32px !important;
}

.sale-print-bottom[b-h8naovd6cw] {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 22px;
    margin-top: 28px;
    align-items: end;
}

.sale-print-signatures[b-h8naovd6cw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.sale-print-signatures div[b-h8naovd6cw] {
    height: 110px;
    border: 1px dashed #94a3b8;
    border-radius: 18px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
    color: #475569;
    font-weight: 900;
}

.sale-print-summary[b-h8naovd6cw] {
    display: grid;
    gap: 10px;
}

.sale-print-final[b-h8naovd6cw] {
    background: #eff6ff;
    border-color: #bfdbfe !important;
}

.sale-print-final strong[b-h8naovd6cw] {
    color: var(--erp-primary, #2563eb) !important;
    font-size: 18px;
}

.sale-print-footer[b-h8naovd6cw] {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    text-align: center;
    font-weight: 800;
}

@media print {
    body[b-h8naovd6cw] {
        background: #fff !important;
    }

    .no-print[b-h8naovd6cw] {
        display: none !important;
    }

    .sale-print-page[b-h8naovd6cw] {
        padding: 0;
        background: #fff;
    }

    .sale-print-sheet[b-h8naovd6cw] {
        max-width: none;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 12mm;
    }
}

@media (max-width: 900px) {
    .sale-print-toolbar[b-h8naovd6cw],
    .sale-print-header[b-h8naovd6cw],
    .sale-print-bottom[b-h8naovd6cw] {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .sale-print-info-grid[b-h8naovd6cw] {
        grid-template-columns: 1fr;
    }

    .sale-print-bottom[b-h8naovd6cw] {
        display: grid;
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/SaleNew.razor.rz.scp.css */
:host[b-5dqynqap4y]{display:block}.sale-pro-page[b-5dqynqap4y]{--sale-text:#0f172a;--sale-muted:#64748b;--sale-border:#dbe4f0;--sale-blue:var(--erp-primary,#2563eb);--sale-purple:var(--erp-accent,#6d28d9);--sale-green:#059669;--sale-red:#e11d48;min-height:100vh;padding:14px 16px 96px;direction:rtl;color:var(--sale-text);outline:none;background:linear-gradient(180deg,#eef4fb 0,#f8fbff 42%,#eef4fb 100%);overflow-x:hidden}.sale-pro-hero[b-5dqynqap4y]{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:96px;padding:16px 18px;margin-bottom:12px;border:1px solid #cfe0f7;border-radius:22px;background:linear-gradient(135deg,rgba(255,255,255,.99),rgba(239,246,255,.98));box-shadow:0 12px 34px rgba(15,23,42,.06)}.sale-hero-copy[b-5dqynqap4y]{display:grid;gap:8px}.sale-breadcrumb[b-5dqynqap4y]{display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:var(--sale-muted);font-size:11px;font-weight:900}.sale-breadcrumb span[b-5dqynqap4y],.sale-breadcrumb b[b-5dqynqap4y]{display:inline-flex;align-items:center;min-height:26px;padding:0 9px;border-radius:999px;background:#f8fafc;border:1px solid #e2e8f0}.sale-breadcrumb b[b-5dqynqap4y]{color:var(--sale-blue);background:#eff6ff;border-color:#bfdbfe}.sale-breadcrumb i[b-5dqynqap4y]{width:5px;height:5px;border-top:1.5px solid #94a3b8;border-left:1.5px solid #94a3b8;transform:rotate(-45deg)}.sale-hero-title-row[b-5dqynqap4y],.sale-title-with-icon[b-5dqynqap4y],.sale-summary-head[b-5dqynqap4y],.sale-product-preview-main[b-5dqynqap4y],.sale-product-cell-main[b-5dqynqap4y],.sale-row-actions[b-5dqynqap4y],.sale-hero-actions[b-5dqynqap4y]{display:flex;align-items:center}.sale-hero-title-row[b-5dqynqap4y]{gap:10px}.sale-hero-icon[b-5dqynqap4y]{width:44px;height:44px;display:grid;place-items:center;flex:0 0 auto;border-radius:14px;background:linear-gradient(135deg,#eef2ff,#f3e8ff);border:1px solid #ddd6fe;font-size:20px}.sale-eyebrow[b-5dqynqap4y]{display:none}.sale-pro-hero h1[b-5dqynqap4y]{margin:0;font-size:24px;line-height:1.2;font-weight:1000}.sale-pro-hero p[b-5dqynqap4y]{margin:5px 0 0;color:var(--sale-muted);font-size:12px;font-weight:750}.sale-hero-actions[b-5dqynqap4y]{gap:8px;flex-wrap:wrap}.erp-btn[b-5dqynqap4y]{min-height:40px;display:inline-flex;align-items:center;justify-content:center;padding:0 16px;border-radius:12px;border:0;font-weight:950;cursor:pointer;white-space:nowrap;transition:.15s}.erp-btn:hover:not(:disabled)[b-5dqynqap4y]{transform:translateY(-1px)}.erp-btn:disabled[b-5dqynqap4y]{opacity:.5;cursor:not-allowed}.erp-btn-primary[b-5dqynqap4y]{color:#fff;background:linear-gradient(135deg,var(--sale-blue),var(--sale-purple));box-shadow:0 10px 24px rgba(37,99,235,.2)}.erp-btn-print[b-5dqynqap4y]{color:#334155;background:#fff;border:1px solid var(--sale-border)}.erp-btn-danger[b-5dqynqap4y]{color:var(--sale-red);background:#fff1f2;border:1px solid #fecdd3}.erp-btn-official[b-5dqynqap4y]{color:#fff;background:linear-gradient(135deg,#047857,#059669)}.erp-btn-suspend[b-5dqynqap4y]{color:#9a3412;background:#fff7ed;border:1px solid #fdba74}.sale-state[b-5dqynqap4y]{padding:11px 14px;border-radius:14px;margin-bottom:10px;font-weight:900}.sale-loading[b-5dqynqap4y]{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe}.sale-error[b-5dqynqap4y]{color:#be123c;background:#fff1f2;border:1px solid #fecdd3}.sale-success[b-5dqynqap4y]{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0}.sale-shortcuts[b-5dqynqap4y]{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 10px}.sale-shortcuts span[b-5dqynqap4y]{min-height:30px;display:inline-flex;align-items:center;padding:0 10px;border-radius:10px;color:#475569;background:#fff;border:1px solid #e2e8f0;font-size:11px;font-weight:900}.sale-pro-grid[b-5dqynqap4y]{display:grid;grid-template-columns:minmax(0,1fr) 286px;grid-template-areas:"main summary";gap:12px;align-items:start;direction:ltr}.sale-main[b-5dqynqap4y]{grid-area:main;min-width:0;display:grid;gap:12px;direction:rtl}.sale-summary[b-5dqynqap4y]{grid-area:summary;position:sticky;top:12px;direction:rtl;z-index:3}.sale-card[b-5dqynqap4y]{width:100%;box-sizing:border-box;padding:16px;border-radius:20px;background:#fff;border:1px solid #dfe7f1;box-shadow:0 10px 30px rgba(15,23,42,.045);overflow:visible}.sale-card-title[b-5dqynqap4y]{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.sale-card-title-modern[b-5dqynqap4y]{min-height:48px;padding-bottom:10px;border-bottom:1px solid #e2e8f0}.sale-title-with-icon[b-5dqynqap4y],.sale-summary-head[b-5dqynqap4y],.sale-product-preview-main[b-5dqynqap4y],.sale-product-cell-main[b-5dqynqap4y]{gap:8px}.sale-section-icon[b-5dqynqap4y],.sale-summary-icon[b-5dqynqap4y]{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border-radius:11px;background:#f3f4ff;border:1px solid #ddd6fe;font-size:16px}.sale-card-title h3[b-5dqynqap4y],.sale-summary h3[b-5dqynqap4y]{margin:0;font-size:17px;font-weight:1000}.sale-card-title p[b-5dqynqap4y]{margin:3px 0 0;color:var(--sale-muted);font-size:11px;font-weight:750}.sale-badge[b-5dqynqap4y],.sale-total-chip[b-5dqynqap4y]{min-height:28px;display:inline-flex;align-items:center;padding:0 9px;border-radius:999px;font-size:10.5px;font-weight:1000;white-space:nowrap}.sale-badge[b-5dqynqap4y]{color:var(--sale-blue);background:#eff6ff;border:1px solid #dbeafe}.sale-total-chip[b-5dqynqap4y]{color:#6d28d9;background:#f5f3ff;border:1px solid #ddd6fe}.sale-invoice-type-panel[b-5dqynqap4y]{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;padding:10px;border:1px solid #e2e8f0;border-radius:15px;background:#f8fafc}.sale-invoice-type-copy[b-5dqynqap4y]{display:flex;align-items:center;gap:8px}.sale-invoice-type-icon[b-5dqynqap4y]{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;color:#6d28d9;background:#f3e8ff;border:1px solid #ddd6fe}.sale-invoice-type-copy>div[b-5dqynqap4y]{display:flex;flex-direction:column}.sale-invoice-type-copy strong[b-5dqynqap4y]{font-size:12px}.sale-invoice-type-copy small[b-5dqynqap4y]{font-size:10px;color:var(--sale-muted)}.sale-invoice-type-options[b-5dqynqap4y]{display:grid;grid-template-columns:repeat(2,minmax(130px,1fr));gap:6px}.sale-invoice-type-option[b-5dqynqap4y]{min-height:46px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:7px 10px;border:1px solid #dbe4f0;border-radius:11px;background:#fff;color:#334155;text-align:right;font:inherit;cursor:pointer}.sale-invoice-type-option span[b-5dqynqap4y]{font-size:11.5px;font-weight:1000}.sale-invoice-type-option small[b-5dqynqap4y]{font-size:9.5px;color:#7c899e}.sale-invoice-type-option.active[b-5dqynqap4y]{color:#fff;border-color:transparent;background:linear-gradient(135deg,var(--sale-blue),var(--sale-purple))}.sale-invoice-type-option.active small[b-5dqynqap4y]{color:rgba(255,255,255,.78)}.sale-official-notice[b-5dqynqap4y]{display:flex;gap:8px;margin:-2px 0 12px;padding:9px 11px;border:1px solid #c9efdf;border-radius:11px;background:#edfbf5;color:#087a54;font-size:10.5px}.sale-form-grid[b-5dqynqap4y]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:end}.sale-field[b-5dqynqap4y],.sale-picker-wrap[b-5dqynqap4y]{min-width:0}.sale-picker-wrap[b-5dqynqap4y]{position:relative}.sale-field label[b-5dqynqap4y],.sale-card label[b-5dqynqap4y]{display:block;margin:0 2px 5px 0;font-size:11.5px;font-weight:1000}.form-control[b-5dqynqap4y],.form-select[b-5dqynqap4y],.sale-readonly-box[b-5dqynqap4y]{width:100%;min-width:0;min-height:42px;padding:0 11px;border-radius:11px;border:1px solid var(--sale-border);background:#f8fafc;color:var(--sale-text);font-size:12px;font-weight:850;box-sizing:border-box}.form-control:focus[b-5dqynqap4y],.form-select:focus[b-5dqynqap4y]{border-color:#8b5cf6;box-shadow:0 0 0 3px rgba(124,58,237,.08);background:#fff;outline:0}.sale-card textarea.form-control[b-5dqynqap4y]{min-height:64px;padding:10px 11px;resize:vertical}.sale-field-customer-search[b-5dqynqap4y]{grid-column:span 2}.sale-field-customer-search>div[style][b-5dqynqap4y]{margin-top:5px!important}.sale-field-customer-search .erp-btn[b-5dqynqap4y]{min-height:34px;padding:0 12px;font-size:11px}.sale-picker-panel[b-5dqynqap4y]{position:absolute;top:calc(100% + 6px);right:0;left:0;z-index:100;max-height:300px;overflow:auto;padding:6px;border-radius:13px;background:#fff;border:1px solid var(--sale-border);box-shadow:0 18px 48px rgba(15,23,42,.18)}.sale-picker-item[b-5dqynqap4y]{width:100%;display:grid;gap:3px;padding:9px;border:0;border-radius:9px;background:transparent;text-align:right;cursor:pointer}.sale-picker-item:hover[b-5dqynqap4y],.sale-picker-item.active[b-5dqynqap4y]{background:#eff6ff}.sale-picker-item strong[b-5dqynqap4y]{font-size:12px}.sale-picker-item span[b-5dqynqap4y],.sale-picker-empty[b-5dqynqap4y]{color:var(--sale-muted);font-size:10.5px}.sale-selected-info[b-5dqynqap4y]{margin-top:10px;padding:10px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;border-radius:13px;background:#f8fafc;border:1px solid #e2e8f0}.sale-selected-info span[b-5dqynqap4y]{display:block;margin-bottom:3px;color:var(--sale-muted);font-size:10px;font-weight:900}.sale-selected-info strong[b-5dqynqap4y]{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11.5px}.sale-product-tools[b-5dqynqap4y]{display:grid;grid-template-columns:1fr 1.4fr;gap:10px;margin-bottom:10px}.sale-scan-box[b-5dqynqap4y],.sale-product-search-wrap[b-5dqynqap4y]{position:relative;min-width:0;min-height:76px;padding:10px;border-radius:15px;border:1px solid #dbeafe;background:#f8fbff}.sale-scan-box[b-5dqynqap4y]{display:grid;grid-template-columns:34px minmax(0,1fr) 72px;align-items:end;gap:8px}.sale-scan-icon[b-5dqynqap4y]{width:34px;height:34px;display:grid;place-items:center;align-self:center;border-radius:11px;color:var(--sale-blue);background:#dbeafe}.sale-scan-button[b-5dqynqap4y]{padding-inline:8px}.sale-search-input-wrap[b-5dqynqap4y]{position:relative}.sale-search-input-wrap>span[b-5dqynqap4y]{position:absolute;top:50%;right:11px;transform:translateY(-50%);color:var(--sale-muted);pointer-events:none}.sale-search-input-wrap .form-control[b-5dqynqap4y]{padding-right:34px}.sale-product-panel[b-5dqynqap4y]{right:10px;left:10px;top:calc(100% + 5px);max-height:320px}.sale-product-result[b-5dqynqap4y]{grid-template-columns:auto minmax(0,1fr);column-gap:8px}.sale-product-result-code[b-5dqynqap4y]{min-width:56px;padding:5px 7px;border-radius:999px;color:var(--sale-blue)!important;background:#eff6ff;font-size:10px!important}.sale-product-result small[b-5dqynqap4y]{grid-column:1/-1;font-size:10px;color:var(--sale-muted)}.sale-add-item-panel[b-5dqynqap4y]{display:grid;grid-template-columns:minmax(0,2fr) repeat(4,minmax(90px,.7fr));gap:8px;align-items:end;margin-top:10px;padding:10px;border-radius:15px;background:#f8fafc;border:1px solid #e2e8f0}.sale-add-action[b-5dqynqap4y]{grid-column:auto}.sale-add-product-btn[b-5dqynqap4y]{width:100%;min-height:42px}.sale-product-preview[b-5dqynqap4y]{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:8px;margin-top:10px;padding:10px;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0}.sale-product-preview>div[b-5dqynqap4y]{min-width:0;min-height:52px;display:grid;align-content:center;padding:8px 9px;border-radius:10px;background:#fff;border:1px solid #e2e8f0}.sale-product-preview span[b-5dqynqap4y]{display:block;margin-bottom:3px;color:var(--sale-muted);font-size:10px}.sale-product-preview strong[b-5dqynqap4y]{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11.5px}.sale-empty-modern[b-5dqynqap4y]{min-height:120px;display:grid;place-items:center;align-content:center;gap:6px;border-radius:14px;border:1px dashed #cbd5e1;background:#f8fafc;text-align:center}.sale-empty-visual[b-5dqynqap4y]{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:#fff;border:1px solid #e2e8f0;font-size:22px}.sale-empty-modern strong[b-5dqynqap4y]{font-size:13px}.sale-empty-modern span[b-5dqynqap4y]{font-size:10.5px;color:var(--sale-muted)}.sale-items-table-wrap[b-5dqynqap4y]{width:100%;overflow:auto;border:1px solid #e2e8f0;border-radius:14px;background:#fff}.sale-items-table[b-5dqynqap4y]{min-width:780px;width:100%;border-collapse:separate;border-spacing:0}.sale-items-table thead th[b-5dqynqap4y]{position:sticky;top:0;z-index:2;padding:9px 8px;color:#475569;background:#f8fafc;border-bottom:1px solid #e2e8f0;font-size:10.5px;font-weight:1000;white-space:nowrap}.sale-items-table tbody td[b-5dqynqap4y]{padding:8px;border-bottom:1px solid #edf2f7;font-size:11.5px;vertical-align:middle}.sale-row-index span[b-5dqynqap4y]{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;color:var(--sale-blue);background:#eff6ff;font-size:10px}.sale-product-cell[b-5dqynqap4y]{min-width:190px}.sale-product-mini-icon[b-5dqynqap4y]{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#f3e8ff}.sale-product-cell-main strong[b-5dqynqap4y]{display:block;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11.5px}.sale-product-cell-main small[b-5dqynqap4y]{display:block;margin-top:2px;color:var(--sale-muted);font-size:9.5px}.sale-stock-pill[b-5dqynqap4y],.sale-status[b-5dqynqap4y]{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-size:10px;font-weight:1000;white-space:nowrap}.sale-stock-pill[b-5dqynqap4y]{min-width:50px;min-height:26px;padding:0 8px}.sale-stock-pill.ok[b-5dqynqap4y],.sale-status-ok[b-5dqynqap4y]{color:#166534;background:#dcfce7}.sale-stock-pill.danger[b-5dqynqap4y],.sale-status-danger[b-5dqynqap4y]{color:#be123c;background:#ffe4e6}.sale-table-input[b-5dqynqap4y],.sale-qty-input[b-5dqynqap4y]{width:72px;min-height:34px;padding:0 6px;text-align:center}.sale-icon-btn[b-5dqynqap4y]{min-height:30px;padding:0 9px;border-radius:9px;border:0;font-size:10px;font-weight:1000;cursor:pointer}.sale-icon-btn.danger[b-5dqynqap4y]{color:var(--sale-red);background:#fff1f2;border:1px solid #fecdd3}.sale-items-footer[b-5dqynqap4y]{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-top:9px}.sale-items-footer>div[b-5dqynqap4y]{min-height:54px;display:grid;align-content:center;gap:3px;padding:8px 10px;border-radius:11px;background:#fff;border:1px solid #e2e8f0}.sale-items-footer span[b-5dqynqap4y]{color:var(--sale-muted);font-size:9.5px}.sale-items-footer strong[b-5dqynqap4y]{font-size:12px}.sale-items-footer .final[b-5dqynqap4y]{color:#fff;background:linear-gradient(135deg,var(--sale-blue),var(--sale-purple));border:0}.sale-items-footer .final span[b-5dqynqap4y],.sale-items-footer .final strong[b-5dqynqap4y]{color:#fff}.sale-summary-modern[b-5dqynqap4y]{padding:14px}.sale-summary-head[b-5dqynqap4y]{gap:8px;padding-bottom:9px;border-bottom:1px solid #e2e8f0}.sale-summary-row[b-5dqynqap4y]{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 0;border-bottom:1px solid #edf2f7}.sale-summary-row span[b-5dqynqap4y]{color:#475569;font-size:11px}.sale-summary-row strong[b-5dqynqap4y]{font-size:12px}.sale-summary-input[b-5dqynqap4y]{min-height:32px;max-width:95px;padding:0 6px;text-align:center}.sale-summary-final[b-5dqynqap4y]{min-height:58px;margin-top:10px;padding:12px;border-radius:14px;color:#fff;background:linear-gradient(135deg,var(--sale-blue),var(--sale-purple));display:flex;justify-content:space-between;align-items:center}.sale-summary-final strong[b-5dqynqap4y]{color:#fff;font-size:17px}.sale-actions[b-5dqynqap4y]{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:10px}.sale-actions .erp-btn[b-5dqynqap4y]{width:100%;min-height:38px;padding:0 8px;font-size:10.5px}.sale-actions .erp-btn:first-child[b-5dqynqap4y]{grid-column:1/-1}.sale-side-warning[b-5dqynqap4y]{margin-top:9px;padding:9px;border-radius:11px;color:#be123c;background:#fff1f2;font-size:10.5px}.sale-suspended-panel[b-5dqynqap4y]{margin:0 0 10px;padding:12px;border:1px solid #bfdbfe;border-radius:16px;background:#fff}.sale-suspended-head[b-5dqynqap4y],.sale-suspended-item[b-5dqynqap4y],.sale-suspended-actions[b-5dqynqap4y]{display:flex;align-items:center}.sale-suspended-head[b-5dqynqap4y],.sale-suspended-item[b-5dqynqap4y]{justify-content:space-between;gap:10px}.sale-suspended-head h3[b-5dqynqap4y]{margin:0;font-size:14px}.sale-suspended-head p[b-5dqynqap4y]{margin:2px 0 0;color:var(--sale-muted);font-size:10px}.sale-suspended-list[b-5dqynqap4y]{display:grid;gap:7px}.sale-suspended-item[b-5dqynqap4y]{padding:9px;border:1px solid #e2e8f0;border-radius:11px;background:#f8fafc}.sale-suspended-main[b-5dqynqap4y]{display:grid;gap:2px}.sale-suspended-main strong[b-5dqynqap4y]{font-size:11.5px}.sale-suspended-main span[b-5dqynqap4y],.sale-suspended-main small[b-5dqynqap4y]{font-size:9.5px;color:var(--sale-muted)}.sale-suspended-actions[b-5dqynqap4y]{gap:5px}.sale-suspended-actions .erp-btn[b-5dqynqap4y]{min-height:32px;padding:0 9px;font-size:9.5px}.sale-payment-modal-backdrop[b-5dqynqap4y]{position:fixed;inset:0;z-index:9999;padding:16px;display:grid;place-items:center;background:rgba(15,23,42,.58);backdrop-filter:blur(8px);overflow:auto}.sale-payment-modal-shell[b-5dqynqap4y]{width:min(760px,100%);max-height:calc(100vh - 32px);overflow:auto;border-radius:22px;background:#fff;box-shadow:0 30px 90px rgba(15,23,42,.32)}@media(max-width:1280px){.sale-pro-grid[b-5dqynqap4y]{grid-template-columns:minmax(0,1fr) 258px}.sale-form-grid[b-5dqynqap4y]{grid-template-columns:repeat(3,minmax(0,1fr))}.sale-add-item-panel[b-5dqynqap4y]{grid-template-columns:repeat(3,minmax(0,1fr))}.sale-add-action[b-5dqynqap4y]{grid-column:1/-1}.sale-product-tools[b-5dqynqap4y]{grid-template-columns:1fr}.sale-product-preview[b-5dqynqap4y]{grid-template-columns:repeat(2,minmax(0,1fr))}.sale-product-preview-main[b-5dqynqap4y]{grid-column:1/-1}}@media(max-width:980px){.sale-pro-page[b-5dqynqap4y]{padding:10px 10px 122px}.sale-pro-hero[b-5dqynqap4y]{min-height:auto;padding:12px 14px;border-radius:16px}.sale-breadcrumb[b-5dqynqap4y],.sale-pro-hero p[b-5dqynqap4y],.sale-shortcuts[b-5dqynqap4y]{display:none}.sale-pro-hero h1[b-5dqynqap4y]{font-size:18px}.sale-hero-icon[b-5dqynqap4y]{width:36px;height:36px;border-radius:11px;font-size:17px}.sale-hero-actions .erp-btn:not(.erp-btn-primary)[b-5dqynqap4y]{display:none}.sale-pro-grid[b-5dqynqap4y]{display:flex;flex-direction:column;gap:9px;direction:rtl}.sale-main[b-5dqynqap4y]{order:1;width:100%;gap:9px}.sale-summary[b-5dqynqap4y]{order:2;position:fixed;right:10px;left:10px;bottom:8px;top:auto;width:auto;z-index:1100;padding:8px;border-radius:16px;box-shadow:0 18px 50px rgba(15,23,42,.24)}.sale-summary-head[b-5dqynqap4y],.sale-summary-row[b-5dqynqap4y],.sale-side-warning[b-5dqynqap4y]{display:none}.sale-summary-final[b-5dqynqap4y]{min-height:46px;margin:0;padding:8px 10px}.sale-summary-final span[b-5dqynqap4y]{font-size:10px}.sale-summary-final strong[b-5dqynqap4y]{font-size:15px}.sale-actions[b-5dqynqap4y]{grid-template-columns:1fr 1fr;margin-top:6px}.sale-actions .erp-btn[b-5dqynqap4y]{display:none;min-height:38px;font-size:11px}.sale-actions .erp-btn:nth-child(1)[b-5dqynqap4y],.sale-actions .erp-btn:nth-child(2)[b-5dqynqap4y]{display:flex}.sale-actions .erp-btn:first-child[b-5dqynqap4y]{grid-column:auto}.sale-card[b-5dqynqap4y]{padding:12px;border-radius:15px}.sale-card-title[b-5dqynqap4y]{margin-bottom:9px}.sale-card-title-modern[b-5dqynqap4y]{min-height:40px;padding-bottom:8px}.sale-section-icon[b-5dqynqap4y]{width:30px;height:30px}.sale-card-title h3[b-5dqynqap4y]{font-size:14px}.sale-card-title p[b-5dqynqap4y]{display:none}.sale-invoice-type-panel[b-5dqynqap4y]{align-items:stretch;flex-direction:column;padding:8px}.sale-invoice-type-copy[b-5dqynqap4y]{display:none}.sale-invoice-type-options[b-5dqynqap4y]{grid-template-columns:1fr 1fr}.sale-invoice-type-option[b-5dqynqap4y]{min-height:40px}.sale-invoice-type-option small[b-5dqynqap4y]{display:none}.sale-form-grid[b-5dqynqap4y]{grid-template-columns:1fr 1fr;gap:8px}.sale-field-customer-search[b-5dqynqap4y]{grid-column:1/-1}.sale-selected-info[b-5dqynqap4y]{grid-template-columns:1fr 1fr}.sale-product-tools[b-5dqynqap4y]{gap:8px}.sale-scan-box[b-5dqynqap4y]{grid-template-columns:minmax(0,1fr) 62px;min-height:auto;padding:8px}.sale-scan-icon[b-5dqynqap4y]{display:none}.sale-product-search-wrap[b-5dqynqap4y]{min-height:auto;padding:8px}.sale-add-item-panel[b-5dqynqap4y]{grid-template-columns:1fr 1fr;gap:7px;padding:8px}.sale-field-product[b-5dqynqap4y]{grid-column:1/-1}.sale-add-action[b-5dqynqap4y]{grid-column:1/-1}.sale-product-preview[b-5dqynqap4y]{display:none}.sale-empty-modern[b-5dqynqap4y]{min-height:90px}.sale-items-footer[b-5dqynqap4y]{grid-template-columns:1fr 1fr}.sale-items-footer>div[b-5dqynqap4y]{display:none}.sale-items-footer>div:nth-last-child(1)[b-5dqynqap4y],.sale-items-footer>div:nth-last-child(2)[b-5dqynqap4y]{display:grid}.sale-items-footer .final[b-5dqynqap4y]{grid-column:auto}.sale-payment-modal-backdrop[b-5dqynqap4y]{padding:8px;align-items:end}.sale-payment-modal-shell[b-5dqynqap4y]{max-height:calc(100vh - 16px);border-radius:20px 20px 0 0}}@media(max-width:560px){.sale-pro-page[b-5dqynqap4y]{padding:7px 7px 126px}.sale-pro-hero[b-5dqynqap4y]{margin-bottom:7px;padding:9px 10px}.sale-pro-hero h1[b-5dqynqap4y]{font-size:16px}.sale-hero-actions .erp-btn-primary[b-5dqynqap4y]{min-height:36px;padding:0 12px;font-size:10.5px}.sale-form-grid[b-5dqynqap4y]{grid-template-columns:1fr}.sale-field-customer-search[b-5dqynqap4y]{grid-column:auto}.sale-invoice-type-options[b-5dqynqap4y]{grid-template-columns:1fr 1fr}.form-control[b-5dqynqap4y],.form-select[b-5dqynqap4y],.sale-readonly-box[b-5dqynqap4y]{min-height:40px}.sale-selected-info[b-5dqynqap4y]{grid-template-columns:1fr}.sale-product-tools[b-5dqynqap4y]{grid-template-columns:1fr}.sale-scan-box[b-5dqynqap4y]{grid-template-columns:1fr}.sale-scan-button[b-5dqynqap4y]{width:100%}.sale-add-item-panel[b-5dqynqap4y]{grid-template-columns:1fr}.sale-field-product[b-5dqynqap4y],.sale-add-action[b-5dqynqap4y]{grid-column:auto}.sale-items-table[b-5dqynqap4y]{min-width:690px}.sale-summary[b-5dqynqap4y]{right:7px;left:7px;bottom:6px}.sale-actions[b-5dqynqap4y]{gap:5px}.sale-summary-final strong[b-5dqynqap4y]{font-size:14px}.sale-card[b-5dqynqap4y]{padding:10px}.sale-card-title h3[b-5dqynqap4y]{font-size:13px}.sale-badge[b-5dqynqap4y]{font-size:9px}.sale-suspended-item[b-5dqynqap4y]{align-items:stretch;flex-direction:column}.sale-suspended-actions[b-5dqynqap4y],.sale-suspended-actions .erp-btn[b-5dqynqap4y]{width:100%}}

/* Component-local dark palette: follows the current user's ThemeService state. */
.sale-pro-page.sale-pro-dark[b-5dqynqap4y]{--sale-text:#f8fafc;--sale-muted:#a8b3c7;--sale-border:#334155;color:#f8fafc!important;background:linear-gradient(180deg,#020617 0,#071126 46%,#020617 100%)!important}
.sale-pro-page.sale-pro-dark :is(.sale-pro-hero,.sale-card,.sale-summary,.sale-invoice-type-panel,.sale-product-tools,.sale-scan-box,.sale-product-search-wrap,.sale-add-item-panel,.sale-product-preview,.sale-product-preview>div,.sale-empty-modern,.sale-empty-visual,.sale-items-table-wrap,.sale-items-footer>div:not(.final),.sale-picker-panel,.sale-selected-info,.sale-suspended-panel,.sale-suspended-item,.sale-payment-modal-shell)[b-5dqynqap4y]{color:#f8fafc!important;border-color:#2a394f!important;background:#0f172a!important;box-shadow:none!important}
.sale-pro-page.sale-pro-dark .sale-pro-hero[b-5dqynqap4y]{background:linear-gradient(135deg,#0f172a,#111c30)!important}
.sale-pro-page.sale-pro-dark :is(.sale-invoice-type-option:not(.active),.sale-shortcuts span,.form-control,.form-select,.sale-readonly-box,.sale-summary-input,.sale-table-input,.sale-qty-input,.sale-barcode-input)[b-5dqynqap4y]{color:#f8fafc!important;border-color:#3a4960!important;background:#111c30!important;box-shadow:none!important}
.sale-pro-page.sale-pro-dark :is(.sale-invoice-type-option:not(.active),.sale-invoice-type-option:not(.active) span,.sale-invoice-type-option:not(.active) small)[b-5dqynqap4y]{color:#e5edf8!important}
.sale-pro-page.sale-pro-dark :is(.sale-section-icon,.sale-summary-icon,.sale-product-mini-icon,.sale-scan-icon,.sale-row-index span,.sale-badge,.sale-total-chip)[b-5dqynqap4y]{color:#dbeafe!important;border-color:#334b70!important;background:#172a4a!important}
.sale-pro-page.sale-pro-dark :is(h1,h2,h3,strong,label,.sale-product-cell-main strong)[b-5dqynqap4y]{color:#f8fafc!important}
.sale-pro-page.sale-pro-dark :is(p,small,.sale-card-title p,.sale-summary-row span,.sale-product-cell-main small,.sale-items-footer span)[b-5dqynqap4y]{color:#a8b3c7!important}
.sale-pro-page.sale-pro-dark .sale-items-table thead th[b-5dqynqap4y]{color:#dbe7f7!important;border-color:#2a394f!important;background:#172033!important}
.sale-pro-page.sale-pro-dark .sale-items-table tbody td[b-5dqynqap4y]{color:#f8fafc!important;border-color:#223047!important;background:transparent!important}
.sale-pro-page.sale-pro-dark :is(.sale-summary-final,.sale-items-footer .final,.sale-invoice-type-option.active)[b-5dqynqap4y]{color:#fff!important;border-color:transparent!important;background:linear-gradient(135deg,var(--sale-blue),var(--sale-purple))!important}
.sale-pro-page.sale-pro-dark :is(.sale-summary-final,.sale-items-footer .final,.sale-invoice-type-option.active) :is(span,strong,small)[b-5dqynqap4y]{color:#fff!important}
.sale-pro-page.sale-pro-dark input[b-5dqynqap4y]::placeholder,.sale-pro-page.sale-pro-dark textarea[b-5dqynqap4y]::placeholder{color:#94a3b8!important;opacity:1!important}
.sale-pro-page.sale-pro-dark .erp-btn:disabled[b-5dqynqap4y]{color:#94a3b8!important;border-color:#334155!important;background:#172033!important;opacity:.65!important}


/* Sale channel/origin selector */
.sale-source-panel[b-5dqynqap4y]{display:grid;gap:10px;margin-bottom:12px;padding:12px;border:1px solid #dbe4f0;border-radius:15px;background:#f8fafc}
.sale-source-heading[b-5dqynqap4y]{display:flex;align-items:center;justify-content:space-between}.sale-source-heading>div[b-5dqynqap4y]{display:grid;gap:2px}.sale-source-heading strong[b-5dqynqap4y]{font-size:12px}.sale-source-heading small[b-5dqynqap4y],.sale-source-operation-note[b-5dqynqap4y]{color:var(--sale-muted);font-size:10px;font-weight:750}
.sale-source-type-options[b-5dqynqap4y]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.sale-source-type-option[b-5dqynqap4y]{min-height:40px;padding:0 10px;border:1px solid #dbe4f0;border-radius:11px;color:#475569;background:#fff;font:inherit;font-size:11px;font-weight:950;cursor:pointer}
.sale-source-type-option.active[b-5dqynqap4y]{color:#fff;border-color:transparent;background:linear-gradient(135deg,var(--sale-blue),var(--sale-purple))}
.sale-source-origin-row[b-5dqynqap4y]{display:grid;grid-template-columns:1fr 1.3fr;gap:10px;align-items:end}
.sale-source-create label[b-5dqynqap4y]{display:block;margin:0 2px 5px 0;font-size:11.5px;font-weight:1000}.sale-source-create>div[b-5dqynqap4y]{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.sale-source-create .erp-btn[b-5dqynqap4y]{min-height:42px}
.sale-pro-page.sale-pro-dark .sale-source-panel[b-5dqynqap4y]{color:#f8fafc!important;border-color:#2a394f!important;background:#0f172a!important}
.sale-pro-page.sale-pro-dark .sale-source-type-option:not(.active)[b-5dqynqap4y]{color:#dbe7f7!important;border-color:#3a4960!important;background:#111c30!important}
.sale-pro-page.sale-pro-dark .sale-source-heading small[b-5dqynqap4y],.sale-pro-page.sale-pro-dark .sale-source-operation-note[b-5dqynqap4y]{color:#a8b3c7!important}
@media(max-width:980px){.sale-source-type-options[b-5dqynqap4y]{grid-template-columns:1fr 1fr}.sale-source-origin-row[b-5dqynqap4y]{grid-template-columns:1fr}}
@media(max-width:560px){.sale-source-panel[b-5dqynqap4y]{padding:9px}.sale-source-create>div[b-5dqynqap4y]{grid-template-columns:1fr}.sale-source-create .erp-btn[b-5dqynqap4y]{width:100%}}


/* Stable, compact product lookup */
.sale-product-search-wrap .sale-search-input-wrap[b-5dqynqap4y]{display:flex;align-items:center}
.sale-product-search-wrap .sale-search-input-wrap .form-control[b-5dqynqap4y]{min-height:44px;padding-left:42px;font-size:13px}
.sale-search-clear[b-5dqynqap4y]{position:absolute;left:8px;top:50%;z-index:2;width:30px;height:30px;display:grid;place-items:center;transform:translateY(-50%);border:1px solid var(--sale-border);border-radius:9px;background:var(--sale-surface,#fff);color:var(--sale-muted);font-size:20px;line-height:1;cursor:pointer}
.sale-search-clear:hover[b-5dqynqap4y]{color:#dc2626;border-color:#fca5a5;background:#fff1f2}
.sale-product-panel[b-5dqynqap4y]{padding:8px;box-shadow:0 22px 55px rgba(2,6,23,.28)}
.sale-product-result[b-5dqynqap4y]{min-height:62px;padding:10px 12px;border-bottom:1px solid var(--sale-border)}
.sale-product-result:last-child[b-5dqynqap4y]{border-bottom:0}
.sale-picker-hint[b-5dqynqap4y]{min-height:72px;display:grid;place-items:center;text-align:center}
.sale-pro-dark .sale-search-clear[b-5dqynqap4y]{background:#111c32;color:#cbd5e1;border-color:#334155}
.sale-pro-dark .sale-search-clear:hover[b-5dqynqap4y]{background:#3f1722;color:#fecdd3;border-color:#be123c}


/* Fast unified product search */
.sale-product-fast-search[b-5dqynqap4y]{position:relative;margin-bottom:12px;padding:14px;border:1px solid #bfdbfe;border-radius:17px;background:linear-gradient(135deg,#f8fbff,#f5f3ff)}
.sale-product-fast-search>label[b-5dqynqap4y]{margin-bottom:7px;font-size:12px}
.sale-fast-search-shell[b-5dqynqap4y]{position:relative;display:flex;align-items:center}
.sale-fast-search-shell .form-control[b-5dqynqap4y]{min-height:54px;padding-right:44px;padding-left:48px;border-width:1.5px;border-color:#c7d7ee;background:#fff;font-size:14px}
.sale-fast-search-shell .form-control:focus[b-5dqynqap4y]{border-color:#7c3aed;box-shadow:0 0 0 4px rgba(124,58,237,.1)}
.sale-fast-search-icon[b-5dqynqap4y]{position:absolute;right:15px;z-index:2;color:var(--sale-blue);font-size:23px;pointer-events:none}
.sale-search-spinner[b-5dqynqap4y]{position:absolute;left:16px;z-index:3;width:20px;height:20px;border:2px solid #cbd5e1;border-top-color:var(--sale-purple);border-radius:50%;animation:sale-search-spin-b-5dqynqap4y .65s linear infinite}
@keyframes sale-search-spin-b-5dqynqap4y{to{transform:rotate(360deg)}}
.sale-fast-search-help[b-5dqynqap4y]{display:block;margin-top:7px;color:var(--sale-muted);font-size:10.5px;font-weight:750}
.sale-fast-results[b-5dqynqap4y]{top:calc(100% - 8px);right:14px;left:14px;max-height:360px;padding:7px;box-shadow:0 24px 60px rgba(15,23,42,.22)}
.sale-selected-product[b-5dqynqap4y]{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 10px;border:1px solid #bfdbfe;border-radius:11px;background:#eff6ff}
.sale-selected-product>div[b-5dqynqap4y]{min-width:0;display:grid;gap:2px}
.sale-selected-product strong[b-5dqynqap4y]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11.5px}
.sale-selected-product span[b-5dqynqap4y],.sale-selected-product small[b-5dqynqap4y]{color:var(--sale-muted);font-size:9.5px}
.sale-selected-product.empty[b-5dqynqap4y]{justify-content:center;color:var(--sale-muted);border-style:dashed;background:#fff}
.sale-pro-page.sale-pro-dark .sale-product-fast-search[b-5dqynqap4y]{border-color:#334b70;background:linear-gradient(135deg,#0f172a,#131b35)}
.sale-pro-page.sale-pro-dark .sale-fast-search-shell .form-control[b-5dqynqap4y]{color:#f8fafc;border-color:#40516b;background:#111c30}
.sale-pro-page.sale-pro-dark .sale-selected-product[b-5dqynqap4y]{color:#f8fafc;border-color:#334b70;background:#172a4a}
.sale-pro-page.sale-pro-dark .sale-selected-product.empty[b-5dqynqap4y]{color:#a8b3c7;border-color:#3a4960;background:#111c30}
@media(max-width:980px){.sale-product-fast-search[b-5dqynqap4y]{padding:10px}.sale-fast-search-shell .form-control[b-5dqynqap4y]{min-height:50px}.sale-fast-results[b-5dqynqap4y]{right:10px;left:10px}.sale-selected-product[b-5dqynqap4y]{min-height:40px}}
@media(max-width:560px){.sale-product-fast-search[b-5dqynqap4y]{padding:9px;border-radius:14px}.sale-fast-search-shell .form-control[b-5dqynqap4y]{min-height:48px;font-size:13px}.sale-fast-search-help[b-5dqynqap4y]{line-height:1.7}.sale-fast-results[b-5dqynqap4y]{right:7px;left:7px;max-height:300px}}
/* /Components/Pages/SalePrint.razor.rz.scp.css */
.print-page[b-zxiaphxpbb] {
    min-height: 100vh;
    padding: 22px;
    color: #111827;
    background: #fff !important;
    font-family: Tahoma, Arial, sans-serif;
}

.print-page *[b-zxiaphxpbb],
.print-page *[b-zxiaphxpbb]::before,
.print-page *[b-zxiaphxpbb]::after {
    box-sizing: border-box;
}

.print-toolbar[b-zxiaphxpbb] {
    width: min(1120px, 100%);
    min-height: 62px;
    margin: 0 auto 14px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    border: 1px solid #b8c0cc;
    border-radius: 8px;
    background: #fff !important;
}

.print-btn[b-zxiaphxpbb] {
    min-height: 40px;
    padding: 0 17px;
    border: 1px solid #8d96a4;
    border-radius: 6px;
    color: #111827;
    background: #fff !important;
    font: inherit;
    font-size: 11px;
    font-weight: 1000;
    cursor: pointer;
}

.print-btn.primary[b-zxiaphxpbb] {
    border: 2px solid #111827;
}

.print-state[b-zxiaphxpbb] {
    width: min(700px, 100%);
    margin: 40px auto;
    padding: 24px;
    border: 1px solid #999;
    background: #fff;
    text-align: center;
    font-weight: 900;
}

.print-error[b-zxiaphxpbb] {
    color: #991b1b;
}

.invoice-paper[b-zxiaphxpbb] {
    position: relative;
    width: 210mm;
    min-height: 297mm;
    margin: 0 auto;
    padding: 5.5mm;
    color: #111827;
    border: 1px solid #777;
    background: #fff !important;
    overflow: hidden;
}

.invoice-brand-strip[b-zxiaphxpbb] {
    display: none;
}

.invoice-header[b-zxiaphxpbb] {
    display: grid;
    grid-template-columns: 1.15fr 1fr .9fr;
    align-items: stretch;
    gap: 6px;
    padding-bottom: 5px;
    border-bottom: 2px solid #111827;
}

.invoice-brand[b-zxiaphxpbb],
.invoice-title-box[b-zxiaphxpbb],
.invoice-meta[b-zxiaphxpbb] {
    min-height: 78px;
    padding: 6px;
    border: 1px solid #aeb7c5;
    background: #fff !important;
}

.invoice-brand[b-zxiaphxpbb] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.invoice-logo[b-zxiaphxpbb],
.invoice-logo-image[b-zxiaphxpbb] {
    width: 50px;
    height: 50px;
    max-width: 50px;
    max-height: 50px;
    flex: 0 0 50px;
}

.invoice-logo[b-zxiaphxpbb] {
    display: grid;
    place-items: center;
    padding: 3px;
    border: 1px solid #aeb7c5;
    border-radius: 4px;
    background: #fff !important;
    overflow: hidden;
}

.invoice-logo-image[b-zxiaphxpbb] {
    display: block;
    object-fit: contain;
    background: #fff !important;
}

.invoice-logo span[b-zxiaphxpbb] {
    font-size: 17px;
    font-weight: 1000;
}

.invoice-brand-copy[b-zxiaphxpbb] {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.invoice-brand-copy strong[b-zxiaphxpbb] {
    font-size: 12px;
    font-weight: 1000;
}

.invoice-brand-copy span[b-zxiaphxpbb],
.invoice-brand-copy small[b-zxiaphxpbb] {
    color: #5f6877;
    font-size: 7px;
    line-height: 1.6;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.invoice-title-box[b-zxiaphxpbb] {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    text-align: center;
}

.invoice-title-box span[b-zxiaphxpbb] {
    font-size: 8px;
    font-weight: 850;
}

.invoice-title-box h1[b-zxiaphxpbb] {
    margin: 0;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 1000;
}

.invoice-title-box small[b-zxiaphxpbb] {
    color: #5f6877;
    font-size: 7px;
    font-weight: 750;
}

.invoice-meta[b-zxiaphxpbb] {
    display: grid;
    align-content: center;
}

.invoice-meta > div[b-zxiaphxpbb] {
    min-height: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    border-bottom: 1px dotted #aeb7c5;
}

.invoice-meta > div:last-child[b-zxiaphxpbb] {
    border-bottom: 0;
}

.invoice-meta span[b-zxiaphxpbb] {
    color: #5f6877;
    font-size: 7px;
    font-weight: 800;
}

.invoice-meta b[b-zxiaphxpbb] {
    font-size: 8px;
    font-weight: 1000;
}

.invoice-section[b-zxiaphxpbb] {
    margin-top: 5px;
    border: 1px solid #aeb7c5;
    background: #fff !important;
}

.invoice-section-head[b-zxiaphxpbb] {
    min-height: 28px;
    margin: 0;
    padding: 4px 7px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-bottom: 1px solid #aeb7c5;
    background: #fff !important;
}

.invoice-section-head span[b-zxiaphxpbb] {
    font-size: 9px;
    font-weight: 1000;
}

.invoice-section-head small[b-zxiaphxpbb] {
    margin-right: auto;
    color: #5f6877;
    font-size: 6px;
    font-weight: 700;
}

.invoice-section-head b[b-zxiaphxpbb] {
    padding: 2px 7px;
    border: 1px solid #999;
    border-radius: 999px;
    color: #111827;
    background: #fff !important;
    font-size: 6.5px;
    font-weight: 1000;
}

.invoice-info-grid[b-zxiaphxpbb] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    background: #fff !important;
}

.invoice-info-card[b-zxiaphxpbb] {
    min-width: 0;
    min-height: 31px;
    padding: 3px 5px;
    display: grid;
    align-content: center;
    gap: 2px;
    border: 0;
    border-left: 1px solid #d6dce5;
    border-radius: 0;
    background: #fff !important;
}

.invoice-info-card:last-child[b-zxiaphxpbb] {
    border-left: 0;
}

.invoice-info-card span[b-zxiaphxpbb] {
    color: #5f6877;
    font-size: 6.4px;
    font-weight: 800;
}

.invoice-info-card strong[b-zxiaphxpbb] {
    min-width: 0;
    font-size: 7.5px;
    line-height: 1.45;
    font-weight: 1000;
    overflow-wrap: anywhere;
}

.invoice-address-card[b-zxiaphxpbb] {
    grid-column: auto;
}

.invoice-ltr[b-zxiaphxpbb] {
    direction: ltr;
    text-align: right;
}

.invoice-table-wrap[b-zxiaphxpbb] {
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #fff !important;
}

.invoice-table[b-zxiaphxpbb] {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    table-layout: fixed;
    background: #fff !important;
}

.invoice-table th[b-zxiaphxpbb],
.invoice-table td[b-zxiaphxpbb] {
    height: 23px;
    padding: 2px 3px;
    border-left: 1px solid #cbd2dc;
    border-bottom: 1px solid #cbd2dc;
    color: #111827;
    background: #fff !important;
    text-align: center;
    vertical-align: middle;
    font-size: 6.7px;
    line-height: 1.3;
    font-weight: 850;
    overflow-wrap: normal;
    word-break: normal;
}

.invoice-table th:last-child[b-zxiaphxpbb],
.invoice-table td:last-child[b-zxiaphxpbb] {
    border-left: 0;
}

.invoice-table tbody tr:last-child td[b-zxiaphxpbb] {
    border-bottom: 0;
}

.invoice-table th[b-zxiaphxpbb] {
    height: 25px;
    font-size: 6.2px;
    font-weight: 1000;
}

.print-page.paper-a4 .invoice-table th:nth-child(1)[b-zxiaphxpbb],
.print-page.paper-a4 .invoice-table td:nth-child(1)[b-zxiaphxpbb],
.print-page.paper-a5 .invoice-table th:nth-child(1)[b-zxiaphxpbb],
.print-page.paper-a5 .invoice-table td:nth-child(1)[b-zxiaphxpbb] {
    width: 4%;
}

.print-page.paper-a4 .invoice-table th:nth-child(2)[b-zxiaphxpbb],
.print-page.paper-a4 .invoice-table td:nth-child(2)[b-zxiaphxpbb],
.print-page.paper-a5 .invoice-table th:nth-child(2)[b-zxiaphxpbb],
.print-page.paper-a5 .invoice-table td:nth-child(2)[b-zxiaphxpbb] {
    width: 36%;
}

.print-page.paper-a4 .invoice-table th:nth-child(3)[b-zxiaphxpbb],
.print-page.paper-a4 .invoice-table td:nth-child(3)[b-zxiaphxpbb],
.print-page.paper-a5 .invoice-table th:nth-child(3)[b-zxiaphxpbb],
.print-page.paper-a5 .invoice-table td:nth-child(3)[b-zxiaphxpbb] {
    width: 8%;
}

.print-page.paper-a4 .invoice-table th:nth-child(4)[b-zxiaphxpbb],
.print-page.paper-a4 .invoice-table td:nth-child(4)[b-zxiaphxpbb],
.print-page.paper-a5 .invoice-table th:nth-child(4)[b-zxiaphxpbb],
.print-page.paper-a5 .invoice-table td:nth-child(4)[b-zxiaphxpbb] {
    width: 14%;
}

.print-page.paper-a4 .invoice-table th:nth-child(5)[b-zxiaphxpbb],
.print-page.paper-a4 .invoice-table td:nth-child(5)[b-zxiaphxpbb],
.print-page.paper-a5 .invoice-table th:nth-child(5)[b-zxiaphxpbb],
.print-page.paper-a5 .invoice-table td:nth-child(5)[b-zxiaphxpbb],
.print-page.paper-a4 .invoice-table th:nth-child(6)[b-zxiaphxpbb],
.print-page.paper-a4 .invoice-table td:nth-child(6)[b-zxiaphxpbb],
.print-page.paper-a5 .invoice-table th:nth-child(6)[b-zxiaphxpbb],
.print-page.paper-a5 .invoice-table td:nth-child(6)[b-zxiaphxpbb] {
    width: 11%;
}

.print-page.paper-a4 .invoice-table th:nth-child(7)[b-zxiaphxpbb],
.print-page.paper-a4 .invoice-table td:nth-child(7)[b-zxiaphxpbb],
.print-page.paper-a5 .invoice-table th:nth-child(7)[b-zxiaphxpbb],
.print-page.paper-a5 .invoice-table td:nth-child(7)[b-zxiaphxpbb] {
    width: 16%;
}

.print-page.paper-a4 .invoice-table th:not(:nth-child(2))[b-zxiaphxpbb],
.print-page.paper-a4 .invoice-table td:not(.invoice-product-cell)[b-zxiaphxpbb],
.print-page.paper-a5 .invoice-table th:not(:nth-child(2))[b-zxiaphxpbb],
.print-page.paper-a5 .invoice-table td:not(.invoice-product-cell)[b-zxiaphxpbb] {
    white-space: nowrap;
}

.invoice-product-cell[b-zxiaphxpbb] {
    min-width: 0;
    text-align: right !important;
    font-weight: 1000 !important;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
}

.invoice-line-total[b-zxiaphxpbb] {
    font-weight: 1000 !important;
}

.invoice-summary-layout[b-zxiaphxpbb] {
    margin-top: 5px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(210px, .65fr);
    gap: 5px;
    align-items: stretch;
}

.invoice-summary-note[b-zxiaphxpbb],
.invoice-total-box[b-zxiaphxpbb] {
    border: 1px solid #aeb7c5;
    background: #fff !important;
}

.invoice-summary-note[b-zxiaphxpbb] {
    min-height: 100px;
    padding: 6px;
    border-style: solid;
    border-radius: 0;
}

.invoice-summary-note span[b-zxiaphxpbb] {
    display: block;
    padding-bottom: 4px;
    border-bottom: 1px solid #d6dce5;
    color: #111827;
    font-size: 8px;
    font-weight: 1000;
}

.invoice-summary-note p[b-zxiaphxpbb] {
    margin: 7px 0 0;
    color: #333;
    font-size: 7.3px;
    line-height: 1.8;
    font-weight: 800;
}

.invoice-total-box[b-zxiaphxpbb] {
    display: grid;
    align-content: start;
    gap: 0;
}

.invoice-total-box div[b-zxiaphxpbb] {
    min-height: 27px;
    padding: 3px 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    border-bottom: 1px solid #d6dce5;
    background: #fff !important;
}

.invoice-total-box span[b-zxiaphxpbb] {
    color: #5f6877;
    font-size: 6.8px;
    font-weight: 850;
}

.invoice-total-box b[b-zxiaphxpbb] {
    font-size: 8px;
    font-weight: 1000;
    white-space: nowrap;
}

.invoice-total-box .customer-ledger-row[b-zxiaphxpbb] {
    min-height: 27px;
    padding: 3px 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    border-bottom: 1px solid #d6dce5;
    background: #fff !important;
}

.invoice-total-box .customer-ledger-row span[b-zxiaphxpbb] {
    color: #5f6877;
    font-size: 6.6px;
    font-weight: 900;
}

.invoice-total-box .customer-ledger-row b[b-zxiaphxpbb] {
    font-size: 7.8px;
    font-weight: 1000;
    white-space: nowrap;
}

.invoice-total-box .customer-ledger-row.previous[b-zxiaphxpbb] {
    margin-top: 2px;
    border-top: 1px dashed #777;
    border-bottom-style: dashed;
}

.invoice-total-box .customer-ledger-row.previous b[b-zxiaphxpbb] {
    color: #8a5b00;
}

.invoice-total-box .customer-ledger-row.paid b[b-zxiaphxpbb],
.invoice-total-box .customer-ledger-row.credit b[b-zxiaphxpbb] {
    color: #087443;
}

.invoice-total-box .customer-ledger-row.current[b-zxiaphxpbb] {
    border: 1px solid #777;
    margin: 3px;
}

.invoice-total-box .final.settled[b-zxiaphxpbb] {
    border-color: #087443;
}

.invoice-total-box .final.settled span[b-zxiaphxpbb],
.invoice-total-box .final.settled b[b-zxiaphxpbb] {
    color: #087443;
}

.invoice-total-box .final.settled b[b-zxiaphxpbb] {
    max-width: 65%;
    font-size: 7px;
    white-space: normal;
    text-align: left;
}

.invoice-ledger-note[b-zxiaphxpbb] {
    margin-top: 7px;
    padding: 6px;
    border: 1px dashed #888;
    color: #333;
    background: #fff !important;
    font-size: 7px;
    line-height: 1.9;
    font-weight: 800;
}

.invoice-ledger-note strong[b-zxiaphxpbb] {
    font-weight: 1000;
}

.invoice-total-box .final[b-zxiaphxpbb] {
    min-height: 35px;
    margin: 3px;
    padding: 5px 7px;
    border: 2px solid #111827;
    border-radius: 0;
    color: #111827;
    background: #fff !important;
}

.invoice-total-box .final span[b-zxiaphxpbb],
.invoice-total-box .final b[b-zxiaphxpbb] {
    color: #111827;
}

.invoice-total-box .final b[b-zxiaphxpbb] {
    font-size: 10px;
}

.invoice-footer[b-zxiaphxpbb] {
    margin-top: 5px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}

.invoice-signature[b-zxiaphxpbb] {
    min-height: 52px;
    display: grid;
    place-items: start center;
    padding: 6px;
    border: 1px dashed #888;
    background: #fff !important;
}

.invoice-signature span[b-zxiaphxpbb] {
    font-size: 7px;
    font-weight: 1000;
}

.invoice-print-footer[b-zxiaphxpbb] {
    min-height: 28px;
    margin-top: 5px;
    padding-top: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 2px solid #111827;
    color: #5f6877;
    background: #fff !important;
    font-size: 6.5px;
    font-weight: 750;
}

/* A5 */
.print-page.paper-a5 .print-toolbar[b-zxiaphxpbb],
.print-page.paper-a5 .invoice-paper[b-zxiaphxpbb] {
    width: 148mm;
}

.print-page.paper-a5 .invoice-paper[b-zxiaphxpbb] {
    min-height: 210mm;
    padding: 4mm;
}

.print-page.paper-a5 .invoice-header[b-zxiaphxpbb] {
    grid-template-columns: 1.1fr 1fr .9fr;
    gap: 4px;
}

.print-page.paper-a5 .invoice-brand[b-zxiaphxpbb],
.print-page.paper-a5 .invoice-title-box[b-zxiaphxpbb],
.print-page.paper-a5 .invoice-meta[b-zxiaphxpbb] {
    min-height: 67px;
    padding: 4px;
}

.print-page.paper-a5 .invoice-logo[b-zxiaphxpbb],
.print-page.paper-a5 .invoice-logo-image[b-zxiaphxpbb] {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
    flex-basis: 40px;
}

.print-page.paper-a5 .invoice-title-box h1[b-zxiaphxpbb] {
    font-size: 16px;
}

.print-page.paper-a5 .invoice-info-card[b-zxiaphxpbb] {
    min-height: 27px;
    padding: 2px 3px;
}

.print-page.paper-a5 .invoice-table th[b-zxiaphxpbb] {
    height: 21px;
    font-size: 5.4px;
}

.print-page.paper-a5 .invoice-table td[b-zxiaphxpbb] {
    height: 20px;
    font-size: 5.8px;
}

.print-page.paper-a5 .invoice-summary-note[b-zxiaphxpbb] {
    min-height: 82px;
}

.print-page.paper-a5 .invoice-total-box .customer-ledger-row[b-zxiaphxpbb] {
    min-height: 22px;
    padding: 2px 4px;
}

.print-page.paper-a5 .invoice-ledger-note[b-zxiaphxpbb] {
    margin-top: 4px;
    padding: 4px;
    font-size: 6px;
}

.print-page.paper-a5 .invoice-signature[b-zxiaphxpbb] {
    min-height: 42px;
}

/* Thermal */
.print-page.paper-thermal-80[b-zxiaphxpbb],
.print-page.paper-thermal-58[b-zxiaphxpbb] {
    padding: 8px;
    overflow-x: auto;
}

.print-page.paper-thermal-80 .print-toolbar[b-zxiaphxpbb],
.print-page.paper-thermal-80 .invoice-paper[b-zxiaphxpbb] {
    width: 80mm;
}

.print-page.paper-thermal-58 .print-toolbar[b-zxiaphxpbb],
.print-page.paper-thermal-58 .invoice-paper[b-zxiaphxpbb] {
    width: 58mm;
}

.print-page.paper-thermal-80 .invoice-paper[b-zxiaphxpbb],
.print-page.paper-thermal-58 .invoice-paper[b-zxiaphxpbb] {
    min-height: auto;
    padding: 2.5mm;
}

.print-page.paper-thermal-80 .invoice-header[b-zxiaphxpbb],
.print-page.paper-thermal-58 .invoice-header[b-zxiaphxpbb] {
    grid-template-columns: 1fr;
    gap: 3px;
}

.print-page.paper-thermal-80 .invoice-brand[b-zxiaphxpbb],
.print-page.paper-thermal-58 .invoice-brand[b-zxiaphxpbb] {
    justify-content: center;
}

.print-page.paper-thermal-80 .invoice-title-box[b-zxiaphxpbb],
.print-page.paper-thermal-58 .invoice-title-box[b-zxiaphxpbb] {
    min-height: 54px;
}

.print-page.paper-thermal-80 .invoice-info-grid[b-zxiaphxpbb],
.print-page.paper-thermal-58 .invoice-info-grid[b-zxiaphxpbb] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.print-page.paper-thermal-80 .invoice-address-card[b-zxiaphxpbb],
.print-page.paper-thermal-58 .invoice-address-card[b-zxiaphxpbb] {
    grid-column: 1 / -1;
}

.print-page.paper-thermal-80 .invoice-table[b-zxiaphxpbb],
.print-page.paper-thermal-58 .invoice-table[b-zxiaphxpbb] {
    table-layout: auto;
}

.print-page.paper-thermal-80 .invoice-table th:nth-child(5)[b-zxiaphxpbb],
.print-page.paper-thermal-80 .invoice-table th:nth-child(6)[b-zxiaphxpbb],
.print-page.paper-thermal-80 .invoice-table td:nth-child(5)[b-zxiaphxpbb],
.print-page.paper-thermal-80 .invoice-table td:nth-child(6)[b-zxiaphxpbb],
.print-page.paper-thermal-58 .invoice-table th:nth-child(4)[b-zxiaphxpbb],
.print-page.paper-thermal-58 .invoice-table th:nth-child(5)[b-zxiaphxpbb],
.print-page.paper-thermal-58 .invoice-table th:nth-child(6)[b-zxiaphxpbb],
.print-page.paper-thermal-58 .invoice-table td:nth-child(4)[b-zxiaphxpbb],
.print-page.paper-thermal-58 .invoice-table td:nth-child(5)[b-zxiaphxpbb],
.print-page.paper-thermal-58 .invoice-table td:nth-child(6)[b-zxiaphxpbb] {
    display: none;
}

.print-page.paper-thermal-80 .invoice-summary-layout[b-zxiaphxpbb],
.print-page.paper-thermal-58 .invoice-summary-layout[b-zxiaphxpbb] {
    grid-template-columns: 1fr;
}

.print-page.paper-thermal-80 .invoice-footer[b-zxiaphxpbb],
.print-page.paper-thermal-58 .invoice-footer[b-zxiaphxpbb] {
    grid-template-columns: 1fr;
}

.print-page.font-small[b-zxiaphxpbb] {
    font-size: 90%;
}

.print-page.font-large[b-zxiaphxpbb] {
    font-size: 110%;
}

@media (max-width: 850px) {
    .print-page[b-zxiaphxpbb] {
        padding: 10px;
        overflow-x: auto;
    }

    .print-toolbar[b-zxiaphxpbb] {
        width: 210mm;
    }
}

@media print {
    html[b-zxiaphxpbb],
    body[b-zxiaphxpbb] {
        margin: 0 !important;
        padding: 0 !important;
        color: #000 !important;
        background: #fff !important;
        print-color-adjust: exact !important;
        -webkit-print-color-adjust: exact !important;
    }

    .no-print[b-zxiaphxpbb] {
        display: none !important;
    }

    .print-page[b-zxiaphxpbb] {
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }

    .print-page.paper-a4[b-zxiaphxpbb],
    .print-page.paper-a4 .invoice-paper[b-zxiaphxpbb] {
        width: 210mm !important;
    }

    .print-page.paper-a5[b-zxiaphxpbb],
    .print-page.paper-a5 .invoice-paper[b-zxiaphxpbb] {
        width: 148mm !important;
    }

    .print-page.paper-thermal-80[b-zxiaphxpbb],
    .print-page.paper-thermal-80 .invoice-paper[b-zxiaphxpbb] {
        width: 80mm !important;
    }

    .print-page.paper-thermal-58[b-zxiaphxpbb],
    .print-page.paper-thermal-58 .invoice-paper[b-zxiaphxpbb] {
        width: 58mm !important;
    }

    .invoice-paper[b-zxiaphxpbb] {
        min-height: auto !important;
        margin: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
        background: #fff !important;
    }

    .print-page.paper-a4 .invoice-paper[b-zxiaphxpbb] {
        min-height: 297mm !important;
        padding: 5mm !important;
    }

    .print-page.paper-a5 .invoice-paper[b-zxiaphxpbb] {
        min-height: 210mm !important;
        padding: 4mm !important;
    }

    .print-page.paper-thermal-80 .invoice-paper[b-zxiaphxpbb],
    .print-page.paper-thermal-58 .invoice-paper[b-zxiaphxpbb] {
        min-height: auto !important;
        padding: 2.5mm !important;
    }

    .invoice-paper[b-zxiaphxpbb],
    .invoice-paper *[b-zxiaphxpbb] {
        background-color: #fff !important;
        background-image: none !important;
    }

    .invoice-header[b-zxiaphxpbb],
    .invoice-section[b-zxiaphxpbb],
    .invoice-summary-layout[b-zxiaphxpbb],
    .invoice-footer[b-zxiaphxpbb] {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .invoice-table thead[b-zxiaphxpbb] {
        display: table-header-group;
    }

    .invoice-table tr[b-zxiaphxpbb] {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
/* /Components/Pages/SaleReturn.razor.rz.scp.css */
.sale-return-page[b-1bepyhpghb] {
    min-height: 100vh;
    padding: 28px;
    background: #eef4fb;
    color: #0f172a;
}

.sale-return-hero[b-1bepyhpghb],
.return-card[b-1bepyhpghb],
.return-state[b-1bepyhpghb] {
    background: #fff;
    border: 1px solid #dbe4f0;
    border-radius: 28px;
    box-shadow: 0 22px 70px rgba(15, 23, 42, 0.08);
}

.sale-return-hero[b-1bepyhpghb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 34px 40px;
    margin-bottom: 24px;
}

.sale-return-hero span[b-1bepyhpghb] {
    display: inline-flex;
    padding: 8px 16px;
    border-radius: 999px;
    background: #fee2e2;
    color: #b91c1c;
    font-weight: 900;
    margin-bottom: 14px;
}

.sale-return-hero h1[b-1bepyhpghb] {
    margin: 0;
    font-size: 36px;
    font-weight: 1000;
}

.sale-return-hero p[b-1bepyhpghb] {
    margin: 12px 0 0;
    color: #64748b;
    font-weight: 700;
}

.return-btn[b-1bepyhpghb] {
    border: 0;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 900;
    background: linear-gradient(135deg, #dc2626, #f97316);
    color: #fff;
    cursor: pointer;
}

.return-btn.secondary[b-1bepyhpghb] {
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    width: 100%;
}

.return-card[b-1bepyhpghb] {
    padding: 28px;
}

.return-grid[b-1bepyhpghb],
.return-add-grid[b-1bepyhpghb] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: end;
    margin-bottom: 22px;
}

.return-state[b-1bepyhpghb] {
    padding: 18px;
    font-weight: 900;
    margin-bottom: 18px;
}

.return-state.error[b-1bepyhpghb] {
    background: #fff1f2;
    color: #be123c;
    border-color: #fecdd3;
}

.return-state.success[b-1bepyhpghb] {
    background: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0;
}

.return-empty[b-1bepyhpghb] {
    padding: 22px;
    text-align: center;
    color: #64748b;
    font-weight: 900;
}

.return-table th[b-1bepyhpghb] {
    color: #64748b;
    font-size: 13px;
}

.return-total[b-1bepyhpghb] {
    margin-top: 22px;
    background: linear-gradient(135deg, #dc2626, #f97316);
    color: #fff;
    border-radius: 22px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    font-weight: 1000;
}

.return-total strong[b-1bepyhpghb] {
    font-size: 24px;
}

.form-control[b-1bepyhpghb],
.form-select[b-1bepyhpghb] {
    border: 1px solid #dbe4f0;
    border-radius: 15px;
    min-height: 48px;
    font-weight: 800;
}

label[b-1bepyhpghb] {
    font-weight: 1000;
    margin-bottom: 8px;
}

@media (max-width: 900px) {
    .return-grid[b-1bepyhpghb],
    .return-add-grid[b-1bepyhpghb] {
        grid-template-columns: 1fr;
    }

    .sale-return-hero[b-1bepyhpghb] {
        flex-direction: column;
        align-items: stretch;
    }
}
/* /Components/Pages/Sales.razor.rz.scp.css */
.sales-list-page[b-ha6ztpgrys] {
    --sales-bg: #eef4fb;
    --sales-card: #ffffff;
    --sales-text: #0f172a;
    --sales-muted: #64748b;
    --sales-border: #dbe4f0;
    --sales-soft-border: #e2e8f0;
    --sales-blue: var(--erp-primary, #2563eb);
    --sales-purple: var(--erp-accent, #7c3aed);
    --sales-green: #059669;
    min-height: 100vh;
    padding: 24px;
    color: var(--sales-text);
    background:
        radial-gradient(circle at 18% 0%, rgba(var(--erp-accent-rgb, 124, 58, 237), .08), transparent 340px),
        linear-gradient(180deg, #eef4fb 0%, #f8fbff 48%, #eef4fb 100%);
}

.sales-list-hero[b-ha6ztpgrys] {
    position: relative;
    min-height: 150px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 26px 28px;
    margin-bottom: 22px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 0% 0%, rgba(var(--erp-accent-rgb, 124, 58, 237), .12), transparent 260px),
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(239,246,255,.94));
    border: 1px solid rgba(191, 219, 254, .92);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .075);
    overflow: hidden;
}

.sales-list-hero[b-ha6ztpgrys]::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent);
    transform: translateX(-65%);
    opacity: .55;
}

.sales-hero-copy[b-ha6ztpgrys],
.sales-list-hero > .sales-btn[b-ha6ztpgrys] {
    position: relative;
    z-index: 1;
}

.sales-hero-copy[b-ha6ztpgrys] {
    display: grid;
    gap: 20px;
}

.sales-breadcrumb[b-ha6ztpgrys] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--sales-muted);
    font-size: 12px;
    font-weight: 1000;
}

.sales-breadcrumb span[b-ha6ztpgrys],
.sales-breadcrumb b[b-ha6ztpgrys] {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    border-radius: 999px;
    background: rgba(241, 245, 249, .92);
    border: 1px solid rgba(226, 232, 240, .95);
}

.sales-breadcrumb b[b-ha6ztpgrys] {
    color: var(--sales-blue);
    background: #dbeafe;
    border-color: #bfdbfe;
}

.sales-breadcrumb i[b-ha6ztpgrys] {
    width: 6px;
    height: 6px;
    border-top: 2px solid #94a3b8;
    border-left: 2px solid #94a3b8;
    transform: rotate(-45deg);
}

.sales-hero-title-row[b-ha6ztpgrys] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sales-hero-icon[b-ha6ztpgrys] {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 20px;
    color: #6d28d9;
    background: linear-gradient(135deg, #eef2ff, #f3e8ff);
    border: 1px solid rgba(221, 214, 254, .9);
    box-shadow: 0 14px 32px rgba(var(--erp-accent-rgb, 124, 58, 237), .13);
    font-size: 26px;
}

.sales-eyebrow[b-ha6ztpgrys] {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    margin-bottom: 10px;
    border-radius: 999px;
    color: var(--erp-primary-ink, var(--sales-blue));
    background: color-mix(in srgb, var(--erp-primary, #2563eb) 10%, #ffffff);
    font-weight: 900;
}

.sales-list-hero h1[b-ha6ztpgrys] {
    margin: 0;
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: -.8px;
    font-weight: 1000;
}

.sales-list-hero p[b-ha6ztpgrys] {
    margin: 12px 0 0;
    color: var(--sales-muted);
    font-size: 14px;
    font-weight: 700;
}

.sales-btn[b-ha6ztpgrys] {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid var(--sales-border);
    color: #334155;
    background: rgba(255,255,255,.92);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
    font-weight: 900;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease;
}

.sales-btn:hover[b-ha6ztpgrys] {
    transform: translateY(-1px);
}

.sales-btn.primary[b-ha6ztpgrys] {
    color: var(--erp-on-brand, #fff);
    border: 0;
    background: linear-gradient(135deg, var(--sales-blue), var(--sales-purple));
    box-shadow: 0 16px 34px rgba(var(--erp-primary-rgb, 37, 99, 235), .26);
}

.sales-btn.small[b-ha6ztpgrys] {
    min-height: 34px;
    padding: 0 14px;
    font-size: 12px;
}

.sales-card[b-ha6ztpgrys],
.sales-state[b-ha6ztpgrys],
.sales-stat-card[b-ha6ztpgrys] {
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(255,255,255,.94));
    border: 1px solid rgba(219, 228, 240, .95);
    box-shadow: 0 22px 64px rgba(15, 23, 42, .07);
}

.sales-state[b-ha6ztpgrys] {
    padding: 28px;
    font-weight: 900;
}

.sales-state.error[b-ha6ztpgrys] {
    color: #be123c;
    background: #fff1f2;
    border-color: #fecdd3;
}

.sales-stats-grid[b-ha6ztpgrys] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.sales-stat-card[b-ha6ztpgrys] {
    min-height: 102px;
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 18px;
}

.sales-stat-card span[b-ha6ztpgrys] {
    color: var(--sales-muted);
    font-size: 13px;
    font-weight: 950;
}

.sales-stat-card strong[b-ha6ztpgrys] {
    color: var(--sales-text);
    font-size: 24px;
    font-weight: 1000;
}

.sales-filter-card[b-ha6ztpgrys] {
    padding: 18px;
    margin-bottom: 18px;
}

.sales-filter-grid[b-ha6ztpgrys] {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) auto;
    gap: 14px;
    align-items: center;
}

.sales-search-box[b-ha6ztpgrys] {
    position: relative;
}

.sales-search-box > span[b-ha6ztpgrys] {
    position: absolute;
    top: 50%;
    right: 14px;
    z-index: 2;
    transform: translateY(-50%);
    color: var(--sales-muted);
    font-size: 20px;
    font-weight: 1000;
    pointer-events: none;
}

.form-control[b-ha6ztpgrys] {
    min-height: 52px;
    width: 100%;
    padding-right: 44px;
    border-radius: 15px;
    border: 1px solid var(--sales-border);
    background: rgba(248, 250, 252, .62);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
    font-weight: 800;
}

.form-control:focus[b-ha6ztpgrys] {
    border-color: rgba(var(--erp-accent-rgb, 124, 58, 237), .38);
    box-shadow: 0 0 0 4px rgba(var(--erp-accent-rgb, 124, 58, 237), .08);
    background: #fff;
}

.sales-table-card[b-ha6ztpgrys] {
    padding: 26px;
}

.sales-card-head[b-ha6ztpgrys] {
    min-height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--sales-soft-border);
}

.sales-card-head h3[b-ha6ztpgrys] {
    margin: 0;
    font-size: 24px;
    font-weight: 1000;
}

.sales-card-head p[b-ha6ztpgrys] {
    margin: 8px 0 0;
    color: var(--sales-muted);
    font-weight: 800;
}

.sales-badge[b-ha6ztpgrys] {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    color: #6d28d9;
    background: #f3e8ff;
    border: 1px solid #ddd6fe;
    font-size: 13px;
    font-weight: 1000;
    white-space: nowrap;
}

.sales-empty-modern[b-ha6ztpgrys] {
    min-height: 220px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    border-radius: 24px;
    border: 1px dashed #cbd5e1;
    background:
        radial-gradient(circle at 50% 0%, rgba(var(--erp-accent-rgb, 124, 58, 237), .08), transparent 220px),
        linear-gradient(180deg, #ffffff, #f8fafc);
    text-align: center;
}

.sales-empty-visual[b-ha6ztpgrys] {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    font-size: 34px;
    box-shadow: 0 18px 40px rgba(15,23,42,.06);
}

.sales-empty-modern strong[b-ha6ztpgrys] {
    color: var(--sales-text);
    font-size: 16px;
    font-weight: 1000;
}

.sales-empty-modern span[b-ha6ztpgrys] {
    color: var(--sales-muted);
    font-size: 13px;
    font-weight: 850;
}

.table-wrap[b-ha6ztpgrys],
.sales-table-wrap[b-ha6ztpgrys] {
    overflow: auto;
}

.sales-table-wrap[b-ha6ztpgrys] {
    border: 1px solid var(--sales-soft-border);
    border-radius: 24px;
    background: #fff;
}

.sales-table[b-ha6ztpgrys] {
    min-width: 980px;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.sales-table thead th[b-ha6ztpgrys] {
    position: sticky;
    top: 0;
    z-index: 5;
    padding: 16px 14px;
    color: #475569;
    background: linear-gradient(180deg, #f8fafc, #eef2ff);
    border-bottom: 1px solid var(--sales-soft-border);
    font-size: 12px;
    font-weight: 1000;
    text-align: right;
    white-space: nowrap;
}

.sales-table tbody td[b-ha6ztpgrys] {
    padding: 14px;
    border-bottom: 1px solid #edf2f7;
    color: var(--sales-text);
    font-size: 13px;
    font-weight: 850;
    vertical-align: middle;
}

.sales-table tbody tr:last-child td[b-ha6ztpgrys] {
    border-bottom: 0;
}

.sales-row:hover[b-ha6ztpgrys] {
    background: #f8fbff;
}

.sales-number-cell span[b-ha6ztpgrys] {
    display: block;
    margin-bottom: 5px;
    color: var(--sales-muted);
    font-size: 11px;
    font-weight: 900;
}

.sales-number-cell strong[b-ha6ztpgrys] {
    color: var(--sales-text);
    font-weight: 1000;
}

.sales-money[b-ha6ztpgrys] {
    color: #334155;
    font-weight: 1000;
    white-space: nowrap;
}

.sales-final[b-ha6ztpgrys] {
    color: var(--sales-green) !important;
    font-weight: 1000 !important;
    white-space: nowrap;
}

.sales-status[b-ha6ztpgrys] {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 999px;
    color: #166534;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    font-size: 12px;
    font-weight: 1000;
}

.sales-actions[b-ha6ztpgrys] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sales-table tfoot td[b-ha6ztpgrys] {
    padding: 16px 14px;
    color: var(--sales-text);
    background: #f8fafc;
    border-top: 1px solid var(--sales-soft-border);
    font-size: 13px;
    font-weight: 1000;
    white-space: nowrap;
}

@media (max-width: 1180px) {
    .sales-stats-grid[b-ha6ztpgrys] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .sales-list-page[b-ha6ztpgrys] {
        padding: 14px;
    }

    .sales-list-hero[b-ha6ztpgrys] {
        flex-direction: column;
        align-items: stretch;
        padding: 22px;
    }

    .sales-hero-title-row[b-ha6ztpgrys] {
        align-items: flex-start;
    }

    .sales-stats-grid[b-ha6ztpgrys],
    .sales-filter-grid[b-ha6ztpgrys] {
        grid-template-columns: 1fr;
    }

    .sales-table-card[b-ha6ztpgrys] {
        padding: 20px;
    }

    .sales-card-head[b-ha6ztpgrys] {
        flex-direction: column;
        align-items: stretch;
    }
}


.sales-stat-card.paid strong[b-ha6ztpgrys],
.sales-paid[b-ha6ztpgrys] {
    color: #047857 !important;
}

.sales-stat-card.remaining strong[b-ha6ztpgrys],
.sales-remaining[b-ha6ztpgrys] {
    color: #be123c !important;
}

.sales-filter-grid[b-ha6ztpgrys] {
    grid-template-columns: minmax(280px, 1fr) minmax(190px, 240px) auto;
}

.sales-filter-select[b-ha6ztpgrys] {
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid var(--sales-border);
    border-radius: 15px;
    color: var(--sales-text);
    background: rgba(248, 250, 252, .72);
    font-family: inherit;
    font-size: 13px;
    font-weight: 900;
    outline: none;
}

.sales-filter-select:focus[b-ha6ztpgrys] {
    border-color: rgba(var(--erp-accent-rgb, 124, 58, 237), .38);
    box-shadow: 0 0 0 4px rgba(var(--erp-accent-rgb, 124, 58, 237), .08);
    background: #fff;
}

.sales-payment-status[b-ha6ztpgrys] {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 1000;
    white-space: nowrap;
}

.sales-payment-status i[b-ha6ztpgrys] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.sales-payment-status.unpaid[b-ha6ztpgrys] {
    color: #be123c;
    background: #fff1f2;
    border: 1px solid #fecdd3;
}

.sales-payment-status.partial[b-ha6ztpgrys] {
    color: #b45309;
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.sales-payment-status.paid[b-ha6ztpgrys] {
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.sales-payment-status.overpaid[b-ha6ztpgrys] {
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.sales-last-payment[b-ha6ztpgrys] {
    color: #475569;
    white-space: nowrap;
}

.sales-btn.small.pay[b-ha6ztpgrys] {
    color: #fff;
    border: 0;
    background: linear-gradient(135deg, #059669, #0ea5e9);
}

.sales-table[b-ha6ztpgrys] {
    min-width: 1180px;
}

@media (max-width: 720px) {
    .sales-filter-grid[b-ha6ztpgrys] {
        grid-template-columns: 1fr;
    }
}


.sales-payment-backdrop[b-ha6ztpgrys] {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(15, 23, 42, .58);
    backdrop-filter: blur(8px);
    overflow-y: auto;
}

.sales-payment-shell[b-ha6ztpgrys] {
    width: min(820px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(15, 23, 42, .32);
}

@media (max-width: 720px) {
    .sales-payment-backdrop[b-ha6ztpgrys] {
        padding: 12px;
        align-items: end;
    }

    .sales-payment-shell[b-ha6ztpgrys] {
        width: 100%;
        max-height: calc(100vh - 24px);
        border-radius: 24px 24px 0 0;
    }
}

.sales-btn.danger[b-ha6ztpgrys] {
    color: #be123c;
    border-color: #fecdd3;
    background: #fff1f2;
}

.sales-delete-dialog[b-ha6ztpgrys] {
    width: min(560px, 100%);
    padding: 26px;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(15,23,42,.32);
}

.sales-delete-dialog h3[b-ha6ztpgrys] {
    margin: 0 0 8px;
    font-size: 23px;
    font-weight: 1000;
}

.sales-delete-dialog p[b-ha6ztpgrys] {
    margin: 0 0 18px;
    color: #64748b;
    font-weight: 800;
}

.sales-delete-reason[b-ha6ztpgrys] {
    width: 100%;
    resize: vertical;
    padding: 14px;
    border: 1px solid #dbe4f0;
    border-radius: 16px;
    font-family: inherit;
    font-weight: 800;
    outline: none;
}

.sales-delete-reason:focus[b-ha6ztpgrys] {
    border-color: #a78bfa;
    box-shadow: 0 0 0 4px rgba(var(--erp-accent-rgb, 124, 58, 237),.09);
}

.sales-delete-error[b-ha6ztpgrys] {
    margin-top: 12px;
    padding: 12px;
    border-radius: 14px;
    color: #be123c;
    background: #fff1f2;
    font-weight: 900;
}

.sales-delete-actions[b-ha6ztpgrys] {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.sales-list-tools[b-ha6ztpgrys] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.sales-selection-count[b-ha6ztpgrys] {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    font-size: 12px;
    font-weight: 1000;
    white-space: nowrap;
}

.sales-btn.print-list[b-ha6ztpgrys] {
    color: #fff;
    border: 0;
    background: linear-gradient(135deg, #0f766e, var(--erp-primary, #2563eb));
    box-shadow: 0 12px 26px rgba(var(--erp-primary-rgb, 37, 99, 235), .18);
}

.sales-btn.print-list:disabled[b-ha6ztpgrys] {
    cursor: not-allowed;
    opacity: .48;
    transform: none;
    box-shadow: none;
}

.sales-select-column[b-ha6ztpgrys] {
    width: 52px;
    min-width: 52px;
    text-align: center !important;
}

.sales-checkbox[b-ha6ztpgrys] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--erp-primary, #4f46e5);
    cursor: pointer;
}

.sales-row.selected[b-ha6ztpgrys] {
    background: #eef2ff;
}

.sales-print-list[b-ha6ztpgrys] {
    display: none;
}

@media (max-width: 720px) {
    .sales-list-tools[b-ha6ztpgrys] {
        justify-content: stretch;
    }

    .sales-list-tools > *[b-ha6ztpgrys] {
        flex: 1 1 auto;
        justify-content: center;
    }
}

@media print {
    @page {
        size: A4 landscape;
        margin: 12mm;
    }

    body *[b-ha6ztpgrys] {
        visibility: hidden !important;
    }

    .sales-print-list[b-ha6ztpgrys],
    .sales-print-list *[b-ha6ztpgrys] {
        visibility: visible !important;
    }

    .sales-print-list[b-ha6ztpgrys] {
        position: absolute;
        inset: 0;
        display: block !important;
        width: 100%;
        padding: 0;
        direction: rtl;
        color: #111827;
        background: #fff;
        font-family: Tahoma, Arial, sans-serif;
    }

    .sales-print-header[b-ha6ztpgrys] {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 24px;
        padding-bottom: 14px;
        margin-bottom: 16px;
        border-bottom: 2px solid #111827;
    }

    .sales-print-header h1[b-ha6ztpgrys] {
        margin: 0 0 6px;
        font-size: 24px;
    }

    .sales-print-header p[b-ha6ztpgrys],
    .sales-print-date[b-ha6ztpgrys] {
        margin: 0;
        font-size: 12px;
        font-weight: 700;
    }

    .sales-print-list table[b-ha6ztpgrys] {
        width: 100%;
        border-collapse: collapse;
        table-layout: fixed;
        font-size: 10px;
    }

    .sales-print-list th[b-ha6ztpgrys],
    .sales-print-list td[b-ha6ztpgrys] {
        padding: 7px 6px;
        border: 1px solid #94a3b8;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .sales-print-list th[b-ha6ztpgrys] {
        background: #e2e8f0 !important;
        font-weight: 900;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .sales-print-list tfoot td[b-ha6ztpgrys] {
        background: #f1f5f9 !important;
        font-weight: 900;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

.sales-filter-input[b-ha6ztpgrys] {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #dbe4f0;
    border-radius: 14px;
    background: #fff;
    color: #0f172a;
    font: inherit;
    outline: none;
}

.sales-filter-input:focus[b-ha6ztpgrys] {
    border-color: var(--erp-accent, #7c3aed);
    box-shadow: 0 0 0 3px rgba(var(--erp-accent-rgb, 124, 58, 237),.10);
}

.sales-filter-card .sales-filter-grid[b-ha6ztpgrys] {
    grid-template-columns: minmax(260px, 2fr) repeat(3, minmax(150px, 1fr));
}

@media (max-width: 1100px) {
    .sales-filter-card .sales-filter-grid[b-ha6ztpgrys] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .sales-filter-card .sales-filter-grid[b-ha6ztpgrys] { grid-template-columns: 1fr; }
}

/* Organization colors can be white; branded controls still need visible content. */
.sales-btn.primary[b-ha6ztpgrys]{color:var(--erp-on-brand,#fff)!important}
.sales-eyebrow[b-ha6ztpgrys],.sales-breadcrumb b[b-ha6ztpgrys],.sales-hero-icon[b-ha6ztpgrys]{color:var(--erp-primary-ink,var(--sales-blue))!important}
/* /Components/Pages/SalesPricing.razor.rz.scp.css */
.pricing-page[b-03gd9l243i] {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 28px;
    color: var(--mud-palette-text-primary);
}

.pricing-hero[b-03gd9l243i] {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 172px;
    margin-bottom: 20px;
    padding: 30px 34px;
    border: 1px solid rgba(104, 129, 255, .16);
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(238, 243, 255, .92));
    box-shadow: 0 20px 50px rgba(47, 69, 124, .08);
}

.pricing-hero[b-03gd9l243i]::after {
    content: "";
    position: absolute;
    inset-inline-start: -70px;
    top: -95px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(35, 107, 255, .17), transparent 68%);
    pointer-events: none;
}

.pricing-eyebrow[b-03gd9l243i],
.bulk-kicker[b-03gd9l243i] {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(35, 107, 255, .09);
    color: #1764e8;
    font-size: 12px;
    font-weight: 800;
}

.pricing-hero h1[b-03gd9l243i] {
    margin: 0;
    font-size: clamp(24px, 2vw, 34px);
    font-weight: 900;
    letter-spacing: -.7px;
}

.pricing-hero p[b-03gd9l243i] {
    margin: 10px 0 0;
    color: var(--mud-palette-text-secondary);
    font-size: 14px;
    line-height: 1.9;
}

.pricing-hero-badge[b-03gd9l243i] {
    position: relative;
    z-index: 1;
    display: grid;
    min-width: 180px;
    padding: 22px 26px;
    border: 1px solid rgba(255, 255, 255, .68);
    border-radius: 22px;
    background: linear-gradient(135deg, #1267f4, #2f82ff);
    color: #fff;
    text-align: center;
    box-shadow: 0 14px 34px rgba(18, 103, 244, .25);
}

.pricing-hero-badge span[b-03gd9l243i] {
    font-size: 30px;
    font-weight: 900;
}

.pricing-hero-badge small[b-03gd9l243i] {
    margin-top: 4px;
    opacity: .88;
    font-size: 12px;
}

.notice[b-03gd9l243i] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
    padding: 14px 18px;
    border: 1px solid rgba(38, 159, 103, .2);
    border-radius: 15px;
    background: rgba(38, 159, 103, .09);
    color: #176d49;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(38, 159, 103, .06);
}

.notice.error[b-03gd9l243i] {
    border-color: rgba(220, 38, 38, .22);
    background: rgba(220, 38, 38, .08);
    color: #b42318;
}

.pricing-panel[b-03gd9l243i] {
    overflow: hidden;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 24px;
    background: var(--mud-palette-surface);
    box-shadow: 0 18px 45px rgba(34, 53, 99, .08);
}

.pricing-toolbar[b-03gd9l243i] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    background: linear-gradient(180deg, rgba(248, 250, 255, .96), rgba(255, 255, 255, .8));
}

.toolbar-search[b-03gd9l243i] {
    border-top: 1px solid var(--mud-palette-lines-default);
}

.search-input[b-03gd9l243i] {
    min-width: 260px !important;
    flex: 1;
}

.page-size-select[b-03gd9l243i] {
    width: 150px !important;
    min-width: 150px !important;
}

.product-filters[b-03gd9l243i] {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

.product-filters .pricing-select[b-03gd9l243i] {
    width: auto;
    min-width: 170px;
}

.product-filters .category-filter[b-03gd9l243i] {
    min-width: 210px;
}

.tabs[b-03gd9l243i] {
    display: inline-flex;
    gap: 6px;
    padding: 5px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 15px;
    background: var(--mud-palette-background-gray);
}

.tabs button[b-03gd9l243i] {
    min-width: 138px;
    border: 0;
    border-radius: 11px;
    padding: 10px 18px;
    background: transparent;
    color: var(--mud-palette-text-secondary);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: .2s ease;
}

.tabs button:hover[b-03gd9l243i] {
    color: #1764e8;
    background: rgba(35, 107, 255, .07);
}

.tabs button.active[b-03gd9l243i] {
    background: linear-gradient(135deg, #1267f4, #2f82ff);
    color: #fff;
    box-shadow: 0 8px 20px rgba(18, 103, 244, .22);
}

.section-summary[b-03gd9l243i] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(35, 107, 255, .08);
    color: #1764e8;
}

.section-summary strong[b-03gd9l243i] {
    font-size: 15px;
}

.section-summary span[b-03gd9l243i] {
    font-size: 12px;
    font-weight: 700;
}

.bulk-pricing-center[b-03gd9l243i] {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, .85fr);
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    background: rgba(35, 107, 255, .025);
}

.bulk-panel[b-03gd9l243i] {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 20px;
    background: var(--mud-palette-surface);
    box-shadow: 0 10px 28px rgba(34, 53, 99, .05);
}

.bulk-panel-header[b-03gd9l243i] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.bulk-panel-header.compact[b-03gd9l243i] {
    margin-bottom: 14px;
}

.bulk-panel-header h2[b-03gd9l243i] {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
}

.bulk-panel-header p[b-03gd9l243i] {
    margin: 6px 0 0;
    max-width: 650px;
    color: var(--mud-palette-text-secondary);
    font-size: 12px;
    line-height: 1.8;
}

.selection-counter[b-03gd9l243i] {
    display: grid;
    min-width: 88px;
    padding: 11px 14px;
    border-radius: 14px;
    background: rgba(35, 107, 255, .08);
    color: #1764e8;
    text-align: center;
}

.selection-counter strong[b-03gd9l243i] {
    font-size: 20px;
    font-weight: 900;
}

.selection-counter span[b-03gd9l243i] {
    margin-top: 2px;
    font-size: 10px;
    font-weight: 800;
}

.bulk-grid[b-03gd9l243i] {
    display: grid;
    grid-template-columns: repeat(4, minmax(125px, 1fr));
    gap: 12px;
}

.bulk-field[b-03gd9l243i] {
    display: grid;
    gap: 7px;
}

.bulk-field > span[b-03gd9l243i] {
    color: var(--mud-palette-text-secondary);
    font-size: 11px;
    font-weight: 900;
}

.bulk-scope-field[b-03gd9l243i] {
    grid-column: span 2;
}

.bulk-actions[b-03gd9l243i] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed var(--mud-palette-lines-default);
}

.bulk-safety-note[b-03gd9l243i] {
    display: grid;
    gap: 4px;
}

.bulk-safety-note strong[b-03gd9l243i] {
    color: #1764e8;
    font-size: 12px;
}

.bulk-safety-note span[b-03gd9l243i] {
    color: var(--mud-palette-text-secondary);
    font-size: 11px;
}

.preview-button[b-03gd9l243i],
.apply-button[b-03gd9l243i],
.save-button[b-03gd9l243i],
.secondary-button[b-03gd9l243i],
.notice button[b-03gd9l243i],
.empty-state button[b-03gd9l243i],
.pagination-toolbar button[b-03gd9l243i],
.table-selection-bar button[b-03gd9l243i] {
    min-height: 41px;
    border: 0;
    border-radius: 12px;
    padding: 0 16px;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.preview-button[b-03gd9l243i],
.save-button[b-03gd9l243i],
.notice button[b-03gd9l243i],
.empty-state button[b-03gd9l243i],
.pagination-toolbar button[b-03gd9l243i] {
    background: linear-gradient(135deg, #1267f4, #2f82ff);
    color: #fff;
    box-shadow: 0 8px 18px rgba(18, 103, 244, .2);
}

.apply-button[b-03gd9l243i] {
    min-width: 220px;
    background: linear-gradient(135deg, #149a5c, #22b875);
    color: #fff;
    box-shadow: 0 8px 18px rgba(20, 154, 92, .22);
}

.secondary-button[b-03gd9l243i],
.table-selection-bar button[b-03gd9l243i] {
    background: rgba(35, 107, 255, .08);
    color: #1764e8;
}

.preview-button:hover:not(:disabled)[b-03gd9l243i],
.apply-button:hover:not(:disabled)[b-03gd9l243i],
.save-button:hover[b-03gd9l243i],
.secondary-button:hover[b-03gd9l243i],
.notice button:hover[b-03gd9l243i],
.empty-state button:hover[b-03gd9l243i],
.pagination-toolbar button:hover:not(:disabled)[b-03gd9l243i] {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

button:disabled[b-03gd9l243i] {
    cursor: not-allowed;
    opacity: .48;
    box-shadow: none !important;
}

.dependent-panel[b-03gd9l243i] {
    display: flex;
    flex-direction: column;
}

.dependent-rule[b-03gd9l243i] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    padding: 12px 13px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 14px;
    background: var(--mud-palette-background-gray);
    transition: .18s ease;
}

.dependent-rule.enabled[b-03gd9l243i] {
    border-color: rgba(20, 154, 92, .28);
    background: rgba(20, 154, 92, .06);
}

.rule-toggle[b-03gd9l243i] {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.rule-toggle input[b-03gd9l243i],
.checkbox-column input[b-03gd9l243i] {
    width: 18px;
    height: 18px;
    accent-color: #1764e8;
    cursor: pointer;
}

.rule-value[b-03gd9l243i] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rule-value input[b-03gd9l243i] {
    width: 78px;
    height: 38px;
    box-sizing: border-box;
    border: 1px solid var(--mud-palette-lines-inputs);
    border-radius: 10px;
    padding: 0 8px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    text-align: center;
    font: inherit;
    font-weight: 900;
}

.formula-example[b-03gd9l243i] {
    margin-top: auto;
    padding-top: 14px;
    color: var(--mud-palette-text-secondary);
    font-size: 10px;
    line-height: 1.9;
}

.bulk-preview[b-03gd9l243i] {
    padding: 18px 20px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    background: rgba(20, 154, 92, .035);
}

.preview-summary[b-03gd9l243i] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(20, 154, 92, .22);
    border-radius: 16px;
    background: rgba(20, 154, 92, .07);
}

.preview-summary > div[b-03gd9l243i] {
    display: grid;
    gap: 3px;
}

.preview-summary span[b-03gd9l243i] {
    color: #178252;
    font-size: 11px;
    font-weight: 900;
}

.preview-summary strong[b-03gd9l243i] {
    font-size: 17px;
    font-weight: 900;
}

.preview-summary small[b-03gd9l243i] {
    color: var(--mud-palette-text-secondary);
    font-size: 10px;
}

.preview-table-wrap[b-03gd9l243i] {
    overflow-x: auto;
    margin-top: 12px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 14px;
}

.preview-table[b-03gd9l243i] {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
    background: var(--mud-palette-surface);
}

.preview-table th[b-03gd9l243i],
.preview-table td[b-03gd9l243i] {
    padding: 12px 14px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    text-align: right;
    font-size: 11px;
    white-space: nowrap;
}

.preview-table th[b-03gd9l243i] {
    color: var(--mud-palette-text-secondary);
    background: var(--mud-palette-background-gray);
    font-weight: 900;
}

.preview-table td > strong[b-03gd9l243i] {
    color: #178252;
}

.preview-table td:first-child strong[b-03gd9l243i],
.preview-table td:first-child small[b-03gd9l243i] {
    display: block;
}

.preview-table td:first-child strong[b-03gd9l243i] {
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--mud-palette-text-primary);
}

.preview-table td:first-child small[b-03gd9l243i] {
    margin-top: 3px;
    color: var(--mud-palette-text-secondary);
}

.preview-table tbody tr:last-child td[b-03gd9l243i] {
    border-bottom: 0;
}

.preview-footnote[b-03gd9l243i] {
    margin-top: 9px;
    color: var(--mud-palette-text-secondary);
    font-size: 10px;
}

.table-selection-bar[b-03gd9l243i] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 20px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    background: rgba(35, 107, 255, .04);
    color: var(--mud-palette-text-secondary);
    font-size: 11px;
}

.table-selection-bar strong[b-03gd9l243i] {
    color: #1764e8;
}

.loading-state[b-03gd9l243i] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 260px;
    color: var(--mud-palette-text-secondary);
    font-weight: 700;
}

.loading-spinner[b-03gd9l243i] {
    width: 23px;
    height: 23px;
    border: 3px solid rgba(35, 107, 255, .18);
    border-top-color: #1764e8;
    border-radius: 50%;
    animation: pricing-spin-b-03gd9l243i .8s linear infinite;
}

.table-wrap[b-03gd9l243i] {
    width: 100%;
    overflow-x: auto;
}

.table-wrap table[b-03gd9l243i] {
    width: 100%;
    min-width: 1110px;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--mud-palette-surface);
}

.table-wrap th[b-03gd9l243i],
.table-wrap td[b-03gd9l243i] {
    padding: 16px 14px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    text-align: right;
    vertical-align: middle;
    white-space: nowrap;
}

.table-wrap th[b-03gd9l243i] {
    position: sticky;
    top: 0;
    z-index: 2;
    background: rgba(245, 248, 255, .98);
    color: var(--mud-palette-text-secondary);
    font-size: 12px;
    font-weight: 900;
}

.table-wrap tbody tr[b-03gd9l243i] {
    transition: background-color .18s ease;
}

.table-wrap tbody tr:hover[b-03gd9l243i] {
    background: rgba(35, 107, 255, .035);
}

.table-wrap tbody tr.selected-row[b-03gd9l243i] {
    box-shadow: inset -3px 0 0 #1764e8;
}

.table-wrap tbody tr:last-child td[b-03gd9l243i] {
    border-bottom: 0;
}

.checkbox-column[b-03gd9l243i] {
    width: 42px;
    text-align: center !important;
}

.code-badge[b-03gd9l243i] {
    display: inline-flex;
    min-width: 48px;
    justify-content: center;
    padding: 7px 10px;
    border-radius: 10px;
    background: rgba(110, 91, 255, .09);
    color: #6553df;
    font-weight: 900;
}

.entity-name[b-03gd9l243i] {
    display: inline-block;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--mud-palette-text-primary);
    font-size: 13px;
}

.below-purchase[b-03gd9l243i] {
    display: block;
    margin-top: 5px;
    color: #b42318;
    font-weight: 900;
}

.field-box[b-03gd9l243i] {
    position: relative;
    min-width: 145px;
}

.field-box input[b-03gd9l243i],
.pricing-select[b-03gd9l243i] {
    width: 100%;
    height: 44px;
    box-sizing: border-box;
    border: 1px solid var(--mud-palette-lines-inputs);
    border-radius: 12px;
    padding: 0 13px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    font: inherit;
    font-weight: 700;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.pricing-select[b-03gd9l243i] {
    min-width: 210px;
}

.field-box input[b-03gd9l243i] {
    direction: ltr;
    text-align: center;
}

.field-box input:focus[b-03gd9l243i],
.pricing-select:focus[b-03gd9l243i],
.rule-value input:focus[b-03gd9l243i] {
    border-color: #2f82ff;
    background: rgba(35, 107, 255, .025);
    box-shadow: 0 0 0 4px rgba(35, 107, 255, .1);
    outline: none;
}

.wholesale-field input[b-03gd9l243i] {
    border-color: rgba(20, 154, 92, .28);
}

.colleague-field input[b-03gd9l243i] {
    border-color: rgba(245, 145, 24, .3);
}

.quantity-field[b-03gd9l243i] {
    min-width: 110px;
}

.action-column[b-03gd9l243i] {
    width: 110px;
    text-align: center !important;
}

.save-button[b-03gd9l243i] {
    min-width: 84px;
}

.customers-table table[b-03gd9l243i] {
    min-width: 760px;
}

.empty-state[b-03gd9l243i] {
    min-height: 250px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    padding: 30px;
    color: var(--mud-palette-text-secondary);
    text-align: center;
}

.empty-state strong[b-03gd9l243i] {
    color: var(--mud-palette-text-primary);
    font-size: 18px;
    font-weight: 900;
}

.empty-state span[b-03gd9l243i] {
    max-width: 520px;
    line-height: 1.9;
}

.pagination-toolbar[b-03gd9l243i] {
    justify-content: center;
    border-top: 1px solid var(--mud-palette-lines-default);
}

.pagination-toolbar button[b-03gd9l243i] {
    min-width: 76px;
}

@keyframes pricing-spin-b-03gd9l243i {
    to { transform: rotate(360deg); }
}

@media (max-width: 1180px) {
    .bulk-pricing-center[b-03gd9l243i] {
        grid-template-columns: 1fr;
    }

    .bulk-grid[b-03gd9l243i] {
        grid-template-columns: repeat(3, minmax(130px, 1fr));
    }
}

@media (max-width: 900px) {
    .pricing-page[b-03gd9l243i] {
        padding: 18px;
    }

    .pricing-hero[b-03gd9l243i] {
        align-items: stretch;
        flex-direction: column;
        padding: 24px;
    }

    .pricing-hero-badge[b-03gd9l243i] {
        min-width: 0;
    }

    .pricing-toolbar[b-03gd9l243i] {
        align-items: stretch;
        flex-direction: column;
    }

    .tabs[b-03gd9l243i] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tabs button[b-03gd9l243i] {
        min-width: 0;
    }

    .section-summary[b-03gd9l243i] {
        align-self: flex-start;
    }

    .product-filters .pricing-select[b-03gd9l243i],
    .product-filters .category-filter[b-03gd9l243i],
    .page-size-select[b-03gd9l243i] {
        width: 100% !important;
        min-width: 0 !important;
    }

    .bulk-grid[b-03gd9l243i] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bulk-scope-field[b-03gd9l243i] {
        grid-column: span 2;
    }

    .preview-summary[b-03gd9l243i],
    .bulk-actions[b-03gd9l243i] {
        align-items: stretch;
        flex-direction: column;
    }

    .apply-button[b-03gd9l243i],
    .preview-button[b-03gd9l243i] {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .pricing-page[b-03gd9l243i] {
        padding: 12px;
    }

    .pricing-hero[b-03gd9l243i] {
        border-radius: 20px;
        padding: 20px;
    }

    .pricing-panel[b-03gd9l243i] {
        border-radius: 18px;
    }

    .bulk-pricing-center[b-03gd9l243i],
    .bulk-preview[b-03gd9l243i] {
        padding: 12px;
    }

    .bulk-panel[b-03gd9l243i] {
        padding: 15px;
        border-radius: 16px;
    }

    .bulk-panel-header[b-03gd9l243i] {
        flex-direction: column;
    }

    .selection-counter[b-03gd9l243i] {
        min-width: 72px;
    }

    .bulk-grid[b-03gd9l243i] {
        grid-template-columns: 1fr;
    }

    .bulk-scope-field[b-03gd9l243i] {
        grid-column: auto;
    }

    .dependent-rule[b-03gd9l243i] {
        align-items: flex-start;
        flex-direction: column;
    }
}

:global(.mud-theme-dark) .pricing-hero[b-03gd9l243i],
:global(.erpdb-dark) .pricing-hero[b-03gd9l243i] {
    border-color: rgba(119, 145, 255, .2);
    background: linear-gradient(135deg, rgba(28, 37, 59, .98), rgba(20, 29, 48, .96));
}

:global(.mud-theme-dark) .pricing-toolbar[b-03gd9l243i],
:global(.erpdb-dark) .pricing-toolbar[b-03gd9l243i],
:global(.mud-theme-dark) .table-wrap th[b-03gd9l243i],
:global(.erpdb-dark) .table-wrap th[b-03gd9l243i] {
    background: rgba(28, 37, 59, .98);
}

:global(.mud-theme-dark) .bulk-pricing-center[b-03gd9l243i],
:global(.erpdb-dark) .bulk-pricing-center[b-03gd9l243i] {
    background: rgba(13, 24, 44, .42);
}

:global(.mud-theme-dark) .bulk-panel[b-03gd9l243i],
:global(.erpdb-dark) .bulk-panel[b-03gd9l243i],
:global(.mud-theme-dark) .preview-table[b-03gd9l243i],
:global(.erpdb-dark) .preview-table[b-03gd9l243i] {
    background: var(--mud-palette-surface);
}

:global(.mud-theme-dark) .notice[b-03gd9l243i],
:global(.erpdb-dark) .notice[b-03gd9l243i] {
    color: #7fe0b2;
}

:global(.mud-theme-dark) .notice.error[b-03gd9l243i],
:global(.erpdb-dark) .notice.error[b-03gd9l243i] {
    color: #ff9b95;
}
/* /Components/Pages/SecurityAuditCenter.razor.rz.scp.css */
.module-center[b-9u1pqfsmad]{padding:24px;max-width:1500px;margin:0 auto;color:var(--mud-palette-text-primary,#eaf0ff)}
.module-hero[b-9u1pqfsmad]{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 28px;margin-bottom:18px;border:1px solid rgba(125,145,190,.2);border-radius:20px;background:linear-gradient(135deg,rgba(48,63,115,.36),rgba(12,21,43,.82));box-shadow:0 18px 45px rgba(0,0,0,.16)}
.module-hero h1[b-9u1pqfsmad]{margin:5px 0 8px;font-size:clamp(24px,3vw,34px);font-weight:900}.module-hero p[b-9u1pqfsmad],.section-head p[b-9u1pqfsmad]{margin:0;color:#9eacc8}.eyebrow[b-9u1pqfsmad]{font-size:12px;font-weight:800;color:#8ca8ff;letter-spacing:.04em}
.summary-grid[b-9u1pqfsmad]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.workflow-summary[b-9u1pqfsmad]{grid-template-columns:repeat(2,minmax(0,1fr))}
.summary-card[b-9u1pqfsmad],.content-card[b-9u1pqfsmad]{border:1px solid rgba(125,145,190,.18);background:linear-gradient(145deg,rgba(24,35,62,.92),rgba(10,17,34,.94));box-shadow:0 14px 35px rgba(0,0,0,.13)}
.summary-card[b-9u1pqfsmad]{position:relative;overflow:hidden;border-radius:16px;padding:18px 20px}.summary-card[b-9u1pqfsmad]::before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:#7187bd}.summary-card.accent[b-9u1pqfsmad]::before{background:#7c6cff}.summary-card.success[b-9u1pqfsmad]::before{background:#2dd4a0}.summary-card.danger[b-9u1pqfsmad]::before{background:#ff6b7a}.summary-card span[b-9u1pqfsmad]{display:block;color:#aab6cf;font-size:13px}.summary-card strong[b-9u1pqfsmad]{display:block;margin:7px 0 3px;font-size:27px}.summary-card small[b-9u1pqfsmad]{color:#73819e}.summary-card .status-text[b-9u1pqfsmad]{font-size:18px}
.content-card[b-9u1pqfsmad]{border-radius:18px;margin-bottom:18px;padding:20px}.section-head[b-9u1pqfsmad]{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.section-head h2[b-9u1pqfsmad]{font-size:18px;margin:0 0 5px}
.count-badge[b-9u1pqfsmad],.module-tag[b-9u1pqfsmad],.event-chip[b-9u1pqfsmad],.status-badge[b-9u1pqfsmad],.risk[b-9u1pqfsmad]{display:inline-flex;align-items:center;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:800;white-space:nowrap}.count-badge[b-9u1pqfsmad],.module-tag[b-9u1pqfsmad],.event-chip[b-9u1pqfsmad]{color:#b9c8f2;background:rgba(92,111,167,.18);border:1px solid rgba(116,138,200,.22)}.status-badge.ok[b-9u1pqfsmad]{color:#6ee7b7;background:rgba(16,185,129,.12)}.status-badge.bad[b-9u1pqfsmad],.risk.high[b-9u1pqfsmad],.risk.critical[b-9u1pqfsmad]{color:#ff9aa5;background:rgba(244,63,94,.13)}.status-badge.muted[b-9u1pqfsmad],.risk.low[b-9u1pqfsmad]{color:#a8b3c9;background:rgba(148,163,184,.12)}.risk.medium[b-9u1pqfsmad]{color:#ffd27a;background:rgba(245,158,11,.13)}
.connection-row[b-9u1pqfsmad]{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:15px;border-radius:14px;background:rgba(7,13,28,.5)}.connection-icon[b-9u1pqfsmad],.empty-icon[b-9u1pqfsmad]{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:linear-gradient(135deg,#755df2,#4a36bd);font-weight:900}.connection-row div:nth-child(2)[b-9u1pqfsmad]{display:flex;flex-direction:column;gap:4px}.connection-row span[b-9u1pqfsmad]{color:#92a0bc;font-size:13px}
.table-wrap[b-9u1pqfsmad]{overflow:auto;border:1px solid rgba(125,145,190,.15);border-radius:14px}table[b-9u1pqfsmad]{width:100%;border-collapse:collapse;min-width:850px}th[b-9u1pqfsmad]{padding:12px 14px;text-align:right;color:#aebbd3;background:rgba(31,45,74,.75);font-size:12px}td[b-9u1pqfsmad]{padding:14px;border-top:1px solid rgba(125,145,190,.11);vertical-align:middle;font-size:13px}tbody tr:hover[b-9u1pqfsmad]{background:rgba(92,111,167,.08)}.url-cell[b-9u1pqfsmad],.last-error[b-9u1pqfsmad],.details-cell[b-9u1pqfsmad]{display:block;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.last-error[b-9u1pqfsmad],.error-number[b-9u1pqfsmad]{color:#ff8d9a}.success-number[b-9u1pqfsmad]{color:#5ee0b1}.entity-id[b-9u1pqfsmad]{display:block;color:#72809b;margin-top:4px}.row-actions[b-9u1pqfsmad]{display:flex;gap:7px}.actions-col[b-9u1pqfsmad]{width:180px}code[b-9u1pqfsmad]{direction:ltr;color:#b6c4e0}
.btn[b-9u1pqfsmad]{border:0;border-radius:11px;padding:10px 15px;font-family:inherit;font-weight:800;cursor:pointer;transition:.18s ease}.btn:hover:not(:disabled)[b-9u1pqfsmad]{transform:translateY(-1px);filter:brightness(1.08)}.btn:disabled[b-9u1pqfsmad]{opacity:.5;cursor:not-allowed}.btn.primary[b-9u1pqfsmad]{color:#fff;background:linear-gradient(135deg,#7562ee,#5541c7)}.btn.secondary[b-9u1pqfsmad]{color:#d8e0f1;background:rgba(97,115,164,.16);border:1px solid rgba(134,151,196,.22)}.btn.approve[b-9u1pqfsmad]{color:#6ee7b7;background:rgba(16,185,129,.13)}.btn.reject[b-9u1pqfsmad]{color:#ff9aa5;background:rgba(244,63,94,.13)}
.state-card[b-9u1pqfsmad],.empty-state[b-9u1pqfsmad]{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;color:#9eacc8}.empty-state h3[b-9u1pqfsmad],.state-card strong[b-9u1pqfsmad]{color:#e7edfb;margin:5px 0 0}.empty-state p[b-9u1pqfsmad]{margin:0;max-width:480px}.empty-icon[b-9u1pqfsmad]{font-size:20px}.state-card.error[b-9u1pqfsmad]{color:#ff9aa5}.spinner[b-9u1pqfsmad]{width:28px;height:28px;border:3px solid rgba(130,150,200,.2);border-top-color:#8172ff;border-radius:50%;animation:spin-b-9u1pqfsmad .8s linear infinite}@keyframes spin-b-9u1pqfsmad{to{transform:rotate(360deg)}}
.filters[b-9u1pqfsmad]{display:grid;grid-template-columns:repeat(3,minmax(160px,1fr)) auto auto;align-items:end;gap:12px}.filters label[b-9u1pqfsmad]{display:flex;flex-direction:column;gap:7px;color:#9eacc8;font-size:12px}.filters input[b-9u1pqfsmad]{width:100%;box-sizing:border-box;border:1px solid rgba(130,150,200,.22);border-radius:11px;background:rgba(5,11,24,.65);color:#edf2ff;padding:11px 12px;font-family:inherit;outline:none}.filters input:focus[b-9u1pqfsmad]{border-color:#7868ec;box-shadow:0 0 0 3px rgba(120,104,236,.12)}.pagination[b-9u1pqfsmad]{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:18px;color:#9eacc8}
@media(max-width:1000px){.summary-grid[b-9u1pqfsmad]{grid-template-columns:repeat(2,1fr)}.filters[b-9u1pqfsmad]{grid-template-columns:1fr 1fr}.module-center[b-9u1pqfsmad]{padding:16px}}
@media(max-width:640px){.module-hero[b-9u1pqfsmad]{align-items:flex-start;flex-direction:column;padding:20px}.summary-grid[b-9u1pqfsmad],.workflow-summary[b-9u1pqfsmad],.filters[b-9u1pqfsmad]{grid-template-columns:1fr}.content-card[b-9u1pqfsmad]{padding:14px}.module-center[b-9u1pqfsmad]{padding:10px}.section-head[b-9u1pqfsmad]{align-items:flex-start}.connection-row[b-9u1pqfsmad]{grid-template-columns:auto 1fr}.module-tag[b-9u1pqfsmad]{grid-column:1/-1;width:max-content}}
/* /Components/Pages/Settings.razor.rz.scp.css */
.settings-page[b-tdeg3igmnh] {
    padding: 24px;
    direction: rtl;
    color: #12203d;
    font-family: inherit;
}

.settings-page *[b-tdeg3igmnh] {
    box-sizing: border-box;
}

.settings-hero[b-tdeg3igmnh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 28px 32px;
    border: 1px solid #dbe4f0;
    border-radius: 26px;
    background:
        radial-gradient(circle at 90% 20%, rgba(var(--erp-primary-rgb, 99, 102, 241), .14), transparent 34%),
        linear-gradient(135deg, #fff, #f8f7ff);
    box-shadow: 0 16px 36px rgba(15, 23, 42, .07);
}

.settings-hero > div:first-child[b-tdeg3igmnh] {
    min-width: 0;
}

.settings-hero span[b-tdeg3igmnh],
.section-head small[b-tdeg3igmnh] {
    color: #6246e8;
    font-weight: 900;
}

.settings-hero h1[b-tdeg3igmnh] {
    margin: 8px 0;
    font-size: clamp(30px, 3vw, 38px);
    line-height: 1.25;
}

.settings-hero p[b-tdeg3igmnh] {
    margin: 0;
    max-width: 780px;
    color: #66758f;
    font-weight: 700;
    line-height: 1.9;
}

.hero-actions[b-tdeg3igmnh] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

.btn[b-tdeg3igmnh] {
    min-height: 46px;
    border: 0;
    border-radius: 14px;
    padding: 12px 19px;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

.btn:hover:not(:disabled)[b-tdeg3igmnh] {
    transform: translateY(-1px);
}

.btn:disabled[b-tdeg3igmnh] {
    cursor: not-allowed;
    opacity: .62;
}

.btn.primary[b-tdeg3igmnh] {
    background: #6446ed;
    color: #fff;
    box-shadow: 0 8px 18px rgba(100, 70, 237, .2);
}

.btn.primary:hover:not(:disabled)[b-tdeg3igmnh] {
    box-shadow: 0 11px 24px rgba(100, 70, 237, .26);
}

.btn.secondary[b-tdeg3igmnh] {
    background: #fff;
    border: 1px solid #d9e1ed;
    color: #16213d;
}

.btn.secondary:hover:not(:disabled)[b-tdeg3igmnh] {
    border-color: #bbc7d8;
    background: #f9fbfe;
}

.settings-shell[b-tdeg3igmnh] {
    display: grid;
    grid-template-columns: minmax(240px, 270px) minmax(0, 1fr);
    align-items: start;
    gap: 22px;
    margin-top: 22px;
}

.settings-nav[b-tdeg3igmnh],
.settings-card[b-tdeg3igmnh] {
    background: #fff;
    border: 1px solid #dbe4f0;
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .05);
}

.settings-nav[b-tdeg3igmnh] {
    position: sticky;
    top: 18px;
    height: max-content;
    padding: 12px;
}

.settings-nav button[b-tdeg3igmnh] {
    width: 100%;
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 11px;
    text-align: right;
    border: 0;
    background: transparent;
    padding: 10px 11px;
    border-radius: 15px;
    cursor: pointer;
    color: #263551;
    font: inherit;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.settings-nav button:hover[b-tdeg3igmnh] {
    background: #f7f8fc;
    transform: translateX(-1px);
}

.settings-nav button.active[b-tdeg3igmnh] {
    background: #f1efff;
    color: #5b42df;
    box-shadow: 0 7px 18px rgba(100, 70, 237, .1);
}

.settings-nav b[b-tdeg3igmnh] {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    border-radius: 12px;
    background: #edf1f7;
    font-size: 13px;
    line-height: 1;
}

.settings-nav button.active b[b-tdeg3igmnh] {
    background: #6849ea;
    color: #fff;
    box-shadow: 0 7px 14px rgba(104, 73, 234, .22);
}

.settings-nav span[b-tdeg3igmnh] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.settings-nav strong[b-tdeg3igmnh] {
    font-size: 14px;
    line-height: 1.55;
}

.settings-nav small[b-tdeg3igmnh] {
    color: #8591a7;
    font-size: 11.5px;
    line-height: 1.55;
}

.settings-card[b-tdeg3igmnh] {
    min-width: 0;
    min-height: 0;
    padding: 24px;
}

.section-head[b-tdeg3igmnh] {
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e7ecf3;
}

.section-head h2[b-tdeg3igmnh] {
    margin: 6px 0 0;
    font-size: 24px;
    line-height: 1.45;
}

.form-grid[b-tdeg3igmnh] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
}

.field[b-tdeg3igmnh] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 800;
}

.field label[b-tdeg3igmnh] {
    color: #4e5e79;
    font-size: 13px;
    line-height: 1.7;
}

.field.wide[b-tdeg3igmnh],
.wide[b-tdeg3igmnh] {
    grid-column: 1 / -1;
}

.field input[b-tdeg3igmnh],
.field textarea[b-tdeg3igmnh],
.field select[b-tdeg3igmnh] {
    width: 100%;
    border: 1px solid #d5dfec;
    border-radius: 13px;
    background: #fbfdff;
    padding: 11px 14px;
    color: #17233f;
    font: inherit;
    font-weight: 700;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.field input[b-tdeg3igmnh],
.field select[b-tdeg3igmnh] {
    min-height: 46px;
}

.field textarea[b-tdeg3igmnh] {
    min-height: 96px;
    resize: vertical;
    line-height: 1.9;
}

.field input:hover[b-tdeg3igmnh],
.field textarea:hover[b-tdeg3igmnh],
.field select:hover[b-tdeg3igmnh] {
    border-color: #bac6d7;
}

.sms-status-card[b-tdeg3igmnh] {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    padding: 18px 20px;
    border: 1px solid #dce5f0;
    border-radius: 20px;
    background: linear-gradient(135deg, #f8fbff, #f2f7fd);
}

.sms-status-card.enabled[b-tdeg3igmnh] {
    border-color: #9edfd1;
    background: linear-gradient(135deg, #f0fdf9, #ecf8ff);
}

.sms-status-icon[b-tdeg3igmnh] {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, #64748b, #334155);
    font-size: 26px;
    box-shadow: 0 10px 24px rgb(51 65 85 / 18%);
}

.sms-status-card.enabled .sms-status-icon[b-tdeg3igmnh] {
    background: linear-gradient(135deg, #0f9f88, #08756f);
    box-shadow: 0 10px 24px rgb(15 159 136 / 22%);
}

.sms-status-card > div:nth-child(2)[b-tdeg3igmnh] {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
}

.sms-status-card strong[b-tdeg3igmnh] {
    color: #17233f;
    font-size: 16px;
}

.sms-status-card small[b-tdeg3igmnh] {
    color: #687892;
    line-height: 1.8;
}

.sms-enable-toggle[b-tdeg3igmnh] {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 15px;
    border: 1px solid #d6e0eb;
    border-radius: 13px;
    background: #fff;
    color: #334155;
    font-weight: 900;
    cursor: pointer;
}

.sms-enable-toggle input[b-tdeg3igmnh] {
    width: 19px;
    height: 19px;
    accent-color: #0f8b7f;
}

.sms-settings-layout[b-tdeg3igmnh] {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 18px;
}

.sms-config-card[b-tdeg3igmnh],
.sms-test-card[b-tdeg3igmnh] {
    border: 1px solid #dce5f0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 34px rgb(30 55 90 / 7%);
}

.sms-config-card[b-tdeg3igmnh] {
    padding: 22px;
}

.sms-section-head[b-tdeg3igmnh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e7edf5;
}

.sms-section-head > div[b-tdeg3igmnh] {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.sms-section-head span[b-tdeg3igmnh],
.sms-test-card > div > span[b-tdeg3igmnh] {
    color: #0f8b7f;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .5px;
}

.sms-section-head strong[b-tdeg3igmnh],
.sms-test-card > div > strong[b-tdeg3igmnh] {
    color: #17233f;
    font-size: 17px;
}

.sms-section-head small[b-tdeg3igmnh],
.sms-test-card > div > small[b-tdeg3igmnh] {
    color: #72819a;
    line-height: 1.8;
}

.sms-section-head > b[b-tdeg3igmnh] {
    min-width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #126f78;
    background: #e9f8f7;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.form-grid.single-column[b-tdeg3igmnh] {
    grid-template-columns: 1fr;
}

.sms-security-note[b-tdeg3igmnh],
.sms-api-help[b-tdeg3igmnh] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 18px;
    padding: 15px 17px;
    border: 1px solid #cbe7e2;
    border-radius: 15px;
    color: #466375;
    background: #f2fbf9;
    line-height: 1.8;
}

.sms-security-note b[b-tdeg3igmnh],
.sms-api-help strong[b-tdeg3igmnh] {
    color: #0d766e;
}

.sms-api-help p[b-tdeg3igmnh] {
    margin: 0;
    font-size: 12px;
}

.sms-api-help code[b-tdeg3igmnh] {
    padding: 2px 7px;
    border-radius: 6px;
    color: #334155;
    background: #e2e8f0;
    direction: ltr;
}

.sms-test-card[b-tdeg3igmnh] {
    display: grid;
    grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr);
    align-items: center;
    gap: 22px;
    margin-top: 18px;
    padding: 22px;
}

.sms-test-card > div:first-child[b-tdeg3igmnh] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sms-test-fields[b-tdeg3igmnh] {
    display: grid;
    grid-template-columns: minmax(160px, .65fr) minmax(220px, 1.35fr) auto;
    gap: 10px;
}

.sms-test-fields input[b-tdeg3igmnh] {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d5dfec;
    border-radius: 13px;
    background: #fbfdff;
    padding: 10px 14px;
    color: #17233f;
    font: inherit;
    font-weight: 700;
    outline: none;
}

.sms-test-fields input:focus[b-tdeg3igmnh] {
    border-color: #168f83;
    box-shadow: 0 0 0 4px rgb(22 143 131 / 11%);
}

.sms-simple-form[b-tdeg3igmnh] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sms-variable-list[b-tdeg3igmnh] {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.sms-variable-list span[b-tdeg3igmnh] {
    padding: 8px 11px;
    border: 1px solid #cde4e2;
    border-radius: 10px;
    color: #0c766d;
    background: #f0fdfa;
    font-size: 12px;
    font-weight: 900;
}

.sms-templates-manager[b-tdeg3igmnh] {
    margin-top: 18px;
    padding: 22px;
    border: 1px solid #dce5f0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 34px rgb(30 55 90 / 7%);
}

.sms-templates-head[b-tdeg3igmnh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.sms-templates-head > div[b-tdeg3igmnh] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sms-templates-head span[b-tdeg3igmnh] {
    color: #0f8b7f;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .8px;
}

.sms-templates-head strong[b-tdeg3igmnh] {
    color: #17233f;
    font-size: 18px;
}

.sms-templates-head small[b-tdeg3igmnh] {
    color: #72819a;
}

.sms-template-grid[b-tdeg3igmnh] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.sms-template-card[b-tdeg3igmnh] {
    display: grid;
    gap: 11px;
    padding: 16px;
    border: 1px solid #dce5f0;
    border-radius: 17px;
    background: #fbfdff;
}

.sms-template-card.inactive[b-tdeg3igmnh] {
    opacity: .62;
}

.sms-template-title[b-tdeg3igmnh] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.sms-template-title > input[b-tdeg3igmnh],
.sms-template-card > select[b-tdeg3igmnh],
.sms-template-card > textarea[b-tdeg3igmnh] {
    width: 100%;
    border: 1px solid #d5dfec;
    border-radius: 11px;
    color: #17233f;
    background: #fff;
    font: inherit;
    font-weight: 750;
    outline: none;
}

.sms-template-title > input[b-tdeg3igmnh],
.sms-template-card > select[b-tdeg3igmnh] {
    min-height: 42px;
    padding: 0 12px;
}

.sms-template-card > textarea[b-tdeg3igmnh] {
    min-height: 105px;
    padding: 12px;
    resize: vertical;
    line-height: 1.9;
}

.sms-template-title label[b-tdeg3igmnh] {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #475569;
    font-size: 12px;
    font-weight: 900;
}

.sms-template-title label input[b-tdeg3igmnh] {
    width: 18px;
    height: 18px;
    accent-color: #0f8b7f;
}

.sms-template-footer[b-tdeg3igmnh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sms-template-footer small[b-tdeg3igmnh] {
    color: #8491a5;
    direction: ltr;
}

.sms-template-footer button[b-tdeg3igmnh] {
    border: 0;
    color: #be123c;
    background: transparent;
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 1050px) {
    .sms-settings-layout[b-tdeg3igmnh],
    .sms-test-card[b-tdeg3igmnh] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .sms-status-card[b-tdeg3igmnh] {
        grid-template-columns: 48px 1fr;
    }

    .sms-status-icon[b-tdeg3igmnh] {
        width: 48px;
        height: 48px;
    }

    .sms-enable-toggle[b-tdeg3igmnh] {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .sms-test-fields[b-tdeg3igmnh] {
        grid-template-columns: 1fr;
    }

    .sms-simple-form[b-tdeg3igmnh],
    .sms-template-grid[b-tdeg3igmnh] {
        grid-template-columns: 1fr;
    }
}

.field input:focus[b-tdeg3igmnh],
.field textarea:focus[b-tdeg3igmnh],
.field select:focus[b-tdeg3igmnh] {
    border-color: #7b61ef;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(123, 97, 239, .12);
}

.field input[type="color"][b-tdeg3igmnh] {
    padding: 5px;
    cursor: pointer;
}

.check[b-tdeg3igmnh] {
    min-height: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #e0e7f0;
    border-radius: 13px;
    background: #fbfcff;
    color: #35445f;
    font-weight: 800;
    line-height: 1.7;
    transition: border-color .18s ease, background-color .18s ease;
}

.check:hover[b-tdeg3igmnh] {
    border-color: #c7d1df;
    background: #fff;
}

.check input[b-tdeg3igmnh] {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    accent-color: #6849ea;
}

.check small[b-tdeg3igmnh] {
    color: #8692a7;
    font-weight: 700;
}

.checks[b-tdeg3igmnh] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.notice[b-tdeg3igmnh] {
    margin-top: 16px;
    padding: 11px 15px;
    border-radius: 12px;
    font-weight: 800;
    line-height: 1.8;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
}

.notice.success[b-tdeg3igmnh] {
    background: #eafaf3;
    border: 1px solid #c9efdf;
    color: #087a54;
}

.notice.error[b-tdeg3igmnh] {
    background: #fff0f0;
    border: 1px solid #ffd6d3;
    color: #b42318;
}

.currency-preview[b-tdeg3igmnh] {
    padding: 18px 20px;
    border: 1px solid #e3defe;
    border-radius: 15px;
    background: #f5f3ff;
    font-size: 17px;
    line-height: 1.8;
}

.logo-panel[b-tdeg3igmnh] {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 22px;
    border: 2px dashed #d4dceb;
    border-radius: 18px;
    background: #fbfcff;
}

.logo-panel p[b-tdeg3igmnh] {
    margin: 10px 0 0;
    color: #75829a;
    font-weight: 700;
    line-height: 1.8;
}

.logo-panel small[b-tdeg3igmnh] {
    display: inline-block;
    margin-top: 8px;
    color: #6246e8;
    font-weight: 800;
}

.logo-preview[b-tdeg3igmnh] {
    width: 170px;
    height: 120px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    overflow: hidden;
    border: 1px solid #e1e7f0;
    border-radius: 16px;
    background: #f4f6fb;
    color: #8a94a8;
}

.logo-preview img[b-tdeg3igmnh] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.loading[b-tdeg3igmnh] {
    padding: 64px 24px;
    text-align: center;
    color: #66758f;
    font-weight: 800;
}

@media (max-width: 1200px) {
    .settings-shell[b-tdeg3igmnh] {
        grid-template-columns: 1fr;
    }

    .settings-nav[b-tdeg3igmnh] {
        position: static;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .settings-nav button[b-tdeg3igmnh] {
        min-height: 72px;
    }
}

@media (max-width: 900px) {
    .settings-page[b-tdeg3igmnh] {
        padding: 14px;
    }

    .settings-hero[b-tdeg3igmnh] {
        align-items: stretch;
        flex-direction: column;
        padding: 22px;
        border-radius: 22px;
    }

    .hero-actions[b-tdeg3igmnh] {
        width: 100%;
    }

    .hero-actions .btn[b-tdeg3igmnh] {
        flex: 1 1 160px;
    }

    .settings-nav[b-tdeg3igmnh] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .settings-card[b-tdeg3igmnh] {
        padding: 20px;
    }

    .form-grid[b-tdeg3igmnh],
    .checks[b-tdeg3igmnh] {
        grid-template-columns: 1fr;
    }

    .field.wide[b-tdeg3igmnh],
    .wide[b-tdeg3igmnh] {
        grid-column: auto;
    }

    .logo-panel[b-tdeg3igmnh] {
        align-items: stretch;
        flex-direction: column;
    }

    .logo-preview[b-tdeg3igmnh] {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .settings-page[b-tdeg3igmnh] {
        padding: 10px;
    }

    .settings-hero[b-tdeg3igmnh],
    .settings-card[b-tdeg3igmnh],
    .settings-nav[b-tdeg3igmnh] {
        border-radius: 18px;
    }

    .settings-hero[b-tdeg3igmnh] {
        padding: 18px;
    }

    .settings-hero h1[b-tdeg3igmnh] {
        font-size: 28px;
    }

    .settings-nav[b-tdeg3igmnh] {
        grid-template-columns: 1fr;
    }

    .settings-nav button[b-tdeg3igmnh] {
        min-height: 58px;
    }

    .settings-card[b-tdeg3igmnh] {
        padding: 16px;
    }

    .section-head h2[b-tdeg3igmnh] {
        font-size: 21px;
    }

    .hero-actions[b-tdeg3igmnh] {
        flex-direction: column;
    }

    .hero-actions .btn[b-tdeg3igmnh] {
        width: 100%;
        flex-basis: auto;
    }
}

.access-layout[b-tdeg3igmnh] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.access-panel[b-tdeg3igmnh],
.access-permissions[b-tdeg3igmnh] {
    border: 1px solid #dfe6f1;
    border-radius: 18px;
    background: #fbfcff;
    padding: 18px;
}

.access-permissions[b-tdeg3igmnh] {
    margin-top: 18px;
}

.access-panel-head[b-tdeg3igmnh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.access-panel-head > div[b-tdeg3igmnh] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.access-panel-head strong[b-tdeg3igmnh] {
    color: #182541;
    font-size: 16px;
}

.access-panel-head small[b-tdeg3igmnh],
.protected-note[b-tdeg3igmnh] {
    color: #78869d;
    line-height: 1.7;
}

.btn.compact[b-tdeg3igmnh] {
    min-height: 40px;
    padding: 9px 14px;
}

.access-actions[b-tdeg3igmnh] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.login-guide[b-tdeg3igmnh] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 16px;
    padding: 13px 15px;
    border: 1px dashed #cfd8e8;
    border-radius: 14px;
    background: #fff;
    color: #5c6b84;
    line-height: 1.8;
}

.login-guide strong[b-tdeg3igmnh] {
    color: #2d3c59;
}

.permission-group[b-tdeg3igmnh] {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e4eaf3;
}

.permission-group:first-of-type[b-tdeg3igmnh] {
    margin-top: 0;
}

.permission-group-title[b-tdeg3igmnh] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.permission-group-title strong[b-tdeg3igmnh] {
    margin-left: auto;
    color: #2a3855;
}

.permission-group-title button[b-tdeg3igmnh] {
    border: 1px solid #d9e1ed;
    border-radius: 9px;
    background: #fff;
    padding: 6px 9px;
    color: #5e4bd8;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.permission-grid[b-tdeg3igmnh],
.user-role-grid[b-tdeg3igmnh] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.user-role-grid[b-tdeg3igmnh] {
    margin-bottom: 18px;
}

@media (max-width: 1050px) {
    .access-layout[b-tdeg3igmnh] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .permission-grid[b-tdeg3igmnh],
    .user-role-grid[b-tdeg3igmnh] {
        grid-template-columns: 1fr;
    }

    .access-panel-head[b-tdeg3igmnh] {
        align-items: flex-start;
        flex-direction: column;
    }
}

.user-directory[b-tdeg3igmnh],
.activity-panel[b-tdeg3igmnh] {
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #dfe6f1;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .055);
}

.directory-head[b-tdeg3igmnh],
.directory-stats[b-tdeg3igmnh],
.user-card-title[b-tdeg3igmnh],
.user-card-actions[b-tdeg3igmnh] {
    display: flex;
    align-items: center;
}

.directory-head[b-tdeg3igmnh] {
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.directory-head > div:first-child[b-tdeg3igmnh] {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.directory-head strong[b-tdeg3igmnh] {
    font-size: 18px;
}

.directory-head small[b-tdeg3igmnh] {
    color: #7c889d;
    font-weight: 700;
}

.directory-stats[b-tdeg3igmnh] {
    gap: 8px;
    flex-wrap: wrap;
}

.directory-stats span[b-tdeg3igmnh] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid #e3e8f1;
    border-radius: 12px;
    background: #f7f9fc;
    color: #53617a;
    font-size: 12px;
    font-weight: 800;
}

.directory-stats span.ok[b-tdeg3igmnh] {
    background: #effbf6;
    border-color: #ccefe0;
    color: #087a54;
}

.directory-stats span.blocked[b-tdeg3igmnh] {
    background: #fff3f2;
    border-color: #ffd8d4;
    color: #b42318;
}

.user-card-grid[b-tdeg3igmnh] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.user-card[b-tdeg3igmnh] {
    min-width: 0;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 12px;
    padding: 15px;
    border: 1px solid #e0e6ef;
    border-radius: 17px;
    background: #fff;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.user-card:hover[b-tdeg3igmnh],
.user-card.selected[b-tdeg3igmnh] {
    transform: translateY(-1px);
    border-color: #a998f6;
    box-shadow: 0 10px 24px rgba(100, 70, 237, .09);
}

.user-avatar[b-tdeg3igmnh] {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: linear-gradient(145deg, #7256ef, #5738df);
    color: #fff;
    font-size: 16px;
    font-weight: 950;
    box-shadow: 0 8px 18px rgba(100, 70, 237, .23);
}

.user-card-body[b-tdeg3igmnh] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.user-card-title[b-tdeg3igmnh] {
    justify-content: space-between;
    gap: 8px;
}

.user-card-title strong[b-tdeg3igmnh] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.username[b-tdeg3igmnh] {
    color: #6b55df;
    direction: ltr;
    text-align: right;
    font-size: 12px;
    font-weight: 900;
}

.user-card-body small[b-tdeg3igmnh] {
    color: #8792a6;
    font-weight: 700;
}

.status-pill[b-tdeg3igmnh] {
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}

.status-pill.active[b-tdeg3igmnh] {
    background: #eaf9f2;
    color: #087a54;
}

.status-pill.inactive[b-tdeg3igmnh] {
    background: #fff0ef;
    color: #b42318;
}

.user-card-actions[b-tdeg3igmnh] {
    grid-column: 1 / -1;
    gap: 7px;
    flex-wrap: wrap;
    padding-top: 11px;
    border-top: 1px solid #edf1f6;
}

.mini-btn[b-tdeg3igmnh] {
    min-height: 35px;
    padding: 7px 11px;
    border: 1px solid #d9e1ec;
    border-radius: 10px;
    background: #fff;
    color: #273550;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.mini-btn:hover:not(:disabled)[b-tdeg3igmnh] {
    border-color: #9d8bed;
    background: #f7f5ff;
}

.mini-btn.danger[b-tdeg3igmnh] {
    border-color: #ffd2cf;
    background: #fff4f3;
    color: #b42318;
}

.mini-btn.success[b-tdeg3igmnh] {
    border-color: #c7ebdc;
    background: #effbf6;
    color: #087a54;
}

.mini-btn.ghost[b-tdeg3igmnh] {
    color: #6046dd;
}

.activity-table-wrap[b-tdeg3igmnh] {
    overflow: auto;
    border: 1px solid #e3e8f0;
    border-radius: 15px;
}

.activity-table[b-tdeg3igmnh] {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
    background: #fff;
}

.activity-table th[b-tdeg3igmnh],
.activity-table td[b-tdeg3igmnh] {
    padding: 13px 14px;
    border-bottom: 1px solid #edf1f6;
    text-align: right;
    vertical-align: top;
    line-height: 1.7;
}

.activity-table th[b-tdeg3igmnh] {
    background: #f6f8fc;
    color: #526079;
    font-size: 12px;
    font-weight: 950;
}

.activity-table td[b-tdeg3igmnh] {
    color: #40506a;
    font-size: 12.5px;
    font-weight: 700;
}

.activity-table tbody tr:hover[b-tdeg3igmnh] {
    background: #fbfaff;
}

.activity-empty[b-tdeg3igmnh] {
    padding: 30px;
    border: 1px dashed #d5ddeb;
    border-radius: 15px;
    background: #fafcff;
    color: #77849a;
    text-align: center;
    font-weight: 800;
}

.ltr[b-tdeg3igmnh] {
    direction: ltr;
    text-align: left !important;
}

@media (max-width: 980px) {
    .user-card-grid[b-tdeg3igmnh] {
        grid-template-columns: 1fr;
    }

    .directory-head[b-tdeg3igmnh] {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ERPPlus Settings Modern V3 */
.settings-modern-v3[b-tdeg3igmnh] {
    --m3-primary: var(--erp-primary, #2563eb);
    --m3-primary-2: var(--erp-accent, #7c3aed);
    --m3-ink: #101a35;
    --m3-muted: #687792;
    --m3-line: #e2e8f2;
    padding: 30px 30px 44px;
    background:
        radial-gradient(circle at 8% 2%, rgba(91,61,245,.10), transparent 24%),
        radial-gradient(circle at 92% 12%, rgba(14,165,233,.08), transparent 22%),
        linear-gradient(180deg, #f8faff 0%, #f4f7fc 100%);
    border-radius: 28px;
}

.settings-modern-v3 .modern-hero[b-tdeg3igmnh] {
    min-height: 230px;
    padding: 36px 40px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 30px;
    background:
        radial-gradient(circle at 18% 15%, rgba(255,255,255,.14), transparent 30%),
        linear-gradient(120deg,
            var(--erp-primary, #2563eb),
            color-mix(in srgb, var(--erp-primary, #2563eb) 52%, var(--erp-accent, #7c3aed)) 56%,
            var(--erp-accent, #7c3aed));
    box-shadow: 0 26px 70px rgba(var(--erp-primary-rgb, 37,99,235), .24);
    color: var(--erp-on-brand, #fff);
}

.settings-modern-v3 .modern-hero[b-tdeg3igmnh]::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 15%, rgba(255,255,255,.12), transparent 28%),
        linear-gradient(115deg, transparent 64%, rgba(255,255,255,.07));
}

.settings-modern-v3 .hero-copy[b-tdeg3igmnh],
.settings-modern-v3 .modern-actions[b-tdeg3igmnh] { position: relative; z-index: 1; }

.settings-modern-v3 .hero-kicker[b-tdeg3igmnh] {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 12px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: var(--erp-on-brand-muted, rgba(255,255,255,.78));
    font-size: 12px;
    font-weight: 900;
    backdrop-filter: blur(10px);
}

.settings-modern-v3 .hero-kicker-dot[b-tdeg3igmnh] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #65f0bd;
    box-shadow: 0 0 0 5px rgba(101,240,189,.12);
}

.settings-modern-v3 .modern-hero h1[b-tdeg3igmnh] {
    margin: 14px 0 8px;
    color: var(--erp-on-brand, #fff);
    font-size: clamp(32px, 3.2vw, 46px);
    letter-spacing: -.9px;
}

.settings-modern-v3 .modern-hero p[b-tdeg3igmnh] {
    max-width: 760px;
    color: var(--erp-on-brand-muted, rgba(255,255,255,.78));
    font-size: 14px;
    line-height: 2;
}

.settings-modern-v3 .hero-meta[b-tdeg3igmnh] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.settings-modern-v3 .hero-meta span[b-tdeg3igmnh] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    background: rgba(255,255,255,.07);
    color: var(--erp-on-brand-muted, rgba(255,255,255,.78));
    font-size: 12px;
}

.settings-modern-v3 .hero-meta b[b-tdeg3igmnh] { color: var(--erp-on-brand, #fff); font-size: 14px; }

.settings-modern-v3 .modern-actions[b-tdeg3igmnh] {
    align-self: flex-end;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: rgba(9,15,34,.20);
    backdrop-filter: blur(12px);
}

.settings-modern-v3 .modern-actions .btn[b-tdeg3igmnh] { min-width: 142px; }
.settings-modern-v3 .modern-actions .btn.secondary[b-tdeg3igmnh] {
    color: var(--erp-on-brand, #fff);
    border-color: color-mix(in srgb, var(--erp-on-brand, #fff) 22%, transparent);
    background: rgba(255,255,255,.09);
}
.settings-modern-v3 .modern-actions .btn.primary[b-tdeg3igmnh] {
    color: var(--erp-on-primary, #fff);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    box-shadow: 0 12px 28px rgba(var(--erp-primary-rgb, 37,99,235), .32);
}

.settings-modern-v3 .settings-shell[b-tdeg3igmnh] {
    grid-template-columns: minmax(255px, 285px) minmax(0, 1fr);
    gap: 24px;
    margin-top: 26px;
}

.settings-modern-v3 .settings-nav[b-tdeg3igmnh] {
    padding: 14px;
    border: 1px solid rgba(214,223,237,.88);
    border-radius: 24px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 20px 50px rgba(28,39,68,.08);
    backdrop-filter: blur(18px);
}

.settings-modern-v3 .settings-nav button[b-tdeg3igmnh] {
    min-height: 68px;
    margin-bottom: 5px;
    border: 1px solid transparent;
}
.settings-modern-v3 .settings-nav button:hover[b-tdeg3igmnh] {
    border-color: #e4e9f4;
    background: #f8f9ff;
}
.settings-modern-v3 .settings-nav button.active[b-tdeg3igmnh] {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #5b3df5, var(--erp-accent, #7c3aed));
    box-shadow: 0 14px 28px rgba(91,61,245,.23);
}
.settings-modern-v3 .settings-nav button.active b[b-tdeg3igmnh] {
    color: #5b3df5;
    background: #fff;
    box-shadow: none;
}
.settings-modern-v3 .settings-nav button.active small[b-tdeg3igmnh] { color: rgba(255,255,255,.76); }

.settings-modern-v3 .settings-card[b-tdeg3igmnh] {
    padding: 28px;
    border: 1px solid rgba(214,223,237,.86);
    border-radius: 26px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 22px 55px rgba(28,39,68,.08);
}

.settings-modern-v3 .section-head[b-tdeg3igmnh] {
    margin-bottom: 24px;
    padding: 18px 20px;
    border: 1px solid #e8edf6;
    border-radius: 18px;
    background: linear-gradient(135deg, #fbfcff, #f6f4ff);
}

.settings-modern-v3 .field input[b-tdeg3igmnh],
.settings-modern-v3 .field textarea[b-tdeg3igmnh],
.settings-modern-v3 .field select[b-tdeg3igmnh] {
    border-color: #dfe6f1;
    background: #fff;
    box-shadow: 0 4px 12px rgba(25,38,68,.025);
}
.settings-modern-v3 .field input:focus[b-tdeg3igmnh],
.settings-modern-v3 .field textarea:focus[b-tdeg3igmnh],
.settings-modern-v3 .field select:focus[b-tdeg3igmnh] {
    border-color: #7c63f3;
    box-shadow: 0 0 0 4px rgba(91,61,245,.10);
}

.settings-modern-v3 .access-panel[b-tdeg3igmnh],
.settings-modern-v3 .user-directory[b-tdeg3igmnh],
.settings-modern-v3 .role-editor[b-tdeg3igmnh],
.settings-modern-v3 .permission-editor[b-tdeg3igmnh] {
    border-radius: 22px;
    border-color: #e2e8f2;
    box-shadow: 0 12px 32px rgba(25,38,68,.055);
}

@media (max-width: 920px) {
    .settings-modern-v3[b-tdeg3igmnh] { padding: 16px; border-radius: 0; }
    .settings-modern-v3 .modern-hero[b-tdeg3igmnh] { min-height: 0; padding: 26px 22px; align-items: flex-start; }
    .settings-modern-v3 .modern-actions[b-tdeg3igmnh] { width: 100%; align-self: auto; }
    .settings-modern-v3 .modern-actions .btn[b-tdeg3igmnh] { flex: 1; min-width: 0; }
}

/* Print texts and social channels – professional layout */
.print-texts-layout[b-tdeg3igmnh] {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, .8fr);
    gap: 22px;
    align-items: start;
}

.print-editor-column[b-tdeg3igmnh] { min-width: 0; }

.print-editor-card[b-tdeg3igmnh],
.invoice-preview-card[b-tdeg3igmnh],
.social-section[b-tdeg3igmnh] {
    border: 1px solid #e0e7f2;
    border-radius: 22px;
    background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
    box-shadow: 0 14px 34px rgba(20, 34, 68, .055);
}

.print-editor-card[b-tdeg3igmnh] { padding: 18px; }
.print-editor-card.featured[b-tdeg3igmnh] {
    margin-bottom: 16px;
    border-color: #d9d0ff;
    background: linear-gradient(135deg, #fff 0%, #f8f6ff 100%);
}

.print-editor-grid[b-tdeg3igmnh] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.editor-card-head[b-tdeg3igmnh] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.editor-card-head > div[b-tdeg3igmnh] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.editor-card-head strong[b-tdeg3igmnh] { color: #172440; font-size: 15px; }
.editor-card-head small[b-tdeg3igmnh] { color: #7d899e; font-size: 11.5px; line-height: 1.6; }

.editor-icon[b-tdeg3igmnh] {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    border-radius: 13px;
    background: linear-gradient(145deg, #6848f1, #7d55f4);
    color: #fff;
    font-weight: 950;
    box-shadow: 0 9px 18px rgba(104, 72, 241, .23);
}

.print-editor-card textarea[b-tdeg3igmnh] {
    width: 100%;
    min-height: 110px;
    padding: 13px 15px;
    border: 1px solid #dce4ef;
    border-radius: 14px;
    outline: none;
    resize: vertical;
    color: #1b2945;
    background: #fff;
    font: inherit;
    font-weight: 700;
    line-height: 1.9;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.print-editor-card textarea:focus[b-tdeg3igmnh] {
    border-color: #7b61ef;
    box-shadow: 0 0 0 4px rgba(123, 97, 239, .11);
}

.template-chips[b-tdeg3igmnh] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 11px;
}

.template-chips button[b-tdeg3igmnh] {
    border: 1px solid #ded7ff;
    border-radius: 999px;
    padding: 7px 11px;
    background: #f7f4ff;
    color: #5c42db;
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.invoice-preview-card[b-tdeg3igmnh] {
    position: sticky;
    top: 18px;
    padding: 18px;
}

.preview-head[b-tdeg3igmnh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.preview-head > div[b-tdeg3igmnh] { display: flex; flex-direction: column; gap: 3px; }
.preview-head strong[b-tdeg3igmnh] { color: #172440; }
.preview-head small[b-tdeg3igmnh] { color: #8691a5; font-size: 11px; }
.preview-head > span[b-tdeg3igmnh] {
    padding: 5px 8px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #087a54;
    font-size: 10px;
    font-weight: 950;
}

.invoice-paper-preview[b-tdeg3igmnh] {
    min-height: 430px;
    padding: 22px;
    border: 1px solid #e3e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 18px 45px rgba(22, 33, 61, .08);
}

.preview-brand-row[b-tdeg3igmnh] { display: flex; align-items: center; gap: 11px; padding-bottom: 14px; border-bottom: 2px solid #ece9ff; }
.preview-brand-row > div:last-child[b-tdeg3igmnh] { display: flex; flex-direction: column; gap: 2px; }
.preview-brand-row small[b-tdeg3igmnh] { color: #8a94a7; font-size: 10px; }
.preview-logo[b-tdeg3igmnh] {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(145deg, #6545ed, var(--erp-accent, #8b5cf6));
    color: #fff;
    font-weight: 950;
}
.preview-lines[b-tdeg3igmnh] { display: grid; gap: 9px; margin: 22px 0; }
.preview-lines i[b-tdeg3igmnh] { display: block; height: 8px; border-radius: 999px; background: #edf1f7; }
.preview-lines i:nth-child(2)[b-tdeg3igmnh] { width: 78%; }
.preview-lines i:nth-child(3)[b-tdeg3igmnh] { width: 55%; }
.preview-footer[b-tdeg3igmnh] { margin: 18px 0 10px; padding: 13px; border-radius: 12px; background: #f5f2ff; color: #4f3bc3; text-align: center; font-weight: 900; line-height: 1.8; }
.preview-note[b-tdeg3igmnh] { margin-top: 8px; padding-top: 8px; border-top: 1px dashed #e0e5ed; color: #59677f; font-size: 10.5px; line-height: 1.75; }
.preview-social-line[b-tdeg3igmnh] { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.preview-social-line span[b-tdeg3igmnh] { padding: 5px 7px; border-radius: 8px; background: #f6f8fb; color: #66738a; font-size: 9.5px; direction: ltr; }

.social-section[b-tdeg3igmnh] { margin-top: 22px; padding: 22px; }
.social-section-head[b-tdeg3igmnh] { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.social-section-head h3[b-tdeg3igmnh] { margin: 8px 0 3px; color: #14213c; font-size: 21px; }
.social-section-head p[b-tdeg3igmnh] { margin: 0; color: #7b879c; font-size: 12px; line-height: 1.8; }
.section-badge[b-tdeg3igmnh] { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: #f0edff; color: #5e43de; font-size: 11px; font-weight: 900; }
.social-counter[b-tdeg3igmnh] { min-width: 92px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px; border-radius: 16px; background: linear-gradient(145deg, #6546ef, var(--erp-accent, #7c3aed)); color: #fff; box-shadow: 0 12px 24px rgba(101,70,239,.23); }
.social-counter b[b-tdeg3igmnh] { font-size: 22px; }
.social-counter span[b-tdeg3igmnh] { font-size: 10px; opacity: .83; }

.social-grid[b-tdeg3igmnh] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.social-field-card[b-tdeg3igmnh] {
    min-width: 0;
    display: grid;
    grid-template-columns: 42px minmax(120px, .7fr) minmax(150px, 1.3fr);
    align-items: center;
    gap: 10px;
    padding: 11px;
    border: 1px solid #e2e8f1;
    border-radius: 15px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.social-field-card:focus-within[b-tdeg3igmnh] { border-color: #9b89f5; box-shadow: 0 8px 22px rgba(91,61,245,.08); transform: translateY(-1px); }
.social-icon[b-tdeg3igmnh] { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #f0edff; color: #5c42db; font-size: 15px; font-weight: 950; }
.social-field-copy[b-tdeg3igmnh] { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.social-field-copy strong[b-tdeg3igmnh] { color: #24314d; font-size: 13px; }
.social-field-copy small[b-tdeg3igmnh] { color: #8a95a8; font-size: 10px; }
.social-field-card input[b-tdeg3igmnh] { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #dfe6ef; border-radius: 11px; outline: none; background: #fafcff; color: #23314c; font: inherit; font-size: 12px; direction: ltr; text-align: left; }
.social-field-card input:focus[b-tdeg3igmnh] { border-color: #8069ef; background: #fff; box-shadow: 0 0 0 3px rgba(128,105,239,.10); }

.social-preview-strip[b-tdeg3igmnh] { display: grid; grid-template-columns: minmax(180px, .35fr) minmax(0, 1fr); align-items: center; gap: 18px; margin-top: 18px; padding: 16px; border: 1px dashed #d7ddeb; border-radius: 16px; background: #f9fbfe; }
.social-preview-strip > div:first-child[b-tdeg3igmnh] { display: flex; flex-direction: column; gap: 3px; }
.social-preview-strip small[b-tdeg3igmnh] { color: #8490a4; font-size: 10.5px; }
.social-preview-items[b-tdeg3igmnh] { display: flex; flex-wrap: wrap; gap: 8px; }
.social-preview-items > span[b-tdeg3igmnh] { display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; border: 1px solid #e3e8f0; border-radius: 10px; background: #fff; color: #56637a; font-size: 10.5px; direction: ltr; }
.social-preview-items b[b-tdeg3igmnh] { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: #f0edff; color: #6246e8; }
.empty-social[b-tdeg3igmnh] { color: #8894a7 !important; direction: rtl !important; }

@media (max-width: 1120px) {
    .print-texts-layout[b-tdeg3igmnh] { grid-template-columns: 1fr; }
    .invoice-preview-card[b-tdeg3igmnh] { position: static; }
    .invoice-paper-preview[b-tdeg3igmnh] { min-height: 0; }
}

@media (max-width: 820px) {
    .print-editor-grid[b-tdeg3igmnh],
    .social-grid[b-tdeg3igmnh] { grid-template-columns: 1fr; }
    .social-field-card[b-tdeg3igmnh] { grid-template-columns: 42px minmax(100px, .7fr) minmax(130px, 1.3fr); }
    .social-preview-strip[b-tdeg3igmnh] { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .print-editor-card[b-tdeg3igmnh],
    .invoice-preview-card[b-tdeg3igmnh],
    .social-section[b-tdeg3igmnh] { padding: 14px; border-radius: 17px; }
    .social-section-head[b-tdeg3igmnh] { align-items: flex-start; flex-direction: column; }
    .social-field-card[b-tdeg3igmnh] { grid-template-columns: 42px 1fr; }
    .social-field-card input[b-tdeg3igmnh] { grid-column: 1 / -1; }
}

/* Print & social professional refinement */
.print-template-toolbar[b-tdeg3igmnh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    padding: 18px 20px;
    border: 1px solid #e2e8f3;
    border-radius: 20px;
    background: linear-gradient(135deg, #fff, #f7f5ff);
    box-shadow: 0 12px 30px rgba(35, 44, 78, .06);
}
.print-template-toolbar > div:first-child[b-tdeg3igmnh] { display:flex; flex-direction:column; gap:5px; }
.print-template-toolbar strong[b-tdeg3igmnh] { font-size:17px; color:#15213d; }
.print-template-toolbar small[b-tdeg3igmnh] { color:#7c889d; line-height:1.7; }
.template-actions[b-tdeg3igmnh] { display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-end; }
.template-actions button[b-tdeg3igmnh] {
    min-height: 38px; padding: 8px 12px; border:1px solid #dddff0; border-radius:11px;
    background:#fff; color:#5942d8; font:inherit; font-size:12px; font-weight:900; cursor:pointer;
}
.template-actions button:hover[b-tdeg3igmnh] { border-color:#8f7cf0; background:#f7f5ff; transform:translateY(-1px); }
.template-actions button.danger[b-tdeg3igmnh] { color:#b42318; border-color:#ffd3cf; background:#fff6f5; }

.invoice-paper-preview[b-tdeg3igmnh] {
    aspect-ratio: 1 / 1.414;
    max-height: 720px;
    overflow:auto;
    background: linear-gradient(180deg,#fff,#fdfdff);
    box-shadow: inset 0 0 0 1px #edf0f6, 0 18px 40px rgba(20,31,59,.08);
}
.invoice-paper-preview[b-tdeg3igmnh]::after {
    content:"QR"; display:grid; place-items:center; width:48px; height:48px; margin:16px 0 0 auto;
    border:5px dotted #17213a; border-radius:5px; color:#17213a; font-size:10px; font-weight:950;
}

.social-field-card.pro[b-tdeg3igmnh] { grid-template-columns: 44px minmax(0,1fr) minmax(180px, .9fr); align-items:center; }
.social-field-card.pro input[b-tdeg3igmnh] { min-width:0; }
.social-card-actions[b-tdeg3igmnh] { grid-column: 2 / -1; display:flex; gap:8px; justify-content:flex-end; margin-top:2px; }
.social-card-actions button[b-tdeg3igmnh], .social-card-actions a[b-tdeg3igmnh] {
    min-height:31px; display:inline-flex; align-items:center; justify-content:center; padding:5px 10px;
    border:1px solid #e0e5ef; border-radius:9px; background:#fff; color:#5a46d6;
    font:inherit; font-size:11px; font-weight:900; text-decoration:none; cursor:pointer;
}
.social-card-actions button[b-tdeg3igmnh] { color:#b42318; border-color:#ffd7d3; background:#fff7f6; }
.social-card-actions a:hover[b-tdeg3igmnh] { border-color:#9f8df1; background:#f7f5ff; }

@media (max-width: 900px) {
    .print-template-toolbar[b-tdeg3igmnh] { align-items:flex-start; flex-direction:column; }
    .template-actions[b-tdeg3igmnh] { width:100%; justify-content:flex-start; }
    .social-field-card.pro[b-tdeg3igmnh] { grid-template-columns:44px minmax(0,1fr); }
    .social-field-card.pro input[b-tdeg3igmnh], .social-card-actions[b-tdeg3igmnh] { grid-column:1 / -1; }
}

/* Social channels layout fix - stable RTL card layout */
.settings-modern-v3 .social-section[b-tdeg3igmnh] {
    overflow: hidden;
}

.settings-modern-v3 .social-section-head[b-tdeg3igmnh] {
    align-items: center;
    margin-bottom: 22px;
}

.settings-modern-v3 .social-grid[b-tdeg3igmnh] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.settings-modern-v3 .social-channel-card[b-tdeg3igmnh] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 18px;
    border: 1px solid #e1e7f0;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    box-shadow: 0 8px 22px rgba(31, 42, 70, .045);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.settings-modern-v3 .social-channel-card:hover[b-tdeg3igmnh],
.settings-modern-v3 .social-channel-card:focus-within[b-tdeg3igmnh] {
    transform: translateY(-1px);
    border-color: #b7a9f7;
    box-shadow: 0 14px 32px rgba(91, 61, 245, .09);
}

.settings-modern-v3 .social-channel-card.is-active[b-tdeg3igmnh] {
    border-color: #cfc5ff;
    background: linear-gradient(180deg, #ffffff 0%, #faf8ff 100%);
}

.settings-modern-v3 .social-channel-head[b-tdeg3igmnh] {
    min-width: 0;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.settings-modern-v3 .social-channel-icon[b-tdeg3igmnh] {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(145deg, #f1edff, #e9e4ff);
    color: #5b3df5;
    font-size: 18px;
    font-weight: 950;
    box-shadow: inset 0 0 0 1px rgba(91, 61, 245, .07);
}

.settings-modern-v3 .social-channel-title[b-tdeg3igmnh] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.settings-modern-v3 .social-channel-title strong[b-tdeg3igmnh] {
    color: #17233f;
    font-size: 14px;
    line-height: 1.5;
}

.settings-modern-v3 .social-channel-title small[b-tdeg3igmnh] {
    overflow: hidden;
    color: #8793a8;
    font-size: 11px;
    line-height: 1.6;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.settings-modern-v3 .social-channel-status[b-tdeg3igmnh] {
    min-width: 48px;
    padding: 6px 9px;
    border: 1px solid #e3e8f0;
    border-radius: 999px;
    background: #f6f8fb;
    color: #7d899d;
    text-align: center;
    font-size: 10px;
    font-weight: 900;
}

.settings-modern-v3 .social-channel-status.active[b-tdeg3igmnh] {
    border-color: #c8efdf;
    background: #edfbf5;
    color: #087a54;
}

.settings-modern-v3 .social-channel-input[b-tdeg3igmnh] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.settings-modern-v3 .social-channel-input > span[b-tdeg3igmnh] {
    color: #58667f;
    font-size: 11px;
    font-weight: 850;
}

.settings-modern-v3 .social-channel-input input[b-tdeg3igmnh] {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #dce3ee;
    border-radius: 12px;
    outline: none;
    background: #fff;
    color: #1f2c48;
    font: inherit;
    font-size: 12.5px;
    text-align: left;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.settings-modern-v3 .social-channel-input input[b-tdeg3igmnh]::placeholder {
    color: #a0aabc;
}

.settings-modern-v3 .social-channel-input input:focus[b-tdeg3igmnh] {
    border-color: #8069ef;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(91, 61, 245, .1);
}

.settings-modern-v3 .social-channel-footer[b-tdeg3igmnh] {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid #edf1f6;
}

.settings-modern-v3 .print-visibility-note[b-tdeg3igmnh] {
    min-width: 0;
    color: #8a95a8;
    font-size: 10.5px;
    font-weight: 750;
    line-height: 1.6;
}

.settings-modern-v3 .social-channel-actions[b-tdeg3igmnh] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 7px;
}

.settings-modern-v3 .social-action[b-tdeg3igmnh] {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border: 1px solid #dbe2ed;
    border-radius: 9px;
    background: #fff;
    color: #5d49d8;
    font: inherit;
    font-size: 10.5px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.settings-modern-v3 .social-action:hover[b-tdeg3igmnh] {
    border-color: #a998f6;
    background: #f7f5ff;
}

.settings-modern-v3 .social-action.clear[b-tdeg3igmnh] {
    border-color: #ffd7d3;
    background: #fff7f6;
    color: #b42318;
}

.settings-modern-v3 .social-preview-strip[b-tdeg3igmnh] {
    margin-top: 18px;
    padding: 16px 18px;
    border: 1px dashed #d8deea;
    border-radius: 16px;
    background: #fafcff;
}

.settings-modern-v3 .social-preview-items[b-tdeg3igmnh] {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.settings-modern-v3 .social-preview-items > span:not(.empty-social)[b-tdeg3igmnh] {
    max-width: 100%;
    overflow: hidden;
    padding: 7px 10px;
    border: 1px solid #e3e8f1;
    border-radius: 10px;
    background: #fff;
    color: #4d5b74;
    direction: ltr;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 1080px) {
    .settings-modern-v3 .social-grid[b-tdeg3igmnh] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .settings-modern-v3 .social-channel-card[b-tdeg3igmnh] {
        padding: 14px;
        border-radius: 15px;
    }

    .settings-modern-v3 .social-channel-head[b-tdeg3igmnh] {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .settings-modern-v3 .social-channel-icon[b-tdeg3igmnh] {
        width: 42px;
        height: 42px;
    }

    .settings-modern-v3 .social-channel-status[b-tdeg3igmnh] {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .settings-modern-v3 .social-channel-footer[b-tdeg3igmnh] {
        align-items: stretch;
        flex-direction: column;
    }

    .settings-modern-v3 .social-channel-actions[b-tdeg3igmnh] {
        width: 100%;
    }

    .settings-modern-v3 .social-action[b-tdeg3igmnh] {
        flex: 1;
    }
}

/* Customer communication cards — scoped CSS fix for RenderFragment content */
.settings-modern-v3 .social-grid[b-tdeg3igmnh] {
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    gap: 18px;
}

.settings-modern-v3 .social-grid[b-tdeg3igmnh]  .social-channel-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
    overflow: hidden;
    border: 1px solid #e1e7f0;
    border-radius: 20px;
    background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
    box-shadow: 0 10px 28px rgba(24, 36, 68, .055);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.settings-modern-v3 .social-grid[b-tdeg3igmnh]  .social-channel-card:hover,
.settings-modern-v3 .social-grid[b-tdeg3igmnh]  .social-channel-card:focus-within {
    transform: translateY(-2px);
    border-color: #b9abf8;
    box-shadow: 0 18px 38px rgba(91, 61, 245, .11);
}

.settings-modern-v3 .social-grid[b-tdeg3igmnh]  .social-channel-card.is-active {
    border-color: #cfc5ff;
    background: linear-gradient(160deg, #fff 0%, #faf8ff 100%);
}

.settings-modern-v3 .social-grid[b-tdeg3igmnh]  .social-channel-head {
    min-width: 0;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.settings-modern-v3 .social-grid[b-tdeg3igmnh]  .social-channel-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    border-radius: 15px;
    background: linear-gradient(145deg, #f2eeff, #e7e1ff);
    color: #5b3df5;
    font-size: 18px;
    font-weight: 950;
    box-shadow: inset 0 0 0 1px rgba(91, 61, 245, .08);
}

.settings-modern-v3 .social-grid[b-tdeg3igmnh]  .social-channel-title {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.settings-modern-v3 .social-grid[b-tdeg3igmnh]  .social-channel-title strong {
    color: #17233f;
    font-size: 14px;
    font-weight: 950;
    line-height: 1.55;
}

.settings-modern-v3 .social-grid[b-tdeg3igmnh]  .social-channel-title small {
    overflow: hidden;
    color: #8793a8;
    font-size: 11px;
    line-height: 1.65;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.settings-modern-v3 .social-grid[b-tdeg3igmnh]  .social-channel-status {
    min-width: 50px;
    padding: 6px 10px;
    border: 1px solid #e1e7ef;
    border-radius: 999px;
    background: #f5f7fb;
    color: #7d899d;
    text-align: center;
    font-size: 10px;
    font-weight: 950;
}

.settings-modern-v3 .social-grid[b-tdeg3igmnh]  .social-channel-status.active {
    border-color: #c7eddc;
    background: #ebfaf3;
    color: #087a54;
}

.settings-modern-v3 .social-grid[b-tdeg3igmnh]  .social-channel-input {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.settings-modern-v3 .social-grid[b-tdeg3igmnh]  .social-channel-input > span {
    color: #53617a;
    font-size: 11px;
    font-weight: 900;
}

.settings-modern-v3 .social-grid[b-tdeg3igmnh]  .social-channel-input input {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid #dbe3ee;
    border-radius: 13px;
    outline: none;
    background: #fff;
    color: #1e2b47;
    font: inherit;
    font-size: 12.5px;
    direction: ltr;
    text-align: left;
    box-shadow: 0 3px 10px rgba(27, 40, 70, .025);
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.settings-modern-v3 .social-grid[b-tdeg3igmnh]  .social-channel-input input::placeholder {
    color: #a1aabd;
}

.settings-modern-v3 .social-grid[b-tdeg3igmnh]  .social-channel-input input:focus {
    border-color: #8069ef;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(91, 61, 245, .10);
}

.settings-modern-v3 .social-grid[b-tdeg3igmnh]  .social-channel-footer {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 13px;
    border-top: 1px solid #edf1f6;
}

.settings-modern-v3 .social-grid[b-tdeg3igmnh]  .print-visibility-note {
    min-width: 0;
    color: #7e8a9f;
    font-size: 10.5px;
    font-weight: 750;
    line-height: 1.65;
}

.settings-modern-v3 .social-grid[b-tdeg3igmnh]  .social-channel-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
}

.settings-modern-v3 .social-grid[b-tdeg3igmnh]  .social-action {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border: 1px solid #dde4ee;
    border-radius: 10px;
    background: #fff;
    color: #5d45dc;
    font: inherit;
    font-size: 10.5px;
    font-weight: 950;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.settings-modern-v3 .social-grid[b-tdeg3igmnh]  .social-action.test:hover {
    border-color: #a999f4;
    background: #f7f5ff;
}

.settings-modern-v3 .social-grid[b-tdeg3igmnh]  .social-action.clear {
    border-color: #ffd3cf;
    background: #fff6f5;
    color: #b42318;
}

@media (max-width: 1080px) {
    .settings-modern-v3 .social-grid[b-tdeg3igmnh] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .settings-modern-v3 .social-grid[b-tdeg3igmnh]  .social-channel-card {
        padding: 15px;
        border-radius: 17px;
    }

    .settings-modern-v3 .social-grid[b-tdeg3igmnh]  .social-channel-head {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .settings-modern-v3 .social-grid[b-tdeg3igmnh]  .social-channel-status {
        grid-column: 1 / -1;
        width: max-content;
    }

    .settings-modern-v3 .social-grid[b-tdeg3igmnh]  .social-channel-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .settings-modern-v3 .social-grid[b-tdeg3igmnh]  .social-channel-actions {
        width: 100%;
    }

    .settings-modern-v3 .social-grid[b-tdeg3igmnh]  .social-action {
        flex: 1;
    }
}

/* Final production polish: print texts, preview, progress and communication KPIs */
.settings-modern-v3 .template-actions[b-tdeg3igmnh] {
    padding: 5px;
    border: 1px solid #e3e6f3;
    border-radius: 14px;
    background: #f7f8fc;
}
.settings-modern-v3 .template-actions button[b-tdeg3igmnh] {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}
.settings-modern-v3 .template-actions button.selected[b-tdeg3igmnh] {
    border-color: #c8bcff;
    background: linear-gradient(135deg, #6546ee, #7a3ff0);
    color: #fff;
    box-shadow: 0 8px 18px rgba(91,61,245,.22);
}
.settings-modern-v3 .template-actions button.danger[b-tdeg3igmnh] {
    margin-inline-start: 4px;
    border-color: #ffd4d0;
    background: #fff;
}

.settings-modern-v3 .print-editor-grid[b-tdeg3igmnh] {
    align-items: stretch;
}
.settings-modern-v3 .print-editor-grid .print-editor-card[b-tdeg3igmnh] {
    min-height: 310px;
    display: grid;
    grid-template-rows: auto minmax(170px, 1fr);
}
.settings-modern-v3 .print-editor-grid .print-editor-card textarea[b-tdeg3igmnh] {
    width: 100%;
    height: 100%;
    min-height: 170px;
    resize: vertical;
}
.settings-modern-v3 .print-editor-card.featured textarea[b-tdeg3igmnh] {
    min-height: 128px;
}

.settings-modern-v3 .invoice-preview-card[b-tdeg3igmnh] {
    position: sticky;
    top: 18px;
    align-self: start;
}
.settings-modern-v3 .invoice-paper-preview[b-tdeg3igmnh] {
    width: 100%;
    max-width: 430px;
    min-height: 608px;
    max-height: none;
    margin-inline: auto;
    overflow: hidden;
    padding: 28px 24px;
    aspect-ratio: 1 / 1.414;
    border: 1px solid #e6eaf1;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 20px 48px rgba(22,32,58,.10);
    font-size: 11px;
}
.settings-modern-v3 .invoice-paper-preview .preview-footer[b-tdeg3igmnh] {
    font-size: 13px;
    line-height: 1.85;
}
.settings-modern-v3 .invoice-paper-preview .preview-note[b-tdeg3igmnh] {
    max-height: 58px;
    overflow: hidden;
    font-size: 9.5px;
    line-height: 1.75;
}
.settings-modern-v3 .invoice-paper-preview[b-tdeg3igmnh]::after {
    width: 42px;
    height: 42px;
    margin-top: 10px;
}

.settings-modern-v3 .social-kpis[b-tdeg3igmnh] {
    display: grid;
    grid-template-columns: repeat(3, minmax(96px, 1fr));
    gap: 8px;
    min-width: 330px;
}
.settings-modern-v3 .social-kpis > span[b-tdeg3igmnh] {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    padding: 9px 12px;
    border: 1px solid #e4e8f1;
    border-radius: 14px;
    background: #f8f9fc;
    color: #6d7890;
}
.settings-modern-v3 .social-kpis > span b[b-tdeg3igmnh] {
    color: #5b3df5;
    font-size: 18px;
}
.settings-modern-v3 .social-kpis > span small[b-tdeg3igmnh] {
    font-size: 10px;
    font-weight: 850;
    white-space: nowrap;
}
.settings-modern-v3 .social-kpis > span.ready[b-tdeg3igmnh] {
    border-color: #c9eedf;
    background: #effbf6;
}
.settings-modern-v3 .social-kpis > span.ready b[b-tdeg3igmnh],
.settings-modern-v3 .social-kpis > span.ready small[b-tdeg3igmnh] { color: #087a54; }

.settings-modern-v3 .settings-nav button.complete:not(.active) b[b-tdeg3igmnh]::after {
    content: "✓";
    position: absolute;
    inset-inline-start: -5px;
    inset-block-start: -5px;
    width: 17px;
    height: 17px;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #16a36a;
    color: #fff;
    font-size: 9px;
    box-shadow: 0 4px 10px rgba(22,163,106,.22);
}
.settings-modern-v3 .settings-nav b[b-tdeg3igmnh] { position: relative; }

@media (max-width: 1100px) {
    .settings-modern-v3 .invoice-preview-card[b-tdeg3igmnh] { position: static; }
    .settings-modern-v3 .invoice-paper-preview[b-tdeg3igmnh] { min-height: 540px; }
    .settings-modern-v3 .social-kpis[b-tdeg3igmnh] { width: 100%; min-width: 0; }
}
@media (max-width: 700px) {
    .settings-modern-v3 .template-actions[b-tdeg3igmnh] { width: 100%; }
    .settings-modern-v3 .template-actions button[b-tdeg3igmnh] { flex: 1 1 42%; }
    .settings-modern-v3 .print-editor-grid .print-editor-card[b-tdeg3igmnh] { min-height: 270px; }
    .settings-modern-v3 .social-kpis[b-tdeg3igmnh] { grid-template-columns: 1fr; }
    .settings-modern-v3 .social-kpis > span[b-tdeg3igmnh] { min-height: 50px; flex-direction: row; justify-content: space-between; }
}

/* Custom social channels */
.settings-modern-v3 .custom-social-toolbar[b-tdeg3igmnh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 22px 0 16px;
    padding: 16px 18px;
    border: 1px solid #e5e8f2;
    border-radius: 18px;
    background: linear-gradient(135deg, #fbfcff, #f7f5ff);
}
.settings-modern-v3 .custom-social-toolbar > div[b-tdeg3igmnh] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.settings-modern-v3 .custom-social-toolbar strong[b-tdeg3igmnh] { color: #17233f; font-size: 15px; }
.settings-modern-v3 .custom-social-toolbar small[b-tdeg3igmnh] { color: #7c879d; font-size: 11.5px; line-height: 1.7; }
.settings-modern-v3 .add-custom-social-btn[b-tdeg3igmnh] {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    padding: 10px 16px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, #5b3df5, var(--erp-accent, #7c3aed));
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(91,61,245,.22);
}
.settings-modern-v3 .add-custom-social-btn span[b-tdeg3igmnh] { font-size: 18px; line-height: 1; }
.settings-modern-v3 .custom-social-editor[b-tdeg3igmnh] {
    margin-bottom: 18px;
    padding: 20px;
    border: 1px solid #dcd5ff;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(49,38,110,.09);
}
.settings-modern-v3 .custom-social-editor-head[b-tdeg3igmnh],
.settings-modern-v3 .custom-social-editor-head > div:first-child[b-tdeg3igmnh] {
    display: flex;
    align-items: center;
    gap: 12px;
}
.settings-modern-v3 .custom-social-editor-head[b-tdeg3igmnh] { justify-content: space-between; margin-bottom: 18px; }
.settings-modern-v3 .custom-social-editor-head > div:first-child > div[b-tdeg3igmnh] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.settings-modern-v3 .custom-social-editor-head strong[b-tdeg3igmnh] { color: #17233f; font-size: 16px; }
.settings-modern-v3 .custom-social-editor-head small[b-tdeg3igmnh] { color: #7b879c; font-size: 11px; }
.settings-modern-v3 .editor-icon[b-tdeg3igmnh] {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    border-radius: 15px;
    background: color-mix(in srgb, var(--channel-color) 14%, white);
    color: var(--channel-color);
    font-size: 18px;
    font-weight: 950;
}
.settings-modern-v3 .editor-close[b-tdeg3igmnh] {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid #e3e7ef;
    border-radius: 11px;
    background: #fff;
    color: #69758a;
    font-size: 22px;
    cursor: pointer;
}
.settings-modern-v3 .custom-social-form[b-tdeg3igmnh] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.settings-modern-v3 .custom-social-form label:not(.custom-print-toggle)[b-tdeg3igmnh] {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.settings-modern-v3 .custom-social-form label > span[b-tdeg3igmnh] { color: #44516b; font-size: 12px; font-weight: 850; }
.settings-modern-v3 .custom-social-form input[type="text"][b-tdeg3igmnh],
.settings-modern-v3 .custom-social-form input:not([type])[b-tdeg3igmnh] {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #dce3ee;
    border-radius: 12px;
    background: #fbfcff;
    color: #17233f;
    font: inherit;
    font-size: 12px;
    outline: none;
}
.settings-modern-v3 .custom-social-form input:focus[b-tdeg3igmnh] { border-color: #7c63f3; box-shadow: 0 0 0 3px rgba(91,61,245,.09); }
.settings-modern-v3 .custom-social-form .wide[b-tdeg3igmnh] { grid-column: 1 / -1; }
.settings-modern-v3 .custom-color-field[b-tdeg3igmnh] {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 9px;
    border: 1px solid #dce3ee;
    border-radius: 12px;
    background: #fbfcff;
}
.settings-modern-v3 .custom-color-field input[b-tdeg3igmnh] { width: 42px; height: 32px; padding: 0; border: 0; background: transparent; }
.settings-modern-v3 .custom-color-field code[b-tdeg3igmnh] { direction: ltr; color: #53607a; }
.settings-modern-v3 .custom-print-toggle[b-tdeg3igmnh],
.settings-modern-v3 .custom-card-print-toggle[b-tdeg3igmnh] {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #526079;
    font-size: 11.5px;
    font-weight: 800;
}
.settings-modern-v3 .custom-print-toggle[b-tdeg3igmnh] {
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #e3e7f0;
    border-radius: 12px;
    background: #f9faff;
}
.settings-modern-v3 .custom-print-toggle input[b-tdeg3igmnh],
.settings-modern-v3 .custom-card-print-toggle input[b-tdeg3igmnh] { width: 17px; height: 17px; accent-color: #6849ea; }
.settings-modern-v3 .custom-social-error[b-tdeg3igmnh] {
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid #ffd7d4;
    border-radius: 11px;
    background: #fff4f3;
    color: #b42318;
    font-size: 11.5px;
    font-weight: 800;
}
.settings-modern-v3 .custom-social-editor-actions[b-tdeg3igmnh] {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 16px;
}
.settings-modern-v3[b-tdeg3igmnh]  .custom-channel-card {
    border-top: 3px solid var(--channel-color);
}
.settings-modern-v3[b-tdeg3igmnh]  .custom-channel-card.is-active {
    border-color: color-mix(in srgb, var(--channel-color) 48%, #e1e6ef);
    box-shadow: 0 14px 34px color-mix(in srgb, var(--channel-color) 11%, transparent);
}
.settings-modern-v3[b-tdeg3igmnh]  .custom-channel-card .custom-icon {
    background: color-mix(in srgb, var(--channel-color) 13%, white);
    color: var(--channel-color);
}
.settings-modern-v3[b-tdeg3igmnh]  .social-action.edit {
    border-color: #d8d1ff;
    background: #f7f5ff;
    color: #5d43de;
}

@media (max-width: 760px) {
    .settings-modern-v3 .custom-social-toolbar[b-tdeg3igmnh] { align-items: stretch; flex-direction: column; }
    .settings-modern-v3 .add-custom-social-btn[b-tdeg3igmnh] { width: 100%; }
    .settings-modern-v3 .custom-social-form[b-tdeg3igmnh] { grid-template-columns: 1fr; }
    .settings-modern-v3 .custom-social-form .wide[b-tdeg3igmnh] { grid-column: auto; }
    .settings-modern-v3 .custom-social-editor-actions .btn[b-tdeg3igmnh] { flex: 1; }
}

/* Advanced custom communication channel polish */
.settings-modern-v3 .custom-social-form select[b-tdeg3igmnh] {
    width: 100%;
    min-height: 46px;
    padding: 10px 13px;
    border: 1px solid #dce3ee;
    border-radius: 12px;
    background: #fbfcff;
    color: #17233f;
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    outline: none;
}
.settings-modern-v3[b-tdeg3igmnh]  .custom-channel-meta {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: -2px;
}
.settings-modern-v3[b-tdeg3igmnh]  .custom-channel-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 4px 8px;
    border: 1px solid #e4e8f1;
    border-radius: 999px;
    background: #f8f9fc;
    color: #66738a;
    font-size: 10px;
    font-weight: 850;
}
.settings-modern-v3[b-tdeg3igmnh]  .custom-channel-meta span.qr-enabled {
    border-color: #d8d0ff;
    background: #f4f1ff;
    color: #5d43de;
}
.settings-modern-v3[b-tdeg3igmnh]  .social-action.order {
    width: 32px;
    min-width: 32px;
    padding-inline: 0;
    border-color: #e2e6ef;
    background: #f8f9fc;
    color: #53617a;
    font-size: 15px;
}
.settings-modern-v3[b-tdeg3igmnh]  .custom-channel-card:not(.is-active) {
    opacity: .78;
}
.settings-modern-v3[b-tdeg3igmnh]  .custom-channel-card .social-channel-footer {
    gap: 8px;
    flex-wrap: wrap;
}
.settings-modern-v3[b-tdeg3igmnh]  .custom-channel-card .social-channel-actions {
    margin-inline-start: auto;
}
@media (max-width: 620px) {
    .settings-modern-v3[b-tdeg3igmnh]  .custom-channel-card .social-channel-actions {
        width: 100%;
        margin-inline-start: 0;
    }
    .settings-modern-v3[b-tdeg3igmnh]  .custom-channel-card .social-action {
        flex: 1 1 auto;
    }
}


/* Visible top-level personalization action */
.settings-modern-v3 .personalize-channels-btn[b-tdeg3igmnh] {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 15px;
    border: 1px solid #6d4aff;
    border-radius: 12px;
    background: linear-gradient(135deg, #5b3df5, var(--erp-accent, #7c3aed));
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(91,61,245,.22);
    transition: transform .18s ease, box-shadow .18s ease;
}
.settings-modern-v3 .personalize-channels-btn:hover[b-tdeg3igmnh] {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(91,61,245,.30);
}
.settings-modern-v3 .personalize-channels-btn span[b-tdeg3igmnh] {
    font-size: 15px;
    line-height: 1;
}
@media (max-width: 720px) {
    .settings-modern-v3 .personalize-channels-btn[b-tdeg3igmnh] { width: 100%; }
}

/* Final visible personalization modal */
.settings-modern-v3 .custom-channel-modal-backdrop[b-tdeg3igmnh] {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(10, 16, 35, .62);
    backdrop-filter: blur(7px);
    animation: settingsModalFade-b-tdeg3igmnh .16s ease-out;
}

.settings-modern-v3 .custom-channel-modal[b-tdeg3igmnh] {
    width: min(920px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 34px 90px rgba(7, 12, 30, .38);
    animation: settingsModalRise-b-tdeg3igmnh .2s ease-out;
}

.settings-modern-v3 .custom-channel-modal .custom-social-editor[b-tdeg3igmnh] {
    margin: 0;
    border: 0;
    border-radius: 26px;
    box-shadow: none;
}

.settings-modern-v3 .personalize-channels-btn[b-tdeg3igmnh],
.settings-modern-v3 .add-custom-social-btn[b-tdeg3igmnh] {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    color: #fff !important;
    background: linear-gradient(135deg, #5b3df5, var(--erp-accent, #7c3aed)) !important;
    border: 0 !important;
    box-shadow: 0 12px 26px rgba(91,61,245,.30) !important;
}

.settings-modern-v3 .personalize-channels-btn:hover[b-tdeg3igmnh],
.settings-modern-v3 .add-custom-social-btn:hover[b-tdeg3igmnh] {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(91,61,245,.38) !important;
}

@keyframes settingsModalFade-b-tdeg3igmnh {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes settingsModalRise-b-tdeg3igmnh {
    from { opacity: 0; transform: translateY(16px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 700px) {
    .settings-modern-v3 .custom-channel-modal-backdrop[b-tdeg3igmnh] { padding: 10px; }
    .settings-modern-v3 .custom-channel-modal[b-tdeg3igmnh] { max-height: calc(100vh - 20px); border-radius: 18px; }
    .settings-modern-v3 .custom-channel-modal .custom-social-editor[b-tdeg3igmnh] { padding: 16px; border-radius: 18px; }
}

/* Bank accounts and checkbooks */
.settings-modern-v3 .bank-summary-grid[b-tdeg3igmnh]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}
.settings-modern-v3 .bank-summary-grid article[b-tdeg3igmnh]{padding:16px;border:1px solid var(--erp-border,#dbe4f0);border-radius:18px;background:var(--erp-surface,#fff);display:flex;flex-direction:column;gap:8px}
.settings-modern-v3 .bank-summary-grid span[b-tdeg3igmnh]{font-size:.82em;color:var(--erp-text-muted,#64748b);font-weight:800}
.settings-modern-v3 .bank-summary-grid strong[b-tdeg3igmnh]{font-size:1.25em;color:var(--erp-text,#0f172a)}
.settings-modern-v3 .bank-manager-grid[b-tdeg3igmnh]{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:18px;margin-bottom:18px}
.settings-modern-v3 .bank-editor-card[b-tdeg3igmnh],.settings-modern-v3 .bank-list-card[b-tdeg3igmnh],.settings-modern-v3 .checkbook-panel[b-tdeg3igmnh],.settings-modern-v3 .invoice-bank-card[b-tdeg3igmnh]{background:var(--erp-surface,#fff);border:1px solid var(--erp-border,#dbe4f0);border-radius:24px;padding:20px;box-shadow:0 14px 38px rgba(15,23,42,.06)}
.settings-modern-v3 .bank-section-head[b-tdeg3igmnh]{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}
.settings-modern-v3 .bank-section-head>div[b-tdeg3igmnh]{display:flex;flex-direction:column;gap:4px}
.settings-modern-v3 .bank-section-head strong[b-tdeg3igmnh]{font-size:1.05em;color:var(--erp-text,#0f172a)}
.settings-modern-v3 .bank-section-head small[b-tdeg3igmnh]{color:var(--erp-text-muted,#64748b);font-weight:700;line-height:1.8}
.settings-modern-v3 .bank-editor-actions[b-tdeg3igmnh]{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.settings-modern-v3 .bank-account-list[b-tdeg3igmnh]{display:flex;flex-direction:column;gap:10px;max-height:460px;overflow:auto;padding-left:3px}
.settings-modern-v3 .bank-account-item[b-tdeg3igmnh]{width:100%;display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:12px;text-align:right;border:1px solid var(--erp-border,#dbe4f0);border-radius:16px;padding:12px;background:var(--erp-surface-2,#f8fafc);color:var(--erp-text,#0f172a);cursor:pointer;transition:.2s}
.settings-modern-v3 .bank-account-item:hover[b-tdeg3igmnh],.settings-modern-v3 .bank-account-item.selected[b-tdeg3igmnh]{border-color:var(--erp-primary,#2563eb);box-shadow:0 10px 24px rgba(var(--erp-primary-rgb,37,99,235),.14);transform:translateY(-1px)}
.settings-modern-v3 .bank-account-item.inactive[b-tdeg3igmnh]{opacity:.62}
.settings-modern-v3 .bank-avatar[b-tdeg3igmnh]{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:var(--erp-primary,#2563eb);color:var(--erp-on-brand,#fff);font-weight:900;font-size:1.1em}
.settings-modern-v3 .bank-account-copy[b-tdeg3igmnh]{display:flex;flex-direction:column;gap:4px;min-width:0}
.settings-modern-v3 .bank-account-copy strong[b-tdeg3igmnh],.settings-modern-v3 .bank-account-copy small[b-tdeg3igmnh]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.settings-modern-v3 .bank-account-copy small[b-tdeg3igmnh]{color:var(--erp-text-muted,#64748b);font-weight:700}
.settings-modern-v3 .bank-balance[b-tdeg3igmnh]{font-weight:900;white-space:nowrap;color:var(--erp-primary-ink,var(--erp-primary,#2563eb))}
.settings-modern-v3 .bank-empty[b-tdeg3igmnh]{padding:28px 16px;text-align:center;border:1px dashed var(--erp-border,#cbd5e1);border-radius:16px;color:var(--erp-text-muted,#64748b);font-weight:800;background:var(--erp-surface-2,#f8fafc)}
.settings-modern-v3 .checkbook-panel[b-tdeg3igmnh]{margin-bottom:18px}
.settings-modern-v3 .checkbook-layout[b-tdeg3igmnh]{display:grid;grid-template-columns:minmax(280px,.7fr) minmax(0,1.3fr);gap:18px}
.settings-modern-v3 .checkbook-list[b-tdeg3igmnh]{display:flex;flex-direction:column;gap:10px}
.settings-modern-v3 .checkbook-item[b-tdeg3igmnh]{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:14px;border-radius:16px;border:1px solid var(--erp-border,#dbe4f0);background:var(--erp-surface-2,#f8fafc);color:var(--erp-text,#0f172a);text-align:right;cursor:pointer}
.settings-modern-v3 .checkbook-item span[b-tdeg3igmnh]{display:flex;flex-direction:column;gap:4px}.settings-modern-v3 .checkbook-item small[b-tdeg3igmnh]{color:var(--erp-text-muted,#64748b);font-weight:700}
.settings-modern-v3 .checkbook-item b[b-tdeg3igmnh]{padding:5px 9px;border-radius:999px;font-size:.76em}.settings-modern-v3 .checkbook-item b.active[b-tdeg3igmnh]{background:#dcfce7;color:#15803d}.settings-modern-v3 .checkbook-item b.inactive[b-tdeg3igmnh]{background:#fee2e2;color:#b91c1c}
.settings-modern-v3 .checkbook-editor[b-tdeg3igmnh]{border:1px solid var(--erp-border,#dbe4f0);border-radius:18px;padding:16px;background:var(--erp-surface-2,#f8fafc)}
.settings-modern-v3 .invoice-bank-card[b-tdeg3igmnh]{margin-top:18px}
.settings-modern-v3 .btn.danger[b-tdeg3igmnh]{background:#fee2e2;color:#b91c1c;border-color:#fecaca}
.erpdb-dark .settings-modern-v3 .bank-summary-grid article[b-tdeg3igmnh],.erpdb-dark .settings-modern-v3 .bank-editor-card[b-tdeg3igmnh],.erpdb-dark .settings-modern-v3 .bank-list-card[b-tdeg3igmnh],.erpdb-dark .settings-modern-v3 .checkbook-panel[b-tdeg3igmnh],.erpdb-dark .settings-modern-v3 .invoice-bank-card[b-tdeg3igmnh]{background:#101827;border-color:#263247}
.erpdb-dark .settings-modern-v3 .bank-account-item[b-tdeg3igmnh],.erpdb-dark .settings-modern-v3 .checkbook-item[b-tdeg3igmnh],.erpdb-dark .settings-modern-v3 .checkbook-editor[b-tdeg3igmnh],.erpdb-dark .settings-modern-v3 .bank-empty[b-tdeg3igmnh]{background:#0b1322;border-color:#263247}
@media(max-width:1100px){.settings-modern-v3 .bank-summary-grid[b-tdeg3igmnh]{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-modern-v3 .bank-manager-grid[b-tdeg3igmnh],.settings-modern-v3 .checkbook-layout[b-tdeg3igmnh]{grid-template-columns:1fr}}
@media(max-width:650px){.settings-modern-v3 .bank-summary-grid[b-tdeg3igmnh]{grid-template-columns:1fr}.settings-modern-v3 .bank-account-item[b-tdeg3igmnh]{grid-template-columns:42px 1fr}.settings-modern-v3 .bank-balance[b-tdeg3igmnh]{grid-column:2}}


/* Bank accounts production-ready refinement */
.settings-modern-v3 .bank-summary-grid article small[b-tdeg3igmnh] {
    color: var(--erp-text-muted, #7c889d);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.7;
}

.settings-modern-v3 .bank-count-badge[b-tdeg3igmnh] {
    min-width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #f0edff;
    color: #5b3df5;
    font-size: 13px;
    font-weight: 950;
}

.settings-modern-v3 .bank-account-item[b-tdeg3igmnh] {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.settings-modern-v3 .bank-account-select[b-tdeg3igmnh] {
    width: 100%;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: right;
    font: inherit;
    cursor: pointer;
}

.settings-modern-v3 .bank-account-copy em[b-tdeg3igmnh],
.settings-modern-v3 .checkbook-copy em[b-tdeg3igmnh] {
    color: #7d899e;
    font-size: 10.5px;
    font-style: normal;
    font-weight: 750;
    line-height: 1.7;
}

.settings-modern-v3 .bank-account-actions[b-tdeg3igmnh] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 9px 12px;
    border-top: 1px solid #e9eef5;
    background: rgba(248, 250, 252, .72);
}

.settings-modern-v3 .default-bank-pill[b-tdeg3igmnh] {
    margin-left: auto;
    padding: 5px 9px;
    border: 1px solid #c9efdf;
    border-radius: 999px;
    background: #edfbf5;
    color: #087a54;
    font-size: 10px;
    font-weight: 950;
}

.settings-modern-v3 .checkbook-item.selected[b-tdeg3igmnh] {
    border-color: #8069ef;
    background: linear-gradient(135deg, #fff, #f8f6ff);
    box-shadow: 0 10px 24px rgba(91, 61, 245, .09);
}

.settings-modern-v3 .checkbook-item.inactive[b-tdeg3igmnh] {
    opacity: .65;
}

.settings-modern-v3 .checkbook-copy[b-tdeg3igmnh] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
}

.settings-modern-v3 .checkbook-editor-head[b-tdeg3igmnh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 13px;
    border-bottom: 1px solid #e8edf4;
}

.settings-modern-v3 .checkbook-editor-head strong[b-tdeg3igmnh] {
    color: #17233f;
    font-size: 15px;
}

.settings-modern-v3 .checkbook-editor-head span[b-tdeg3igmnh] {
    padding: 6px 9px;
    border-radius: 999px;
    background: #f0edff;
    color: #5b3df5;
    font-size: 10.5px;
    font-weight: 900;
}

.erpdb-dark .settings-modern-v3 .bank-account-actions[b-tdeg3igmnh] {
    border-color: #263247;
    background: #0f1828;
}

.erpdb-dark .settings-modern-v3 .checkbook-item.selected[b-tdeg3igmnh] {
    background: #131c2d;
}

@media (max-width: 650px) {
    .settings-modern-v3 .bank-account-select[b-tdeg3igmnh] {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .settings-modern-v3 .bank-account-select .bank-balance[b-tdeg3igmnh] {
        grid-column: 2;
    }

    .settings-modern-v3 .bank-account-actions[b-tdeg3igmnh] {
        flex-wrap: wrap;
    }
}


/* Horizontal settings navigation */
.settings-modern-v3 .settings-shell[b-tdeg3igmnh] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.settings-modern-v3 .settings-nav[b-tdeg3igmnh] {
    position: sticky;
    top: 14px;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(8, minmax(120px, 1fr));
    gap: 9px;
    width: 100%;
    max-width: 100%;
    padding: 11px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
}

.settings-modern-v3 .settings-nav button[b-tdeg3igmnh] {
    min-width: 120px;
    min-height: 70px;
    margin: 0;
    padding: 9px 10px;
    justify-content: flex-start;
}

.settings-modern-v3 .settings-nav button:hover[b-tdeg3igmnh] {
    transform: translateY(-1px);
}

.settings-modern-v3 .settings-nav button b[b-tdeg3igmnh] {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
}

.settings-modern-v3 .settings-nav button span[b-tdeg3igmnh] {
    gap: 2px;
}

.settings-modern-v3 .settings-nav strong[b-tdeg3igmnh] {
    font-size: 12.5px;
    line-height: 1.45;
}

.settings-modern-v3 .settings-nav small[b-tdeg3igmnh] {
    overflow: hidden;
    font-size: 10px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.settings-modern-v3 .settings-card[b-tdeg3igmnh] {
    width: 100%;
    max-width: none;
}

@media (max-width: 1450px) {
    .settings-modern-v3 .settings-nav[b-tdeg3igmnh] {
        grid-template-columns: repeat(4, minmax(150px, 1fr));
    }
}

@media (max-width: 900px) {
    .settings-modern-v3 .settings-nav[b-tdeg3igmnh] {
        position: static;
        grid-template-columns: repeat(2, minmax(145px, 1fr));
    }

    .settings-modern-v3 .settings-nav button[b-tdeg3igmnh] {
        min-width: 0;
    }
}

@media (max-width: 520px) {
    .settings-modern-v3 .settings-nav[b-tdeg3igmnh] {
        grid-template-columns: 1fr;
    }

    .settings-modern-v3 .settings-nav button[b-tdeg3igmnh] {
        min-height: 58px;
    }
}


/* ERPPlus Settings – Modern Glass Professional */
.settings-modern-v3[b-tdeg3igmnh] {
    --settings-bg: #f4f7fb;
    --settings-surface: rgba(255,255,255,.92);
    --settings-surface-strong: #ffffff;
    --settings-line: #dfe7f2;
    --settings-line-strong: #cfd9e8;
    --settings-text: #13203a;
    --settings-muted: #71809a;
    --settings-primary: #4f46e5;
    --settings-primary-2: #7c3aed;
    --settings-success: #0f9f6e;
    --settings-danger: #d92d20;
    position: relative;
    min-height: 100vh;
    padding: 28px 30px 46px;
    overflow: hidden;
    border-radius: 30px;
    background:
        radial-gradient(circle at 8% 4%, rgba(79,70,229,.10), transparent 27%),
        radial-gradient(circle at 92% 8%, rgba(14,165,233,.08), transparent 24%),
        linear-gradient(180deg, #f8faff 0%, var(--settings-bg) 100%);
}

.settings-modern-v3[b-tdeg3igmnh]::before,
.settings-modern-v3[b-tdeg3igmnh]::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(2px);
}

.settings-modern-v3[b-tdeg3igmnh]::before {
    width: 380px;
    height: 380px;
    inset: 120px auto auto -180px;
    background: radial-gradient(circle, rgba(124,58,237,.10), transparent 68%);
}

.settings-modern-v3[b-tdeg3igmnh]::after {
    width: 320px;
    height: 320px;
    inset: auto -130px 80px auto;
    background: radial-gradient(circle, rgba(14,165,233,.08), transparent 70%);
}

.settings-modern-v3 > *[b-tdeg3igmnh] {
    position: relative;
    z-index: 1;
}

.settings-modern-v3 .modern-hero[b-tdeg3igmnh] {
    min-height: 210px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 34px 38px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 30px;
    background:
        radial-gradient(circle at 18% 20%, rgba(255,255,255,.16), transparent 28%),
        linear-gradient(118deg, #0f3d8f 0%, #175cad 43%, #2848b8 72%, #5d35c9 100%);
    box-shadow:
        0 28px 70px rgba(26,67,148,.24),
        inset 0 1px 0 rgba(255,255,255,.18);
}

.settings-modern-v3 .modern-hero[b-tdeg3igmnh]::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    inset: -220px -120px auto auto;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.10);
    box-shadow:
        0 0 0 48px rgba(255,255,255,.035),
        0 0 0 96px rgba(255,255,255,.02);
}

.settings-modern-v3 .hero-copy[b-tdeg3igmnh] {
    max-width: 760px;
}

.settings-modern-v3 .modern-hero h1[b-tdeg3igmnh] {
    margin: 14px 0 10px;
    font-size: clamp(32px, 3vw, 46px);
    line-height: 1.3;
    letter-spacing: -.7px;
}

.settings-modern-v3 .modern-hero p[b-tdeg3igmnh] {
    margin: 0;
    max-width: 760px;
    color: rgba(255,255,255,.80);
    font-size: 14px;
    font-weight: 650;
    line-height: 2;
}

.settings-modern-v3 .hero-meta span[b-tdeg3igmnh] {
    min-height: 40px;
    padding: 8px 13px;
    border-color: rgba(255,255,255,.14);
    background: rgba(255,255,255,.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.settings-modern-v3 .modern-actions[b-tdeg3igmnh] {
    align-self: center;
    padding: 9px;
    border-radius: 18px;
    background: rgba(8,18,45,.20);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.settings-modern-v3 .modern-actions .btn[b-tdeg3igmnh] {
    min-width: 150px;
    border-radius: 13px;
}

.settings-modern-v3 .settings-nav[b-tdeg3igmnh] {
    border: 1px solid rgba(211,221,235,.88);
    background: rgba(255,255,255,.84);
    box-shadow:
        0 18px 45px rgba(29,43,75,.08),
        inset 0 1px 0 rgba(255,255,255,.8);
    backdrop-filter: blur(20px);
}

.settings-modern-v3 .settings-nav button[b-tdeg3igmnh] {
    border: 1px solid transparent;
    border-radius: 15px;
    background: transparent;
}

.settings-modern-v3 .settings-nav button:hover[b-tdeg3igmnh] {
    border-color: #e3e9f3;
    background: linear-gradient(180deg, #ffffff, #f7f9fd);
    box-shadow: 0 8px 18px rgba(30,43,73,.06);
}

.settings-modern-v3 .settings-nav button.active[b-tdeg3igmnh] {
    color: #fff;
    background: linear-gradient(135deg, var(--settings-primary), var(--settings-primary-2));
    box-shadow:
        0 14px 28px rgba(79,70,229,.23),
        inset 0 1px 0 rgba(255,255,255,.20);
}

.settings-modern-v3 .settings-card[b-tdeg3igmnh] {
    padding: 28px;
    border: 1px solid rgba(214,223,237,.92);
    border-radius: 26px;
    background: var(--settings-surface);
    box-shadow:
        0 24px 60px rgba(29,43,75,.08),
        inset 0 1px 0 rgba(255,255,255,.9);
    backdrop-filter: blur(20px);
}

.settings-modern-v3 .section-head[b-tdeg3igmnh] {
    margin-bottom: 24px;
    padding: 18px 20px;
    border: 1px solid #e5ebf4;
    border-radius: 18px;
    background:
        radial-gradient(circle at 92% 20%, rgba(79,70,229,.08), transparent 32%),
        linear-gradient(135deg, #ffffff, #f7f8fd);
    box-shadow: 0 10px 24px rgba(29,43,75,.04);
}

.settings-modern-v3 .section-head h2[b-tdeg3igmnh] {
    color: var(--settings-text);
    font-size: 25px;
}

.settings-modern-v3 .field[b-tdeg3igmnh] {
    gap: 7px;
}

.settings-modern-v3 .field label[b-tdeg3igmnh] {
    color: #52617a;
    font-size: 12.5px;
    font-weight: 850;
}

.settings-modern-v3 .field input[b-tdeg3igmnh],
.settings-modern-v3 .field textarea[b-tdeg3igmnh],
.settings-modern-v3 .field select[b-tdeg3igmnh] {
    min-height: 48px;
    border: 1px solid #dbe4ef;
    border-radius: 14px;
    background: rgba(255,255,255,.96);
    box-shadow:
        0 4px 12px rgba(25,38,68,.03),
        inset 0 1px 0 rgba(255,255,255,.8);
}

.settings-modern-v3 .field input:hover[b-tdeg3igmnh],
.settings-modern-v3 .field textarea:hover[b-tdeg3igmnh],
.settings-modern-v3 .field select:hover[b-tdeg3igmnh] {
    border-color: #c6d2e2;
}

.settings-modern-v3 .field input:focus[b-tdeg3igmnh],
.settings-modern-v3 .field textarea:focus[b-tdeg3igmnh],
.settings-modern-v3 .field select:focus[b-tdeg3igmnh] {
    border-color: #7567ec;
    box-shadow: 0 0 0 4px rgba(79,70,229,.10), 0 8px 18px rgba(25,38,68,.05);
}

.settings-modern-v3 .check[b-tdeg3igmnh] {
    border-color: #dfe7f1;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff, #fbfcff);
    box-shadow: 0 4px 12px rgba(25,38,68,.025);
}

.settings-modern-v3 .btn[b-tdeg3igmnh] {
    border-radius: 13px;
    box-shadow: none;
}

.settings-modern-v3 .btn.primary[b-tdeg3igmnh] {
    background: linear-gradient(135deg, var(--settings-primary), var(--settings-primary-2));
    box-shadow: 0 10px 24px rgba(79,70,229,.22);
}

.settings-modern-v3 .btn.secondary[b-tdeg3igmnh] {
    border: 1px solid #d8e1ec;
    background: #fff;
    color: #263550;
}

.settings-modern-v3 .btn.danger[b-tdeg3igmnh] {
    border: 1px solid #ffd3cf;
    background: linear-gradient(180deg, #fff8f7, #fff1ef);
    color: var(--settings-danger);
}

.settings-modern-v3 .notice[b-tdeg3igmnh] {
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(29,43,75,.05);
}

.settings-modern-v3 .bank-summary-grid[b-tdeg3igmnh],
.settings-modern-v3 .directory-stats[b-tdeg3igmnh],
.settings-modern-v3 .role-stats-grid[b-tdeg3igmnh] {
    gap: 14px;
}

.settings-modern-v3 .bank-summary-grid article[b-tdeg3igmnh],
.settings-modern-v3 .summary-card[b-tdeg3igmnh],
.settings-modern-v3 .stat-card[b-tdeg3igmnh] {
    position: relative;
    overflow: hidden;
    border: 1px solid #dfe7f1;
    border-radius: 20px;
    background:
        radial-gradient(circle at 90% 12%, rgba(79,70,229,.08), transparent 28%),
        linear-gradient(180deg, #fff, #fbfcff);
    box-shadow:
        0 14px 34px rgba(29,43,75,.055),
        inset 0 1px 0 rgba(255,255,255,.85);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.settings-modern-v3 .bank-summary-grid article:hover[b-tdeg3igmnh],
.settings-modern-v3 .summary-card:hover[b-tdeg3igmnh],
.settings-modern-v3 .stat-card:hover[b-tdeg3igmnh] {
    transform: translateY(-2px);
    border-color: #cfc5ff;
    box-shadow: 0 18px 42px rgba(79,70,229,.09);
}

.settings-modern-v3 .bank-editor-card[b-tdeg3igmnh],
.settings-modern-v3 .bank-list-card[b-tdeg3igmnh],
.settings-modern-v3 .checkbook-panel[b-tdeg3igmnh],
.settings-modern-v3 .invoice-bank-card[b-tdeg3igmnh],
.settings-modern-v3 .access-panel[b-tdeg3igmnh],
.settings-modern-v3 .access-permissions[b-tdeg3igmnh],
.settings-modern-v3 .user-directory[b-tdeg3igmnh],
.settings-modern-v3 .activity-panel[b-tdeg3igmnh],
.settings-modern-v3 .print-editor-card[b-tdeg3igmnh],
.settings-modern-v3 .invoice-preview-card[b-tdeg3igmnh],
.settings-modern-v3 .social-section[b-tdeg3igmnh],
.settings-modern-v3 .logo-panel[b-tdeg3igmnh] {
    border: 1px solid #dfe7f1;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(249,251,255,.96));
    box-shadow:
        0 16px 40px rgba(29,43,75,.06),
        inset 0 1px 0 rgba(255,255,255,.8);
}

.settings-modern-v3 .bank-section-head[b-tdeg3igmnh],
.settings-modern-v3 .access-panel-head[b-tdeg3igmnh],
.settings-modern-v3 .directory-head[b-tdeg3igmnh],
.settings-modern-v3 .editor-card-head[b-tdeg3igmnh],
.settings-modern-v3 .social-section-head[b-tdeg3igmnh] {
    padding-bottom: 13px;
    border-bottom: 1px solid #e8edf5;
}

.settings-modern-v3 .bank-account-item[b-tdeg3igmnh],
.settings-modern-v3 .checkbook-item[b-tdeg3igmnh],
.settings-modern-v3 .user-card[b-tdeg3igmnh],
.settings-modern-v3 .social-channel-card[b-tdeg3igmnh] {
    border: 1px solid #e0e7f1;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(29,43,75,.035);
}

.settings-modern-v3 .bank-account-item:hover[b-tdeg3igmnh],
.settings-modern-v3 .checkbook-item:hover[b-tdeg3igmnh],
.settings-modern-v3 .user-card:hover[b-tdeg3igmnh],
.settings-modern-v3 .social-channel-card:hover[b-tdeg3igmnh] {
    border-color: #b9abf5;
    box-shadow: 0 14px 30px rgba(79,70,229,.09);
}

.settings-modern-v3 .activity-table-wrap[b-tdeg3igmnh] {
    border-radius: 17px;
    box-shadow: 0 10px 26px rgba(29,43,75,.04);
}

.settings-modern-v3 .activity-table th[b-tdeg3igmnh] {
    background: linear-gradient(180deg, #f8faff, #f2f5fa);
}

.settings-modern-v3 .logo-preview[b-tdeg3igmnh],
.settings-modern-v3 .invoice-paper-preview[b-tdeg3igmnh] {
    border-radius: 18px;
    background: #fff;
    box-shadow:
        inset 0 0 0 1px #edf1f6,
        0 18px 44px rgba(29,43,75,.08);
}

.settings-modern-v3 .social-channel-icon[b-tdeg3igmnh],
.settings-modern-v3 .editor-icon[b-tdeg3igmnh],
.settings-modern-v3 .user-avatar[b-tdeg3igmnh],
.settings-modern-v3 .bank-avatar[b-tdeg3igmnh] {
    box-shadow: 0 10px 22px rgba(79,70,229,.20);
}

.erpdb-dark .settings-modern-v3[b-tdeg3igmnh] {
    --settings-bg: #0b1220;
    --settings-surface: rgba(15,23,38,.94);
    --settings-surface-strong: #111a2a;
    --settings-line: #263247;
    --settings-line-strong: #33425b;
    --settings-text: #edf3ff;
    --settings-muted: #97a5bb;
    background:
        radial-gradient(circle at 8% 4%, rgba(79,70,229,.16), transparent 27%),
        radial-gradient(circle at 92% 8%, rgba(14,165,233,.10), transparent 24%),
        linear-gradient(180deg, #0b1220 0%, #0d1626 100%);
}

.erpdb-dark .settings-modern-v3 .settings-nav[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .settings-card[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .bank-editor-card[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .bank-list-card[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .checkbook-panel[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .invoice-bank-card[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .access-panel[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .access-permissions[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .user-directory[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .activity-panel[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .print-editor-card[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .invoice-preview-card[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .social-section[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .logo-panel[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .sms-config-card[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .sms-test-card[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .sms-status-card[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .sms-templates-manager[b-tdeg3igmnh] {
    border-color: #263247;
    background: rgba(15,23,38,.94);
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

.erpdb-dark .settings-modern-v3 .section-head[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .bank-summary-grid article[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .summary-card[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .stat-card[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .bank-account-item[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .checkbook-item[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .user-card[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .social-channel-card[b-tdeg3igmnh] {
    border-color: #263247;
    background: #111a2a;
}

.erpdb-dark .settings-modern-v3 .sms-status-card.enabled[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .sms-security-note[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .sms-api-help[b-tdeg3igmnh] {
    border-color: #24534f;
    background: #102521;
}

.erpdb-dark .settings-modern-v3 .sms-enable-toggle[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .sms-test-fields input[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .sms-template-card[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .sms-template-title > input[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .sms-template-card > select[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .sms-template-card > textarea[b-tdeg3igmnh] {
    border-color: #2b3950;
    background: #0e1727;
    color: #edf3ff;
}

.erpdb-dark .settings-modern-v3 .sms-status-card strong[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .sms-section-head strong[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .sms-test-card > div > strong[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .sms-templates-head strong[b-tdeg3igmnh] {
    color: #edf3ff;
}

.erpdb-dark .settings-modern-v3 .field input[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .field textarea[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .field select[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .check[b-tdeg3igmnh] {
    border-color: #2b3950;
    background: #0e1727;
    color: #edf3ff;
}

.erpdb-dark .settings-modern-v3 .field label[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .section-head h2[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .bank-section-head strong[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .access-panel-head strong[b-tdeg3igmnh],
.erpdb-dark .settings-modern-v3 .directory-head strong[b-tdeg3igmnh] {
    color: #edf3ff;
}

@media (max-width: 900px) {
    .settings-modern-v3[b-tdeg3igmnh] {
        padding: 16px;
        border-radius: 0;
    }

    .settings-modern-v3 .modern-hero[b-tdeg3igmnh] {
        padding: 26px 22px;
        border-radius: 24px;
    }

    .settings-modern-v3 .settings-card[b-tdeg3igmnh] {
        padding: 20px;
        border-radius: 22px;
    }
}

@media (max-width: 560px) {
    .settings-modern-v3[b-tdeg3igmnh] {
        padding: 10px;
    }

    .settings-modern-v3 .modern-hero[b-tdeg3igmnh] {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .settings-modern-v3 .settings-card[b-tdeg3igmnh] {
        padding: 16px;
        border-radius: 18px;
    }
}


/* Settings navigation cards – two desktop rows */
.settings-modern-v3 .settings-nav[b-tdeg3igmnh] {
    position: sticky;
    top: 14px;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 14px;
    overflow: visible;
}

.settings-modern-v3 .settings-nav .settings-nav-card[b-tdeg3igmnh] {
    position: relative;
    box-sizing: border-box;
    color: inherit;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
    min-width: 0;
    min-height: 104px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    align-items: center;
    gap: 4px 12px;
    margin: 0;
    padding: 15px 16px;
    overflow: hidden;
    border: 1px solid #e0e7f1;
    border-radius: 18px;
    background:
        radial-gradient(circle at 92% 10%, rgba(79,70,229,.08), transparent 30%),
        linear-gradient(180deg, #fff, #f9fbff);
    box-shadow:
        0 9px 22px rgba(29,43,75,.045),
        inset 0 1px 0 rgba(255,255,255,.9);
    text-align: right;
}

.settings-modern-v3 .settings-nav .settings-nav-card[b-tdeg3igmnh]::after {
    content: "";
    position: absolute;
    width: 84px;
    height: 84px;
    left: -38px;
    bottom: -44px;
    border-radius: 50%;
    background: rgba(79,70,229,.055);
    transition: transform .2s ease, opacity .2s ease;
}

.settings-modern-v3 .settings-nav .settings-nav-card:hover[b-tdeg3igmnh] {
    transform: translateY(-2px);
    border-color: #bfb2f7;
    background:
        radial-gradient(circle at 92% 10%, rgba(79,70,229,.11), transparent 32%),
        linear-gradient(180deg, #fff, #f7f5ff);
    box-shadow: 0 15px 32px rgba(79,70,229,.10);
}

.settings-modern-v3 .settings-nav .settings-nav-card:hover[b-tdeg3igmnh]::after {
    transform: scale(1.18);
}

.settings-modern-v3 .settings-nav .settings-nav-card b[b-tdeg3igmnh] {
    grid-row: 1 / 3;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex: none;
    border-radius: 14px;
    background: linear-gradient(145deg, #eef1ff, #e9e4ff);
    color: #5942dc;
    font-size: 13px;
    font-weight: 950;
    box-shadow: inset 0 0 0 1px rgba(79,70,229,.07);
}

.settings-modern-v3 .settings-nav .settings-nav-card span[b-tdeg3igmnh] {
    min-width: 0;
    display: contents;
}

.settings-modern-v3 .settings-nav .settings-nav-card strong[b-tdeg3igmnh] {
    align-self: end;
    overflow: hidden;
    color: #17233f;
    font-size: 14px;
    font-weight: 950;
    line-height: 1.55;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.settings-modern-v3 .settings-nav .settings-nav-card small[b-tdeg3igmnh] {
    align-self: start;
    overflow: hidden;
    color: #7d899e;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.55;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.settings-modern-v3 .settings-nav .settings-nav-card.active[b-tdeg3igmnh] {
    border-color: transparent;
    background:
        radial-gradient(circle at 88% 14%, rgba(255,255,255,.17), transparent 30%),
        linear-gradient(135deg, #4f46e5, #6d3de4 58%, #7c3aed);
    box-shadow:
        0 17px 36px rgba(79,70,229,.25),
        inset 0 1px 0 rgba(255,255,255,.22);
}

.settings-modern-v3 .settings-nav .settings-nav-card.active[b-tdeg3igmnh]::after {
    background: rgba(255,255,255,.08);
}

.settings-modern-v3 .settings-nav .settings-nav-card.active b[b-tdeg3igmnh] {
    color: #5b42df;
    background: #fff;
    box-shadow: 0 8px 18px rgba(25,20,80,.14);
}

.settings-modern-v3 .settings-nav .settings-nav-card.active strong[b-tdeg3igmnh] {
    color: #fff;
}

.settings-modern-v3 .settings-nav .settings-nav-card.active small[b-tdeg3igmnh] {
    color: rgba(255,255,255,.78);
}

.erpdb-dark .settings-modern-v3 .settings-nav .settings-nav-card[b-tdeg3igmnh] {
    border-color: #29364b;
    background:
        radial-gradient(circle at 92% 10%, rgba(99,102,241,.12), transparent 30%),
        linear-gradient(180deg, #121c2d, #101827);
}

.erpdb-dark .settings-modern-v3 .settings-nav .settings-nav-card strong[b-tdeg3igmnh] {
    color: #edf3ff;
}

.erpdb-dark .settings-modern-v3 .settings-nav .settings-nav-card small[b-tdeg3igmnh] {
    color: #96a3b7;
}

.erpdb-dark .settings-modern-v3 .settings-nav .settings-nav-card b[b-tdeg3igmnh] {
    background: #19243a;
    color: #a99cf8;
}

.erpdb-dark .settings-modern-v3 .settings-nav .settings-nav-card.active[b-tdeg3igmnh] {
    background:
        radial-gradient(circle at 88% 14%, rgba(255,255,255,.15), transparent 30%),
        linear-gradient(135deg, #4f46e5, #6d3de4 58%, #7c3aed);
}

.erpdb-dark .settings-modern-v3 .settings-nav .settings-nav-card.active strong[b-tdeg3igmnh] {
    color: #fff;
}

.erpdb-dark .settings-modern-v3 .settings-nav .settings-nav-card.active small[b-tdeg3igmnh] {
    color: rgba(255,255,255,.76);
}

@media (max-width: 1180px) {
    .settings-modern-v3 .settings-nav[b-tdeg3igmnh] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .settings-modern-v3 .settings-nav[b-tdeg3igmnh] {
        grid-template-columns: 1fr;
        gap: 9px;
        padding: 10px;
    }

    .settings-modern-v3 .settings-nav .settings-nav-card[b-tdeg3igmnh] {
        min-height: 76px;
        padding: 12px 13px;
    }
}


.bot-checkout-bank-note[b-tdeg3igmnh],
.bot-shipping-panel[b-tdeg3igmnh] {
    margin-top: 20px;
    padding: 18px;
    border: 1px solid #dce5f0;
    border-radius: 18px;
    background: #fbfdff;
}

.bot-checkout-bank-note[b-tdeg3igmnh] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #4b5b73;
    line-height: 1.8;
}

.bot-checkout-bank-note strong[b-tdeg3igmnh] {
    color: #17233f;
    font-size: 16px;
}

.bot-checkout-bank-note p[b-tdeg3igmnh] {
    margin: 0;
}

.bot-checkout-bank-note small[b-tdeg3igmnh] {
    color: #7b879b;
}

.bot-shipping-list[b-tdeg3igmnh] {
    display: grid;
    gap: 12px;
}

.bot-shipping-item[b-tdeg3igmnh] {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) minmax(160px, .8fr) auto auto;
    align-items: end;
    gap: 12px;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    background: #fff;
}

.bot-shipping-item .check[b-tdeg3igmnh] {
    min-height: 46px;
}

.bot-shipping-item .mini-btn[b-tdeg3igmnh] {
    min-height: 46px;
}

.bot-checkout-flow[b-tdeg3igmnh] {
    margin-top: 18px;
}

@media (max-width: 900px) {
    .bot-shipping-item[b-tdeg3igmnh] {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    .bot-shipping-item[b-tdeg3igmnh] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/SmsSettings.razor.rz.scp.css */
.sms-page[b-icx0jz71t0]{max-width:1180px;margin:0 auto;padding:28px 24px 72px;direction:rtl;color:#17233f}.sms-page *[b-icx0jz71t0]{box-sizing:border-box}.sms-hero[b-icx0jz71t0]{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:30px 32px;border:1px solid #d9e3f0;border-radius:28px;background:radial-gradient(circle at 88% 18%,rgba(37,99,235,.18),transparent 32%),radial-gradient(circle at 8% 90%,rgba(124,58,237,.11),transparent 28%),linear-gradient(135deg,#fff,#f7f5ff);box-shadow:0 20px 50px rgba(15,23,42,.08)}.sms-kicker[b-icx0jz71t0]{display:inline-flex;align-items:center;gap:7px;color:#5b42df;font-size:11px;font-weight:950;letter-spacing:.9px}.sms-kicker[b-icx0jz71t0]:before{content:"";width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 5px rgba(34,197,94,.11)}.sms-hero h1[b-icx0jz71t0]{margin:9px 0 8px;font-size:clamp(28px,3vw,40px);line-height:1.25}.sms-hero p[b-icx0jz71t0]{margin:0;max-width:760px;color:#66758f;font-weight:700;line-height:1.95}.sms-hero-actions[b-icx0jz71t0]{display:flex;gap:10px;flex-wrap:wrap;flex-shrink:0}.sms-page button[b-icx0jz71t0]{min-height:44px;border:0;border-radius:13px;padding:0 17px;font:inherit;font-weight:900;cursor:pointer;transition:.18s ease}.sms-page button:hover:not(:disabled)[b-icx0jz71t0]{transform:translateY(-1px)}.sms-page button.primary[b-icx0jz71t0],.test-button[b-icx0jz71t0]{color:#fff;background:linear-gradient(135deg,#4f46e5,#7c3aed);box-shadow:0 10px 24px rgba(79,70,229,.2)}.sms-page button.secondary[b-icx0jz71t0]{color:#263551;background:#fff;border:1px solid #d8e0ec}.sms-page button.small[b-icx0jz71t0]{min-height:36px;padding:0 12px}.sms-page button:disabled[b-icx0jz71t0]{opacity:.6;cursor:not-allowed}.sms-notice[b-icx0jz71t0]{margin:14px 0;padding:13px 16px;border-radius:14px;font-weight:800}.sms-notice.success[b-icx0jz71t0]{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0}.sms-notice.error[b-icx0jz71t0]{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.sms-loading[b-icx0jz71t0]{margin-top:18px;padding:46px;text-align:center;color:#64748b;border:1px solid #dce5f0;border-radius:22px;background:#fff}.sms-status[b-icx0jz71t0]{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:16px;align-items:center;margin:18px 0;padding:18px 20px;border:1px solid #dce5f0;border-radius:20px;background:linear-gradient(135deg,#f8fbff,#f2f7fd);box-shadow:0 10px 28px rgba(30,55,90,.05)}.sms-status.enabled[b-icx0jz71t0]{border-color:#99e0d2;background:linear-gradient(135deg,#effdf9,#eef8ff)}.sms-status-icon[b-icx0jz71t0]{width:58px;height:58px;display:grid;place-items:center;border-radius:18px;color:#fff;background:linear-gradient(135deg,#64748b,#334155);font-size:25px}.sms-status.enabled .sms-status-icon[b-icx0jz71t0]{background:linear-gradient(135deg,#0f9f88,#08756f)}.sms-status>div:nth-child(2)[b-icx0jz71t0]{display:grid;gap:5px}.sms-status strong[b-icx0jz71t0]{font-size:16px}.sms-status small[b-icx0jz71t0]{color:#687892}.sms-switch[b-icx0jz71t0],.mini-switch[b-icx0jz71t0]{display:inline-flex;align-items:center;gap:8px;cursor:pointer}.sms-switch input[b-icx0jz71t0],.mini-switch input[b-icx0jz71t0]{display:none}.sms-switch span[b-icx0jz71t0],.mini-switch span[b-icx0jz71t0]{position:relative;width:42px;height:23px;border-radius:999px;background:#cbd5e1;transition:.2s}.sms-switch span[b-icx0jz71t0]:after,.mini-switch span[b-icx0jz71t0]:after{content:"";position:absolute;width:19px;height:19px;top:2px;right:2px;border-radius:50%;background:#fff;transition:.2s}.sms-switch input:checked+span[b-icx0jz71t0],.mini-switch input:checked+span[b-icx0jz71t0]{background:#0f9f88}.sms-switch input:checked+span[b-icx0jz71t0]:after,.mini-switch input:checked+span[b-icx0jz71t0]:after{right:21px}.sms-grid[b-icx0jz71t0]{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.75fr);gap:18px;align-items:start}.sms-card[b-icx0jz71t0]{padding:24px;border:1px solid #dce5f0;border-radius:24px;background:#fff;box-shadow:0 14px 36px rgba(30,55,90,.07)}.sms-card-head[b-icx0jz71t0]{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #e7edf5}.sms-card-head>div[b-icx0jz71t0]{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:12px;align-items:center}.sms-card-head span[b-icx0jz71t0]{grid-row:1/3;width:44px;height:44px;display:grid;place-items:center;border-radius:13px;color:#4f46e5;background:#eef2ff;font-size:12px;font-weight:950}.sms-card-head h2[b-icx0jz71t0]{margin:0;font-size:20px;line-height:1.5}.sms-card-head p[b-icx0jz71t0]{margin:3px 0 0;color:#72819a;font-size:12px;line-height:1.75}.provider-grid[b-icx0jz71t0]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:20px}.provider[b-icx0jz71t0]{display:flex;min-height:82px!important;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px!important;text-align:right!important;color:#334155!important;background:#f8fafc!important;border:1px solid #dce5f0!important;padding:12px 14px!important}.provider strong[b-icx0jz71t0]{font-size:13px;line-height:1.6}.provider small[b-icx0jz71t0]{color:#7b8799;font-size:10px;line-height:1.55}.provider.selected[b-icx0jz71t0]{color:#4338ca!important;border-color:#a5b4fc!important;background:linear-gradient(135deg,#eef2ff,#f7f5ff)!important;box-shadow:0 8px 20px rgba(79,70,229,.11)}.provider-fields[b-icx0jz71t0]{padding-top:2px}.form-grid[b-icx0jz71t0]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.form-grid.two[b-icx0jz71t0]{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid label[b-icx0jz71t0],.sms-test-card>label[b-icx0jz71t0],.template-meta-grid label[b-icx0jz71t0],.template-code-field[b-icx0jz71t0],.template-message-field[b-icx0jz71t0],.approval-note-field[b-icx0jz71t0]{display:grid;gap:7px}.form-grid label>span[b-icx0jz71t0],.sms-test-card label>span[b-icx0jz71t0],.template-meta-grid label>span[b-icx0jz71t0],.template-code-field>span[b-icx0jz71t0],.template-message-field>span[b-icx0jz71t0],.approval-note-field>span[b-icx0jz71t0]{color:#4e5e79;font-size:12px;font-weight:850}.form-grid input[b-icx0jz71t0],.form-grid select[b-icx0jz71t0],.sms-test-card input[b-icx0jz71t0],.sms-test-card textarea[b-icx0jz71t0],.template-item textarea[b-icx0jz71t0],.template-item input[b-icx0jz71t0],.template-item select[b-icx0jz71t0]{width:100%;min-height:46px;border:1px solid #d5dfec;border-radius:12px;background:#fbfdff;padding:10px 13px;color:#17233f;font:inherit;font-weight:700;outline:0;transition:.18s ease}.form-grid input:focus[b-icx0jz71t0],.form-grid select:focus[b-icx0jz71t0],.sms-test-card input:focus[b-icx0jz71t0],.sms-test-card textarea:focus[b-icx0jz71t0],.template-item textarea:focus[b-icx0jz71t0],.template-item input:focus[b-icx0jz71t0],.template-item select:focus[b-icx0jz71t0]{border-color:#818cf8;box-shadow:0 0 0 4px rgba(99,102,241,.09);background:#fff}.form-grid .wide[b-icx0jz71t0]{grid-column:1/-1}.security-note[b-icx0jz71t0],.api-help[b-icx0jz71t0]{display:flex;flex-direction:column;gap:5px;margin-top:18px;padding:15px 17px;border:1px solid #cbe7e2;border-radius:15px;color:#466375;background:#f2fbf9;line-height:1.8}.security-note b[b-icx0jz71t0],.api-help strong[b-icx0jz71t0]{color:#0d766e}.sms-test-card[b-icx0jz71t0]{align-self:start;display:grid;gap:14px;position:sticky;top:18px}.sms-test-card textarea[b-icx0jz71t0]{resize:vertical;min-height:118px}.test-button[b-icx0jz71t0]{width:100%}.test-hint[b-icx0jz71t0]{color:#72819a;line-height:1.85}.advanced-card[b-icx0jz71t0],.template-card[b-icx0jz71t0]{margin-top:18px}.api-help p[b-icx0jz71t0]{margin:0;font-size:12px}.api-help code[b-icx0jz71t0]{direction:ltr;padding:2px 6px;border-radius:6px;background:#e2e8f0}.template-head>div[b-icx0jz71t0]{flex:1}.approval-guide[b-icx0jz71t0]{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:14px;align-items:center;margin-bottom:18px;padding:16px 18px;border:1px solid #dbe5f0;border-radius:18px;background:linear-gradient(135deg,#f8fbff,#f8f7ff)}.approval-guide-icon[b-icx0jz71t0]{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;color:#fff;background:linear-gradient(135deg,#4f46e5,#7c3aed);font-size:20px;font-weight:950}.approval-guide strong[b-icx0jz71t0]{display:block;margin-bottom:4px;font-size:14px}.approval-guide p[b-icx0jz71t0]{margin:0;color:#66758f;font-size:12px;line-height:1.9}.approval-legend[b-icx0jz71t0]{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.approval-legend span[b-icx0jz71t0],.approval-pill[b-icx0jz71t0]{display:inline-flex;align-items:center;min-height:28px;padding:4px 9px;border-radius:999px;font-size:10px;font-weight:900}.approval-legend .pending[b-icx0jz71t0],.approval-pill.pending[b-icx0jz71t0]{color:#92400e;background:#fff7ed;border:1px solid #fed7aa}.approval-legend .approved[b-icx0jz71t0],.approval-pill.approved[b-icx0jz71t0]{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0}.approval-legend .not-required[b-icx0jz71t0],.approval-pill.normal[b-icx0jz71t0]{color:#475569;background:#f1f5f9;border:1px solid #cbd5e1}.approval-pill.rejected[b-icx0jz71t0]{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.template-grid[b-icx0jz71t0]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.template-item[b-icx0jz71t0]{display:grid;gap:13px;padding:17px;border:1px solid #dce5f0;border-radius:18px;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:0 8px 20px rgba(30,55,90,.04)}.template-item.inactive[b-icx0jz71t0]{opacity:.58}.template-title[b-icx0jz71t0]{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:12px;border-bottom:1px solid #edf1f6}.template-title>div[b-icx0jz71t0]{display:grid;gap:2px}.template-title strong[b-icx0jz71t0]{font-size:14px}.template-title small[b-icx0jz71t0]{color:#94a3b8;font-size:10px}.mini-switch span[b-icx0jz71t0]{width:34px;height:19px}.mini-switch span[b-icx0jz71t0]:after{width:15px;height:15px}.mini-switch input:checked+span[b-icx0jz71t0]:after{right:17px}.template-meta-grid[b-icx0jz71t0]{display:grid;grid-template-columns:1fr 1fr;gap:10px}.template-code-field small[b-icx0jz71t0]{color:#7b8799;font-size:10px;line-height:1.7}.template-message-field textarea[b-icx0jz71t0]{min-height:108px;resize:vertical;line-height:1.9}.approval-note-field input[b-icx0jz71t0]{min-height:42px}.template-status-row[b-icx0jz71t0]{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding-top:2px}.template-status-row em[b-icx0jz71t0]{font-style:normal;color:#b45309;font-size:10px;font-weight:800}.variables[b-icx0jz71t0]{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:16px}.variables b[b-icx0jz71t0]{color:#475569;font-size:12px}.variables span[b-icx0jz71t0]{padding:6px 9px;border-radius:9px;color:#0f766e;background:#ecfdf5;border:1px solid #bbf7d0;font-size:11px;font-weight:850}.template-warning[b-icx0jz71t0]{margin-top:14px;padding:13px 15px;border:1px solid #fde68a;border-radius:14px;color:#7c5b16;background:#fffbeb;font-size:11px;line-height:1.85}.template-warning b[b-icx0jz71t0]{color:#92400e}@media(max-width:1100px){.provider-grid[b-icx0jz71t0]{grid-template-columns:repeat(2,minmax(0,1fr))}.sms-grid[b-icx0jz71t0]{grid-template-columns:1fr}.sms-test-card[b-icx0jz71t0]{position:static}.approval-guide[b-icx0jz71t0]{grid-template-columns:48px minmax(0,1fr)}.approval-legend[b-icx0jz71t0]{grid-column:1/-1;justify-content:flex-start}}@media(max-width:780px){.sms-page[b-icx0jz71t0]{padding:14px 12px 48px}.sms-hero[b-icx0jz71t0]{padding:20px;align-items:stretch;flex-direction:column}.sms-hero-actions[b-icx0jz71t0]{display:grid;grid-template-columns:1fr 1fr}.sms-status[b-icx0jz71t0]{grid-template-columns:48px minmax(0,1fr)}.sms-status-icon[b-icx0jz71t0]{width:48px;height:48px}.sms-switch[b-icx0jz71t0]{grid-column:1/-1;justify-content:flex-start}.provider-grid[b-icx0jz71t0],.form-grid[b-icx0jz71t0],.form-grid.two[b-icx0jz71t0],.template-grid[b-icx0jz71t0],.template-meta-grid[b-icx0jz71t0]{grid-template-columns:1fr}.form-grid .wide[b-icx0jz71t0]{grid-column:auto}.sms-card[b-icx0jz71t0]{padding:18px}.sms-card-head[b-icx0jz71t0]{align-items:flex-start}.template-head[b-icx0jz71t0]{flex-direction:column}.template-head button[b-icx0jz71t0]{align-self:flex-start}.approval-guide[b-icx0jz71t0]{grid-template-columns:40px minmax(0,1fr);padding:14px}.approval-guide-icon[b-icx0jz71t0]{width:40px;height:40px}.approval-legend[b-icx0jz71t0]{grid-column:1/-1}.template-status-row[b-icx0jz71t0]{align-items:flex-start;flex-direction:column}}
/* /Components/Pages/SocialProductPublishing.razor.rz.scp.css */
.social-publishing-page[b-n85gf6pwa9] {
    --sp-surface: light-dark(#ffffff, #0f172a);
    --sp-surface-soft: light-dark(#f8fafc, #111827);
    --sp-surface-subtle: light-dark(#fbfcfe, #0b1220);
    --sp-input-bg: light-dark(#ffffff, #0b1220);
    --sp-text: var(--erp-final-text, light-dark(#0f172a, #f8fafc));
    --sp-muted: var(--erp-final-muted, light-dark(#64748b, #cbd5e1));
    --sp-muted-strong: light-dark(#475569, #e2e8f0);
    --sp-muted-soft: light-dark(#94a3b8, #94a3b8);
    --sp-border: var(--erp-final-border, light-dark(#e2e8f0, #1e293b));
    --sp-border-soft: light-dark(#e6ebf2, #263449);
    --sp-primary: var(--erp-final-primary, #2563eb);
    --sp-primary-strong: light-dark(#4338ca, #a5b4fc);
    --sp-primary-soft: light-dark(#eef2ff, #172554);
    --sp-primary-selected: light-dark(#f5f7ff, #111d3c);
    --sp-success: light-dark(#087443, #6ee7b7);
    --sp-success-soft: light-dark(#ecfdf3, #062d22);
    --sp-warning: light-dark(#c2410c, #fdba74);
    --sp-warning-soft: light-dark(#fff7ed, #431407);
    --sp-danger: light-dark(#b42318, #fda4af);
    --sp-danger-soft: light-dark(#fff1f2, #3b0a16);
    --sp-shadow: light-dark(0 8px 25px rgba(15, 23, 42, .035), 0 18px 44px rgba(0, 0, 0, .22));
    padding: 24px;
    max-width: 1680px;
    margin: 0 auto;
    color: var(--sp-text);
    color-scheme: inherit;
}

.sp-hero[b-n85gf6pwa9] {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    padding: 28px 30px;
    border: 1px solid var(--sp-border);
    border-radius: 22px;
    background: linear-gradient(135deg, light-dark(#111827, #020617), light-dark(#1f2937, #0f172a));
    color: #fff;
    box-shadow: light-dark(0 18px 50px rgba(17, 24, 39, .16), 0 18px 50px rgba(0, 0, 0, .30));
    margin-bottom: 20px;
}

.sp-eyebrow[b-n85gf6pwa9] { display: inline-block; font-size: .78rem; letter-spacing: .05em; color: #c7d2fe; margin-bottom: 7px; }
.sp-hero h1[b-n85gf6pwa9] { margin: 0 0 8px; font-size: 1.75rem; }
.sp-hero p[b-n85gf6pwa9] { margin: 0; max-width: 780px; color: #d1d5db; line-height: 1.9; }
.sp-hero-actions[b-n85gf6pwa9] { display: flex; gap: 10px; flex-shrink: 0; }

.sp-btn[b-n85gf6pwa9] {
    border: 0;
    border-radius: 11px;
    padding: 10px 16px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: .18s;
}
.sp-btn:disabled[b-n85gf6pwa9] { opacity: .55; cursor: default; }
.sp-btn.primary[b-n85gf6pwa9] { background: var(--sp-primary); color: #fff; }
.sp-btn.secondary[b-n85gf6pwa9] { background: var(--sp-surface); color: var(--sp-text); border: 1px solid var(--sp-border); }
.sp-hero .sp-btn.secondary[b-n85gf6pwa9] { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .18); }
.sp-btn.compact[b-n85gf6pwa9] { padding: 7px 12px; font-size: .82rem; }

.sp-notice[b-n85gf6pwa9] { padding: 12px 16px; border-radius: 12px; margin: 0 0 16px; font-size: .9rem; }
.sp-notice.success[b-n85gf6pwa9] { background: var(--sp-success-soft); color: var(--sp-success); border: 1px solid light-dark(#a7f3d0, #14532d); }
.sp-notice.error[b-n85gf6pwa9] { background: var(--sp-danger-soft); color: var(--sp-danger); border: 1px solid light-dark(#fecdd3, #881337); }

.sp-loading[b-n85gf6pwa9],
.sp-empty[b-n85gf6pwa9] {
    padding: 42px;
    text-align: center;
    color: var(--sp-muted);
    background: var(--sp-surface);
    border: 1px solid var(--sp-border-soft);
    border-radius: 18px;
}

.sp-summary[b-n85gf6pwa9] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.sp-summary article[b-n85gf6pwa9] {
    background: var(--sp-surface);
    color: var(--sp-text);
    border: 1px solid var(--sp-border);
    border-radius: 16px;
    padding: 17px 19px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: var(--sp-shadow);
}
.sp-summary span[b-n85gf6pwa9] { font-size: .8rem; color: var(--sp-muted); }
.sp-summary strong[b-n85gf6pwa9] { font-size: 1.18rem; }
.sp-summary .ok[b-n85gf6pwa9] { color: var(--sp-success); }
.sp-summary .off[b-n85gf6pwa9] { color: var(--sp-muted); }
.sp-summary .warn[b-n85gf6pwa9] { color: var(--sp-warning); }

.sp-layout[b-n85gf6pwa9] { display: grid; grid-template-columns: minmax(420px, .78fr) minmax(560px, 1.22fr); gap: 18px; align-items: start; }
.sp-card[b-n85gf6pwa9] {
    background: var(--sp-surface);
    color: var(--sp-text);
    border: 1px solid var(--sp-border);
    border-radius: 20px;
    box-shadow: var(--sp-shadow);
    overflow: hidden;
}
.sp-card > header[b-n85gf6pwa9] { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 22px; border-bottom: 1px solid var(--sp-border); }
.sp-card h2[b-n85gf6pwa9] { font-size: 1.08rem; margin: 0 0 4px; color: var(--sp-text); }
.sp-card header p[b-n85gf6pwa9] { margin: 0; color: var(--sp-muted); font-size: .79rem; }

.catalog-card[b-n85gf6pwa9] { margin-bottom: 18px; }
.catalog-header-actions[b-n85gf6pwa9] { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.catalog-search[b-n85gf6pwa9] { display: flex; align-items: center; gap: 7px; }
.catalog-search input[b-n85gf6pwa9] {
    width: min(300px, 42vw);
    min-height: 38px;
    border: 1px solid var(--sp-border);
    border-radius: 10px;
    padding: 8px 11px;
    background: var(--sp-input-bg);
    color: var(--sp-text);
    font: inherit;
    font-size: .8rem;
    outline: none;
}
.catalog-search input[b-n85gf6pwa9]::placeholder { color: var(--sp-muted-soft); }
.catalog-search input:focus[b-n85gf6pwa9] { border-color: var(--sp-primary); box-shadow: 0 0 0 3px light-dark(rgba(37, 99, 235, .10), rgba(96, 165, 250, .14)); }
.catalog-warning[b-n85gf6pwa9] { margin: 14px 18px 0; padding: 10px 12px; border: 1px solid light-dark(#fed7aa, #7c2d12); border-radius: 11px; background: var(--sp-warning-soft); color: var(--sp-warning); font-size: .75rem; }
.sp-product-grid[b-n85gf6pwa9] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; padding: 14px; max-height: 720px; overflow: auto; }
.sp-product-card[b-n85gf6pwa9] { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; align-items: center; gap: 13px; min-width: 0; overflow: hidden; padding: 12px; border: 1px solid var(--sp-border); border-radius: 15px; background: var(--sp-surface-subtle); color: var(--sp-text); }
.catalog-thumb[b-n85gf6pwa9] { width: 78px; height: 78px; display: grid; place-items: center; overflow: hidden; flex: 0 0 auto; border: 1px solid var(--sp-border); border-radius: 12px; background: var(--sp-surface-soft); font-size: 1.4rem; }
.catalog-thumb img[b-n85gf6pwa9] { display: block; width: 100%; height: 100%; object-fit: cover; }
.image-fallback[b-n85gf6pwa9] { display: grid; place-items: center; width: 100%; height: 100%; font-size: 1.4rem; line-height: 1; }
.catalog-product-copy[b-n85gf6pwa9] { min-width: 0; }
.catalog-product-copy h3[b-n85gf6pwa9] { margin: 0 0 5px; font-size: .91rem; color: var(--sp-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.catalog-product-copy > p[b-n85gf6pwa9] { margin: 0 0 7px; color: var(--sp-muted); font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.catalog-product-facts[b-n85gf6pwa9] { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; color: var(--sp-muted); font-size: .72rem; }
.catalog-product-facts b[b-n85gf6pwa9] { color: var(--sp-text); }
.stock-ok[b-n85gf6pwa9] { color: var(--sp-success); }
.stock-zero[b-n85gf6pwa9] { color: var(--sp-danger); }
.catalog-last-publish[b-n85gf6pwa9] { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 8px; min-width: 0; }
.catalog-last-publish small[b-n85gf6pwa9] { color: var(--sp-muted-soft); font-size: .64rem; overflow-wrap: anywhere; }
.catalog-product-action[b-n85gf6pwa9] { display: flex; align-items: center; justify-content: flex-end; min-width: 0; }

.sp-switch[b-n85gf6pwa9] { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.sp-switch input[b-n85gf6pwa9] { display: none; }
.sp-switch span[b-n85gf6pwa9] { width: 42px; height: 23px; border-radius: 20px; background: light-dark(#cbd5e1, #475569); position: relative; }
.sp-switch span[b-n85gf6pwa9]:after { content: ""; position: absolute; width: 17px; height: 17px; border-radius: 50%; background: #fff; top: 3px; right: 3px; transition: .18s; }
.sp-switch input:checked + span[b-n85gf6pwa9] { background: var(--sp-primary); }
.sp-switch input:checked + span[b-n85gf6pwa9]:after { right: 22px; }
.sp-switch b[b-n85gf6pwa9] { font-size: .8rem; color: var(--sp-text); }

.sp-toggle-grid[b-n85gf6pwa9] { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 18px 22px 5px; }
.sp-toggle-grid label[b-n85gf6pwa9] { display: flex; gap: 9px; padding: 12px; border: 1px solid var(--sp-border); border-radius: 12px; cursor: pointer; background: var(--sp-surface-subtle); color: var(--sp-text); }
.sp-toggle-grid input[b-n85gf6pwa9] { margin-top: 3px; accent-color: var(--sp-primary); }
.sp-toggle-grid span[b-n85gf6pwa9] { display: flex; flex-direction: column; }
.sp-toggle-grid b[b-n85gf6pwa9] { font-size: .83rem; }
.sp-toggle-grid small[b-n85gf6pwa9] { font-size: .7rem; color: var(--sp-muted); margin-top: 3px; }

.sp-section-title[b-n85gf6pwa9] { padding: 18px 22px 9px; font-weight: 800; font-size: .85rem; color: var(--sp-text); }
.sp-channels[b-n85gf6pwa9] { padding: 0 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.sp-channel[b-n85gf6pwa9] { display: flex; align-items: center; gap: 10px; border: 1px solid var(--sp-border); border-radius: 13px; padding: 11px; cursor: pointer; position: relative; background: var(--sp-surface-subtle); color: var(--sp-text); }
.sp-channel.selected[b-n85gf6pwa9] { border-color: var(--sp-primary); background: var(--sp-primary-selected); }
.sp-channel input[b-n85gf6pwa9] { position: absolute; opacity: 0; pointer-events: none; }
.channel-icon[b-n85gf6pwa9] { width: 34px; height: 34px; display: grid; place-items: center; background: var(--sp-surface-soft); border: 1px solid var(--sp-border); border-radius: 10px; font-weight: 900; color: var(--sp-text); }
.sp-channel.selected .channel-icon[b-n85gf6pwa9] { background: var(--sp-primary-soft); color: var(--sp-primary-strong); border-color: var(--sp-primary); }
.sp-channel > span:last-child[b-n85gf6pwa9] { display: flex; flex-direction: column; }
.sp-channel b[b-n85gf6pwa9] { font-size: .82rem; }
.sp-channel small[b-n85gf6pwa9] { font-size: .68rem; color: var(--sp-muted); margin-top: 2px; }

.sp-hint[b-n85gf6pwa9] { margin: 12px 22px 0; padding: 10px 12px; border: 1px solid var(--sp-border); border-radius: 11px; background: var(--sp-surface-soft); color: var(--sp-muted); font-size: .73rem; line-height: 1.8; }
.sp-hint a[b-n85gf6pwa9] { color: var(--sp-primary-strong); font-weight: 700; }

.sp-form-grid[b-n85gf6pwa9] { padding: 18px 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.sp-form-grid label[b-n85gf6pwa9] { display: flex; flex-direction: column; gap: 6px; }
.sp-form-grid label.wide[b-n85gf6pwa9] { grid-column: 1 / -1; }
.sp-form-grid label > span[b-n85gf6pwa9] { font-size: .76rem; font-weight: 700; color: var(--sp-muted-strong); }
.sp-form-grid input[b-n85gf6pwa9],
.sp-form-grid textarea[b-n85gf6pwa9] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--sp-border);
    border-radius: 10px;
    padding: 10px 11px;
    background: var(--sp-input-bg);
    color: var(--sp-text);
    font: inherit;
    font-size: .82rem;
    outline: none;
    color-scheme: inherit;
}
.sp-form-grid input[b-n85gf6pwa9]::placeholder,
.sp-form-grid textarea[b-n85gf6pwa9]::placeholder { color: var(--sp-muted-soft); opacity: 1; }
.sp-form-grid input:focus[b-n85gf6pwa9],
.sp-form-grid textarea:focus[b-n85gf6pwa9] { border-color: var(--sp-primary); box-shadow: 0 0 0 3px light-dark(rgba(37, 99, 235, .10), rgba(96, 165, 250, .14)); }
.sp-form-grid textarea[b-n85gf6pwa9] { resize: vertical; line-height: 1.8; }

.sp-template-help[b-n85gf6pwa9] { margin: 0 22px 22px; padding: 11px 12px; background: var(--sp-surface-soft); border: 1px solid var(--sp-border); border-radius: 11px; color: var(--sp-muted); font-size: .7rem; line-height: 2; }
.sp-template-help code[b-n85gf6pwa9] { direction: ltr; display: inline-block; background: var(--sp-primary-soft); color: var(--sp-primary-strong); padding: 1px 5px; border-radius: 5px; margin: 1px; }

.queue-card[b-n85gf6pwa9] { min-height: 500px; }
.sp-publications[b-n85gf6pwa9] { padding: 12px; display: flex; flex-direction: column; gap: 11px; max-height: 1100px; overflow: auto; }
.sp-publication[b-n85gf6pwa9] { border: 1px solid var(--sp-border-soft); border-radius: 15px; overflow: hidden; background: var(--sp-surface); color: var(--sp-text); }
.publication-top[b-n85gf6pwa9] { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px; }
.product-thumb[b-n85gf6pwa9] { width: 52px; height: 52px; border-radius: 11px; background: var(--sp-surface-soft); border: 1px solid var(--sp-border); display: grid; place-items: center; overflow: hidden; }
.product-thumb img[b-n85gf6pwa9] { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-copy[b-n85gf6pwa9] { min-width: 0; }
.product-copy h3[b-n85gf6pwa9] { margin: 0 0 4px; font-size: .9rem; color: var(--sp-text); overflow-wrap: anywhere; }
.product-copy p[b-n85gf6pwa9] { margin: 0 0 3px; font-size: .72rem; color: var(--sp-muted); overflow-wrap: anywhere; }
.product-copy small[b-n85gf6pwa9] { font-size: .65rem; color: var(--sp-muted-soft); }

.sp-status[b-n85gf6pwa9] { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 5px 9px; font-size: .67rem; font-weight: 800; white-space: nowrap; border: 1px solid transparent; }
.sp-status.success[b-n85gf6pwa9] { background: var(--sp-success-soft); color: var(--sp-success); }
.sp-status.processing[b-n85gf6pwa9] { background: var(--sp-primary-soft); color: var(--sp-primary-strong); }
.sp-status.waiting[b-n85gf6pwa9],
.sp-status.partial[b-n85gf6pwa9] { background: var(--sp-warning-soft); color: var(--sp-warning); }
.sp-status.failed[b-n85gf6pwa9] { background: var(--sp-danger-soft); color: var(--sp-danger); }

.publication-channels[b-n85gf6pwa9] { border-top: 1px solid var(--sp-border); background: var(--sp-surface-subtle); }
.publication-channel[b-n85gf6pwa9] { display: grid; grid-template-columns: minmax(90px, 1fr) auto auto minmax(0, 1.4fr) auto; align-items: center; gap: 9px; padding: 9px 13px; border-bottom: 1px dashed var(--sp-border); font-size: .73rem; color: var(--sp-text); }
.publication-channel:last-child[b-n85gf6pwa9] { border-bottom: 0; }
.channel-name[b-n85gf6pwa9] { display: flex; flex-direction: column; }
.channel-name small[b-n85gf6pwa9] { color: var(--sp-muted-soft); margin-top: 2px; }
.attempts[b-n85gf6pwa9] { color: var(--sp-muted); white-space: nowrap; }
.channel-error[b-n85gf6pwa9] { color: var(--sp-danger); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-link-btn[b-n85gf6pwa9] { border: 0; background: transparent; color: var(--sp-primary-strong); font: inherit; font-weight: 800; cursor: pointer; white-space: nowrap; }
.publication-actions[b-n85gf6pwa9] { display: flex; justify-content: flex-end; padding: 9px 13px; border-top: 1px solid var(--sp-border); background: var(--sp-surface); }
.sp-empty[b-n85gf6pwa9] { border: 0; border-radius: 0; background: transparent; }
.sp-publications .sp-empty[b-n85gf6pwa9] { padding: 30px; }

@media (max-width: 1100px) {
    .sp-layout[b-n85gf6pwa9] { grid-template-columns: 1fr; }
    .sp-summary[b-n85gf6pwa9] { grid-template-columns: repeat(2, 1fr); }
    .sp-product-grid[b-n85gf6pwa9] { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .social-publishing-page[b-n85gf6pwa9] { padding: 14px; }
    .sp-hero[b-n85gf6pwa9] { flex-direction: column; padding: 22px; }
    .sp-hero-actions[b-n85gf6pwa9] { width: 100%; }
    .sp-hero-actions .sp-btn[b-n85gf6pwa9] { flex: 1; }
    .sp-summary[b-n85gf6pwa9] { grid-template-columns: 1fr 1fr; }
    .sp-card > header[b-n85gf6pwa9] { align-items: flex-start; flex-direction: column; }
    .catalog-header-actions[b-n85gf6pwa9] { width: 100%; align-items: stretch; flex-direction: column; }
    .catalog-search[b-n85gf6pwa9] { width: 100%; }
    .catalog-search input[b-n85gf6pwa9] { width: 100%; flex: 1; min-width: 0; }
    .sp-product-grid[b-n85gf6pwa9] { padding: 10px; }
    .sp-product-card[b-n85gf6pwa9] { grid-template-columns: 62px minmax(0, 1fr); align-items: start; gap: 10px; }
    .catalog-thumb[b-n85gf6pwa9] { width: 62px; height: 62px; }
    .catalog-product-copy h3[b-n85gf6pwa9],
    .catalog-product-copy > p[b-n85gf6pwa9] { white-space: normal; overflow-wrap: anywhere; }
    .catalog-product-action[b-n85gf6pwa9] { grid-column: 1 / -1; }
    .catalog-product-action .sp-btn[b-n85gf6pwa9] { width: 100%; }
    .sp-toggle-grid[b-n85gf6pwa9],
    .sp-channels[b-n85gf6pwa9],
    .sp-form-grid[b-n85gf6pwa9] { grid-template-columns: 1fr; }
    .sp-form-grid label.wide[b-n85gf6pwa9] { grid-column: auto; }
    .publication-channel[b-n85gf6pwa9] { grid-template-columns: 1fr auto; }
    .channel-error[b-n85gf6pwa9] { grid-column: 1 / -1; white-space: normal; overflow-wrap: anywhere; }
    .attempts[b-n85gf6pwa9] { display: none; }
    .publication-top[b-n85gf6pwa9] { grid-template-columns: 46px minmax(0, 1fr); }
    .publication-top > .sp-status[b-n85gf6pwa9] { grid-column: 2; justify-self: start; }
    .product-thumb[b-n85gf6pwa9] { width: 46px; height: 46px; }
}

@media (max-width: 480px) {
    .social-publishing-page[b-n85gf6pwa9] { padding: 10px; }
    .sp-hero[b-n85gf6pwa9] { padding: 18px; border-radius: 17px; }
    .sp-hero h1[b-n85gf6pwa9] { font-size: 1.4rem; }
    .sp-hero-actions[b-n85gf6pwa9] { flex-direction: column; }
    .sp-summary[b-n85gf6pwa9] { grid-template-columns: 1fr; }
    .sp-card[b-n85gf6pwa9] { border-radius: 16px; }
    .sp-card > header[b-n85gf6pwa9] { padding: 16px; }
    .catalog-search[b-n85gf6pwa9] { align-items: stretch; flex-direction: column; }
    .catalog-search .sp-btn[b-n85gf6pwa9] { width: 100%; }
    .sp-product-card[b-n85gf6pwa9] { grid-template-columns: 56px minmax(0, 1fr); padding: 10px; }
    .catalog-thumb[b-n85gf6pwa9] { width: 56px; height: 56px; }
    .catalog-product-facts[b-n85gf6pwa9] { flex-direction: column; gap: 4px; }
    .publication-top[b-n85gf6pwa9] { grid-template-columns: 42px minmax(0, 1fr); padding: 10px; }
    .product-thumb[b-n85gf6pwa9] { width: 42px; height: 42px; }
    .publication-channel[b-n85gf6pwa9] { padding: 9px 10px; }
}

/* Queue/history card stability fix 2026-09-16 */
.sp-publications[b-n85gf6pwa9] {
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    align-items: stretch;
}

.sp-publication[b-n85gf6pwa9] {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    height: auto;
    box-sizing: border-box;
}

.publication-top[b-n85gf6pwa9],
.publication-channels[b-n85gf6pwa9],
.publication-channel[b-n85gf6pwa9] {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.publication-channel[b-n85gf6pwa9] {
    grid-template-columns: minmax(90px, .9fr) auto auto minmax(120px, 1.4fr) auto;
    align-items: start;
}

.channel-name[b-n85gf6pwa9],
.channel-error[b-n85gf6pwa9] {
    min-width: 0;
}

.channel-error[b-n85gf6pwa9] {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.65;
}

@media (max-width: 720px) {
    .publication-channel[b-n85gf6pwa9] {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .channel-error[b-n85gf6pwa9] {
        grid-column: 1 / -1;
    }
}


/* Queue/history card stability fix 2026-09-16 v2 */
.sp-layout > .sp-card[b-n85gf6pwa9],
.queue-card[b-n85gf6pwa9] { min-width: 0; }

.sp-publications[b-n85gf6pwa9] {
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    align-items: stretch;
}

.sp-publication[b-n85gf6pwa9] {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    height: auto;
    box-sizing: border-box;
}

.publication-top[b-n85gf6pwa9],
.publication-channels[b-n85gf6pwa9],
.publication-channel[b-n85gf6pwa9] {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.publication-channel[b-n85gf6pwa9] {
    grid-template-columns: minmax(90px, .9fr) auto auto minmax(120px, 1.4fr) auto;
    align-items: start;
}

.channel-name[b-n85gf6pwa9], .channel-error[b-n85gf6pwa9] { min-width: 0; }
.channel-error[b-n85gf6pwa9] {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.65;
}

@media (max-width: 900px) {
    .sp-layout[b-n85gf6pwa9] { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
    .publication-channel[b-n85gf6pwa9] { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; }
    .channel-error[b-n85gf6pwa9] { grid-column: 1 / -1; }
}
/* /Components/Pages/StockLedger.razor.rz.scp.css */
.stock-ledger-page[b-ulfamrhf3z]{display:grid;gap:18px;padding:24px;color:#172033}.stock-ledger-hero[b-ulfamrhf3z]{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:28px;border-radius:25px;color:#fff;background:radial-gradient(circle at 8% 50%,#22c55e2e,transparent 240px),linear-gradient(135deg,#172554,#0f766e);box-shadow:0 18px 50px #0f172a1a}.hero-copy a[b-ulfamrhf3z]{color:#a7f3d0;font-size:.78rem;font-weight:850}.hero-copy>span[b-ulfamrhf3z]{display:block;margin-top:8px;font-size:.7rem;font-weight:900;letter-spacing:.08em;opacity:.7}.hero-copy h1[b-ulfamrhf3z]{margin:6px 0;font-size:1.8rem}.hero-copy p[b-ulfamrhf3z]{margin:0;opacity:.82}.hero-actions[b-ulfamrhf3z]{display:flex;gap:9px;flex-wrap:wrap}.hero-actions button[b-ulfamrhf3z]{min-height:43px;padding:0 16px;border:1px solid #ffffff48;border-radius:12px;color:#fff;background:#ffffff16;font:inherit;font-weight:900;cursor:pointer}.hero-actions .primary[b-ulfamrhf3z]{color:#064e3b;background:#fff}.hero-actions button:disabled[b-ulfamrhf3z]{opacity:.5;cursor:not-allowed}.ledger-state[b-ulfamrhf3z]{display:flex;align-items:center;justify-content:center;gap:10px;min-height:110px;padding:24px;color:#64748b;background:#fff}.ledger-state.error[b-ulfamrhf3z]{min-height:auto;border:1px solid #fecaca;border-radius:15px;color:#be123c;background:#fff1f2}.spinner[b-ulfamrhf3z]{width:24px;height:24px;border:3px solid #ccfbf1;border-top-color:#0f766e;border-radius:50%;animation:ledger-spin-b-ulfamrhf3z .75s linear infinite}@keyframes ledger-spin-b-ulfamrhf3z{to{transform:rotate(360deg)}}.ledger-kpis[b-ulfamrhf3z]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.ledger-kpis article[b-ulfamrhf3z]{display:grid;gap:7px;padding:18px;border:1px solid #e2e8f0;border-top:3px solid #2563eb;border-radius:18px;background:#fff;box-shadow:0 9px 28px #0f172a0a}.ledger-kpis .incoming[b-ulfamrhf3z]{border-top-color:#059669}.ledger-kpis .outgoing[b-ulfamrhf3z]{border-top-color:#dc2626}.ledger-kpis .balance[b-ulfamrhf3z]{border-top-color:#7c3aed}.ledger-kpis span[b-ulfamrhf3z]{color:#64748b;font-size:.78rem;font-weight:850}.ledger-kpis strong[b-ulfamrhf3z]{font-size:1.45rem}.ledger-kpis small[b-ulfamrhf3z]{color:#94a3b8;font-size:.7rem}.ledger-filters[b-ulfamrhf3z],.ledger-card[b-ulfamrhf3z]{border:1px solid #e2e8f0;border-radius:20px;background:#fff;box-shadow:0 12px 34px #0f172a0b}.ledger-filters[b-ulfamrhf3z]{padding:18px}.filter-heading[b-ulfamrhf3z],.ledger-card>header[b-ulfamrhf3z]{display:flex;align-items:center;justify-content:space-between;gap:15px}.filter-heading[b-ulfamrhf3z]{margin-bottom:15px}.filter-heading span[b-ulfamrhf3z],.ledger-card header span[b-ulfamrhf3z]{color:#0f766e;font-size:.68rem;font-weight:950;letter-spacing:.08em}.filter-heading h2[b-ulfamrhf3z],.ledger-card h2[b-ulfamrhf3z]{margin:4px 0 0;font-size:1.05rem}.filter-heading button[b-ulfamrhf3z]{padding:7px 11px;border:1px solid #d7e1ed;border-radius:9px;color:#475569;background:#f8fafc;font:inherit;font-size:.74rem;font-weight:850;cursor:pointer}.filter-grid[b-ulfamrhf3z]{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:13px}.filter-grid label[b-ulfamrhf3z]{display:grid;gap:7px}.filter-grid label>span[b-ulfamrhf3z]{color:#64748b;font-size:.76rem;font-weight:850}.filter-grid input[b-ulfamrhf3z],.filter-grid select[b-ulfamrhf3z]{width:100%;min-height:44px;padding:8px 12px;border:1px solid #d7e1ed;border-radius:11px;background:#fff;font:inherit;outline:none}.filter-grid input:focus[b-ulfamrhf3z],.filter-grid select:focus[b-ulfamrhf3z]{border-color:#2dd4bf;box-shadow:0 0 0 4px #14b8a614}.ledger-card[b-ulfamrhf3z]{overflow:hidden}.ledger-card>header[b-ulfamrhf3z]{padding:19px 20px;border-bottom:1px solid #edf2f7}.ledger-card header p[b-ulfamrhf3z]{margin:5px 0 0;color:#64748b;font-size:.75rem}.ledger-card header>strong[b-ulfamrhf3z]{color:#0f766e}.table-wrap[b-ulfamrhf3z]{overflow:auto}table[b-ulfamrhf3z]{width:100%;min-width:1120px;border-collapse:collapse}th[b-ulfamrhf3z],td[b-ulfamrhf3z]{padding:12px 11px;border-bottom:1px solid #edf2f7;text-align:right;white-space:nowrap;font-size:.77rem}th[b-ulfamrhf3z]{color:#64748b;background:#f8fafc;font-weight:950}tbody tr:hover[b-ulfamrhf3z]{background:#f0fdfa}.ltr[b-ulfamrhf3z]{direction:ltr;text-align:center}.product-name[b-ulfamrhf3z]{font-weight:900}.description[b-ulfamrhf3z]{max-width:280px;overflow:hidden;text-overflow:ellipsis}.movement[b-ulfamrhf3z]{display:inline-flex;min-width:48px;justify-content:center;padding:5px 8px;border-radius:999px;font-size:.68rem;font-weight:950}.movement.in[b-ulfamrhf3z]{color:#047857;background:#d1fae5}.movement.out[b-ulfamrhf3z]{color:#b91c1c;background:#fee2e2}.movement.neutral[b-ulfamrhf3z]{color:#475569;background:#e2e8f0}.incoming-value[b-ulfamrhf3z]{color:#047857;font-weight:900}.outgoing-value[b-ulfamrhf3z]{color:#b91c1c;font-weight:900}.balance-value[b-ulfamrhf3z]{color:#312e81;font-weight:950}tfoot td[b-ulfamrhf3z]{background:#f8fafc;font-weight:950}.ledger-empty[b-ulfamrhf3z]{display:grid;place-items:center;gap:8px;padding:55px;text-align:center;color:#64748b}.ledger-empty>span[b-ulfamrhf3z]{font-size:2.2rem}.ledger-empty strong[b-ulfamrhf3z]{color:#334155}.ledger-empty p[b-ulfamrhf3z]{margin:0;font-size:.8rem}@media(max-width:900px){.ledger-kpis[b-ulfamrhf3z]{grid-template-columns:repeat(2,1fr)}.filter-grid[b-ulfamrhf3z]{grid-template-columns:1fr}}@media(max-width:620px){.stock-ledger-page[b-ulfamrhf3z]{padding:12px}.stock-ledger-hero[b-ulfamrhf3z]{align-items:flex-start;flex-direction:column}.hero-actions[b-ulfamrhf3z]{display:grid;width:100%;grid-template-columns:1fr}.ledger-kpis[b-ulfamrhf3z]{grid-template-columns:1fr}.ledger-card>header[b-ulfamrhf3z]{align-items:flex-start;flex-direction:column}}:global(.erpdb-dark) .stock-ledger-page[b-ulfamrhf3z]{color:#e5edf8}:global(.erpdb-dark) .ledger-kpis article[b-ulfamrhf3z],:global(.erpdb-dark) .ledger-filters[b-ulfamrhf3z],:global(.erpdb-dark) .ledger-card[b-ulfamrhf3z]{border-color:#334155;background:#111827}:global(.erpdb-dark) .filter-grid input[b-ulfamrhf3z],:global(.erpdb-dark) .filter-grid select[b-ulfamrhf3z]{color:#e5edf8;border-color:#334155;background:#0f172a}:global(.erpdb-dark) th[b-ulfamrhf3z],:global(.erpdb-dark) tfoot td[b-ulfamrhf3z]{color:#cbd5e1;background:#0f172a}:global(.erpdb-dark) td[b-ulfamrhf3z]{border-color:#273449}:global(.erpdb-dark) tbody tr:hover[b-ulfamrhf3z]{background:#172033}@media print{.no-print[b-ulfamrhf3z]{display:none!important}.stock-ledger-page[b-ulfamrhf3z]{display:block;padding:0}.ledger-card[b-ulfamrhf3z]{border:0;box-shadow:none}.table-wrap[b-ulfamrhf3z]{overflow:visible}table[b-ulfamrhf3z]{min-width:0}th[b-ulfamrhf3z],td[b-ulfamrhf3z]{padding:1.8mm;font-size:7pt}.description[b-ulfamrhf3z]{max-width:none}@page{size:A4 landscape;margin:8mm}}
/* /Components/Pages/StockReservation.razor.rz.scp.css */
.stock-reservation-page[b-lcx6uwuoh4] {
    padding: 24px;
}

.page-header[b-lcx6uwuoh4] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.page-header h3[b-lcx6uwuoh4] {
    margin: 0;
    font-weight: 900;
}

.page-header p[b-lcx6uwuoh4] {
    margin: 6px 0 0;
    color: #64748b;
}

.reservation-card[b-lcx6uwuoh4] {
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
}

.reservation-card th[b-lcx6uwuoh4] {
    background: #1f2937;
    color: #fff;
    white-space: nowrap;
}

.row-actions[b-lcx6uwuoh4] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .stock-reservation-page[b-lcx6uwuoh4] {
        padding: 16px;
    }

    .page-header[b-lcx6uwuoh4] {
        flex-direction: column;
    }
}
/* /Components/Pages/StoreAssets.razor.rz.scp.css */
.assets-page[b-ypdlat0akk]{padding:24px;direction:rtl}.assets-hero[b-ypdlat0akk]{display:flex;justify-content:space-between;align-items:center;padding:28px;border-radius:24px;background:linear-gradient(135deg,#172554,#2563eb);color:#fff}.assets-hero h1[b-ypdlat0akk]{margin:6px 0}.assets-hero p[b-ypdlat0akk]{margin:0;opacity:.85}.assets-hero button[b-ypdlat0akk],.primary[b-ypdlat0akk]{background:#fff;color:#1d4ed8;border:0;border-radius:12px;padding:12px 20px;font-weight:800}.stats[b-ypdlat0akk]{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0}.stats div[b-ypdlat0akk],.table-card[b-ypdlat0akk],.toolbar[b-ypdlat0akk]{background:#fff;border:1px solid #dbe3f0;border-radius:18px}.stats div[b-ypdlat0akk]{padding:18px;display:flex;flex-direction:column}.stats b[b-ypdlat0akk]{font-size:24px}.stats span[b-ypdlat0akk],small[b-ypdlat0akk]{color:#64748b}.toolbar[b-ypdlat0akk]{display:flex;gap:12px;padding:14px;margin-bottom:14px}.toolbar input[b-ypdlat0akk]{flex:1}.toolbar input[b-ypdlat0akk],.toolbar select[b-ypdlat0akk],.form input[b-ypdlat0akk],.form select[b-ypdlat0akk],.form textarea[b-ypdlat0akk]{border:1px solid #cbd5e1;border-radius:12px;padding:12px;background:#fff;color:#0f172a;min-height:46px}.toolbar button[b-ypdlat0akk],td button[b-ypdlat0akk]{border:0;border-radius:9px;padding:8px 12px}.table-card[b-ypdlat0akk]{overflow:auto}table[b-ypdlat0akk]{width:100%;border-collapse:collapse}th[b-ypdlat0akk],td[b-ypdlat0akk]{padding:14px;border-bottom:1px solid #e5e7eb;text-align:right}th[b-ypdlat0akk]{background:#f8fafc}td small[b-ypdlat0akk]{display:block;margin-top:4px}.status[b-ypdlat0akk]{background:#e0ecff;color:#1d4ed8;padding:6px 10px;border-radius:999px}.danger[b-ypdlat0akk]{color:#b91c1c}.alert[b-ypdlat0akk]{margin:14px 0;padding:12px;background:#fff1f2;color:#be123c;border-radius:12px}.actions-cell[b-ypdlat0akk]{display:flex;gap:6px;white-space:nowrap}

.asset-overlay-backdrop[b-ypdlat0akk]{position:fixed;inset:0;z-index:2147483640;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(15,23,42,.76);backdrop-filter:blur(7px);overflow:hidden}.asset-overlay-panel[b-ypdlat0akk]{position:relative;display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(960px,calc(100vw - 36px));max-height:calc(100dvh - 36px);background:#fff;color:#0f172a;border:1px solid rgba(203,213,225,.85);border-radius:24px;overflow:hidden;box-shadow:0 32px 100px rgba(15,23,42,.45)}.movement-panel[b-ypdlat0akk]{width:min(820px,calc(100vw - 36px))}.asset-dialog-header[b-ypdlat0akk]{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid #e2e8f0;background:linear-gradient(180deg,#fff,#f8fafc)}.asset-dialog-header span[b-ypdlat0akk]{font-size:13px;color:#64748b}.asset-dialog-header h2[b-ypdlat0akk]{margin:4px 0 0;font-size:24px}.dialog-close[b-ypdlat0akk]{width:42px;height:42px;border:0;border-radius:12px;background:#eef2f7;color:#334155;font-size:28px;line-height:1;cursor:pointer}.asset-dialog-body[b-ypdlat0akk]{min-height:0;overflow:auto;padding:22px 24px}.dialog-alert[b-ypdlat0akk]{margin:0 0 16px;padding:12px 14px;border:1px solid #fecdd3;border-radius:12px;background:#fff1f2;color:#be123c}.form[b-ypdlat0akk]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form label[b-ypdlat0akk]{display:flex;flex-direction:column;gap:8px;font-weight:700;color:#334155}.form label em[b-ypdlat0akk]{color:#dc2626;font-style:normal}.form input:focus[b-ypdlat0akk],.form select:focus[b-ypdlat0akk],.form textarea:focus[b-ypdlat0akk]{outline:0;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.12)}.form textarea[b-ypdlat0akk]{min-height:110px;resize:vertical}.wide[b-ypdlat0akk]{grid-column:1/-1}.asset-dialog-footer[b-ypdlat0akk]{display:flex;justify-content:flex-start;gap:10px;padding:16px 24px;border-top:1px solid #e2e8f0;background:#fff;box-shadow:0 -12px 30px rgba(15,23,42,.05)}.asset-dialog-footer button[b-ypdlat0akk]{border:0;border-radius:12px;padding:12px 22px;font-weight:800;cursor:pointer}.asset-dialog-footer .primary[b-ypdlat0akk]{background:#2563eb;color:#fff}.asset-dialog-footer .secondary[b-ypdlat0akk]{background:#e8eef6;color:#334155}

@media(max-width:800px){.assets-page[b-ypdlat0akk]{padding:14px}.stats[b-ypdlat0akk]{grid-template-columns:repeat(2,1fr)}.toolbar[b-ypdlat0akk]{flex-direction:column}.form[b-ypdlat0akk]{grid-template-columns:1fr}.wide[b-ypdlat0akk]{grid-column:auto}.assets-hero[b-ypdlat0akk]{align-items:flex-start;gap:15px;flex-direction:column}.asset-overlay-backdrop[b-ypdlat0akk]{padding:8px}.asset-overlay-panel[b-ypdlat0akk],.movement-panel[b-ypdlat0akk]{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:18px}.asset-dialog-header[b-ypdlat0akk],.asset-dialog-body[b-ypdlat0akk],.asset-dialog-footer[b-ypdlat0akk]{padding-left:16px;padding-right:16px}}

.actions-cell .success[b-ypdlat0akk]{background:#dcfce7;color:#166534}.asset-sale-summary[b-ypdlat0akk]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}.asset-sale-summary span[b-ypdlat0akk]{padding:12px;border:1px solid #dbeafe;border-radius:12px;background:#eff6ff;color:#1e3a8a;font-weight:800}@media(max-width:800px){.asset-sale-summary[b-ypdlat0akk]{grid-template-columns:1fr}}

.field-warning[b-ypdlat0akk] {
    display: block;
    margin-top: .4rem;
    color: #b45309;
    font-size: .78rem;
    line-height: 1.6;
}
/* /Components/Pages/Suppliers.razor.rz.scp.css */
:host[b-5qs2l4p2hz] {
    display: block;
    width: 100%;
    min-height: 100%;
}

*[b-5qs2l4p2hz] {
    box-sizing: border-box;
}

.suppliers-page[b-5qs2l4p2hz] {
    width: 100%;
    display: grid;
    gap: 18px;
    direction: rtl;
    color: #0f172a;
}

.suppliers-hero[b-5qs2l4p2hz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    border: 1px solid rgba(148, 163, 184, .20);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(245,248,255,.94));
    box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.suppliers-eyebrow[b-5qs2l4p2hz] {
    display: block;
    margin-bottom: 6px;
    color: var(--erp-primary, #6366f1);
    font-size: 12px;
    font-weight: 900;
}

.suppliers-hero h1[b-5qs2l4p2hz] {
    margin: 0;
    font-size: 27px;
    line-height: 1.3;
    font-weight: 950;
}

.suppliers-hero p[b-5qs2l4p2hz] {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 650;
}

.primary-action[b-5qs2l4p2hz] {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 18px;
    border: 0;
    border-radius: 15px;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    box-shadow: 0 12px 24px rgba(37, 99, 235, .22);
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.primary-action__icon[b-5qs2l4p2hz] {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(255,255,255,.16);
    font-size: 19px;
}

.supplier-stats[b-5qs2l4p2hz] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.stat-card[b-5qs2l4p2hz] {
    min-height: 112px;
    padding: 17px 19px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 18px;
    background: rgba(255,255,255,.93);
    box-shadow: 0 9px 24px rgba(15, 23, 42, .045);
}

.stat-card span[b-5qs2l4p2hz],
.stat-card small[b-5qs2l4p2hz] {
    display: block;
}

.stat-card span[b-5qs2l4p2hz] {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.stat-card strong[b-5qs2l4p2hz] {
    display: block;
    margin: 7px 0 4px;
    color: #0f172a;
    font-size: 27px;
    line-height: 1;
    font-weight: 950;
}

.stat-card small[b-5qs2l4p2hz] {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 650;
}

.supplier-toolbar[b-5qs2l4p2hz] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 13px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 18px;
    background: rgba(255,255,255,.94);
}

.search-box[b-5qs2l4p2hz] {
    min-height: 48px;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 32px;
    align-items: center;
    gap: 9px;
    padding: 0 12px;
    border: 1px solid #dbe3ee;
    border-radius: 14px;
    background: #f8fafc;
}

.search-box__icon[b-5qs2l4p2hz] {
    color: #64748b;
    font-size: 23px;
}

.search-box input[b-5qs2l4p2hz] {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: #0f172a;
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
}

.search-box input[b-5qs2l4p2hz]::placeholder {
    color: #94a3b8;
}

.search-box button[b-5qs2l4p2hz] {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 9px;
    color: #64748b;
    background: transparent;
    font-size: 21px;
    cursor: pointer;
}

.search-box button:hover[b-5qs2l4p2hz] {
    background: #e2e8f0;
}

.toolbar-meta[b-5qs2l4p2hz] {
    min-width: 110px;
    text-align: center;
}

.toolbar-meta span[b-5qs2l4p2hz] {
    display: block;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 750;
}

.toolbar-meta strong[b-5qs2l4p2hz] {
    display: block;
    margin-top: 2px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 950;
}

.supplier-table-card[b-5qs2l4p2hz] {
    min-height: 260px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 20px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 11px 30px rgba(15, 23, 42, .055);
    overflow: hidden;
}

.table-scroll[b-5qs2l4p2hz] {
    width: 100%;
    overflow-x: auto;
}

.supplier-table[b-5qs2l4p2hz] {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
}

.supplier-table th[b-5qs2l4p2hz] {
    padding: 15px 16px;
    color: #475569;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 11.5px;
    font-weight: 900;
    text-align: right;
    white-space: nowrap;
}

.supplier-table td[b-5qs2l4p2hz] {
    padding: 14px 16px;
    border-bottom: 1px solid #eef2f7;
    color: #334155;
    font-size: 12.5px;
    font-weight: 700;
    vertical-align: middle;
}

.supplier-table tbody tr:hover[b-5qs2l4p2hz] {
    background: #f8fbff;
}

.supplier-table tbody tr:last-child td[b-5qs2l4p2hz] {
    border-bottom: 0;
}

.code-chip[b-5qs2l4p2hz] {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 10px;
    color: #4338ca;
    background: #eef2ff;
    font-size: 11.5px;
    font-weight: 900;
}

.supplier-name[b-5qs2l4p2hz] {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 190px;
}

.supplier-avatar[b-5qs2l4p2hz] {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    font-weight: 950;
}

.supplier-name strong[b-5qs2l4p2hz],
.supplier-name small[b-5qs2l4p2hz] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.supplier-name strong[b-5qs2l4p2hz] {
    color: #0f172a;
    font-size: 12.5px;
    font-weight: 900;
}

.supplier-name small[b-5qs2l4p2hz] {
    margin-top: 3px;
    color: #94a3b8;
    font-size: 10.5px;
    font-weight: 650;
}

.status-badge[b-5qs2l4p2hz] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}

.status-badge.is-active[b-5qs2l4p2hz] {
    color: #15803d;
    background: #dcfce7;
}

.status-badge.is-inactive[b-5qs2l4p2hz] {
    color: #64748b;
    background: #e2e8f0;
}

.row-actions[b-5qs2l4p2hz] {
    display: flex;
    align-items: center;
    gap: 7px;
}

.action-button[b-5qs2l4p2hz] {
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    font: inherit;
    font-size: 11px;
    font-weight: 850;
    cursor: pointer;
}

.action-button.edit[b-5qs2l4p2hz] {
    color: #1d4ed8;
    border-color: #bfdbfe;
    background: #eff6ff;
}

.action-button.delete[b-5qs2l4p2hz] {
    color: #dc2626;
    border-color: #fecaca;
    background: #fff1f2;
}

.state-box[b-5qs2l4p2hz] {
    min-height: 260px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    padding: 30px;
    color: #64748b;
    text-align: center;
}

.state-box strong[b-5qs2l4p2hz] {
    color: #334155;
    font-size: 14px;
    font-weight: 900;
}

.state-box p[b-5qs2l4p2hz] {
    margin: 0;
    color: #94a3b8;
    font-size: 12px;
}

.state-spinner[b-5qs2l4p2hz] {
    width: 25px;
    height: 25px;
    border: 3px solid #dbeafe;
    border-top-color: var(--erp-primary, #2563eb);
    border-radius: 50%;
    animation: supplier-spin-b-5qs2l4p2hz .75s linear infinite;
}

@keyframes supplier-spin-b-5qs2l4p2hz {
    to { transform: rotate(360deg); }
}

/* Modal */
.supplier-overlay[b-5qs2l4p2hz] {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 108px 20px 24px;
    overflow-y: auto;
    background: rgba(2, 6, 23, .66);
    backdrop-filter: blur(7px);
}

.supplier-dialog[b-5qs2l4p2hz] {
    width: min(860px, 100%);
    max-height: calc(100dvh - 132px);
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(2, 6, 23, .34);
    overflow: hidden;
}

.delete-dialog[b-5qs2l4p2hz] {
    width: min(500px, 100%);
}

.dialog-header[b-5qs2l4p2hz] {
    flex: 0 0 auto;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #f8fbff, #f5f3ff);
}

.dialog-header span[b-5qs2l4p2hz] {
    display: block;
    color: var(--erp-primary, #6366f1);
    font-size: 10.5px;
    font-weight: 900;
}

.dialog-header h2[b-5qs2l4p2hz] {
    margin: 4px 0 0;
    color: #0f172a;
    font-size: 20px;
    font-weight: 950;
}

.dialog-header.danger span[b-5qs2l4p2hz] {
    color: #dc2626;
}

.dialog-close[b-5qs2l4p2hz] {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    color: #64748b;
    background: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.dialog-body[b-5qs2l4p2hz] {
    min-height: 0;
    flex: 1 1 auto;
    padding: 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.form-grid[b-5qs2l4p2hz] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.field[b-5qs2l4p2hz] {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.field-span-2[b-5qs2l4p2hz] {
    grid-column: span 2;
}

.field-span-3[b-5qs2l4p2hz] {
    grid-column: span 3;
}

.field > span[b-5qs2l4p2hz] {
    color: #475569;
    font-size: 11.5px;
    font-weight: 850;
}

.field input[b-5qs2l4p2hz],
.field textarea[b-5qs2l4p2hz] {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    outline: 0;
    color: #0f172a;
    background: #f8fafc;
    font: inherit;
    font-size: 12.5px;
    font-weight: 700;
}

.field textarea[b-5qs2l4p2hz] {
    min-height: 88px;
    max-height: 150px;
    resize: vertical;
}

.field input:focus[b-5qs2l4p2hz],
.field textarea:focus[b-5qs2l4p2hz] {
    border-color: #60a5fa;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}

.switch-field[b-5qs2l4p2hz] {
    position: relative;
    min-height: 64px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 10px 13px;
    border: 1px solid #dbe3ee;
    border-radius: 14px;
    background: #f8fafc;
    cursor: pointer;
    overflow: hidden;
}

.switch-field > input[b-5qs2l4p2hz] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.switch-track[b-5qs2l4p2hz] {
    position: relative;
    width: 46px;
    height: 25px;
    display: block;
    border-radius: 999px;
    background: #cbd5e1;
    transition: .18s ease;
}

.switch-track > span[b-5qs2l4p2hz] {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .18);
    transition: .18s ease;
}

.switch-field > input:checked + .switch-track[b-5qs2l4p2hz] {
    background: #22c55e;
}

.switch-field > input:checked + .switch-track > span[b-5qs2l4p2hz] {
    transform: translateX(-21px);
}

.switch-copy[b-5qs2l4p2hz] {
    min-width: 0;
}

.switch-copy strong[b-5qs2l4p2hz],
.switch-copy small[b-5qs2l4p2hz] {
    display: block;
}

.switch-copy strong[b-5qs2l4p2hz] {
    color: #0f172a;
    font-size: 12px;
    font-weight: 900;
}

.switch-copy small[b-5qs2l4p2hz] {
    margin-top: 3px;
    color: #94a3b8;
    font-size: 10.5px;
    font-weight: 650;
}

.dialog-footer[b-5qs2l4p2hz] {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    padding: 14px 20px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

.secondary-button[b-5qs2l4p2hz],
.save-button[b-5qs2l4p2hz],
.danger-button[b-5qs2l4p2hz] {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.secondary-button[b-5qs2l4p2hz] {
    border: 1px solid #dbe3ee;
    color: #475569;
    background: #fff;
}

.save-button[b-5qs2l4p2hz] {
    border: 0;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
}

.danger-button[b-5qs2l4p2hz] {
    border: 0;
    color: #fff;
    background: #dc2626;
}

.delete-content[b-5qs2l4p2hz] {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 30px 24px;
    text-align: center;
}

.delete-icon[b-5qs2l4p2hz] {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    color: #dc2626;
    background: #fee2e2;
    font-size: 25px;
    font-weight: 950;
}

.delete-content p[b-5qs2l4p2hz] {
    margin: 0;
    color: #334155;
    font-size: 13px;
    line-height: 1.8;
}

.delete-content small[b-5qs2l4p2hz] {
    color: #94a3b8;
    font-size: 11px;
}

@media (max-width: 900px) {
    .supplier-stats[b-5qs2l4p2hz] {
        grid-template-columns: 1fr;
    }

    .form-grid[b-5qs2l4p2hz] {
        grid-template-columns: 1fr 1fr;
    }

    .field-span-3[b-5qs2l4p2hz] {
        grid-column: span 2;
    }
}

@media (max-width: 680px) {
    .suppliers-hero[b-5qs2l4p2hz] {
        align-items: stretch;
        flex-direction: column;
    }

    .primary-action[b-5qs2l4p2hz] {
        width: 100%;
    }

    .supplier-toolbar[b-5qs2l4p2hz] {
        grid-template-columns: 1fr;
    }

    .toolbar-meta[b-5qs2l4p2hz] {
        display: none;
    }

    .supplier-overlay[b-5qs2l4p2hz] {
        padding: 82px 10px 12px;
    }

    .supplier-dialog[b-5qs2l4p2hz] {
        max-height: calc(100dvh - 94px);
        border-radius: 18px;
    }

    .form-grid[b-5qs2l4p2hz] {
        grid-template-columns: 1fr;
    }

    .field-span-2[b-5qs2l4p2hz],
    .field-span-3[b-5qs2l4p2hz] {
        grid-column: auto;
    }

    .dialog-footer[b-5qs2l4p2hz] {
        flex-direction: column-reverse;
    }

    .secondary-button[b-5qs2l4p2hz],
    .save-button[b-5qs2l4p2hz],
    .danger-button[b-5qs2l4p2hz] {
        width: 100%;
    }
}
/* /Components/Pages/Support.razor.rz.scp.css */
.support-page[b-t9ilua68cw] {
    max-width: 1440px;
    margin: 0 auto;
    padding: 8px 4px 36px;
    display: grid;
    gap: 18px;
    color: var(--erp-text, var(--erp-final-text, #0f172a));
}

.support-hero[b-t9ilua68cw] {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px 32px;
    border: 1px solid var(--erp-border, var(--erp-final-border, #e2e8f0));
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(var(--erp-primary-rgb, 37, 99, 235), .08), rgba(124, 58, 237, .05)),
        var(--erp-card-bg, var(--erp-surface, #fff));
    color: var(--erp-text, var(--erp-final-text, #0f172a));
    box-shadow: 0 20px 55px rgba(15, 23, 42, .08);
}

.support-hero[b-t9ilua68cw]::before {
    content: "";
    position: absolute;
    inset: auto -80px -110px auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--erp-primary-rgb, 37, 99, 235), .22), transparent 70%);
}

.support-hero > div[b-t9ilua68cw],
.support-hero > button[b-t9ilua68cw] {
    position: relative;
    z-index: 1;
}

.support-hero small[b-t9ilua68cw] {
    color: var(--erp-primary, #4f46e5);
    font-weight: 700;
    letter-spacing: .3px;
}

.support-hero h1[b-t9ilua68cw] {
    margin: 7px 0 5px;
    font-size: clamp(25px, 3vw, 38px);
    color: var(--erp-text, var(--erp-final-text, #0f172a));
}

.support-hero p[b-t9ilua68cw] {
    margin: 0;
    color: var(--erp-muted-text, var(--erp-muted, var(--erp-final-muted, #64748b)));
}

.support-hero button[b-t9ilua68cw] {
    min-width: 145px;
    padding: 12px 20px;
    border: 0;
    border-radius: 13px;
    color: var(--erp-on-brand, #fff);
    background: linear-gradient(135deg, var(--erp-primary, #4f46e5), var(--erp-accent, #7c3aed));
    box-shadow: 0 10px 24px rgba(var(--erp-primary-rgb, 79, 70, 229), .24);
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
}

.support-alert[b-t9ilua68cw] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 15px;
    border-radius: 14px;
    color: var(--erp-text, var(--erp-final-text, #0f172a));
}

.support-alert strong[b-t9ilua68cw] { flex: 1; }

.support-alert button[b-t9ilua68cw] {
    padding: 6px 12px;
    border: 0;
    border-radius: 9px;
    color: inherit;
    background: rgba(148, 163, 184, .12);
    font-family: inherit;
    cursor: pointer;
}

.support-alert.error[b-t9ilua68cw] {
    border: 1px solid rgba(239, 68, 68, .35);
    background: rgba(239, 68, 68, .10);
}

.support-alert.success[b-t9ilua68cw] {
    border: 1px solid rgba(16, 185, 129, .35);
    background: rgba(16, 185, 129, .10);
}

.support-kpis[b-t9ilua68cw] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.support-kpis article[b-t9ilua68cw] {
    position: relative;
    overflow: hidden;
    min-height: 92px;
    padding: 17px 18px;
    border: 1px solid var(--erp-border, var(--erp-final-border, #e2e8f0));
    border-radius: 17px;
    background: var(--erp-card-bg, var(--erp-surface, #fff));
    color: var(--erp-text, var(--erp-final-text, #0f172a));
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}

.support-kpis article[b-t9ilua68cw]::after {
    content: "";
    position: absolute;
    inset: auto -18px -24px auto;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: rgba(var(--erp-primary-rgb, 99, 102, 241), .10);
}

.support-kpis strong[b-t9ilua68cw],
.support-kpis span[b-t9ilua68cw] { display: block; }
.support-kpis strong[b-t9ilua68cw] { font-size: 28px; }

.support-kpis span[b-t9ilua68cw] {
    margin-top: 5px;
    color: var(--erp-muted-text, var(--erp-muted, var(--erp-final-muted, #64748b)));
    font-size: 12px;
}

.support-panel[b-t9ilua68cw] {
    padding: 19px;
    border: 1px solid var(--erp-border, var(--erp-final-border, #e2e8f0));
    border-radius: 20px;
    background: var(--erp-card-bg, var(--erp-surface, #fff));
    color: var(--erp-text, var(--erp-final-text, #0f172a));
    box-shadow: 0 12px 35px rgba(15, 23, 42, .07);
}

.support-filters[b-t9ilua68cw] {
    display: grid;
    grid-template-columns: minmax(250px, 1fr) 190px 190px auto;
    gap: 10px;
}

.support-filters input[b-t9ilua68cw],
.support-filters select[b-t9ilua68cw],
.ticket-meta select[b-t9ilua68cw],
.reply-box textarea[b-t9ilua68cw],
.support-modal input[b-t9ilua68cw],
.support-modal textarea[b-t9ilua68cw],
.support-modal select[b-t9ilua68cw] {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    border: 1px solid var(--erp-border, var(--erp-final-border, #dbe4f0));
    border-radius: 11px;
    color: var(--erp-text, var(--erp-final-text, #0f172a));
    background: var(--erp-surface-soft, var(--erp-card-soft, #f8fafc));
    font-family: inherit;
    outline: none;
}

.support-filters input[b-t9ilua68cw]::placeholder,
.reply-box textarea[b-t9ilua68cw]::placeholder,
.support-modal input[b-t9ilua68cw]::placeholder,
.support-modal textarea[b-t9ilua68cw]::placeholder {
    color: var(--erp-muted-text, var(--erp-muted, var(--erp-final-muted, #64748b)));
    opacity: .8;
}

.support-filters input:focus[b-t9ilua68cw],
.support-filters select:focus[b-t9ilua68cw],
.ticket-meta select:focus[b-t9ilua68cw],
.reply-box textarea:focus[b-t9ilua68cw],
.support-modal input:focus[b-t9ilua68cw],
.support-modal textarea:focus[b-t9ilua68cw],
.support-modal select:focus[b-t9ilua68cw] {
    border-color: var(--erp-primary, #6366f1);
    box-shadow: 0 0 0 3px rgba(var(--erp-primary-rgb, 99, 102, 241), .13);
}

.support-filters button[b-t9ilua68cw],
.save-ticket[b-t9ilua68cw] {
    padding: 11px 18px;
    border: 0;
    border-radius: 11px;
    color: var(--erp-on-brand, #fff);
    background: var(--erp-primary, #4f46e5);
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
}

.save-ticket:disabled[b-t9ilua68cw] { opacity: .6; cursor: wait; }

.support-list[b-t9ilua68cw] {
    display: grid;
    gap: 9px;
    margin-top: 15px;
}

.support-list > article[b-t9ilua68cw] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    padding: 16px;
    border: 1px solid var(--erp-border, var(--erp-final-border, #e2e8f0));
    border-radius: 14px;
    background: var(--erp-surface-soft, var(--erp-card-soft, #f8fafc));
    color: var(--erp-text, var(--erp-final-text, #0f172a));
    cursor: pointer;
    transition: .18s ease;
}

.support-list > article:hover[b-t9ilua68cw] {
    transform: translateY(-1px);
    border-color: rgba(var(--erp-primary-rgb, 99, 102, 241), .42);
    background:
        linear-gradient(rgba(var(--erp-primary-rgb, 99, 102, 241), .055), rgba(var(--erp-primary-rgb, 99, 102, 241), .055)),
        var(--erp-surface-soft, var(--erp-card-soft, #f8fafc));
}

.support-list > article.selected[b-t9ilua68cw] {
    border-color: var(--erp-primary, #6366f1);
    background:
        linear-gradient(rgba(var(--erp-primary-rgb, 99, 102, 241), .10), rgba(var(--erp-primary-rgb, 99, 102, 241), .10)),
        var(--erp-surface, var(--erp-card-bg, #fff));
    box-shadow: inset 3px 0 var(--erp-primary, #6366f1);
}

.support-list strong[b-t9ilua68cw] {
    display: block;
    margin: 5px 0;
    font-size: 15px;
}

.support-list p[b-t9ilua68cw] {
    max-width: 760px;
    margin: 0;
    color: var(--erp-muted-text, var(--erp-muted, var(--erp-final-muted, #64748b)));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.support-list aside[b-t9ilua68cw] {
    display: grid;
    grid-template-columns: auto auto;
    align-content: center;
    justify-items: end;
    gap: 7px;
}

.support-list aside span[b-t9ilua68cw] {
    padding: 5px 9px;
    border-radius: 99px;
    color: var(--erp-text, var(--erp-final-text, #0f172a));
    background: rgba(148, 163, 184, .12);
    font-size: 10px;
}

.support-list aside .critical[b-t9ilua68cw] {
    color: #b91c1c;
    background: rgba(220, 38, 38, .12);
}

.support-list aside .high[b-t9ilua68cw] {
    color: #c2410c;
    background: rgba(234, 88, 12, .12);
}

.support-list time[b-t9ilua68cw] {
    grid-column: 1 / -1;
    color: var(--erp-muted-text, var(--erp-muted, var(--erp-final-muted, #64748b)));
    font-size: 10px;
}

.ticket-context[b-t9ilua68cw] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 7px;
}

.ticket-context span[b-t9ilua68cw] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border: 1px solid rgba(var(--erp-primary-rgb, 99, 102, 241), .22);
    border-radius: 999px;
    color: var(--erp-primary, #4f46e5);
    background: rgba(var(--erp-primary-rgb, 99, 102, 241), .08);
    font-size: 10px;
}

.detail-context[b-t9ilua68cw] { margin: 8px 0 4px; }
.detail-context span[b-t9ilua68cw] { font-size: 11px; }

.support-empty[b-t9ilua68cw],
.support-loading[b-t9ilua68cw],
.support-error[b-t9ilua68cw] {
    min-height: 170px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 9px;
    color: var(--erp-muted-text, var(--erp-muted, var(--erp-final-muted, #64748b)));
}

.ticket-detail[b-t9ilua68cw] { margin-top: 2px; }

.ticket-detail > header[b-t9ilua68cw] {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--erp-border, var(--erp-final-border, #e2e8f0));
}

.ticket-detail > header h2[b-t9ilua68cw] {
    margin: 6px 0;
    color: var(--erp-text, var(--erp-final-text, #0f172a));
}

.ticket-detail > header p[b-t9ilua68cw] {
    color: var(--erp-muted-text, var(--erp-muted, var(--erp-final-muted, #64748b)));
}

.ticket-detail > header button[b-t9ilua68cw] {
    align-self: start;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    color: var(--erp-text, var(--erp-final-text, #0f172a));
    background: rgba(148, 163, 184, .12);
    font-size: 22px;
}

.ticket-meta[b-t9ilua68cw] {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr)) auto;
    gap: 12px;
    align-items: end;
    margin: 18px 0;
    padding: 16px;
    border: 1px solid var(--erp-border, var(--erp-final-border, #e2e8f0));
    border-radius: 15px;
    background: var(--erp-surface-soft, var(--erp-card-soft, #f8fafc));
}

.ticket-meta label[b-t9ilua68cw] {
    display: grid;
    gap: 7px;
    font-size: 12px;
    font-weight: 800;
}

.ticket-meta > span[b-t9ilua68cw] {
    color: var(--erp-muted-text, var(--erp-muted, var(--erp-final-muted, #64748b)));
    font-size: 11px;
}

.conversation-context[b-t9ilua68cw] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 13px;
    padding: 13px;
    border: 1px solid rgba(var(--erp-primary-rgb, 99, 102, 241), .22);
    border-radius: 14px;
    background:
        linear-gradient(rgba(var(--erp-primary-rgb, 99, 102, 241), .065), rgba(var(--erp-primary-rgb, 99, 102, 241), .065)),
        var(--erp-surface, var(--erp-card-bg, #fff));
}

.conversation-context > div[b-t9ilua68cw] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.conversation-context small[b-t9ilua68cw] {
    color: var(--erp-muted-text, var(--erp-muted, var(--erp-final-muted, #64748b)));
    font-size: 10px;
}

.conversation-context strong[b-t9ilua68cw] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
}

.conversation-context span[b-t9ilua68cw] {
    color: var(--erp-primary, #4f46e5);
    font-size: 10px;
}

.timeline[b-t9ilua68cw] {
    display: grid;
    gap: 10px;
}

.timeline h3[b-t9ilua68cw] {
    margin: 10px 0 2px;
    color: var(--erp-text, var(--erp-final-text, #0f172a));
}

.timeline article[b-t9ilua68cw] {
    display: grid;
    gap: 5px;
    padding: 13px 15px;
    border: 1px solid var(--erp-border, var(--erp-final-border, #e2e8f0));
    border-radius: 13px;
    background: var(--erp-surface-soft, var(--erp-card-soft, #f8fafc));
    color: var(--erp-text, var(--erp-final-text, #0f172a));
}

.timeline article.internal[b-t9ilua68cw] {
    border-color: rgba(245, 158, 11, .32);
    background:
        linear-gradient(rgba(245, 158, 11, .08), rgba(245, 158, 11, .08)),
        var(--erp-surface, var(--erp-card-bg, #fff));
}

.timeline time[b-t9ilua68cw] {
    color: var(--erp-muted-text, var(--erp-muted, var(--erp-final-muted, #64748b)));
    font-size: 10px;
}

.conversation-empty[b-t9ilua68cw] {
    padding: 18px;
    border: 1px dashed var(--erp-border, var(--erp-final-border, #dbe4f0));
    border-radius: 13px;
    color: var(--erp-muted-text, var(--erp-muted, var(--erp-final-muted, #64748b)));
    text-align: center;
    background: var(--erp-surface-soft, var(--erp-card-soft, #f8fafc));
}

.message-head[b-t9ilua68cw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.message-head strong[b-t9ilua68cw] { margin: 0; }

.message-side[b-t9ilua68cw] {
    padding: 3px 8px;
    border-radius: 999px;
    color: var(--erp-primary, #4f46e5);
    background: rgba(var(--erp-primary-rgb, 99, 102, 241), .12);
    font-size: 9px;
}

.timeline article.internal .message-side[b-t9ilua68cw] {
    color: #b45309;
    background: rgba(245, 158, 11, .14);
}

.reply-box[b-t9ilua68cw] {
    display: grid;
    gap: 11px;
    margin-top: 17px;
    padding: 16px;
    border: 1px solid var(--erp-border, var(--erp-final-border, #e2e8f0));
    border-radius: 15px;
    background: var(--erp-surface-soft, var(--erp-card-soft, #f8fafc));
}

.reply-box textarea[b-t9ilua68cw] {
    min-height: 110px;
    resize: vertical;
}

.reply-box button[b-t9ilua68cw] {
    justify-self: start;
    padding: 10px 20px;
    border: 0;
    border-radius: 10px;
    color: var(--erp-on-brand, #fff);
    background: var(--erp-primary, #4f46e5);
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
}

.reply-box button:disabled[b-t9ilua68cw] { opacity: .6; cursor: wait; }

.reply-box input[type=file][b-t9ilua68cw] {
    width: 100%;
    padding: 9px;
    border: 1px dashed var(--erp-border, var(--erp-final-border, #dbe4f0));
    border-radius: 11px;
    color: var(--erp-muted-text, var(--erp-muted, var(--erp-final-muted, #64748b)));
    background: var(--erp-surface, var(--erp-card-bg, #fff));
}

.closed-ticket[b-t9ilua68cw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 17px;
    padding: 16px;
    border: 1px solid rgba(245, 158, 11, .30);
    border-radius: 15px;
    background:
        linear-gradient(rgba(245, 158, 11, .08), rgba(245, 158, 11, .08)),
        var(--erp-surface, var(--erp-card-bg, #fff));
}

.closed-ticket > div[b-t9ilua68cw] {
    display: grid;
    gap: 5px;
}

.closed-ticket span[b-t9ilua68cw] {
    color: var(--erp-muted-text, var(--erp-muted, var(--erp-final-muted, #64748b)));
    font-size: 12px;
}

.reopen-ticket[b-t9ilua68cw] {
    padding: 10px 18px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: #d97706;
    font-family: inherit;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
}

.reopen-ticket:disabled[b-t9ilua68cw] { opacity: .6; cursor: wait; }

.ticket-detail details[b-t9ilua68cw] {
    margin-top: 12px;
    padding: 12px 3px;
    border-top: 1px solid var(--erp-border, var(--erp-final-border, #e2e8f0));
    color: var(--erp-text, var(--erp-final-text, #0f172a));
}

.ticket-detail summary[b-t9ilua68cw] {
    cursor: pointer;
    font-weight: 800;
}

.support-modal-backdrop[b-t9ilua68cw] {
    position: fixed;
    inset: 0;
    z-index: 800;
    background: rgba(2, 6, 23, .55);
    backdrop-filter: blur(7px);
}

.support-modal[b-t9ilua68cw] {
    position: fixed;
    z-index: 801;
    top: 50%;
    left: 50%;
    width: min(650px, calc(100vw - 28px));
    max-height: calc(100dvh - 40px);
    display: flex;
    flex-direction: column;
    transform: translate(-50%, -50%);
    border: 1px solid var(--erp-border, var(--erp-final-border, #e2e8f0));
    border-radius: 22px;
    color: var(--erp-text, var(--erp-final-text, #0f172a));
    background: var(--erp-card-bg, var(--erp-surface, #fff));
    box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
    overflow: hidden;
}

.support-modal header[b-t9ilua68cw],
.support-modal footer[b-t9ilua68cw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 17px 20px;
    border-bottom: 1px solid var(--erp-border, var(--erp-final-border, #e2e8f0));
}

.support-modal header h2[b-t9ilua68cw] {
    margin: 0;
    color: var(--erp-text, var(--erp-final-text, #0f172a));
}

.support-modal header button[b-t9ilua68cw] {
    border: 0;
    color: var(--erp-text, var(--erp-final-text, #0f172a));
    background: transparent;
    font-size: 24px;
}

.support-modal main[b-t9ilua68cw] {
    display: grid;
    gap: 13px;
    padding: 20px;
    overflow: auto;
}

.support-modal label[b-t9ilua68cw] {
    display: grid;
    gap: 6px;
    font-size: 11px;
    font-weight: 900;
}

.form-row[b-t9ilua68cw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.support-modal footer[b-t9ilua68cw] {
    justify-content: flex-end;
    border-top: 1px solid var(--erp-border, var(--erp-final-border, #e2e8f0));
    border-bottom: 0;
}

.support-modal footer button[b-t9ilua68cw] {
    min-width: 110px;
    padding: 10px;
    border: 1px solid var(--erp-border, var(--erp-final-border, #e2e8f0));
    border-radius: 11px;
    color: var(--erp-text, var(--erp-final-text, #0f172a));
    background: var(--erp-surface-soft, var(--erp-card-soft, #f8fafc));
}

.support-modal footer .primary[b-t9ilua68cw] {
    color: var(--erp-on-brand, #fff);
    border: 0;
    background: linear-gradient(135deg, var(--erp-primary, #4f46e5), var(--erp-accent, #7c3aed));
}

@media (max-width: 1000px) {
    .support-kpis[b-t9ilua68cw] { grid-template-columns: repeat(3, 1fr); }
    .support-filters[b-t9ilua68cw] { grid-template-columns: 1fr 1fr; }
    .ticket-meta[b-t9ilua68cw] { grid-template-columns: 1fr 1fr; }
    .conversation-context[b-t9ilua68cw] { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 650px) {
    .support-page[b-t9ilua68cw] { padding: 0; }
    .support-hero[b-t9ilua68cw] { align-items: flex-start; flex-direction: column; padding: 22px; }
    .support-hero button[b-t9ilua68cw] { width: 100%; }
    .support-kpis[b-t9ilua68cw],
    .support-filters[b-t9ilua68cw],
    .form-row[b-t9ilua68cw],
    .ticket-meta[b-t9ilua68cw],
    .conversation-context[b-t9ilua68cw] { grid-template-columns: 1fr; }
    .support-list > article[b-t9ilua68cw] { grid-template-columns: 1fr; }
    .support-list aside[b-t9ilua68cw] { justify-items: start; }
    .support-panel[b-t9ilua68cw] { padding: 13px; border-radius: 16px; }
    .closed-ticket[b-t9ilua68cw] { align-items: stretch; flex-direction: column; }
    .reopen-ticket[b-t9ilua68cw] { width: 100%; }
    .message-head[b-t9ilua68cw] { align-items: flex-start; flex-direction: column; }
}
/* /Components/Pages/TaxSubmissions.razor.rz.scp.css */
.tax-page[b-tkirfb14nd]{display:grid;gap:22px;padding:24px;color:#172033}.tax-hero[b-tkirfb14nd]{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px;border-radius:24px;background:linear-gradient(135deg,#0f766e,#0f4c81);color:#fff;box-shadow:0 18px 50px rgba(15,76,129,.18)}.tax-hero span[b-tkirfb14nd]{font-size:.82rem;font-weight:800;opacity:.82}.tax-hero h1[b-tkirfb14nd]{margin:7px 0 8px;font-size:1.65rem}.tax-hero p[b-tkirfb14nd]{margin:0;opacity:.85}.tax-stats[b-tkirfb14nd]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.tax-stats article[b-tkirfb14nd],.tax-card[b-tkirfb14nd]{background:#fff;border:1px solid #e5eaf1;border-radius:20px;box-shadow:0 12px 35px rgba(15,23,42,.06)}.tax-stats article[b-tkirfb14nd]{display:grid;gap:8px;padding:20px}.tax-stats span[b-tkirfb14nd]{color:#64748b;font-size:.88rem}.tax-stats strong[b-tkirfb14nd]{font-size:1.65rem;color:#0f766e}.tax-card[b-tkirfb14nd]{overflow:hidden}.tax-card>header[b-tkirfb14nd]{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;border-bottom:1px solid #edf0f4}.tax-card h2[b-tkirfb14nd]{margin:0 0 5px;font-size:1.08rem}.tax-card p[b-tkirfb14nd]{margin:0;color:#64748b;font-size:.86rem}.tax-settings-grid[b-tkirfb14nd]{display:grid;grid-template-columns:180px minmax(220px,1fr) 2fr;gap:16px;align-items:end;padding:22px}.tax-settings-grid label[b-tkirfb14nd]{display:grid;gap:8px}.tax-settings-grid label>span[b-tkirfb14nd]{color:#475569;font-size:.84rem;font-weight:800}.tax-settings-grid input[b-tkirfb14nd],.tax-settings-grid select[b-tkirfb14nd],.tax-settings-grid textarea[b-tkirfb14nd],.mapping-search[b-tkirfb14nd],.mapping-input[b-tkirfb14nd]{width:100%;border:1px solid #d8e0e9;border-radius:11px;padding:0 12px;background:#fff;color:#172033;font:inherit;outline:0}.tax-settings-grid input[b-tkirfb14nd],.tax-settings-grid select[b-tkirfb14nd],.mapping-search[b-tkirfb14nd],.mapping-input[b-tkirfb14nd]{height:44px}.tax-settings-grid textarea[b-tkirfb14nd]{padding:12px;resize:vertical;font-size:.78rem}.tax-settings-grid input:focus[b-tkirfb14nd],.tax-settings-grid select:focus[b-tkirfb14nd],.tax-settings-grid textarea:focus[b-tkirfb14nd],.mapping-search:focus[b-tkirfb14nd],.mapping-input:focus[b-tkirfb14nd]{border-color:#0f766e;box-shadow:0 0 0 3px rgba(15,118,110,.12)}.credential-field[b-tkirfb14nd]{grid-column:span 1}.tax-settings-actions[b-tkirfb14nd]{display:flex;align-items:end;gap:10px}.settings-actions-wide[b-tkirfb14nd]{grid-column:1/-1}.mapping-search[b-tkirfb14nd]{max-width:300px}.mapping-product-code[b-tkirfb14nd]{display:block;margin-top:4px;color:#94a3b8;direction:ltr;text-align:right}.tax-table-wrap[b-tkirfb14nd]{overflow:auto}table[b-tkirfb14nd]{width:100%;border-collapse:collapse;min-width:780px}th[b-tkirfb14nd],td[b-tkirfb14nd]{padding:14px 16px;text-align:right;border-bottom:1px solid #edf0f4;font-size:.88rem}th[b-tkirfb14nd]{color:#64748b;background:#f8fafc;font-weight:800}tbody tr:hover[b-tkirfb14nd]{background:#f8fffe}.tax-button[b-tkirfb14nd]{border:0;border-radius:11px;padding:10px 15px;background:#0f766e;color:#fff;font:inherit;font-weight:800;cursor:pointer}.tax-button:hover:not(:disabled)[b-tkirfb14nd]{background:#0b5e58}.tax-button.outline[b-tkirfb14nd]{color:#0f766e;background:#fff;border:1px solid #0f766e}.tax-button.secondary[b-tkirfb14nd]{background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.35)}.tax-button:disabled[b-tkirfb14nd]{opacity:.55;cursor:wait}.tax-status[b-tkirfb14nd]{display:inline-flex;padding:6px 10px;border-radius:999px;font-size:.78rem;font-weight:900}.tax-status.success[b-tkirfb14nd]{color:#047857;background:#d1fae5}.tax-status.failed[b-tkirfb14nd]{color:#b91c1c;background:#fee2e2}.tax-status.pending[b-tkirfb14nd]{color:#a16207;background:#fef3c7}.tracking[b-tkirfb14nd]{direction:ltr;text-align:right;font-family:monospace}.tax-state[b-tkirfb14nd],.tax-empty[b-tkirfb14nd]{padding:30px;text-align:center;color:#64748b}.tax-message[b-tkirfb14nd]{padding:14px 18px;border-radius:14px;font-weight:700}.tax-message.success[b-tkirfb14nd]{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0}.tax-message.error[b-tkirfb14nd]{color:#b91c1c;background:#fff1f2;border:1px solid #fecdd3}details summary[b-tkirfb14nd]{cursor:pointer;color:#0f766e;font-weight:800}details pre[b-tkirfb14nd]{max-width:460px;white-space:pre-wrap;direction:ltr;text-align:left;padding:12px;border-radius:10px;background:#0f172a;color:#e2e8f0;font-size:.75rem}@media(max-width:1100px){.tax-settings-grid[b-tkirfb14nd]{grid-template-columns:1fr 1fr}.api-url-field[b-tkirfb14nd],.settings-actions-wide[b-tkirfb14nd]{grid-column:1/-1}}@media(max-width:760px){.tax-page[b-tkirfb14nd]{padding:14px}.tax-hero[b-tkirfb14nd],.tax-card>header[b-tkirfb14nd]{align-items:flex-start;flex-direction:column}.tax-stats[b-tkirfb14nd],.tax-settings-grid[b-tkirfb14nd]{grid-template-columns:1fr}.api-url-field[b-tkirfb14nd],.credential-field[b-tkirfb14nd],.settings-actions-wide[b-tkirfb14nd]{grid-column:auto}.mapping-search[b-tkirfb14nd]{max-width:none}}

.mapping-search-wrap[b-tkirfb14nd]{display:grid;gap:6px;min-width:min(300px,100%)}.tax-inline-loading[b-tkirfb14nd]{color:#64748b;font-size:.76rem}.tax-pagination[b-tkirfb14nd]{display:flex;align-items:center;justify-content:center;gap:12px;padding:14px 18px;border-top:1px solid #edf0f4;background:#fbfdff}.tax-pagination span[b-tkirfb14nd]{color:#64748b;font-size:.82rem;font-weight:800}.tax-pagination button[b-tkirfb14nd]{border:1px solid #d8e0e9;border-radius:10px;padding:8px 14px;background:#fff;color:#0f766e;font:inherit;font-weight:900;cursor:pointer}.tax-pagination button:hover:not(:disabled)[b-tkirfb14nd]{border-color:#0f766e;background:#ecfdf5}.tax-pagination button:disabled[b-tkirfb14nd]{opacity:.45;cursor:not-allowed}@media(max-width:760px){.mapping-search-wrap[b-tkirfb14nd]{width:100%}.tax-pagination[b-tkirfb14nd]{justify-content:space-between;gap:8px}.tax-pagination span[b-tkirfb14nd]{font-size:.74rem}.tax-pagination button[b-tkirfb14nd]{padding:8px 11px}}
/* /Components/Pages/ThemeMarketplace.razor.rz.scp.css */
.theme-grid[b-ns4k7fszm9] {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(330px,1fr));
    gap: 20px;
}

.theme-card[b-ns4k7fszm9] {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    transition: .25s;
}

    .theme-card:hover[b-ns4k7fszm9] {
        transform: translateY(-4px);
    }

.theme-preview[b-ns4k7fszm9] {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.theme-body[b-ns4k7fszm9] {
    padding: 20px;
}

.theme-colors[b-ns4k7fszm9] {
    display: flex;
    gap: 10px;
    margin: 12px 0;
}

    .theme-colors span[b-ns4k7fszm9] {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        border: 1px solid #ddd;
    }

.theme-footer[b-ns4k7fszm9] {
    display: flex;
    justify-content: space-between;
    color: #64748b;
    margin-top: 15px;
}
/* /Components/Pages/TorobStoreIntelligence.razor.rz.scp.css */
body.erpdb-light .storeintel[b-lrsv82hlxk]{--si-bg:#f7f8fb;--si-surface:#fff;--si-soft:#f2f3f7;--si-text:#191b23;--si-muted:#747986;--si-line:#e4e6ec;--si-primary:#5947e8;--si-primary-soft:#efedff;--si-good:#16855c;--si-good-soft:#e8f7f0;--si-warn:#be711a;--si-warn-soft:#fff4e4;--si-danger:#c33f46;--si-danger-soft:#fff0f1;--si-shadow:0 8px 24px rgba(20,25,40,.05)}
body.erpdb-dark .storeintel[b-lrsv82hlxk]{--si-bg:#0b1018;--si-surface:#121822;--si-soft:#1a222f;--si-text:#f5f6fa;--si-muted:#9da5b3;--si-line:#293344;--si-primary:#8c80ff;--si-primary-soft:rgba(112,96,255,.16);--si-good:#70d5ab;--si-good-soft:rgba(36,167,108,.14);--si-warn:#ffc06a;--si-warn-soft:rgba(226,145,35,.14);--si-danger:#ff9da2;--si-danger-soft:rgba(207,58,68,.14);--si-shadow:none}
.storeintel[b-lrsv82hlxk]{min-height:100%;padding:22px 24px 38px;border-radius:22px;background:var(--si-bg);color:var(--si-text)}.storeintel button[b-lrsv82hlxk],.storeintel input[b-lrsv82hlxk]{font:inherit}.storeintel button[b-lrsv82hlxk]{cursor:pointer}.storeintel button:disabled[b-lrsv82hlxk]{opacity:.5;cursor:not-allowed}
.storeintel-head[b-lrsv82hlxk]{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.storeintel-head span[b-lrsv82hlxk]{color:var(--si-primary);font-size:.72rem;font-weight:900}.storeintel-head h1[b-lrsv82hlxk]{margin:3px 0;font-size:1.7rem;font-weight:950}.storeintel-head p[b-lrsv82hlxk]{margin:0;color:var(--si-muted);font-size:.82rem}.storeintel-head-actions[b-lrsv82hlxk]{display:flex;align-items:center;gap:7px}.storeintel-head-actions i[b-lrsv82hlxk]{padding:8px 11px;border-radius:999px;font-size:.7rem;font-style:normal;font-weight:850}.storeintel-head-actions i.online[b-lrsv82hlxk]{background:var(--si-good-soft);color:var(--si-good)}.storeintel-head-actions i.offline[b-lrsv82hlxk]{background:var(--si-danger-soft);color:var(--si-danger)}.storeintel-head-actions button[b-lrsv82hlxk]{width:40px;height:40px;border:1px solid var(--si-line);border-radius:12px;background:var(--si-surface);color:var(--si-text);font-size:1.2rem}.extension-download[b-lrsv82hlxk]{padding:9px 12px;border:1px solid var(--si-line);border-radius:11px;background:var(--si-surface);color:var(--si-primary);text-decoration:none;font-size:.7rem;font-weight:900;white-space:nowrap}
.storeintel-alert[b-lrsv82hlxk]{margin:9px 0;padding:11px 14px;border-radius:13px;background:var(--si-primary-soft);font-size:.78rem;line-height:1.8}.storeintel-alert.error[b-lrsv82hlxk]{background:var(--si-danger-soft);color:var(--si-danger)}
.storeintel-start[b-lrsv82hlxk]{display:grid;gap:12px;padding:18px;border:1px solid var(--si-line);border-radius:19px;background:var(--si-surface);box-shadow:var(--si-shadow)}.storeintel-start-copy[b-lrsv82hlxk]{display:grid;gap:3px}.storeintel-start-copy strong[b-lrsv82hlxk]{font-size:.95rem}.storeintel-start-copy small[b-lrsv82hlxk]{color:var(--si-muted);font-size:.72rem}.storeintel-search[b-lrsv82hlxk]{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;border:1px solid var(--si-line);border-radius:15px;background:var(--si-soft);overflow:hidden}.storeintel-search>span[b-lrsv82hlxk]{padding:0 13px;color:var(--si-muted);font-size:1.3rem}.storeintel-search input[b-lrsv82hlxk]{height:50px;border:0;outline:0;background:transparent;color:var(--si-text)}.storeintel-search button[b-lrsv82hlxk]{align-self:stretch;margin:4px;border:0;border-radius:11px;padding:0 20px;background:var(--si-primary);color:#fff;font-size:.78rem;font-weight:900}.storeintel-progress[b-lrsv82hlxk]{display:grid;gap:8px;padding:12px;border-radius:14px;background:var(--si-primary-soft)}.storeintel-progress>div:first-child[b-lrsv82hlxk]{display:flex;justify-content:space-between;gap:10px;font-size:.72rem}.storeintel-progress .track[b-lrsv82hlxk]{height:5px;border-radius:99px;background:color-mix(in srgb,var(--si-primary) 14%,transparent);overflow:hidden}.storeintel-progress .track i[b-lrsv82hlxk]{display:block;height:100%;border-radius:inherit;background:var(--si-primary);transition:width .3s}.storeintel-progress small[b-lrsv82hlxk]{color:var(--si-muted);font-size:.65rem;line-height:1.7}
.storeintel-confirm[b-lrsv82hlxk]{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border:1px solid color-mix(in srgb,var(--si-primary) 38%,var(--si-line));border-radius:16px;background:var(--si-primary-soft)}.storeintel-confirm-profile[b-lrsv82hlxk]{display:flex;align-items:center;gap:12px;min-width:0}.storeintel-confirm-profile>img[b-lrsv82hlxk],.storeintel-confirm-profile>i[b-lrsv82hlxk]{width:72px;height:72px;flex:0 0 72px;border-radius:18px;object-fit:contain;background:#fff}.storeintel-confirm-profile>i[b-lrsv82hlxk]{display:grid;place-items:center;background:var(--si-surface);color:var(--si-primary);font-style:normal;font-size:1.45rem;font-weight:950}.storeintel-confirm-profile>div[b-lrsv82hlxk]{display:grid;gap:2px;min-width:0}.storeintel-confirm-profile span[b-lrsv82hlxk]{color:var(--si-primary);font-size:.65rem;font-weight:900}.storeintel-confirm-profile h3[b-lrsv82hlxk]{margin:1px 0;font-size:1.05rem}.storeintel-confirm-profile p[b-lrsv82hlxk]{margin:0;color:var(--si-text);font-size:.72rem}.storeintel-confirm-profile small[b-lrsv82hlxk]{max-width:520px;color:var(--si-warn);font-size:.63rem;line-height:1.7}.storeintel-confirm-actions[b-lrsv82hlxk]{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.storeintel-confirm-actions a[b-lrsv82hlxk],.storeintel-confirm-actions button[b-lrsv82hlxk]{padding:10px 12px;border:1px solid var(--si-line);border-radius:11px;background:var(--si-surface);color:var(--si-text);text-decoration:none;font-size:.68rem;font-weight:900;white-space:nowrap}.storeintel-confirm-actions button.reject[b-lrsv82hlxk]{color:var(--si-danger)}.storeintel-confirm-actions button.accept[b-lrsv82hlxk]{border-color:transparent;background:var(--si-primary);color:#fff}
.storeintel-store-picker[b-lrsv82hlxk]{display:flex;gap:8px;overflow:auto;padding:13px 1px}.storeintel-store-picker button[b-lrsv82hlxk]{display:flex;align-items:center;gap:9px;min-width:180px;padding:9px;border:1px solid var(--si-line);border-radius:14px;background:var(--si-surface);color:var(--si-text);text-align:right}.storeintel-store-picker button.active[b-lrsv82hlxk]{border-color:var(--si-primary);background:var(--si-primary-soft)}.storeintel-store-picker img[b-lrsv82hlxk],.storeintel-store-picker i[b-lrsv82hlxk]{width:38px;height:38px;border-radius:12px;object-fit:cover}.storeintel-store-picker i[b-lrsv82hlxk]{display:grid;place-items:center;background:var(--si-soft);color:var(--si-primary);font-style:normal;font-weight:900}.storeintel-store-picker span[b-lrsv82hlxk]{display:grid;min-width:0}.storeintel-store-picker strong[b-lrsv82hlxk],.storeintel-store-picker small[b-lrsv82hlxk]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.storeintel-store-picker strong[b-lrsv82hlxk]{font-size:.75rem}.storeintel-store-picker small[b-lrsv82hlxk]{color:var(--si-muted);font-size:.62rem}
.storeintel-profile[b-lrsv82hlxk]{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:3px;padding:16px;border:1px solid var(--si-line);border-radius:19px;background:var(--si-surface)}.profile-main[b-lrsv82hlxk]{display:flex;align-items:center;gap:12px}.profile-main>img[b-lrsv82hlxk],.profile-main>i[b-lrsv82hlxk]{width:64px;height:64px;border-radius:18px;object-fit:cover}.profile-main>i[b-lrsv82hlxk]{display:grid;place-items:center;background:var(--si-primary-soft);color:var(--si-primary);font-style:normal;font-size:1.35rem;font-weight:950}.profile-main>div>span[b-lrsv82hlxk]{display:inline-block;padding:3px 8px;border-radius:99px;background:var(--si-primary-soft);color:var(--si-primary);font-size:.63rem;font-weight:900}.profile-main h2[b-lrsv82hlxk]{margin:5px 0 2px;font-size:1.2rem}.profile-main p[b-lrsv82hlxk]{margin:0;color:var(--si-muted);font-size:.7rem}.profile-main a[b-lrsv82hlxk]{color:var(--si-primary);text-decoration:none}.profile-actions[b-lrsv82hlxk]{display:flex;gap:7px;flex-wrap:wrap}.profile-actions a[b-lrsv82hlxk],.profile-actions button[b-lrsv82hlxk]{border:1px solid var(--si-line);border-radius:11px;padding:9px 11px;background:var(--si-soft);color:var(--si-text);text-decoration:none;font-size:.7rem;font-weight:850}.profile-actions button[b-lrsv82hlxk]{background:var(--si-primary);color:#fff;border-color:transparent}
.storeintel-tabs[b-lrsv82hlxk]{display:grid;grid-template-columns:repeat(4,1fr);margin-top:12px;border-bottom:1px solid var(--si-line)}.storeintel-tabs button[b-lrsv82hlxk]{display:flex;align-items:center;justify-content:center;gap:5px;padding:13px 8px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--si-muted);font-size:.78rem;font-weight:900}.storeintel-tabs button.active[b-lrsv82hlxk]{border-color:var(--si-primary);color:var(--si-primary)}.storeintel-tabs i[b-lrsv82hlxk]{padding:2px 5px;border-radius:99px;background:var(--si-soft);font-size:.58rem;font-style:normal}
.storeintel-metrics[b-lrsv82hlxk]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:13px}.storeintel-metrics article[b-lrsv82hlxk]{display:grid;gap:3px;min-height:105px;padding:14px;border:1px solid var(--si-line);border-radius:16px;background:var(--si-surface)}.storeintel-metrics span[b-lrsv82hlxk]{color:var(--si-muted);font-size:.68rem}.storeintel-metrics strong[b-lrsv82hlxk]{font-size:1.4rem}.storeintel-metrics small[b-lrsv82hlxk]{align-self:end;color:var(--si-muted);font-size:.61rem}.storeintel-metrics .good strong[b-lrsv82hlxk]{color:var(--si-good)}.storeintel-metrics .warn strong[b-lrsv82hlxk]{color:var(--si-warn)}.storeintel-metrics .opportunity strong[b-lrsv82hlxk]{color:var(--si-primary)}.storeintel-metrics strong.date[b-lrsv82hlxk]{font-size:.88rem}
.storeintel-preview[b-lrsv82hlxk]{margin-top:10px;padding:14px;border:1px solid var(--si-line);border-radius:17px;background:var(--si-surface)}.storeintel-preview>div:first-child[b-lrsv82hlxk],.storeintel-section-head[b-lrsv82hlxk]{display:flex;align-items:center;justify-content:space-between}.storeintel-preview h3[b-lrsv82hlxk],.storeintel-section-head h3[b-lrsv82hlxk]{margin:0;font-size:.88rem}.storeintel-preview>div>button[b-lrsv82hlxk]{border:0;background:transparent;color:var(--si-primary);font-size:.68rem;font-weight:900}.storeintel-preview-row[b-lrsv82hlxk]{display:grid;grid-template-columns:minmax(0,1fr) auto 14px;gap:8px;width:100%;padding:11px 2px;border:0;border-top:1px solid var(--si-line);background:transparent;color:var(--si-text);text-align:right}.storeintel-preview-row span[b-lrsv82hlxk]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.72rem}.storeintel-preview-row b[b-lrsv82hlxk]{color:var(--si-danger);font-size:.68rem}
.storeintel-section-head[b-lrsv82hlxk]{padding:16px 2px 9px}.storeintel-section-head small[b-lrsv82hlxk]{color:var(--si-muted);font-size:.65rem}.storeintel-competitors[b-lrsv82hlxk]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.storeintel-competitors article[b-lrsv82hlxk]{display:grid;grid-template-columns:42px minmax(0,1fr);gap:9px;padding:13px;border:1px solid var(--si-line);border-radius:17px;background:var(--si-surface)}.storeintel-competitors article>i[b-lrsv82hlxk]{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--si-primary-soft);color:var(--si-primary);font-style:normal;font-weight:900}.storeintel-competitors h3[b-lrsv82hlxk]{margin:2px 0;font-size:.82rem}.storeintel-competitors small[b-lrsv82hlxk]{color:var(--si-muted);font-size:.63rem}.storeintel-competitors dl[b-lrsv82hlxk]{display:grid;grid-template-columns:repeat(3,1fr);grid-column:1/-1;margin:4px 0 0;padding-top:9px;border-top:1px solid var(--si-line)}.storeintel-competitors dl div[b-lrsv82hlxk]{display:grid;gap:3px;text-align:center}.storeintel-competitors dt[b-lrsv82hlxk]{color:var(--si-muted);font-size:.6rem}.storeintel-competitors dd[b-lrsv82hlxk]{margin:0;font-size:.84rem;font-weight:900}
.storeintel-product-toolbar[b-lrsv82hlxk]{display:flex;gap:8px;align-items:center;margin:12px 0}.storeintel-product-toolbar label[b-lrsv82hlxk]{display:flex;align-items:center;gap:7px;flex:1;padding:0 11px;border:1px solid var(--si-line);border-radius:13px;background:var(--si-surface)}.storeintel-product-toolbar input[b-lrsv82hlxk]{width:100%;height:42px;border:0;outline:0;background:transparent;color:var(--si-text)}.storeintel-product-toolbar>div[b-lrsv82hlxk]{display:flex;gap:4px;overflow:auto}.storeintel-product-toolbar button[b-lrsv82hlxk]{border:0;border-radius:10px;padding:9px 10px;background:var(--si-soft);color:var(--si-muted);white-space:nowrap;font-size:.68rem;font-weight:850}.storeintel-product-toolbar button.active[b-lrsv82hlxk]{background:var(--si-primary-soft);color:var(--si-primary)}.storeintel-products[b-lrsv82hlxk]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-card[b-lrsv82hlxk]{overflow:hidden;border:1px solid var(--si-line);border-radius:18px;background:var(--si-surface)}.product-title[b-lrsv82hlxk]{display:grid;grid-template-columns:54px minmax(0,1fr) 48px;align-items:center;gap:10px;padding:13px}.product-title img[b-lrsv82hlxk],.product-title>i[b-lrsv82hlxk]{width:54px;height:54px;border-radius:13px;object-fit:contain;background:#fff}.product-title>i[b-lrsv82hlxk]{display:grid;place-items:center;background:var(--si-primary-soft);color:var(--si-primary);font-style:normal;font-weight:900}.product-title h3[b-lrsv82hlxk]{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 3px;font-size:.8rem;line-height:1.7}.product-title small[b-lrsv82hlxk]{color:var(--si-muted);font-size:.61rem}.product-title .rank[b-lrsv82hlxk]{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--si-soft);font-weight:950}.product-title .rank.first[b-lrsv82hlxk]{background:var(--si-primary);color:#fff}.product-title .rank small[b-lrsv82hlxk]{font-size:.52rem}.prices[b-lrsv82hlxk]{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:0 13px 11px}.prices>div[b-lrsv82hlxk]{display:grid;gap:3px;padding:9px;border-radius:11px;background:var(--si-soft)}.prices span[b-lrsv82hlxk]{color:var(--si-muted);font-size:.57rem}.prices strong[b-lrsv82hlxk]{font-size:.7rem}.prices .bad strong[b-lrsv82hlxk]{color:var(--si-danger)}.prices .good strong[b-lrsv82hlxk]{color:var(--si-good)}.product-error[b-lrsv82hlxk]{margin:0 13px 10px;padding:8px;border-radius:9px;background:var(--si-danger-soft);color:var(--si-danger);font-size:.62rem}.sellers-toggle[b-lrsv82hlxk]{display:flex;justify-content:space-between;width:100%;padding:10px 13px;border:0;border-top:1px solid var(--si-line);background:transparent;color:var(--si-primary);font-size:.68rem;font-weight:900}.seller-list[b-lrsv82hlxk]{display:grid;gap:5px;padding:9px;background:var(--si-soft)}.seller-list a[b-lrsv82hlxk]{display:grid;grid-template-columns:29px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px;border:1px solid var(--si-line);border-radius:10px;background:var(--si-surface);color:var(--si-text);text-decoration:none}.seller-list a>i[b-lrsv82hlxk]{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--si-soft);font-style:normal;font-size:.67rem;font-weight:900}.seller-list a>i.first[b-lrsv82hlxk]{background:var(--si-primary);color:#fff}.seller-list span[b-lrsv82hlxk]{display:grid}.seller-list strong[b-lrsv82hlxk],.seller-list small[b-lrsv82hlxk]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.seller-list strong[b-lrsv82hlxk]{font-size:.68rem}.seller-list small[b-lrsv82hlxk]{color:var(--si-muted);font-size:.56rem}.seller-list a>b[b-lrsv82hlxk]{font-size:.65rem;white-space:nowrap}
.storeintel-history[b-lrsv82hlxk]{display:grid;gap:7px;padding-top:12px}.storeintel-history>button[b-lrsv82hlxk]{display:grid;grid-template-columns:minmax(0,1.4fr) .7fr .7fr 16px;align-items:center;gap:8px;padding:12px;border:1px solid var(--si-line);border-radius:13px;background:var(--si-surface);color:var(--si-text);text-align:right}.storeintel-history>button.active[b-lrsv82hlxk]{border-color:var(--si-primary);background:var(--si-primary-soft)}.storeintel-history span:first-child[b-lrsv82hlxk]{display:grid}.storeintel-history strong[b-lrsv82hlxk]{font-size:.7rem}.storeintel-history small[b-lrsv82hlxk],.storeintel-history span[b-lrsv82hlxk]{font-size:.62rem;color:var(--si-muted)}.storeintel-history i[b-lrsv82hlxk]{font-style:normal;font-size:1rem}.storeintel-empty[b-lrsv82hlxk]{display:grid;place-items:center;padding:48px 18px;margin-top:13px;border:1px dashed var(--si-line);border-radius:19px;background:var(--si-surface);text-align:center}.storeintel-empty>i[b-lrsv82hlxk]{display:grid;place-items:center;width:55px;height:55px;border-radius:18px;background:var(--si-primary-soft);color:var(--si-primary);font-size:1.5rem;font-style:normal}.storeintel-empty h2[b-lrsv82hlxk]{margin:12px 0 4px;font-size:1rem}.storeintel-empty p[b-lrsv82hlxk]{max-width:520px;margin:0;color:var(--si-muted);font-size:.74rem;line-height:1.8}.storeintel-loading[b-lrsv82hlxk]{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:12px}.storeintel-loading i[b-lrsv82hlxk]{height:105px;border-radius:16px;background:var(--si-surface)}
@media(max-width:1000px){.storeintel-metrics[b-lrsv82hlxk]{grid-template-columns:repeat(2,1fr)}.storeintel-products[b-lrsv82hlxk],.storeintel-competitors[b-lrsv82hlxk]{grid-template-columns:1fr}.storeintel-confirm[b-lrsv82hlxk]{align-items:flex-start;flex-direction:column}.storeintel-confirm-actions[b-lrsv82hlxk]{width:100%;justify-content:flex-start}}
@media(max-width:700px){.storeintel[b-lrsv82hlxk]{padding:14px 10px 30px;border-radius:16px}.storeintel-head[b-lrsv82hlxk]{align-items:flex-start}.storeintel-head h1[b-lrsv82hlxk]{font-size:1.35rem}.storeintel-head p[b-lrsv82hlxk]{display:none}.storeintel-head-actions[b-lrsv82hlxk]{flex-wrap:wrap;justify-content:flex-end}.storeintel-head-actions i[b-lrsv82hlxk]{display:none}.extension-download[b-lrsv82hlxk]{font-size:.64rem;padding:8px 9px}.storeintel-search[b-lrsv82hlxk]{grid-template-columns:auto 1fr}.storeintel-search button[b-lrsv82hlxk]{grid-column:1/-1;min-height:42px}.storeintel-confirm-profile>img[b-lrsv82hlxk],.storeintel-confirm-profile>i[b-lrsv82hlxk]{width:58px;height:58px;flex-basis:58px}.storeintel-confirm-actions[b-lrsv82hlxk]{display:grid;grid-template-columns:1fr 1fr}.storeintel-confirm-actions .accept[b-lrsv82hlxk]{grid-column:1/-1}.storeintel-profile[b-lrsv82hlxk]{align-items:flex-start;flex-direction:column}.profile-actions[b-lrsv82hlxk]{width:100%}.profile-actions>*[b-lrsv82hlxk]{flex:1;text-align:center}.storeintel-product-toolbar[b-lrsv82hlxk]{align-items:stretch;flex-direction:column}.prices[b-lrsv82hlxk]{grid-template-columns:1fr 1fr}.prices>div:last-child[b-lrsv82hlxk]{grid-column:1/-1}.storeintel-start[b-lrsv82hlxk]{padding:13px}}
@media(max-width:430px){.storeintel-metrics[b-lrsv82hlxk]{gap:6px}.storeintel-metrics article[b-lrsv82hlxk]{min-height:95px;padding:11px}.storeintel-tabs button[b-lrsv82hlxk]{font-size:.7rem}.product-title[b-lrsv82hlxk]{grid-template-columns:48px minmax(0,1fr) 44px;padding:10px}.product-title img[b-lrsv82hlxk],.product-title>i[b-lrsv82hlxk]{width:48px;height:48px}.storeintel-history>button[b-lrsv82hlxk]{grid-template-columns:1fr auto 14px}.storeintel-history>button>span:nth-child(3)[b-lrsv82hlxk]{display:none}.storeintel-confirm-actions[b-lrsv82hlxk]{grid-template-columns:1fr}.storeintel-confirm-actions .accept[b-lrsv82hlxk]{grid-column:auto}}

/* Shopliza-inspired information hierarchy: compact controls, strong summary and clear onboarding. */
.storeintel-bridge-help[b-lrsv82hlxk]{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:9px 0;padding:13px 15px;border:1px solid color-mix(in srgb,var(--si-warn) 35%,var(--si-line));border-radius:14px;background:var(--si-warn-soft)}
.storeintel-bridge-help>div[b-lrsv82hlxk]{display:grid;gap:3px}.storeintel-bridge-help strong[b-lrsv82hlxk]{font-size:.78rem}.storeintel-bridge-help small[b-lrsv82hlxk]{color:var(--si-muted);font-size:.66rem;line-height:1.7}.storeintel-bridge-help a[b-lrsv82hlxk]{flex:0 0 auto;padding:9px 13px;border-radius:10px;background:var(--si-text);color:var(--si-surface);text-decoration:none;font-size:.68rem;font-weight:900}
.storeintel-overview[b-lrsv82hlxk]{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-top:15px;padding:0 2px}.storeintel-overview>div[b-lrsv82hlxk]{display:grid;gap:2px}.storeintel-overview strong[b-lrsv82hlxk]{font-size:.9rem}.storeintel-overview small[b-lrsv82hlxk],.storeintel-overview>span[b-lrsv82hlxk]{color:var(--si-muted);font-size:.64rem}
.primary-metrics[b-lrsv82hlxk]{margin-top:8px}.primary-metrics article[b-lrsv82hlxk]{position:relative;overflow:hidden}.primary-metrics article[b-lrsv82hlxk]:after{content:"";position:absolute;inset-inline-start:0;top:0;width:3px;height:100%;background:var(--si-line)}.primary-metrics article.good[b-lrsv82hlxk]:after{background:var(--si-good)}.primary-metrics article.warn[b-lrsv82hlxk]:after{background:var(--si-warn)}
@media(max-width:700px){.storeintel-bridge-help[b-lrsv82hlxk]{align-items:stretch;flex-direction:column}.storeintel-bridge-help a[b-lrsv82hlxk]{text-align:center}.storeintel-overview[b-lrsv82hlxk]{align-items:start}}


/* Full competitive-intelligence dashboard */
.storeintel[b-lrsv82hlxk]{background:linear-gradient(180deg,color-mix(in srgb,var(--si-primary) 3%,var(--si-bg)),var(--si-bg) 260px);max-width:1600px;margin-inline:auto}
.storeintel-head[b-lrsv82hlxk]{padding:6px 4px 12px;border-bottom:1px solid var(--si-line)}.storeintel-head h1[b-lrsv82hlxk]{font-size:1.9rem;letter-spacing:-.025em}.storeintel-head p[b-lrsv82hlxk]{max-width:720px;line-height:1.9}
.storeintel-start[b-lrsv82hlxk]{margin-top:14px;border-radius:22px;box-shadow:0 10px 32px color-mix(in srgb,var(--si-text) 5%,transparent)}
.storeintel-overview[b-lrsv82hlxk]{margin-top:22px}.storeintel-overview strong[b-lrsv82hlxk]{font-size:1.08rem}.storeintel-overview small[b-lrsv82hlxk]{margin-top:3px}
.primary-metrics[b-lrsv82hlxk]{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.primary-metrics .hero-metric[b-lrsv82hlxk]{min-height:132px;padding:18px;border-radius:20px;box-shadow:var(--si-shadow)}.primary-metrics .hero-metric strong[b-lrsv82hlxk]{font-size:2rem;line-height:1.2}.primary-metrics .hero-metric span[b-lrsv82hlxk]{font-size:.73rem;font-weight:850}.primary-metrics .hero-metric small[b-lrsv82hlxk]{font-size:.64rem}
.rank-board[b-lrsv82hlxk]{margin-top:12px;padding:17px;border:1px solid var(--si-line);border-radius:20px;background:var(--si-surface);box-shadow:var(--si-shadow)}.rank-board-head[b-lrsv82hlxk]{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.rank-board-head>div[b-lrsv82hlxk]{display:grid;gap:3px}.rank-board-head strong[b-lrsv82hlxk]{font-size:.9rem}.rank-board-head small[b-lrsv82hlxk]{color:var(--si-muted);font-size:.64rem}.rank-board-head button[b-lrsv82hlxk]{border:0;background:transparent;color:var(--si-primary);font-size:.68rem;font-weight:900}
.rank-buckets[b-lrsv82hlxk]{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.rank-buckets article[b-lrsv82hlxk]{position:relative;display:grid;gap:2px;min-height:108px;padding:13px;border:1px solid var(--si-line);border-radius:15px;background:var(--si-soft);overflow:hidden}.rank-buckets article[b-lrsv82hlxk]:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:var(--si-line)}.rank-buckets b[b-lrsv82hlxk]{font-size:1.45rem}.rank-buckets span[b-lrsv82hlxk]{font-size:.68rem;font-weight:900}.rank-buckets small[b-lrsv82hlxk]{align-self:end;color:var(--si-muted);font-size:.58rem}.rank-buckets .rank-best[b-lrsv82hlxk]{background:var(--si-good-soft)}.rank-buckets .rank-best[b-lrsv82hlxk]:before{background:var(--si-good)}.rank-buckets .rank-best b[b-lrsv82hlxk]{color:var(--si-good)}.rank-buckets .rank-warn[b-lrsv82hlxk]{background:var(--si-warn-soft)}.rank-buckets .rank-warn[b-lrsv82hlxk]:before{background:var(--si-warn)}.rank-buckets .rank-danger[b-lrsv82hlxk]{background:var(--si-danger-soft)}.rank-buckets .rank-danger[b-lrsv82hlxk]:before{background:var(--si-danger)}.rank-buckets .rank-danger b[b-lrsv82hlxk]{color:var(--si-danger)}
.storeintel-profile[b-lrsv82hlxk]{margin-top:12px}.storeintel-tabs[b-lrsv82hlxk]{position:sticky;top:0;z-index:3;border:1px solid var(--si-line);border-radius:15px;background:var(--si-surface);overflow:hidden}.storeintel-tabs button[b-lrsv82hlxk]{border-bottom:0;border-inline-end:1px solid var(--si-line)}.storeintel-tabs button:last-child[b-lrsv82hlxk]{border-inline-end:0}.storeintel-tabs button.active[b-lrsv82hlxk]{background:var(--si-primary-soft);box-shadow:inset 0 -3px var(--si-primary)}
.storeintel-competitors article[b-lrsv82hlxk]{box-shadow:var(--si-shadow)}.storeintel-products[b-lrsv82hlxk]{gap:12px}.product-card[b-lrsv82hlxk]{box-shadow:var(--si-shadow)}.product-title .rank[b-lrsv82hlxk]{border:1px solid var(--si-line)}.product-title .rank.first[b-lrsv82hlxk]{border-color:transparent;box-shadow:0 6px 16px color-mix(in srgb,var(--si-primary) 25%,transparent)}
@media(max-width:1200px){.rank-buckets[b-lrsv82hlxk]{grid-template-columns:repeat(4,1fr)}}@media(max-width:760px){.rank-buckets[b-lrsv82hlxk]{grid-template-columns:repeat(2,1fr)}.primary-metrics[b-lrsv82hlxk]{grid-template-columns:repeat(2,1fr)}.storeintel-head h1[b-lrsv82hlxk]{font-size:1.45rem}}@media(max-width:430px){.rank-buckets[b-lrsv82hlxk]{grid-template-columns:1fr 1fr}.primary-metrics .hero-metric[b-lrsv82hlxk]{min-height:110px}.primary-metrics .hero-metric strong[b-lrsv82hlxk]{font-size:1.6rem}}

.scan-stop[b-lrsv82hlxk]{justify-self:start;border:1px solid color-mix(in srgb,var(--si-danger) 45%,var(--si-line));border-radius:10px;padding:7px 11px;background:var(--si-danger-soft);color:var(--si-danger);font-size:.65rem;font-weight:900}\n
.storeintel-advanced[b-lrsv82hlxk]{margin-top:10px;border:1px dashed var(--si-line);border-radius:12px;padding:9px 12px;background:var(--si-soft)}
.storeintel-advanced summary[b-lrsv82hlxk]{cursor:pointer;font-size:.72rem;font-weight:900}
.storeintel-advanced label[b-lrsv82hlxk]{display:grid;gap:7px;margin-top:10px;font-size:.68rem;color:var(--si-muted)}
.storeintel-advanced input[b-lrsv82hlxk]{width:100%;border:1px solid var(--si-line);border-radius:10px;padding:10px 12px;background:var(--si-surface);color:var(--si-text);direction:ltr;text-align:left}
.scan-counts[b-lrsv82hlxk]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:9px}
.scan-counts span[b-lrsv82hlxk]{border:1px solid var(--si-line);border-radius:9px;padding:7px 9px;background:var(--si-soft);font-size:.62rem;color:var(--si-muted)}
.scan-counts b[b-lrsv82hlxk]{display:block;margin-top:3px;font-size:.78rem;color:var(--si-text)}
@media(max-width:760px){.scan-counts[b-lrsv82hlxk]{grid-template-columns:repeat(2,minmax(0,1fr))}}

.shopliza-card[b-lrsv82hlxk]{padding:0;overflow:hidden}
.shopliza-product-main[b-lrsv82hlxk]{padding:18px}
.shopliza-product-main .product-title[b-lrsv82hlxk]{display:flex;align-items:flex-start;gap:14px}
.shopliza-product-main .product-title img[b-lrsv82hlxk],.shopliza-product-main .product-title>i[b-lrsv82hlxk]{width:92px;height:92px;border-radius:16px;object-fit:contain;flex:0 0 92px}
.shopliza-product-main .product-title>div[b-lrsv82hlxk]{flex:1;min-width:0}
.shopliza-product-main .product-title h3[b-lrsv82hlxk]{font-size:1rem;line-height:1.9;margin:0 0 3px}
.shopliza-product-main .product-title small[b-lrsv82hlxk]{font-size:.72rem;color:var(--si-muted)}
.shopliza-price-row[b-lrsv82hlxk]{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}
.rank-pill[b-lrsv82hlxk]{display:inline-flex;align-items:center;justify-content:center;padding:6px 11px;border-radius:999px;background:var(--si-soft);font-size:.72rem;font-weight:900;white-space:nowrap}
.rank-pill.first[b-lrsv82hlxk]{background:#eaf8ef;color:#16794a}
.own-price[b-lrsv82hlxk]{font-size:1.08rem}
.price-gap[b-lrsv82hlxk]{margin:8px 0 0;font-size:.72rem;font-weight:900}
.price-gap.bad[b-lrsv82hlxk]{color:#d44747}.price-gap.good[b-lrsv82hlxk]{color:#21875c}
.last-check[b-lrsv82hlxk]{margin:8px 0 0;color:var(--si-muted);font-size:.68rem}
.shopliza-actions[b-lrsv82hlxk]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--si-line)}
.shopliza-actions>a[b-lrsv82hlxk],.shopliza-actions>button[b-lrsv82hlxk]{border:0;border-left:1px solid var(--si-line);border-radius:0;background:transparent;color:var(--si-text);padding:12px 8px;text-align:center;font-size:.72rem;font-weight:900;text-decoration:none}
.shopliza-actions>a:last-child[b-lrsv82hlxk],.shopliza-actions>button:last-child[b-lrsv82hlxk]{border-left:0}
.shopliza-actions>button:disabled[b-lrsv82hlxk]{opacity:.5}
.server-refresh[b-lrsv82hlxk]{align-items:center}
.server-refresh-copy[b-lrsv82hlxk]{flex:1;display:grid;gap:4px;min-width:0}
.server-refresh-copy b[b-lrsv82hlxk]{font-size:.82rem}
.server-refresh-copy small[b-lrsv82hlxk]{font-size:.67rem;color:var(--si-muted)}
@media(max-width:760px){
  .shopliza-product-main .product-title img[b-lrsv82hlxk],.shopliza-product-main .product-title>i[b-lrsv82hlxk]{width:76px;height:76px;flex-basis:76px}
  .shopliza-actions[b-lrsv82hlxk]{grid-template-columns:repeat(3,1fr)}
}
/* /Components/Pages/TorobYar.razor.rz.scp.css */
body.erpdb-light .torob-page[b-i9bjrrmu1x]{
    --torob-page-bg:#f5f7fc;
    --torob-surface:#ffffff;
    --torob-surface-soft:#f1f5f9;
    --torob-input-bg:#ffffff;
    --torob-text:#0f172a;
    --torob-muted:#64748b;
    --torob-border:#dbe4f0;
    --torob-row-border:#e2e8f0;
    --torob-status-bg:rgba(var(--erp-primary-rgb,37,99,235),.08);
    --torob-success-text:#15803d;
    --torob-success-bg:#dcfce7;
    --torob-danger-text:#b91c1c;
    --torob-danger-bg:#fee2e2;
    --torob-link-bg:#e8f0ff;
    --torob-link-text:#1d4ed8;
    --torob-link-border:#93b4f7;
    --torob-ours-cheaper-bg:#dcfce7;
    --torob-ours-cheaper-text:#166534;
    --torob-market-cheaper-bg:#fef3c7;
    --torob-market-cheaper-text:#92400e;
}
body.erpdb-dark .torob-page[b-i9bjrrmu1x]{
    --torob-page-bg:#020617;
    --torob-surface:#0f172a;
    --torob-surface-soft:#172033;
    --torob-input-bg:#111c30;
    --torob-text:#f8fafc;
    --torob-muted:#a8b3c7;
    --torob-border:#2a394f;
    --torob-row-border:#223047;
    --torob-status-bg:rgba(var(--erp-primary-rgb,37,99,235),.16);
    --torob-success-text:#86efac;
    --torob-success-bg:rgba(34,197,94,.16);
    --torob-danger-text:#fca5a5;
    --torob-danger-bg:rgba(239,68,68,.16);
    --torob-link-bg:rgba(59,130,246,.18);
    --torob-link-text:#bfdbfe;
    --torob-link-border:#3b82f6;
    --torob-ours-cheaper-bg:rgba(34,197,94,.17);
    --torob-ours-cheaper-text:#86efac;
    --torob-market-cheaper-bg:rgba(245,158,11,.18);
    --torob-market-cheaper-text:#fcd34d;
}
.torob-page[b-i9bjrrmu1x]{display:grid;gap:18px;min-height:100%;padding:18px;border-radius:22px;color:var(--torob-text,var(--mud-palette-text-primary));background:var(--torob-page-bg,var(--mud-palette-background));transition:background-color .2s ease,color .2s ease}
header[b-i9bjrrmu1x],.report-head[b-i9bjrrmu1x],.market-secure-head[b-i9bjrrmu1x]{display:flex;justify-content:space-between;align-items:center;gap:16px}
header h1[b-i9bjrrmu1x]{margin:3px 0;font-size:2rem;color:var(--torob-text)}
header p[b-i9bjrrmu1x],.market-secure-head p[b-i9bjrrmu1x],.torob-card small[b-i9bjrrmu1x]{color:var(--torob-muted)}
header span[b-i9bjrrmu1x]{color:var(--erp-primary,#2563eb);font-weight:900;font-size:.75rem}
.torob-page button[b-i9bjrrmu1x]{border:0;border-radius:12px;padding:10px 16px;background:var(--erp-primary,#2563eb);color:var(--erp-on-brand,#fff);cursor:pointer}
.torob-page button:disabled[b-i9bjrrmu1x]{opacity:.55;cursor:not-allowed}
.torob-kpis[b-i9bjrrmu1x]{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.torob-kpis article[b-i9bjrrmu1x],.torob-card[b-i9bjrrmu1x]{border:1px solid var(--torob-border);border-radius:18px;padding:18px;color:var(--torob-text);background:var(--torob-surface);box-shadow:0 10px 28px rgba(15,23,42,.05);transition:background-color .2s ease,border-color .2s ease,color .2s ease}
.torob-kpis b[b-i9bjrrmu1x],.torob-kpis span[b-i9bjrrmu1x]{display:block}.torob-kpis b[b-i9bjrrmu1x]{font-size:1.5rem}
.torob-grid[b-i9bjrrmu1x]{display:grid;grid-template-columns:1fr 1fr;gap:16px}.torob-card[b-i9bjrrmu1x]{display:grid;gap:10px}
.torob-card input[b-i9bjrrmu1x],.torob-card select[b-i9bjrrmu1x]{width:100%;padding:11px;border:1px solid var(--torob-border);border-radius:10px;background:var(--torob-input-bg);color:var(--torob-text)}
.torob-card input[b-i9bjrrmu1x]::placeholder{color:var(--torob-muted);opacity:1}
.torob-list[b-i9bjrrmu1x]{display:grid;gap:8px}.torob-list>div[b-i9bjrrmu1x]{display:grid;grid-template-columns:1fr auto;gap:4px;padding:10px;border:1px solid var(--torob-row-border);border-radius:10px;background:var(--torob-surface-soft)}
.torob-list small[b-i9bjrrmu1x]{grid-column:1/-1;direction:ltr;text-align:left}
.table-wrap[b-i9bjrrmu1x]{overflow:auto}table[b-i9bjrrmu1x]{width:100%;border-collapse:collapse;color:var(--torob-text);background:var(--torob-surface)}
th[b-i9bjrrmu1x],td[b-i9bjrrmu1x]{text-align:right;padding:11px;border-bottom:1px solid var(--torob-row-border);white-space:nowrap}
th[b-i9bjrrmu1x]{color:var(--torob-muted);background:var(--torob-surface-soft)}
.reason-cell[b-i9bjrrmu1x]{white-space:normal;min-width:280px}
.torob-error[b-i9bjrrmu1x]{padding:12px;border-radius:10px;background:var(--torob-danger-bg);color:var(--torob-danger-text)}
.market-secure-card[b-i9bjrrmu1x]{border-color:rgba(var(--erp-primary-rgb,37,99,235),.35)}
.market-secure-head h2[b-i9bjrrmu1x]{margin:0 0 5px;color:var(--torob-text)}.market-secure-head p[b-i9bjrrmu1x]{margin:0}
.bridge-state[b-i9bjrrmu1x]{padding:6px 10px;border-radius:999px;font-size:.78rem;font-weight:800;white-space:nowrap}
.bridge-state.connected[b-i9bjrrmu1x]{background:var(--torob-success-bg);color:var(--torob-success-text)}
.bridge-state.disconnected[b-i9bjrrmu1x]{background:var(--torob-danger-bg);color:var(--torob-danger-text)}
.market-actions-row[b-i9bjrrmu1x]{display:flex;gap:10px;flex-wrap:wrap}
.torob-extension-download[b-i9bjrrmu1x]{display:inline-flex;align-items:center;justify-content:center;border-radius:12px;padding:10px 16px;background:#16a34a;color:#fff;text-decoration:none;font-weight:800}
.torob-extension-download:hover[b-i9bjrrmu1x]{background:#15803d;color:#fff}
.torob-extension-steps[b-i9bjrrmu1x]{margin:4px 0;padding:14px 34px 14px 14px;border:1px dashed var(--torob-border);border-radius:12px;background:var(--torob-surface-soft);color:var(--torob-text);line-height:2}
.torob-extension-steps code[b-i9bjrrmu1x]{direction:ltr;display:inline-block;padding:1px 6px;border-radius:6px;background:var(--torob-input-bg);color:var(--torob-text)}
.market-status[b-i9bjrrmu1x]{padding:11px 13px;border-radius:10px;color:var(--torob-text);background:var(--torob-status-bg);line-height:1.8}
.market-recommendations[b-i9bjrrmu1x]{border-color:rgba(34,197,94,.32)}
.torob-discovery-filters[b-i9bjrrmu1x]{display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(180px,1fr) minmax(180px,1fr) auto;gap:10px;align-items:end;padding:12px;border:1px solid var(--torob-border);border-radius:14px;background:var(--torob-surface-soft)}
.torob-discovery-filters .torob-field[b-i9bjrrmu1x]{display:grid;gap:6px;font-size:.8rem;font-weight:800;color:var(--torob-muted)}
.torob-filter-summary[b-i9bjrrmu1x]{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:2px 7px;min-width:150px}
.torob-filter-summary b[b-i9bjrrmu1x]{font-size:1.25rem;color:var(--torob-text)}
.torob-filter-summary span[b-i9bjrrmu1x]{color:var(--torob-muted);font-size:.78rem}
.torob-filter-summary button[b-i9bjrrmu1x]{grid-column:1/-1;padding:8px 10px;margin-top:3px;background:var(--torob-input-bg);color:var(--torob-text);border:1px solid var(--torob-border)}
.torob-candidate-list[b-i9bjrrmu1x]{grid-column:1/-1;display:grid;gap:8px}
.torob-candidate[b-i9bjrrmu1x]{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:10px;border:1px solid var(--torob-border);border-radius:10px;background:var(--torob-surface)}
.torob-candidate .torob-check[b-i9bjrrmu1x]{display:flex;align-items:center;gap:9px;min-width:0}
.torob-candidate .torob-check input[b-i9bjrrmu1x]{width:18px;height:18px;flex:0 0 18px}
.torob-product-title[b-i9bjrrmu1x]{font-weight:900}
.torob-own-price[b-i9bjrrmu1x]{align-self:center;padding:6px 10px;border-radius:9px;background:var(--torob-status-bg);color:var(--torob-text);white-space:nowrap}
.torob-candidate-details[b-i9bjrrmu1x]{display:grid;gap:5px;min-width:0}
.torob-candidate-details>span[b-i9bjrrmu1x]{overflow:hidden;text-overflow:ellipsis}
.torob-comparison-badge[b-i9bjrrmu1x]{width:max-content;max-width:100%;padding:4px 8px;border-radius:999px;font-size:.75rem}
.torob-candidate.ours-cheaper[b-i9bjrrmu1x]{border-color:rgba(34,197,94,.55)}
.torob-candidate.ours-cheaper .torob-comparison-badge[b-i9bjrrmu1x]{background:var(--torob-ours-cheaper-bg);color:var(--torob-ours-cheaper-text)}
.torob-candidate.torob-cheaper[b-i9bjrrmu1x]{border-color:rgba(245,158,11,.58)}
.torob-candidate.torob-cheaper .torob-comparison-badge[b-i9bjrrmu1x]{background:var(--torob-market-cheaper-bg);color:var(--torob-market-cheaper-text)}
.torob-candidate.prices-equal .torob-comparison-badge[b-i9bjrrmu1x],.torob-candidate.comparison-unknown .torob-comparison-badge[b-i9bjrrmu1x]{background:var(--torob-status-bg);color:var(--torob-muted)}
.torob-view-page[b-i9bjrrmu1x]{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border:1px solid var(--torob-link-border);border-radius:10px;background:var(--torob-link-bg);color:var(--torob-link-text);font-weight:800;text-decoration:none;white-space:nowrap;transition:filter .15s ease,transform .15s ease}
.torob-view-page:hover[b-i9bjrrmu1x]{color:var(--torob-link-text);filter:brightness(1.08);transform:translateY(-1px)}
.torob-view-page:focus-visible[b-i9bjrrmu1x]{outline:3px solid rgba(59,130,246,.35);outline-offset:2px}
.torob-candidate button[b-i9bjrrmu1x]{padding:7px 10px;background:var(--torob-danger-bg);color:var(--torob-danger-text)}
@media(max-width:900px){.torob-kpis[b-i9bjrrmu1x]{grid-template-columns:1fr 1fr}.torob-grid[b-i9bjrrmu1x]{grid-template-columns:1fr}.torob-discovery-filters[b-i9bjrrmu1x]{grid-template-columns:1fr 1fr}header[b-i9bjrrmu1x],.market-secure-head[b-i9bjrrmu1x]{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){.torob-page[b-i9bjrrmu1x]{padding:12px}.torob-kpis[b-i9bjrrmu1x]{grid-template-columns:1fr}.torob-discovery-filters[b-i9bjrrmu1x]{grid-template-columns:1fr}.market-actions-row button[b-i9bjrrmu1x],.torob-extension-download[b-i9bjrrmu1x]{width:100%}.torob-candidate[b-i9bjrrmu1x]{grid-template-columns:1fr}.torob-candidate a[b-i9bjrrmu1x],.torob-candidate button[b-i9bjrrmu1x]{width:100%;text-align:center}}
/* /Components/Pages/TorobYarV2.razor.rz.scp.css */
body.erpdb-light .torobv2-page[b-7s5xwne1rc]{
    --ty2-bg:#f7f8fb;--ty2-surface:#fff;--ty2-soft:#f4f5f8;--ty2-text:#191b23;--ty2-muted:#777b88;
    --ty2-border:#e7e8ed;--ty2-shadow:0 8px 26px rgba(20,25,40,.055);--ty2-primary:#5847e8;--ty2-primary-soft:#efedff;
    --ty2-good:#16855c;--ty2-good-soft:#e9f7f1;--ty2-warn:#bd6f17;--ty2-warn-soft:#fff5e8;--ty2-danger:#c64040;--ty2-danger-soft:#fff0f0;
}
body.erpdb-dark .torobv2-page[b-7s5xwne1rc]{
    --ty2-bg:#0c111b;--ty2-surface:#121925;--ty2-soft:#182130;--ty2-text:#f5f7fb;--ty2-muted:#a0a8b7;
    --ty2-border:#273244;--ty2-shadow:none;--ty2-primary:#8e82ff;--ty2-primary-soft:rgba(112,96,255,.15);
    --ty2-good:#73d9ae;--ty2-good-soft:rgba(39,174,113,.14);--ty2-warn:#ffc26d;--ty2-warn-soft:rgba(236,155,45,.14);--ty2-danger:#ff9a9a;--ty2-danger-soft:rgba(220,70,70,.14);
}

.torobv2-page[b-7s5xwne1rc]{min-height:100%;padding:22px 24px 48px;border-radius:22px;background:var(--ty2-bg);color:var(--ty2-text);font-family:inherit}
.torobv2-header[b-7s5xwne1rc]{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px}
.torobv2-header h1[b-7s5xwne1rc]{margin:3px 0 2px;font-size:1.75rem;font-weight:950;letter-spacing:-.025em}.torobv2-header p[b-7s5xwne1rc]{margin:0;color:var(--ty2-muted);font-size:.9rem}
.torobv2-eyebrow[b-7s5xwne1rc]{color:var(--ty2-primary);font-size:.72rem;font-weight:900}.torobv2-header-actions[b-7s5xwne1rc]{display:flex;align-items:center;gap:8px}
.torobv2-icon-btn[b-7s5xwne1rc],.torobv2-page button[b-7s5xwne1rc]{font:inherit;cursor:pointer}.torobv2-icon-btn[b-7s5xwne1rc]{width:42px;height:42px;border:1px solid var(--ty2-border);border-radius:13px;background:var(--ty2-surface);color:var(--ty2-text);font-size:1.4rem;line-height:1}
.torobv2-page button:disabled[b-7s5xwne1rc]{opacity:.55;cursor:not-allowed}
.torobv2-bridge[b-7s5xwne1rc]{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:999px;background:var(--ty2-soft);color:var(--ty2-muted);font-size:.75rem;font-weight:850;white-space:nowrap}
.torobv2-bridge i[b-7s5xwne1rc]{width:7px;height:7px;border-radius:50%;background:currentColor}.torobv2-bridge.is-online[b-7s5xwne1rc]{background:var(--ty2-good-soft);color:var(--ty2-good)}.torobv2-bridge.is-offline[b-7s5xwne1rc]{background:var(--ty2-danger-soft);color:var(--ty2-danger)}

.torobv2-summary[b-7s5xwne1rc]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}
.torobv2-summary article[b-7s5xwne1rc]{display:grid;gap:4px;min-height:114px;padding:16px 17px;border:1px solid var(--ty2-border);border-radius:17px;background:var(--ty2-surface);box-shadow:var(--ty2-shadow)}
.torobv2-summary span[b-7s5xwne1rc]{font-size:.77rem;color:var(--ty2-muted);font-weight:750}.torobv2-summary strong[b-7s5xwne1rc]{font-size:1.55rem;line-height:1.35}.torobv2-summary small[b-7s5xwne1rc]{align-self:end;color:var(--ty2-muted);font-size:.69rem}
.torobv2-summary article.is-good strong[b-7s5xwne1rc]{color:var(--ty2-good)}.torobv2-summary article.is-warn strong[b-7s5xwne1rc]{color:var(--ty2-warn)}.torobv2-summary .torobv2-summary-time[b-7s5xwne1rc]{font-size:1.05rem}

.torobv2-toolbar[b-7s5xwne1rc]{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid var(--ty2-border);border-radius:17px;background:var(--ty2-surface);box-shadow:var(--ty2-shadow);margin-bottom:10px}
.torobv2-search[b-7s5xwne1rc]{display:flex;align-items:center;gap:8px;flex:1;min-width:220px;padding:0 12px;border:1px solid var(--ty2-border);border-radius:13px;background:var(--ty2-soft)}
.torobv2-search span[b-7s5xwne1rc]{font-size:1.35rem;color:var(--ty2-muted)}.torobv2-search input[b-7s5xwne1rc]{width:100%;height:44px;border:0;outline:0;background:transparent;color:var(--ty2-text);font:inherit}.torobv2-search input[b-7s5xwne1rc]::placeholder{color:var(--ty2-muted)}
.torobv2-filters[b-7s5xwne1rc]{display:flex;align-items:center;gap:5px;overflow-x:auto}.torobv2-filters button[b-7s5xwne1rc]{border:0;border-radius:11px;padding:10px 12px;background:transparent;color:var(--ty2-muted);white-space:nowrap;font-size:.78rem;font-weight:850}.torobv2-filters button.active[b-7s5xwne1rc]{background:var(--ty2-primary-soft);color:var(--ty2-primary)}

.torobv2-refresh-box[b-7s5xwne1rc]{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:10px 0 18px;padding:15px 17px;border-radius:17px;background:var(--ty2-primary-soft);border:1px solid color-mix(in srgb,var(--ty2-primary) 18%,transparent)}
.torobv2-refresh-box>div[b-7s5xwne1rc]{display:grid;gap:3px}.torobv2-refresh-box strong[b-7s5xwne1rc]{font-size:.94rem}.torobv2-refresh-box span[b-7s5xwne1rc]{font-size:.76rem;color:var(--ty2-muted)}
.torobv2-primary[b-7s5xwne1rc]{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:13px;padding:11px 16px;background:var(--ty2-primary);color:#fff;font-weight:900;white-space:nowrap}.torobv2-primary span[b-7s5xwne1rc]{color:#fff;font-size:1.15rem}
.spin[b-7s5xwne1rc]{animation:ty2spin-b-7s5xwne1rc .85s linear infinite}@keyframes ty2spin-b-7s5xwne1rc{to{transform:rotate(-360deg)}}
.torobv2-alert[b-7s5xwne1rc]{margin:10px 0;padding:11px 14px;border-radius:13px;background:var(--ty2-primary-soft);color:var(--ty2-text);font-size:.82rem;line-height:1.8}.torobv2-alert.is-error[b-7s5xwne1rc]{background:var(--ty2-danger-soft);color:var(--ty2-danger)}

.torobv2-products-head[b-7s5xwne1rc]{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:18px 2px 10px}.torobv2-products-head>div[b-7s5xwne1rc]{display:flex;align-items:center;gap:8px}.torobv2-products-head h2[b-7s5xwne1rc]{margin:0;font-size:1.1rem}.torobv2-products-head span[b-7s5xwne1rc]{padding:4px 8px;border-radius:999px;background:var(--ty2-soft);color:var(--ty2-muted);font-size:.7rem;font-weight:850}.torobv2-products-head small[b-7s5xwne1rc]{color:var(--ty2-muted);font-size:.72rem}
.torobv2-product-list[b-7s5xwne1rc]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.torobv2-product-card[b-7s5xwne1rc]{overflow:hidden;border:1px solid var(--ty2-border);border-radius:19px;background:var(--ty2-surface);box-shadow:var(--ty2-shadow);transition:transform .16s ease,border-color .16s ease}.torobv2-product-card:hover[b-7s5xwne1rc]{transform:translateY(-1px)}
.torobv2-product-card.needs-attention[b-7s5xwne1rc]{border-inline-start:3px solid var(--ty2-warn)}.torobv2-product-card.best-price[b-7s5xwne1rc]{border-inline-start:3px solid var(--ty2-good)}.torobv2-product-card.is-missing[b-7s5xwne1rc]{border-inline-start:3px solid var(--ty2-border)}
.torobv2-product-main[b-7s5xwne1rc]{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;padding:15px 15px 10px}.torobv2-product-avatar[b-7s5xwne1rc]{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:var(--ty2-primary-soft);color:var(--ty2-primary);font-size:1.1rem;font-weight:950}
.torobv2-product-title[b-7s5xwne1rc]{min-width:0}.torobv2-product-title h3[b-7s5xwne1rc]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 0 3px;font-size:.94rem}.torobv2-product-title span[b-7s5xwne1rc]{display:block;overflow:hidden;text-overflow:ellipsis;color:var(--ty2-muted);font-size:.69rem;direction:ltr;text-align:right}
.torobv2-rank[b-7s5xwne1rc]{display:grid;place-items:center;min-width:49px;height:49px;padding:3px;border-radius:50%;background:var(--ty2-soft);color:var(--ty2-text)}.torobv2-rank strong[b-7s5xwne1rc]{font-size:1rem;line-height:1}.torobv2-rank span[b-7s5xwne1rc]{font-size:.57rem;color:var(--ty2-muted);margin-top:2px}.torobv2-rank.rank-one[b-7s5xwne1rc]{background:var(--ty2-primary);color:#fff}.torobv2-rank.rank-one span[b-7s5xwne1rc]{color:rgba(255,255,255,.82)}.torobv2-rank.rank-top[b-7s5xwne1rc]{background:var(--ty2-good-soft);color:var(--ty2-good)}.torobv2-rank.rank-missing[b-7s5xwne1rc]{color:var(--ty2-muted)}
.torobv2-price-grid[b-7s5xwne1rc]{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 15px 10px}.torobv2-price-grid>div[b-7s5xwne1rc]{display:grid;gap:4px;padding:10px 11px;border-radius:13px;background:var(--ty2-soft)}.torobv2-price-grid span[b-7s5xwne1rc]{color:var(--ty2-muted);font-size:.67rem}.torobv2-price-grid strong[b-7s5xwne1rc]{font-size:.88rem}.torobv2-price-grid .torobv2-gap[b-7s5xwne1rc]{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between}.torobv2-price-grid .torobv2-gap.is-negative strong[b-7s5xwne1rc]{color:var(--ty2-danger)}.torobv2-price-grid .torobv2-gap.is-positive strong[b-7s5xwne1rc]{color:var(--ty2-good)}
.torobv2-product-meta[b-7s5xwne1rc]{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:0 15px 11px;color:var(--ty2-muted);font-size:.65rem}.torobv2-product-meta>span[b-7s5xwne1rc]{padding:4px 7px;border-radius:8px;background:var(--ty2-soft)}.torobv2-product-meta .torobv2-action-chip[b-7s5xwne1rc]{background:var(--ty2-warn-soft);color:var(--ty2-warn);font-weight:900}
.torobv2-details-btn[b-7s5xwne1rc]{display:flex;justify-content:space-between;align-items:center;width:100%;padding:11px 15px;border:0;border-top:1px solid var(--ty2-border);background:transparent;color:var(--ty2-primary);font-weight:900;font-size:.76rem}.torobv2-details-btn b[b-7s5xwne1rc]{font-size:1rem}
.torobv2-product-detail[b-7s5xwne1rc]{padding:12px 15px 15px;border-top:1px solid var(--ty2-border);background:var(--ty2-soft)}
.torobv2-recommendation[b-7s5xwne1rc]{display:grid;gap:8px;margin-bottom:10px;padding:11px;border-radius:13px;background:var(--ty2-surface);border:1px solid var(--ty2-border)}.torobv2-recommendation>div[b-7s5xwne1rc]{display:flex;align-items:center;justify-content:space-between;gap:10px}.torobv2-recommendation span[b-7s5xwne1rc]{font-size:.7rem;color:var(--ty2-muted)}.torobv2-recommendation strong[b-7s5xwne1rc]{color:var(--ty2-primary)}.torobv2-recommendation p[b-7s5xwne1rc]{margin:0;color:var(--ty2-muted);font-size:.7rem;line-height:1.8}
.torobv2-seller-list[b-7s5xwne1rc]{display:grid;gap:6px}.torobv2-seller[b-7s5xwne1rc]{display:grid;grid-template-columns:31px minmax(0,1fr) auto 16px;align-items:center;gap:8px;padding:9px;border:1px solid var(--ty2-border);border-radius:12px;background:var(--ty2-surface);color:var(--ty2-text);text-decoration:none}.torobv2-seller:hover[b-7s5xwne1rc]{border-color:color-mix(in srgb,var(--ty2-primary) 35%,var(--ty2-border));color:var(--ty2-text)}
.torobv2-seller-rank[b-7s5xwne1rc]{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:var(--ty2-soft);color:var(--ty2-muted);font-size:.74rem;font-weight:950}.torobv2-seller:first-child .torobv2-seller-rank[b-7s5xwne1rc]{background:var(--ty2-primary);color:#fff}.torobv2-seller-name[b-7s5xwne1rc]{display:grid;min-width:0}.torobv2-seller-name strong[b-7s5xwne1rc]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.75rem}.torobv2-seller-name small[b-7s5xwne1rc]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ty2-muted);font-size:.61rem}.torobv2-seller-price[b-7s5xwne1rc]{font-size:.77rem;white-space:nowrap}.torobv2-seller-arrow[b-7s5xwne1rc]{color:var(--ty2-muted);font-size:1.2rem}.torobv2-no-offers[b-7s5xwne1rc]{padding:12px;border-radius:11px;background:var(--ty2-surface);color:var(--ty2-muted);font-size:.73rem;text-align:center}

.torobv2-empty[b-7s5xwne1rc]{display:grid;place-items:center;gap:8px;padding:42px 20px;border:1px dashed var(--ty2-border);border-radius:19px;background:var(--ty2-surface);text-align:center}.torobv2-empty-icon[b-7s5xwne1rc]{display:grid;place-items:center;width:54px;height:54px;border-radius:18px;background:var(--ty2-primary-soft);color:var(--ty2-primary);font-size:1.6rem}.torobv2-empty h3[b-7s5xwne1rc]{margin:5px 0 0;font-size:1rem}.torobv2-empty p[b-7s5xwne1rc]{max-width:470px;margin:0;color:var(--ty2-muted);font-size:.78rem;line-height:1.8}.torobv2-empty.compact[b-7s5xwne1rc]{padding:22px}.torobv2-empty button[b-7s5xwne1rc]{border:0;border-radius:11px;padding:8px 12px;background:var(--ty2-primary-soft);color:var(--ty2-primary);font-weight:850}
.torobv2-loading[b-7s5xwne1rc]{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.torobv2-loading div[b-7s5xwne1rc]{height:120px;border-radius:17px;background:linear-gradient(100deg,var(--ty2-surface) 25%,var(--ty2-soft) 45%,var(--ty2-surface) 65%);background-size:200% 100%;animation:ty2shimmer-b-7s5xwne1rc 1.25s infinite}@keyframes ty2shimmer-b-7s5xwne1rc{to{background-position:-200% 0}}

.torobv2-advanced[b-7s5xwne1rc]{margin-top:12px;border:1px solid var(--ty2-border);border-radius:16px;background:var(--ty2-surface);box-shadow:var(--ty2-shadow)}.torobv2-advanced summary[b-7s5xwne1rc]{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;cursor:pointer;list-style:none}.torobv2-advanced summary[b-7s5xwne1rc]::-webkit-details-marker{display:none}.torobv2-advanced summary>span:first-child[b-7s5xwne1rc]{display:grid;gap:2px}.torobv2-advanced summary b[b-7s5xwne1rc]{font-size:.82rem}.torobv2-advanced summary small[b-7s5xwne1rc]{color:var(--ty2-muted);font-size:.67rem}.torobv2-advanced-body[b-7s5xwne1rc]{padding:0 16px 15px;border-top:1px solid var(--ty2-border)}
.torobv2-connection-row[b-7s5xwne1rc]{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:13px}.torobv2-connection-row button[b-7s5xwne1rc],.torobv2-download[b-7s5xwne1rc],.torobv2-link[b-7s5xwne1rc]{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ty2-border);border-radius:11px;padding:8px 11px;background:var(--ty2-soft);color:var(--ty2-text);text-decoration:none;font-size:.72rem;font-weight:850}.torobv2-download[b-7s5xwne1rc]{background:var(--ty2-good-soft);color:var(--ty2-good)}.torobv2-link[b-7s5xwne1rc]{background:var(--ty2-primary-soft);color:var(--ty2-primary)}
.torobv2-decision-stats[b-7s5xwne1rc]{display:flex;gap:14px;flex-wrap:wrap;margin-top:12px;padding:10px 0;color:var(--ty2-muted);font-size:.72rem}.torobv2-decision-stats b[b-7s5xwne1rc]{color:var(--ty2-text)}
.torobv2-history[b-7s5xwne1rc]{display:grid;padding:0 14px 13px}.torobv2-history>div[b-7s5xwne1rc]{display:grid;grid-template-columns:1.4fr .7fr .7fr 1fr;gap:10px;align-items:center;padding:10px 2px;border-top:1px solid var(--ty2-border);font-size:.72rem}.torobv2-history>div>span:first-child[b-7s5xwne1rc]{display:grid}.torobv2-history small[b-7s5xwne1rc]{color:var(--ty2-muted);font-size:.62rem}

@media(max-width:1050px){.torobv2-product-list[b-7s5xwne1rc]{grid-template-columns:1fr}.torobv2-summary[b-7s5xwne1rc]{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.torobv2-page[b-7s5xwne1rc]{padding:14px 12px 38px;border-radius:16px}.torobv2-header[b-7s5xwne1rc]{align-items:flex-start}.torobv2-header p[b-7s5xwne1rc]{display:none}.torobv2-header h1[b-7s5xwne1rc]{font-size:1.42rem}.torobv2-toolbar[b-7s5xwne1rc]{align-items:stretch;flex-direction:column}.torobv2-search[b-7s5xwne1rc]{min-width:0}.torobv2-filters[b-7s5xwne1rc]{padding-bottom:2px}.torobv2-refresh-box[b-7s5xwne1rc]{align-items:stretch;flex-direction:column}.torobv2-primary[b-7s5xwne1rc]{width:100%;min-height:45px}.torobv2-history>div[b-7s5xwne1rc]{grid-template-columns:1fr 1fr}.torobv2-history>div>span:last-child[b-7s5xwne1rc]{text-align:left}}
@media(max-width:480px){.torobv2-page[b-7s5xwne1rc]{padding-inline:8px}.torobv2-eyebrow[b-7s5xwne1rc]{display:none}.torobv2-header-actions .torobv2-bridge[b-7s5xwne1rc]{display:none}.torobv2-summary[b-7s5xwne1rc]{grid-template-columns:1fr 1fr;gap:7px}.torobv2-summary article[b-7s5xwne1rc]{min-height:100px;padding:12px}.torobv2-summary strong[b-7s5xwne1rc]{font-size:1.25rem}.torobv2-summary small[b-7s5xwne1rc]{font-size:.62rem}.torobv2-product-main[b-7s5xwne1rc]{grid-template-columns:39px minmax(0,1fr) 46px;padding-inline:12px}.torobv2-product-avatar[b-7s5xwne1rc]{width:39px;height:39px}.torobv2-price-grid[b-7s5xwne1rc]{padding-inline:12px}.torobv2-product-meta[b-7s5xwne1rc]{padding-inline:12px}.torobv2-seller[b-7s5xwne1rc]{grid-template-columns:29px minmax(0,1fr) auto}.torobv2-seller-arrow[b-7s5xwne1rc]{display:none}.torobv2-seller-price[b-7s5xwne1rc]{font-size:.72rem}.torobv2-products-head small[b-7s5xwne1rc]{display:none}}
/* /Components/Pages/Treasury/BankAccounts/BankAccounts.razor.rz.scp.css */
.bank-page[b-o2aw7l3c2c]{padding:8px 0 32px;color:var(--erp-text,#0f172a)}.bank-hero[b-o2aw7l3c2c],.filters[b-o2aw7l3c2c],.table-card[b-o2aw7l3c2c],.summary-grid article[b-o2aw7l3c2c]{background:var(--erp-surface,#fff);border:1px solid var(--erp-border,#e2e8f0);box-shadow:0 12px 32px rgba(15,23,42,.06)}.bank-hero[b-o2aw7l3c2c]{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:28px;border-radius:26px;margin-bottom:18px}.bank-hero span[b-o2aw7l3c2c]{color:var(--erp-primary,#2563eb);font-weight:900;font-size:12px}.bank-hero h1[b-o2aw7l3c2c]{margin:5px 0 7px;font-size:30px}.bank-hero p[b-o2aw7l3c2c]{margin:0;color:var(--erp-text-muted,#64748b)}.hero-actions[b-o2aw7l3c2c],.row-actions[b-o2aw7l3c2c],.checkbook-toolbar[b-o2aw7l3c2c]{display:flex;gap:8px;flex-wrap:wrap}.btn[b-o2aw7l3c2c],.row-actions button[b-o2aw7l3c2c],.checkbook-grid button[b-o2aw7l3c2c]{border:1px solid var(--erp-border,#dbe4f0);border-radius:11px;padding:10px 14px;background:var(--erp-surface,#fff);color:var(--erp-text,#0f172a);font:inherit;font-weight:850;cursor:pointer}.btn.primary[b-o2aw7l3c2c]{background:var(--erp-primary,#2563eb);border-color:var(--erp-primary,#2563eb);color:var(--erp-on-primary,#fff)}.btn.danger[b-o2aw7l3c2c],.danger[b-o2aw7l3c2c]{color:#b91c1c!important}.summary-grid[b-o2aw7l3c2c]{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:18px}.summary-grid article[b-o2aw7l3c2c]{padding:18px;border-radius:18px}.summary-grid span[b-o2aw7l3c2c],.summary-grid small[b-o2aw7l3c2c]{display:block;color:var(--erp-text-muted,#64748b)}.summary-grid strong[b-o2aw7l3c2c]{font-size:25px}.filters[b-o2aw7l3c2c]{display:grid;grid-template-columns:2fr 1fr auto;gap:10px;padding:15px;border-radius:18px;margin-bottom:18px}.control[b-o2aw7l3c2c]{width:100%;min-height:45px;border:1px solid var(--erp-border,#dbe4f0);border-radius:12px;padding:10px 12px;background:var(--erp-surface,#fff);color:var(--erp-text,#0f172a);font:inherit}.table-card[b-o2aw7l3c2c]{border-radius:20px;overflow:hidden}.table-scroll[b-o2aw7l3c2c]{overflow:auto}table[b-o2aw7l3c2c]{width:100%;min-width:1250px;border-collapse:collapse}th[b-o2aw7l3c2c],td[b-o2aw7l3c2c]{padding:13px;border-bottom:1px solid var(--erp-border,#edf2f7);text-align:right}th[b-o2aw7l3c2c]{background:var(--erp-surface-2,#f8fafc);font-size:12px}td[b-o2aw7l3c2c]{font-size:12px}td small[b-o2aw7l3c2c]{display:block;color:var(--erp-text-muted,#64748b);margin-top:4px}.balance[b-o2aw7l3c2c]{font-weight:950}.badge[b-o2aw7l3c2c]{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:900;margin:3px}.badge.active[b-o2aw7l3c2c]{background:#dcfce7;color:#166534}.badge.inactive[b-o2aw7l3c2c]{background:#e2e8f0;color:#475569}.badge.default[b-o2aw7l3c2c]{background:#fef3c7;color:#92400e}.empty[b-o2aw7l3c2c]{padding:60px;text-align:center;color:var(--erp-text-muted,#64748b)}.empty.small[b-o2aw7l3c2c]{padding:28px}.message[b-o2aw7l3c2c],.error[b-o2aw7l3c2c]{padding:12px 14px;border-radius:12px;margin-bottom:14px}.message.success[b-o2aw7l3c2c]{background:#ecfdf5;color:#047857}.message.error[b-o2aw7l3c2c],.error[b-o2aw7l3c2c]{background:#fef2f2;color:#b91c1c}.modal-layer[b-o2aw7l3c2c]{position:fixed;inset:0 340px 0 0;z-index:12000;display:flex;align-items:flex-start;justify-content:center;padding:100px 20px 20px}.modal-layer.top[b-o2aw7l3c2c]{z-index:12010}.backdrop[b-o2aw7l3c2c]{position:absolute;inset:0;background:rgba(15,23,42,.6);backdrop-filter:blur(4px)}.modal-card[b-o2aw7l3c2c]{position:relative;width:min(700px,100%);max-height:calc(100vh - 120px);display:flex;flex-direction:column;background:var(--erp-surface,#fff);border-radius:22px;overflow:hidden}.modal-card.wide[b-o2aw7l3c2c]{width:min(980px,100%)}.modal-card>header[b-o2aw7l3c2c],.modal-card>footer[b-o2aw7l3c2c]{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 22px;border-bottom:1px solid var(--erp-border,#e2e8f0)}.modal-card>footer[b-o2aw7l3c2c]{justify-content:flex-start;border-top:1px solid var(--erp-border,#e2e8f0);border-bottom:0}.modal-card>header h3[b-o2aw7l3c2c]{margin:0}.modal-card>header button[b-o2aw7l3c2c]{border:0;background:transparent;font-size:28px;cursor:pointer}.modal-card>main[b-o2aw7l3c2c]{padding:22px;overflow:auto}.form-grid[b-o2aw7l3c2c]{display:grid;gap:15px}.form-grid.three[b-o2aw7l3c2c]{grid-template-columns:repeat(3,1fr)}.form-grid.two[b-o2aw7l3c2c]{grid-template-columns:repeat(2,1fr)}.form-grid label[b-o2aw7l3c2c]{font-weight:800;font-size:12px}.form-grid label .control[b-o2aw7l3c2c]{margin-top:7px}.form-grid .full[b-o2aw7l3c2c]{grid-column:1/-1}.check[b-o2aw7l3c2c]{display:flex;align-items:center;gap:8px;min-height:45px;border:1px solid var(--erp-border,#e2e8f0);padding:10px;border-radius:12px}.checkbook-grid[b-o2aw7l3c2c]{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:14px}.checkbook-grid article[b-o2aw7l3c2c]{border:1px solid var(--erp-border,#e2e8f0);border-radius:16px;padding:16px}.checkbook-grid article small[b-o2aw7l3c2c]{display:block;color:var(--erp-text-muted,#64748b)}.numbers[b-o2aw7l3c2c]{display:flex;justify-content:space-between;margin:15px 0}.progress[b-o2aw7l3c2c]{height:7px;background:var(--erp-surface-2,#eef2f7);border-radius:999px;overflow:hidden}.progress i[b-o2aw7l3c2c]{display:block;height:100%;background:var(--erp-primary,#2563eb)}.checkbook-grid article footer[b-o2aw7l3c2c]{display:flex;justify-content:space-between;align-items:center;margin-top:14px}.checkbook-grid article footer div[b-o2aw7l3c2c]{display:flex;gap:6px}@media(max-width:1100px){.modal-layer[b-o2aw7l3c2c]{inset:0}.summary-grid[b-o2aw7l3c2c]{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){.bank-hero[b-o2aw7l3c2c]{align-items:flex-start;flex-direction:column}.summary-grid[b-o2aw7l3c2c],.filters[b-o2aw7l3c2c],.form-grid.three[b-o2aw7l3c2c],.form-grid.two[b-o2aw7l3c2c],.checkbook-grid[b-o2aw7l3c2c]{grid-template-columns:1fr}.modal-layer[b-o2aw7l3c2c]{padding:75px 8px 8px}.modal-card[b-o2aw7l3c2c]{max-height:calc(100vh - 85px)}}
/* /Components/Pages/Treasury/BankCheckbooks/BankCheckbooks.razor.rz.scp.css */
.cb-page[b-u9wgsumamk]{width:100%;padding:5px 0 32px;color:#0f172a}.cb-hero[b-u9wgsumamk]{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:26px 28px;margin-bottom:18px;border:1px solid #dfe7f3;border-radius:24px;background:radial-gradient(circle at 8% 10%,rgba(37,99,235,.12),transparent 220px),linear-gradient(135deg,#fff,#f7faff);box-shadow:0 14px 36px rgba(15,23,42,.06)}.cb-hero span[b-u9wgsumamk]{color:#2563eb;font-size:11px;font-weight:900}.cb-hero h1[b-u9wgsumamk]{margin:6px 0;font-size:30px;font-weight:1000}.cb-hero p[b-u9wgsumamk]{margin:0;color:#64748b;font-size:13px}.cb-hero-actions[b-u9wgsumamk],.cb-editor-actions[b-u9wgsumamk],.cb-row-actions[b-u9wgsumamk]{display:flex;gap:8px;flex-wrap:wrap}.cb-btn[b-u9wgsumamk],.cb-row-actions button[b-u9wgsumamk]{min-height:41px;padding:8px 14px;border:1px solid #d6dfeb;border-radius:11px;background:#fff;color:#334155;font-family:inherit;font-size:12px;font-weight:900;cursor:pointer}.cb-btn.primary[b-u9wgsumamk]{color:#fff;border-color:#2563eb;background:linear-gradient(135deg,#2563eb,#4f46e5)}.cb-btn.danger[b-u9wgsumamk]{color:#b91c1c;border-color:#fecaca;background:#fef2f2}.cb-btn:disabled[b-u9wgsumamk]{opacity:.45;cursor:not-allowed}.cb-alert[b-u9wgsumamk]{display:flex;justify-content:space-between;padding:12px 14px;margin-bottom:14px;border-radius:12px;font-size:12px;font-weight:850}.cb-alert.success[b-u9wgsumamk]{color:#166534;border:1px solid #bbf7d0;background:#f0fdf4}.cb-alert.error[b-u9wgsumamk]{color:#991b1b;border:1px solid #fecaca;background:#fef2f2}.cb-alert button[b-u9wgsumamk]{border:0;background:transparent;color:inherit;font-size:18px}.cb-kpis[b-u9wgsumamk]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:17px}.cb-kpis article[b-u9wgsumamk]{padding:18px;border:1px solid #e2e8f0;border-radius:19px;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.05)}.cb-kpis span[b-u9wgsumamk],.cb-kpis small[b-u9wgsumamk]{display:block;color:#64748b;font-size:11px}.cb-kpis strong[b-u9wgsumamk]{display:block;margin:5px 0;color:#1d4ed8;font-size:26px;font-weight:1000}.cb-layout[b-u9wgsumamk]{display:grid;grid-template-columns:minmax(330px,410px) minmax(0,1fr);gap:16px;align-items:start}.cb-editor[b-u9wgsumamk],.cb-list-panel[b-u9wgsumamk]{padding:20px;border:1px solid #e2e8f0;border-radius:21px;background:#fff;box-shadow:0 12px 32px rgba(15,23,42,.05)}.cb-editor[b-u9wgsumamk]{position:sticky;top:12px}.cb-panel-head h2[b-u9wgsumamk]{margin:0 0 5px;font-size:18px}.cb-panel-head p[b-u9wgsumamk]{margin:0 0 16px;color:#64748b;font-size:11px}.cb-editor label[b-u9wgsumamk]{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.cb-editor label>span[b-u9wgsumamk]{color:#475569;font-size:11px;font-weight:850}.cb-editor input[b-u9wgsumamk],.cb-editor select[b-u9wgsumamk],.cb-editor textarea[b-u9wgsumamk],.cb-toolbar input[b-u9wgsumamk],.cb-toolbar select[b-u9wgsumamk]{width:100%;min-height:42px;padding:9px 11px;border:1px solid #d7e0ec;border-radius:10px;background:#fff;color:#0f172a;font-family:inherit;font-size:12px;box-sizing:border-box}.cb-editor textarea[b-u9wgsumamk]{resize:vertical}.cb-form-grid[b-u9wgsumamk]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 10px}.cb-check[b-u9wgsumamk]{flex-direction:row!important;align-items:center;margin-top:21px}.cb-check input[b-u9wgsumamk]{width:18px;min-height:18px}.cb-leaf-info[b-u9wgsumamk]{display:flex;gap:18px;padding:10px 12px;margin-bottom:14px;border-radius:10px;background:#eff6ff;color:#1e3a8a;font-size:11px}.cb-toolbar[b-u9wgsumamk]{display:grid;grid-template-columns:minmax(220px,2fr) minmax(170px,1fr) minmax(130px,.7fr) auto;gap:9px;margin-bottom:15px}.cb-table-wrap[b-u9wgsumamk]{overflow:auto;border:1px solid #e2e8f0;border-radius:14px}.cb-table-wrap table[b-u9wgsumamk]{width:100%;min-width:940px;border-collapse:collapse}.cb-table-wrap th[b-u9wgsumamk]{padding:13px 10px;background:#f8fafc;color:#475569;font-size:11px;text-align:right;border-bottom:1px solid #e2e8f0}.cb-table-wrap td[b-u9wgsumamk]{padding:13px 10px;border-bottom:1px solid #eef2f7;font-size:11px}.cb-table-wrap td strong[b-u9wgsumamk],.cb-table-wrap td small[b-u9wgsumamk]{display:block}.cb-table-wrap td small[b-u9wgsumamk]{margin-top:4px;color:#94a3b8}.cb-status[b-u9wgsumamk]{display:inline-flex;padding:4px 9px;border-radius:999px;font-weight:900}.cb-status.active[b-u9wgsumamk]{color:#166534;background:#dcfce7}.cb-status.inactive[b-u9wgsumamk]{color:#64748b;background:#f1f5f9}.cb-usage[b-u9wgsumamk]{color:#1d4ed8;font-weight:850}.cb-row-actions button[b-u9wgsumamk]{min-height:32px;padding:5px 9px}.cb-state[b-u9wgsumamk]{padding:50px 15px;text-align:center;color:#64748b}@media(max-width:1100px){.cb-kpis[b-u9wgsumamk]{grid-template-columns:repeat(2,1fr)}.cb-layout[b-u9wgsumamk]{grid-template-columns:1fr}.cb-editor[b-u9wgsumamk]{position:static}}@media(max-width:720px){.cb-hero[b-u9wgsumamk]{align-items:flex-start;flex-direction:column}.cb-kpis[b-u9wgsumamk],.cb-form-grid[b-u9wgsumamk]{grid-template-columns:1fr}.cb-toolbar[b-u9wgsumamk]{grid-template-columns:1fr}}
/* /Components/Pages/Treasury/Treasury.razor.rz.scp.css */
/* Dashboard styles are embedded in Treasury.razor. */
/* /Components/Pages/TrialBalance.razor.rz.scp.css */
.trial-page[b-9czkacy2bo] {
    min-height: 100%;
    padding: 28px;
    color: #0f172a;
    font-family: inherit;
}

.trial-page[b-9czkacy2bo],
.trial-page *[b-9czkacy2bo] {
    box-sizing: border-box;
}

.trial-page a[b-9czkacy2bo] {
    text-decoration: none;
}

.trial-hero[b-9czkacy2bo],
.trial-filter-card[b-9czkacy2bo],
.trial-status-card[b-9czkacy2bo],
.trial-summary-card[b-9czkacy2bo],
.trial-table-card[b-9czkacy2bo],
.trial-state[b-9czkacy2bo] {
    border: 1px solid #dbe4f0;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .07);
}

.trial-hero[b-9czkacy2bo] {
    padding: 28px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        radial-gradient(circle at 12% 20%, rgba(99, 102, 241, .16), transparent 30%),
        linear-gradient(135deg, #fff, #f8fbff);
}

.trial-eyebrow[b-9czkacy2bo] {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--erp-primary, #4f46e5);
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: .6px;
}

.trial-hero h1[b-9czkacy2bo] {
    margin: 0;
    font-size: 30px;
    font-weight: 1000;
}

.trial-hero p[b-9czkacy2bo] {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.trial-hero-actions[b-9czkacy2bo] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trial-btn[b-9czkacy2bo],
.trial-filter-submit[b-9czkacy2bo] {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.trial-btn:disabled[b-9czkacy2bo],
.trial-filter-submit:disabled[b-9czkacy2bo] {
    opacity: .5;
    cursor: not-allowed;
}

.trial-btn.primary[b-9czkacy2bo],
.trial-filter-submit[b-9czkacy2bo] {
    color: var(--erp-on-brand, #ffffff);
    border-color: var(--erp-primary, #4f46e5);
    background: linear-gradient(135deg, var(--erp-primary, #4f46e5), var(--erp-accent, #7c3aed));
}

.trial-btn.secondary[b-9czkacy2bo] {
    color: #334155;
    border-color: #cbd5e1;
    background: #fff;
}

.trial-filter-card[b-9czkacy2bo] {
    margin-top: 18px;
    padding: 20px;
    border-radius: 22px;
}

.trial-filter-grid[b-9czkacy2bo] {
    display: grid;
    grid-template-columns:
        minmax(240px, 1.2fr)
        repeat(3, minmax(160px, .7fr))
        auto;
    gap: 14px;
    align-items: end;
}

.trial-field[b-9czkacy2bo] {
    display: grid;
    gap: 8px;
}

.trial-field span[b-9czkacy2bo] {
    color: #475569;
    font-size: 11px;
    font-weight: 900;
}

.trial-field input[b-9czkacy2bo],
.trial-field select[b-9czkacy2bo] {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #dbe4f0;
    border-radius: 13px;
    outline: none;
    color: #0f172a;
    background: #f8fafc;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
}

.trial-field input:focus[b-9czkacy2bo],
.trial-field select:focus[b-9czkacy2bo] {
    border-color: var(--erp-primary, #818cf8);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, .1);
}

.trial-validation[b-9czkacy2bo] {
    margin-top: 12px;
    padding: 11px 13px;
    border: 1px solid #fecaca;
    border-radius: 12px;
    color: #b91c1c;
    background: #fef2f2;
    font-size: 11px;
    font-weight: 800;
}

.trial-state[b-9czkacy2bo] {
    margin-top: 18px;
    padding: 48px 24px;
    border-radius: 24px;
    text-align: center;
}

.trial-state.error[b-9czkacy2bo] {
    border-color: #fecaca;
    color: #b91c1c;
    background: #fef2f2;
}

.trial-state p[b-9czkacy2bo] {
    margin: 10px 0 18px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.trial-spinner[b-9czkacy2bo] {
    width: 42px;
    height: 42px;
    margin: 0 auto 14px;
    border: 4px solid #e0e7ff;
    border-top-color: var(--erp-primary, #4f46e5);
    border-radius: 50%;
    animation: trial-spin-b-9czkacy2bo .8s linear infinite;
}

@keyframes trial-spin-b-9czkacy2bo {
    to {
        transform: rotate(360deg);
    }
}

.trial-status-card[b-9czkacy2bo] {
    margin-top: 18px;
    padding: 20px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.trial-status-card.balanced[b-9czkacy2bo] {
    border-color: #a7f3d0;
    background: linear-gradient(135deg, #fff, #ecfdf5);
}

.trial-status-card.unbalanced[b-9czkacy2bo] {
    border-color: #fecaca;
    background: linear-gradient(135deg, #fff, #fef2f2);
}

.trial-status-icon[b-9czkacy2bo] {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 20px;
    font-weight: 1000;
}

.balanced .trial-status-icon[b-9czkacy2bo] {
    background: linear-gradient(135deg, #059669, #10b981);
}

.unbalanced .trial-status-icon[b-9czkacy2bo] {
    background: linear-gradient(135deg, #dc2626, #f43f5e);
}

.trial-status-card span[b-9czkacy2bo] {
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
}

.trial-status-card h2[b-9czkacy2bo] {
    margin: 5px 0 0;
    font-size: 17px;
    font-weight: 1000;
}

.trial-status-card p[b-9czkacy2bo] {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.trial-period[b-9czkacy2bo] {
    margin-right: auto;
    min-width: 210px;
    padding: 12px 14px;
    border: 1px solid #dbe4f0;
    border-radius: 14px;
    background: rgba(255,255,255,.7);
}

.trial-period span[b-9czkacy2bo],
.trial-period strong[b-9czkacy2bo] {
    display: block;
}

.trial-period strong[b-9czkacy2bo] {
    margin-top: 6px;
    font-size: 11px;
    font-weight: 1000;
}

.trial-summary-grid[b-9czkacy2bo] {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.trial-summary-card[b-9czkacy2bo] {
    min-height: 126px;
    padding: 18px;
    border-radius: 20px;
}

.trial-summary-card.debit[b-9czkacy2bo],
.trial-summary-card.debit-balance[b-9czkacy2bo] {
    border-top: 3px solid var(--erp-primary, #2563eb);
}

.trial-summary-card.credit[b-9czkacy2bo],
.trial-summary-card.credit-balance[b-9czkacy2bo] {
    border-top: 3px solid #f59e0b;
}

.trial-summary-card span[b-9czkacy2bo] {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
}

.trial-summary-card strong[b-9czkacy2bo] {
    display: block;
    margin-top: 13px;
    font-size: 22px;
    font-weight: 1000;
}

.trial-summary-card small[b-9czkacy2bo] {
    display: block;
    margin-top: 9px;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
}

.trial-table-card[b-9czkacy2bo] {
    margin-top: 18px;
    border-radius: 24px;
    overflow: hidden;
}

.trial-table-header[b-9czkacy2bo] {
    padding: 21px 22px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.trial-table-header span[b-9czkacy2bo] {
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
}

.trial-table-header h2[b-9czkacy2bo] {
    margin: 6px 0 0;
    font-size: 18px;
    font-weight: 1000;
}

.trial-count[b-9czkacy2bo] {
    padding: 8px 12px;
    border-radius: 999px;
    color: #4338ca !important;
    background: #eef2ff;
}

.trial-table-wrap[b-9czkacy2bo] {
    overflow: auto;
}

.trial-table[b-9czkacy2bo] {
    width: 100%;
    min-width: 1050px;
    border-collapse: collapse;
}

.trial-table th[b-9czkacy2bo],
.trial-table td[b-9czkacy2bo] {
    padding: 14px 13px;
    border-bottom: 1px solid #edf2f7;
    text-align: right;
    vertical-align: middle;
    font-size: 11px;
}

.trial-table th[b-9czkacy2bo] {
    position: sticky;
    top: 0;
    z-index: 1;
    color: #475569;
    background: #f8fafc;
    font-weight: 1000;
    white-space: nowrap;
}

.trial-table tbody tr:hover[b-9czkacy2bo] {
    background: #fafbff;
}

.trial-table tfoot td[b-9czkacy2bo] {
    border-bottom: 0;
    color: #0f172a;
    background: #f8fafc;
    font-weight: 1000;
}

.row-number[b-9czkacy2bo] {
    color: #94a3b8;
    font-weight: 900;
}

.account-code[b-9czkacy2bo] {
    color: #4338ca;
    font-weight: 1000;
    white-space: nowrap;
}

.account-name[b-9czkacy2bo] {
    min-width: 220px;
    font-weight: 800;
}

.money[b-9czkacy2bo] {
    direction: ltr;
    text-align: right !important;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    font-weight: 900;
}

.debit-value[b-9czkacy2bo] {
    color: #1d4ed8;
}

.credit-value[b-9czkacy2bo] {
    color: #b45309;
}

.balance-badge[b-9czkacy2bo] {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 1000;
    white-space: nowrap;
}

.balance-badge.debit[b-9czkacy2bo] {
    color: #1d4ed8;
    background: #dbeafe;
}

.balance-badge.credit[b-9czkacy2bo] {
    color: #b45309;
    background: #fef3c7;
}

.balance-badge.balanced[b-9czkacy2bo] {
    color: #047857;
    background: #d1fae5;
}

.trial-empty[b-9czkacy2bo] {
    padding: 42px 20px;
    color: #64748b;
    text-align: center;
    font-size: 12px;
    font-weight: 900;
}

@media (max-width: 1180px) {
    .trial-filter-grid[b-9czkacy2bo] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-field[b-9czkacy2bo] {
        grid-column: 1 / -1;
    }

    .trial-summary-grid[b-9czkacy2bo] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .trial-page[b-9czkacy2bo] {
        padding: 16px;
    }

    .trial-hero[b-9czkacy2bo],
    .trial-status-card[b-9czkacy2bo],
    .trial-table-header[b-9czkacy2bo] {
        align-items: stretch;
        flex-direction: column;
    }

    .trial-hero-actions[b-9czkacy2bo],
    .trial-filter-grid[b-9czkacy2bo],
    .trial-summary-grid[b-9czkacy2bo] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .trial-btn[b-9czkacy2bo],
    .trial-filter-submit[b-9czkacy2bo],
    .trial-period[b-9czkacy2bo] {
        width: 100%;
    }

    .search-field[b-9czkacy2bo] {
        grid-column: auto;
    }
}

@media print {
    .trial-hero-actions[b-9czkacy2bo],
    .trial-filter-card[b-9czkacy2bo] {
        display: none !important;
    }

    .trial-page[b-9czkacy2bo] {
        padding: 0;
    }

    .trial-hero[b-9czkacy2bo],
    .trial-status-card[b-9czkacy2bo],
    .trial-summary-card[b-9czkacy2bo],
    .trial-table-card[b-9czkacy2bo] {
        box-shadow: none;
    }

    .trial-table th[b-9czkacy2bo] {
        position: static;
    }
}

.erp-print-report[b-9czkacy2bo] {
    display: none;
}

@media print {
    .erp-print-report[b-9czkacy2bo] {
        display: block !important;
        width: 100% !important;
        color: #000 !important;
        background: #fff !important;
        font-size: 10pt !important;
    }

    .erp-print-report *[b-9czkacy2bo] {
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    .erp-print-header[b-9czkacy2bo] {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important;
        align-items: start !important;
        gap: 12px !important;
        margin-bottom: 8mm !important;
        padding-bottom: 4mm !important;
        border-bottom: 1px solid #475569 !important;
    }

    .erp-print-header-center[b-9czkacy2bo] {
        text-align: center !important;
    }

    .erp-print-header-center h1[b-9czkacy2bo] {
        margin: 0 0 2mm !important;
        font-size: 17pt !important;
        font-weight: 900 !important;
    }

    .erp-print-header-center p[b-9czkacy2bo],
    .erp-print-header-side p[b-9czkacy2bo] {
        margin: 1mm 0 !important;
        font-size: 9pt !important;
    }

    .erp-print-header-side:last-child[b-9czkacy2bo] {
        text-align: left !important;
        direction: ltr !important;
    }

    .erp-print-table[b-9czkacy2bo] {
        width: 100% !important;
        border-collapse: collapse !important;
        table-layout: auto !important;
        font-size: 9pt !important;
    }

    .erp-print-table th[b-9czkacy2bo],
    .erp-print-table td[b-9czkacy2bo] {
        padding: 2.2mm 1.8mm !important;
        border: 1px solid #94a3b8 !important;
        text-align: right !important;
        vertical-align: middle !important;
        background: #fff !important;
    }

    .erp-print-table th[b-9czkacy2bo] {
        font-weight: 900 !important;
        background: #f1f5f9 !important;
    }

    .erp-print-table .print-money[b-9czkacy2bo] {
        direction: ltr !important;
        text-align: right !important;
        white-space: nowrap !important;
        font-variant-numeric: tabular-nums !important;
    }

    .erp-print-table tfoot td[b-9czkacy2bo] {
        font-weight: 900 !important;
        background: #f8fafc !important;
    }

    .erp-print-summary[b-9czkacy2bo] {
        margin-top: 5mm !important;
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 2mm !important;
    }

    .erp-print-summary > div[b-9czkacy2bo] {
        padding: 3mm !important;
        border: 1px solid #94a3b8 !important;
    }

    .erp-print-summary span[b-9czkacy2bo],
    .erp-print-summary strong[b-9czkacy2bo] {
        display: block !important;
    }

    .erp-print-summary span[b-9czkacy2bo] {
        font-size: 8.5pt !important;
    }

    .erp-print-summary strong[b-9czkacy2bo] {
        margin-top: 1.5mm !important;
        font-size: 10pt !important;
    }

    .erp-print-footer[b-9czkacy2bo] {
        margin-top: 8mm !important;
        padding-top: 3mm !important;
        border-top: 1px solid #cbd5e1 !important;
        display: flex !important;
        justify-content: space-between !important;
        font-size: 8pt !important;
    }
}

@media print {
    .trial-page > :not(.erp-print-report)[b-9czkacy2bo] {
        display: none !important;
    }

    .trial-page[b-9czkacy2bo] {
        padding: 0 !important;
        margin: 0 !important;
        background: #fff !important;
    }
}
/* /Components/Pages/UserWorkingSchedule.razor.rz.scp.css */
.working-schedule-page[b-wsyfryaoyu] {
    display: grid;
    gap: 18px;
    padding: 22px;
    color: var(--mud-palette-text-primary, #1f2937);
}

.schedule-hero[b-wsyfryaoyu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    border: 1px solid var(--mud-palette-lines-default, #d9dee8);
    border-radius: 20px;
    background: var(--mud-palette-surface, #ffffff);
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

.schedule-hero h1[b-wsyfryaoyu] {
    margin: 6px 0 4px;
    font-size: clamp(22px, 3vw, 32px);
}

.schedule-hero p[b-wsyfryaoyu],
.section-title small[b-wsyfryaoyu],
.days-title small[b-wsyfryaoyu],
.selected-user-summary small[b-wsyfryaoyu] {
    color: var(--mud-palette-text-secondary, #667085);
}

.schedule-kicker[b-wsyfryaoyu] {
    font-size: 12px;
    font-weight: 800;
    color: var(--mud-palette-primary, #4f46e5);
}

.back-link[b-wsyfryaoyu] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid var(--mud-palette-lines-default, #d9dee8);
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.schedule-layout[b-wsyfryaoyu] {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(520px, 1.7fr);
    gap: 18px;
    align-items: start;
}

.schedule-card[b-wsyfryaoyu] {
    padding: 22px;
    border: 1px solid var(--mud-palette-lines-default, #d9dee8);
    border-radius: 20px;
    background: var(--mud-palette-surface, #ffffff);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}

.section-title[b-wsyfryaoyu],
.days-title[b-wsyfryaoyu] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.section-title > div[b-wsyfryaoyu],
.days-title[b-wsyfryaoyu] {
    display: grid;
    gap: 4px;
}

.section-title strong[b-wsyfryaoyu],
.days-title strong[b-wsyfryaoyu] {
    font-size: 16px;
}

.count-badge[b-wsyfryaoyu],
.schedule-state[b-wsyfryaoyu],
.status[b-wsyfryaoyu] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.count-badge[b-wsyfryaoyu] {
    background: color-mix(in srgb, var(--mud-palette-primary, #4f46e5) 10%, transparent);
    color: var(--mud-palette-primary, #4f46e5);
}

.schedule-state.configured[b-wsyfryaoyu],
.status.active[b-wsyfryaoyu] {
    background: rgba(16, 185, 129, .12);
    color: #059669;
}

.schedule-state.unrestricted[b-wsyfryaoyu],
.status.inactive[b-wsyfryaoyu] {
    background: rgba(100, 116, 139, .12);
    color: #64748b;
}

.field-label[b-wsyfryaoyu],
.time-grid label[b-wsyfryaoyu] {
    display: grid;
    gap: 8px;
    font-weight: 700;
}

select[b-wsyfryaoyu],
input[type="time"][b-wsyfryaoyu] {
    width: 100%;
    min-height: 48px;
    padding: 0 13px;
    border: 1px solid var(--mud-palette-lines-default, #d9dee8);
    border-radius: 12px;
    background: var(--mud-palette-background, #ffffff);
    color: var(--mud-palette-text-primary, #1f2937);
    font: inherit;
    outline: none;
}

select:focus[b-wsyfryaoyu],
input[type="time"]:focus[b-wsyfryaoyu] {
    border-color: var(--mud-palette-primary, #4f46e5);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mud-palette-primary, #4f46e5) 15%, transparent);
}

.selected-user-summary[b-wsyfryaoyu] {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 14px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--mud-palette-primary, #4f46e5) 6%, var(--mud-palette-surface, #ffffff));
}

.selected-user-summary > div:nth-child(2)[b-wsyfryaoyu] {
    display: grid;
    gap: 2px;
}

.avatar[b-wsyfryaoyu] {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--mud-palette-primary, #4f46e5);
    color: #fff;
    font-weight: 900;
}

fieldset[b-wsyfryaoyu] {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

fieldset:disabled[b-wsyfryaoyu] {
    opacity: .55;
}

.time-grid[b-wsyfryaoyu] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.days-section[b-wsyfryaoyu] {
    padding-top: 20px;
    border-top: 1px solid var(--mud-palette-lines-default, #d9dee8);
}

.days-grid[b-wsyfryaoyu] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.day-option[b-wsyfryaoyu] {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 52px;
    padding: 0 12px;
    border: 1px solid var(--mud-palette-lines-default, #d9dee8);
    border-radius: 13px;
    cursor: pointer;
    transition: .15s ease;
}

.day-option input[b-wsyfryaoyu] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.day-check[b-wsyfryaoyu] {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 1px solid var(--mud-palette-lines-default, #cbd5e1);
    border-radius: 8px;
    color: transparent;
    font-size: 13px;
}

.day-option.selected[b-wsyfryaoyu] {
    border-color: var(--mud-palette-primary, #4f46e5);
    background: color-mix(in srgb, var(--mud-palette-primary, #4f46e5) 8%, transparent);
}

.day-option.selected .day-check[b-wsyfryaoyu] {
    border-color: var(--mud-palette-primary, #4f46e5);
    background: var(--mud-palette-primary, #4f46e5);
    color: #fff;
}

.schedule-hint[b-wsyfryaoyu] {
    margin-top: 18px;
    padding: 13px 15px;
    border-radius: 12px;
    background: rgba(59, 130, 246, .08);
    color: var(--mud-palette-text-secondary, #475569);
    line-height: 1.9;
}

.editor-actions[b-wsyfryaoyu] {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.btn-save[b-wsyfryaoyu],
.btn-clear[b-wsyfryaoyu] {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.btn-save[b-wsyfryaoyu] {
    border: 0;
    background: var(--mud-palette-primary, #4f46e5);
    color: #fff;
}

.btn-clear[b-wsyfryaoyu] {
    border: 1px solid var(--mud-palette-lines-default, #d9dee8);
    background: transparent;
    color: inherit;
}

.btn-save:disabled[b-wsyfryaoyu],
.btn-clear:disabled[b-wsyfryaoyu] {
    opacity: .55;
    cursor: not-allowed;
}

.schedule-notice[b-wsyfryaoyu] {
    padding: 13px 16px;
    border-radius: 12px;
    font-weight: 700;
}

.schedule-notice.success[b-wsyfryaoyu] {
    background: rgba(16, 185, 129, .12);
    color: #059669;
}

.schedule-notice.error[b-wsyfryaoyu] {
    background: rgba(239, 68, 68, .12);
    color: #dc2626;
}

.empty-state[b-wsyfryaoyu] {
    text-align: center;
    color: var(--mud-palette-text-secondary, #667085);
}

@media (max-width: 980px) {
    .schedule-layout[b-wsyfryaoyu] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .working-schedule-page[b-wsyfryaoyu] {
        padding: 12px;
    }

    .schedule-hero[b-wsyfryaoyu],
    .section-title[b-wsyfryaoyu] {
        align-items: stretch;
        flex-direction: column;
    }

    .time-grid[b-wsyfryaoyu],
    .days-grid[b-wsyfryaoyu] {
        grid-template-columns: 1fr 1fr;
    }

    .editor-actions[b-wsyfryaoyu] {
        flex-direction: column;
    }
}
/* /Components/Pages/Versions/ReleaseDetails.razor.rz.scp.css */
.release-page[b-7h404jisc3] {
    max-width: 980px;
    margin: 0 auto;
}

.release-hero[b-7h404jisc3] {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 34px;
    border-radius: 24px;
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    color: #fff;
    box-shadow: 0 24px 50px rgba(15, 23, 42, .2);
}

.release-hero-icon[b-7h404jisc3] {
    display: grid;
    place-items: center;
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .14);
    font-size: 40px;
}

.release-hero span[b-7h404jisc3] {
    opacity: .78;
    font-weight: 700;
}

.release-hero h1[b-7h404jisc3] {
    margin: 7px 0 12px;
    font-size: clamp(25px, 4vw, 38px);
}

.release-meta[b-7h404jisc3] {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.release-meta b[b-7h404jisc3] {
    padding: 5px 10px;
    border-radius: 999px;
    background: #f59e0b;
    color: #1f2937;
}

.release-content[b-7h404jisc3] {
    margin-top: 22px;
    padding: 30px;
    border: 1px solid rgba(148, 163, 184, .23);
    border-radius: 22px;
    background: var(--erp-surface, #fff);
    color: var(--erp-text, #0f172a);
}

.release-content h2[b-7h404jisc3] {
    margin-top: 0;
}

.release-description[b-7h404jisc3] {
    min-height: 100px;
    color: var(--erp-muted, #475569);
    line-height: 2.1;
    white-space: pre-line;
}

.release-download[b-7h404jisc3] {
    display: inline-flex;
    margin-top: 22px;
    min-height: 44px;
    align-items: center;
    padding: 0 18px;
    border-radius: 12px;
    background: #2563eb;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.release-state[b-7h404jisc3] {
    padding: 30px;
    border-radius: 18px;
    background: var(--erp-surface, #fff);
    text-align: center;
}

.release-error[b-7h404jisc3] {
    color: #b91c1c;
}

@media (max-width: 640px) {
    .release-hero[b-7h404jisc3] {
        align-items: flex-start;
        padding: 25px 20px;
    }

    .release-hero-icon[b-7h404jisc3] {
        flex-basis: 64px;
        width: 64px;
        height: 64px;
        font-size: 30px;
    }

    .release-content[b-7h404jisc3] {
        padding: 22px 18px;
    }
}
/* /Components/Pages/WarehouseDashboard.razor.rz.scp.css */
.warehouse-dashboard-page[b-kefimtb50m] {
    padding: 24px;
}

.warehouse-dashboard-header[b-kefimtb50m] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.warehouse-dashboard-header h3[b-kefimtb50m] {
    margin: 0;
    font-weight: 900;
}

.warehouse-dashboard-header p[b-kefimtb50m] {
    margin: 6px 0 0;
    color: #64748b;
}

.warehouse-dashboard-actions[b-kefimtb50m] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.warehouse-kpi-grid[b-kefimtb50m] {
    display: grid;
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.warehouse-kpi-card[b-kefimtb50m],
.warehouse-panel[b-kefimtb50m] {
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.warehouse-kpi-card[b-kefimtb50m] {
    text-align: center;
}

.warehouse-kpi-card strong[b-kefimtb50m] {
    display: block;
    font-size: 24px;
    font-weight: 900;
}

.warehouse-kpi-card span[b-kefimtb50m] {
    color: #64748b;
    font-weight: 700;
}

.warehouse-kpi-card.success strong[b-kefimtb50m] {
    color: #166534;
}

.warehouse-kpi-card.danger strong[b-kefimtb50m] {
    color: #b91c1c;
}

.warehouse-kpi-card.warning strong[b-kefimtb50m] {
    color: #b45309;
}

.warehouse-dashboard-grid[b-kefimtb50m] {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 16px;
}

.warehouse-panel.wide[b-kefimtb50m] {
    grid-column: 1 / -1;
}

.panel-title[b-kefimtb50m] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.panel-title h5[b-kefimtb50m] {
    margin: 0;
    font-weight: 900;
}

.panel-title span[b-kefimtb50m],
.empty-text[b-kefimtb50m] {
    color: #64748b;
}

.warehouse-panel th[b-kefimtb50m] {
    background: #1f2937;
    color: #fff;
    white-space: nowrap;
}

.warehouse-alert-list[b-kefimtb50m] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.warehouse-alert-list li[b-kefimtb50m] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px;
    border-radius: 12px;
    background: #f8fafc;
}

.warehouse-alert-list strong[b-kefimtb50m],
.warehouse-alert-list span[b-kefimtb50m] {
    display: block;
}

.warehouse-alert-list span[b-kefimtb50m] {
    color: #64748b;
    font-size: 13px;
    margin-top: 3px;
}

@media print {
    .no-print[b-kefimtb50m],
    .warehouse-dashboard-actions[b-kefimtb50m] {
        display: none !important;
    }

    .warehouse-dashboard-page[b-kefimtb50m] {
        padding: 0;
    }

    .warehouse-kpi-card[b-kefimtb50m],
    .warehouse-panel[b-kefimtb50m] {
        box-shadow: none;
        border-radius: 0;
    }

    @page {
        size: A4 landscape;
        margin: 8mm;
    }
}

@media (max-width: 1100px) {
    .warehouse-kpi-grid[b-kefimtb50m] {
        grid-template-columns: repeat(2, 1fr);
    }

    .warehouse-dashboard-grid[b-kefimtb50m] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .warehouse-dashboard-page[b-kefimtb50m] {
        padding: 16px;
    }

    .warehouse-dashboard-header[b-kefimtb50m],
    .panel-title[b-kefimtb50m] {
        flex-direction: column;
        align-items: stretch;
    }

    .warehouse-kpi-grid[b-kefimtb50m] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Warehouses.razor.rz.scp.css */
.erp-warehouse-page[b-zypmkdq93u] {
    --warehouse-bg: #eef4fb;
    --warehouse-card: #ffffff;
    --warehouse-text: #0f172a;
    --warehouse-muted: #64748b;
    --warehouse-border: #dbe4f0;
    --warehouse-soft-border: #e2e8f0;
    --warehouse-blue: var(--erp-primary, #2563eb);
    --warehouse-purple: var(--erp-accent, #7c3aed);
    --warehouse-green: #059669;
    --warehouse-red: #e11d48;
    --warehouse-font-size: var(--erp-font-size, 15px);

    direction: rtl;
    font-family: inherit;
    font-size: var(--warehouse-font-size);
    width: 100%;
    min-width: 0;
    min-height: 100%;
    padding: 24px;
    color: var(--warehouse-text);
    background:
        radial-gradient(circle at 16% 0%, rgba(124, 58, 237, .08), transparent 330px),
        linear-gradient(180deg, #eef4fb 0%, #f8fbff 52%, #eef4fb 100%);
}

.erp-warehouse-page[b-zypmkdq93u],
.erp-warehouse-page *[b-zypmkdq93u],
.erp-warehouse-page *[b-zypmkdq93u]::before,
.erp-warehouse-page *[b-zypmkdq93u]::after { box-sizing: border-box; }

.erp-warehouse-page :where(button,input,select,textarea,option,table,th,td,label)[b-zypmkdq93u] {
    font-family: inherit !important;
}

.erp-warehouse-header[b-zypmkdq93u],
.erp-alert[b-zypmkdq93u],
.erp-state-card[b-zypmkdq93u],
.erp-filter-card[b-zypmkdq93u],
.erp-table-card[b-zypmkdq93u] {
    width: 100%; min-width: 0; border: 1px solid rgba(219, 228, 240, .96); background: #fff;
    box-shadow: 0 22px 64px rgba(15, 23, 42, .07);
}
.erp-warehouse-header[b-zypmkdq93u] { position: relative; min-height: 156px; display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:22px; padding:28px; overflow:hidden; border-color:rgba(191,219,254,.92); border-radius:30px; background:radial-gradient(circle at 0 0,rgba(124,58,237,.12),transparent 270px),linear-gradient(135deg,rgba(255,255,255,.99),rgba(239,246,255,.95)); }
.erp-warehouse-header[b-zypmkdq93u]::after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(90deg,transparent,rgba(255,255,255,.72),transparent); transform:translateX(-68%); opacity:.45; }
.erp-warehouse-header > *[b-zypmkdq93u] { position:relative; z-index:1; }
.erp-warehouse-header span[b-zypmkdq93u] { min-height:30px; display:inline-flex; align-items:center; margin-bottom:10px; padding:0 14px; border:1px solid #bfdbfe; border-radius:999px; color:var(--warehouse-blue); background:#e0edff; font-size:calc(var(--warehouse-font-size) * .8); font-weight:900; }
.erp-warehouse-header h1[b-zypmkdq93u] { margin:0; font-size:calc(var(--warehouse-font-size) * 2.15); line-height:1.2; letter-spacing:-.7px; font-weight:900; }
.erp-warehouse-header p[b-zypmkdq93u] { margin:11px 0 0; color:var(--warehouse-muted); font-size:calc(var(--warehouse-font-size) * .93); font-weight:700; }
.warehouse-header-actions[b-zypmkdq93u]{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.warehouse-adjustment-link[b-zypmkdq93u]{text-decoration:none!important;white-space:nowrap}
.erp-primary-btn[b-zypmkdq93u],.erp-secondary-btn[b-zypmkdq93u],.erp-mini-btn[b-zypmkdq93u] { display:inline-flex; align-items:center; justify-content:center; gap:8px; border:0; font:inherit; font-weight:950; text-align:center; cursor:pointer; transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease; }
.erp-primary-btn:hover:not(:disabled)[b-zypmkdq93u],.erp-secondary-btn:hover:not(:disabled)[b-zypmkdq93u],.erp-mini-btn:hover:not(:disabled)[b-zypmkdq93u]{transform:translateY(-1px)}
.erp-primary-btn:disabled[b-zypmkdq93u],.erp-secondary-btn:disabled[b-zypmkdq93u],.erp-mini-btn:disabled[b-zypmkdq93u]{opacity:.55;cursor:not-allowed}
.erp-primary-btn[b-zypmkdq93u]{min-height:46px;padding:0 22px;border-radius:999px;color:#fff;background:linear-gradient(135deg,var(--warehouse-blue),var(--warehouse-purple));box-shadow:0 16px 34px rgba(37,99,235,.24)}
.erp-secondary-btn[b-zypmkdq93u]{min-height:46px;padding:0 20px;border:1px solid var(--warehouse-border);border-radius:999px;color:#334155;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.045)}
.erp-alert[b-zypmkdq93u]{min-height:52px;display:flex;align-items:center;margin-bottom:16px;padding:14px 18px;border-radius:18px;font-weight:900}.erp-alert-danger[b-zypmkdq93u]{color:#be123c;border-color:#fecdd3;background:#fff1f2}.erp-alert-success[b-zypmkdq93u]{color:#047857;border-color:#a7f3d0;background:#ecfdf5}
.erp-filter-card[b-zypmkdq93u]{display:grid;grid-template-columns:minmax(0,1fr) 220px 150px;gap:14px;align-items:center;margin-bottom:22px;padding:18px;border-radius:24px}
.erp-input[b-zypmkdq93u],.erp-select[b-zypmkdq93u]{width:100%;min-width:0;min-height:50px;padding:0 18px;border:1px solid var(--warehouse-border);border-radius:15px;color:var(--warehouse-text);background:#f8fafc;box-shadow:inset 0 1px 0 rgba(255,255,255,.9);font:inherit;font-weight:800;text-align:right;outline:0}.erp-select[b-zypmkdq93u]{cursor:pointer}textarea.erp-input[b-zypmkdq93u]{min-height:105px;padding-top:14px;padding-bottom:14px;resize:vertical}.erp-input:focus[b-zypmkdq93u],.erp-select:focus[b-zypmkdq93u]{border-color:rgba(124,58,237,.38);background:#fff;box-shadow:0 0 0 4px rgba(124,58,237,.08)}
.erp-state-card[b-zypmkdq93u]{min-height:210px;display:grid;place-items:center;align-content:center;padding:28px;border-radius:24px;color:#475569;background:radial-gradient(circle at 50% 0,rgba(124,58,237,.07),transparent 240px),linear-gradient(180deg,#fff,#f8fafc);font-weight:900;text-align:center}.erp-state-warning[b-zypmkdq93u]{border-style:dashed}.erp-table-card[b-zypmkdq93u]{overflow:hidden;border-radius:26px}.table-responsive[b-zypmkdq93u]{width:100%;overflow-x:auto}.erp-table[b-zypmkdq93u]{width:100%;min-width:920px;border-collapse:separate;border-spacing:0}.erp-table th[b-zypmkdq93u]{padding:17px 16px;color:#475569;border-bottom:1px solid var(--warehouse-soft-border);background:linear-gradient(180deg,#f8fafc,#eef2ff);font-size:12px;font-weight:1000;text-align:right;white-space:nowrap}.erp-table td[b-zypmkdq93u]{padding:16px;border-bottom:1px solid #edf2f7;color:var(--warehouse-text);font-size:13px;font-weight:800;vertical-align:middle}.erp-table tbody tr[b-zypmkdq93u]{transition:background .16s ease}.erp-table tbody tr:hover[b-zypmkdq93u]{background:#f8fbff}.erp-table tbody tr:last-child td[b-zypmkdq93u]{border-bottom:0}
.erp-badge[b-zypmkdq93u]{min-width:78px;min-height:32px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border-radius:999px;font-size:12px;font-weight:1000}.erp-badge-success[b-zypmkdq93u]{color:#047857;border:1px solid #a7f3d0;background:#ecfdf5}.erp-badge-muted[b-zypmkdq93u]{color:#64748b;border:1px solid #cbd5e1;background:#f1f5f9}.erp-table-actions[b-zypmkdq93u]{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.erp-mini-btn[b-zypmkdq93u]{min-height:34px;padding:0 13px;border-radius:999px;font-size:12px}.erp-mini-warning[b-zypmkdq93u]{color:#92400e;border:1px solid #fde68a;background:#fffbeb}.erp-mini-danger[b-zypmkdq93u]{color:var(--warehouse-red);border:1px solid #fecdd3;background:#fff1f2}.erp-mini-success[b-zypmkdq93u]{color:var(--warehouse-green);border:1px solid #a7f3d0;background:#ecfdf5}.erp-mini-info[b-zypmkdq93u]{color:#1d4ed8;border:1px solid #bfdbfe;background:#eff6ff}
.erp-modal-layer[b-zypmkdq93u]{position:fixed;inset:0;z-index:2147483647;display:flex;align-items:flex-start;justify-content:center;padding:96px 24px 20px;overflow:hidden;overscroll-behavior:contain;background:rgba(15,23,42,.62);backdrop-filter:blur(10px)}.erp-modal-card[b-zypmkdq93u]{width:min(760px,100%);max-height:calc(100dvh - 116px);overflow:hidden;margin:0 auto;padding:24px;border:1px solid var(--warehouse-border);border-radius:28px;background:var(--warehouse-card);box-shadow:0 30px 90px rgba(15,23,42,.28)}.erp-modal-card header[b-zypmkdq93u]{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid var(--warehouse-soft-border)}.erp-modal-card header h2[b-zypmkdq93u]{margin:0;font-size:calc(var(--warehouse-font-size) * 1.75);font-weight:900}.erp-modal-card header button[b-zypmkdq93u]{width:42px;height:42px;display:grid;place-items:center;padding:0;border:1px solid #fecdd3;border-radius:14px;color:#be123c;background:#fff1f2;font-size:24px;line-height:1;cursor:pointer}.erp-form-grid[b-zypmkdq93u]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}.erp-form-grid label[b-zypmkdq93u]{min-width:0}.erp-form-grid label span[b-zypmkdq93u]{display:block;margin-bottom:8px;padding-right:4px;color:var(--warehouse-text);font-size:var(--warehouse-font-size);font-weight:700}.erp-form-full[b-zypmkdq93u]{grid-column:1/-1}.erp-modal-card footer[b-zypmkdq93u]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px;padding-top:18px;border-top:1px solid var(--warehouse-soft-border)}.erp-modal-card footer .erp-primary-btn[b-zypmkdq93u],.erp-modal-card footer .erp-secondary-btn[b-zypmkdq93u]{width:100%}

.warehouse-summary-grid[b-zypmkdq93u]{margin-bottom:22px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px}
.warehouse-summary-grid article[b-zypmkdq93u]{min-height:82px;padding:12px 18px;border:1px solid rgba(219,228,240,.96);border-radius:20px;background:#fff;box-shadow:0 14px 36px rgba(15,23,42,.055);display:grid;align-content:center;gap:4px}
.warehouse-summary-grid span[b-zypmkdq93u]{color:var(--warehouse-muted);font-size:calc(var(--warehouse-font-size) * .8);font-weight:700}.warehouse-summary-grid strong[b-zypmkdq93u]{color:var(--warehouse-text);font-size:calc(var(--warehouse-font-size) * 1.35);line-height:1.25;font-weight:900}.warehouse-summary-grid small[b-zypmkdq93u]{color:#94a3b8;font-size:calc(var(--warehouse-font-size) * .72);font-weight:700}.warehouse-summary-grid article.warning strong[b-zypmkdq93u]{color:#b45309}.warehouse-summary-grid article.danger strong[b-zypmkdq93u]{color:#be123c}
.warehouse-table[b-zypmkdq93u]{min-width:1550px}.warehouse-name-cell[b-zypmkdq93u]{min-width:180px}.warehouse-name-cell strong[b-zypmkdq93u],.warehouse-name-cell small[b-zypmkdq93u]{display:block}.warehouse-name-cell strong[b-zypmkdq93u]{font-weight:900}.warehouse-name-cell small[b-zypmkdq93u]{margin-top:5px;color:var(--warehouse-muted);font-size:calc(var(--warehouse-font-size) * .72);font-weight:700}.warehouse-quantity[b-zypmkdq93u],.warehouse-money[b-zypmkdq93u]{white-space:nowrap;font-weight:1000!important}.warehouse-quantity[b-zypmkdq93u]{color:#1d4ed8!important}.warehouse-money.sale[b-zypmkdq93u]{color:#047857!important}
.warehouse-stock-pill[b-zypmkdq93u]{min-width:34px;min-height:30px;padding:0 10px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:1000;white-space:nowrap}.warehouse-stock-pill.ok[b-zypmkdq93u]{color:#047857;border:1px solid #a7f3d0;background:#ecfdf5}.warehouse-stock-pill.low[b-zypmkdq93u]{color:#b45309;border:1px solid #fde68a;background:#fffbeb}.warehouse-stock-pill.out[b-zypmkdq93u]{color:#be123c;border:1px solid #fecdd3;background:#fff1f2}
.warehouse-inventory-layer[b-zypmkdq93u]{padding-right:clamp(235px,17vw,275px);padding-left:20px}.warehouse-inventory-modal[b-zypmkdq93u]{display:flex;flex-direction:column;width:min(1120px,100%);max-width:1120px;height:min(720px,calc(100dvh - 116px));min-height:0}.warehouse-inventory-modal>header[b-zypmkdq93u]{flex:0 0 auto;margin:0;padding:0 0 16px}.warehouse-inventory-modal header p[b-zypmkdq93u]{margin:7px 0 0;color:var(--warehouse-muted);font-size:calc(var(--warehouse-font-size) * .8);font-weight:700}.warehouse-inventory-body[b-zypmkdq93u]{flex:1 1 auto;min-height:0;overflow:auto;padding-top:16px;padding-bottom:10px;scrollbar-gutter:stable}.warehouse-detail-summary[b-zypmkdq93u]{margin-bottom:16px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.warehouse-detail-summary>div[b-zypmkdq93u]{min-height:82px;padding:14px;border:1px solid var(--warehouse-soft-border);border-radius:18px;background:var(--warehouse-bg);display:grid;align-content:center;gap:6px}.warehouse-detail-summary span[b-zypmkdq93u]{color:var(--warehouse-muted);font-size:calc(var(--warehouse-font-size) * .8);font-weight:700}.warehouse-detail-summary strong[b-zypmkdq93u]{font-size:calc(var(--warehouse-font-size) * 1.15);font-weight:900}.warehouse-detail-search[b-zypmkdq93u]{margin-bottom:16px}.warehouse-inventory-body .table-responsive[b-zypmkdq93u]{max-height:none;overflow:auto;border:1px solid var(--warehouse-soft-border);border-radius:18px}.warehouse-detail-table[b-zypmkdq93u]{min-width:1180px}.warehouse-detail-table thead th[b-zypmkdq93u]{position:sticky;top:0;z-index:2}.warehouse-inventory-modal>footer[b-zypmkdq93u]{flex:0 0 auto;grid-template-columns:minmax(180px,260px);justify-content:end;margin:12px 0 0;padding:14px 0 0;background:transparent}

@media(max-width:900px){.erp-filter-card[b-zypmkdq93u]{grid-template-columns:1fr 1fr}.erp-filter-card .erp-input[b-zypmkdq93u]{grid-column:1/-1}.warehouse-detail-summary[b-zypmkdq93u]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.erp-warehouse-page[b-zypmkdq93u]{padding:14px}.erp-warehouse-header[b-zypmkdq93u]{align-items:stretch;flex-direction:column;padding:22px;border-radius:22px}.erp-warehouse-header .erp-primary-btn[b-zypmkdq93u],.erp-warehouse-header .erp-secondary-btn[b-zypmkdq93u]{width:100%}.warehouse-header-actions[b-zypmkdq93u]{width:100%;display:grid;grid-template-columns:1fr}.erp-filter-card[b-zypmkdq93u],.erp-form-grid[b-zypmkdq93u],.erp-modal-card footer[b-zypmkdq93u]{grid-template-columns:1fr}.erp-filter-card .erp-input[b-zypmkdq93u],.erp-form-full[b-zypmkdq93u]{grid-column:auto}.warehouse-summary-grid[b-zypmkdq93u],.warehouse-detail-summary[b-zypmkdq93u]{grid-template-columns:1fr}.warehouse-summary-grid article[b-zypmkdq93u]{min-height:76px;padding:11px 15px}.erp-modal-layer[b-zypmkdq93u],.warehouse-inventory-layer[b-zypmkdq93u]{align-items:flex-start;padding:82px 10px 10px!important}.erp-modal-card[b-zypmkdq93u],.warehouse-inventory-modal[b-zypmkdq93u]{width:calc(100vw - 20px)!important;height:calc(100dvh - 92px)!important;max-height:calc(100dvh - 92px)!important;padding:18px!important;border-radius:22px!important}.warehouse-inventory-modal>header[b-zypmkdq93u]{padding-bottom:14px}.warehouse-inventory-body[b-zypmkdq93u]{padding-top:14px}.warehouse-inventory-modal>footer[b-zypmkdq93u]{margin-top:10px;padding-top:12px}}

/* Follow ERPPlus global typography setting on this isolated page. */
.erp-warehouse-page .erp-input[b-zypmkdq93u],
.erp-warehouse-page .erp-select[b-zypmkdq93u],
.erp-warehouse-page .erp-primary-btn[b-zypmkdq93u],
.erp-warehouse-page .erp-secondary-btn[b-zypmkdq93u],
.erp-warehouse-page .erp-mini-btn[b-zypmkdq93u],
.erp-warehouse-page .erp-table th[b-zypmkdq93u],
.erp-warehouse-page .erp-table td[b-zypmkdq93u],
.erp-warehouse-page .erp-badge[b-zypmkdq93u],
.erp-warehouse-page .warehouse-stock-pill[b-zypmkdq93u],
.erp-warehouse-page .erp-alert[b-zypmkdq93u],
.erp-warehouse-page .erp-state-card[b-zypmkdq93u] {
    font-size: var(--warehouse-font-size) !important;
}
/* /Components/Pages/WarehouseTransferDetails.razor.rz.scp.css */
.warehouse-transfer-details-page[b-6r6ebrmfpi] {
    --wtd-page-bg: var(--erp-page-bg, var(--erp-final-bg, #f8fafc));
    --wtd-card: var(--erp-surface, #ffffff);
    --wtd-card-raised: var(--erp-surface-raised, #ffffff);
    --wtd-soft: var(--erp-surface-soft, #f8fafc);
    --wtd-text: var(--erp-text, var(--erp-final-text, #101828));
    --wtd-muted: var(--erp-muted, var(--erp-final-muted, #667085));
    --wtd-label: var(--erp-muted-text, #475467);
    --wtd-border: var(--erp-border, var(--erp-final-border, #e6e8ef));
    --wtd-border-soft: var(--erp-border-soft, #eef0f4);
    --wtd-accent: #4f46e5;
    --wtd-accent-2: #6d28d9;
    --wtd-accent-soft: rgba(79, 70, 229, .11);

    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    color: var(--wtd-text);
    background: var(--wtd-page-bg);
}

body.erpdb-dark .warehouse-transfer-details-page[b-6r6ebrmfpi],
body:has(.erp-shell-reference.erpdb-dark) .warehouse-transfer-details-page[b-6r6ebrmfpi],
body:has(.erp-shell-reference.erpdb-darktheme) .warehouse-transfer-details-page[b-6r6ebrmfpi],
body:has(.erp-shell-reference.erpdb-theme-dark) .warehouse-transfer-details-page[b-6r6ebrmfpi] {
    --erp-page-bg: #020617;
    --erp-surface: #0f172a;
    --erp-surface-raised: #111c30;
    --erp-surface-soft: #0b1730;
    --erp-text: #f8fafc;
    --erp-muted: #94a3b8;
    --erp-muted-text: #cbd5e1;
    --erp-border: #334155;
    --erp-border-soft: #243247;
    --wtd-accent: #5b4bff;
    --wtd-accent-2: #7c3aed;
    --wtd-accent-soft: rgba(99, 102, 241, .14);
    color-scheme: dark;
}

.page-header[b-6r6ebrmfpi],
.details-card[b-6r6ebrmfpi],
.table-card[b-6r6ebrmfpi],
.receipt-card[b-6r6ebrmfpi] {
    background: var(--wtd-card);
    border: 1px solid var(--wtd-border);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

body.erpdb-dark .warehouse-transfer-details-page .page-header[b-6r6ebrmfpi],
body.erpdb-dark .warehouse-transfer-details-page .details-card[b-6r6ebrmfpi],
body.erpdb-dark .warehouse-transfer-details-page .table-card[b-6r6ebrmfpi],
body:has(.erp-shell-reference.erpdb-dark) .warehouse-transfer-details-page .page-header[b-6r6ebrmfpi],
body:has(.erp-shell-reference.erpdb-dark) .warehouse-transfer-details-page .details-card[b-6r6ebrmfpi],
body:has(.erp-shell-reference.erpdb-dark) .warehouse-transfer-details-page .table-card[b-6r6ebrmfpi],
body:has(.erp-shell-reference.erpdb-darktheme) .warehouse-transfer-details-page .page-header[b-6r6ebrmfpi],
body:has(.erp-shell-reference.erpdb-darktheme) .warehouse-transfer-details-page .details-card[b-6r6ebrmfpi],
body:has(.erp-shell-reference.erpdb-darktheme) .warehouse-transfer-details-page .table-card[b-6r6ebrmfpi],
body:has(.erp-shell-reference.erpdb-theme-dark) .warehouse-transfer-details-page .page-header[b-6r6ebrmfpi],
body:has(.erp-shell-reference.erpdb-theme-dark) .warehouse-transfer-details-page .details-card[b-6r6ebrmfpi],
body:has(.erp-shell-reference.erpdb-theme-dark) .warehouse-transfer-details-page .table-card[b-6r6ebrmfpi] {
    background: linear-gradient(180deg, rgba(15, 23, 42, .98), rgba(11, 23, 48, .97));
    box-shadow: 0 12px 34px rgba(2, 6, 23, .24);
}

.page-header[b-6r6ebrmfpi] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
}

.page-header h1[b-6r6ebrmfpi] {
    margin: 0;
    color: var(--wtd-text);
    font-size: 24px;
    font-weight: 900;
}

.page-header p[b-6r6ebrmfpi] {
    margin: 6px 0 0;
    color: var(--wtd-muted);
    font-size: 12px;
    line-height: 1.8;
}

.header-actions[b-6r6ebrmfpi] {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.details-card[b-6r6ebrmfpi] {
    padding: 16px;
}

.details-grid[b-6r6ebrmfpi] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.details-grid > div[b-6r6ebrmfpi],
.description-box[b-6r6ebrmfpi] {
    min-width: 0;
    border: 1px solid var(--wtd-border-soft);
    border-radius: 14px;
    background: var(--wtd-soft);
    padding: 14px 15px;
    transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.details-grid > div:hover[b-6r6ebrmfpi] {
    border-color: rgba(129, 140, 248, .28);
    background: var(--wtd-card-raised);
}

.details-grid span[b-6r6ebrmfpi],
.description-box span[b-6r6ebrmfpi] {
    display: block;
    margin-bottom: 8px;
    color: var(--wtd-muted);
    font-size: 11px;
    font-weight: 800;
}

.details-grid strong[b-6r6ebrmfpi] {
    display: block;
    overflow: hidden;
    color: var(--wtd-text);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.8;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.description-box[b-6r6ebrmfpi] {
    margin-top: 12px;
}

.description-box p[b-6r6ebrmfpi] {
    margin: 0;
    color: var(--wtd-label);
    font-size: 12px;
    line-height: 2;
    white-space: pre-wrap;
}

.table-card[b-6r6ebrmfpi] {
    width: 100%;
    overflow: auto;
}

.table-card table[b-6r6ebrmfpi] {
    width: 100%;
    min-width: 920px;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--wtd-text);
}

.table-card th[b-6r6ebrmfpi],
.table-card td[b-6r6ebrmfpi] {
    padding: 12px 13px;
    text-align: right;
    border-bottom: 1px solid var(--wtd-border-soft);
    vertical-align: middle;
}

.table-card th[b-6r6ebrmfpi] {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--wtd-card-raised);
    color: var(--wtd-label);
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.table-card td[b-6r6ebrmfpi] {
    color: var(--wtd-text);
    font-size: 11px;
    line-height: 1.8;
}

.table-card tbody tr[b-6r6ebrmfpi] {
    transition: background .14s ease;
}

.table-card tbody tr:hover[b-6r6ebrmfpi] {
    background: rgba(99, 102, 241, .055);
}

.table-card tbody tr:last-child td[b-6r6ebrmfpi] {
    border-bottom: 0;
}

.table-card td:nth-child(1)[b-6r6ebrmfpi],
.table-card td:nth-child(2)[b-6r6ebrmfpi],
.table-card td:nth-child(4)[b-6r6ebrmfpi],
.table-card td:nth-child(5)[b-6r6ebrmfpi],
.table-card td:nth-child(6)[b-6r6ebrmfpi],
.table-card td:nth-child(7)[b-6r6ebrmfpi],
.table-card td:nth-child(8)[b-6r6ebrmfpi] {
    white-space: nowrap;
}

.table-card td:nth-child(2)[b-6r6ebrmfpi] {
    direction: ltr;
    color: #a5b4fc;
    font-weight: 800;
}

.table-card td:nth-child(3)[b-6r6ebrmfpi] {
    min-width: 260px;
    font-weight: 800;
}

.primary-btn[b-6r6ebrmfpi],
.secondary-btn[b-6r6ebrmfpi],
.ghost-btn[b-6r6ebrmfpi] {
    min-height: 40px;
    padding: 9px 15px;
    border: 1px solid var(--wtd-border);
    border-radius: 11px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 900;
    transition: transform .14s ease, border-color .14s ease, background .14s ease, filter .14s ease;
}

.primary-btn[b-6r6ebrmfpi] {
    border-color: transparent;
    background: linear-gradient(135deg, var(--wtd-accent), var(--wtd-accent-2));
    color: #ffffff;
}

.secondary-btn[b-6r6ebrmfpi] {
    border-color: rgba(99, 102, 241, .28);
    background: var(--wtd-accent-soft);
    color: #a5b4fc;
}

.ghost-btn[b-6r6ebrmfpi] {
    background: var(--wtd-soft);
    color: var(--wtd-text);
}

.primary-btn:hover[b-6r6ebrmfpi],
.secondary-btn:hover[b-6r6ebrmfpi],
.ghost-btn:hover[b-6r6ebrmfpi] {
    transform: translateY(-1px);
}

.primary-btn:hover[b-6r6ebrmfpi] {
    filter: brightness(1.07);
}

.secondary-btn:hover[b-6r6ebrmfpi],
.ghost-btn:hover[b-6r6ebrmfpi] {
    border-color: rgba(129, 140, 248, .42);
}

.alert[b-6r6ebrmfpi] {
    border-radius: 14px;
    padding: 12px 15px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.9;
}

.alert.error[b-6r6ebrmfpi] {
    border: 1px solid rgba(244, 63, 94, .30);
    background: rgba(244, 63, 94, .10);
    color: #fb7185;
}

.state[b-6r6ebrmfpi] {
    display: grid;
    place-items: center;
    min-height: 120px;
    color: var(--wtd-muted);
}

@media (max-width: 1100px) {
    .details-grid[b-6r6ebrmfpi] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .warehouse-transfer-details-page[b-6r6ebrmfpi] {
        gap: 12px;
        padding: 12px;
    }

    .page-header[b-6r6ebrmfpi] {
        align-items: stretch;
        flex-direction: column;
        padding: 16px;
    }

    .header-actions[b-6r6ebrmfpi] {
        width: 100%;
    }

    .header-actions button[b-6r6ebrmfpi] {
        flex: 1 1 0;
    }

    .details-card[b-6r6ebrmfpi] {
        padding: 12px;
    }

    .details-grid[b-6r6ebrmfpi] {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .details-grid strong[b-6r6ebrmfpi] {
        white-space: normal;
    }

    .table-card th[b-6r6ebrmfpi],
    .table-card td[b-6r6ebrmfpi] {
        padding: 10px 11px;
    }
}


/* Actual destination receipt */
.receipt-card[b-6r6ebrmfpi] {
    overflow: hidden;
    background: var(--wtd-card);
    border: 1px solid var(--wtd-border);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

body.erpdb-dark .warehouse-transfer-details-page .receipt-card[b-6r6ebrmfpi],
body:has(.erp-shell-reference.erpdb-dark) .warehouse-transfer-details-page .receipt-card[b-6r6ebrmfpi],
body:has(.erp-shell-reference.erpdb-darktheme) .warehouse-transfer-details-page .receipt-card[b-6r6ebrmfpi],
body:has(.erp-shell-reference.erpdb-theme-dark) .warehouse-transfer-details-page .receipt-card[b-6r6ebrmfpi] {
    background: linear-gradient(180deg, rgba(15, 23, 42, .98), rgba(11, 23, 48, .97));
    box-shadow: 0 12px 34px rgba(2, 6, 23, .24);
}

.receipt-head[b-6r6ebrmfpi] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid var(--wtd-border-soft);
}

.receipt-head h2[b-6r6ebrmfpi] {
    margin: 5px 0 0;
    color: var(--wtd-text);
    font-size: 20px;
    font-weight: 900;
}

.receipt-head p[b-6r6ebrmfpi] {
    max-width: 720px;
    margin: 7px 0 0;
    color: var(--wtd-muted);
    font-size: 11px;
    line-height: 2;
}

.receipt-kicker[b-6r6ebrmfpi] {
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: var(--wtd-accent-soft);
    color: #818cf8;
    font-size: 10px;
    font-weight: 900;
}

.receipt-summary[b-6r6ebrmfpi] {
    display: grid;
    grid-template-columns: repeat(3, minmax(82px, 1fr));
    gap: 8px;
    flex: 0 0 auto;
}

.receipt-summary > div[b-6r6ebrmfpi] {
    display: grid;
    gap: 3px;
    min-width: 90px;
    padding: 9px 11px;
    border: 1px solid var(--wtd-border-soft);
    border-radius: 12px;
    background: var(--wtd-soft);
    text-align: center;
}

.receipt-summary small[b-6r6ebrmfpi] {
    color: var(--wtd-muted);
    font-size: 9px;
}

.receipt-summary strong[b-6r6ebrmfpi] {
    color: var(--wtd-text);
    font-size: 13px;
}

.receipt-help[b-6r6ebrmfpi] {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 12px 16px 0;
    padding: 10px 12px;
    border: 1px solid rgba(59, 130, 246, .22);
    border-radius: 12px;
    background: rgba(59, 130, 246, .08);
    color: var(--wtd-label);
    font-size: 10px;
    line-height: 1.9;
}

.receipt-help > span[b-6r6ebrmfpi] {
    display: grid;
    place-items: center;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(59, 130, 246, .16);
    color: #60a5fa;
    font-weight: 900;
}

.receipt-table-wrap[b-6r6ebrmfpi] {
    width: 100%;
    margin-top: 12px;
    overflow: auto;
}

.receipt-table[b-6r6ebrmfpi] {
    width: 100%;
    min-width: 1180px;
    border-collapse: separate;
    border-spacing: 0;
}

.receipt-table th[b-6r6ebrmfpi],
.receipt-table td[b-6r6ebrmfpi] {
    padding: 11px 12px;
    border-bottom: 1px solid var(--wtd-border-soft);
    vertical-align: middle;
    text-align: right;
}

.receipt-table th[b-6r6ebrmfpi] {
    background: var(--wtd-card-raised);
    color: var(--wtd-label);
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
}

.receipt-table td[b-6r6ebrmfpi] {
    color: var(--wtd-text);
    font-size: 11px;
}

.receipt-table tr.has-discrepancy[b-6r6ebrmfpi] {
    background: rgba(245, 158, 11, .05);
}

.receipt-product[b-6r6ebrmfpi],
.details-product[b-6r6ebrmfpi] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 250px;
}

.product-thumb[b-6r6ebrmfpi],
.details-product-thumb[b-6r6ebrmfpi] {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    overflow: visible;
    border: 1px solid var(--wtd-border-soft);
    border-radius: 11px;
    background: var(--wtd-soft);
}

.product-thumb .thumb-image[b-6r6ebrmfpi],
.details-product-thumb .thumb-image[b-6r6ebrmfpi] {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 10px;
    background: var(--wtd-card-raised);
    cursor: zoom-in;
    transition: transform .16s ease, box-shadow .16s ease, outline-color .16s ease;
}

.product-thumb:hover .thumb-image[b-6r6ebrmfpi],
.details-product-thumb:hover .thumb-image[b-6r6ebrmfpi] {
    transform: scale(1.06);
    box-shadow: 0 8px 24px rgba(2, 6, 23, .28);
    outline: 1px solid rgba(129, 140, 248, .55);
}

.hover-image-preview[b-6r6ebrmfpi] {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 100000;
    display: none;
    width: min(420px, 72vw);
    height: min(420px, 72vh);
    padding: 14px;
    border: 1px solid var(--wtd-border);
    border-radius: 18px;
    background: var(--wtd-card-raised);
    object-fit: contain;
    pointer-events: none;
    transform: translate(-50%, -50%);
    box-shadow: 0 28px 90px rgba(2, 6, 23, .68);
}

.product-thumb:hover .hover-image-preview[b-6r6ebrmfpi],
.details-product-thumb:hover .hover-image-preview[b-6r6ebrmfpi] {
    display: block;
}

.product-thumb > span[b-6r6ebrmfpi],
.details-product-thumb > span[b-6r6ebrmfpi] {
    padding: 4px;
    color: var(--wtd-muted);
    font-size: 8px;
    text-align: center;
}

.product-meta[b-6r6ebrmfpi] {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.product-meta strong[b-6r6ebrmfpi],
.details-product strong[b-6r6ebrmfpi] {
    max-width: 270px;
    overflow: hidden;
    color: var(--wtd-text);
    font-size: 11px;
    line-height: 1.7;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-meta small[b-6r6ebrmfpi] {
    color: #a5b4fc;
    font-size: 9px;
    direction: ltr;
    text-align: right;
}

.receipt-number[b-6r6ebrmfpi],
.receipt-reason[b-6r6ebrmfpi] {
    min-height: 38px;
    box-sizing: border-box;
    border: 1px solid var(--wtd-border);
    border-radius: 10px;
    outline: none;
    background: var(--wtd-soft);
    color: var(--wtd-text);
    font: inherit;
    font-size: 11px;
    font-weight: 800;
}

.receipt-number[b-6r6ebrmfpi] {
    width: 82px;
    padding: 6px 8px;
    text-align: center;
}

.receipt-number.damaged[b-6r6ebrmfpi] {
    border-color: rgba(245, 158, 11, .26);
}

.receipt-reason[b-6r6ebrmfpi] {
    width: 100%;
    min-width: 220px;
    padding: 7px 10px;
}

.receipt-number:focus[b-6r6ebrmfpi],
.receipt-reason:focus[b-6r6ebrmfpi] {
    border-color: rgba(99, 102, 241, .55);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .10);
}

.qty-chip[b-6r6ebrmfpi],
.summary-pill[b-6r6ebrmfpi] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
}

.qty-chip.shipped[b-6r6ebrmfpi] {
    background: rgba(59, 130, 246, .12);
    color: #60a5fa;
}

.qty-chip.neutral[b-6r6ebrmfpi] {
    background: var(--wtd-soft);
    color: var(--wtd-muted);
}

.qty-chip.shortage[b-6r6ebrmfpi],
.summary-pill.shortage[b-6r6ebrmfpi] {
    background: rgba(244, 63, 94, .12);
    color: #fb7185;
}

.qty-chip.excess[b-6r6ebrmfpi],
.summary-pill.excess[b-6r6ebrmfpi] {
    background: rgba(168, 85, 247, .12);
    color: #c084fc;
}

.summary-pill.damaged[b-6r6ebrmfpi] {
    background: rgba(245, 158, 11, .12);
    color: #fbbf24;
}

.receipt-footer[b-6r6ebrmfpi] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px 16px;
    border-top: 1px solid var(--wtd-border-soft);
}

.discrepancy-summary[b-6r6ebrmfpi] {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.confirm-receipt-btn[b-6r6ebrmfpi] {
    min-height: 44px;
    padding: 9px 18px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #059669, #047857);
    color: #ffffff;
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(5, 150, 105, .18);
}

.confirm-receipt-btn:disabled[b-6r6ebrmfpi] {
    opacity: .55;
    cursor: not-allowed;
}

.alert.success[b-6r6ebrmfpi] {
    border: 1px solid rgba(16, 185, 129, .28);
    background: rgba(16, 185, 129, .10);
    color: #10b981;
}

.table-card table[b-6r6ebrmfpi] {
    min-width: 1320px;
}

.details-product[b-6r6ebrmfpi] {
    min-width: 280px;
}

@media (max-width: 900px) {
    .receipt-head[b-6r6ebrmfpi],
    .receipt-footer[b-6r6ebrmfpi] {
        align-items: stretch;
        flex-direction: column;
    }

    .receipt-summary[b-6r6ebrmfpi] {
        width: 100%;
    }

    .confirm-receipt-btn[b-6r6ebrmfpi] {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .receipt-summary[b-6r6ebrmfpi] {
        grid-template-columns: 1fr;
    }

    .receipt-help[b-6r6ebrmfpi] {
        align-items: flex-start;
    }
}


.finalize-btn[b-6r6ebrmfpi] {
    min-height: 40px;
    padding: 9px 16px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, #059669, #047857);
    color: #fff;
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(5, 150, 105, .20);
}

.finalize-btn:disabled[b-6r6ebrmfpi] {
    opacity: .55;
    cursor: not-allowed;
}

.workflow-notice[b-6r6ebrmfpi] {
    display: grid;
    gap: 6px;
    padding: 15px 17px;
    border-radius: 16px;
    border: 1px solid var(--wtd-border);
    background: var(--wtd-card);
}

.workflow-notice strong[b-6r6ebrmfpi] {
    color: var(--wtd-text);
    font-size: 13px;
    font-weight: 900;
}

.workflow-notice span[b-6r6ebrmfpi] {
    color: var(--wtd-muted);
    font-size: 11px;
    line-height: 2;
}

.workflow-notice.source-action[b-6r6ebrmfpi] {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    border-color: rgba(5, 150, 105, .28);
    background: rgba(5, 150, 105, .07);
}

.workflow-notice.source-action strong[b-6r6ebrmfpi],
.workflow-notice.source-action span[b-6r6ebrmfpi] {
    grid-column: 1;
}

.workflow-notice.source-action .finalize-btn[b-6r6ebrmfpi] {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.workflow-notice.waiting[b-6r6ebrmfpi] {
    border-color: rgba(245, 158, 11, .28);
    background: rgba(245, 158, 11, .07);
}

.workflow-notice.completed[b-6r6ebrmfpi] {
    border-color: rgba(5, 150, 105, .28);
    background: rgba(5, 150, 105, .07);
}

@media (max-width: 700px) {
    .workflow-notice.source-action[b-6r6ebrmfpi] {
        grid-template-columns: 1fr;
    }

    .workflow-notice.source-action .finalize-btn[b-6r6ebrmfpi] {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
    }
}


.destination-waiting[b-6r6ebrmfpi] {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.destination-waiting strong[b-6r6ebrmfpi],
.destination-waiting span[b-6r6ebrmfpi] {
    grid-column: 1;
}

.pending-receive-btn[b-6r6ebrmfpi] {
    grid-column: 2;
    grid-row: 1 / span 2;
    min-height: 40px;
    padding: 9px 15px;
    border: 1px dashed rgba(245, 158, 11, .38);
    border-radius: 11px;
    background: rgba(245, 158, 11, .08);
    color: #d97706;
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    cursor: not-allowed;
    opacity: .9;
}

@media (max-width: 700px) {
    .destination-waiting[b-6r6ebrmfpi] {
        grid-template-columns: 1fr;
    }

    .pending-receive-btn[b-6r6ebrmfpi] {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
    }
}


/* Receipt-entry safety: make the one missing explanation impossible to overlook. */
.receipt-reason.missing-reason[b-6r6ebrmfpi]{
    border-color:#ef4444!important;
    background:rgba(239,68,68,.08)!important;
    box-shadow:0 0 0 3px rgba(239,68,68,.10)!important;
}
.receipt-help strong[b-6r6ebrmfpi]{
    display:inline;
    margin-right:6px;
    color:inherit;
    font-weight:900;
}
/* /Components/Pages/WarehouseTransferForm.razor.rz.scp.css */
.warehouse-transfer-form-page[b-n52p90e1zi] {
    --wtf-page-bg: var(--erp-page-bg, var(--erp-final-bg, #f8fafc));
    --wtf-card: var(--erp-surface, #ffffff);
    --wtf-card-raised: var(--erp-surface-raised, #ffffff);
    --wtf-soft: var(--erp-surface-soft, #f8fafc);
    --wtf-text: var(--erp-text, var(--erp-final-text, #101828));
    --wtf-muted: var(--erp-muted, var(--erp-final-muted, #667085));
    --wtf-label: var(--erp-muted-text, #475467);
    --wtf-border: var(--erp-border, var(--erp-final-border, #e6e8ef));
    --wtf-border-soft: var(--erp-border-soft, #eef0f4);
    --wtf-input-bg: var(--erp-surface, #ffffff);
    --wtf-accent: #4f46e5;
    --wtf-accent-2: #6d28d9;
    --wtf-accent-soft: rgba(79, 70, 229, .11);

    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    color: var(--wtf-text);
    background: var(--wtf-page-bg);
}

body.erpdb-dark .warehouse-transfer-form-page[b-n52p90e1zi],
body:has(.erp-shell-reference.erpdb-dark) .warehouse-transfer-form-page[b-n52p90e1zi],
body:has(.erp-shell-reference.erpdb-darktheme) .warehouse-transfer-form-page[b-n52p90e1zi],
body:has(.erp-shell-reference.erpdb-theme-dark) .warehouse-transfer-form-page[b-n52p90e1zi] {
    --erp-page-bg: #020617;
    --erp-surface: #0f172a;
    --erp-surface-raised: #111c30;
    --erp-surface-soft: #0b1730;
    --erp-text: #f8fafc;
    --erp-muted: #94a3b8;
    --erp-muted-text: #cbd5e1;
    --erp-border: #334155;
    --erp-border-soft: #243247;
    --wtf-accent: #5b4bff;
    --wtf-accent-2: #7c3aed;
    --wtf-accent-soft: rgba(99, 102, 241, .14);
    color-scheme: dark;
}

body.erpdb-dark .warehouse-transfer-form-page .transfer-panel[b-n52p90e1zi],
body:has(.erp-shell-reference.erpdb-dark) .warehouse-transfer-form-page .transfer-panel[b-n52p90e1zi],
body:has(.erp-shell-reference.erpdb-darktheme) .warehouse-transfer-form-page .transfer-panel[b-n52p90e1zi],
body:has(.erp-shell-reference.erpdb-theme-dark) .warehouse-transfer-form-page .transfer-panel[b-n52p90e1zi] {
    background: linear-gradient(180deg, rgba(15, 23, 42, .98), rgba(11, 23, 48, .98));
}

body.erpdb-dark .warehouse-transfer-form-page .warehouse-selector-card[b-n52p90e1zi],
body:has(.erp-shell-reference.erpdb-dark) .warehouse-transfer-form-page .warehouse-selector-card[b-n52p90e1zi],
body:has(.erp-shell-reference.erpdb-darktheme) .warehouse-transfer-form-page .warehouse-selector-card[b-n52p90e1zi],
body:has(.erp-shell-reference.erpdb-theme-dark) .warehouse-transfer-form-page .warehouse-selector-card[b-n52p90e1zi] {
    background: linear-gradient(180deg, rgba(15, 23, 42, .98), rgba(11, 23, 48, .94));
}

.page-header[b-n52p90e1zi],
.warehouse-selector-card[b-n52p90e1zi],
.transfer-panel[b-n52p90e1zi],
.form-actions[b-n52p90e1zi] {
    background: var(--wtf-card);
    border: 1px solid var(--wtf-border);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

.page-header[b-n52p90e1zi] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
}

.page-title-wrap[b-n52p90e1zi] {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.page-title-icon[b-n52p90e1zi],
.panel-icon[b-n52p90e1zi] {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(99, 102, 241, .24);
    background: var(--wtf-accent-soft);
    color: #818cf8;
}

.page-title-icon[b-n52p90e1zi] {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    font-size: 24px;
    font-weight: 900;
}

.page-header h1[b-n52p90e1zi],
.panel-header h2[b-n52p90e1zi] {
    margin: 0;
    color: var(--wtf-text);
    font-weight: 900;
}

.page-header h1[b-n52p90e1zi] {
    font-size: 24px;
}

.page-header p[b-n52p90e1zi],
.panel-header p[b-n52p90e1zi] {
    margin: 6px 0 0;
    color: var(--wtf-muted);
    line-height: 1.8;
}

.page-header p[b-n52p90e1zi] {
    font-size: 12px;
}

.warehouse-selector-card[b-n52p90e1zi] {
    padding: 18px;
}

.warehouse-selector-grid[b-n52p90e1zi] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr);
    align-items: end;
    gap: 14px;
}

.warehouse-select-block[b-n52p90e1zi] {
    display: grid;
    gap: 8px;
}

.warehouse-select-block > label[b-n52p90e1zi],
.field label[b-n52p90e1zi] {
    color: var(--wtf-label);
    font-size: 12px;
    font-weight: 900;
}

.warehouse-select-shell[b-n52p90e1zi] {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    min-height: 54px;
    border: 1px solid var(--wtf-border);
    border-radius: 14px;
    background: var(--wtf-soft);
    overflow: hidden;
}

.warehouse-icon[b-n52p90e1zi] {
    display: grid;
    place-items: center;
    height: 100%;
    color: #94a3b8;
    font-size: 20px;
    border-left: 1px solid var(--wtf-border-soft);
}

.warehouse-select-shell select[b-n52p90e1zi] {
    width: 100%;
    min-height: 52px;
    border: 0;
    outline: 0;
    padding: 0 14px;
    background: transparent;
    color: var(--wtf-text);
    font-size: 14px;
    font-weight: 800;
}

.swap-btn[b-n52p90e1zi] {
    width: 48px;
    height: 48px;
    border: 1px solid var(--wtf-border);
    border-radius: 13px;
    background: var(--wtf-soft);
    color: #818cf8;
    font-size: 22px;
    font-weight: 900;
    cursor: pointer;
}

.swap-btn:disabled[b-n52p90e1zi] {
    opacity: .45;
    cursor: not-allowed;
}

.transfer-details[b-n52p90e1zi] {
    margin-top: 14px;
    border-top: 1px solid var(--wtf-border-soft);
    padding-top: 12px;
}

.transfer-details summary[b-n52p90e1zi] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    color: var(--wtf-muted);
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    list-style: none;
}

.transfer-details summary[b-n52p90e1zi]::-webkit-details-marker {
    display: none;
}

.transfer-details summary[b-n52p90e1zi]::before {
    content: "＋";
    color: #818cf8;
    font-size: 14px;
}

.transfer-details[open] summary[b-n52p90e1zi]::before {
    content: "−";
}

.transfer-details summary small[b-n52p90e1zi] {
    color: var(--wtf-muted);
    font-size: 10px;
    font-weight: 700;
}

.transfer-details-grid[b-n52p90e1zi] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.field[b-n52p90e1zi] {
    display: grid;
    gap: 7px;
}

.field.full[b-n52p90e1zi] {
    grid-column: 1 / -1;
}

.field input[b-n52p90e1zi],
.field select[b-n52p90e1zi],
.field textarea[b-n52p90e1zi] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--wtf-border);
    border-radius: 12px;
    padding: 10px 12px;
    outline: none;
    background: var(--wtf-input-bg);
    color: var(--wtf-text);
}

.field input[b-n52p90e1zi] {
    min-height: 44px;
}

.field textarea[b-n52p90e1zi] {
    resize: vertical;
}

.field input[b-n52p90e1zi]::placeholder,
.field textarea[b-n52p90e1zi]::placeholder,
.catalog-search input[b-n52p90e1zi]::placeholder {
    color: var(--wtf-muted);
}

.transfer-workspace[b-n52p90e1zi] {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 16px;
    align-items: stretch;
}

.transfer-panel[b-n52p90e1zi] {
    min-width: 0;
    overflow: hidden;
}

.panel-header[b-n52p90e1zi] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 19px 20px 16px;
    border-bottom: 1px solid var(--wtf-border-soft);
}

.panel-header h2[b-n52p90e1zi] {
    font-size: 17px;
}

.panel-header p[b-n52p90e1zi] {
    font-size: 11px;
}

.panel-icon[b-n52p90e1zi] {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 18px;
}

.catalog-toolbar[b-n52p90e1zi] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
}

.catalog-search[b-n52p90e1zi] {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    gap: 9px;
    min-height: 46px;
    border: 1px solid var(--wtf-border);
    border-radius: 12px;
    padding: 0 11px;
    background: var(--wtf-soft);
    color: var(--wtf-muted);
}

.catalog-search input[b-n52p90e1zi] {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--wtf-text);
    font-size: 12px;
}

.catalog-count[b-n52p90e1zi],
.selected-count-badge[b-n52p90e1zi] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--wtf-accent-soft);
    color: #818cf8;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.table-shell[b-n52p90e1zi] {
    width: 100%;
    overflow: auto;
}

.source-table-shell[b-n52p90e1zi] {
    max-height: 570px;
}

.selected-table-shell[b-n52p90e1zi] {
    min-height: 438px;
    max-height: 570px;
}

.transfer-table[b-n52p90e1zi] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 520px;
    color: var(--wtf-text);
}

.source-table[b-n52p90e1zi] {
    min-width: 620px;
    table-layout: fixed;
}

.selected-table[b-n52p90e1zi] {
    min-width: 520px;
    table-layout: fixed;
}

.source-table th:nth-child(1)[b-n52p90e1zi],
.source-table td:nth-child(1)[b-n52p90e1zi] { width: 34%; }

.source-table th:nth-child(2)[b-n52p90e1zi],
.source-table td:nth-child(2)[b-n52p90e1zi] { width: 13%; }

.source-table th:nth-child(3)[b-n52p90e1zi],
.source-table td:nth-child(3)[b-n52p90e1zi] { width: 10%; }

.source-table th:nth-child(4)[b-n52p90e1zi],
.source-table td:nth-child(4)[b-n52p90e1zi] { width: 8%; }

.source-table th:nth-child(5)[b-n52p90e1zi],
.source-table td:nth-child(5)[b-n52p90e1zi] { width: 18%; }

.source-table th:nth-child(6)[b-n52p90e1zi],
.source-table td:nth-child(6)[b-n52p90e1zi] { width: 17%; }

.selected-table th:nth-child(1)[b-n52p90e1zi],
.selected-table td:nth-child(1)[b-n52p90e1zi] { width: 36%; }

.selected-table th:nth-child(2)[b-n52p90e1zi],
.selected-table td:nth-child(2)[b-n52p90e1zi] { width: 12%; }

.selected-table th:nth-child(3)[b-n52p90e1zi],
.selected-table td:nth-child(3)[b-n52p90e1zi] { width: 16%; }

.selected-table th:nth-child(4)[b-n52p90e1zi],
.selected-table td:nth-child(4)[b-n52p90e1zi] { width: 22%; }

.selected-table th:nth-child(5)[b-n52p90e1zi],
.selected-table td:nth-child(5)[b-n52p90e1zi] { width: 14%; }

.transfer-table thead th[b-n52p90e1zi] {
    position: sticky;
    top: 0;
    z-index: 3;
    padding: 12px 12px;
    border-bottom: 1px solid var(--wtf-border);
    background: var(--wtf-card-raised);
    color: var(--wtf-label);
    text-align: right;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.transfer-table tbody td[b-n52p90e1zi] {
    padding: 11px 12px;
    border-bottom: 1px solid var(--wtf-border-soft);
    vertical-align: middle;
    font-size: 12px;
}

.transfer-table tbody tr:last-child td[b-n52p90e1zi] {
    border-bottom: 0;
}

.transfer-table tbody tr:hover[b-n52p90e1zi] {
    background: rgba(99, 102, 241, .035);
}

.row-unavailable[b-n52p90e1zi] {
    opacity: .62;
}

.product-cell[b-n52p90e1zi] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.source-table .product-cell[b-n52p90e1zi] {
    min-width: 205px;
}

.product-thumb-wrap[b-n52p90e1zi] {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    z-index: 6;
}

.product-image-preview[b-n52p90e1zi] {
    position: absolute;
    top: 50%;
    right: calc(100% + 10px);
    display: grid;
    place-items: center;
    width: 220px;
    height: 220px;
    padding: 10px;
    border: 1px solid rgba(129, 140, 248, .34);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(2, 6, 23, .52);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) scale(.94);
    transform-origin: right center;
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
    pointer-events: none;
    z-index: 120;
}

.product-image-preview img[b-n52p90e1zi] {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 10px;
}

.product-thumb-wrap:hover .product-image-preview[b-n52p90e1zi],
.product-thumb-wrap:focus-within .product-image-preview[b-n52p90e1zi] {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}

.product-name-wrap[b-n52p90e1zi] {
    position: relative;
    display: block;
    min-width: 0;
    max-width: 100%;
    outline: none;
}

.product-name[b-n52p90e1zi] {
    display: block;
    max-width: 100%;
}

.product-name-tooltip[b-n52p90e1zi] {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: max-content;
    min-width: 180px;
    max-width: 360px;
    padding: 9px 11px;
    border: 1px solid rgba(129, 140, 248, .3);
    border-radius: 10px;
    background: var(--wtf-card-raised);
    color: var(--wtf-text);
    box-shadow: 0 16px 36px rgba(2, 6, 23, .38);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.9;
    white-space: normal;
    word-break: break-word;
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
    pointer-events: none;
    z-index: 130;
}

.product-name-wrap:hover .product-name-tooltip[b-n52p90e1zi],
.product-name-wrap:focus .product-name-tooltip[b-n52p90e1zi],
.product-name-wrap:focus-within .product-name-tooltip[b-n52p90e1zi] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.product-thumb[b-n52p90e1zi] {
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    overflow: hidden;
    border: 1px solid var(--wtf-border-soft);
    border-radius: 10px;
    background: var(--wtf-soft);
}

.source-table .product-thumb[b-n52p90e1zi] {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .035);
}

.selected-table .product-thumb[b-n52p90e1zi] {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
}

.product-thumb img[b-n52p90e1zi] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-thumb-placeholder[b-n52p90e1zi] {
    padding: 4px;
    color: var(--wtf-muted);
    font-size: 8px;
    text-align: center;
    line-height: 1.4;
}

.product-copy[b-n52p90e1zi] {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.product-copy strong[b-n52p90e1zi] {
    max-width: 100%;
    overflow: hidden;
    color: var(--wtf-text);
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    line-height: 1.65;
}

.source-table .product-copy strong[b-n52p90e1zi] {
    font-size: 13px;
}

.product-copy small[b-n52p90e1zi],
.remaining-note[b-n52p90e1zi] {
    color: var(--wtf-muted);
    font-size: 10px;
    line-height: 1.65;
}

.product-code[b-n52p90e1zi] {
    direction: ltr;
    display: inline-block;
    color: #a5b4fc;
    font-size: 10px;
    font-weight: 800;
}

.stock-pill[b-n52p90e1zi] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 4px 8px;
    border-radius: 9px;
    font-weight: 900;
}

.stock-pill.ok[b-n52p90e1zi] {
    background: rgba(16, 185, 129, .15);
    color: #34d399;
}

.stock-pill.warning[b-n52p90e1zi] {
    background: rgba(245, 158, 11, .16);
    color: #fbbf24;
}

.stock-pill.danger[b-n52p90e1zi],
.stock-pill.empty[b-n52p90e1zi] {
    background: rgba(244, 63, 94, .16);
    color: #fb7185;
}

.remaining-note[b-n52p90e1zi] {
    display: block;
    margin-top: 3px;
    white-space: nowrap;
}

.qty-stepper[b-n52p90e1zi] {
    display: inline-grid;
    grid-template-columns: 32px 54px 32px;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--wtf-border);
    border-radius: 10px;
    background: var(--wtf-soft);
}

.qty-stepper button[b-n52p90e1zi],
.qty-stepper input[b-n52p90e1zi] {
    height: 36px;
    border: 0;
    background: transparent;
    color: var(--wtf-text);
    text-align: center;
    outline: 0;
    font-weight: 900;
}

.qty-stepper button[b-n52p90e1zi] {
    cursor: pointer;
    font-size: 15px;
}

.qty-stepper button:hover:not(:disabled)[b-n52p90e1zi] {
    background: var(--wtf-accent-soft);
    color: #a5b4fc;
}

.qty-stepper button:disabled[b-n52p90e1zi],
.qty-stepper input:disabled[b-n52p90e1zi] {
    opacity: .45;
    cursor: not-allowed;
}

.qty-stepper input[b-n52p90e1zi] {
    width: 54px;
    border-right: 1px solid var(--wtf-border-soft);
    border-left: 1px solid var(--wtf-border-soft);
    font-size: 10px;
    appearance: textfield;
}

.qty-stepper input[b-n52p90e1zi]::-webkit-inner-spin-button,
.qty-stepper input[b-n52p90e1zi]::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.add-product-btn[b-n52p90e1zi],
.remove-product-btn[b-n52p90e1zi],
.primary-btn[b-n52p90e1zi],
.ghost-btn[b-n52p90e1zi] {
    border: 0;
    border-radius: 11px;
    cursor: pointer;
    font-weight: 900;
}

.add-product-btn[b-n52p90e1zi] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 86px;
    min-height: 38px;
    padding: 8px 13px;
    background: linear-gradient(135deg, var(--wtf-accent), var(--wtf-accent-2));
    color: #ffffff;
    font-size: 11px;
}

.add-product-btn:disabled[b-n52p90e1zi] {
    opacity: .4;
    cursor: not-allowed;
}

.remove-product-btn[b-n52p90e1zi] {
    min-height: 32px;
    padding: 6px 10px;
    background: rgba(244, 63, 94, .13);
    color: #fb7185;
    font-size: 10px;
}

.selected-header[b-n52p90e1zi] {
    align-items: center;
}

.selected-qty-input[b-n52p90e1zi] {
    width: 78px;
    min-height: 36px;
    box-sizing: border-box;
    border: 1px solid var(--wtf-border);
    border-radius: 9px;
    background: var(--wtf-soft);
    color: var(--wtf-text);
    padding: 5px 7px;
    text-align: center;
    outline: 0;
    font-size: 10px;
    font-weight: 800;
}

.destination-name[b-n52p90e1zi] {
    display: block;
    max-width: 140px;
    overflow: hidden;
    color: var(--wtf-muted);
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
}

.selected-summary[b-n52p90e1zi] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: auto;
    border-top: 1px solid var(--wtf-border-soft);
    background: var(--wtf-border-soft);
}

.selected-summary > div[b-n52p90e1zi] {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 14px;
    background: var(--wtf-card);
}

.selected-summary > div > span:last-child[b-n52p90e1zi] {
    display: grid;
    gap: 2px;
}

.selected-summary small[b-n52p90e1zi] {
    color: var(--wtf-muted);
    font-size: 9px;
}

.selected-summary strong[b-n52p90e1zi] {
    color: var(--wtf-text);
    font-size: 12px;
}

.summary-icon[b-n52p90e1zi] {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--wtf-accent-soft);
    color: #818cf8;
    font-weight: 900;
}

.empty-state[b-n52p90e1zi] {
    display: grid;
    place-items: center;
    min-height: 150px;
    padding: 20px;
    color: var(--wtf-muted);
    text-align: center;
    line-height: 1.9;
}

.selected-empty[b-n52p90e1zi] {
    min-height: 320px;
    align-content: center;
    justify-items: center;
    gap: 9px;
    padding: 34px 26px;
}

.selected-empty > strong[b-n52p90e1zi] {
    color: var(--wtf-text);
    font-size: 14px;
    font-weight: 900;
}

.selected-empty > span:last-child[b-n52p90e1zi] {
    max-width: 310px;
    color: var(--wtf-muted);
    font-size: 11px;
    line-height: 2;
}

.selected-empty-visual[b-n52p90e1zi] {
    position: relative;
    width: 104px;
    height: 104px;
    margin-bottom: 8px;
    border: 1px solid rgba(99, 102, 241, .18);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 42%, rgba(99, 102, 241, .24), rgba(99, 102, 241, .08) 55%, transparent 72%);
    box-shadow: inset 0 0 28px rgba(99, 102, 241, .08);
}

.empty-box-body[b-n52p90e1zi] {
    position: absolute;
    left: 50%;
    bottom: 25px;
    width: 46px;
    height: 34px;
    transform: translateX(-50%);
    border-radius: 6px 6px 9px 9px;
    background: linear-gradient(145deg, #6366f1, #4338ca);
    box-shadow: 0 10px 22px rgba(79, 70, 229, .26);
}

.empty-box-body[b-n52p90e1zi]::after {
    content: "";
    position: absolute;
    inset: 0 50% 0 auto;
    width: 1px;
    background: rgba(255, 255, 255, .18);
}

.empty-box-lid[b-n52p90e1zi] {
    position: absolute;
    left: 50%;
    top: 30px;
    width: 52px;
    height: 22px;
    transform: translateX(-50%);
}

.empty-box-lid[b-n52p90e1zi]::before,
.empty-box-lid[b-n52p90e1zi]::after {
    content: "";
    position: absolute;
    top: 3px;
    width: 28px;
    height: 18px;
    border: 2px solid #818cf8;
    background: rgba(99, 102, 241, .16);
}

.empty-box-lid[b-n52p90e1zi]::before {
    right: 24px;
    border-radius: 6px 2px 4px 2px;
    transform: skewY(22deg);
}

.empty-box-lid[b-n52p90e1zi]::after {
    left: 24px;
    border-radius: 2px 6px 2px 4px;
    transform: skewY(-22deg);
}

.catalog-error[b-n52p90e1zi] {
    margin: 0 14px 10px;
    padding: 9px 11px;
    border: 1px solid rgba(244, 63, 94, .34);
    border-radius: 10px;
    background: rgba(244, 63, 94, .10);
    color: #fb7185;
    font-size: 10px;
    font-weight: 800;
}

.catalog-pager[b-n52p90e1zi] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 14px 12px;
    border-top: 1px solid var(--wtf-border-soft);
    background: var(--wtf-soft);
}

.catalog-page-summary[b-n52p90e1zi] {
    color: var(--wtf-muted);
    font-size: 10px;
    font-weight: 800;
}

.catalog-page-summary span[b-n52p90e1zi] {
    margin-inline-start: 6px;
    opacity: .85;
}

.catalog-page-controls[b-n52p90e1zi] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.catalog-page-btn[b-n52p90e1zi] {
    min-width: 64px;
    min-height: 34px;
    border: 1px solid var(--wtf-border);
    border-radius: 10px;
    padding: 6px 10px;
    background: var(--wtf-card);
    color: var(--wtf-text);
    font-size: 10px;
    font-weight: 900;
    cursor: pointer;
}

.catalog-page-btn:hover:not(:disabled)[b-n52p90e1zi] {
    border-color: rgba(99, 102, 241, .55);
    background: var(--wtf-accent-soft);
}

.catalog-page-btn:disabled[b-n52p90e1zi] {
    opacity: .45;
    cursor: not-allowed;
}

.catalog-page-indicator[b-n52p90e1zi] {
    min-width: 92px;
    text-align: center;
    color: var(--wtf-label);
    font-size: 10px;
    font-weight: 900;
}

.form-actions[b-n52p90e1zi] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
}

.action-note[b-n52p90e1zi] {
    color: var(--wtf-muted);
    font-size: 10px;
    line-height: 1.8;
}

.action-buttons[b-n52p90e1zi] {
    display: flex;
    align-items: center;
    gap: 9px;
}

.primary-btn[b-n52p90e1zi],
.ghost-btn[b-n52p90e1zi] {
    min-height: 40px;
    padding: 9px 16px;
}

.primary-btn[b-n52p90e1zi] {
    min-width: 126px;
    background: linear-gradient(135deg, #4f46e5, #6d28d9);
    color: #ffffff;
}

.primary-btn:disabled[b-n52p90e1zi] {
    opacity: .48;
    cursor: not-allowed;
}

.ghost-btn[b-n52p90e1zi] {
    background: var(--wtf-soft);
    color: var(--wtf-text);
}

.alert[b-n52p90e1zi] {
    border-radius: 14px;
    padding: 12px 15px;
    font-weight: 800;
    white-space: pre-line;
    line-height: 1.9;
    max-height: 220px;
    overflow: auto;
    font-size: 11px;
}

.alert.error[b-n52p90e1zi] {
    background: rgba(244, 63, 94, .10);
    color: #e11d48;
    border: 1px solid rgba(244, 63, 94, .28);
}

.alert.success[b-n52p90e1zi] {
    background: rgba(16, 185, 129, .10);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, .28);
}

body.erpdb-dark .warehouse-transfer-form-page .alert.error[b-n52p90e1zi],
body:has(.erp-shell-reference.erpdb-dark) .warehouse-transfer-form-page .alert.error[b-n52p90e1zi],
body:has(.erp-shell-reference.erpdb-darktheme) .warehouse-transfer-form-page .alert.error[b-n52p90e1zi],
body:has(.erp-shell-reference.erpdb-theme-dark) .warehouse-transfer-form-page .alert.error[b-n52p90e1zi] {
    color: #fda4af;
}

body.erpdb-dark .warehouse-transfer-form-page .alert.success[b-n52p90e1zi],
body:has(.erp-shell-reference.erpdb-dark) .warehouse-transfer-form-page .alert.success[b-n52p90e1zi],
body:has(.erp-shell-reference.erpdb-darktheme) .warehouse-transfer-form-page .alert.success[b-n52p90e1zi],
body:has(.erp-shell-reference.erpdb-theme-dark) .warehouse-transfer-form-page .alert.success[b-n52p90e1zi] {
    color: #6ee7b7;
}

.loading-state[b-n52p90e1zi] {
    display: grid;
    place-items: center;
    min-height: 160px;
    color: var(--wtf-muted);
}

.mobile-preview-backdrop[b-n52p90e1zi] {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(2, 6, 23, .72);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.mobile-preview-dialog[b-n52p90e1zi] {
    position: relative;
    width: min(92vw, 420px);
    max-height: min(82vh, 620px);
    overflow: auto;
    border: 1px solid rgba(129, 140, 248, .34);
    border-radius: 20px;
    background: var(--wtf-card-raised);
    color: var(--wtf-text);
    box-shadow: 0 28px 70px rgba(2, 6, 23, .62);
}

.mobile-preview-close[b-n52p90e1zi] {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--wtf-border);
    border-radius: 50%;
    background: rgba(15, 23, 42, .86);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.mobile-preview-image-shell[b-n52p90e1zi] {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 280px;
    padding: 22px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 20px 20px 0 0;
}

.mobile-preview-image-shell img[b-n52p90e1zi] {
    display: block;
    width: 100%;
    max-width: 340px;
    max-height: 52vh;
    object-fit: contain;
}

.mobile-preview-caption[b-n52p90e1zi] {
    display: block;
    padding: 16px 18px 18px;
    font-size: 14px;
    line-height: 1.9;
    text-align: center;
}

.mobile-preview-name-content[b-n52p90e1zi] {
    display: grid;
    gap: 10px;
    padding: 46px 22px 26px;
    text-align: right;
}

.mobile-preview-name-content small[b-n52p90e1zi] {
    color: var(--wtf-muted);
    font-size: 11px;
    font-weight: 800;
}

.mobile-preview-name-content strong[b-n52p90e1zi] {
    color: var(--wtf-text);
    font-size: 17px;
    font-weight: 900;
    line-height: 2;
    word-break: break-word;
}

@media (hover: none), (pointer: coarse) {
    .product-image-preview[b-n52p90e1zi],
    .product-name-tooltip[b-n52p90e1zi] {
        display: none;
    }

    .product-thumb[b-n52p90e1zi],
    .product-name-wrap[b-n52p90e1zi] {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-preview-backdrop[b-n52p90e1zi] {
        display: flex;
    }
}

@media (max-width: 1050px) {
    .transfer-workspace[b-n52p90e1zi] {
        grid-template-columns: 1fr;
    }

    .source-table-shell[b-n52p90e1zi],
    .selected-table-shell[b-n52p90e1zi] {
        max-height: none;
    }

    .selected-table-shell[b-n52p90e1zi] {
        min-height: 0;
    }

    .selected-empty[b-n52p90e1zi] {
        min-height: 140px;
    }
}

@media (max-width: 520px) {
    .mobile-preview-backdrop[b-n52p90e1zi] {
        padding: 12px;
    }

    .mobile-preview-dialog[b-n52p90e1zi] {
        width: min(94vw, 390px);
        border-radius: 16px;
    }

    .mobile-preview-image-shell[b-n52p90e1zi] {
        min-height: 230px;
        padding: 16px;
        border-radius: 16px 16px 0 0;
    }

    .mobile-preview-image-shell img[b-n52p90e1zi] {
        max-height: 48vh;
    }
}

@media (max-width: 760px) {
    .warehouse-transfer-form-page[b-n52p90e1zi] {
        padding: 12px;
    }

    .page-header[b-n52p90e1zi],
    .form-actions[b-n52p90e1zi] {
        align-items: stretch;
        flex-direction: column;
    }

    .warehouse-selector-grid[b-n52p90e1zi] {
        grid-template-columns: 1fr;
    }

    .swap-btn[b-n52p90e1zi] {
        justify-self: center;
        transform: rotate(90deg);
    }

    .transfer-details-grid[b-n52p90e1zi] {
        grid-template-columns: 1fr;
    }

    .field.full[b-n52p90e1zi] {
        grid-column: auto;
    }

    .catalog-toolbar[b-n52p90e1zi] {
        align-items: stretch;
        flex-direction: column;
    }

    .catalog-count[b-n52p90e1zi] {
        align-self: flex-start;
    }

    .catalog-pager[b-n52p90e1zi] {
        align-items: stretch;
        flex-direction: column;
    }

    .catalog-page-controls[b-n52p90e1zi] {
        justify-content: space-between;
    }

    .catalog-page-btn[b-n52p90e1zi] {
        flex: 1 1 0;
    }

    .form-actions .action-buttons[b-n52p90e1zi] {
        width: 100%;
    }

    .form-actions .action-buttons button[b-n52p90e1zi] {
        flex: 1 1 0;
    }
}
/* /Components/Pages/WarehouseTransferPrint.razor.rz.scp.css */
.print-page[b-bvox5uuyze] {
    padding: 24px;
    background: #f4f6f8;
    min-height: 100vh;
}

.toolbar[b-bvox5uuyze] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 16px;
}

.toolbar button[b-bvox5uuyze] {
    border: 0;
    border-radius: 12px;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 800;
    background: #101828;
    color: #ffffff;
}

.print-sheet[b-bvox5uuyze] {
    background: #ffffff;
    max-width: 980px;
    margin: 0 auto;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, .10);
}

.print-header[b-bvox5uuyze] {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 2px solid #101828;
    padding-bottom: 18px;
    margin-bottom: 22px;
}

.print-header h1[b-bvox5uuyze] {
    margin: 0;
    font-size: 24px;
    color: #101828;
}

.print-header p[b-bvox5uuyze] {
    margin: 8px 0 0;
    color: #667085;
}

.meta[b-bvox5uuyze] {
    display: grid;
    gap: 8px;
    color: #344054;
    font-weight: 700;
}

.info-grid[b-bvox5uuyze] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.info-grid div[b-bvox5uuyze],
.description[b-bvox5uuyze] {
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    padding: 12px;
}

label[b-bvox5uuyze] {
    display: block;
    color: #667085;
    font-size: 12px;
    margin-bottom: 8px;
}

strong[b-bvox5uuyze] {
    color: #101828;
}

.description[b-bvox5uuyze] {
    margin-bottom: 20px;
}

.description p[b-bvox5uuyze] {
    margin: 0;
    color: #344054;
}

table[b-bvox5uuyze] {
    width: 100%;
    border-collapse: collapse;
}

th[b-bvox5uuyze],
td[b-bvox5uuyze] {
    border: 1px solid #d0d5dd;
    padding: 10px;
    text-align: right;
}

th[b-bvox5uuyze] {
    background: #f2f4f7;
    color: #344054;
}

.signatures[b-bvox5uuyze] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 42px;
}

.signatures div[b-bvox5uuyze] {
    border-top: 1px solid #101828;
    padding-top: 10px;
    text-align: center;
    color: #344054;
    font-weight: 800;
}

.state[b-bvox5uuyze] {
    background: #ffffff;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    color: #667085;
}

.state.error[b-bvox5uuyze] {
    color: #b42318;
}

@media print {
    .no-print[b-bvox5uuyze] {
        display: none !important;
    }

    .print-page[b-bvox5uuyze] {
        padding: 0;
        background: #ffffff;
    }

    .print-sheet[b-bvox5uuyze] {
        box-shadow: none;
        border-radius: 0;
        max-width: none;
    }
}
/* /Components/Pages/WarehouseTransfers.razor.rz.scp.css */
.warehouse-transfers-page[b-wgox661hei] {
    --wt-bg: var(--erp-page-bg, var(--erp-final-bg, #eef4fb));
    --wt-card: var(--erp-surface, #ffffff);
    --wt-raised: var(--erp-surface-raised, #f8fafc);
    --wt-soft-surface: var(--erp-surface-soft, #f1f5f9);
    --wt-text: var(--erp-text, var(--erp-final-text, #0f172a));
    --wt-muted: var(--erp-muted, var(--erp-final-muted, #64748b));
    --wt-border: var(--erp-border, var(--erp-final-border, #dbe4f0));
    --wt-soft: var(--erp-border, var(--erp-final-border, #e2e8f0));
    --wt-blue: var(--erp-primary, #2563eb);
    --wt-purple: var(--erp-accent, #7c3aed);
    --wt-green: #059669;
    --wt-red: #e11d48;

    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 24px;
    color: var(--wt-text);
    background:
        radial-gradient(circle at 18% 0%, rgba(124, 58, 237, .08), transparent 340px),
        var(--wt-bg);
}

body.erpdb-dark .warehouse-transfers-page[b-wgox661hei],
body:has(.erp-shell-reference.erpdb-dark) .warehouse-transfers-page[b-wgox661hei],
body:has(.erp-shell-reference.erpdb-darktheme) .warehouse-transfers-page[b-wgox661hei],
body:has(.erp-shell-reference.erpdb-theme-dark) .warehouse-transfers-page[b-wgox661hei] {
    --erp-page-bg: #020617;
    --erp-surface: #0f172a;
    --erp-surface-raised: #111c30;
    --erp-surface-soft: #0b1730;
    --erp-text: #f8fafc;
    --erp-muted: #94a3b8;
    --erp-muted-text: #94a3b8;
    --erp-border: #334155;
    --erp-border-soft: #243247;
    color-scheme: dark;
}

.warehouse-transfers-page[b-wgox661hei],
.warehouse-transfers-page *[b-wgox661hei],
.warehouse-transfers-page *[b-wgox661hei]::before,
.warehouse-transfers-page *[b-wgox661hei]::after {
    box-sizing: border-box;
}

.warehouse-hero[b-wgox661hei],
.toolbar-card[b-wgox661hei],
.table-card[b-wgox661hei],
.warehouse-summary-shell[b-wgox661hei] {
    border: 1px solid var(--wt-border);
    background: var(--wt-card);
    box-shadow: 0 22px 64px rgba(2, 6, 23, .12);
}

.warehouse-hero[b-wgox661hei] {
    position: relative;
    min-height: 156px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    border-radius: 30px;
    overflow: hidden;
    background:
        radial-gradient(circle at 0 0, rgba(124,58,237,.12), transparent 270px),
        linear-gradient(135deg, var(--wt-card), var(--wt-raised));
}

.warehouse-hero[b-wgox661hei]::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(148,163,184,.08), transparent);
    transform: translateX(-70%);
    opacity: .45;
}

.warehouse-hero-copy[b-wgox661hei],
.warehouse-new-btn[b-wgox661hei] {
    position: relative;
    z-index: 1;
}

.warehouse-hero-copy[b-wgox661hei] {
    display: grid;
    gap: 18px;
}

.warehouse-breadcrumb[b-wgox661hei] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--wt-muted);
    font-size: 12px;
    font-weight: 900;
}

.warehouse-breadcrumb span[b-wgox661hei],
.warehouse-breadcrumb b[b-wgox661hei] {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    border-radius: 999px;
    border: 1px solid var(--wt-soft);
    background: var(--wt-raised);
}

.warehouse-breadcrumb b[b-wgox661hei] {
    color: var(--wt-blue);
    border-color: rgba(37, 99, 235, .34);
    background: rgba(37, 99, 235, .12);
}

.warehouse-breadcrumb i[b-wgox661hei] {
    width: 7px;
    height: 7px;
    border-top: 2px solid var(--wt-muted);
    border-left: 2px solid var(--wt-muted);
    transform: rotate(-45deg);
}

.warehouse-title-row[b-wgox661hei] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.warehouse-title-icon[b-wgox661hei] {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(124, 58, 237, .30);
    border-radius: 20px;
    color: var(--wt-purple);
    background: rgba(124, 58, 237, .12);
    box-shadow: 0 15px 34px rgba(124,58,237,.14);
    font-size: 29px;
    font-weight: 1000;
}

.warehouse-eyebrow[b-wgox661hei] {
    min-height: 29px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--wt-blue);
    background: rgba(37, 99, 235, .12);
    font-size: 12px;
    font-weight: 950;
}

.warehouse-hero h1[b-wgox661hei],
.toolbar-copy h2[b-wgox661hei],
.table-card-head h2[b-wgox661hei] {
    margin: 0;
    color: var(--wt-text);
    font-weight: 1000;
    letter-spacing: -.5px;
}

.warehouse-hero h1[b-wgox661hei] {
    font-size: 34px;
}

.warehouse-hero p[b-wgox661hei],
.toolbar-copy p[b-wgox661hei],
.table-card-head p[b-wgox661hei] {
    margin: 8px 0 0;
    color: var(--wt-muted);
    font-weight: 700;
}

.primary-btn[b-wgox661hei],
.secondary-btn[b-wgox661hei],
.ghost-btn[b-wgox661hei],
.actions button[b-wgox661hei] {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 950;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.primary-btn:hover:not(:disabled)[b-wgox661hei],
.secondary-btn:hover:not(:disabled)[b-wgox661hei],
.ghost-btn:hover:not(:disabled)[b-wgox661hei],
.actions button:hover:not(:disabled)[b-wgox661hei] {
    transform: translateY(-1px);
}

.primary-btn:disabled[b-wgox661hei],
.secondary-btn:disabled[b-wgox661hei],
.ghost-btn:disabled[b-wgox661hei] {
    opacity: .55;
    cursor: not-allowed;
}

.primary-btn[b-wgox661hei] {
    padding: 0 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--wt-blue), var(--wt-purple));
    box-shadow: 0 16px 34px rgba(37,99,235,.24);
}

.warehouse-new-btn[b-wgox661hei] {
    min-width: 170px;
}

.warehouse-new-btn span[b-wgox661hei] {
    font-size: 21px;
}

.secondary-btn[b-wgox661hei] {
    min-width: 120px;
    padding: 0 20px;
    color: #fff;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    box-shadow: 0 12px 28px rgba(2,6,23,.20);
}

.ghost-btn[b-wgox661hei] {
    min-width: 120px;
    padding: 0 20px;
    color: var(--wt-text);
    border: 1px solid var(--wt-border);
    background: var(--wt-raised);
}

.warehouse-summary-shell[b-wgox661hei] {
    padding: 18px;
    border-radius: 26px;
}

.toolbar-card[b-wgox661hei] {
    padding: 22px;
    border-radius: 28px;
}

.toolbar-copy[b-wgox661hei] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--wt-soft);
}

.toolbar-icon[b-wgox661hei] {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(37, 99, 235, .30);
    border-radius: 16px;
    color: var(--wt-blue);
    background: rgba(37, 99, 235, .10);
    font-size: 24px;
    font-weight: 1000;
}

.toolbar-copy h2[b-wgox661hei],
.table-card-head h2[b-wgox661hei] {
    font-size: 22px;
}

.toolbar-controls[b-wgox661hei] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px 120px;
    gap: 12px;
    align-items: end;
}

.search-box[b-wgox661hei] {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.search-box label[b-wgox661hei] {
    color: var(--wt-text);
    font-size: 13px;
    font-weight: 1000;
}

.search-box input[b-wgox661hei] {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 0 16px;
    border: 1px solid var(--wt-border);
    border-radius: 15px;
    color: var(--wt-text);
    background: var(--wt-raised);
    font: inherit;
    font-weight: 800;
    outline: none;
}

.search-box input:focus[b-wgox661hei] {
    border-color: rgba(124,58,237,.48);
    background: var(--wt-card);
    box-shadow: 0 0 0 4px rgba(124,58,237,.10);
}

.search-box input[b-wgox661hei]::placeholder {
    color: var(--wt-muted);
    opacity: .8;
}

.alert[b-wgox661hei] {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 18px;
    font-weight: 900;
}

.alert span[b-wgox661hei] {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    font-size: 15px;
}

.alert.error[b-wgox661hei] {
    color: #e11d48;
    border: 1px solid rgba(225, 29, 72, .32);
    background: rgba(225, 29, 72, .10);
}

.alert.error span[b-wgox661hei] {
    background: rgba(225, 29, 72, .14);
}

.table-card[b-wgox661hei] {
    border-radius: 28px;
    overflow: hidden;
}

.table-card-head[b-wgox661hei] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 26px 20px;
    border-bottom: 1px solid var(--wt-soft);
}

.table-kicker[b-wgox661hei] {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--wt-purple);
    background: rgba(124, 58, 237, .12);
    font-size: 11px;
    font-weight: 1000;
}

.table-count[b-wgox661hei] {
    min-width: 88px;
    min-height: 58px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 2px;
    padding: 8px 14px;
    border: 1px solid rgba(37, 99, 235, .30);
    border-radius: 18px;
    color: var(--wt-blue);
    background: rgba(37, 99, 235, .10);
    font-size: 20px;
    font-weight: 1000;
}

.table-count span[b-wgox661hei] {
    font-size: 11px;
    color: var(--wt-muted);
}

.table-wrap[b-wgox661hei] {
    overflow: auto;
}

.warehouse-table[b-wgox661hei] {
    width: 100%;
    min-width: 1120px;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--wt-text);
    background: var(--wt-card);
}

.warehouse-table th[b-wgox661hei] {
    padding: 16px 14px;
    color: var(--wt-muted);
    border-bottom: 1px solid var(--wt-soft);
    background: linear-gradient(180deg, var(--wt-raised), var(--wt-soft-surface));
    font-size: 12px;
    font-weight: 1000;
    text-align: right;
    white-space: nowrap;
}

.warehouse-table td[b-wgox661hei] {
    padding: 15px 14px;
    border-bottom: 1px solid var(--wt-soft);
    color: var(--wt-text);
    background: transparent;
    font-size: 13px;
    font-weight: 800;
    vertical-align: middle;
}

.warehouse-table tbody tr:hover[b-wgox661hei] {
    background: var(--wt-raised);
}

.transfer-number[b-wgox661hei] {
    min-width: 145px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.transfer-number > span[b-wgox661hei] {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(124, 58, 237, .28);
    border-radius: 12px;
    color: var(--wt-purple);
    background: rgba(124, 58, 237, .10);
}

.numeric-pill[b-wgox661hei] {
    min-width: 42px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--wt-blue);
    background: rgba(37, 99, 235, .10);
    font-weight: 1000;
}

.quantity-value[b-wgox661hei] {
    color: var(--wt-green);
    font-weight: 1000;
    white-space: nowrap;
}

.actions[b-wgox661hei] {
    min-width: 330px;
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.actions button[b-wgox661hei] {
    min-height: 34px;
    padding: 0 12px;
    font-size: 11px;
}

.action-details[b-wgox661hei] {
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, .32) !important;
    background: rgba(59, 130, 246, .10);
}

.action-edit[b-wgox661hei] {
    color: #8b5cf6;
    border: 1px solid rgba(139, 92, 246, .32) !important;
    background: rgba(139, 92, 246, .10);
}

.action-print[b-wgox661hei] {
    color: var(--wt-muted);
    border: 1px solid var(--wt-border) !important;
    background: var(--wt-raised);
}

.actions .danger[b-wgox661hei] {
    color: var(--wt-red);
    border: 1px solid rgba(225, 29, 72, .32);
    background: rgba(225, 29, 72, .10);
}

.actions .success[b-wgox661hei] {
    color: var(--wt-green);
    border: 1px solid rgba(5, 150, 105, .32);
    background: rgba(5, 150, 105, .10);
}

.loading-state[b-wgox661hei],
.empty-state[b-wgox661hei] {
    min-height: 250px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    padding: 28px;
    color: var(--wt-muted);
    text-align: center;
    background:
        radial-gradient(circle at 50% 0, rgba(124,58,237,.08), transparent 240px),
        linear-gradient(180deg, var(--wt-card), var(--wt-raised));
}

.state-icon[b-wgox661hei] {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(124, 58, 237, .24);
    border-radius: 24px;
    color: var(--wt-purple);
    background: rgba(124, 58, 237, .10);
    box-shadow: 0 18px 40px rgba(2,6,23,.10);
    font-size: 32px;
    font-weight: 1000;
}

.loading-state strong[b-wgox661hei],
.empty-state strong[b-wgox661hei] {
    color: var(--wt-text);
    font-size: 16px;
    font-weight: 1000;
}

.loading-state span[b-wgox661hei],
.empty-state span[b-wgox661hei] {
    font-size: 13px;
    font-weight: 800;
}

.empty-state .primary-btn[b-wgox661hei] {
    margin-top: 8px;
}

@media (max-width: 980px) {
    .warehouse-hero[b-wgox661hei] {
        align-items: stretch;
        flex-direction: column;
    }

    .warehouse-new-btn[b-wgox661hei] {
        width: 100%;
    }

    .toolbar-controls[b-wgox661hei] {
        grid-template-columns: minmax(0, 1fr) 1fr;
    }

    .search-box[b-wgox661hei] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .warehouse-transfers-page[b-wgox661hei] {
        padding: 14px;
    }

    .warehouse-hero[b-wgox661hei],
    .toolbar-card[b-wgox661hei] {
        padding: 20px;
        border-radius: 22px;
    }

    .warehouse-title-row[b-wgox661hei] {
        align-items: flex-start;
    }

    .warehouse-hero h1[b-wgox661hei] {
        font-size: 28px;
    }

    .toolbar-controls[b-wgox661hei] {
        grid-template-columns: minmax(0, 1fr);
    }

    .search-box[b-wgox661hei] {
        grid-column: auto;
    }

    .secondary-btn[b-wgox661hei],
    .ghost-btn[b-wgox661hei] {
        width: 100%;
    }

    .table-card-head[b-wgox661hei] {
        align-items: flex-start;
        flex-direction: column;
    }

    .table-count[b-wgox661hei] {
        width: 100%;
    }
}

.action-state[b-wgox661hei] {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.action-state.waiting[b-wgox661hei] {
    color: #d97706;
    border: 1px solid rgba(217, 119, 6, .28);
    background: rgba(245, 158, 11, .10);
}

.action-state.completed[b-wgox661hei] {
    color: #059669;
    border: 1px solid rgba(5, 150, 105, .28);
    background: rgba(5, 150, 105, .10);
}

.action-state.muted[b-wgox661hei] {
    color: var(--wt-muted);
    border: 1px solid var(--wt-border);
    background: var(--wt-raised);
}

.action-finalize[b-wgox661hei],
.action-receive[b-wgox661hei] {
    min-width: 150px;
}
/* /Components/Pages/WooCommerceIntegration.razor.rz.scp.css */
.woo-page[b-pnxytxo78q]{display:grid;gap:24px;padding:18px 0 48px;color:#14213d}.woo-hero[b-pnxytxo78q]{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:34px;border-radius:30px;background:linear-gradient(135deg,#53217a,#7f54b3 52%,#1a7f72);color:#fff;box-shadow:0 20px 50px rgba(83,33,122,.18)}.woo-hero span[b-pnxytxo78q],.panel-title span[b-pnxytxo78q]{font-size:12px;font-weight:900;letter-spacing:.08em;opacity:.8}.woo-hero h1[b-pnxytxo78q]{margin:8px 0;font-size:32px}.woo-hero p[b-pnxytxo78q]{margin:0;color:#e9def4}.woo-hero-actions[b-pnxytxo78q]{display:flex;gap:10px}.woo-page button[b-pnxytxo78q]{min-height:46px;padding:0 20px;border:0;border-radius:14px;font:inherit;font-weight:900;cursor:pointer;transition:.2s}.woo-page button:disabled[b-pnxytxo78q]{opacity:.55;cursor:not-allowed}.woo-page button.primary[b-pnxytxo78q]{background:#138577;color:#fff}.woo-page button.secondary[b-pnxytxo78q]{background:#fff;color:#4f2a72;border:1px solid #d8cce4}.woo-hero button.secondary[b-pnxytxo78q]{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.28)}.woo-alert[b-pnxytxo78q]{padding:15px 18px;border-radius:16px;font-weight:800}.woo-alert.success[b-pnxytxo78q]{background:#eafaf5;color:#08725f;border:1px solid #b9eadc}.woo-alert.error[b-pnxytxo78q]{background:#fff0f2;color:#b4233f;border:1px solid #ffcbd4}.woo-kpis[b-pnxytxo78q]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.woo-kpis article[b-pnxytxo78q]{display:grid;gap:10px;padding:22px;border-radius:22px;background:#fff;border:1px solid #e3e8f1;box-shadow:0 10px 30px rgba(36,52,81,.06)}.woo-kpis span[b-pnxytxo78q]{color:#71809a;font-size:13px}.woo-kpis strong[b-pnxytxo78q]{font-size:28px}.woo-kpis article.danger strong[b-pnxytxo78q]{color:#c22545}.woo-tabs[b-pnxytxo78q]{display:flex;gap:8px;padding:7px;border-radius:18px;background:#e8edf5;width:max-content}.woo-tabs button[b-pnxytxo78q]{background:transparent;color:#61708b}.woo-tabs button.active[b-pnxytxo78q]{background:#fff;color:#5b2d7c;box-shadow:0 5px 14px rgba(31,45,70,.1)}.woo-panel[b-pnxytxo78q],.woo-state[b-pnxytxo78q]{padding:28px;border-radius:26px;background:#fff;border:1px solid #e1e7f0;box-shadow:0 16px 45px rgba(36,52,81,.07)}.woo-state[b-pnxytxo78q]{text-align:center;color:#6f7d95}.panel-title[b-pnxytxo78q]{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:22px;border-bottom:1px solid #e7ebf2}.panel-title h2[b-pnxytxo78q]{margin:6px 0;font-size:22px}.panel-title p[b-pnxytxo78q]{margin:0;color:#74819a}.switch[b-pnxytxo78q]{position:relative;display:flex;align-items:center;gap:10px;padding:13px 16px;border-radius:15px;background:#f3eef8;font-weight:900;cursor:pointer}.switch input[type="checkbox"][b-pnxytxo78q],.check-card input[type="checkbox"][b-pnxytxo78q],.mini-check input[type="checkbox"][b-pnxytxo78q]{position:absolute!important;inline-size:1px!important;block-size:1px!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;max-width:1px!important;max-height:1px!important;margin:0!important;padding:0!important;opacity:0!important;overflow:hidden!important;pointer-events:none!important}.woo-toggle[b-pnxytxo78q]{position:relative!important;display:inline-block!important;flex:0 0 44px!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:24px!important;min-height:24px!important;max-height:24px!important;border-radius:999px!important;background:#cbd5e1!important;box-shadow:inset 0 0 0 1px rgba(15,23,42,.08)!important;transition:.2s}.woo-toggle i[b-pnxytxo78q]{position:absolute;top:3px;right:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(15,23,42,.25);transition:.2s}.switch input:checked+.woo-toggle[b-pnxytxo78q],.check-card input:checked+.woo-toggle[b-pnxytxo78q],.mini-check input:checked+.woo-toggle[b-pnxytxo78q]{background:#138577!important}.switch input:checked+.woo-toggle i[b-pnxytxo78q],.check-card input:checked+.woo-toggle i[b-pnxytxo78q],.mini-check input:checked+.woo-toggle i[b-pnxytxo78q]{transform:translateX(-20px)}.woo-form-grid[b-pnxytxo78q]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px}.woo-form-grid label:not(.check-card)[b-pnxytxo78q],.mapping-builder label:not(.mini-check)[b-pnxytxo78q]{display:grid;gap:8px}.woo-form-grid label>span:not(.woo-toggle)[b-pnxytxo78q],.mapping-builder label>span:not(.woo-toggle)[b-pnxytxo78q]{font-size:13px;font-weight:900;color:#52617b}.woo-form-grid .wide[b-pnxytxo78q]{grid-column:1/-1}.woo-form-grid input:not([type="checkbox"])[b-pnxytxo78q],.woo-form-grid select[b-pnxytxo78q],.mapping-builder select[b-pnxytxo78q]{width:100%;height:54px;padding:0 15px;border:1px solid #d8e0ec;border-radius:15px;background:#fbfcfe;font:inherit;outline:none}.woo-form-grid input:not([type="checkbox"]):focus[b-pnxytxo78q],.woo-form-grid select:focus[b-pnxytxo78q],.mapping-builder select:focus[b-pnxytxo78q]{border-color:#7f54b3;box-shadow:0 0 0 4px rgba(127,84,179,.1)}.check-card[b-pnxytxo78q]{position:relative;display:flex;align-items:center;gap:12px;padding:17px;border:1px solid #dde5ef;border-radius:17px;background:#f9fbfd;cursor:pointer}.check-card>span:last-child[b-pnxytxo78q]{display:grid;gap:5px}.check-card small[b-pnxytxo78q]{color:#78859b}.connection-footer[b-pnxytxo78q]{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:24px;padding-top:22px;border-top:1px solid #e7ebf2}.connection-footer>div[b-pnxytxo78q]{display:flex;gap:20px;margin-left:auto;color:#6f7d94;font-size:13px}.mapping-builder[b-pnxytxo78q]{display:grid;grid-template-columns:minmax(240px,1fr) minmax(240px,1fr) auto auto auto;gap:14px;align-items:end;margin:24px 0}.mini-check[b-pnxytxo78q]{position:relative;height:54px;display:flex;align-items:center;gap:8px;padding:0 13px;border:1px solid #dde4ee;border-radius:14px;background:#fafbfd;cursor:pointer}.woo-hint[b-pnxytxo78q]{margin-bottom:18px;padding:14px;border-radius:14px;background:#f6f1fa;color:#684384}.table-wrap[b-pnxytxo78q]{overflow:auto;border:1px solid #e2e7ef;border-radius:18px}.table-wrap table[b-pnxytxo78q]{width:100%;border-collapse:collapse;min-width:900px}.table-wrap th[b-pnxytxo78q],.table-wrap td[b-pnxytxo78q]{padding:15px;text-align:right;border-bottom:1px solid #e9edf3}.table-wrap th[b-pnxytxo78q]{background:#f6f8fb;color:#69768d;font-size:12px}.table-wrap td strong[b-pnxytxo78q],.table-wrap td small[b-pnxytxo78q]{display:block}.table-wrap td small[b-pnxytxo78q]{margin-top:4px;color:#8792a5}.table-wrap tr:last-child td[b-pnxytxo78q]{border-bottom:0}.table-wrap .empty[b-pnxytxo78q]{text-align:center;padding:36px;color:#7c889d}.status[b-pnxytxo78q]{display:inline-flex;padding:6px 10px;border-radius:99px;font-size:12px;font-weight:900}.status.ok[b-pnxytxo78q]{background:#e7f8f2;color:#08735e}.status.failed[b-pnxytxo78q]{background:#ffedf0;color:#b9223f}.status.neutral[b-pnxytxo78q]{background:#eef2f7;color:#5f6c82}.actions[b-pnxytxo78q]{display:flex;gap:7px}.actions button[b-pnxytxo78q]{min-height:36px;padding:0 12px;background:#edf6f4;color:#087566}.actions .danger-btn[b-pnxytxo78q]{background:#fff0f2;color:#b62240}.order-import-settings[b-pnxytxo78q]{margin-top:26px;padding:22px;border:1px solid #e3d8ed;border-radius:22px;background:linear-gradient(180deg,#fcf9ff,#f8fbfd)}.panel-title.compact[b-pnxytxo78q]{padding-bottom:18px}.import-grid[b-pnxytxo78q]{grid-template-columns:repeat(3,minmax(0,1fr))}.table-wrap td>button[b-pnxytxo78q]{min-height:38px;padding:0 13px;background:#edf7f5;color:#087566}@media(max-width:1050px){.woo-kpis[b-pnxytxo78q]{grid-template-columns:repeat(2,1fr)}.mapping-builder[b-pnxytxo78q]{grid-template-columns:1fr 1fr}.mapping-builder button[b-pnxytxo78q]{grid-column:1/-1}.connection-footer[b-pnxytxo78q]{flex-wrap:wrap}.connection-footer>div[b-pnxytxo78q]{width:100%;margin:0}}@media(max-width:700px){.woo-hero[b-pnxytxo78q],.panel-title[b-pnxytxo78q]{align-items:stretch;flex-direction:column}.woo-hero-actions[b-pnxytxo78q]{flex-wrap:wrap}.woo-kpis[b-pnxytxo78q],.woo-form-grid[b-pnxytxo78q],.mapping-builder[b-pnxytxo78q]{grid-template-columns:1fr}.woo-form-grid .wide[b-pnxytxo78q]{grid-column:auto}.woo-tabs[b-pnxytxo78q]{width:100%;overflow:auto}.connection-footer>div[b-pnxytxo78q]{display:grid;gap:6px}.woo-panel[b-pnxytxo78q]{padding:18px}}
/* /Components/Pages/WorkflowCenter.razor.rz.scp.css */
.module-center[b-zp6cfd8g2h]{padding:24px;max-width:1500px;margin:0 auto;color:var(--mud-palette-text-primary,#eaf0ff)}
.module-hero[b-zp6cfd8g2h]{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 28px;margin-bottom:18px;border:1px solid rgba(125,145,190,.2);border-radius:20px;background:linear-gradient(135deg,rgba(48,63,115,.36),rgba(12,21,43,.82));box-shadow:0 18px 45px rgba(0,0,0,.16)}
.module-hero h1[b-zp6cfd8g2h]{margin:5px 0 8px;font-size:clamp(24px,3vw,34px);font-weight:900}.module-hero p[b-zp6cfd8g2h],.section-head p[b-zp6cfd8g2h]{margin:0;color:#9eacc8}.eyebrow[b-zp6cfd8g2h]{font-size:12px;font-weight:800;color:#8ca8ff;letter-spacing:.04em}
.summary-grid[b-zp6cfd8g2h]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.workflow-summary[b-zp6cfd8g2h]{grid-template-columns:repeat(2,minmax(0,1fr))}
.summary-card[b-zp6cfd8g2h],.content-card[b-zp6cfd8g2h]{border:1px solid rgba(125,145,190,.18);background:linear-gradient(145deg,rgba(24,35,62,.92),rgba(10,17,34,.94));box-shadow:0 14px 35px rgba(0,0,0,.13)}
.summary-card[b-zp6cfd8g2h]{position:relative;overflow:hidden;border-radius:16px;padding:18px 20px}.summary-card[b-zp6cfd8g2h]::before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:#7187bd}.summary-card.accent[b-zp6cfd8g2h]::before{background:#7c6cff}.summary-card.success[b-zp6cfd8g2h]::before{background:#2dd4a0}.summary-card.danger[b-zp6cfd8g2h]::before{background:#ff6b7a}.summary-card span[b-zp6cfd8g2h]{display:block;color:#aab6cf;font-size:13px}.summary-card strong[b-zp6cfd8g2h]{display:block;margin:7px 0 3px;font-size:27px}.summary-card small[b-zp6cfd8g2h]{color:#73819e}.summary-card .status-text[b-zp6cfd8g2h]{font-size:18px}
.content-card[b-zp6cfd8g2h]{border-radius:18px;margin-bottom:18px;padding:20px}.section-head[b-zp6cfd8g2h]{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.section-head h2[b-zp6cfd8g2h]{font-size:18px;margin:0 0 5px}
.count-badge[b-zp6cfd8g2h],.module-tag[b-zp6cfd8g2h],.event-chip[b-zp6cfd8g2h],.status-badge[b-zp6cfd8g2h],.risk[b-zp6cfd8g2h]{display:inline-flex;align-items:center;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:800;white-space:nowrap}.count-badge[b-zp6cfd8g2h],.module-tag[b-zp6cfd8g2h],.event-chip[b-zp6cfd8g2h]{color:#b9c8f2;background:rgba(92,111,167,.18);border:1px solid rgba(116,138,200,.22)}.status-badge.ok[b-zp6cfd8g2h]{color:#6ee7b7;background:rgba(16,185,129,.12)}.status-badge.bad[b-zp6cfd8g2h],.risk.high[b-zp6cfd8g2h],.risk.critical[b-zp6cfd8g2h]{color:#ff9aa5;background:rgba(244,63,94,.13)}.status-badge.muted[b-zp6cfd8g2h],.risk.low[b-zp6cfd8g2h]{color:#a8b3c9;background:rgba(148,163,184,.12)}.risk.medium[b-zp6cfd8g2h]{color:#ffd27a;background:rgba(245,158,11,.13)}
.connection-row[b-zp6cfd8g2h]{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:15px;border-radius:14px;background:rgba(7,13,28,.5)}.connection-icon[b-zp6cfd8g2h],.empty-icon[b-zp6cfd8g2h]{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:linear-gradient(135deg,#755df2,#4a36bd);font-weight:900}.connection-row div:nth-child(2)[b-zp6cfd8g2h]{display:flex;flex-direction:column;gap:4px}.connection-row span[b-zp6cfd8g2h]{color:#92a0bc;font-size:13px}
.table-wrap[b-zp6cfd8g2h]{overflow:auto;border:1px solid rgba(125,145,190,.15);border-radius:14px}table[b-zp6cfd8g2h]{width:100%;border-collapse:collapse;min-width:850px}th[b-zp6cfd8g2h]{padding:12px 14px;text-align:right;color:#aebbd3;background:rgba(31,45,74,.75);font-size:12px}td[b-zp6cfd8g2h]{padding:14px;border-top:1px solid rgba(125,145,190,.11);vertical-align:middle;font-size:13px}tbody tr:hover[b-zp6cfd8g2h]{background:rgba(92,111,167,.08)}.url-cell[b-zp6cfd8g2h],.last-error[b-zp6cfd8g2h],.details-cell[b-zp6cfd8g2h]{display:block;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.last-error[b-zp6cfd8g2h],.error-number[b-zp6cfd8g2h]{color:#ff8d9a}.success-number[b-zp6cfd8g2h]{color:#5ee0b1}.entity-id[b-zp6cfd8g2h]{display:block;color:#72809b;margin-top:4px}.row-actions[b-zp6cfd8g2h]{display:flex;gap:7px}.actions-col[b-zp6cfd8g2h]{width:180px}code[b-zp6cfd8g2h]{direction:ltr;color:#b6c4e0}
.btn[b-zp6cfd8g2h]{border:0;border-radius:11px;padding:10px 15px;font-family:inherit;font-weight:800;cursor:pointer;transition:.18s ease}.btn:hover:not(:disabled)[b-zp6cfd8g2h]{transform:translateY(-1px);filter:brightness(1.08)}.btn:disabled[b-zp6cfd8g2h]{opacity:.5;cursor:not-allowed}.btn.primary[b-zp6cfd8g2h]{color:#fff;background:linear-gradient(135deg,#7562ee,#5541c7)}.btn.secondary[b-zp6cfd8g2h]{color:#d8e0f1;background:rgba(97,115,164,.16);border:1px solid rgba(134,151,196,.22)}.btn.approve[b-zp6cfd8g2h]{color:#6ee7b7;background:rgba(16,185,129,.13)}.btn.reject[b-zp6cfd8g2h]{color:#ff9aa5;background:rgba(244,63,94,.13)}
.state-card[b-zp6cfd8g2h],.empty-state[b-zp6cfd8g2h]{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;color:#9eacc8}.empty-state h3[b-zp6cfd8g2h],.state-card strong[b-zp6cfd8g2h]{color:#e7edfb;margin:5px 0 0}.empty-state p[b-zp6cfd8g2h]{margin:0;max-width:480px}.empty-icon[b-zp6cfd8g2h]{font-size:20px}.state-card.error[b-zp6cfd8g2h]{color:#ff9aa5}.spinner[b-zp6cfd8g2h]{width:28px;height:28px;border:3px solid rgba(130,150,200,.2);border-top-color:#8172ff;border-radius:50%;animation:spin-b-zp6cfd8g2h .8s linear infinite}@keyframes spin-b-zp6cfd8g2h{to{transform:rotate(360deg)}}
.filters[b-zp6cfd8g2h]{display:grid;grid-template-columns:repeat(3,minmax(160px,1fr)) auto auto;align-items:end;gap:12px}.filters label[b-zp6cfd8g2h]{display:flex;flex-direction:column;gap:7px;color:#9eacc8;font-size:12px}.filters input[b-zp6cfd8g2h]{width:100%;box-sizing:border-box;border:1px solid rgba(130,150,200,.22);border-radius:11px;background:rgba(5,11,24,.65);color:#edf2ff;padding:11px 12px;font-family:inherit;outline:none}.filters input:focus[b-zp6cfd8g2h]{border-color:#7868ec;box-shadow:0 0 0 3px rgba(120,104,236,.12)}.pagination[b-zp6cfd8g2h]{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:18px;color:#9eacc8}
@media(max-width:1000px){.summary-grid[b-zp6cfd8g2h]{grid-template-columns:repeat(2,1fr)}.filters[b-zp6cfd8g2h]{grid-template-columns:1fr 1fr}.module-center[b-zp6cfd8g2h]{padding:16px}}
@media(max-width:640px){.module-hero[b-zp6cfd8g2h]{align-items:flex-start;flex-direction:column;padding:20px}.summary-grid[b-zp6cfd8g2h],.workflow-summary[b-zp6cfd8g2h],.filters[b-zp6cfd8g2h]{grid-template-columns:1fr}.content-card[b-zp6cfd8g2h]{padding:14px}.module-center[b-zp6cfd8g2h]{padding:10px}.section-head[b-zp6cfd8g2h]{align-items:flex-start}.connection-row[b-zp6cfd8g2h]{grid-template-columns:auto 1fr}.module-tag[b-zp6cfd8g2h]{grid-column:1/-1;width:max-content}}
/* /Components/Pages/WorkTasks.razor.rz.scp.css */
.tasks-page[b-cq3duk7as8] {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    color: var(--mud-palette-text-primary, #172033);
}

.tasks-hero[b-cq3duk7as8],
.tasks-card[b-cq3duk7as8] {
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 18px;
    background: var(--mud-palette-surface, #fff);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}

.tasks-hero[b-cq3duk7as8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem 1.5rem;
}

.tasks-hero h1[b-cq3duk7as8],
.tasks-section-head h2[b-cq3duk7as8] {
    margin: .25rem 0;
}

.tasks-hero p[b-cq3duk7as8],
.tasks-section-head p[b-cq3duk7as8],
.tasks-delete-box p[b-cq3duk7as8] {
    margin: 0;
    color: #64748b;
}

.tasks-kicker[b-cq3duk7as8] {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
    color: #64748b;
}

.tasks-actions[b-cq3duk7as8],
.tasks-form-actions[b-cq3duk7as8],
.tasks-row-actions[b-cq3duk7as8] {
    display: flex;
    align-items: center;
    gap: .55rem;
    flex-wrap: wrap;
}

.tasks-button[b-cq3duk7as8],
.tasks-link-button[b-cq3duk7as8],
.tasks-row-actions button[b-cq3duk7as8] {
    border: 1px solid #dbe2ea;
    border-radius: 10px;
    background: #fff;
    padding: .65rem 1rem;
    cursor: pointer;
    font: inherit;
}

.tasks-button.primary[b-cq3duk7as8] {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
}

.tasks-button.danger[b-cq3duk7as8],
.tasks-row-actions .danger[b-cq3duk7as8] {
    border-color: #fecaca;
    color: #b91c1c;
    background: #fff7f7;
}

.tasks-button:disabled[b-cq3duk7as8],
.tasks-link-button:disabled[b-cq3duk7as8],
.tasks-row-actions button:disabled[b-cq3duk7as8] {
    opacity: .55;
    cursor: not-allowed;
}

.tasks-summary[b-cq3duk7as8] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .8rem;
}

.tasks-summary article[b-cq3duk7as8] {
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 16px;
    background: var(--mud-palette-surface, #fff);
    padding: 1rem 1.1rem;
    display: grid;
    gap: .2rem;
}

.tasks-summary span[b-cq3duk7as8],
.tasks-summary small[b-cq3duk7as8] {
    color: #64748b;
}

.tasks-summary strong[b-cq3duk7as8] {
    font-size: 1.7rem;
}

.tasks-alert[b-cq3duk7as8] {
    border-radius: 12px;
    padding: .8rem 1rem;
}

.tasks-alert.error[b-cq3duk7as8] {
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.tasks-alert.success[b-cq3duk7as8] {
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.tasks-card[b-cq3duk7as8] {
    padding: 1.2rem;
}

.tasks-section-head[b-cq3duk7as8],
.tasks-delete-box[b-cq3duk7as8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.tasks-editor[b-cq3duk7as8] {
    border-color: rgba(37, 99, 235, .3);
}

.tasks-form-grid[b-cq3duk7as8],
.tasks-filters[b-cq3duk7as8] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
    margin-top: 1rem;
}

.tasks-filters[b-cq3duk7as8] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.tasks-form-grid label[b-cq3duk7as8],
.tasks-filters label[b-cq3duk7as8] {
    display: grid;
    gap: .4rem;
    font-size: .9rem;
    color: #475569;
}

.tasks-form-grid .wide[b-cq3duk7as8] {
    grid-column: 1 / -1;
}

.tasks-form-grid input[b-cq3duk7as8],
.tasks-form-grid select[b-cq3duk7as8],
.tasks-form-grid textarea[b-cq3duk7as8],
.tasks-filters select[b-cq3duk7as8] {
    width: 100%;
    border: 1px solid #dbe2ea;
    border-radius: 10px;
    background: #fff;
    padding: .7rem .75rem;
    color: #172033;
    font: inherit;
    box-sizing: border-box;
}

.tasks-form-grid textarea[b-cq3duk7as8] {
    resize: vertical;
}

.tasks-form-actions[b-cq3duk7as8] {
    margin-top: 1rem;
}

.tasks-table-wrap[b-cq3duk7as8] {
    overflow-x: auto;
}

.tasks-table[b-cq3duk7as8] {
    width: 100%;
    border-collapse: collapse;
    min-width: 980px;
}

.tasks-table th[b-cq3duk7as8],
.tasks-table td[b-cq3duk7as8] {
    padding: .8rem .65rem;
    border-bottom: 1px solid #eef2f7;
    text-align: right;
    vertical-align: middle;
}

.tasks-table th[b-cq3duk7as8] {
    color: #64748b;
    font-size: .82rem;
    font-weight: 700;
}

.task-title[b-cq3duk7as8] {
    min-width: 220px;
}

.task-title strong[b-cq3duk7as8],
.task-title small[b-cq3duk7as8] {
    display: block;
}

.task-title small[b-cq3duk7as8] {
    margin-top: .25rem;
    max-width: 360px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.task-badge[b-cq3duk7as8] {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .3rem .6rem;
    font-size: .78rem;
    font-weight: 700;
    background: #f1f5f9;
    color: #475569;
}

.status-inprogress[b-cq3duk7as8],
.priority-high[b-cq3duk7as8] {
    background: #eff6ff;
    color: #1d4ed8;
}

.status-done[b-cq3duk7as8],
.priority-low[b-cq3duk7as8] {
    background: #f0fdf4;
    color: #15803d;
}

.status-cancelled[b-cq3duk7as8] {
    background: #f8fafc;
    color: #64748b;
}

.priority-critical[b-cq3duk7as8] {
    background: #fef2f2;
    color: #b91c1c;
}

.priority-medium[b-cq3duk7as8],
.status-pending[b-cq3duk7as8] {
    background: #fffbeb;
    color: #a16207;
}

.tasks-empty[b-cq3duk7as8] {
    padding: 2.2rem 1rem;
    text-align: center;
    color: #64748b;
}

@media (max-width: 900px) {
    .tasks-summary[b-cq3duk7as8] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tasks-hero[b-cq3duk7as8],
    .tasks-section-head[b-cq3duk7as8],
    .tasks-delete-box[b-cq3duk7as8] {
        align-items: stretch;
        flex-direction: column;
    }

    .tasks-form-grid[b-cq3duk7as8],
    .tasks-filters[b-cq3duk7as8] {
        grid-template-columns: 1fr;
    }

    .tasks-form-grid .wide[b-cq3duk7as8] {
        grid-column: auto;
    }
}

@media (max-width: 540px) {
    .tasks-page[b-cq3duk7as8] {
        padding: .65rem;
    }

    .tasks-summary[b-cq3duk7as8] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Shared/CustomerActionDrawer.razor.rz.scp.css */
.customer-drawer-overlay[b-sw0qw9147l] {
    position: fixed;
    inset: 0;
    z-index: 2147483601;
    direction: rtl;
    background: rgba(15, 23, 42, .50);
    backdrop-filter: blur(7px);
    animation: customer-drawer-fade-b-sw0qw9147l .16s ease-out;
}

.customer-drawer-panel[b-sw0qw9147l] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 2147483602;
    width: min(390px, calc(100vw - 24px));
    padding: 20px;
    overflow-y: auto;
    border-left: 1px solid rgba(255, 255, 255, .78);
    background: #fff;
    box-shadow: -22px 0 70px rgba(15, 23, 42, .30);
    animation: customer-drawer-slide-b-sw0qw9147l .2s ease-out;
}

.customer-drawer-panel > header[b-sw0qw9147l] {
    padding-bottom: 17px;
    border-bottom: 1px solid #e7edf5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.customer-drawer-profile[b-sw0qw9147l] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.customer-drawer-avatar[b-sw0qw9147l] {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    color: var(--erp-on-brand, #ffffff);
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    box-shadow: 0 10px 24px rgba(37, 99, 235, .20);
    font-size: 18px;
    font-weight: 1000;
}

.customer-drawer-profile strong[b-sw0qw9147l],
.customer-drawer-profile span[b-sw0qw9147l] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-drawer-profile strong[b-sw0qw9147l] {
    color: #0f172a;
    font-size: 14px;
    font-weight: 1000;
}

.customer-drawer-profile span[b-sw0qw9147l] {
    margin-top: 5px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.customer-drawer-close[b-sw0qw9147l] {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 0;
    border-radius: 12px;
    color: #be123c;
    background: #fff1f2;
    font-family: inherit;
    font-size: 23px;
    cursor: pointer;
}

.customer-drawer-actions[b-sw0qw9147l] {
    margin-top: 18px;
    display: grid;
    gap: 8px;
}

.customer-drawer-actions button[b-sw0qw9147l] {
    width: 100%;
    min-height: 64px;
    padding: 11px 13px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    display: block;
    color: #334155;
    background: #f8fafc;
    text-align: right;
    font-family: inherit;
    cursor: pointer;
    transition:
        transform .16s ease,
        border-color .16s ease,
        background .16s ease,
        box-shadow .16s ease;
}

.customer-drawer-actions button:hover:not(:disabled)[b-sw0qw9147l] {
    transform: translateX(-2px);
    border-color: #bfdbfe;
    background: #eff6ff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.customer-drawer-actions button span[b-sw0qw9147l],
.customer-drawer-actions button small[b-sw0qw9147l] {
    display: block;
}

.customer-drawer-actions button span[b-sw0qw9147l] {
    color: #0f172a;
    font-size: 12px;
    font-weight: 1000;
}

.customer-drawer-actions button small[b-sw0qw9147l] {
    margin-top: 5px;
    color: #64748b;
    font-size: 10px;
    line-height: 1.7;
    font-weight: 750;
}

.customer-drawer-actions button.danger[b-sw0qw9147l] {
    border-color: #fecdd3;
    background: #fff1f2;
}

.customer-drawer-actions button.danger span[b-sw0qw9147l] {
    color: #be123c;
}

.customer-drawer-actions button.danger:hover:not(:disabled)[b-sw0qw9147l] {
    border-color: #fda4af;
    background: #ffe4e6;
}

.customer-drawer-actions button:disabled[b-sw0qw9147l],
.customer-drawer-close:disabled[b-sw0qw9147l] {
    opacity: .45;
    cursor: not-allowed;
    transform: none !important;
}

@keyframes customer-drawer-fade-b-sw0qw9147l {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes customer-drawer-slide-b-sw0qw9147l {
    from {
        opacity: 0;
        transform: translateX(28px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 640px) {
    .customer-drawer-panel[b-sw0qw9147l] {
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        max-height: 88dvh;
        border: 0;
        border-radius: 24px 24px 0 0;
        box-shadow: 0 -22px 70px rgba(15, 23, 42, .28);
        animation-name: customer-drawer-sheet-b-sw0qw9147l;
    }
}

@keyframes customer-drawer-sheet-b-sw0qw9147l {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.customer-drawer-link[b-sw0qw9147l] {
    width: 100%;
    min-height: 64px;
    padding: 11px 13px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    display: block;
    color: #334155;
    background: #f8fafc;
    text-align: right;
    text-decoration: none;
    font-family: inherit;
    cursor: pointer;
    transition:
        transform .16s ease,
        border-color .16s ease,
        background .16s ease,
        box-shadow .16s ease;
}

.customer-drawer-link:hover[b-sw0qw9147l] {
    transform: translateX(-2px);
    border-color: #bfdbfe;
    color: #1d4ed8;
    background: #eff6ff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.customer-drawer-link span[b-sw0qw9147l],
.customer-drawer-link small[b-sw0qw9147l] {
    display: block;
}

.customer-drawer-link span[b-sw0qw9147l] {
    color: #0f172a;
    font-size: 12px;
    font-weight: 1000;
}

.customer-drawer-link small[b-sw0qw9147l] {
    margin-top: 5px;
    color: #64748b;
    font-size: 10px;
    line-height: 1.7;
    font-weight: 750;
}
/* /Components/Shared/GlobalOverlayHost.razor.rz.scp.css */
.erp-global-overlay-root[b-ee46q3392p] {
    position: fixed;
    inset: 0;
    z-index: 2147483600;
    pointer-events: auto;
    isolation: isolate;
}

.erp-global-overlay-root:empty[b-ee46q3392p] {
    display: none;
    pointer-events: none;
}
/* /Components/Shared/LabelCanvas.razor.rz.scp.css */
.label-canvas-shell[b-e5yq74uia6] {
    --canvas-primary: var(--erp-primary, #2563eb);
    --canvas-accent: var(--erp-accent, #7c3aed);
    --canvas-text: #0f172a;
    --canvas-muted: #64748b;
    --canvas-border: #d8e2ef;
    width: 100%;
    min-width: 0;
    color: var(--canvas-text);
}

.label-canvas-shell[b-e5yq74uia6],
.label-canvas-shell *[b-e5yq74uia6] {
    box-sizing: border-box;
}

.label-canvas-toolbar[b-e5yq74uia6] {
    min-height: 62px;
    margin-bottom: 14px;
    padding: 10px 14px;
    border: 1px solid var(--canvas-border);
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff, #f8fbff);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}

.toolbar-group[b-e5yq74uia6] {
    display: flex;
    align-items: center;
    gap: 9px;
}

.toolbar-title[b-e5yq74uia6] {
    margin-left: 4px;
    color: #334155;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.zoom-controls button[b-e5yq74uia6] {
    height: 36px;
    min-width: 36px;
    padding: 0 10px;
    border: 1px solid var(--canvas-border);
    border-radius: 11px;
    color: #334155;
    background: #fff;
    display: inline-grid;
    place-items: center;
    font-family: inherit;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.zoom-controls button:hover[b-e5yq74uia6] {
    border-color: #93c5fd;
    background: #eff6ff;
}

.zoom-controls button:active[b-e5yq74uia6] {
    transform: scale(.96);
}

.zoom-controls .zoom-value[b-e5yq74uia6] {
    min-width: 62px;
    color: var(--canvas-primary);
    font-size: 11px;
}

.zoom-controls input[type="range"][b-e5yq74uia6] {
    width: min(230px, 24vw);
    min-width: 110px;
    height: 4px;
    accent-color: var(--canvas-primary);
    cursor: pointer;
}

.view-controls[b-e5yq74uia6] {
    padding: 5px;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
    background: #f8fafc;
}

.view-controls label[b-e5yq74uia6] {
    min-height: 36px;
    padding: 0 10px;
    border-radius: 10px;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 900;
    cursor: pointer;
    user-select: none;
}

.view-controls input[b-e5yq74uia6] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.switch-indicator[b-e5yq74uia6] {
    width: 31px;
    height: 18px;
    padding: 2px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #e2e8f0;
    display: inline-flex;
    justify-content: flex-end;
    transition: .18s ease;
}

.switch-indicator[b-e5yq74uia6]::after {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(15, 23, 42, .25);
    transition: transform .18s ease;
}

.view-controls input:checked + .switch-indicator[b-e5yq74uia6] {
    border-color: var(--canvas-primary);
    background: linear-gradient(135deg, var(--canvas-primary), var(--canvas-accent));
}

.view-controls input:checked + .switch-indicator[b-e5yq74uia6]::after {
    transform: translateX(-13px);
}

.label-canvas-workspace[b-e5yq74uia6] {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 720px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    background:
        radial-gradient(circle at 50% 0, rgba(37, 99, 235, .08), transparent 360px),
        #e9eff6;
}

.label-canvas-workspace.with-ruler[b-e5yq74uia6] {
    padding-top: 54px;
    padding-right: 62px;
}

.label-canvas-scroll[b-e5yq74uia6] {
    width: 100%;
    min-height: 640px;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-color: #94a3b8 transparent;
    scrollbar-width: thin;
}

.label-paper-wrap[b-e5yq74uia6] {
    width: max-content;
    min-width: 100%;
    min-height: 650px;
    padding: 18px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.label-canvas-grid[b-e5yq74uia6] {
    width: max-content;
    min-width: 210mm;
    min-height: 297mm;
    border: 1px solid #d8dee8;
    background: #fff;
    display: grid;
    align-content: start;
    justify-content: start;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .2);
}

.label-canvas-grid.show-grid[b-e5yq74uia6] {
    background-image:
        linear-gradient(rgba(148, 163, 184, .12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, .12) 1px, transparent 1px);
    background-size: 5mm 5mm;
}

.label-canvas-item[b-e5yq74uia6] {
    position: relative;
    min-width: 0;
    padding: 2.2mm;
    overflow: hidden;
    border: 1px dashed #b7c2d0;
    background: rgba(255, 255, 255, .96);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2mm;
    text-align: center;
    break-inside: avoid;
    page-break-inside: avoid;
}

.label-canvas-item:hover[b-e5yq74uia6] {
    z-index: 1;
    border-color: var(--canvas-primary);
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .2);
}

.canvas-field[b-e5yq74uia6] {
    width: 100%;
    min-width: 0;
    color: #0f172a;
    line-height: 1.35;
}

.field-name[b-e5yq74uia6] {
    overflow: hidden;
    font-weight: 900;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.field-code[b-e5yq74uia6] {
    color: #64748b;
    direction: ltr;
    font-size: .78em;
    font-weight: 800;
    letter-spacing: .04em;
}

.field-price[b-e5yq74uia6] {
    font-size: .92em;
    font-weight: 900;
}

.canvas-barcode[b-e5yq74uia6] {
    width: min(82%, 48mm);
    max-width: 100%;
    height: 12mm;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1px;
    direction: ltr;
}

.canvas-barcode span[b-e5yq74uia6] {
    flex: 0 0 auto;
    max-height: 100%;
    background: #111827;
}

.canvas-qr[b-e5yq74uia6] {
    width: 13mm;
    height: 13mm;
    padding: 1px;
    border: 1px solid #e2e8f0;
    background: #fff;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    direction: ltr;
}

.canvas-qr span[b-e5yq74uia6] {
    display: block;
}

.qr-dark[b-e5yq74uia6] {
    background: #111827;
}

.qr-light[b-e5yq74uia6] {
    background: #fff;
}

.canvas-meta[b-e5yq74uia6] {
    width: 100%;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: .7em;
    font-weight: 700;
}

.canvas-meta span + span[b-e5yq74uia6]::before {
    content: "•";
    margin-left: 5px;
    color: #cbd5e1;
}

.ruler[b-e5yq74uia6] {
    position: absolute;
    z-index: 3;
    overflow: hidden;
    color: #64748b;
    background: rgba(255, 255, 255, .94);
    border: 1px solid #d6deea;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 8px;
    direction: ltr;
    pointer-events: none;
}

.horizontal-ruler[b-e5yq74uia6] {
    top: 15px;
    right: 62px;
    left: 22px;
    height: 28px;
    border-radius: 9px 9px 4px 4px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.horizontal-ruler span[b-e5yq74uia6] {
    position: relative;
    min-width: 1px;
    height: 100%;
    padding-top: 4px;
    transform: translateX(-50%);
}

.horizontal-ruler span[b-e5yq74uia6]::after {
    content: "";
    position: absolute;
    right: 50%;
    bottom: 0;
    width: 1px;
    height: 8px;
    background: #94a3b8;
}

.vertical-ruler[b-e5yq74uia6] {
    top: 54px;
    right: 20px;
    bottom: 22px;
    width: 30px;
    border-radius: 4px 9px 9px 4px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.vertical-ruler span[b-e5yq74uia6] {
    position: relative;
    width: 100%;
    padding-right: 4px;
    transform: translateY(-50%);
}

.vertical-ruler span[b-e5yq74uia6]::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 8px;
    height: 1px;
    background: #94a3b8;
}

@media (max-width: 850px) {
    .label-canvas-toolbar[b-e5yq74uia6] {
        align-items: stretch;
        flex-direction: column;
    }

    .toolbar-group[b-e5yq74uia6] {
        justify-content: center;
    }

    .zoom-controls input[type="range"][b-e5yq74uia6] {
        width: 100%;
    }

    .label-canvas-workspace[b-e5yq74uia6],
    .label-canvas-workspace.with-ruler[b-e5yq74uia6] {
        min-height: 560px;
        padding: 14px;
    }

    .label-canvas-workspace.with-ruler[b-e5yq74uia6] {
        padding-top: 48px;
        padding-right: 48px;
    }

    .horizontal-ruler[b-e5yq74uia6] {
        top: 10px;
        right: 48px;
        left: 14px;
    }

    .vertical-ruler[b-e5yq74uia6] {
        top: 48px;
        right: 10px;
        bottom: 14px;
    }

    .label-canvas-scroll[b-e5yq74uia6] {
        min-height: 500px;
    }

    .label-paper-wrap[b-e5yq74uia6] {
        justify-content: flex-start;
        min-height: 510px;
        padding: 10px;
    }
}

@media (max-width: 520px) {
    .toolbar-title[b-e5yq74uia6] {
        display: none;
    }

    .zoom-controls[b-e5yq74uia6] {
        gap: 6px;
    }

    .zoom-controls input[type="range"][b-e5yq74uia6] {
        min-width: 80px;
    }

    .view-controls[b-e5yq74uia6] {
        width: 100%;
    }

    .view-controls label[b-e5yq74uia6] {
        flex: 1;
        justify-content: center;
    }
}

@media print {
    .label-canvas-toolbar[b-e5yq74uia6],
    .ruler[b-e5yq74uia6] {
        display: none !important;
    }

    .label-canvas-workspace[b-e5yq74uia6],
    .label-canvas-workspace.with-ruler[b-e5yq74uia6],
    .label-canvas-scroll[b-e5yq74uia6],
    .label-paper-wrap[b-e5yq74uia6] {
        width: auto !important;
        min-width: 0 !important;
        min-height: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #fff !important;
    }

    .label-canvas-grid[b-e5yq74uia6] {
        width: 210mm !important;
        min-width: 210mm !important;
        min-height: 297mm !important;
        margin: 0 !important;
        transform: none !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .label-canvas-item[b-e5yq74uia6] {
        box-shadow: none !important;
    }
}
/* /Components/Shared/LabelDragCanvas.razor.rz.scp.css */
.label-drag-canvas-shell[b-c5jcu7boju] {
    display: grid;
    gap: 12px;
}

.drag-toolbar[b-c5jcu7boju] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 12px;
}

.drag-toolbar div[b-c5jcu7boju],
.drag-toolbar label[b-c5jcu7boju] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
}

.drag-workspace[b-c5jcu7boju] {
    min-height: 560px;
    overflow: auto;
    background: #f8fafc;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    padding: 28px;
}

.drag-label[b-c5jcu7boju] {
    position: relative;
    background: #fff;
    border: 1px dashed #334155;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
    background-image:
        linear-gradient(rgba(148, 163, 184, .2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, .2) 1px, transparent 1px);
    background-size: 5mm 5mm;
}

.drag-field[b-c5jcu7boju] {
    position: absolute;
    border: 1px dashed var(--erp-primary, #2563eb);
    background: rgba(239, 246, 255, .85);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    overflow: visible;
}

.drag-field.selected[b-c5jcu7boju] {
    border: 2px solid #dc2626;
    z-index: 4;
}

.field-controls[b-c5jcu7boju] {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    width: 140px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 5px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .18);
}

.field-controls button[b-c5jcu7boju] {
    border: 0;
    background: #f1f5f9;
    border-radius: 6px;
    font-size: 11px;
    padding: 3px 6px;
}

@media print {
    .no-print[b-c5jcu7boju] {
        display: none !important;
    }

    .drag-workspace[b-c5jcu7boju] {
        padding: 0;
        min-height: auto;
        overflow: visible;
        border: 0;
        background: #fff;
    }

    .drag-label[b-c5jcu7boju] {
        transform: none !important;
        box-shadow: none;
    }

    .drag-field[b-c5jcu7boju] {
        border: 0;
        background: transparent;
    }
}
/* /Components/Shared/NotificationBell.razor.rz.scp.css */
.notification-bell-wrap[b-2z2n3ql3yj]{position:relative;width:52px;height:52px;flex:0 0 52px;z-index:130}.notification-bell-btn[b-2z2n3ql3yj]{width:52px;height:52px;display:grid;place-items:center;padding:0;border:1px solid rgba(148,163,184,.16);border-radius:17px;color:#e2e8f0;background:rgba(255,255,255,.055);cursor:pointer}.notification-badge[b-2z2n3ql3yj]{position:absolute;top:3px;right:3px;min-width:18px;height:18px;display:grid;place-items:center;padding:0 4px;border-radius:99px;color:#fff;background:#ef4444;font-size:10px}.notification-overlay[b-2z2n3ql3yj]{position:fixed;inset:0;z-index:398;border:0;background:transparent}.notification-dropdown[b-2z2n3ql3yj]{position:absolute;top:60px;right:0;z-index:399;width:min(380px,calc(100vw - 28px));max-height:min(520px,calc(100vh - 105px));display:flex;flex-direction:column;padding:13px;border:1px solid rgba(148,163,184,.24);border-radius:19px;color:#e2e8f0;background:#0f172a;box-shadow:0 24px 65px rgba(0,0,0,.38);overflow:hidden}.notification-head[b-2z2n3ql3yj]{display:flex;align-items:center;gap:8px;flex:0 0 auto}.notification-head>div[b-2z2n3ql3yj]{min-width:0;flex:1}.notification-head strong[b-2z2n3ql3yj],.notification-head small[b-2z2n3ql3yj]{display:block}.notification-head small[b-2z2n3ql3yj]{color:#94a3b8;font-size:10px}.notification-refresh[b-2z2n3ql3yj],.notification-read[b-2z2n3ql3yj]{border:0;border-radius:9px;color:var(--erp-on-brand, #ffffff);background:var(--erp-primary, #2563eb);cursor:pointer}.notification-refresh[b-2z2n3ql3yj]{width:30px;height:30px}.notification-list[b-2z2n3ql3yj]{min-height:90px;overflow:auto}.notification-item[b-2z2n3ql3yj]{display:grid;grid-template-columns:34px minmax(0,1fr) 28px;gap:9px;padding:11px 3px;border-bottom:1px solid rgba(148,163,184,.13)}.notification-body[b-2z2n3ql3yj]{min-width:0}.notification-title[b-2z2n3ql3yj]{font-weight:900}.notification-text[b-2z2n3ql3yj]{color:#cbd5e1;font-size:11px;line-height:1.7}.notification-time[b-2z2n3ql3yj]{color:#94a3b8;font-size:10px}.notification-all[b-2z2n3ql3yj]{display:block;padding:9px;text-align:center;color:#93c5fd;text-decoration:none}.notification-empty[b-2z2n3ql3yj]{padding:30px 8px;text-align:center;color:#94a3b8}.notification-icon[b-2z2n3ql3yj]{display:grid;place-items:center}.notification-read[b-2z2n3ql3yj]{width:28px;height:28px}@media(max-width:600px){.notification-dropdown[b-2z2n3ql3yj]{position:fixed;top:76px;right:14px;left:14px;width:auto;max-height:calc(100dvh - 92px)}}
/* /Components/Shared/OrganizationIdentity.razor.rz.scp.css */
.organization-identity[b-saeivvxkw3] {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.organization-identity__logo[b-saeivvxkw3],
.organization-identity__fallback[b-saeivvxkw3] {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 16px;
}

.organization-identity__logo[b-saeivvxkw3] {
    object-fit: contain;
    background: #fff;
    border: 1px solid #dbe4f0;
    padding: 5px;
}

.organization-identity__fallback[b-saeivvxkw3] {
    display: grid;
    place-items: center;
    color: var(--erp-on-brand, #ffffff);
    font-size: 20px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
}

.organization-identity__content[b-saeivvxkw3] { min-width: 0; }
.organization-identity__name[b-saeivvxkw3] {
    display: block;
    color: #0f172a;
    font-size: 20px;
    font-weight: 950;
    line-height: 1.4;
}
.organization-identity__contact[b-saeivvxkw3] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}
/* /Components/Shared/PersianDateInput.razor.rz.scp.css */
.erp-persian-date-input[b-0dubo5t4la] {
    display: grid;
    gap: 6px;
}

.erp-persian-date-input input[b-0dubo5t4la] {
    direction: ltr;
    text-align: center;
    font-weight: 900;
}

.erp-persian-date-error[b-0dubo5t4la] {
    color: #be123c;
    font-weight: 900;
}
/* /Components/Shared/ProductBarcode.razor.rz.scp.css */
.erp-barcode[b-pyv0esavxs] {
    direction: ltr;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1px;
    overflow: hidden;
}

.erp-barcode span[b-pyv0esavxs] {
    display: inline-block;
}

.erp-barcode-black[b-pyv0esavxs] {
    background: #111827;
}

.erp-barcode-white[b-pyv0esavxs] {
    background: transparent;
}
/* /Components/Shared/ProductImageUploader.razor.rz.scp.css */
.product-image-uploader[b-t5x8w24ozy] {
    width: 100%;
    display: grid;
    gap: 16px;
}

.product-image-preview[b-t5x8w24ozy] {
    position: relative;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid #dbe4f0;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(45deg, #f8fafc 25%, transparent 25%),
        linear-gradient(-45deg, #f8fafc 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #f8fafc 75%),
        linear-gradient(-45deg, transparent 75%, #f8fafc 75%),
        #eef2f7;
    background-size: 24px 24px;
    background-position: 0 0, 0 12px, 12px -12px, -12px 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .75);
}

.product-image-preview img[b-t5x8w24ozy] {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #fff;
}

.product-image-empty[b-t5x8w24ozy],
.product-image-loading[b-t5x8w24ozy] {
    max-width: 220px;
    padding: 20px;
    color: #64748b;
    text-align: center;
    font-size: 13px;
    line-height: 1.9;
    font-weight: 850;
}

.product-image-main-badge[b-t5x8w24ozy] {
    position: absolute;
    top: 14px;
    right: 14px;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid #86efac;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    color: #166534;
    background: rgba(220, 252, 231, .95);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .14);
    font-size: 11px;
    font-weight: 1000;
}

.product-image-actions[b-t5x8w24ozy] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.product-image-upload-button[b-t5x8w24ozy],
.product-image-delete-button[b-t5x8w24ozy] {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 12px;
    font-weight: 1000;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease;
}

.product-image-upload-button[b-t5x8w24ozy] {
    position: relative;
    min-width: 190px;
    overflow: hidden;
    color: var(--erp-on-brand, #ffffff);
    border: 0;
    background: linear-gradient(135deg, var(--erp-primary, #2563eb), var(--erp-accent, #7c3aed));
    box-shadow: 0 12px 26px rgba(37, 99, 235, .20);
}

.product-image-upload-button[b-t5x8w24ozy]  input[type="file"] {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    cursor: pointer !important;
    font-size: 0 !important;
}

.product-image-delete-button[b-t5x8w24ozy] {
    min-width: 118px;
    color: #be123c;
    border: 1px solid #fecdd3;
    background: #fff1f2;
}

.product-image-upload-button:hover:not(.disabled)[b-t5x8w24ozy],
.product-image-delete-button:hover:not(:disabled)[b-t5x8w24ozy] {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, .10);
}

.product-image-upload-button.disabled[b-t5x8w24ozy],
.product-image-delete-button:disabled[b-t5x8w24ozy] {
    opacity: .55;
    cursor: not-allowed;
}

.product-image-message[b-t5x8w24ozy] {
    width: 100%;
    max-width: 520px;
    padding: 12px 14px;
    border-radius: 13px;
    font-size: 12px;
    line-height: 1.8;
    font-weight: 850;
}

.product-image-message.success[b-t5x8w24ozy] {
    color: #166534;
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
}

.product-image-message.error[b-t5x8w24ozy] {
    color: #be123c;
    border: 1px solid #fecdd3;
    background: #fff1f2;
}

@media (max-width: 640px) {
    .product-image-preview[b-t5x8w24ozy] {
        max-width: none;
    }

    .product-image-actions[b-t5x8w24ozy] {
        align-items: stretch;
        flex-direction: column;
    }

    .product-image-upload-button[b-t5x8w24ozy],
    .product-image-delete-button[b-t5x8w24ozy] {
        width: 100%;
    }
}
/* /Components/Shared/ReleaseUpdatePrompt.razor.rz.scp.css */
.release-backdrop[b-kirnueieu4] {
    position: fixed;
    inset: 0;
    z-index: 2100;
    background: rgba(15, 23, 42, .58);
    backdrop-filter: blur(5px);
}

.release-dialog[b-kirnueieu4] {
    position: fixed;
    z-index: 2101;
    inset-inline-start: 50%;
    top: 50%;
    width: min(560px, calc(100vw - 32px));
    transform: translate(-50%, -50%);
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 20px;
    padding: 28px;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 24px;
    background: var(--erp-surface, #fff);
    color: var(--erp-text, #0f172a);
    box-shadow: 0 30px 80px rgba(15, 23, 42, .35);
    direction: rtl;
}

.release-close[b-kirnueieu4] {
    position: absolute;
    inset-inline-start: 16px;
    top: 14px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: rgba(148, 163, 184, .14);
    color: inherit;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.release-icon[b-kirnueieu4] {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 22px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    font-size: 38px;
    box-shadow: 0 16px 34px rgba(37, 99, 235, .26);
}

.release-kicker[b-kirnueieu4] {
    display: block;
    margin-bottom: 7px;
    color: #2563eb;
    font-weight: 800;
    font-size: 13px;
}

.release-copy h2[b-kirnueieu4] {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.45;
}

.release-copy p[b-kirnueieu4] {
    margin: 0;
    color: var(--erp-muted, #64748b);
    line-height: 1.9;
    white-space: pre-line;
}

.release-actions[b-kirnueieu4] {
    display: flex;
    gap: 10px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.release-primary[b-kirnueieu4],
.release-secondary[b-kirnueieu4] {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
}

.release-primary[b-kirnueieu4] {
    border: 0;
    background: #2563eb;
    color: #fff;
}

.release-secondary[b-kirnueieu4] {
    border: 1px solid rgba(148, 163, 184, .35);
    background: transparent;
    color: inherit;
}

@media (max-width: 640px) {
    .release-dialog[b-kirnueieu4] {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }

    .release-icon[b-kirnueieu4] {
        width: 68px;
        height: 68px;
        font-size: 30px;
    }
}
/* /Components/Shared/UserFontSizeSetting.razor.rz.scp.css */
.user-font-size-setting[b-9xpkjyylsz] {
    width: calc(100% - 48px);
    margin: 24px 24px 0;
    padding: 20px 22px;
    border: 1px solid var(--erp-border, var(--erp-final-border, #e2e8f0));
    border-radius: 24px;
    color: var(--erp-text, var(--erp-final-text, #0f172a));
    background:
        radial-gradient(circle at 0 0, rgba(var(--erp-primary-rgb, 37, 99, 235), .10), transparent 220px),
        var(--erp-surface, #ffffff);
    box-shadow: 0 16px 42px rgba(15, 23, 42, .08);
}

.user-font-size-setting[b-9xpkjyylsz],
.user-font-size-setting *[b-9xpkjyylsz] {
    box-sizing: border-box;
}

.user-font-size-head[b-9xpkjyylsz] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.user-font-size-icon[b-9xpkjyylsz] {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(var(--erp-primary-rgb, 37, 99, 235), .28);
    border-radius: 17px;
    color: var(--erp-primary, #2563eb);
    background: rgba(var(--erp-primary-rgb, 37, 99, 235), .10);
    font-size: calc(var(--erp-font-size, 15px) + 3px);
    font-weight: 950;
    direction: ltr;
}

.user-font-size-copy[b-9xpkjyylsz] {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.user-font-size-kicker[b-9xpkjyylsz] {
    color: var(--erp-primary, #2563eb);
    font-size: max(8px, calc(var(--erp-font-size, 15px) - 3px));
    font-weight: 950;
}

.user-font-size-copy strong[b-9xpkjyylsz] {
    color: var(--erp-text, var(--erp-final-text, #0f172a));
    font-size: calc(var(--erp-font-size, 15px) + 2px);
    font-weight: 1000;
}

.user-font-size-copy small[b-9xpkjyylsz] {
    color: var(--erp-muted, var(--erp-final-muted, #64748b));
    font-size: max(8px, calc(var(--erp-font-size, 15px) - 2px));
    font-weight: 700;
}

.user-font-size-value[b-9xpkjyylsz] {
    min-width: 82px;
    min-height: 42px;
    margin-right: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid rgba(var(--erp-accent-rgb, 124, 58, 237), .28);
    border-radius: 14px;
    color: var(--erp-accent, #7c3aed);
    background: rgba(var(--erp-accent-rgb, 124, 58, 237), .10);
    font-weight: 1000;
    direction: ltr;
}

.user-font-size-control[b-9xpkjyylsz] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
}

.user-font-size-control > span[b-9xpkjyylsz] {
    color: var(--erp-muted, var(--erp-final-muted, #64748b));
    font-size: max(8px, calc(var(--erp-font-size, 15px) - 2px));
    font-weight: 900;
    direction: ltr;
}

.user-font-size-control input[type="range"][b-9xpkjyylsz] {
    width: 100%;
    min-width: 0;
    height: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg,
        rgba(var(--erp-primary-rgb, 37, 99, 235), .24),
        rgba(var(--erp-accent-rgb, 124, 58, 237), .28));
    accent-color: var(--erp-primary, #2563eb);
    cursor: pointer;
}

.user-font-size-footer[b-9xpkjyylsz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--erp-border, var(--erp-final-border, #e2e8f0));
}

.user-font-size-preview[b-9xpkjyylsz] {
    min-width: 0;
    color: var(--erp-text, var(--erp-final-text, #0f172a));
    font-weight: 800;
}

.user-font-size-reset[b-9xpkjyylsz] {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--erp-border, var(--erp-final-border, #dbe4f0));
    border-radius: 999px;
    color: var(--erp-text, var(--erp-final-text, #0f172a));
    background: var(--erp-surface-raised, #f8fafc);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.user-font-size-reset:disabled[b-9xpkjyylsz] {
    opacity: .48;
    cursor: not-allowed;
}

@media (max-width: 700px) {
    .user-font-size-setting[b-9xpkjyylsz] {
        width: calc(100% - 24px);
        margin: 12px 12px 0;
        padding: 16px;
        border-radius: 20px;
    }

    .user-font-size-head[b-9xpkjyylsz] {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .user-font-size-value[b-9xpkjyylsz] {
        margin-right: 0;
        margin-left: auto;
    }

    .user-font-size-control[b-9xpkjyylsz] {
        gap: 8px;
    }

    .user-font-size-footer[b-9xpkjyylsz] {
        align-items: stretch;
        flex-direction: column;
    }

    .user-font-size-reset[b-9xpkjyylsz] {
        width: 100%;
    }
}
/* /Components/Shared/WarehouseTransferProductPicker.razor.rz.scp.css */
.warehouse-transfer-product-picker[b-fixutegunl] {
    display: grid;
    grid-template-columns: minmax(280px, 1.7fr) minmax(120px, .7fr) minmax(140px, .8fr) minmax(220px, 1.3fr) auto;
    align-items: end;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--wtf-picker-border, #eef0f4);
    border-radius: 16px;
    background: var(--wtf-card, #ffffff);
    color: var(--wtf-text, #101828);
}

.field[b-fixutegunl] {
    display: grid;
    gap: 7px;
}

.field label[b-fixutegunl] {
    color: var(--wtf-label, #475467);
    font-size: 12px;
    font-weight: 800;
}

.field input[b-fixutegunl] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--wtf-input-border, #d0d5dd);
    border-radius: 12px;
    padding: 10px 12px;
    outline: none;
    background: var(--wtf-input-bg, #ffffff);
    color: var(--wtf-text, #101828);
}

.field input[b-fixutegunl]::placeholder {
    color: var(--wtf-muted, #667085);
}

.product-field[b-fixutegunl] {
    position: relative;
}

.product-search[b-fixutegunl] {
    position: relative;
}

.product-results[b-fixutegunl] {
    position: absolute;
    z-index: 50;
    right: 0;
    top: calc(100% + 6px);
    bottom: auto;
    left: 0;
    min-width: 420px;
    max-height: 320px;
    overflow-y: auto;
    border: 1px solid var(--wtf-input-border, #d0d5dd);
    border-radius: 12px;
    background: var(--wtf-card, #ffffff);
    color: var(--wtf-text, #101828);
    box-shadow: 0 12px 30px rgba(2, 6, 23, .28);
    padding: 6px;
}

.product-option[b-fixutegunl] {
    display: grid;
    width: 100%;
    gap: 4px;
    padding: 10px 12px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--wtf-text, #101828);
    text-align: right;
    cursor: pointer;
}

.product-option:hover[b-fixutegunl],
.product-option:focus-visible[b-fixutegunl] {
    background: var(--wtf-ghost-bg, #f2f4f7);
    outline: none;
}

.product-option strong[b-fixutegunl] {
    font-size: 13px;
}

.product-option span[b-fixutegunl],
.selected-product span[b-fixutegunl] {
    color: var(--wtf-muted, #667085);
    font-size: 11px;
    line-height: 1.7;
}

.product-state[b-fixutegunl] {
    padding: 12px;
    color: var(--wtf-muted, #667085);
    font-size: 12px;
    text-align: center;
}

.product-state.error[b-fixutegunl] {
    color: #fda4af;
}

.selected-product[b-fixutegunl] {
    display: grid;
    gap: 2px;
    padding: 7px 10px;
    border: 1px solid var(--wtf-picker-border, #eef0f4);
    border-radius: 10px;
    background: var(--wtf-ghost-bg, #f8fafc);
}

.selected-product strong[b-fixutegunl] {
    color: var(--wtf-text, #344054);
    font-size: 12px;
}

.remove-btn[b-fixutegunl] {
    border: 0;
    border-radius: 12px;
    padding: 11px 14px;
    background: #fef3f2;
    color: #b42318;
    cursor: pointer;
    font-weight: 900;
}

@media (max-width: 1000px) {
    .warehouse-transfer-product-picker[b-fixutegunl] {
        grid-template-columns: 1fr 1fr;
    }

    .remove-btn[b-fixutegunl] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .warehouse-transfer-product-picker[b-fixutegunl] {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 700px) {
    .product-results[b-fixutegunl] {
        min-width: 100%;
    }
}


.product-option[b-fixutegunl] {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 10px;
}

.product-thumb[b-fixutegunl],
.selected-product-image[b-fixutegunl] {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--wtf-picker-border, #eef0f4);
    background: var(--wtf-ghost-bg, #f8fafc);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.product-thumb img[b-fixutegunl],
.selected-product-image img[b-fixutegunl] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-thumb-placeholder[b-fixutegunl] {
    padding: 4px;
    color: var(--wtf-muted, #667085);
    font-size: 9px;
    text-align: center;
    line-height: 1.35;
}

.product-option-copy[b-fixutegunl],
.selected-product-copy[b-fixutegunl] {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.product-option-copy strong[b-fixutegunl],
.selected-product-copy strong[b-fixutegunl] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stock-pill[b-fixutegunl] {
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
}

.stock-pill.ok[b-fixutegunl] {
    background: rgba(16, 185, 129, .14);
    color: #059669;
}

.stock-pill.empty[b-fixutegunl] {
    background: rgba(244, 63, 94, .14);
    color: #e11d48;
}

.product-option.out-of-stock[b-fixutegunl] {
    opacity: .72;
}

.selected-product[b-fixutegunl] {
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.selected-product-image[b-fixutegunl] {
    width: 54px;
    height: 54px;
}

.stock-warning[b-fixutegunl] {
    margin-top: 7px;
    padding: 8px 10px;
    border: 1px solid rgba(244, 63, 94, .38);
    border-radius: 10px;
    background: rgba(244, 63, 94, .10);
    color: #e11d48;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.8;
}

.has-stock-shortage[b-fixutegunl] {
    border-color: rgba(244, 63, 94, .45);
    box-shadow: 0 0 0 1px rgba(244, 63, 94, .08);
}

@media (max-width: 700px) {
    .product-option[b-fixutegunl] {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .stock-pill[b-fixutegunl] {
        grid-column: 2;
        justify-self: start;
    }
}
/* /Components/Shared/WarehouseTransferStatusBadge.razor.rz.scp.css */
.warehouse-transfer-status-badge[b-54fsy9msfd] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    min-width: 84px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
    background: #f2f4f7;
    color: #344054;
}

.warehouse-transfer-status-badge.draft[b-54fsy9msfd] {
    background: #fffaeb;
    color: #b54708;
}

.warehouse-transfer-status-badge.posted[b-54fsy9msfd],
.warehouse-transfer-status-badge.final[b-54fsy9msfd],
.warehouse-transfer-status-badge.completed[b-54fsy9msfd] {
    background: #ecfdf3;
    color: #027a48;
}

.warehouse-transfer-status-badge.cancelled[b-54fsy9msfd],
.warehouse-transfer-status-badge.canceled[b-54fsy9msfd],
.warehouse-transfer-status-badge.deleted[b-54fsy9msfd] {
    background: #fef3f2;
    color: #b42318;
}
/* /Components/Shared/WarehouseTransferSummaryCard.razor.rz.scp.css */
.warehouse-transfer-summary-card[b-b930pzuygh] {
    --summary-card: var(--erp-surface, #ffffff);
    --summary-text: var(--erp-text, var(--erp-final-text, #101828));
    --summary-muted: var(--erp-muted, var(--erp-final-muted, #667085));
    --summary-border: var(--erp-border, var(--erp-final-border, #e6e8ef));

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.summary-item[b-b930pzuygh] {
    background: var(--summary-card);
    border: 1px solid var(--summary-border);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(2, 6, 23, .12);
}

.summary-item span[b-b930pzuygh] {
    display: block;
    color: var(--summary-muted);
    font-size: 13px;
    margin-bottom: 10px;
}

.summary-item strong[b-b930pzuygh] {
    display: block;
    color: var(--summary-text);
    font-size: 24px;
    font-weight: 900;
}

@media (max-width: 900px) {
    .warehouse-transfer-summary-card[b-b930pzuygh] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .warehouse-transfer-summary-card[b-b930pzuygh] {
        grid-template-columns: 1fr;
    }
}
