.legacy-module-title{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;color:inherit;text-decoration:none}.legacy-module-title b{font:inherit;font-weight:800}.legacy-module-title span{color:#8ba1bf}.module-heading h1{margin:0;padding-left:13px;border-left:4px solid #3b82f6;color:#2875e9;font-size:1.28rem}.module-heading p{margin:9px 0 20px;color:#55709a}.customer-module,.inventory-module{min-width:0;padding:24px;background:#fff;border:1px solid #dce6f2;border-radius:20px}.customer-toolbar,.module-toolbar{display:flex;justify-content:space-between;gap:12px;margin:14px 0 18px}.customer-toolbar>div,.module-toolbar>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.module-toolbar.filters{justify-content:flex-start;flex-wrap:wrap;align-items:flex-end;row-gap:12px}.module-toolbar.filters>label{flex:1 1 150px;min-width:0;max-width:220px}.module-toolbar.filters>label.check{flex:1 1 210px;max-width:280px}.module-toolbar.filters input,.module-toolbar.filters select{width:100%;min-width:0;box-sizing:border-box}.inventory-live-head{flex-wrap:wrap}.biz-analysis-module,.sales-order-query-page{max-width:100%}.customer-toolbar label,.module-toolbar label{display:grid;grid-gap:5px;gap:5px;color:#536b8f;font-size:.75rem;font-weight:700}.adjust-remark textarea,.customer-dialog input,.customer-dialog select,.customer-dialog textarea,.customer-form-section input,.customer-form-section select,.customer-form-section textarea,.customer-toolbar input,.customer-toolbar select,.inventory-adjust-grid input,.inventory-adjust-grid select,.module-toolbar input,.module-toolbar select{min-height:40px;padding:8px 10px;border:1px solid #cbd8e8;border-radius:8px;background:#fff;color:#17345c;font:inherit}.adjust-mode button,.customer-actions a,.customer-actions button,.customer-toolbar button,.module-toolbar button,.primary-action,.purchase-actions button,.secondary{padding:9px 13px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;color:#2563eb;text-decoration:none;font-weight:800;cursor:pointer}.customer-actions .primary,.customer-toolbar .primary,.module-toolbar button,.primary-action,.purchase-actions .primary{border-color:#2563eb;background:#2563eb;color:#fff}.module-toolbar .check{display:flex;align-items:center}.module-toolbar .check input{min-height:auto}.inventory-stats{display:flex;gap:20px;margin:10px 0 14px;color:#60789d}.inventory-stats .warn{color:#be123c}.inventory-stats .good{color:#047857}.customer-table td small,.inventory-table td small{display:block;margin-top:4px;color:#7185a5}.inventory-table td.positive{color:#059669}.inventory-table td.negative{color:#dc2626}.inventory-table tr.below{background:#fff7f7}.inventory-table td.plan{color:#2563eb;font-weight:800}.adjust-mode{display:flex;gap:8px;margin:18px 0}.adjust-mode button.active{background:#10b981;border-color:#10b981;color:#fff}.inventory-adjust-switch{display:flex;gap:8px;margin:0 0 12px}.inventory-adjust-switch button,.stocktake-bulk button,.stocktake-categories button,.stocktake-stage{padding:8px 12px;border:1px solid #cbd8e8;border-radius:8px;background:#fff;color:#23416c;font:inherit;font-weight:700;cursor:pointer}.inventory-adjust-switch button.active,.stocktake-categories button.active{background:#1e293b;border-color:#1e293b;color:#fff}.stocktake-toolbar{display:grid;grid-gap:12px;gap:12px;margin:18px 0}.stocktake-filter-group{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:start;grid-gap:10px;gap:10px}.stocktake-filter-group>span{padding-top:6px;color:#536b8f;font-size:.8rem;font-weight:800}.stocktake-categories{display:flex;flex-wrap:wrap;gap:6px}.stocktake-categories button{border-radius:999px;padding:5px 12px;font-size:.82rem}.stocktake-subcategories button{background:#f8fafc}.stocktake-subcategories button.active{background:#2563eb;border-color:#2563eb;color:#fff}.stocktake-toolbar>label{display:grid;grid-gap:5px;gap:5px;color:#536b8f;font-size:.8rem;font-weight:700}.stocktake-bulk input,.stocktake-count input,.stocktake-toolbar input{min-height:38px;padding:7px 10px;border:1px solid #cbd8e8;border-radius:7px;background:#fff;color:#17345c;font:inherit}.stocktake-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:14px 0}.stocktake-actions>label{display:flex;align-items:center;gap:7px;font-weight:700}.stocktake-actions>span,.stocktake-footer span{color:#60789d;font-size:.82rem}.stocktake-bulk{display:flex;align-items:end;gap:7px}.stocktake-bulk label{display:grid;grid-gap:4px;gap:4px;font-size:.75rem;color:#536b8f}.stocktake-bulk input{width:96px}.stocktake-bulk button,.stocktake-stage{background:#eff6ff;border-color:#bfdbfe;color:#2563eb}.stocktake-bulk button:disabled,.stocktake-stage:disabled{opacity:.5;cursor:not-allowed}.stocktake-list{border:1px solid #dce6f2;border-radius:12px;overflow:hidden}.stocktake-header,.stocktake-row{display:grid;grid-template-columns:54px minmax(260px,1fr) minmax(230px,320px) 90px;align-items:center;grid-gap:10px;gap:10px;padding:12px 14px}.stocktake-header{background:#f1f5f9;color:#334155;font-size:.78rem;font-weight:800}.stocktake-row{border-top:1px solid #e4ebf4}.stocktake-row.staged{background:#f0fdf4}.stocktake-select{display:flex;justify-content:center}.stocktake-product{display:grid;grid-gap:3px;gap:3px}.stocktake-product strong{color:#2563eb}.stocktake-product b{color:#17345c}.stocktake-product small{color:#7185a5;font-size:.75rem}.stocktake-count{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.stocktake-count label{display:flex;align-items:center;gap:4px;font-size:.75rem}.stocktake-count input{width:64px}.stocktake-count small{width:100%;color:#ea580c;font-size:.75rem;font-weight:700}.stocktake-footer{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}.stocktake-module .draft-review p{border-top:1px solid #bbf7d0;padding-top:6px}@media(max-width:760px){.stocktake-header{display:none}.stocktake-row{grid-template-columns:34px 1fr;align-items:start}.stocktake-select{grid-row:1/3}.stocktake-count,.stocktake-stage{grid-column:2}.stocktake-stage{justify-self:start}.stocktake-module .draft-review p{display:grid}.stocktake-bulk{width:100%}}.inventory-adjust-grid{display:grid;grid-template-columns:minmax(260px,1.6fr) minmax(160px,.7fr) auto;grid-gap:8px;gap:8px;align-items:center}.adjust-row{display:contents}.inventory-adjust-grid .delete{border-color:#fecaca;background:#fff1f2;color:#be123c}.adjust-remark{display:grid;grid-gap:6px;gap:6px;margin:18px 0;color:#536b8f;font-weight:700}.adjust-remark textarea,.customer-form-section textarea{min-height:90px;resize:vertical}.customer-table-wrap{overflow:auto;border:1px solid #dce6f2;border-radius:13px}.customer-table{width:100%;min-width:1050px;border-collapse:collapse}.customer-table th{padding:12px;background:#f1f5fb;color:#304969;text-align:left;font-size:.75rem;white-space:nowrap}.customer-table td{padding:12px;border-top:1px solid #e4ebf4;color:#334e72;font-size:.8rem;vertical-align:top}.customer-table tr.highlight{background:#eff6ff}.customer-actions{display:flex;align-items:center;gap:6px;white-space:nowrap}.customer-actions span{color:#8a9bb3}.badge{display:inline-block!important;width:max-content;padding:2px 6px;border-radius:999px;background:#ede9fe;color:#6d28d9!important}.editor-head{display:flex;justify-content:space-between;gap:20px}.editor-head>div{display:flex;gap:10px;align-items:flex-start}.editor-head a{padding:8px;color:#2563eb;text-decoration:none;font-weight:700}.editor-head button{padding:8px 12px;border:1px solid #cbd8e8;border-radius:8px;background:#fff}.customer-form-section{margin:16px 0;padding:18px;border:1px solid #dce6f2;border-radius:13px}.customer-form-section h2{margin:0 0 14px;color:#17345c;font-size:1rem}.customer-form-grid{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));grid-gap:12px;gap:12px}.customer-dialog label,.customer-form-grid label{display:grid;grid-gap:5px;gap:5px;color:#536b8f;font-size:.75rem;font-weight:700}.customer-dialog{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:20px;background:#0f172a70}.customer-dialog>div{width:min(760px,100%);display:grid;grid-template-columns:repeat(2,1fr);grid-gap:12px;gap:12px;padding:24px;border-radius:18px;background:#fff;box-shadow:0 20px 70px #0f172a55}.customer-dialog .wide,.customer-dialog h2{grid-column:1/-1}.follow-content{max-width:360px;white-space:normal}.purchase-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}@media(max-width:1100px){.customer-form-grid{grid-template-columns:repeat(2,1fr)}.legacy-purchase-app #legacy-content{padding:20px}.inventory-live-head{display:block}}@media(max-width:700px){.adjust-row,.customer-form-grid,.inventory-adjust-grid{grid-template-columns:1fr}.adjust-row{display:grid}.customer-dialog>div{grid-template-columns:1fr}.customer-dialog .wide,.customer-dialog h2{grid-column:auto}.customer-toolbar,.editor-head,.module-toolbar{align-items:stretch;flex-direction:column}}.customer-toolbar,.module-toolbar{align-items:flex-end}.table-link{margin:0;padding:0;border:0;background:transparent;color:#2563eb;font:inherit;font-weight:800;cursor:pointer;text-decoration:underline}.table-link.amber{color:#d97706}.table-link.sky{color:#0284c7}.adjust-buttons{display:flex;gap:8px;margin-top:12px}.draft-review{margin:16px 0;padding:14px;border:1px solid #bbf7d0;border-radius:12px;background:#f0fdf4}.draft-review h2{margin:0 0 8px;font-size:1rem;color:#166534}.draft-review p{display:flex;justify-content:space-between;gap:12px;margin:5px 0;color:#365b47}.inventory-detail{width:min(1050px,100%)!important;display:block!important}.dialog-head,.related-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.dialog-head h2,.related-title h2{margin:0}.dialog-head button,.related-card button,.related-title button{padding:7px 11px;border:1px solid #cbd8e8;border-radius:7px;background:#fff;color:#2563eb;font-weight:800;cursor:pointer}.related-section{display:grid;grid-gap:10px;gap:10px}.related-card{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:13px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}.related-card>div{display:grid;grid-gap:4px;gap:4px}.related-card>div:last-child{display:flex;align-items:center;gap:6px}.related-card b{color:#17345c}.related-card b em{margin-left:7px;padding:2px 7px;border-radius:999px;background:#dcfce7;color:#15803d;font-size:.7rem;font-style:normal}.related-card a{color:#2563eb}.related-card small{color:#7185a5}.related-empty{margin:0;color:#8a9bb3}.assets-report-module,.sales-order-query{min-width:0}.assets-kpi-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));grid-gap:12px;gap:12px;margin:16px 0}.assets-kpi-card{display:grid;grid-gap:6px;gap:6px;padding:14px 16px;border:1px solid #dce6f2;border-radius:12px;background:#f8fafc}.assets-kpi-card span{color:#60789d;font-size:.75rem;font-weight:700}.assets-kpi-card b{color:#17345c;font-size:1.05rem}.assets-segment{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 16px}.assets-segment a,.assets-segment button{padding:8px 14px;border:1px solid #cbd8e8;border-radius:999px;background:#fff;color:#475569;font-weight:700;cursor:pointer;text-decoration:none;display:inline-block}.assets-segment a.on,.assets-segment button.on{border-color:#2563eb;background:#eff6ff;color:#2563eb}.sales-order-query-page .module-heading p{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.assets-table-sticky{max-height:min(70vh,720px)}.assets-table-sticky thead th{position:-webkit-sticky;position:sticky;top:0;z-index:1;box-shadow:0 1px 0 #dce6f2}.assets-report-table td.num,.assets-report-table th.num,.sales-query-table td.num{text-align:right;white-space:nowrap}.assets-name-cell{min-width:140px;max-width:280px;white-space:normal;word-break:keep-all}.assets-row-hover:hover{background:#f8fafc}.assets-debug-panel{margin-top:20px;padding:12px;border:1px dashed #cbd8e8;border-radius:10px;color:#64748b;font-size:.8rem}.customer-table tbody tr:hover{background:#f8fafc}.table-skeleton{display:grid;grid-gap:8px;gap:8px;margin:12px 0}.table-skeleton-row{height:36px;border-radius:8px;background:linear-gradient(90deg,#eef2f7 25%,#f8fafc 50%,#eef2f7 75%);background-size:200% 100%;animation:assets-skel 1.2s ease infinite}@keyframes assets-skel{0%{background-position:100% 0}to{background-position:-100% 0}}@media(max-width:700px){.assets-kpi-grid{grid-template-columns:repeat(2,1fr)}.assets-report-table{min-width:720px}}.product-cost-module .module-heading{margin-bottom:16px}.product-cost-panel-head h2{margin:0 0 12px;color:#17345c;font-size:1.05rem}.product-cost-stock-tabs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 16px}.product-cost-stock-tabs button{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 14px;border:1px solid #bfdbfe;border-radius:8px;background:#fff;color:#2563eb;font:inherit;font-weight:800;cursor:pointer}.product-cost-stock-tabs button span{min-width:1.4em;padding:1px 7px;border-radius:999px;background:#eff6ff;color:#2563eb;font-size:.75rem;line-height:1.4;text-align:center}.product-cost-stock-tabs button.on{border-color:#2563eb;background:#2563eb;color:#fff}.product-cost-stock-tabs button.on span{background:rgba(255,255,255,.2);color:#fff}.product-cost-stock-tabs .product-cost-reload{margin-left:auto}.product-cost-module .product-cost-link{color:#2563eb;font-weight:800;text-decoration:none}.product-cost-module .product-cost-link:hover{text-decoration:underline}.section-subtitle{margin:20px 0 10px;font-size:1rem;color:#17345c}.assets-row-test{background:#fff7ed}.customer-form-grid:has(.customer-category-field){align-items:start}.customer-form-grid .customer-category-field{grid-column:auto;min-width:0;display:grid;grid-gap:5px;gap:5px;color:#536b8f;font-size:.75rem;font-weight:700}.customer-category-field small{font-size:inherit;font-weight:400}.customer-form-grid .customer-category-options{display:flex;flex-wrap:wrap;align-items:center;gap:10px;min-width:0}.customer-form-grid label.customer-category-option{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border:1px solid #cbd8e8;border-radius:8px;background:#fff;cursor:pointer;min-width:0;max-width:100%;box-sizing:border-box}.customer-form-grid .customer-category-option input[type=checkbox]{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto;width:17px;height:17px;min-width:17px;min-height:17px;max-width:17px;max-height:17px;flex:0 0 17px;padding:0;margin:0;accent-color:#2563eb}.customer-form-grid .customer-category-option:has(input:checked){background:#eff6ff;border-color:#2563eb;color:#1d4ed8}.customer-form-grid .customer-category-option:focus-within{outline:2px solid #2563eb;outline-offset:2px}.customer-form-grid .customer-status-field{align-self:start;min-width:0}.customer-form-grid .customer-status-field select{height:40px;min-height:40px;box-sizing:border-box}@media(max-width:700px){.customer-form-grid .customer-category-field{grid-column:1/-1}}.customer-category-dropdown{position:relative;min-width:0}.customer-category-dropdown summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:40px;padding:8px 10px;box-sizing:border-box;border:1px solid #cbd8e8;border-radius:8px;background:#fff;color:#17345c;cursor:pointer;list-style:none;overflow-wrap:anywhere}.customer-category-dropdown summary::-webkit-details-marker{display:none}.customer-category-dropdown summary:after{content:"⌄";flex-shrink:0}.customer-category-dropdown summary:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.customer-form-grid .customer-category-dropdown .customer-category-options{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:20;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:6px;gap:6px;padding:8px;background:#fff;border:1px solid #cbd8e8;border-radius:8px;box-shadow:0 8px 20px #17345c20}.customer-form-grid .customer-category-dropdown:not([open]) .customer-category-options{display:none}.biz-analysis-module .module-toolbar.filters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;grid-gap:12px;gap:12px;padding:14px 16px;margin:16px 0 20px;border:1px solid #d7e3f2;border-radius:14px;background:linear-gradient(180deg,#fbfdff,#f4f8fd)}.biz-analysis-module .module-toolbar.filters .check{grid-column:1/span 3;align-self:center;gap:7px;color:#425f86}.biz-analysis-module .module-toolbar.filters .check input{width:16px;height:16px;accent-color:#2563eb}.biz-analysis-module .analysis-actions{grid-column:4/-1;display:flex;justify-content:flex-end;align-items:center;gap:10px}.biz-analysis-module .analysis-export-button,.biz-analysis-module .analysis-query-button{min-height:40px;padding:9px 18px;border-radius:10px;font-weight:800;letter-spacing:.01em;text-decoration:none;transition:transform .15s ease,box-shadow .15s ease,background .15s ease}.biz-analysis-module .analysis-query-button{border:1px solid #2563eb;background:linear-gradient(135deg,#2563eb,#3b82f6);color:#fff;box-shadow:0 4px 10px #2563eb2b;cursor:pointer}.biz-analysis-module .analysis-export-button{border:1px solid #b7d9cf;background:#ecfdf5;color:#047857;box-shadow:0 2px 6px #04785714}.biz-analysis-module .analysis-export-button:hover,.biz-analysis-module .analysis-query-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 14px #17345c20}.biz-analysis-module .analysis-query-button:disabled{opacity:.65;cursor:wait}.biz-analysis-module .analysis-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:22px 0 10px}.biz-analysis-module .analysis-section-head .section-subtitle{margin:0}.biz-analysis-module .analysis-section-controls{display:flex;align-items:center;gap:10px}.biz-analysis-module .analysis-section-controls label{display:flex;align-items:center;gap:6px;color:#60789d;font-size:.8rem;font-weight:700}.biz-analysis-module .analysis-section-controls select{min-height:36px;padding:7px 28px 7px 10px;border:1px solid #cbd8e8;border-radius:8px;background:#fff;color:#17345c;font-weight:700}@media(max-width:700px){.biz-analysis-module .analysis-section-head{align-items:stretch;flex-direction:column}.biz-analysis-module .analysis-section-controls{flex-wrap:wrap}}@media(max-width:980px){.biz-analysis-module .module-toolbar.filters{grid-template-columns:repeat(3,minmax(0,1fr))}.biz-analysis-module .module-toolbar.filters .check{grid-column:1/span 2}.biz-analysis-module .analysis-actions{grid-column:3;justify-content:flex-end}}@media(max-width:640px){.biz-analysis-module .module-toolbar.filters{grid-template-columns:1fr}.biz-analysis-module .analysis-actions,.biz-analysis-module .module-toolbar.filters .check{grid-column:auto}.biz-analysis-module .analysis-actions{justify-content:stretch}.biz-analysis-module .analysis-actions>*{flex:1 1;text-align:center}}.customer-dialog .sales-catalog-dialog{width:min(1080px,100%);max-height:calc(100vh - 48px);overflow:auto;display:block}.customer-dialog .sales-catalog-bulkbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0;padding:10px 12px;border:1px solid #dbe7f5;border-radius:10px;background:#f8fafc}.customer-dialog .sales-catalog-bulkbar label{display:inline-flex;align-items:center;gap:8px;margin:0;color:#17345c;font-size:14px;font-weight:700;white-space:nowrap}.customer-dialog .sales-catalog-bulkbar span{color:#64748b;font-size:13px}.customer-dialog .sales-catalog-dialog input[type=checkbox]{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto;width:16px;height:16px;min-width:16px;max-width:16px;min-height:16px;max-height:16px;flex:0 0 16px;margin:0;padding:0;border:0;border-radius:3px;accent-color:#2563eb}.customer-dialog .sales-catalog-bulkbar button.primary{margin-left:auto;padding:9px 14px;border:1px solid #2563eb;border-radius:8px;background:#2563eb;color:#fff;font:inherit;font-weight:800;cursor:pointer;white-space:nowrap}.fulfillment-modal-backdrop{position:fixed;inset:0;z-index:70;display:grid;place-items:center;padding:24px;background:#0f172a70}.fulfillment-modal{display:flex;flex-direction:column;width:min(1080px,100%);max-height:calc(100vh - 48px);overflow:hidden;border-radius:16px;background:#fff;box-shadow:0 24px 70px #0f172a55}.fulfillment-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid #dce6f2}.fulfillment-modal-header h2{margin:0;color:#17345c;font-size:20px}.fulfillment-modal-header p{margin:4px 0 0;color:#7185a5;font-size:13px}.fulfillment-modal-header-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.fulfillment-modal-body{overflow:auto;padding:16px 20px 24px}.fulfillment-modal .fulfillment-logistics-grid{grid-template-columns:minmax(150px,1.4fr) repeat(3,minmax(88px,.7fr))}.fulfillment-modal .fulfillment-logistics-note{grid-column:1/-1}.so-customer-control{display:flex;align-items:stretch;gap:8px;min-width:0}.so-customer-control input{flex:1 1 auto;min-width:0}.so-customer-control button{flex:0 0 auto;padding:8px 14px;border:1px solid #059669;border-radius:8px;background:#059669;color:#fff;font:inherit;font-weight:800;cursor:pointer;white-space:nowrap}.so-customer-control button:hover:not(:disabled){border-color:#047857;background:#047857}.so-customer-control button:disabled{opacity:.6;cursor:not-allowed}.customer-dialog .so-customer-picker{display:flex;width:min(720px,100%);max-height:calc(100vh - 48px);overflow:hidden;flex-direction:column;gap:12px;padding:20px;border-radius:16px;background:#fff;box-shadow:0 20px 70px #0f172a55}.so-customer-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,200px);grid-gap:10px;gap:10px}.so-customer-results{min-height:0;overflow-y:auto;padding-right:4px;overscroll-behavior:contain}.so-customer-results .related-card:last-child{margin-bottom:0}.sales-editor-lines .sales-line-qty{-moz-appearance:textfield}.sales-editor-lines .sales-line-qty::-webkit-inner-spin-button,.sales-editor-lines .sales-line-qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.customer-dialog .sales-confirm-dialog{display:block;width:min(960px,100%);max-height:calc(100vh - 48px);overflow:auto;margin:0;padding:24px}.sales-stock-result{margin:14px 0;padding:14px 16px;border:1px solid;border-radius:10px;font-size:17px}.sales-stock-result.ok{border-color:#86efac;background:#ecfdf5;color:#047857}.sales-stock-result.short{border-color:#fca5a5;background:#fef2f2;color:#b91c1c}@media(max-width:640px){.so-customer-filters{grid-template-columns:1fr}.so-customer-control{flex-wrap:wrap}.so-customer-control button{width:100%}}.so-order-parser textarea{display:block;width:100%;min-height:150px;box-sizing:border-box;padding:12px 14px;border:1px solid #cbd8e8;border-radius:10px;resize:vertical;font:inherit;line-height:1.55}.customer-dialog .sales-catalog-dialog{width:min(1180px,calc(100vw - 48px))!important;box-sizing:border-box;overflow-x:hidden}.sales-catalog-table-wrap{width:100%;overflow-x:hidden}.sales-catalog-table{width:100%;min-width:0;table-layout:fixed}.sales-catalog-table td,.sales-catalog-table th{box-sizing:border-box;overflow-wrap:anywhere}.sales-catalog-table th:first-child{width:7%}.sales-catalog-table th:nth-child(2){width:15%}.sales-catalog-table th:nth-child(3){width:14%}.sales-catalog-table th:nth-child(4){width:38%}.sales-catalog-table th:nth-child(5),.sales-catalog-table th:nth-child(6){width:9%}.sales-catalog-table th:nth-child(7){width:8%}.sales-catalog-table td:nth-child(5),.sales-catalog-table td:nth-child(6),.sales-catalog-table td:nth-child(7){white-space:nowrap}.sales-confirm-table-wrap{width:100%;overflow:visible}.sales-confirm-table{width:100%;min-width:0;table-layout:fixed}.sales-confirm-table td,.sales-confirm-table th{box-sizing:border-box;padding:10px 7px;font-size:12px;white-space:normal;overflow-wrap:anywhere}.sales-confirm-table th:first-child{width:4%}.sales-confirm-table th:nth-child(2){width:13%}.sales-confirm-table th:nth-child(3){width:25%}.sales-confirm-table th:nth-child(4),.sales-confirm-table th:nth-child(5),.sales-confirm-table th:nth-child(6),.sales-confirm-table th:nth-child(7),.sales-confirm-table th:nth-child(8){width:9%}.sales-confirm-table th:nth-child(9){width:10%}.sales-confirm-product-name{line-height:1.4}.sales-order-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;color:#60789d;font-size:13px}.sales-order-pager>div{display:flex;gap:8px}.sales-order-pager button{padding:7px 12px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;color:#2563eb;font:inherit;font-weight:800;cursor:pointer}.sales-order-pager button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:640px){.customer-dialog .sales-catalog-dialog{width:calc(100vw - 24px)!important}.sales-order-pager{align-items:stretch;flex-direction:column}.sales-order-pager>div button{flex:1 1}}.product-module{max-width:1600px;margin:0 auto}.product-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:18px}.product-editor,.product-list{padding:20px;margin-bottom:18px;border:1px solid #dce6f2;border-radius:14px;background:#fff}.product-section-title{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:16px}.product-section-title h2{margin:0;color:#17345c;font-size:20px}.product-section-title p{margin:5px 0 0;color:#7185a5;font-size:12px}.product-actions,.product-filters,.product-section-title>div:last-child{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.product-actions button,.product-bulk-tools button,.product-filters button,.product-section-title button{padding:9px 13px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;color:#2563eb;font-weight:700}.product-bulk-tools button.primary,.product-section-title button.primary,.product-section-title button.success{border-color:#10b981;background:#10b981;color:#fff}.product-bulk-tools button:disabled,.product-section-title button:disabled{opacity:.55}.product-form-grid{display:grid;grid-template-columns:repeat(6,minmax(150px,1fr));grid-gap:13px;gap:13px}.product-field{display:grid;align-content:start;grid-gap:6px;gap:6px;color:#55709a;font-size:12px;font-weight:700}.product-bulk-tools input,.product-field input,.product-field select,.product-filters input,.product-filters select{width:100%;min-width:0;border:1px solid #cbd5e1;border-radius:8px;background:#fff;padding:10px 11px;color:#17345c;font-family:inherit}.product-field input:disabled{background:#f1f5f9;color:#64748b}.product-field small{color:#94a3b8;font-weight:500}.product-filters input{width:250px}.product-filters select{width:145px}.product-bulk-tools{display:grid;grid-template-columns:auto minmax(180px,1fr) minmax(180px,1fr) auto;grid-gap:10px;gap:10px;align-items:center;margin:0 0 14px;padding:12px;border:1px solid #dbeafe;border-radius:10px;background:#f8fbff;color:#334e72}.product-table-wrap{overflow:auto;border:1px solid #dce6f2;border-radius:11px}.product-table{width:100%;min-width:1710px;border-collapse:collapse}.product-table th{padding:12px;background:#f1f5f9;color:#334e72;text-align:left;font-size:12px;white-space:nowrap}.product-table td{padding:11px 12px;border-top:1px solid #e5edf7;color:#334e72;font-size:12px;vertical-align:top}.product-table td small{display:block;margin-top:4px;color:#8ba1bf}.product-table .mono{font-family:Consolas,monospace;color:#1d4ed8;font-weight:700}.product-table .empty{text-align:center;padding:36px;color:#7185a5}.product-actions{white-space:nowrap}.product-actions button{padding:6px 9px}.product-actions .danger-button{border-color:#fecaca;background:#fff1f2;color:#be123c}.product-actions .success-button{border-color:#bbf7d0;background:#ecfdf5;color:#047857}@media(max-width:1300px){.product-form-grid{grid-template-columns:repeat(4,minmax(150px,1fr))}}@media(max-width:950px){.product-heading,.product-section-title{align-items:flex-start;flex-direction:column}.product-form-grid{grid-template-columns:repeat(2,minmax(140px,1fr))}.product-bulk-tools{grid-template-columns:1fr 1fr}}@media(max-width:560px){.product-bulk-tools,.product-form-grid{grid-template-columns:1fr}.product-filters input,.product-filters select{width:100%}}.product-module .product-form-grid{grid-template-columns:repeat(7,minmax(130px,1fr));gap:12px}.product-module .product-section-title>div:last-child{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.product-module .product-section-title button{box-shadow:none}.product-module .product-section-title button.download-button{background:#3b82f6;border-color:#3b82f6;color:#fff}.product-module .product-section-title button.success-button{background:#10b981;border-color:#10b981;color:#fff}.product-module .product-section-title button.sync-button{background:#ef4444;border-color:#ef4444;color:#fff}.product-module .product-section-title button.save-button{background:#10b981;border-color:#10b981;color:#fff}.product-module .product-section-title button.clear-button{background:#1e293b;border-color:#1e293b;color:#fff}.product-module .product-editor>.product-section-title>div:last-child button:first-of-type{background:#3b82f6;border-color:#3b82f6;color:#fff}.product-module .product-editor>.product-section-title>div:last-child button:nth-of-type(2){background:#10b981;border-color:#10b981;color:#fff}.product-module .product-editor>.product-section-title>div:last-child button:nth-of-type(3){background:#1e293b;border-color:#1e293b;color:#fff}.product-module .product-editor>.product-section-title>div:last-child button:nth-of-type(4){background:#10b981;border-color:#10b981;color:#fff}.product-module .product-extra-actions{display:flex;justify-content:flex-end;margin:8px 0}.product-module .product-extra-actions button{background:#ef4444;border-color:#ef4444;color:#fff}.product-module{max-width:none;padding:16px 20px;background:#f8fafc}.product-main-card{width:100%;padding:20px 22px;background:#fff;border:1px solid #dce6f2;border-radius:14px;box-shadow:0 2px 10px rgba(15,23,42,.06)}.product-module>.product-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.product-module>.product-heading h1{margin:0;color:#3b82f6;font-size:22px}.product-header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.product-header-actions button{padding:9px 13px;border:1px solid #bfdbfe;border-radius:8px;background:#3b82f6;color:#fff;font-weight:700}.product-header-actions button:nth-child(2),.product-header-actions button:nth-child(4){background:#10b981;border-color:#10b981}.product-header-actions button:nth-child(3){background:#ef4444;border-color:#ef4444}.product-header-actions button:nth-child(5){background:#1e293b;border-color:#1e293b}.product-module>.product-editor,.product-module>.product-list{padding:0;border:0;border-radius:0;background:transparent;margin-bottom:20px}.product-module>.product-editor>.product-section-title>div:first-child,.product-module>.product-editor>.product-section-title>div:last-child{display:none}.product-module>.product-editor>.product-section-title{margin:0 0 14px}.product-module>.product-editor>.product-section-title:before{content:" "}.product-module>.product-editor>.product-section-title{border-left:4px solid #3b82f6;padding-left:12px;margin-bottom:14px}.product-module>.product-editor>.product-section-title:before{content:"產品主檔管理";color:#3b82f6;font-size:20px;font-weight:800;margin-right:auto}.product-module>.product-editor>.product-extra-actions{display:flex;justify-content:flex-end;margin:0 0 8px}.product-module>.product-editor>.product-extra-actions+.product-form-grid{border-top:1px solid #e5edf7;padding-top:16px}.product-module>.product-editor>.product-form-grid{grid-template-columns:repeat(7,minmax(120px,1fr));gap:12px}.product-advanced-fields{grid-column:1/-1;margin-top:4px;border-top:1px solid #e5edf7;padding-top:8px;color:#55709a;font-size:12px;font-weight:700}.product-advanced-fields summary{cursor:pointer;padding:4px 0}.product-advanced-grid{display:grid;grid-template-columns:repeat(7,minmax(120px,1fr));grid-gap:12px;gap:12px;padding-top:10px}.product-module>.product-list{border-top:1px solid #dce6f2;padding-top:18px}.product-module>.product-list .product-bulk-tools{justify-content:flex-end}.product-module>.product-list .product-bulk-tools button.primary,.product-module>.product-list .product-bulk-tools input,.product-module>.product-list .product-bulk-tools strong{display:none}.product-module>.product-list>.product-section-title{margin-bottom:10px}.product-module>.product-list .product-list-toolbar,.product-module>.product-list>.product-section-title>div:last-child{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}.product-module>.product-list .product-list-toolbar>button{padding:8px 12px;white-space:nowrap}.product-module>.product-list .product-list-toolbar>button:first-child{background:#10b981;border-color:#10b981;color:#fff}.product-module>.product-list>.product-section-title>div:first-child p{display:none}.product-module>.product-list>.product-bulk-tools{margin:0 0 10px;display:flex;justify-content:flex-end;gap:8px}.product-module>.product-list>.product-bulk-tools button{padding:8px 12px;white-space:nowrap}.product-module>.product-list>.product-bulk-tools button:first-child{background:#10b981;border-color:#10b981;color:#fff}.product-module .product-table{min-width:1500px;table-layout:auto}.product-module .product-table th{height:34px;padding:8px 9px;font-size:11px}.product-module .product-table td{height:38px;padding:7px 9px;font-size:11px;white-space:nowrap}.product-module .product-table td small{font-size:10px;margin-top:2px}.product-module .product-stock-cost{display:grid;grid-gap:1px;gap:1px;white-space:nowrap;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.product-module .product-stock-cost small{margin:0;color:#64748b}.product-module .product-actions{gap:4px}.product-module .product-actions button{padding:5px 8px;font-size:11px}.product-module .product-filters input{width:240px;padding:9px 10px}.product-module .product-filters select{width:135px;padding:9px 10px}.product-gas-notice{margin-bottom:16px;padding:12px 14px;border:1px solid #f5d77a;border-radius:10px;background:#fffbeb;color:#92400e;font-size:13px}.product-inline-field{display:flex;gap:6px;align-items:center}.product-inline-field input{flex:1 1;min-width:0}.product-inline-field select{width:72px;padding:10px 6px}.product-module .module-heading{align-items:center;margin-bottom:16px}.product-module .module-heading h1{font-size:22px}.product-module .product-editor,.product-module .product-list{padding:18px;border-radius:12px}.product-module .product-section-title{align-items:center;margin-bottom:14px}.product-module .product-section-title h2{font-size:19px}.product-module .product-form-grid{background:#fff}.product-module .product-table th{background:#f1f5f9;text-align:center}.product-module .product-table td{text-align:center;vertical-align:middle}.product-module .product-table td:nth-child(3),.product-module .product-table td:nth-child(4){text-align:left}.product-module .product-bulk-tools{background:transparent;border:0;padding:0;display:flex;justify-content:flex-end;align-items:center}@media(max-width:1300px){.product-module .product-form-grid{grid-template-columns:repeat(5,minmax(130px,1fr))}}@media(max-width:950px){.product-module .product-form-grid{grid-template-columns:repeat(3,minmax(130px,1fr))}}.product-module>.product-main-card{padding:22px 24px}.product-module>.product-main-card>.product-heading{margin-bottom:14px}.product-module>.product-main-card>.product-editor,.product-module>.product-main-card>.product-list{padding:0;border:0;border-radius:0;background:transparent}.product-module>.product-main-card>.product-editor{margin-bottom:20px}.product-module>.product-main-card>.product-editor>.product-form-grid{grid-template-columns:repeat(8,minmax(110px,1fr));gap:12px}.product-module>.product-main-card>.product-editor>.product-advanced-fields{grid-column:1/-1}.product-module>.product-main-card>.product-list{border-top:1px solid #dce6f2;padding-top:18px}.product-module>.product-main-card>.product-list>.product-bulk-tools{display:none}.product-module .product-header-actions button{white-space:nowrap}@media(max-width:1300px){.product-module>.product-main-card>.product-editor>.product-form-grid{grid-template-columns:repeat(4,minmax(130px,1fr))}}@media(max-width:950px){.product-module>.product-main-card>.product-editor>.product-form-grid{grid-template-columns:repeat(2,minmax(140px,1fr))}}.product-modal input,.product-modal select{height:32px}.company-switch{display:flex;gap:8px}.company-switch a{padding:7px 14px;border:1px solid #bfdbfe;border-radius:8px;color:#2563eb;text-decoration:none;font-weight:700}.company-switch a.active{background:#10b981;border-color:#10b981;color:#fff}.company-context{align-items:center}.company-context>span{font-size:18px;line-height:1.4;color:#17345c}.company-context .company-switch a{padding:2px 8px;font-size:12px;line-height:1.35;font-weight:650}.company-edit-dialog{position:fixed;inset:0;display:grid;place-items:center;background:rgba(15,23,42,.35);z-index:30}.company-edit-dialog>div{width:min(420px,calc(100% - 32px));background:#fff;border-radius:12px;padding:18px;display:grid;grid-gap:12px;gap:12px}.company-edit-dialog p{margin:0;font-size:16px;font-weight:700;color:#17345c}.company-edit-dialog button{justify-self:start}.category-row{cursor:pointer}.category-row.selected{background:#eff6ff}.category-list .category-row small{display:block;margin-top:5px;color:#7185a5}.subcategory-add{margin-top:18px;border-top:1px solid #e5edf7;padding-top:18px}.subcategory-add h2{margin:0 0 10px;color:#17345c;font-size:18px}.subcategory-add>div{gap:10px}.subcategory-add input{flex:1 1;border:1px solid #cbd5e1;border-radius:8px;padding:9px 11px}.subcategory-add button{border:1px solid #3b82f6;border-radius:8px;background:#3b82f6;color:#fff;font-weight:700;padding:9px 14px}.category-module{max-width:none}.category-card{max-width:none;width:100%;box-sizing:border-box}.category-notice{margin:0 0 16px;padding:10px 12px;border:1px solid #bbf7d0;border-radius:8px;background:#ecfdf5;color:#047857;font-weight:700}.product-add-button{display:block;margin:0 0 12px auto}.product-modal-backdrop{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:24px;background:rgba(15,23,42,.38)}.product-modal{width:min(1180px,calc(100vw - 48px));max-height:calc(100vh - 48px);overflow:auto;padding:24px!important;border:1px solid #dce6f2!important;border-radius:14px!important;background:#fff!important;box-shadow:0 20px 60px rgba(15,23,42,.25)!important}.product-modal-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.product-modal-heading h2{margin:0;color:#17345c;font-size:20px}.product-modal-heading button{border:0;background:transparent;color:#64748b;font-size:28px;cursor:pointer}.product-modal .product-form-grid{grid-template-columns:repeat(7,minmax(120px,1fr))!important}.product-modal .product-advanced-fields{grid-column:1/-1}.category-product-module{max-width:none!important;padding:16px 20px!important;background:#f8fafc!important}.category-product-module>.product-main-card{width:100%;max-width:none;box-sizing:border-box;padding:22px 24px}.category-product-module .product-heading{margin-bottom:14px}.category-content{border-top:1px solid #dce6f2;padding-top:18px}.category-add{margin:0 0 16px}.category-add input{height:38px;box-sizing:border-box;padding:7px 10px}.category-add button,.subcategory-add button{height:38px;border:1px solid #10b981;border-radius:8px;background:#10b981;color:#fff;padding:0 15px;font-weight:700;cursor:pointer}.category-table{overflow:hidden;border:1px solid #dce6f2;border-radius:10px}.category-table-head,.category-table-row{display:grid;grid-template-columns:1fr 2fr 90px;align-items:center;grid-gap:12px;gap:12px;padding:10px 14px}.category-table-head{background:#f1f5f9;color:#334e72;font-size:12px;font-weight:800}.category-table-row{border-top:1px solid #e5edf7;color:#334e72;font-size:13px;cursor:pointer}.category-table-row.selected{background:#eff6ff}.category-table-row button{justify-self:end;border:1px solid #fecaca;border-radius:7px;background:#fff1f2;color:#dc2626;padding:5px 9px}.category-empty{margin:0;padding:18px;color:#7185a5}.category-notice{margin:0 0 14px}.subcategory-add{margin-top:16px;padding-top:16px}.subcategory-add>div{display:flex}.subcategory-add input{height:38px;box-sizing:border-box}.product-modal .product-field{gap:3px;font-size:11px}.product-modal .product-field small{font-size:10px}.product-add-button{padding:9px 14px;border:1px solid #3b82f6;border-radius:8px;background:#3b82f6;color:#fff;font-weight:700}.product-module .product-filters{display:grid;grid-template-columns:minmax(210px,1.5fr) minmax(120px,.8fr) minmax(120px,.8fr) minmax(110px,.7fr) auto;width:min(100%,780px)}.product-module .product-filters input,.product-module .product-filters select{width:100%}.product-module .product-table-wrap{overflow-x:hidden}.product-module .product-table-compact td,.product-module .product-table-compact th{padding:7px 6px;white-space:normal;line-height:1.3;overflow-wrap:anywhere}.product-module .product-table-compact td:first-child,.product-module .product-table-compact th:first-child{width:36px}.product-module .product-table-compact td:nth-child(3),.product-module .product-table-compact th:nth-child(3){width:112px}.product-module .product-table-compact td:nth-child(4),.product-module .product-table-compact th:nth-child(4){width:72px}.product-module .product-table-compact td:nth-child(5),.product-module .product-table-compact th:nth-child(5){width:128px}.product-module .product-table-compact td:nth-child(6),.product-module .product-table-compact th:nth-child(6){width:110px}.product-module .product-table-compact td:nth-child(7),.product-module .product-table-compact th:nth-child(7){width:120px}.product-module .product-table-compact td:nth-child(8),.product-module .product-table-compact th:nth-child(8){width:112px}.product-module .product-table-compact td:nth-child(9),.product-module .product-table-compact th:nth-child(9){width:94px}.product-module .product-table-compact td:nth-child(10),.product-module .product-table-compact th:nth-child(10){width:164px}.product-module .product-table-compact .product-identity>b{margin-top:3px}.product-module .product-table-compact .product-actions{display:flex;justify-content:center;gap:4px;flex-wrap:wrap}.product-module .product-table-compact .product-actions button{padding:5px 7px;font-size:11px}.product-module .product-table-compact .product-actions .delete-button{border-color:#ef4444;background:#ef4444;color:#fff}@media(max-width:1200px){.product-module .product-filters{grid-template-columns:1fr 1fr 1fr}.product-module .product-filters input{grid-column:1/-1}.product-module .product-table-compact td:nth-child(5),.product-module .product-table-compact th:nth-child(5){display:none}}.product-modal input,.product-modal select{padding:7px 9px!important;height:38px}.product-modal .product-field{gap:4px}.product-modal .product-field small{font-size:11px}.product-modal-heading button{line-height:1}.category-module{padding:16px 20px;background:#f8fafc}.category-card{background:#fff;border:1px solid #dce6f2;border-radius:14px;padding:24px;max-width:1000px}.category-card header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e5edf7;padding-bottom:18px}.category-card h1{margin:0;color:#2563eb;font-size:22px}.category-card p{color:#7185a5;font-size:13px}.category-card header span{color:#047857;font-weight:700}.category-add{display:flex;gap:10px;margin:22px 0}.category-add input{flex:1 1;border:1px solid #cbd5e1;border-radius:8px;padding:10px 12px}.category-add button{padding:9px 14px;border-radius:8px;border:1px solid #10b981;background:#10b981;color:#fff;font-weight:700}.category-list{border:1px solid #dce6f2;border-radius:10px;overflow:hidden}.category-list>div{display:flex;justify-content:space-between;align-items:center;padding:11px 14px;border-bottom:1px solid #e5edf7}.category-list>div:last-child{border-bottom:0}.category-list p{padding:16px;margin:0}.category-list .danger-button{border:1px solid #fecaca;border-radius:7px;background:#fff1f2;color:#dc2626;padding:5px 9px}.product-modal input,.product-modal select{height:32px!important;padding:5px 8px!important}.category-product-module .category-add{margin:0 0 16px}.category-product-module .category-add input{height:38px;padding:7px 10px}.category-product-module .category-add button{height:38px;padding:0 15px}.product-module{color:#0f172a;font-family:Microsoft YaHei,Microsoft YaHei UI,Microsoft JhengHei,Noto Sans TC,Arial,sans-serif}.product-module>.product-main-card{border-color:#e2e8f0;border-radius:12px;box-shadow:0 1px 2px rgba(15,23,42,.04);background:#fff}.product-module>.product-main-card>.product-heading h1{color:#0f172a;font-size:24px;font-weight:700}.product-module .product-header-actions button{border:1px solid #cbd5e1!important;border-radius:8px;background:#fff!important;color:#334155!important;box-shadow:none!important}.product-module .product-header-actions .import-button,.product-module .product-header-actions .save-button{border-color:#2563eb!important;background:#2563eb!important;color:#fff!important}.product-module .product-header-actions .clear-button{background:#f8fafc!important}.product-module .product-list{border-top-color:#e2e8f0}.product-module .product-section-title h2{color:#0f172a;font-size:24px;font-weight:700}.product-module .product-section-title p{display:block!important;font-size:13px;font-weight:400}.product-module .product-list-toolbar{gap:8px}.product-module .product-list-toolbar>button{height:40px;border-radius:8px}.product-module .product-list-toolbar>.batch-calc-button{background:#2563eb!important;border-color:#2563eb!important;color:#fff!important}.product-module .product-list-toolbar>.landed-calc-button{background:#fff!important;border-color:#cbd5e1!important;color:#475569!important}.product-module .product-filters input,.product-module .product-filters select{height:40px;padding:8px 10px;border-color:#cbd5e1;border-radius:8px;color:#334155;background:#fff}.product-module .product-filters .reload-button{height:40px;border-color:#cbd5e1!important;border-radius:8px;background:#fff!important;color:#475569!important}.product-module .product-table-wrap{border:1px solid #e2e8f0;border-radius:10px;box-shadow:none}.product-module .product-table.product-table-compact{min-width:1180px}.product-module .product-table-compact thead th{background:#f8fafc;color:#475569;font-size:13px;font-weight:600;text-align:left;border-bottom:1px solid #e2e8f0}.product-module .product-table-compact tbody tr{background:#fff}.product-module .product-table-compact tbody tr:hover{background:#f8fafc}.product-module .product-table-compact tbody td{height:58px;padding:9px 12px;color:#334155;font-size:13px;border-bottom:1px solid #e2e8f0;vertical-align:middle;white-space:normal;overflow-wrap:normal}.product-module .product-table-compact tbody tr:last-child td{border-bottom:0}.product-module .product-table-compact .product-identity{text-align:left}.product-module .product-table-compact .product-identity>b{margin:0;color:#0f172a;font-size:14px;font-weight:600}.product-module .product-table-compact .product-identity>.mono{display:block;margin-top:3px;color:#64748b;font-size:12px;font-weight:500}.product-module .product-table-compact td small{display:block;margin-top:3px;font-size:12px;font-weight:400}.product-module .product-table-compact td:nth-child(3) b{color:#475569;font-weight:500}.product-module .product-table-compact td:nth-child(4) b{color:#0f172a;font-size:14px;font-weight:600}.product-module .product-table-compact td:nth-child(5)>span,.product-module .product-table-compact td:nth-child(6)>span,.product-module .product-table-compact td:nth-child(7)>span{color:#334155;font-weight:500}.product-module .product-table-compact .status{display:inline-block;padding:4px 8px;border:1px solid #bbf7d0;border-radius:999px;background:#f0fdf4!important;color:#15803d!important;font-size:12px;font-weight:600}.product-module .product-table-compact .status.low{border-color:#fecaca;background:#fef2f2!important;color:#dc2626!important}.product-module .product-table-compact input[type=checkbox]{width:16px;height:16px;accent-color:#2563eb}.product-module .product-table-compact .product-actions{justify-content:flex-start!important;flex-wrap:nowrap!important;gap:6px}.product-module .product-table-compact .product-actions>button:first-child{padding:7px 10px!important;border:1px solid #cbd5e1!important;border-radius:8px;background:#fff!important;color:#2563eb!important;font-size:12px!important}.product-module .product-more-wrap{position:relative}.product-module .product-more-button{width:32px;height:32px;padding:0!important;border:1px solid #cbd5e1!important;border-radius:8px;background:#fff!important;color:#475569!important;font-size:20px!important;line-height:1!important}.product-module .product-more-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:12;min-width:104px;padding:5px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.12)}.product-module .product-more-menu button{display:block;width:100%;padding:8px 10px;border:0;border-radius:6px;background:#fff;color:#475569;text-align:left;font:inherit;font-size:12px;cursor:pointer}.product-module .product-more-menu button:hover{background:#f8fafc}.product-module .product-more-menu button.danger{color:#dc2626}@media(max-width:1200px){.product-module .product-section-title h2{font-size:21px}.product-module .product-section-title p{font-size:12px}}.product-module .product-info-popover{position:relative;margin:0 0 12px;padding:0;border:0;background:transparent;color:#64748b;font-size:12px}.product-module .product-info-popover>button{margin-left:5px;padding:0;border:0;background:transparent;color:#64748b;font:inherit;cursor:pointer}.product-module .product-info-popover>div{position:absolute;left:0;top:24px;z-index:20;width:min(440px,calc(100vw - 48px));padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#475569;line-height:1.55;box-shadow:0 8px 20px rgba(15,23,42,.1)}.product-module>.product-main-card>.product-list>.product-section-title{margin-bottom:10px}.product-module .product-section-title h2{font-size:22px;font-weight:600}.product-module .product-section-title p{font-size:12.5px;color:#64748b}.product-module .product-add-button{height:36px;padding:0 14px;border-radius:7px;font-size:12.5px;font-weight:500}.product-module .product-list-toolbar{display:block;margin-bottom:12px}.product-module .product-filters{display:flex;align-items:center;width:100%}.product-module .product-filters input{width:min(340px,28vw);height:36px;padding:7px 10px;font-size:12.5px}.product-module .product-filters select{width:auto;min-width:132px;height:36px;padding:7px 10px;font-size:12.5px}.product-module .product-filters .reload-button{width:36px;padding:0;font-size:20px;line-height:1}.product-module .product-more-functions{position:relative;margin-left:auto}.product-module .product-more-functions-button{height:36px;padding:0 12px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#475569;font-size:12.5px;cursor:pointer}.product-module .product-more-functions-button:hover{background:#f8fafc;color:#0f172a}.product-module .product-toolbar-menu{top:42px}.product-module .product-table-wrap{overflow-y:visible!important;border-radius:8px;box-shadow:0 1px 2px rgba(15,23,42,.03)}.product-module .product-table.product-table-compact{min-width:1220px}.product-module .product-table-compact thead th{height:42px;padding:10px 12px;font-size:11.5px}.product-module .product-table-compact tbody td{height:52px;padding:8px 10px;font-size:12.5px;line-height:1.35}.product-module .product-table-compact tbody td:nth-child(2){width:120px;min-width:120px}.product-module .product-table-compact tbody td:nth-child(3){min-width:300px;max-width:420px}.product-module .product-table-compact tbody td:nth-child(4),.product-module .product-table-compact tbody td:nth-child(5),.product-module .product-table-compact tbody td:nth-child(6){min-width:125px}.product-module .product-table-compact tbody td:nth-child(7){min-width:230px}.product-module .product-table-compact tbody td:nth-child(8){min-width:90px}.product-module .product-table-compact tbody td:nth-child(9){min-width:52px;width:52px}.product-module .product-table-compact .product-identity>b{font-size:13.5px;line-height:1.35}.product-module .product-table-compact .product-identity>.mono{font-size:11.5px;font-weight:400;color:#94a3b8;margin-top:2px}.product-module .product-table-compact td small{font-size:11.5px;color:#94a3b8}.product-module .product-table-compact td b{font-weight:500;color:#334155}.product-module .product-table-compact .numeric-cell{text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;white-space:nowrap}.product-module .product-table-compact .numeric-cell b{color:#0f172a;font-size:13px}.product-module .product-table-compact td:nth-child(5),.product-module .product-table-compact td:nth-child(6),.product-module .product-table-compact td:nth-child(7){font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.product-module .product-table-compact td:nth-child(8){text-align:left}.product-module .product-table-compact .status{padding:2px 7px;font-size:11.5px;font-weight:500}.product-module .product-table-compact .product-actions{justify-content:center!important}.product-module .product-table-compact .product-more-wrap{position:relative}.product-module .product-table-compact .product-more-button{width:32px;height:32px;border-color:transparent!important;background:transparent!important;color:#64748b!important;font-size:20px!important}.product-module .product-table-compact .product-more-button:hover{border-color:#e2e8f0!important;background:#f1f5f9!important;color:#0f172a!important}@media(max-width:900px){.product-module .product-filters{flex-wrap:wrap}.product-module .product-filters input{width:100%}.product-module .product-more-functions{margin-left:0}}.product-module .product-table-wrap{overflow:visible!important}.product-module .product-table.product-table-compact{width:100%;min-width:0;table-layout:fixed}.product-module .product-table-compact td,.product-module .product-table-compact th{box-sizing:border-box;padding-left:8px;padding-right:8px}.product-module .product-table-compact thead th{height:36px;padding-top:6px;padding-bottom:6px;font-size:11px}.product-module .product-table-compact tbody td{height:50px;padding-top:6px;padding-bottom:6px;font-size:12px}.product-module .product-table-compact td:first-child,.product-module .product-table-compact th:first-child{width:38px}.product-module .product-table-compact td:nth-child(2),.product-module .product-table-compact th:nth-child(2){width:95px;min-width:0}.product-module .product-table-compact td:nth-child(3),.product-module .product-table-compact th:nth-child(3){width:auto;min-width:0;max-width:none}.product-module .product-table-compact td:nth-child(4),.product-module .product-table-compact th:nth-child(4){width:100px;min-width:0}.product-module .product-table-compact td:nth-child(5),.product-module .product-table-compact th:nth-child(5){width:108px;min-width:0}.product-module .product-table-compact td:nth-child(6),.product-module .product-table-compact th:nth-child(6){width:96px;min-width:0}.product-module .product-table-compact td:nth-child(7),.product-module .product-table-compact th:nth-child(7){width:185px;min-width:0}.product-module .product-table-compact td:nth-child(8),.product-module .product-table-compact th:nth-child(8){width:68px;min-width:0}.product-module .product-table-compact td:nth-child(9),.product-module .product-table-compact th:nth-child(9){width:42px;min-width:0;text-align:center}.product-module .product-table-compact td:nth-child(2) b{display:block;overflow:hidden;color:#334155;font-size:12px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.product-module .product-table-compact td:nth-child(2) small{font-size:10.5px;line-height:1.2}.product-module .product-table-compact .product-identity{min-width:0;overflow:hidden}.product-module .product-table-compact .product-identity>b{display:block;width:100%;font-size:12.5px;font-weight:500;line-height:1.3;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.product-module .product-table-compact .product-identity>.mono{font-size:10.5px;line-height:1.2}.product-module .product-table-compact .numeric-cell b{font-size:12.5px;font-weight:600;white-space:nowrap}.product-module .product-table-compact td:nth-child(5)>span{font-size:11.5px;font-weight:400}.product-module .product-table-compact td:nth-child(5)>small,.product-module .product-table-compact td:nth-child(6)>small,.product-module .product-table-compact td:nth-child(7)>small{font-size:10.5px;line-height:1.2}.product-module .product-table-compact td:nth-child(6)>span{font-size:11.5px;white-space:nowrap}.product-module .product-table-compact td:nth-child(7)>span{display:block;overflow:hidden;font-size:11.5px;font-weight:400;text-overflow:ellipsis;white-space:nowrap}.product-module .product-table-compact .status{font-size:11px;white-space:nowrap}.product-module .product-table-compact .product-more-button{width:30px;height:30px}@media(max-width:1100px){.product-module .product-table-wrap{overflow-x:auto!important;overflow-y:visible!important}.product-module .product-table.product-table-compact{min-width:960px}}.category-heading-actions{display:flex;align-items:center;gap:12px}.category-primary{border:1px solid #10b981;border-radius:8px;background:#10b981;color:#fff;padding:9px 14px;font-weight:800;cursor:pointer}.category-product-module .product-heading p{margin:5px 0 0;color:#7185a5;font-size:12px}.category-product-module .category-content{border-top:1px solid #dce6f2;padding-top:18px}.category-search{display:flex;align-items:center;gap:8px;margin-bottom:14px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;padding:0 12px}.category-search span{color:#64748b;font-size:20px}.category-search input{width:100%;height:40px;border:0;outline:0;color:#17345c;font:inherit}.category-toast{margin:0 0 14px;padding:10px 12px;border:1px solid #bbf7d0;border-radius:8px;background:#ecfdf5;color:#047857;font-weight:700}.category-tree{overflow:visible;border:1px solid #dce6f2;border-radius:10px}.category-node+.category-node{border-top:1px solid #e5edf7}.category-child-row,.category-root-row{display:grid;grid-template-columns:28px 1fr auto;align-items:center;grid-gap:8px;gap:8px;min-height:48px;padding:7px 12px;color:#17345c}.category-root-row{cursor:pointer}.category-child-row:hover,.category-root-row:hover{background:#f8fbff}.category-root-row>div:nth-child(2){display:grid;grid-gap:2px;gap:2px}.category-root-row small{color:#7185a5;font-size:11px}.category-chevron,.category-more{border:0;background:transparent;color:#2563eb;cursor:pointer}.category-chevron{padding:4px;font-size:11px}.category-more{width:32px;height:30px;border-radius:7px;font-size:20px}.category-more:hover{background:#e0ecff}.category-children{border-top:1px solid #edf2f7;background:#fbfdff}.category-child-row{grid-template-columns:28px 1fr auto;padding-left:35px}.tree-line{color:#94a3b8}.category-children>p{margin:0;padding:12px 48px;color:#7185a5}.category-menu-wrap{position:relative}.category-menu{position:absolute;right:0;top:34px;z-index:12;min-width:130px;padding:5px;border:1px solid #dce6f2;border-radius:9px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.14)}.category-menu button{display:block;width:100%;border:0;border-radius:6px;background:#fff;padding:8px 10px;text-align:left;color:#334e72;cursor:pointer}.category-menu button:hover{background:#eff6ff}.category-menu button.danger{color:#dc2626}.category-summary{padding-top:12px;color:#7185a5;font-size:12px}.category-empty-state{padding:42px 18px;text-align:center}.category-empty-state h3{margin:0 0 8px;color:#17345c}.category-empty-state p{margin:0 0 16px;color:#7185a5}.category-dialog-backdrop{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:20px;background:rgba(15,23,42,.45)}.category-dialog{width:min(480px,100%);border-radius:14px;background:#fff;padding:22px;box-shadow:0 20px 70px rgba(15,23,42,.32)}.category-dialog footer,.category-dialog header{display:flex;align-items:center;justify-content:space-between;gap:10px}.category-dialog header{margin-bottom:18px}.category-dialog header h2{margin:0;color:#17345c;font-size:20px}.category-dialog header button{border:0;background:transparent;color:#64748b;font-size:26px;cursor:pointer}.category-dialog label{display:grid;grid-gap:6px;gap:6px;margin:12px 0;color:#536b8f;font-size:12px;font-weight:700}.category-dialog input,.category-dialog select{height:40px;border:1px solid #cbd5e1;border-radius:8px;padding:7px 10px;color:#17345c;font:inherit}.category-dialog footer{justify-content:flex-end;margin-top:20px}.category-dialog footer button{border:1px solid #cbd5e1;border-radius:8px;background:#fff;padding:9px 14px;color:#334e72;font-weight:700;cursor:pointer}.category-dialog footer .category-primary{border-color:#10b981;background:#10b981;color:#fff}.category-dialog footer .danger-action{border-color:#ef4444;background:#ef4444;color:#fff}.category-dialog button:disabled{opacity:.5;cursor:not-allowed}.category-type{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px}.category-type button{border:1px solid #cbd5e1;border-radius:8px;background:#fff;padding:9px;color:#334e72;font-weight:700}.category-type button.active{border-color:#3b82f6;background:#eff6ff;color:#2563eb}.category-delete-copy{color:#475569}.category-delete-copy .warning{padding:10px;border-radius:8px;background:#fff1f2;color:#be123c}.purchase-query-workspace{gap:12px;margin-top:12px}.purchase-query-warning{display:flex;align-items:center;min-height:42px;box-sizing:border-box;padding:8px 12px!important;border-radius:8px!important;font-size:12px!important;font-weight:500!important}.purchase-query-panel{padding:16px!important;border-radius:10px!important;box-shadow:none}.purchase-query-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:12px;border-bottom:1px solid #e2e8f0}.purchase-query-heading h1{margin:0;color:#0f172a;font-size:21px;font-weight:600}.purchase-query-heading p{margin:4px 0 0;color:#64748b;font-size:12.5px}.purchase-query-heading label{display:flex;align-items:center;gap:8px;color:#475569;font-size:12px;font-weight:500}.purchase-query-heading select{height:36px;min-width:180px;padding:6px 10px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#334155;font:inherit}.purchase-query-toolbar{display:flex;align-items:center;gap:8px;margin:12px 0}.purchase-query-toolbar>input{width:min(340px,38vw);box-sizing:border-box;color:#334155;font:inherit;font-size:12.5px}.purchase-query-toolbar>input,.purchase-query-toolbar>select{height:36px;padding:7px 10px;border:1px solid #cbd5e1;border-radius:7px}.purchase-query-toolbar>select{background:#fff;color:#475569;font:inherit;font-size:12px}.purchase-refresh-button{width:36px;height:36px;padding:0;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#475569;font-size:20px;line-height:1;cursor:pointer}.purchase-refresh-button:hover{background:#f8fafc;color:#0f172a}.purchase-query-table-wrap{overflow:visible!important;margin-top:0;border-color:#e2e8f0;border-radius:8px}.purchase-query-table{width:100%;min-width:0!important;table-layout:fixed;border-collapse:collapse;color:#334155;font-size:12px}.purchase-query-table th{height:40px;box-sizing:border-box;padding:8px 6px;background:#f8fafc;color:#475569;font-size:11.5px;font-weight:600;white-space:nowrap;text-align:left;border-bottom:1px solid #e2e8f0}.purchase-query-table td{height:52px;box-sizing:border-box;padding:7px 6px;border-top:1px solid #e2e8f0;color:#334155;vertical-align:middle}.purchase-query-table tr:hover{background:#f8fafc}.purchase-query-table td:first-child,.purchase-query-table th:first-child{width:110px}.purchase-query-table td:nth-child(2),.purchase-query-table th:nth-child(2){width:74px}.purchase-query-table td:nth-child(3),.purchase-query-table th:nth-child(3){width:82px}.purchase-query-table td:nth-child(4),.purchase-query-table th:nth-child(4){width:150px}.purchase-query-table td:nth-child(5),.purchase-query-table th:nth-child(5){width:52px}.purchase-query-table td:nth-child(6),.purchase-query-table th:nth-child(6){width:45px}.purchase-query-table td:nth-child(7),.purchase-query-table th:nth-child(7){width:82px}.purchase-query-table td:nth-child(8),.purchase-query-table th:nth-child(8){width:72px}.purchase-query-table td:nth-child(9),.purchase-query-table th:nth-child(9){width:78px}.purchase-query-table td:nth-child(10),.purchase-query-table td:nth-child(11),.purchase-query-table th:nth-child(10),.purchase-query-table th:nth-child(11){width:94px}.purchase-query-table td:nth-child(12),.purchase-query-table th:nth-child(12){width:138px}.purchase-query-table .purchase-po-no{font-weight:600;color:#0f172a;white-space:normal;overflow-wrap:anywhere}.purchase-query-table .purchase-company{font-size:11.5px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.purchase-query-table .purchase-title-cell{overflow:hidden}.purchase-query-table .purchase-title-cell b{display:block;overflow:hidden;color:#334155;font-size:12.5px;font-weight:500;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.purchase-query-table .purchase-title-cell small{display:block;margin-top:2px;overflow:hidden;color:#94a3b8;font-size:10.5px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.purchase-query-table .purchase-number{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.purchase-query-table .purchase-total b{color:#0f172a;font-weight:600}.purchase-query-table .receipt-status{display:inline-block;padding:2px 7px;border:1px solid #e2e8f0;border-radius:999px;background:#f8fafc;color:#64748b;font-size:11px;white-space:nowrap}.purchase-query-table .receipt-status.partial{border-color:#fed7aa;background:#fff7ed;color:#c2410c}.purchase-query-table .receipt-status.received{border-color:#bbf7d0;background:#f0fdf4;color:#15803d}.purchase-query-table .receipt-progress{display:block;margin-top:2px;color:#94a3b8;font-size:10.5px;white-space:nowrap}.purchase-row-actions{display:flex;align-items:center;justify-content:center;gap:4px}.purchase-primary-action{display:inline-flex;align-items:center;justify-content:center;height:30px;padding:0 7px;border:1px solid #bfdbfe;border-radius:7px;background:#eff6ff;color:#2563eb;font:inherit;font-size:11px;font-weight:500;text-decoration:none;white-space:nowrap;cursor:pointer}.purchase-primary-action:hover{background:#dbeafe}.purchase-more-wrap{position:relative}.purchase-more-button{width:30px;height:30px;padding:0;border:1px solid transparent;border-radius:6px;background:transparent;color:#64748b;font-size:19px;line-height:1;cursor:pointer}.purchase-more-button:hover{border-color:#e2e8f0;background:#f1f5f9;color:#0f172a}.purchase-more-menu{position:absolute;right:0;top:34px;z-index:20;min-width:132px;padding:5px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.12)}.purchase-more-menu a,.purchase-more-menu button{display:block;width:100%;box-sizing:border-box;padding:7px 9px;border:0;border-radius:5px;background:#fff;color:#475569;text-align:left;font:inherit;font-size:11.5px;text-decoration:none;white-space:nowrap;cursor:pointer}.purchase-more-menu a:hover,.purchase-more-menu button:hover{background:#f8fafc;color:#0f172a}.purchase-more-menu .purchase-menu-divider{height:1px;margin:4px 2px;background:#e2e8f0}.purchase-more-menu button.danger{color:#dc2626}@media(max-width:1100px){.purchase-query-table-wrap{overflow-x:auto!important}.purchase-query-table{min-width:960px!important}}@media(max-width:700px){.purchase-query-heading{flex-direction:column}.purchase-query-toolbar{flex-wrap:wrap}.purchase-query-toolbar>input{width:100%}}.product-module .product-calc-button{height:36px;box-sizing:border-box;padding:0 12px;border-radius:7px;font-size:12px;font-weight:600;line-height:1;white-space:nowrap;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}.product-module .product-calc-button:disabled{opacity:.55;cursor:not-allowed}.product-module .product-logistics-button{border:1px solid #2563eb;background:#2563eb;color:#fff;box-shadow:0 1px 2px rgba(37,99,235,.16)}.product-module .product-logistics-button:hover:not(:disabled){border-color:#1d4ed8;background:#1d4ed8}.product-module .product-formal-button{border:1px solid #bfdbfe;background:#fff;color:#2563eb}.product-module .product-formal-button:hover:not(:disabled){background:#eff6ff}.product-module .product-add-button{border-color:#059669!important;background:#059669!important;box-shadow:0 1px 2px rgba(5,150,105,.16)}.product-module .product-add-button:hover{border-color:#047857!important;background:#047857!important}.product-module .product-identity-content{display:flex;align-items:center;gap:7px;min-width:0}.product-module .product-image-thumb{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;overflow:hidden;border:1px solid #e2e8f0;border-radius:6px;background:#f8fafc;color:#cbd5e1}.product-module .product-image-thumb img{display:block;width:100%;height:100%;object-fit:contain;background:#fff}.product-module .product-image-thumb a{display:block;width:100%;height:100%}.product-image-editor{grid-column:1/-1;display:grid;grid-gap:8px;gap:8px;padding:8px 0 14px;color:#55709a;font-size:12px;font-weight:700}.product-image-editor-controls{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.product-image-editor-preview{width:90px;height:90px;display:grid;place-items:center;overflow:hidden;border:1px solid #cbd5e1;border-radius:9px;background:#f8fafc;color:#94a3b8}.product-image-editor-preview img{width:100%;height:100%;object-fit:contain;background:#fff}.product-image-editor-controls>div:last-child{display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap;max-width:500px}.product-image-editor-controls small{width:100%;color:#64748b;font-weight:400}.product-image-remove,.product-image-upload,.product-modal-actions button{display:inline-flex;align-items:center;padding:8px 12px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;color:#1d4ed8;font-weight:700;cursor:pointer}.product-image-upload{position:relative}.product-image-upload input{position:absolute;width:1px;height:1px;opacity:0}.product-image-remove{background:#fff;color:#be123c;border-color:#fecaca}.product-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.product-modal-actions .save-button{background:#2563eb;color:#fff;border-color:#2563eb}@media(max-width:900px){.product-modal .product-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:560px){.product-modal .product-form-grid{grid-template-columns:minmax(0,1fr)!important}.product-modal-backdrop{padding:12px}.product-modal{width:calc(100vw - 24px);max-height:calc(100vh - 24px);padding:16px!important}}.product-module .product-image-placeholder{font-size:12px;line-height:1}.product-module .product-identity-copy{min-width:0;overflow:hidden}.product-module .product-table-compact .product-identity-copy>b{display:block;width:100%;font-size:12.5px;font-weight:500;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-module .product-table-compact .product-identity-copy>.mono{display:block;margin-top:2px;color:#94a3b8;font-size:10.5px;line-height:1.2}.product-module .product-table-compact .numeric-cell b{font-weight:500}.product-module .product-table-compact .numeric-cell .price-currency{display:inline;font-size:10.5px;font-weight:500;color:#64748b}.product-module .product-table-compact .status{display:inline-flex;align-items:center;gap:5px}.product-module .product-table-compact .status:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.product-module .product-filters{gap:8px}@media(max-width:1100px){.product-module .product-calc-button{flex:1 1;min-width:130px}.product-module .product-filters{width:100%;flex-wrap:wrap}.product-module .product-filters input{flex:1 1 220px;width:auto}}.company-card-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:8px 0 14px}.inventory-live-head .company-card-bar,.product-heading .company-card-bar{margin:0;flex:0 0 auto}.company-issue-card p{margin:0 0 12px;color:#64748b;font-size:13px}.company-issue-card input[readonly]{background:#e7edf5;color:#334155;border-color:#d5deea}.company-card-bar .company-switch{display:flex;gap:10px;flex-wrap:wrap}.company-card-bar .company-switch a,.company-card-bar .company-switch button,.company-card-bar .company-switch span.on{display:inline-flex;align-items:center;min-width:190px;padding:12px 14px;border:1px solid #d7e0ec;border-radius:12px;background:#fff;color:#17345c;font-size:14px;font-weight:700;line-height:1.35;text-decoration:none}.company-card-bar .company-switch a.on,.company-card-bar .company-switch button.on,.company-card-bar .company-switch span.on{background:#17345c;border-color:#17345c;color:#fff}.company-card-bar.company-cards-green .company-switch a.on,.company-card-bar.company-cards-green .company-switch button.on,.company-card-bar.company-cards-green .company-switch span.on{background:#059669;border-color:#047857;color:#fff}.company-card-bar>button{margin-left:auto;border:1px solid #17345c;border-radius:10px;background:#fff;color:#17345c;font-weight:700;padding:8px 12px}.company-section-head{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px}.company-section-head h2{margin:0}.company-edit-action{border:1px solid #17345c;border-radius:10px;background:#fff;color:#17345c;font-weight:700;padding:8px 14px;cursor:pointer;white-space:nowrap}.company-settings-form input[readonly],.company-settings-form.is-locked input{background:#e7edf5;color:#64748b;border-color:#d5deea;cursor:default}.company-edit-dialog>div{gap:16px}.company-edit-actions{display:flex;justify-content:flex-end;gap:8px}.company-edit-cancel,.company-edit-confirm{justify-self:auto;min-width:96px;padding:9px 14px;border-radius:8px;font-weight:700;cursor:pointer}.company-edit-cancel{border:1px solid #cbd5e1;background:#fff;color:#334155}.company-edit-confirm{border:0;background:#17345c;color:#fff}@media(max-width:700px){.company-card-bar{align-items:stretch}.company-card-bar .company-switch{width:100%}.company-card-bar .company-switch a,.company-card-bar .company-switch button,.company-card-bar .company-switch span.on{flex:1 1;min-width:0}.company-card-bar>button{margin-left:0;width:100%}.company-section-head{align-items:stretch;flex-direction:column}.company-edit-action{width:100%}}.product-module .product-table-wrap{overflow-x:auto!important}.product-module .product-table.product-table-compact{width:max-content;min-width:1560px;table-layout:auto}.product-module .product-table-compact td:nth-child(n),.product-module .product-table-compact th:nth-child(n){width:auto;min-width:0;max-width:none}.product-module .product-table-compact td:first-child,.product-module .product-table-compact th:first-child{width:42px;text-align:center}.product-module .product-table-compact td:nth-child(2),.product-module .product-table-compact th:nth-child(2){min-width:110px}.product-module .product-table-compact td:nth-child(3),.product-module .product-table-compact th:nth-child(3){min-width:280px}.product-module .product-table-compact td:nth-child(4),.product-module .product-table-compact th:nth-child(4){min-width:110px;text-align:right}.product-module .product-table-compact td:nth-child(5),.product-module .product-table-compact td:nth-child(6),.product-module .product-table-compact td:nth-child(7),.product-module .product-table-compact td:nth-child(8),.product-module .product-table-compact th:nth-child(5),.product-module .product-table-compact th:nth-child(6),.product-module .product-table-compact th:nth-child(7),.product-module .product-table-compact th:nth-child(8){min-width:128px;text-align:right;white-space:nowrap}.product-module .product-table-compact td:nth-child(9),.product-module .product-table-compact th:nth-child(9){min-width:120px}.product-module .product-table-compact td:nth-child(10),.product-module .product-table-compact th:nth-child(10){min-width:190px}.product-module .product-table-compact td:nth-child(11),.product-module .product-table-compact th:nth-child(11){min-width:78px}.product-module .product-table-compact td:nth-child(12),.product-module .product-table-compact th:nth-child(12){width:52px;text-align:center}.category-list-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px!important}.category-list-heading>div:first-child{display:block!important}.category-list-heading>div:first-child p{display:block!important;margin:3px 0 0;color:#7185a5;font-size:12px}.category-list-actions{display:flex;align-items:center;gap:8px;flex-wrap:nowrap!important}.category-list-actions button{height:38px;padding:0 15px;border-radius:8px;font-weight:800;cursor:pointer;white-space:nowrap}.category-adjust-button{border:1px solid #bfdbfe;background:#eff6ff;color:#2563eb}.category-adjust-button:hover{background:#dbeafe}.category-product-module .category-child-row,.category-product-module .category-root-row{grid-template-columns:28px minmax(0,1fr) 40px}.category-gear{display:grid;place-items:center;width:34px;height:34px;border:1px solid #bfdbfe;border-radius:8px;background:#f8fbff;color:#2563eb;font-size:17px;cursor:pointer}.category-gear:hover{border-color:#60a5fa;background:#e8f2ff}.category-gear-small{width:30px;height:30px;font-size:15px}.category-fixed-parent{display:grid;grid-gap:4px;gap:4px;margin:0 0 14px;padding:12px;border:1px solid #dce6f2;border-radius:9px;background:#f8fafc}.category-fixed-parent span,.category-settings-name span{color:#7185a5;font-size:11px;font-weight:700}.category-fixed-parent b,.category-settings-name b{color:#17345c;font-size:16px}.category-settings{display:grid;grid-gap:9px;gap:9px}.category-settings-name{display:grid;grid-gap:4px;gap:4px;margin-bottom:4px;padding:12px;border:1px solid #dce6f2;border-radius:9px;background:#f8fafc}.category-settings-name small{color:#7185a5}.category-settings>button{width:100%;min-height:40px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334e72;font-weight:750;cursor:pointer;text-align:left;padding:9px 12px}.category-settings>button:hover{background:#f8fbff}.category-settings>button.category-primary{border-color:#10b981;background:#10b981;color:#fff}.category-settings>button.danger-link{border-color:#fecaca;background:#fff1f2;color:#dc2626}.category-adjust-mode{display:grid;grid-gap:16px;gap:16px}.category-adjust-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:14px;border-bottom:1px solid #dce6f2}.category-adjust-heading h2{margin:0;color:#17345c;font-size:20px}.category-adjust-heading p{margin:5px 0 0;color:#7185a5;font-size:12px}.category-adjust-heading>span{padding:6px 10px;border-radius:999px;background:#eff6ff;color:#2563eb;font-size:11px;font-weight:800;white-space:nowrap}.category-adjust-tree{display:grid;grid-gap:10px;gap:10px}.category-adjust-root{overflow:hidden;border:1px solid #dce6f2;border-radius:10px;background:#fff;transition:border-color .15s,opacity .15s,box-shadow .15s}.category-adjust-root:hover{border-color:#93c5fd;box-shadow:0 3px 12px rgba(37,99,235,.08)}.category-adjust-child.dragging,.category-adjust-root.dragging{opacity:.42}.category-adjust-root>header{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#f1f5f9;cursor:-webkit-grab;cursor:grab}.category-adjust-child:active,.category-adjust-root>header:active{cursor:-webkit-grabbing;cursor:grabbing}.category-adjust-root>header>div{display:grid;grid-gap:2px;gap:2px}.category-adjust-root>header b{color:#17345c}.category-adjust-root>header small{color:#7185a5;font-size:11px}.category-drag-handle{color:#94a3b8;font-weight:900;letter-spacing:-3px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.category-adjust-children{display:grid;grid-gap:6px;gap:6px;padding:8px 12px 10px 38px;min-height:38px;background:#fbfdff}.category-adjust-child{display:flex;align-items:center;gap:10px;min-height:36px;padding:6px 10px;border:1px solid #e5edf7;border-radius:8px;background:#fff;color:#334e72;cursor:-webkit-grab;cursor:grab}.category-adjust-child:hover{border-color:#93c5fd;background:#f8fbff}.category-adjust-children>p{margin:0;padding:8px;color:#94a3b8;font-size:12px;text-align:center}.category-adjust-footer{position:-webkit-sticky;position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:8px;margin:0 -4px -4px;padding:12px 4px 4px;background:linear-gradient(rgba(255,255,255,0),#fff 35%)}.category-adjust-footer button{min-width:92px;padding:9px 14px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334e72;font-weight:800;cursor:pointer}.category-adjust-footer button.category-primary{border-color:#10b981;background:#10b981;color:#fff}.category-adjust-footer button:disabled{opacity:.55;cursor:not-allowed}@media(max-width:760px){.category-adjust-heading,.category-list-heading{align-items:stretch;flex-direction:column}.category-list-actions{justify-content:flex-end}.category-adjust-children{padding-left:18px}}.product-header-actions button.download-button{border-color:#3b82f6;background:#3b82f6;color:#fff}.product-header-actions button.import-button{border-color:#10b981;background:#10b981;color:#fff}.product-header-actions button.sync-button{border-color:#ef4444;background:#ef4444;color:#fff}.product-header-actions button.save-button{border-color:#10b981;background:#10b981;color:#fff}.product-header-actions button.clear-button{border-color:#1e293b;background:#1e293b;color:#fff}.product-list-toolbar>button.batch-calc-button{border-color:#10b981;background:#10b981;color:#fff}.product-filters button.reload-button,.product-list-toolbar>button.landed-calc-button{border-color:#bfdbfe;background:#eff6ff;color:#2563eb}.product-header-actions button:disabled,.product-list-toolbar>button:disabled{opacity:.55}:root{--blipms-font-family:"Microsoft YaHei","Microsoft YaHei UI","Microsoft JhengHei","Noto Sans TC",Arial,sans-serif;font-family:var(--blipms-font-family)}body,body *,body :after,body :before,html{font-family:var(--blipms-font-family)!important}