:root{--erp-canvas:#f3f5f8;--erp-surface:#fff;--erp-muted:#f6f8fa;--erp-line:#dfe4ea;--erp-border:#b9c4d1;--erp-ink:#202936;--erp-secondary:#526174;--erp-brand:#17457f;--erp-selected:#edf3fc;--erp-success:#12704f;--erp-danger:#a4261d}@media screen{body:has(.erp-shell){background:var(--erp-canvas)}.erp-shell{color:var(--erp-ink);letter-spacing:0}.erp-shell .topbar{background:#0c2a52;box-shadow:none;border-bottom:1px solid #254466}.erp-shell .brand{letter-spacing:0;font-size:18px}.global-sidebar{background:#102c4a;box-shadow:none;border-color:#29435e}.sidebar-heading{letter-spacing:0;color:#b9c9da}.sidebar-group,.sidebar-heading{border-color:#29435e}.sidebar-submenu{background:#102c4a}.sidebar-submenu a{color:#c8d5e2}.sidebar-submenu a.active{background:#21466d;color:#fff;border-left-color:#76b7ff}.sidebar-group-button:hover,.sidebar-group.active-group>.sidebar-group-button{background:#193b5c}.erp-shell .breadcrumb{color:var(--erp-secondary);font-size:12px;margin-bottom:12px}.erp-shell .panel{border-color:var(--erp-line);box-shadow:none}.erp-shell .results{min-width:0;overflow-x:auto}.erp-shell .panel-title{height:auto;min-height:44px;padding:10px 14px;color:var(--erp-ink);background:#fff;border-bottom:1px solid var(--erp-line);font-size:15px;line-height:1.4;gap:8px;flex-wrap:wrap}.erp-shell .panel-title:before{content:"";width:3px;height:15px;background:var(--erp-brand);flex:0 0 3px}:is(.erp-shell,.modal-window) :is(.btn,.icon-btn){border-radius:4px;border-color:var(--erp-border);background:#fff;color:#344459;box-shadow:none;min-height:30px}:is(.erp-shell,.modal-window) .btn{font-weight:600;line-height:1.35}:is(.erp-shell,.modal-window) :is(.btn,.icon-btn):hover:not(:disabled){border-color:#4d78ad;background:#edf3fc;color:var(--erp-brand)}:is(.erp-shell,.modal-window) .btn-primary{background:var(--erp-brand);border-color:var(--erp-brand);color:#fff}:is(.erp-shell,.modal-window) .btn-primary:hover:not(:disabled){background:#1d5aa6;color:#fff}:is(.erp-shell,.modal-window) .btn-green{background:var(--erp-success);border-color:var(--erp-success);color:#fff}:is(.erp-shell,.modal-window) .btn-green:hover:not(:disabled){background:#0c5c40;border-color:#0c5c40;color:#fff}:is(.erp-shell,.modal-window) :is(.btn,.icon-btn):disabled{background:#f1f3f6;color:#748093;border-color:var(--erp-line);cursor:not-allowed}:is(.erp-shell,.modal-window) :is(input,select,textarea){border-radius:3px;border-color:var(--erp-border);accent-color:var(--erp-brand)}:is(.erp-shell,.modal-window) :is(input,select,textarea):focus-visible{outline:2px solid #2e74c9;outline-offset:1px}:is(.erp-shell,.modal-window,.global-sidebar) :is(button,a,[tabindex]):focus-visible{outline:2px solid #2e74c9;outline-offset:2px}.erp-shell :is(.search-grid,.settlement-filters,.report-search,.ledger-filter,.product-filters,.partner-filters){background:var(--erp-muted);border-color:var(--erp-line);gap:10px 12px;padding:12px}.erp-shell :is(.toolbar,.settlement-toolbar,.import-nav){border-color:var(--erp-line);gap:7px}:is(.erp-shell,.modal-window) :is(.result-table,.report-table,.product-grid){font-variant-numeric:tabular-nums}:is(.erp-shell,.modal-window) :is(.result-table,.report-table,.product-grid) th{background:#f1f4f7;color:#435268;border-color:var(--erp-line);font-weight:600}:is(.erp-shell,.modal-window) :is(.result-table,.report-table,.product-grid) td{border-color:var(--erp-line)}:is(.erp-shell,.modal-window) .result-table tbody tr:hover>td{background-color:#f0f5fb}:is(.erp-shell,.modal-window) .result-table tbody tr:has(input[type=checkbox]:checked)>td{background-color:var(--erp-selected)}:is(.erp-shell,.modal-window) .result-table tbody tr:has(input[type=checkbox]:checked)>td:first-child{box-shadow:inset 3px 0 #2e74c9}:is(.erp-shell,.modal-window) .resizable-sortable-table th.sorted{background:#e8eff9;color:var(--erp-brand)}:is(.erp-shell,.modal-window) :is(.num,.money){font-variant-numeric:tabular-nums}.erp-shell :is(.settlement-summary,.ledger-summary,.product-summary,.partner-ledger-summary){background:var(--erp-muted);border-color:var(--erp-line);gap:8px 22px;line-height:1.6;font-variant-numeric:tabular-nums}.erp-shell :is(.settlement-summary,.ledger-summary,.product-summary) strong{color:var(--erp-brand)}.erp-shell .settlement-selection-summary,.erp-shell [data-preview-total=selected]{background:var(--erp-selected);border-left:3px solid #2e74c9;justify-content:flex-start}.erp-shell .settlement-selection-summary .btn{margin-left:auto}.erp-status{display:inline-flex;align-items:center;gap:4px;max-width:100%;padding:3px 6px;border:1px solid #d7dce3;border-radius:3px;font-size:12px;line-height:1.3;font-weight:600;color:#526174;background:#f0f2f5;white-space:normal}.erp-status-EXPECTED{color:#8a5209;background:#fdf3e3;border-color:#ebd2a6}.erp-status-PENDING{color:#17457f;background:#eaf1fb;border-color:#c6d9f2}.erp-status-APPROVED{color:#12704f;background:#e8f4ee;border-color:#b4dbc8}.erp-status-POSTED{color:#0e6e77;background:#e6f2f3;border-color:#b6d9dc}.erp-shell .settlement-state{border-radius:3px}.modal-backdrop{background:#0c18286b}.modal-window{border:1px solid var(--erp-border);border-radius:6px;box-shadow:0 16px 48px #0f172033}.modal-title{background:#0c2a52;min-height:42px;height:auto}.modal-title button{min-height:42px;background:transparent}.modal-window :is(.form-section-title,.grid-header){color:#435268;background:var(--erp-muted);border-color:var(--erp-line)}.modal-window .compact-grid{background:#fff;border-color:var(--erp-line);padding:12px;gap:10px 14px}.modal-window .compact-grid label{min-width:0;grid-template-columns:94px minmax(0,1fr);color:#435268}.modal-window .inline-control{min-width:0;align-items:center}.modal-window .inline-control>input{flex:1 1 100px;min-width:0}.modal-window .inline-control>.btn{flex:0 0 auto}.modal-window .compact-grid .required-input{background:#f0f8f4;border-color:#91b9a4}.modal-window .compact-grid input[readonly]{background:#f3f5f8;color:#526174}.modal-window .form-actions{z-index:4;flex-wrap:wrap;border-color:var(--erp-line);background:#f6f8fa;gap:8px}.modal-window .form-actions .btn{min-height:34px}.modal-window .product-grid-wrap{border-color:var(--erp-line)}.modal-window .product-grid input[type=number]{text-align:right;font-variant-numeric:tabular-nums}.erp-shell .erp-selected-metric{background:var(--erp-selected);padding:3px 7px;border-radius:3px}.erp-shell .home-hero{background:#fff;color:var(--erp-ink);border:0;border-bottom:1px solid var(--erp-line);border-radius:0;box-shadow:none;padding:14px 0}.erp-shell .home-hero :is(p,small),.erp-shell .home-logo-link{color:var(--erp-secondary);letter-spacing:0}.erp-shell .home-hero h1{font-size:22px}.erp-shell :is(.home-metric-card,.home-empty-widget){border-radius:6px;box-shadow:none;border-color:var(--erp-line)}.erp-shell .home-widget{border-radius:0;box-shadow:none;border-color:var(--erp-line)}.erp-shell .home-widget header{background:var(--erp-muted)}.erp-shell :is(.home-bar-row i,.home-channel-row i){background:#258a88;border-radius:2px}.erp-shell .home-source-notes{border-radius:4px}@media (min-width:769px){.global-sidebar{width:216px}.erp-shell .workspace{width:calc(100% - 216px);margin-left:216px;padding:18px 20px 28px}}@media (max-width:1200px){.modal-window .compact-grid.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:768px){.erp-shell .ledger-filter{flex-wrap:wrap;overflow-x:visible}.erp-shell .ledger-filter .multi-search{flex-wrap:wrap;min-width:0}.erp-shell .report-search{flex-wrap:wrap}.erp-shell .search-grid{grid-template-columns:minmax(0,1fr)}.erp-shell .search-grid>:is(.span-3,.span-4,.span-5){grid-column:auto}.erp-shell .search-grid .field:has(.date-range){flex-direction:column;align-items:stretch}.erp-shell .date-range{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.erp-shell .date-range input{min-width:0}.erp-shell .date-range select{grid-column:1/-1}.erp-shell .stock-checks{flex-wrap:wrap;white-space:normal}.erp-shell .product-master-layout{grid-template-columns:minmax(0,1fr)}.erp-shell .category-tree{max-height:180px;border-right:0;border-bottom:1px solid var(--erp-line)}.modal-backdrop{padding:8px}.modal-window{max-height:calc(100dvh - 16px);width:calc(100vw - 16px)}.modal-window .compact-grid:is(.cols-4,.cols-2){grid-template-columns:minmax(0,1fr)}.modal-window .compact-grid .span-two{grid-column:auto}.modal-window .compact-grid label{grid-template-columns:88px minmax(0,1fr)}.modal-window .inline-control{flex-wrap:wrap}.modal-window .form-actions{justify-content:flex-start}}}@media screen{body:has(.erp-shell){background:#f3f5f8;color:#374151}.erp-shell{--erp-canvas:#f3f5f8;--erp-surface:#fff;--erp-muted:#f6f8fa;--erp-line:#e2e8f0;--erp-border:#c6cfda;--erp-ink:#111827;--erp-secondary:#4a5568;--erp-brand:#1d4ed8;--erp-selected:#edf1fc;--erp-success:#14603a;--erp-danger:#a02020;color:#374151}.erp-shell .topbar{height:56px;background:#fff;color:#111827;border-bottom:1px solid #e2e8f0}.erp-shell .brand{display:grid;grid-template-columns:32px auto;grid-template-rows:auto auto;column-gap:9px;align-content:center;font-size:15px;line-height:1.2;color:#111827}.erp-shell .brand:before{content:"SL";grid-row:1/3;display:grid;place-items:center;width:32px;height:32px;border-radius:4px;background:#1d4ed8;color:#fff;font-size:12px}.erp-shell .brand small{grid-column:2;color:#6b7280;font-size:11.5px}.erp-shell .brand:hover{background:#f5f7fb;color:#111827}.session-top-user,.session-top-user button{color:#374151}.global-sidebar{top:56px;width:240px;background:#fff;box-shadow:none;color:#374151}.global-sidebar,.sidebar-group,.sidebar-heading{border-color:#e2e8f0}.sidebar-chevron,.sidebar-heading{color:#6b7280}.sidebar-group-button{color:#111827}.sidebar-group-button:hover,.sidebar-group.active-group>.sidebar-group-button{background:#f5f7fb;color:#111827}.sidebar-submenu{background:#fff}.sidebar-submenu a{color:#374151}.sidebar-submenu a:hover{background:#f5f7fb;color:#111827}.sidebar-submenu a.active{padding-left:24px;border-left:3px solid #1d4ed8;background:#edf1fc;color:#1d4ed8}.sidebar-empty,.sidebar-user,.sidebar-user button{color:#4a5568;border-color:#e2e8f0}.erp-shell .panel{border:1px solid #e2e8f0;border-radius:8px;overflow:clip}.erp-shell .panel-title:before{background:#1d4ed8}.erp-shell .settlement-asset-warning{margin:0 0 8px;padding:10px 12px;border:1px solid #e9d3ad;border-radius:7px;background:#fbf2e2;color:#7a4a06;font-size:12px;line-height:1.5}.erp-shell .breadcrumb strong{color:#111827}:is(.erp-shell,.modal-window) :is(.btn,.icon-btn){border-radius:7px}:is(.erp-shell,.modal-window) .btn-primary{background:#1d4ed8;border-color:#1d4ed8;color:#fff}:is(.erp-shell,.modal-window) .btn-primary:hover:not(:disabled){background:#1e40af;border-color:#1e40af}:is(.erp-shell,.modal-window) .btn-green{background:#14603a;border-color:#14603a;color:#fff}:is(.erp-shell,.modal-window) .btn-green:hover:not(:disabled){background:#105132;border-color:#105132}:is(.erp-shell,.modal-window) :is(input,select,textarea){border-radius:7px;accent-color:#1d4ed8}:is(.erp-shell,.modal-window) :is(input,select,textarea):focus-visible,:is(.erp-shell,.modal-window,.global-sidebar) :is(button,a,[tabindex]):focus-visible{outline:2px solid #1d4ed8;outline-offset:2px}:is(.erp-shell,.modal-window) :is(.result-table,.report-table,.product-grid) th{background:#f0f3f7;color:#374151;border-color:#e2e8f0}:is(.erp-shell,.modal-window) :is(.result-table,.report-table,.product-grid) td{border-color:#e2e8f0}.erp-shell :is(.settlement-selection-summary,[data-preview-total=selected]){border-left-color:#1d4ed8}.erp-shell .settlement-summary strong{color:#1d4ed8}.erp-status-APPROVED{color:#14603a;background:#e8f5ee}.erp-status-EXPECTED{color:#7a4a06;background:#fbf2e2}.modal-window{border-color:#e2e8f0;border-radius:8px}.modal-title{background:#fff;color:#111827;border-bottom:1px solid #e2e8f0}.modal-title button{background:#fff;color:#374151}.modal-title button:hover{background:#f5f7fb}.modal-window .form-actions{background:#fff}@media (min-width:769px){.erp-shell .workspace{width:calc(100% - 240px);margin-left:240px;padding:20px 24px 28px}}@media (max-width:768px){.global-sidebar{width:min(300px,calc(100vw - 44px))}.erp-shell .workspace{width:100%;margin-left:0;padding:12px}}}.erp-column-toolbar{position:sticky;left:0;display:flex;align-items:center;gap:10px;margin:6px 0;min-height:32px;color:#435262;font-size:12px;width:100%;box-sizing:border-box}.erp-column-panel-actions>.btn,.erp-column-toolbar>.btn{display:inline-flex;align-items:center;gap:5px}.erp-column-panel{position:relative;width:min(540px,100%);max-height:420px;overflow:auto;background:white;border:1px solid #b6c4d2;border-radius:4px;padding:10px;box-shadow:0 3px 12px #0002;z-index:5}.erp-column-toolbar:has(.erp-column-panel){flex-wrap:wrap}.erp-column-panel{flex-basis:100%}.erp-column-panel-actions{display:flex;justify-content:space-between;margin-bottom:8px}.erp-column-option{display:grid;grid-template-columns:minmax(130px,1fr) 70px 28px 28px;align-items:center;gap:6px;padding:4px 0}.erp-column-option label{display:flex;align-items:center;gap:7px;white-space:normal;overflow-wrap:anywhere}.erp-column-option input[type=number]{width:70px;min-width:0;height:28px}.erp-column-option button{display:grid;place-items:center;height:28px;border:1px solid #c8d3dd;background:#f8fafc;border-radius:3px}.erp-configurable-table>thead>tr>th{padding-left:24px!important;padding-right:12px!important;white-space:normal!important;overflow-wrap:anywhere}.erp-column-grip{position:absolute;left:2px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:18px;height:24px;border:0;background:transparent;color:#63778c;cursor:grab;padding:0}.erp-column-grip:disabled{visibility:hidden}.erp-column-resize{position:absolute;right:0;top:0;bottom:0;width:9px;cursor:col-resize;touch-action:none;z-index:2}.erp-column-resize:focus,.erp-column-resize:hover{background:#2563eb44;outline:1px solid #2563eb}.erp-configurable-table .resizable-sortable-resizer,.erp-configurable-table [hidden]{display:none!important}.erp-configurable-table>tbody>tr>td,.erp-configurable-table>tfoot>tr>td{overflow-wrap:anywhere}.erp-configurable-table td>input,.erp-configurable-table td>select{max-width:100%;box-sizing:border-box}@media print{.erp-column-grip,.erp-column-resize,.erp-column-toolbar{display:none!important}.erp-configurable-table{width:100%!important;min-width:0!important}}