:root{--text:#374151;--text-h:#111827;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:16px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;margin:0}#root{text-align:left;box-sizing:border-box;flex-direction:column;width:100%;max-width:100%;min-height:100svh;margin:0;display:flex}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-.02em;margin:0 0 16px;font-size:1.75rem}h2{letter-spacing:-.01em;margin:0 0 8px;font-size:1.25rem;line-height:118%}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}:root{--sidebar-w:260px;--topbar-h:70px;--touch-min:48px;--page-pad:40px;--content-ml:var(--sidebar-w);--piyal-red:#eb0303;--erp-surface:#f8fafc;--erp-border:#e2e8f0;--erp-text:#1e293b;--erp-muted:#64748b;--safe-bottom:env(safe-area-inset-bottom,0px);--safe-top:env(safe-area-inset-top,0px)}html{-webkit-text-size-adjust:100%;width:100%;max-width:100%;overflow-x:hidden}body{width:100%;max-width:100%;margin:0;overflow-x:hidden}body.erp-drawer-open{overflow:hidden}.erp-shell{background:var(--erp-surface);width:100%;max-width:100%;min-height:100svh;overflow-x:hidden}.erp-main{margin-left:var(--content-ml);padding:var(--page-pad);padding-bottom:calc(var(--page-pad) + var(--safe-bottom));text-align:left;box-sizing:border-box;width:auto;min-width:0;max-width:100%;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;transition:margin-left .2s}.erp-main>*{max-width:100%}.erp-sidebar-overlay{display:none}.erp-page{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.erp-stack{flex-direction:column;gap:16px;min-width:0;display:flex}.erp-grid-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.erp-actions-sticky{z-index:30;padding:12px 0 calc(12px + var(--safe-bottom));background:linear-gradient(#f8fafc00 0%,#f8fafc 28%);flex-wrap:wrap;gap:10px;display:flex;position:sticky;bottom:0}.erp-touch{min-height:var(--touch-min);min-width:var(--touch-min)}@media (width<=1023px){:root{--content-ml:0px;--page-pad:20px}.erp-main{padding:var(--page-pad);margin-left:0;padding-top:16px}.erp-sidebar-overlay{z-index:90;opacity:0;pointer-events:none;background:#0f172a73;transition:opacity .2s;display:block;position:fixed;inset:0}.erp-sidebar-overlay.is-open{opacity:1;pointer-events:auto}}@media (width<=768px){:root{--page-pad:14px;--topbar-h:60px}.erp-grid-2{grid-template-columns:1fr}.erp-actions-sticky{margin-left:calc(-1 * var(--page-pad));margin-right:calc(-1 * var(--page-pad));padding-left:var(--page-pad);padding-right:var(--page-pad);border-top:1px solid var(--erp-border);background:#fff;position:sticky;left:0;right:0;box-shadow:0 -4px 16px #0f172a14}button:not(.erp-icon-only),.bo-btn,.fd-btn,.sales-btn,.grn-btn,.inv-btn,.cm-btn,.chq-btn,.bnk-btn,.cc-btn,.rpt-btn,a.nav,.sidebar li a,.topbar-branch-btn,.topbar-menu-btn{min-height:var(--touch-min)}input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea,.erp-select-trigger,.sdd-trigger{min-height:var(--touch-min)!important;font-size:16px!important}input[type=number],input.erp-num{font-variant-numeric:tabular-nums}}@media (width<=480px){:root{--page-pad:12px}.erp-main{padding:12px}}@media (width>=1440px){:root{--page-pad:48px}}.erp-table-scroll{-webkit-overflow-scrolling:touch;border:1px solid var(--erp-border,#e2e8f0);background:#fff;border-radius:12px;width:100%;max-width:100%;overflow-x:auto}.erp-table-scroll table{border-collapse:collapse;width:100%;min-width:560px}.erp-table-scroll th,.erp-table-scroll td{text-align:left;white-space:nowrap;vertical-align:middle;padding:10px 12px}.erp-table-scroll thead th{text-transform:uppercase;letter-spacing:.04em;color:#475569;z-index:2;background:#f1f5f9;font-size:12px;position:sticky;top:0}.erp-table-scroll th:first-child,.erp-table-scroll td:first-child{z-index:1;background:#fff;position:sticky;left:0;box-shadow:4px 0 8px -4px #0f172a26}.erp-table-scroll thead th:first-child{z-index:3;background:#f1f5f9}.erp-mobile-cards{display:none}@media (width<=767px){.erp-table-scroll.has-mobile-cards{display:none}.erp-mobile-cards{flex-direction:column;gap:12px;display:flex}.erp-card-row{border:1px solid var(--erp-border,#e2e8f0);background:#fff;border-radius:12px;flex-direction:column;gap:8px;min-width:0;padding:14px;display:flex;box-shadow:0 4px 12px #0f172a0f}.erp-card-row-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.erp-card-row-head strong{color:#0f172a;word-break:break-word;font-size:15px}.erp-card-meta{grid-template-columns:1fr 1fr;gap:8px 12px;font-size:13px;display:grid}.erp-card-meta span{color:#64748b;margin-bottom:2px;font-size:11px;display:block}.erp-card-meta strong{color:#1e293b;word-break:break-word;font-weight:600}.erp-card-actions{flex-wrap:wrap;gap:8px;margin-top:4px;display:flex}.erp-card-actions>*{flex:auto;min-height:48px}}.bo-card .bo-table,.sales-table-wrap,.grn-table-wrap,.inv-table-wrap,.cm-table-wrap,.gtn-table-wrap,.wh-table-wrap,.ph-table-box,.rpt-table-wrap,.cc-table-wrap,.bnk-table-wrap,.chq-table-wrap,.fd-table-wrap,.sm-table-wrap,.pv-table-wrap,.bsd-table-wrap{-webkit-overflow-scrolling:touch;max-width:100%;overflow-x:auto}@media (width<=1023px){.bo-card .bo-table th:first-child,.bo-card .bo-table td:first-child,.sales-table-wrap table th:first-child,.sales-table-wrap table td:first-child,.grn-table-wrap table th:first-child,.grn-table-wrap table td:first-child,.inv-table-wrap table th:first-child,.inv-table-wrap table td:first-child,.cm-table-wrap table th:first-child,.cm-table-wrap table td:first-child,.gtn-table-wrap table th:first-child,.gtn-table-wrap table td:first-child,.cc-table-wrap table th:first-child,.cc-table-wrap table td:first-child,.bnk-table-wrap table th:first-child,.bnk-table-wrap table td:first-child,.chq-table-wrap table th:first-child,.chq-table-wrap table td:first-child,.pv-table-wrap table th:first-child,.pv-table-wrap table td:first-child{z-index:1;background:#fff;position:sticky;left:0;box-shadow:4px 0 8px -4px #0f172a1f}.bo-card .bo-table thead th:first-child,.sales-table-wrap table thead th:first-child,.grn-table-wrap table thead th:first-child,.inv-table-wrap table thead th:first-child,.cm-table-wrap table thead th:first-child,.gtn-table-wrap table thead th:first-child,.cc-table-wrap table thead th:first-child,.bnk-table-wrap table thead th:first-child,.chq-table-wrap table thead th:first-child,.pv-table-wrap table thead th:first-child{z-index:2;background:#f8fafc}}@media (width<=768px){.bo-register-filters,.bo-status-filters,.sales-toolbar,.grn-toolbar,.inv-toolbar,.cm-toolbar,.rpt-filters,.fd-toolbar,.cc-filters,.pv-filters,.chq-filters{flex-direction:column!important;align-items:stretch!important}.bo-register-filters>*,.sales-toolbar>*,.grn-toolbar>*,.inv-toolbar>*,.rpt-filters>*,.fd-toolbar>*{width:100%!important;min-width:0!important;max-width:100%!important}.fd-cards,.bo-kpis,.bsd-cards,.fd-grid-2,.bsd-grid-2{grid-template-columns:1fr!important}.fd-chart,.fd-bars,canvas,svg{max-width:100%!important}}@media (width<=1023px){.bo-embed,.sales-page,.sales-wrap,.inv-page{min-width:0;max-width:100%}.bo-card{-webkit-overflow-scrolling:touch;overflow-x:auto}.bo-actions-cell{min-width:160px}.bo-actions-cell .bo-btn{min-height:44px}.bo-attach-modal,.bo-attach-panel{max-width:100vw!important}.bo-attach-panel{max-height:100vh;border-radius:0!important;width:100%!important;margin:0!important}}@media (width<=768px){.bo-status-filters{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;gap:8px;padding-bottom:6px;display:flex;overflow-x:auto}.bo-chip{flex:none;min-height:44px}.bo-register-filters{flex-direction:column;gap:10px;display:flex}.bo-register-filters input,.bo-register-filters select,.bo-register-filters button{box-sizing:border-box;width:100%;min-height:48px}.bo-table{min-width:720px}.bo-override-box{flex-direction:column;gap:8px;display:flex}.bo-override-box input,.bo-override-box button{width:100%;min-height:48px}.sales-layout,.sales-grid,.sales-two-col{flex-direction:column!important;display:flex!important}.sales-sidebar,.sales-main,.sales-panel{width:100%!important;max-width:100%!important}.sales-actions,.sales-footer-actions{z-index:20;background:#fff;border-top:1px solid #e2e8f0;flex-wrap:wrap;gap:8px;margin:0 -14px;padding:12px;display:flex;position:sticky;bottom:0}.sales-actions button,.sales-footer-actions button{flex:45%;min-height:48px}.inv-preview-modal,.invoice-preview-overlay{align-items:stretch!important;padding:0!important}.inv-preview-panel,.invoice-preview-panel,.invoice-preview{border-radius:0!important;width:100%!important;max-width:100vw!important;max-height:100vh!important;margin:0!important}.inv-preview-actions,.invoice-preview-actions{z-index:5;background:#fff;border-top:1px solid #e2e8f0;flex-wrap:wrap;gap:8px;padding:12px;display:flex;position:sticky;bottom:0}.inv-preview-actions button,.invoice-preview-actions a,.invoice-preview-actions button{flex:auto;min-height:48px}.fd-header,.fd-toolbar{flex-direction:column!important;align-items:stretch!important;gap:10px!important}.fd-header h1{font-size:1.35rem}.fd-cards{grid-template-columns:1fr!important}.fd-card{min-width:0}.fd-grid-2{grid-template-columns:1fr!important}.fd-bars{-webkit-overflow-scrolling:touch;overflow-x:auto}.fd-table-wrap,.fd-recent{overflow-x:auto}.pv-layout,.pv-grid,.pv-two-col{flex-direction:column!important;display:flex!important}.pv-filters{flex-direction:column!important;gap:10px!important}.pv-filters input,.pv-filters select,.pv-filters button{width:100%;min-height:48px}.pv-actions,.pv-sticky-actions{z-index:20;background:#fff;border-top:1px solid #e2e8f0;flex-wrap:wrap;gap:8px;padding:12px;display:flex;position:sticky;bottom:0}.pv-actions button{flex:40%;min-height:48px}.cc-header,.cc-toolbar,.cc-filters{flex-direction:column!important;align-items:stretch!important}.cc-kpis,.cc-cards{grid-template-columns:1fr!important}.cc-table-wrap{-webkit-overflow-scrolling:touch;overflow-x:auto}.chq-layout,.bnk-layout{flex-direction:column!important;display:flex!important}.chq-drawer{width:100%!important;max-width:100vw!important}.inv-toolbar,.grn-toolbar,.gtn-toolbar,.wh-toolbar,.pfd-toolbar,.products-toolbar{flex-direction:column!important;align-items:stretch!important;gap:10px!important}.inv-toolbar input,.inv-toolbar select,.inv-toolbar button,.grn-toolbar input,.grn-toolbar select,.grn-toolbar button,.gtn-toolbar input,.gtn-toolbar select,.gtn-toolbar button{box-sizing:border-box;width:100%;min-height:48px}.inv-table-wrap,.grn-table-wrap,.gtn-table-wrap,.wh-table-wrap,.products-table-wrap{-webkit-overflow-scrolling:touch;overflow-x:auto}.pfd-drawer{width:100%!important;max-width:100vw!important}.grn-footer-actions,.gtn-footer-actions,.inv-footer-actions{z-index:20;background:#fff;border-top:1px solid #e2e8f0;flex-wrap:wrap;gap:8px;padding:12px;display:flex;position:sticky;bottom:0}.grn-footer-actions button,.gtn-footer-actions button{flex:40%;min-height:48px}.cm-toolbar,.cm-filters,.sm-toolbar,.sm-filters{flex-direction:column!important;align-items:stretch!important;gap:10px!important}.cm-toolbar input,.cm-toolbar select,.cm-toolbar button,.sm-toolbar input,.sm-toolbar select,.sm-toolbar button{width:100%;min-height:48px}.cm-table-wrap,.sm-table-wrap{-webkit-overflow-scrolling:touch;overflow-x:auto}.cm-layout,.sm-layout,.cm-two-col{flex-direction:column!important;display:flex!important}.bo-return-wizard,.return-wizard{flex-direction:column;gap:12px;display:flex}.bo-return-wizard input[type=file],.return-wizard input[type=file],.bo-return-wizard canvas,.return-wizard canvas{max-width:100%;width:100%!important}.bo-return-actions,.return-actions{z-index:20;background:#fff;border-top:1px solid #e2e8f0;flex-wrap:wrap;gap:8px;padding:12px;display:flex;position:sticky;bottom:0}.bo-return-actions button,.return-actions button{flex:40%;min-height:48px}.rpt-filters,.rpt-engine-filters{flex-direction:column!important;gap:10px!important;display:flex!important}.rpt-export-bar,.rpt-actions{z-index:20;background:#fff;border-top:1px solid #e2e8f0;flex-wrap:wrap;gap:8px;padding:12px;display:flex;position:sticky;bottom:0}.rpt-export-bar button,.rpt-actions button{flex:40%;min-height:48px}.rpt-table-wrap,.bsd-table-wrap{-webkit-overflow-scrolling:touch;overflow-x:auto}.bsd-cards,.bsd-kpis{grid-template-columns:1fr!important}.bsd-grid-2,.bsd-layout{flex-direction:column!important;display:flex!important}}@media (width<=1023px){.erp-main>section,.erp-main>div,.erp-page,.bo-embed,.fd-page,.sales-page,.inv-page,.cm-page,.rpt-page{max-width:100%;overflow-x:clip}}:root{--erp-label:#1f2937;--erp-text:#111827;--erp-placeholder:#6b7280;--erp-muted:#4b5563;--erp-disabled:#374151;--erp-border:#d1d5db;--erp-border-focus:#2563eb;--erp-surface:#fff;--erp-surface-muted:#f9fafb;--erp-required:#dc2626;--erp-field-h:40px;--erp-radius:8px;--erp-gap:14px}html{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]):not([type=button]):not([type=submit]):not([type=reset]):not([type=image]):not([type=color]),textarea,select{-webkit-text-fill-color:currentColor!important;caret-color:currentColor!important;opacity:1!important}input::placeholder,textarea::placeholder{opacity:1!important}input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]):not([type=button]):not([type=submit]):not([type=reset]):not([type=image]):not([type=color]),textarea,select{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--erp-text)}input::placeholder,textarea::placeholder{color:var(--erp-placeholder);-webkit-text-fill-color:var(--erp-placeholder)!important}input:disabled,textarea:disabled,select:disabled{color:var(--erp-disabled);-webkit-text-fill-color:currentColor!important}.al-page,.dm-page,.ma-page,.bk-page,.cp-page,.ccl-page,.fd-page{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.al-page input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]):not([type=button]):not([type=submit]):not([type=reset]):not([type=image]):not([type=color]),.al-page textarea,.al-page select,.dm-page input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]):not([type=button]):not([type=submit]):not([type=reset]):not([type=image]):not([type=color]),.dm-page textarea,.dm-page select,.ma-page input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]):not([type=button]):not([type=submit]):not([type=reset]):not([type=image]):not([type=color]),.ma-page textarea,.ma-page select,.bk-page input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]):not([type=button]):not([type=submit]):not([type=reset]):not([type=image]):not([type=color]),.bk-page textarea,.bk-page select,.cp-page input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]):not([type=button]):not([type=submit]):not([type=reset]):not([type=image]):not([type=color]),.cp-page textarea,.cp-page select,.ccl-page input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]):not([type=button]):not([type=submit]):not([type=reset]):not([type=image]):not([type=color]),.ccl-page textarea,.ccl-page select,.fd-page input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]):not([type=button]):not([type=submit]):not([type=reset]):not([type=image]):not([type=color]),.fd-page textarea,.fd-page select,.sd-menu:not(.theme-light) input,.sd-root.theme-dark .sd-trigger{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#f1f5f9!important;-webkit-text-fill-color:currentColor!important;caret-color:currentColor!important}.al-page input::placeholder,.al-page textarea::placeholder,.dm-page input::placeholder,.dm-page textarea::placeholder,.ma-page input::placeholder,.ma-page textarea::placeholder,.bk-page input::placeholder,.bk-page textarea::placeholder,.cp-page input::placeholder,.cp-page textarea::placeholder,.ccl-page input::placeholder,.ccl-page textarea::placeholder,.fd-page input::placeholder,.fd-page textarea::placeholder,.sd-menu:not(.theme-light) input::placeholder{color:#94a3b8!important;-webkit-text-fill-color:#94a3b8!important;opacity:1!important}.al-page input:disabled,.al-page textarea:disabled,.al-page select:disabled,.dm-page input:disabled,.dm-page textarea:disabled,.dm-page select:disabled,.ma-page input:disabled,.ma-page textarea:disabled,.ma-page select:disabled,.bk-page input:disabled,.bk-page textarea:disabled,.bk-page select:disabled,.cp-page input:disabled,.cp-page textarea:disabled,.cp-page select:disabled,.ccl-page input:disabled,.ccl-page textarea:disabled,.ccl-page select:disabled,.fd-page input:disabled,.fd-page textarea:disabled,.fd-page select:disabled{color:#94a3b8!important;-webkit-text-fill-color:currentColor!important}.sd-menu.theme-light input{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#0f172a!important;-webkit-text-fill-color:currentColor!important;caret-color:currentColor!important}.sd-menu.theme-light input::placeholder{color:var(--erp-placeholder)!important;-webkit-text-fill-color:var(--erp-placeholder)!important}.rpt-page .rpt-main input:not([type=checkbox]):not([type=radio]),.rpt-page .rpt-main textarea,.rpt-page .rpt-main select,.rpt-page .rpt-filters input:not([type=checkbox]):not([type=radio]),.rpt-page .rpt-filters textarea,.rpt-page .rpt-filters select,.rpt-page .rpt-engine-filters input:not([type=checkbox]):not([type=radio]),.rpt-page .rpt-engine-filters textarea,.rpt-page .rpt-engine-filters select,.rpt-page .grn-purchase-report input:not([type=checkbox]):not([type=radio]),.rpt-page .grn-purchase-report textarea,.rpt-page .grn-purchase-report select{background-color:var(--erp-surface);--lightningcss-light:initial!important;--lightningcss-dark: !important;color-scheme:light!important;color:var(--erp-text)!important;-webkit-text-fill-color:currentColor!important;caret-color:currentColor!important}.rpt-page .rpt-main input::placeholder,.rpt-page .rpt-main textarea::placeholder,.rpt-page .rpt-filters input::placeholder,.rpt-page .rpt-filters textarea::placeholder,.rpt-page .rpt-engine-filters input::placeholder,.rpt-page .rpt-engine-filters textarea::placeholder,.rpt-page .grn-purchase-report input::placeholder,.rpt-page .grn-purchase-report textarea::placeholder{color:var(--erp-placeholder)!important;-webkit-text-fill-color:var(--erp-placeholder)!important}:root{--erp-label:#1f2937;--erp-text:#111827;--erp-placeholder:#6b7280;--erp-muted:#4b5563;--erp-disabled:#374151;--erp-disabled-bg:#f3f4f6;--erp-border:#d1d5db;--erp-border-focus:#2563eb;--erp-surface:#fff;--erp-surface-muted:#f9fafb;--erp-required:#dc2626;--erp-field-h:40px;--erp-radius:8px;--erp-gap:14px;--erp-label-size:13px;--erp-input-size:14px}.rpt-field,.inv-field,.sales-field,.grn-field,.gtn-field,.cm-field,.sm-field,.wh-field,.bo-field,.pfd-field,.ph-field,.dsr-field,.erp-field,.form-field{flex-direction:column;gap:6px;min-width:0;display:flex;position:relative;overflow:visible}.rpt-field label,.inv-field label,.sales-field label,.grn-field label,.gtn-field label,.cm-field label,.sm-field label,.wh-field label,.bo-field label,.pfd-field label,.ph-field label,.dsr-field label,.erp-field label,.form-field label,.imei-panel label,.imei-available label{font-size:var(--erp-label-size);letter-spacing:.01em;margin:0;font-weight:600;line-height:1.35;display:block;color:var(--erp-label)!important}.rpt-field label .req,.inv-field label .req,.sales-field label .req,.grn-field label .req,.gtn-field label .req,.cm-field label .req,.sm-field label .req,.wh-field label .req,.bo-field label .req,.pfd-field label .req,.ph-field label .req,.erp-field label .req,.form-field label .req,label .required,.required-star{margin-left:2px;font-weight:700;color:var(--erp-required)!important}.rpt-field input:not([type=checkbox]):not([type=radio]),.rpt-field textarea,.rpt-field select,.inv-field input:not([type=checkbox]):not([type=radio]),.inv-field textarea,.inv-field select,.sales-field input:not([type=checkbox]):not([type=radio]),.sales-field textarea,.sales-field select,.grn-field input:not([type=checkbox]):not([type=radio]),.grn-field textarea,.grn-field select,.gtn-field input:not([type=checkbox]):not([type=radio]),.gtn-field textarea,.gtn-field select,.cm-field input:not([type=checkbox]):not([type=radio]),.cm-field textarea,.cm-field select,.sm-field input:not([type=checkbox]):not([type=radio]),.sm-field textarea,.sm-field select,.wh-field input:not([type=checkbox]):not([type=radio]),.wh-field textarea,.wh-field select,.bo-field input:not([type=checkbox]):not([type=radio]),.bo-field textarea,.bo-field select,.pfd-field input:not([type=checkbox]):not([type=radio]),.pfd-field textarea,.pfd-field select,.ph-field input:not([type=checkbox]):not([type=radio]),.ph-field textarea,.ph-field select,.erp-field input:not([type=checkbox]):not([type=radio]),.erp-field textarea,.erp-field select,.form-field input:not([type=checkbox]):not([type=radio]),.form-field textarea,.form-field select,.rpt-engine-filters input:not([type=checkbox]):not([type=radio]),.rpt-engine-filters textarea,.rpt-engine-filters select{box-sizing:border-box;width:100%;min-height:var(--erp-field-h);border:1px solid var(--erp-border);border-radius:var(--erp-radius);font-size:var(--erp-input-size);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;padding:9px 12px;font-family:inherit;line-height:1.35;background:var(--erp-surface)!important;color:var(--erp-text)!important;-webkit-text-fill-color:currentColor!important;caret-color:currentColor!important;opacity:1!important}.rpt-field textarea,.inv-field textarea,.sales-field textarea,.grn-field textarea,.gtn-field textarea,.cm-field textarea,.sm-field textarea,.wh-field textarea,.bo-field textarea,.pfd-field textarea,.ph-field textarea,.erp-field textarea,.form-field textarea{resize:vertical;min-height:72px}.rpt-field input::placeholder,.rpt-field textarea::placeholder,.inv-field input::placeholder,.inv-field textarea::placeholder,.sales-field input::placeholder,.sales-field textarea::placeholder,.grn-field input::placeholder,.grn-field textarea::placeholder,.gtn-field input::placeholder,.gtn-field textarea::placeholder,.cm-field input::placeholder,.cm-field textarea::placeholder,.sm-field input::placeholder,.sm-field textarea::placeholder,.wh-field input::placeholder,.wh-field textarea::placeholder,.bo-field input::placeholder,.bo-field textarea::placeholder,.pfd-field input::placeholder,.pfd-field textarea::placeholder,.ph-field input::placeholder,.ph-field textarea::placeholder,.erp-field input::placeholder,.erp-field textarea::placeholder,.form-field input::placeholder,.form-field textarea::placeholder,.rpt-engine-filters input::placeholder,.rpt-engine-filters textarea::placeholder{color:var(--erp-placeholder)!important;-webkit-text-fill-color:var(--erp-placeholder)!important;opacity:1!important}.rpt-field input:disabled,.rpt-field textarea:disabled,.rpt-field select:disabled,.inv-field input:disabled,.sales-field input:disabled,.grn-field input:disabled,.gtn-field input:disabled,.cm-field input:disabled,.sm-field input:disabled,.wh-field input:disabled,.bo-field input:disabled,.pfd-field input:disabled,.ph-field input:disabled,.erp-field input:disabled,.form-field input:disabled{cursor:not-allowed;background:var(--erp-disabled-bg)!important;color:var(--erp-disabled)!important;-webkit-text-fill-color:currentColor!important;opacity:1!important}.rpt-field input:focus,.rpt-field textarea:focus,.rpt-field select:focus,.inv-field input:focus,.sales-field input:focus,.grn-field input:focus,.gtn-field input:focus,.cm-field input:focus,.sm-field input:focus,.wh-field input:focus,.bo-field input:focus,.pfd-field input:focus,.ph-field input:focus,.erp-field input:focus,.form-field input:focus{border-color:var(--erp-border-focus);outline:none;box-shadow:0 0 0 3px #2563eb26}.rpt-field .erp-select-trigger,.inv-field .erp-select-trigger,.sales-field .erp-select-trigger,.grn-field .erp-select-trigger,.gtn-field .erp-select-trigger,.cm-field .erp-select-trigger,.sm-field .erp-select-trigger,.wh-field .erp-select-trigger,.bo-field .erp-select-trigger,.pfd-field .erp-select-trigger,.ph-field .erp-select-trigger,.erp-field .erp-select-trigger,.form-field .erp-select-trigger,.rpt-engine-filters .erp-select-trigger,.products-filters .erp-select-trigger{min-height:var(--erp-field-h);border-color:var(--erp-border);color:var(--erp-text)!important;background:var(--erp-surface)!important}.rpt-field .erp-select-value.is-placeholder,.inv-field .erp-select-value.is-placeholder,.sales-field .erp-select-value.is-placeholder,.grn-field .erp-select-value.is-placeholder,.gtn-field .erp-select-value.is-placeholder,.cm-field .erp-select-value.is-placeholder,.sm-field .erp-select-value.is-placeholder,.wh-field .erp-select-value.is-placeholder,.bo-field .erp-select-value.is-placeholder,.pfd-field .erp-select-value.is-placeholder,.ph-field .erp-select-value.is-placeholder,.erp-field .erp-select-value.is-placeholder,.form-field .erp-select-value.is-placeholder,.rpt-engine-filters .erp-select-value.is-placeholder,.products-filters .erp-select-value.is-placeholder{color:var(--erp-placeholder)!important}.rpt-field-check label,.grn-imei-check,label.erp-check,.form-check{font-weight:600;color:var(--erp-label)!important}.rpt-main .muted,.rpt-engine .muted,.grn-card .muted,.sales-card .muted,.gtn-card .muted,.cm-card .muted,.wh-card .muted,.grn-purchase-report .muted{color:var(--erp-muted)!important}.rpt-filters,.rpt-engine-filters,.inv-form-grid,.sales-form-grid,.sales-entry-grid,.sales-payment-fields,.grn-form-grid,.grn-entry-grid,.gtn-form-grid,.cm-form-grid,.sm-form-grid,.wh-form-grid,.bo-form-grid,.ph-form-grid,.pfd-grid,.erp-form-grid,.form-grid{gap:var(--erp-gap);z-index:2;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));align-items:start;display:grid;position:relative;overflow:visible!important}@media (width<=768px){.rpt-filters,.rpt-engine-filters,.inv-form-grid,.sales-form-grid,.sales-entry-grid,.sales-payment-fields,.grn-form-grid,.grn-entry-grid,.gtn-form-grid,.cm-form-grid,.sm-form-grid,.wh-form-grid,.bo-form-grid,.ph-form-grid,.pfd-grid,.erp-form-grid,.form-grid{gap:12px;grid-template-columns:1fr!important}.rpt-filters input:not([type=checkbox]):not([type=radio]),.rpt-filters select,.rpt-filters textarea,.inv-form-grid input:not([type=checkbox]):not([type=radio]),.inv-form-grid select,.sales-form-grid input:not([type=checkbox]):not([type=radio]),.sales-form-grid select,.grn-form-grid input:not([type=checkbox]):not([type=radio]),.grn-form-grid select,.bo-form-grid input:not([type=checkbox]):not([type=radio]),.bo-form-grid select,.erp-form-grid input:not([type=checkbox]):not([type=radio]),.erp-form-grid select{box-sizing:border-box;width:100%;min-height:48px}}@media (width<=720px){.rpt-filters,.rpt-engine-filters,.inv-form-grid,.sales-form-grid,.grn-form-grid,.gtn-form-grid,.cm-form-grid,.sm-form-grid,.wh-form-grid,.bo-form-grid,.ph-form-grid,.pfd-grid,.erp-form-grid,.form-grid{grid-template-columns:1fr;gap:12px}.rpt-field label,.inv-field label,.sales-field label,.grn-field label,.gtn-field label,.cm-field label,.sm-field label,.wh-field label,.bo-field label,.pfd-field label{white-space:normal;overflow-wrap:anywhere}}.modal input:not([type=checkbox]):not([type=radio]),.modal textarea,.modal select,.drawer input:not([type=checkbox]):not([type=radio]),.drawer textarea,.drawer select,.pfd-drawer input:not([type=checkbox]):not([type=radio]),.pfd-drawer textarea,.pfd-drawer select,.bo-modal input:not([type=checkbox]):not([type=radio]),.bo-modal textarea,.bo-modal select{color:var(--erp-text)!important;-webkit-text-fill-color:currentColor!important;background:var(--erp-surface)!important}.modal input::placeholder,.modal textarea::placeholder,.drawer input::placeholder,.drawer textarea::placeholder,.pfd-drawer input::placeholder,.pfd-drawer textarea::placeholder,.bo-modal input::placeholder,.bo-modal textarea::placeholder{color:var(--erp-placeholder)!important;-webkit-text-fill-color:var(--erp-placeholder)!important}.modal label,.drawer label,.pfd-drawer label,.bo-modal label{color:var(--erp-label)!important}.sd-root{z-index:1;width:100%;min-width:0;display:block;position:relative}.sd-root.is-open{z-index:25}.sd-trigger{box-sizing:border-box;color:#e2e8f0;text-align:left;cursor:pointer;background:#0f172a;border:1px solid #334155;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;width:100%;min-height:40px;padding:9px 12px;font-family:inherit;font-size:13px;line-height:1.3;transition:border-color .15s,box-shadow .15s,transform .12s;display:flex}.sd-root.theme-light .sd-trigger{color:#111827;background:#fff;border-color:#d1d5db}.sd-trigger:hover:not(:disabled){border-color:#60a5fa}.sd-trigger:focus-visible{outline-offset:1px;outline:2px solid #3b82f6}.sd-root.is-disabled .sd-trigger,.sd-trigger:disabled{opacity:.55;cursor:not-allowed}.sd-value{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.sd-value.is-placeholder{color:#64748b}.sd-root.theme-light .sd-value.is-placeholder{color:#6b7280}.sd-caret{color:#94a3b8;flex-shrink:0;font-size:11px;transition:transform .18s}.sd-root.is-open .sd-caret{transform:rotate(180deg)}.sd-menu{box-sizing:border-box;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;z-index:20000;background:#0b1220;border:1px solid #334155;border-radius:12px;flex-direction:column;animation:.16s sd-pop;display:flex;overflow:hidden;box-shadow:0 18px 40px #00000073}.sd-menu.theme-light{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#fff;border-color:#cbd5e1;box-shadow:0 16px 36px #0f172a29}@keyframes sd-pop{0%{opacity:0;transform:translateY(-4px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.sd-search-wrap{box-sizing:border-box;z-index:2;background:#111827;border-bottom:1px solid #1e293b;flex-shrink:0;align-items:center;gap:8px;min-height:52px;padding:10px;display:flex;position:relative}.sd-menu.theme-light .sd-search-wrap{background:#f8fafc;border-bottom-color:#e2e8f0}.sd-search-ico{color:#94a3b8;flex-shrink:0;font-size:14px;line-height:1}.sd-menu.theme-light .sd-search-ico{color:#64748b}.sd-search{box-sizing:border-box;appearance:none;border:1px solid #475569;border-radius:8px;flex:auto;width:100%;min-width:0;height:auto;min-height:36px;padding:9px 10px;font-family:inherit;font-size:14px;line-height:1.35;color:#f8fafc!important;-webkit-text-fill-color:#f8fafc!important;caret-color:#f8fafc!important;opacity:1!important;visibility:visible!important;background:#0f172a!important}.sd-menu.theme-light .sd-search{border-color:#cbd5e1;color:#0f172a!important;-webkit-text-fill-color:#0f172a!important;caret-color:#0f172a!important;background:#fff!important}.sd-search::placeholder{color:#94a3b8!important;-webkit-text-fill-color:#94a3b8!important;opacity:1!important}.sd-menu.theme-light .sd-search::placeholder{color:#6b7280!important;-webkit-text-fill-color:#6b7280!important;opacity:1!important}.sd-search:focus{outline-offset:0;border-color:#60a5fa;outline:2px solid #3b82f6}.sd-search::-webkit-search-decoration{-webkit-appearance:none;display:none}.sd-search::-webkit-search-cancel-button{-webkit-appearance:none;display:none}.sd-search::-webkit-search-results-button{-webkit-appearance:none;display:none}.sd-search::-webkit-search-results-decoration{-webkit-appearance:none;display:none}.sd-spinner{border:2px solid #334155;border-top-color:#60a5fa;border-radius:50%;flex-shrink:0;width:16px;height:16px;animation:.7s linear infinite sd-spin}@keyframes sd-spin{to{transform:rotate(360deg)}}.sd-options{overscroll-behavior:contain;flex:1;min-height:0;padding:6px;overflow:auto}.sd-option{text-align:left;color:#e2e8f0;cursor:pointer;background:0 0;border:none;border-radius:8px;width:100%;margin-bottom:2px;padding:10px;font-family:inherit;font-size:13px;transition:background .12s;display:block}.sd-menu.theme-light .sd-option{color:#111827}.sd-option:hover,.sd-option.is-active{background:#3b82f62e}.sd-option.is-selected{background:#2563eb47}.sd-option.is-disabled{opacity:.45;cursor:not-allowed}.sd-opt-main{flex-direction:column;gap:4px;display:flex}.sd-opt-title{color:#f8fafc;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;font-weight:650;display:flex}.sd-menu.theme-light .sd-opt-title{color:#0f172a}.sd-opt-sub,.sd-opt-meta{color:#94a3b8;flex-wrap:wrap;gap:6px 12px;font-size:11px;display:flex}.sd-menu.theme-light .sd-opt-sub,.sd-menu.theme-light .sd-opt-meta{color:#64748b}.sd-ico{font-size:14px}.sd-pill{color:#cbd5e1;background:#1e293b;border-radius:999px;align-items:center;padding:1px 8px;font-size:10px;font-weight:700;display:inline-flex}.sd-pill.active{color:#6ee7b7;background:#05966940}.sd-pill.inactive{color:#94a3b8;background:#94a3b833}.sd-pill.danger{color:#fca5a5;background:#dc262640}.sd-mark{color:inherit;background:#facc1559;border-radius:2px;padding:0 1px}.sd-empty{text-align:center;color:#64748b;padding:18px 12px;font-size:13px}.sales-field .sd-trigger,.grn-field .sd-trigger,.gtn-field .sd-trigger,.inv-field .sd-trigger,.cm-field .sd-trigger,.sm-field .sd-trigger,.wh-field .sd-trigger,.rpt-field .sd-trigger,.pfd-field .sd-trigger,.ph-field .sd-trigger,.bo-field .sd-trigger,.products-filters .sd-trigger{color:#e2e8f0;background:#0f172a;border-color:#334155}.rpt-filters,.inv-form-grid,.sales-form-grid,.sales-entry-grid,.grn-form-grid,.grn-entry-grid,.gtn-form-grid,.cm-form-grid,.sm-filters,.sm-form-grid,.wh-form-grid,.al-filters,.dm-filters,.ccl-toolbar,.cp-toolbar,.products-filters,.bo-form-grid,.pfd-grid,.dsr-form,.dsr-line-add{z-index:2;position:relative;overflow:visible!important}.rpt-field:focus-within,.inv-field:focus-within,.sales-field:focus-within,.grn-field:focus-within,.gtn-field:focus-within,.cm-field:focus-within,.sm-field:focus-within,.wh-field:focus-within,.pfd-field:focus-within{z-index:30}.erp-select{z-index:1;width:100%;min-width:0;display:block;position:relative}.erp-select.is-open{z-index:20}.erp-select-trigger{box-sizing:border-box;color:#111827;text-align:left;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;width:100%;min-height:38px;padding:8px 10px;font-family:inherit;font-size:13px;line-height:1.3;display:flex}.erp-select-trigger:hover:not(:disabled){border-color:#93c5fd}.erp-select-trigger:focus-visible{outline-offset:1px;outline:2px solid #2563eb}.erp-select.is-disabled .erp-select-trigger,.erp-select-trigger:disabled{opacity:.55;cursor:not-allowed;background:#f3f4f6}.erp-select-value{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.erp-select-value.is-placeholder{color:#6b7280}.erp-select-caret{color:#6b7280;flex-shrink:0;font-size:11px}.erp-select-menu{box-sizing:border-box;z-index:20000;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#fff;border:1px solid #cbd5e1;border-radius:10px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 12px 28px #0f172a2e}.erp-select-search-wrap{background:#f8fafc;border-bottom:1px solid #e2e8f0;flex-shrink:0;padding:8px}.erp-select-search{box-sizing:border-box;appearance:none;border:1px solid #d1d5db;border-radius:6px;width:100%;min-height:36px;padding:8px 10px;font-family:inherit;font-size:13px;color:#111827!important;-webkit-text-fill-color:#111827!important;caret-color:#111827!important;opacity:1!important;visibility:visible!important;background:#fff!important}.erp-select-search::placeholder{color:#6b7280!important;-webkit-text-fill-color:#6b7280!important;opacity:1!important}.erp-select-search:focus{outline-offset:0;outline:2px solid #2563eb}.erp-select-options{overscroll-behavior:contain;flex:1;min-height:0;padding:4px;overflow:auto}.erp-select-option{text-align:left;color:#111827;cursor:pointer;background:0 0;border:none;border-radius:6px;width:100%;padding:8px 10px;font-family:inherit;font-size:13px;display:block}.erp-select-option:hover,.erp-select-option.is-active{color:#1e3a8a;background:#eff6ff}.erp-select-option.is-selected{font-weight:650}.erp-select-option.is-disabled{opacity:.45;cursor:not-allowed}.erp-select-empty{color:#6b7280;padding:12px 10px;font-size:13px}.al-filters .erp-select-trigger,.dm-filters .erp-select-trigger{color:#e2e8f0;background:#0f172a;border-color:#334155}.al-filters .erp-select-value.is-placeholder,.dm-filters .erp-select-value.is-placeholder{color:#64748b}.al-filters .erp-select-caret,.dm-filters .erp-select-caret{color:#94a3b8}.al-filters .erp-select-search,.dm-filters .erp-select-search{border-color:#475569;color:#f8fafc!important;-webkit-text-fill-color:#f8fafc!important;caret-color:#f8fafc!important;background:#0f172a!important}.al-filters .erp-select-search::placeholder,.dm-filters .erp-select-search::placeholder{color:#94a3b8!important;-webkit-text-fill-color:#94a3b8!important}.rpt-filters,.inv-form-grid,.sales-form-grid,.sales-entry-grid,.sales-payment-fields,.grn-form-grid,.grn-entry-grid,.gtn-form-grid,.cm-form-grid,.sm-filters,.sm-form-grid,.wh-form-grid,.wh-toolbar,.al-filters,.dm-filters,.ccl-toolbar,.cp-toolbar,.products-filters,.products-toolbar,.ph-form-grid,.bo-form-grid,.pfd-grid{z-index:2;position:relative;overflow:visible!important}.rpt-field,.inv-field,.sales-field,.grn-field,.gtn-field,.cm-field,.sm-field,.wh-field,.bo-field,.pfd-field,.ph-field{z-index:1;min-width:0;position:relative;overflow:visible}.rpt-field:focus-within,.inv-field:focus-within,.sales-field:focus-within,.grn-field:focus-within,.gtn-field:focus-within,.cm-field:focus-within,.sm-field:focus-within,.wh-field:focus-within,.bo-field:focus-within,.pfd-field:focus-within,.ph-field:focus-within{z-index:30}.rpt-filters{align-items:end;gap:14px 16px!important}.inv-form-grid,.sales-form-grid,.grn-form-grid,.gtn-form-grid,.cm-form-grid,.sm-form-grid,.wh-form-grid,.bo-form-grid,.ph-form-grid{gap:14px 16px}.al-filters,.dm-filters,.sm-filters,.products-filters{align-items:stretch;gap:12px 14px!important}.gtn-card,.sales-card,.grn-card,.cm-card,.wh-card,.rpt-main{overflow:visible}.inv-table-box,.sales-table-box,.grn-table-box,.cm-table-box,.sm-table-wrap,.wh-table-wrap{z-index:0;position:relative}.products-toolbar,.products-filters{z-index:3;flex-wrap:wrap;align-items:center;gap:12px 14px;margin-bottom:12px;display:flex;position:relative;overflow:visible}.products-filters .erp-select{min-width:160px;max-width:240px}.sidebar{--piyal-red:#eb0303;width:var(--sidebar-w,260px);background:var(--piyal-red);color:#fff;height:100dvh;padding:20px 18px 24px;padding-top:calc(20px + var(--safe-top,0px));box-sizing:border-box;z-index:100;flex-direction:column;transition:transform .22s;display:flex;position:fixed;top:0;left:0;overflow:hidden;box-shadow:4px 0 20px #0003}.sidebar-brand{border-bottom:1px solid #fff3;flex-shrink:0;justify-content:center;align-items:center;margin:0 0 4px;padding:6px 4px 16px;display:flex}.logo{object-fit:contain;image-rendering:auto;width:100%;max-width:196px;height:auto;display:block}.sidebar ul{-webkit-overflow-scrolling:touch;flex:1;max-height:none;margin:0;padding:0;list-style:none;overflow-y:auto}.sidebar li{cursor:pointer;box-sizing:border-box;border-radius:10px;min-height:44px;margin-bottom:6px;padding:12px 15px;transition:all .3s}.sidebar li:hover{color:var(--piyal-red);background:#fff}.sidebar li a{color:inherit;min-height:24px;text-decoration:none;display:block}.sidebar li a.active{color:var(--piyal-red);background:#fff;font-weight:700}.sidebar li:has(>a.active){color:var(--piyal-red);background:#fff;font-weight:700}.sidebar-section{text-transform:uppercase;letter-spacing:.08em;opacity:.75;pointer-events:none;margin-top:8px;cursor:default!important;min-height:0!important;padding:18px 15px 6px!important;font-size:11px!important}.sidebar-section:hover{color:#fff!important;background:0 0!important}.sidebar-user{text-align:center;flex-shrink:0;margin:12px 0 16px;padding:0 6px;font-size:12px;line-height:1.45}.sidebar-user strong{font-size:13px;display:block}.sidebar-user span{opacity:.85;display:block}.sidebar-user .sidebar-branch{opacity:.95;margin-top:4px;font-size:11px;font-weight:600}.sidebar-logout{flex-shrink:0;margin-top:12px}.sidebar-logout button{color:#fff;cursor:pointer;background:0 0;border:1px solid #ffffff59;border-radius:8px;width:100%;min-height:48px;padding:12px;font-weight:600}.sidebar-logout button:hover{color:var(--piyal-red);background:#fff}.sidebar-close-mobile{display:none}@media (width<=1023px){.sidebar{padding-bottom:calc(24px + var(--safe-bottom,0px));transform:translate(-105%)}.sidebar.is-open{transform:translate(0)}.sidebar-close-mobile{top:calc(10px + var(--safe-top,0px));color:#fff;cursor:pointer;z-index:2;background:#00000026;border:1px solid #fff6;border-radius:10px;justify-content:center;align-items:center;width:44px;height:44px;font-size:22px;line-height:1;display:flex;position:absolute;right:10px}.sidebar li{align-items:center;min-height:48px;display:flex}.sidebar li a{width:100%;padding:4px 0}}.topbar{height:var(--topbar-h,70px);margin-left:var(--content-ml,260px);z-index:50;box-sizing:border-box;background:#fff;justify-content:space-between;align-items:center;gap:12px;padding:0 30px;transition:margin-left .2s;display:flex;position:sticky;top:0;box-shadow:0 5px 20px #00000014}.topbar-left{flex:1;align-items:center;gap:12px;min-width:0;display:flex}.topbar-menu-btn{color:#0f172a;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:48px;min-width:48px;height:48px;padding:0;display:none}.topbar-menu-btn span{background:currentColor;width:20px;height:2px;display:block;position:relative}.topbar-menu-btn span:before,.topbar-menu-btn span:after{content:"";background:currentColor;width:20px;height:2px;position:absolute;left:0}.topbar-menu-btn span:before{top:-6px}.topbar-menu-btn span:after{top:6px}.topbar h2{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:1.15rem;overflow:hidden}.topbar-right{color:#64748b;flex-shrink:0;align-items:center;gap:16px;font-size:13px;display:flex}.topbar-date{white-space:nowrap}.topbar-branch{align-items:center;gap:10px;display:flex}.topbar-branch-label{color:#1e293b;text-overflow:ellipsis;white-space:nowrap;max-width:180px;font-size:13px;font-weight:600;overflow:hidden}.topbar-branch-btn{color:#eb0303;cursor:pointer;background:#fff;border:1px solid #eb0303;border-radius:8px;min-height:40px;padding:8px 12px;font-size:12px;font-weight:600}.topbar-branch-btn:hover{color:#fff;background:#eb0303}.topbar-install-btn{color:#1e3a8a;cursor:pointer;background:#eff6ff;border:1px solid #1e3a8a;border-radius:8px;min-height:40px;padding:8px 12px;font-size:12px;font-weight:600}.topbar-modal{z-index:200;background:#02061799;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.topbar-modal-panel{color:#e2e8f0;background:#0f172a;border:1px solid #1e293b;border-radius:14px;width:min(420px,100%);max-height:90vh;padding:16px;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;overflow:auto}.topbar-modal-head{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.topbar-modal-head h3{color:#f8fafc;margin:0;font-size:16px}.topbar-modal-error{color:#fecaca;background:#7f1d1d;border-radius:8px;margin-bottom:10px;padding:8px 10px;font-size:13px}.topbar-branch-list{flex-direction:column;gap:8px;display:flex}.topbar-branch-item{text-align:left;color:#e2e8f0;cursor:pointer;background:#1e293b;border:1px solid #334155;border-radius:10px;flex-direction:column;align-items:flex-start;gap:2px;width:100%;min-height:48px;padding:12px 14px;display:flex}.topbar-branch-item:hover:not(:disabled){border-color:#eb0303}.topbar-branch-item.company{border-color:#3b82f6}.topbar-branch-item strong{font-size:14px}.topbar-branch-item span{opacity:.8;font-size:12px}@media (width<=1023px){.topbar{padding:0 14px;padding-top:var(--safe-top,0px);margin-left:0}.topbar-menu-btn{display:inline-flex}}@media (width<=768px){.topbar h2{font-size:.95rem}.topbar-branch-label,.topbar-date{display:none}.topbar-branch-btn{padding:8px 10px;font-size:11px}}@media (width<=480px){.topbar h2{font-size:.85rem}}.login-page{background:linear-gradient(160deg,#0f172a,#1e3a8a 55%,#0f172a);justify-content:center;align-items:center;min-height:100vh;padding:20px;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;display:flex}.login-card{background:#fff;border-radius:16px;flex-direction:column;gap:14px;width:100%;max-width:400px;padding:32px;display:flex;box-shadow:0 20px 50px #00000059}.login-card h1{color:#1e3a8a;text-align:center;margin:0}.login-card p{text-align:center;color:#6b7280;margin:0 0 8px}.login-card label{color:#1f2937;flex-direction:column;gap:6px;font-size:13px;font-weight:600;display:flex}.login-card input{color:#111827;-webkit-text-fill-color:#111827;caret-color:#111827;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:11px 12px;font-size:14px}.login-card input::placeholder{color:#6b7280;-webkit-text-fill-color:#6b7280;opacity:1}.login-card button{color:#fff;cursor:pointer;background:#1e3a8a;border:none;border-radius:8px;margin-top:8px;padding:12px;font-weight:700}.login-card button:disabled{opacity:.6}.login-error{color:#991b1b;background:#fee2e2;border-radius:8px;padding:10px 12px;font-size:13px}.login-hint{color:#6b7280;margin-top:8px;font-size:12px;line-height:1.5}.login-remember{align-items:center;flex-direction:row!important;gap:8px!important;font-weight:550!important}.login-hint code{background:#f3f4f6;border-radius:4px;padding:1px 6px}.dm-page{color:#e2e8f0;text-align:left;background:radial-gradient(at 0 0,#2563eb24,#0000 45%),linear-gradient(#0b1220 0%,#111827 50%,#0b1220 100%);border-radius:16px;min-height:calc(100vh - 40px);margin:-8px;padding:24px 28px 48px;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif}.dm-header{flex-wrap:wrap;justify-content:space-between;gap:16px;margin-bottom:16px;display:flex}.dm-header h1{color:#f8fafc;margin:0;font-size:26px}.dm-header p{color:#94a3b8;max-width:560px;margin:6px 0 0;font-size:13px}.dm-header-actions{gap:8px;display:flex}.dm-btn{color:#e2e8f0;cursor:pointer;background:#1e293b;border:1px solid #334155;border-radius:8px;padding:8px 12px;font-family:inherit;font-size:13px;font-weight:650}.dm-btn.primary{background:#1e3a8a;border-color:#2563eb}.dm-btn:disabled{opacity:.5;cursor:not-allowed}.dm-alert{border-radius:8px;margin-bottom:12px;padding:10px 12px;font-size:13px}.dm-alert.error{color:#fecaca;background:#b91c1c40;border:1px solid #7f1d1d}.dm-alert.ok{color:#a7f3d0;background:#05966933;border:1px solid #047857}.dm-alert.info{color:#bfdbfe;background:#2563eb26;border:1px solid #1e3a8a}.dm-filters{z-index:5;grid-template-columns:1fr 180px;gap:12px 14px;margin-bottom:12px;display:grid;position:relative;overflow:visible}.dm-filters input,.dm-filters select,.dm-filters .erp-select-trigger,.dm-form input,.dm-form select,.dm-form .erp-select-trigger,.dm-modal-panel input{color:#e2e8f0;box-sizing:border-box;background:#0f172a;border:1px solid #334155;border-radius:8px;width:100%;min-height:38px;padding:8px 10px;font-family:inherit;font-size:13px}.dm-table-wrap{background:#0f172a;border:1px solid #1e293b;border-radius:12px;max-height:calc(100vh - 280px);overflow:auto}.dm-table{border-collapse:collapse;width:100%;font-size:12px}.dm-table th{color:#fff;text-align:left;z-index:1;white-space:nowrap;background:#1e3a8a;padding:9px 8px;position:sticky;top:0}.dm-table td{color:#cbd5e1;vertical-align:middle;border-bottom:1px solid #1e293b;padding:8px}.dm-avatar{object-fit:cover;background:#1e293b;border-radius:50%;width:36px;height:36px}.dm-avatar.placeholder{color:#93c5fd;place-content:center;font-weight:700;display:grid}.dm-chip{border-radius:999px;padding:2px 8px;font-size:11px;font-weight:700;display:inline-block}.dm-chip.ok{color:#6ee7b7;background:#05966940}.dm-chip.bad{color:#fca5a5;background:#b91c1c4d}.dm-wh-list{flex-wrap:wrap;gap:4px;max-width:240px;display:flex}.dm-wh-tag{color:#bfdbfe;background:#2563eb2e;border:1px solid #1e3a8a;border-radius:999px;padding:2px 7px;font-size:11px;font-weight:600;display:inline-block}.dm-wh-multi{flex-direction:column;gap:10px;margin-top:6px;display:flex}.dm-wh-chips{flex-wrap:wrap;gap:6px;min-height:28px;display:flex}.dm-wh-chip{color:#e2e8f0;background:#1e293b;border:1px solid #334155;border-radius:999px;align-items:center;gap:6px;padding:4px 8px;font-size:12px;font-weight:600;display:inline-flex}.dm-wh-remove{color:#94a3b8;cursor:pointer;background:0 0;border:none;padding:0 2px;font-size:16px;line-height:1}.dm-wh-remove:hover{color:#fecaca}.dm-wh-empty{color:#94a3b8;font-size:12px;font-weight:500}.dm-wh-picker{flex-direction:column;gap:6px;display:flex}.dm-wh-picker input[type=search]{color:#e2e8f0;width:100%;font:inherit;background:#0f172a;border:1px solid #334155;border-radius:8px;padding:8px 10px}.dm-wh-options{background:#0f172a;border:1px solid #334155;border-radius:8px;max-height:180px;overflow:auto}.dm-wh-option{text-align:left;color:#e2e8f0;cursor:pointer;width:100%;font:inherit;background:0 0;border:none;border-bottom:1px solid #1e293b;flex-direction:column;align-items:flex-start;gap:2px;padding:8px 10px;display:flex}.dm-wh-option:last-child{border-bottom:none}.dm-wh-option:hover{background:#2563eb26}.dm-wh-option span{color:#94a3b8;font-size:11px}.dm-actions button{color:#e2e8f0;cursor:pointer;background:#1e293b;border:1px solid #334155;border-radius:6px;margin:0 4px 4px 0;padding:4px 8px;font-size:11px}.dm-actions button.danger{background:#7f1d1d;border-color:#b91c1c}.dm-empty{text-align:center;color:#64748b;padding:40px}.dm-modal{z-index:90;background:#020617c7;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.dm-modal-panel{background:#0f172a;border:1px solid #1e293b;border-radius:14px;width:min(760px,100%);max-height:92vh;padding:16px;overflow:auto}.dm-modal-panel.small{width:min(420px,100%)}.dm-modal-head{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.dm-modal-head h3{color:#f8fafc;margin:0}.dm-photo-row{align-items:center;gap:12px;margin-bottom:14px;display:flex}.dm-photo{object-fit:cover;border:1px solid #334155;border-radius:12px;width:88px;height:88px}.dm-photo.placeholder{color:#64748b;background:#020617;place-content:center;font-size:12px;display:grid}.dm-grid{grid-template-columns:1fr 1fr;gap:10px 12px;display:grid}.dm-grid label{color:#94a3b8;flex-direction:column;gap:4px;font-size:12px;display:flex}.dm-grid label.full{grid-column:1/-1}.dm-form-actions{justify-content:flex-end;gap:8px;margin-top:16px;display:flex}@media (width<=700px){.dm-grid,.dm-filters{grid-template-columns:1fr}}.bc-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;margin-bottom:8px;display:grid}.bc-card{text-align:left;color:#e2e8f0;cursor:pointer;background:#1e293b;border:1px solid #334155;border-radius:10px;padding:16px 18px;font-family:inherit}.bc-card:hover{border-color:#2563eb}.bc-card:disabled{opacity:.6;cursor:not-allowed}.bc-card.company{background:#0f172a;border-color:#1e3a8a}.bc-card-label{color:#94a3b8;text-transform:uppercase;letter-spacing:.06em;margin-bottom:6px;font-size:11px}.bc-card-title{color:#f8fafc;font-size:17px;font-weight:700}.bc-card-sub{color:#94a3b8;margin-top:4px;font-size:12px}.bc-summary-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin-bottom:18px;display:grid}.bc-summary-card{background:#0f172a;border:1px solid #1e293b;border-radius:10px;padding:12px 14px}.bc-summary-label{color:#94a3b8;text-transform:uppercase;letter-spacing:.05em;font-size:11px}.bc-summary-value{color:#f8fafc;margin-top:4px;font-size:16px;font-weight:700}.offline-banner{z-index:9999;color:#fecaca;text-align:center;background:#7f1d1d;border-bottom:1px solid #991b1b;padding:8px 12px;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;font-size:13px;position:sticky;top:0}
