:root{
  --canvas:#F2F1EE;
  --surface:#FFFFFF;
  --rail:#F6F3F1;
  --history:#FCFCFA;
  --ink:#11151C;
  --text:#303640;
  --secondary:#68717D;
  --muted:#A1A8B1;
  --line:#E7E6E2;
  --line-soft:#F0EFEA;
  --red:#C50F1F;
  --red-deep:#98101A;
  --red-soft:#F7EDEE;
  --debt:#765044;
  --green:#86AA8B;
  --green-soft:#CADBCF;
  --shadow:0 24px 58px rgba(28,31,35,.06),0 1px 0 rgba(28,31,35,.03);
  --rail-shadow:0 22px 48px rgba(64,44,39,.065),0 1px 0 rgba(64,44,39,.035);
}
*{box-sizing:border-box}
html,body{
  margin:0;
  min-height:100%;
  background:var(--canvas);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Inter","Segoe UI",Arial,"Microsoft YaHei",sans-serif;
  font-size:14px;
  line-height:1.45;
  font-variant-numeric:tabular-nums;
  text-rendering:geometricPrecision;
}
button,input,select{font:inherit}
button{cursor:default}
body.erp-ui2 #mainWrapper{background:var(--canvas)}
body.erp-ui2 #mainWrapper>.container{max-width:none;margin:0;padding:0}
.app-shell{background:#fff;border-bottom:1px solid rgba(231,230,226,.82);box-shadow:0 1px 0 rgba(17,21,28,.028)}
.shell-inner{width:100%;max-width:none;margin:0;padding:0 28px}
.brand-bar{height:64px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(240,239,234,.92)}
.brand{display:flex;align-items:center;gap:12px;min-width:0}
.logo{width:45px;height:45px;object-fit:contain;display:block;flex:0 0 auto}
.brand-text{display:grid;gap:0;white-space:nowrap;transform:translateY(1px)}
.brand-name{font-size:18px;font-weight:680;letter-spacing:.01em;color:var(--ink)}
.brand-meta{font-size:10px;font-weight:420;color:#B5BBC3;letter-spacing:.02em}
.shell-actions{display:flex;align-items:center;gap:6px;color:var(--secondary);font-size:12px}
.text-control{height:26px;padding:0 7px;border:0;background:transparent;color:#777F8A;border-radius:7px;font-weight:440}
.text-control.active{background:#F2F1EE;color:var(--ink);font-weight:540}
.text-control.exit{color:#858C96}
.system-dialog-panel{max-width:420px!important;padding:24px 24px 20px!important;border-radius:14px!important}
.system-dialog-panel h3{margin-bottom:10px!important;font-size:18px!important;line-height:1.25!important}
.system-dialog-body{color:#4D5561;font-size:14px;line-height:1.55;white-space:pre-wrap}
.system-dialog-prompt{margin-top:14px!important;margin-bottom:0!important}
.system-dialog-actions{margin-top:20px!important}
.system-dialog-actions .btn{height:36px}
.module-nav{height:44px;display:flex;align-items:center;gap:26px;overflow-x:auto;scrollbar-width:none}
.module-nav::-webkit-scrollbar{display:none}
.app-shell .module-nav .nav-item{position:relative;height:44px;min-height:0;display:inline-flex;align-items:center;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#4D5561;text-decoration:none;white-space:nowrap;font-size:13px;font-weight:470}
.app-shell .module-nav .nav-item:hover{background:transparent;border:0;color:#303640;box-shadow:none}
.app-shell .module-nav .nav-item.active{background:transparent;border:0;color:#C50F1F;font-weight:600;box-shadow:none}
.app-shell .module-nav .nav-item.active::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;border-radius:999px;background:#C50F1F}
body.erp-ui2.lang-zh .nav-ru,body.erp-ui2.lang-zh .product-ru,body.erp-ui2:not(.lang-ru) .nav-ru,body.erp-ui2:not(.lang-ru) .product-ru{display:none}
body.erp-ui2.lang-ru .nav-cn,body.erp-ui2.lang-ru .product-cn{display:none}
.page{width:100%;max-width:none;margin:0;padding:var(--workbench-page-top,24px) var(--workbench-page-inset,28px) 16px}
.page:not(.active){display:none}
.page-header{margin:0 0 18px}
.page-title{margin:0;color:var(--ink);font-size:25px;line-height:1.16;font-weight:650;letter-spacing:0}
.page-subtitle{margin:5px 0 0;color:var(--muted);font-size:13px;font-weight:430}
#sale .workbench{display:grid;grid-template-columns:minmax(0,1fr) 312px;align-items:stretch;gap:18px;background:transparent;border-radius:0;box-shadow:none}
#sale .builder{min-width:0;background:var(--surface);padding:24px 28px 24px;border-radius:12px;box-shadow:var(--shadow)}
#sale .summary{position:relative;background:var(--rail);padding:25px 24px 22px;border-radius:12px;box-shadow:var(--rail-shadow)}
#sale .summary::before{content:"";position:absolute;left:18px;right:18px;top:0;height:2px;border-radius:0 0 999px 999px;background:var(--red)}
#sale .section-label{margin:0 0 10px;color:#5B6470;font-size:12px;font-weight:560;letter-spacing:0}
#sale .command-strip{display:grid;grid-template-columns:minmax(280px,1.16fr) minmax(380px,1.28fr) 150px;gap:22px;align-items:end;padding:10px 0 20px;border-bottom:1px solid var(--line-soft)}
#sale .field-label{display:block;margin-bottom:5px;color:var(--muted);font-size:11px;font-weight:520}
#sale .customer-select{width:100%;height:42px;display:flex;align-items:center;justify-content:space-between;padding:0 4px 0 0;border:0;border-bottom:1px solid #DADDDC;border-radius:0;background:transparent;color:var(--ink);font-size:15px;font-weight:600;box-shadow:none}
#sale .native-data-select{display:none}
#sale #saleCustomerDropdownHost{width:100%}
#sale .customer-empty{height:42px;display:flex;align-items:center;border-bottom:1px solid #DADDDC;color:var(--muted);font-size:13px}
#sale .customer-select:focus{outline:none;border-color:var(--red)}
#sale .policy-strip{display:grid;grid-template-columns:1fr 1px 1fr 1px 1fr;align-items:center;min-height:42px;padding:4px 0 2px}
#sale .policy-item{min-width:0}
#sale .policy-name{display:block;color:#A5ABB4;font-size:10.5px;font-weight:430;white-space:nowrap}
#sale .policy-value{display:block;margin-top:2px;color:var(--ink);font-size:16px;font-weight:600}
#sale .policy-divider{height:26px;background:#E5E4DF;margin:0 15px}
#sale .money-input{height:40px;display:flex;align-items:center;justify-content:flex-end;gap:6px;padding:0 10px;border:1px solid #DFE3E8;border-radius:8px;background:#fff;color:var(--ink)}
#sale .money-field{width:100%;min-width:0;border:0;background:transparent;text-align:left;color:var(--ink);font-size:14px;font-weight:560;font-variant-numeric:tabular-nums}
#sale .money-field:focus{outline:none}
#sale .money-input span{font-size:11px;color:var(--muted)}
#sale .items-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:21px 0 6px}
#sale .items-head h3,#sale .items-title{margin:0;color:var(--ink);font-size:18px;font-weight:650;line-height:1.22}
#sale .items-head p,#sale .items-subtitle{margin:3px 0 0;color:var(--muted);font-size:12px}
#sale .add-btn{height:36px;padding:0 14px;border:1px solid #DEDCD7;border-radius:8px;background:#fff;color:#3E4650;font-size:13px;font-weight:540;box-shadow:0 1px 0 rgba(17,21,28,.025)}
#sale .editable-table{width:100%;border-collapse:collapse;table-layout:fixed}
#sale .editable-table col.product{width:38%}
#sale .editable-table col.unit{width:9%}
#sale .editable-table col.source{width:15%}
#sale .editable-table col.qty{width:10%}
#sale .editable-table col.price{width:18%}
#sale .editable-table col.action{width:10%}
#sale .editable-table thead th{padding:9px 0 8px;border-bottom:1px solid var(--line-soft);color:#A8AEB6;font-size:10.5px;font-weight:420;text-align:left;background:transparent}
#sale .editable-table tbody td{height:62px;padding:9px 0;border-bottom:1px solid var(--line-soft);vertical-align:middle;color:var(--text)}
#sale .product-main{font-size:14.5px;font-weight:650;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#sale .product-meta,#sale .price-trace{margin-top:3px;color:#A7ADB6;font-size:11px;font-weight:420;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#sale .inline-value{display:inline-flex;align-items:center;min-height:28px;color:#626B76;font-size:13px;font-weight:430}
#sale .inline-value.focus{height:34px;min-width:76px;padding:0 9px;border:1px solid #CBCFCF;border-radius:7px;background:#fff;box-shadow:0 0 0 2px rgba(197,15,31,.04);color:var(--ink);font-weight:560}
#sale .price-main{width:100%;padding:0;border:0;background:transparent;font-size:15px;font-weight:650;color:var(--ink)}
#sale .product-cell,#sale .unit-cell,#sale .source-cell{position:relative;overflow:visible}
#sale .editable-table,#sale .editable-table tbody,#sale .editable-table tr,#sale .editable-table td{overflow:visible}
#sale .custom-select{position:relative;display:inline-flex;align-items:center;max-width:100%;min-width:0;vertical-align:top;font-variant-numeric:tabular-nums}
#sale .product-dropdown{display:block;width:100%}
#sale .custom-select-trigger{position:relative;display:inline-flex;align-items:center;max-width:100%;min-width:0;height:28px;padding:0 24px 0 0;border:0;border-radius:0;background:transparent;color:inherit;box-shadow:none;text-align:left}
#sale .custom-select-trigger::after{content:"";position:absolute;right:1px;top:50%;width:14px;height:14px;transform:translateY(-50%);opacity:.82;background:no-repeat center/14px 14px url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2016%2016%27%20fill%3D%27none%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M4%206L8%2010L12%206%27%20stroke%3D%27%23626B76%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%3C/svg%3E")}
#sale .custom-select-trigger:hover::after,#sale .custom-select.open .custom-select-trigger::after,#sale .custom-select-trigger:focus::after{opacity:1;background-image:url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2016%2016%27%20fill%3D%27none%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M4%206L8%2010L12%206%27%20stroke%3D%27%23303640%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%3C/svg%3E")}
#sale .custom-select-trigger:focus{outline:none}
#sale .product-dropdown .custom-select-trigger{display:flex;width:100%;height:auto;min-height:24px;padding-right:28px}
#sale .product-dropdown .custom-select-trigger:hover .product-main,#sale .product-dropdown.open .product-main{color:var(--ink)}
#sale .compact-dropdown .custom-select-trigger,#sale .source-dropdown .custom-select-trigger{height:28px}
#sale .compact-dropdown .custom-select-trigger:focus .inline-value,#sale .source-dropdown .custom-select-trigger:focus .inline-value,#sale .compact-dropdown.open .inline-value,#sale .source-dropdown.open .inline-value{height:34px;min-width:76px;padding:0 9px;border:1px solid #CBCFCF;border-radius:7px;background:#fff;box-shadow:0 0 0 2px rgba(197,15,31,.04);color:var(--ink);font-weight:560}
#sale .source-dropdown .custom-select-trigger:focus .inline-value,#sale .source-dropdown.open .inline-value{min-width:104px}
#sale .custom-select-menu{position:absolute;z-index:68;top:calc(100% + 7px);left:0;min-width:100%;width:max-content;max-width:min(520px,calc(100vw - 48px));max-height:min(320px,calc(100vh - 96px));overflow:auto;padding:5px;border:1px solid rgba(231,230,226,.96);border-radius:9px;background:var(--surface);box-shadow:0 18px 42px rgba(17,21,28,.12),0 1px 0 rgba(17,21,28,.04)}
#sale .product-dropdown .custom-select-menu{min-width:min(420px,calc(100vw - 48px))}
#sale .source-dropdown .custom-select-menu{min-width:132px}
#sale .compact-dropdown .custom-select-menu{min-width:86px}
#sale .customer-dropdown{display:block;width:100%;height:42px;border-bottom:1px solid #DADDDC}
#sale .customer-dropdown.open{border-bottom-color:var(--red)}
#sale .customer-dropdown .custom-select-trigger{display:flex;width:100%;height:42px;padding:0 26px 0 0;color:var(--ink);font-size:15px;font-weight:600}
#sale .customer-dropdown .custom-select-menu{min-width:min(360px,calc(100vw - 48px))}
#sale .customer-value{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#sale .custom-select.drop-up .custom-select-menu{top:auto;bottom:calc(100% + 7px)}
#sale .custom-select-option{display:block;width:100%;min-height:30px;padding:7px 10px;border:0;border-radius:6px;background:transparent;color:#3E4650;text-align:left;font-size:12.5px;font-weight:440;line-height:1.25;white-space:nowrap}
#sale .custom-select-option .dropdown-option-main,#sale .custom-select-option .customer-option-main{display:block;color:#303640;font-size:13px;font-weight:520;line-height:1.25}
#sale .custom-select-option .dropdown-option-meta{display:block;margin-top:3px;color:#8C939C;font-size:11px;font-weight:420;line-height:1.2}
#sale .custom-select-option .dropdown-option-stock{display:block;margin-top:3px;color:#7C848E;font-size:11.5px;font-weight:430;line-height:1.2}
#sale .custom-select-option:hover,#sale .custom-select-option.is-active{background:#F6F5F2;color:var(--ink)}
#sale .custom-select-option.selected{background:#F2F1EE;color:var(--ink);font-weight:560}
#sale .custom-select-option:disabled{opacity:.48;cursor:not-allowed}
#sale .qty-control{width:82px;min-height:28px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#626B76;font-size:13px;font-weight:430;font-variant-numeric:tabular-nums}
#sale .qty-control:focus{height:34px;padding:0 9px;border:1px solid #CBCFCF;border-radius:7px;background:#fff;outline:none;box-shadow:0 0 0 2px rgba(197,15,31,.04);color:var(--ink);font-weight:560}
#sale .editable-table th:nth-child(5),#sale .price-cell{text-align:left}
#sale .editable-table th:nth-child(6),#sale .action-cell{text-align:right}
#sale .price-readonly{display:block;width:100%;min-height:24px;color:var(--ink);font-size:15px;font-weight:650;font-variant-numeric:tabular-nums;text-align:left}
#sale .price-trace{text-align:left}
#sale .qty-control::-webkit-outer-spin-button,#sale .qty-control::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}
#sale .delete-link{display:inline-block;border:0;background:transparent;color:#A76B66;font-size:12px;font-weight:520;padding:0;text-align:right}
#sale .empty-hint{padding:22px 0;color:var(--muted);font-size:13px}
#sale .gift-line{display:grid;grid-template-columns:68px minmax(0,1fr);gap:12px;align-items:center;margin-top:14px;padding-top:14px;border-top:1px solid var(--line-soft)}
#sale .gift-title{color:var(--ink);font-size:14px;font-weight:560}
#sale .gift-empty{color:var(--muted);font-size:13px}
#sale .gift-capability{margin-top:4px;color:#A8AFB8;font-size:11px}
#sale .gift-panel{margin-top:14px;padding-top:14px;border-top:1px solid var(--line-soft)}
#sale .gift-rule-grid,#sale .gift-edit-line{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:10px;align-items:end}
#sale .gift-lines{display:grid;gap:8px;margin-top:10px}
#sale .v8-edit-sale-banner{margin:14px 0 0!important;padding:12px 14px!important;border:1px solid rgba(168,85,247,.42)!important;border-radius:16px!important;background:rgba(88,28,135,.28)!important;color:#f8fbff!important;display:flex!important;justify-content:space-between!important;gap:12px!important;align-items:center!important}
#sale .mini-label{display:block;margin-bottom:4px;color:var(--muted);font-size:10.5px;font-weight:430}
#sale .gift-summary{color:#737B85;font-size:12px}
#sale .gift-foot{margin-top:10px}
#sale .note-row{margin-top:14px;padding-top:14px;border-top:1px solid var(--line-soft)}
#sale .note-field{width:100%;height:40px;display:flex;align-items:center;padding:0 11px;border:1px solid #E3E6EB;border-radius:8px;background:#fff;color:#5D6672;font-size:13px}
#sale .note-field:focus{outline:none;border-color:#CBCFCF}
#sale .summary-title{margin:0;color:var(--ink);font-size:17px;font-weight:650}
#sale .summary-block{margin-top:23px}
#sale .summary-label{color:#9AA1A9;font-size:11.5px;font-weight:460}
#sale .summary-total{margin-top:7px;color:var(--ink);font-size:36px;line-height:.98;font-weight:650;letter-spacing:-.01em}
#sale .summary-currency{display:block;margin:6px 0 0;color:#A5ABB3;font-size:12px;font-weight:430;letter-spacing:.01em}
#sale .summary-divider{height:1px;background:rgba(226,224,218,.95);margin:20px 0}
#sale .summary-row{display:flex;align-items:center;justify-content:space-between;margin:9px 0;color:#737B85;font-size:13px}
#sale .summary-row strong{color:var(--text);font-size:13px;font-weight:500}
#sale .summary-row.debt strong{color:var(--debt)}
#sale .sale-summary-meta b{display:block;margin-bottom:6px;color:#737B85;font-size:12px;font-weight:500}
#sale .sale-summary-meta strong{display:block;color:#626A74;font-size:13px;font-weight:500}
#sale .sale-summary-meta span{display:block;margin-top:4px;color:var(--muted);font-size:11px}
#sale .confirm{width:100%;height:41px;margin-top:22px;border:0;border-radius:8px;background:var(--red-deep);color:#fff;font-size:13px;font-weight:600;box-shadow:none}
#sale .history{margin-top:38px}
#sale .history-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:12px}
#sale .history-title{margin:0;color:var(--ink);font-size:18px;font-weight:620}
#sale .history-subtitle{margin:3px 0 0;color:var(--muted);font-size:12px}
#sale .search{width:312px;height:36px;display:flex;align-items:center;padding:0 11px;border:1px solid #E3E6EB;border-radius:8px;background:#fff;color:var(--muted);font-size:13px}
#sale .search-field{width:100%;height:100%;border:0;background:transparent;color:var(--text);font-size:13px}
#sale .search-field:focus{outline:none}
#sale .history-surface,#stockProcess .history-surface,#returnManage .history-surface{background:var(--history);border-radius:12px;overflow:hidden;box-shadow:0 14px 34px rgba(28,31,35,.035)}
#sale .history-table,#stockProcess .history-table,#returnManage .history-table{width:100%;border-collapse:collapse;table-layout:fixed}
#sale .history-table th,#stockProcess .history-table th,#returnManage .history-table th{height:37px;padding:0 13px;background:#F5F4F1;color:#A6ADB5;font-size:10.5px;font-weight:420;text-align:left;border-bottom:1px solid var(--line-soft)}
#sale .history-table td,#stockProcess .history-table td,#returnManage .history-table td{height:55px;padding:0 13px;border-bottom:1px solid #ECEAE5;color:#404852;font-size:13px;vertical-align:middle}
#sale .history-table tr:last-child td,#stockProcess .history-table tr:last-child td,#returnManage .history-table tr:last-child td{border-bottom:0}
#sale .history-table tr:hover td,#stockProcess .history-table tr:hover td,#returnManage .history-table tr:hover td{background:#FBFBFA}
#sale .so{font-weight:650;color:var(--ink)}
#sale .date,#sale .muted{color:var(--muted)}
#sale .num{text-align:left;font-variant-numeric:tabular-nums}
#sale .debt-cell{color:var(--debt);font-weight:540}
#sale .debt-cell::before{content:"";display:inline-block;width:5px;height:5px;margin-right:7px;border-radius:50%;background:var(--debt);vertical-align:middle;opacity:.72}
#sale .zero-cell{color:#3F4752;font-weight:470}
#sale .zero-cell::before{content:"";display:inline-block;width:5px;height:5px;margin-right:7px;border-radius:50%;background:var(--green-soft);vertical-align:middle;opacity:.76}
#sale .status{display:inline-flex;align-items:center;gap:6px;color:#424A56;font-weight:470}
#sale .status::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--green);opacity:.76}
#sale .status.due::before{background:var(--debt);opacity:.78}
#sale .status.partial::before{background:#A88F87;opacity:.76}
#sale .status.clear::before{background:var(--green-soft);opacity:.86}
#sale .status.returned::before{background:#9EA3AA;opacity:.78}
#sale .status.void::before{background:#B28A85;opacity:.8}
#sale .actions{display:flex;align-items:center;gap:10px;white-space:nowrap;position:relative;z-index:1;pointer-events:auto}
#sale .action{display:inline-flex;align-items:center;min-height:28px;margin:0;padding:0 1px;border:0;background:transparent;color:#9AA1AA;text-decoration:none;font-size:12px;font-weight:460;font-family:inherit;line-height:1.25;white-space:nowrap;cursor:pointer;pointer-events:auto;position:relative;z-index:1;appearance:none}
#sale .actions .action:first-child{color:#626A74;font-weight:520}
#sale .action.danger{color:#B28A85}
#sale .return-note{margin-top:3px;color:var(--muted);font-size:11px;font-weight:420}
#stockProcess .ledger-main,#returnManage .ledger-main{font-weight:650;color:var(--ink)}
#stockProcess .date,#returnManage .date,#stockProcess .muted,#returnManage .muted{color:var(--muted)}
#stockProcess .num,#returnManage .num{text-align:left;font-variant-numeric:tabular-nums}
#stockProcess .actions,#returnManage .actions{display:flex;align-items:center;gap:10px;white-space:nowrap;position:relative;z-index:1;pointer-events:auto}
#stockProcess .action,#returnManage .action{display:inline-flex;align-items:center;min-height:28px;margin:0;padding:0 1px;border:0;background:transparent;color:#9AA1AA;text-decoration:none;font-size:12px;font-weight:460;font-family:inherit;line-height:1.25;white-space:nowrap;cursor:pointer;pointer-events:auto;position:relative;z-index:1;appearance:none}
#stockProcess .actions .action:first-child,#returnManage .actions .action:first-child{color:#626A74;font-weight:520}
#stockProcess .action.danger,#returnManage .action.danger{color:#B28A85}
#stockProcess .status,#returnManage .status{display:inline-flex;align-items:center;gap:6px;color:#424A56;font-weight:470}
#stockProcess .status::before,#returnManage .status::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--green);opacity:.76}
#stockProcess .status.due::before,#returnManage .status.due::before{background:var(--debt);opacity:.78}
#stockProcess .status.partial::before,#returnManage .status.partial::before{background:#A88F87;opacity:.76}
#stockProcess .status.clear::before,#returnManage .status.clear::before{background:var(--green-soft);opacity:.86}
#stockProcess .status.returned::before,#returnManage .status.returned::before{background:#9EA3AA;opacity:.78}
#stockProcess .status.void::before,#returnManage .status.void::before{background:#B28A85;opacity:.8}
#stockProcess .return-note,#returnManage .return-note{margin-top:3px;color:var(--muted);font-size:11px;font-weight:420}
:is(#sale,#product,#stockin,#customer,#stockProcess,#returnManage) .pagination{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:10px 0 0;color:var(--muted);font-size:12px;font-weight:420}
:is(#sale,#product,#stockin,#customer,#stockProcess,#returnManage) .pagination .page-stat{margin-right:auto;color:#9299A2}
:is(#sale,#product,#stockin,#customer,#stockProcess,#returnManage) .pagination .page-controls{display:inline-flex;align-items:center;gap:4px}
:is(#sale,#product,#stockin,#customer,#stockProcess,#returnManage) .pagination .page-icon,:is(#sale,#product,#stockin,#customer,#stockProcess,#returnManage) .pagination .page-number{display:inline-flex;align-items:center;justify-content:center;height:30px;min-height:30px;max-height:30px;min-width:30px;padding:0;border:1px solid transparent;border-radius:7px;background:transparent;color:#66707C;font-size:13px;line-height:1;box-shadow:none;font-variant-numeric:tabular-nums}
:is(#sale,#product,#stockin,#customer,#stockProcess,#returnManage) .pagination .page-icon{font-size:17px;font-weight:430;color:#7A838E}
:is(#sale,#product,#stockin,#customer,#stockProcess,#returnManage) .pagination .page-number.active{background:#F5F3F0;border-color:#E7E3DD;color:#303640;font-weight:560}
:is(#sale,#product,#stockin,#customer,#stockProcess,#returnManage) .pagination .page-icon:hover:not(:disabled),:is(#sale,#product,#stockin,#customer,#stockProcess,#returnManage) .pagination .page-number:hover:not(:disabled){background:#F8F8F6;border-color:#ECE8E1;color:#303640}
:is(#sale,#product,#stockin,#customer,#stockProcess,#returnManage) .pagination .page-icon:disabled{color:#CDD2D8;background:transparent;border-color:transparent;opacity:1}
#product .product-page-header{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:12px}
#product .product-title-block{min-width:0}
#product .history-head,#stockin .history-head,#customer .history-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:12px}
#product .history-title,#stockin .history-title,#customer .history-title{margin:0;color:var(--ink);font-size:18px;font-weight:620}
#product .history-subtitle,#stockin .history-subtitle,#customer .history-subtitle{margin:3px 0 0;color:var(--muted);font-size:12px}
#product .master-section{margin-top:0}
#stockin .master-section,#customer .master-section{margin-top:20px}
#product .master-toolbar,#customer .master-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;flex-wrap:nowrap}
#product .search,#stockin .search,#customer .search{width:312px;height:36px;display:flex;align-items:center;padding:0 11px;border:1px solid #E3E6EB;border-radius:8px;background:#fff;color:var(--muted);font-size:13px}
#product .search-field,#stockin .search-field,#customer .search-field{width:100%;height:100%;border:0;background:transparent;color:var(--text);font-size:13px}
#product .search-field:focus,#stockin .search-field:focus,#customer .search-field:focus{outline:none}
#product .add-btn,#customer .add-btn{height:36px;padding:0 14px;border:1px solid #DEDCD7;border-radius:8px;background:#fff;color:#3E4650;font-size:13px;font-weight:540;box-shadow:0 1px 0 rgba(17,21,28,.025)}
#product .add-btn:not(.subtle-action){border-color:#D4D0C8;background:#FCFCFA;color:#303640;font-weight:580}
#product .add-btn.subtle-action{color:#747C86;font-weight:430;background:transparent;border-color:#E7E4DE}
#product .history-surface,#stockin .history-surface,#customer .history-surface{background:var(--history);border-radius:12px;overflow:hidden;box-shadow:0 14px 34px rgba(28,31,35,.035)}
#product .history-table,#stockin .history-table,#customer .history-table{width:100%;border-collapse:collapse;table-layout:fixed}
#product .master-section,#product .history-surface,#product .history-table{width:100%;max-width:none}
#product .history-table th,#stockin .history-table th,#customer .history-table th{height:37px;padding:0 13px;background:#F5F4F1;color:#A6ADB5;font-size:10.5px;font-weight:420;text-align:left;border-bottom:1px solid var(--line-soft)}
#product .history-table td,#stockin .history-table td,#customer .history-table td{height:55px;padding:0 13px;border-bottom:1px solid #ECEAE5;color:#404852;font-size:13px;vertical-align:middle}
#product .history-table tr:last-child td,#stockin .history-table tr:last-child td,#customer .history-table tr:last-child td{border-bottom:0}
#product .history-table tr:hover td,#stockin .history-table tr:hover td,#customer .history-table tr:hover td{background:#FBFBFA}
#product .ledger-main,#stockin .ledger-main,#customer .ledger-main{font-weight:650;color:var(--ink)}
#product .muted,#stockin .muted,#customer .muted{color:var(--muted)}
#product .sku-code,#stockin .sku-code,#customer .sku-code{color:#68717D;font-size:12px;font-weight:460}
#product .product-sku-cell{font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;color:inherit;letter-spacing:0;white-space:nowrap;overflow:visible;text-overflow:clip}
#product .product-sku-cell::before,#product .product-sku-cell::after{content:none!important;display:none!important;border:0!important}
#product .product-spec-cell,#product .product-pack-cell,#product .price-cell,#product .price-cell b,#product .stock-cell b,#product .stock-cell .muted{white-space:nowrap}
#product .num,#stockin .num,#customer .num{text-align:left;font-variant-numeric:tabular-nums}
#product .stock-cell,#product .price-cell,#stockin .qty-cell,#customer .customer-kpi-number{font-variant-numeric:tabular-nums}
#product .history-table th:nth-child(5),#product .history-table th:nth-child(6),#product .history-table td:nth-child(5),#product .history-table td:nth-child(6){text-align:left}
#product .history-table td:nth-child(5) .stock-cell,#product .history-table td:nth-child(6) .price-cell{display:block;width:100%;text-align:left;justify-content:flex-start;align-items:flex-start;place-content:start;margin-left:0;margin-right:0}
#product .stock-cell .ledger-main,#product .stock-cell .muted,#product .price-cell > div,#product .price-cell .muted{display:block;text-align:left;margin-left:0;margin-right:0}
#product .history-table th:last-child,#product .history-table td:last-child{text-align:right}
#product .price-cell{color:#555E69;font-weight:430}
#product .price-cell .muted{color:#8C939C;font-weight:420}
#customer .history-table th:nth-child(4),#customer .history-table th:nth-child(5),#customer .history-table th:nth-child(6),#customer .history-table td:nth-child(4),#customer .history-table td:nth-child(5),#customer .history-table td:nth-child(6){text-align:left}
#customer .history-table th:last-child,#customer .history-table td:last-child{text-align:left}
#customer .history-table td:last-child .actions{justify-content:flex-start}
#customer .debt-inline{display:inline-flex;align-items:center;justify-content:flex-start;gap:7px;min-width:0;font-variant-numeric:tabular-nums}
#customer .debt-cell{color:var(--debt);font-weight:540}
#customer .debt-cell::before{content:"";display:inline-block;flex:0 0 auto;width:5px;height:5px;border-radius:50%;background:var(--debt);opacity:.72}
#customer .zero-cell{color:#3F4752;font-weight:470}
#customer .zero-cell::before{content:"";display:inline-block;flex:0 0 auto;width:5px;height:5px;border-radius:50%;background:var(--green-soft);opacity:.76}
#product .actions,#customer .actions{display:flex;align-items:center;gap:10px;white-space:nowrap;position:relative;z-index:1;pointer-events:auto}
#product .actions{justify-content:flex-end}
#product .action,#customer .action{display:inline-flex;align-items:center;min-height:28px;margin:0;padding:0 1px;border:0;background:transparent;color:#9AA1AA;text-decoration:none;font-size:12px;font-weight:460;font-family:inherit;line-height:1.25;white-space:nowrap;cursor:pointer;pointer-events:auto;position:relative;z-index:1;appearance:none}
#product .actions .action:first-child,#customer .actions .action:first-child{color:#626A74;font-weight:520}
#product .action-del,#customer .action-del{color:#B28A85}
#stockin .master-entry{background:var(--surface);padding:24px 28px;border-radius:12px;box-shadow:var(--shadow)}
#stockin .section-label{margin:0 0 12px;color:#5B6470;font-size:12px;font-weight:560;letter-spacing:0}
#stockin .entry-grid{display:grid;grid-template-columns:minmax(280px,1.45fr) minmax(110px,.55fr) 96px 138px 138px minmax(300px,1.35fr) 136px;gap:14px;align-items:end}
#stockin .entry-field{min-width:0}
#stockin .note-field-wrap{min-width:260px}
#stockin .submit-field{justify-self:end;width:136px}
#stockin .field-label{display:block;margin-bottom:5px;color:var(--muted);font-size:11px;font-weight:520}
#stockin .master-input{width:100%;height:38px;padding:0 10px;border:1px solid #E3E6EB;border-radius:8px;background:#fff;color:var(--text);font-size:13px;font-variant-numeric:tabular-nums}
#stockin .readonly-value{display:flex;align-items:center;background:#FAFAF8;color:#2F3642}
#stockin .master-input:focus{outline:none;border-color:#CBCFCF;box-shadow:0 0 0 2px rgba(197,15,31,.04)}
#stockin .compact-confirm{width:100%;height:38px;margin:0;border:0;border-radius:8px;background:var(--red-deep);color:#fff;font-size:13px;font-weight:600;box-shadow:none}
#stockin .field-hint{display:none;margin-top:5px;color:var(--muted);font-size:11px}
#stockin .native-data-select{display:none}
#stockin #stockGoodsDropdownHost,#stockin #stockUnitDropdownHost{width:100%}
#stockin .master-product-dropdown{display:block;width:100%}
#customer .customer-kpi-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0;background:#FCFCFA;border:1px solid #E7E4DE;border-radius:12px;overflow:hidden;box-shadow:none}
#customer .customer-kpi-item{position:relative;min-width:0;padding:12px 18px;background:transparent;border:0;box-shadow:none;border-radius:0;text-align:left;display:block}
#customer .customer-kpi-item:not(:last-child)::after{content:"";position:absolute;right:0;top:13px;bottom:13px;width:1px;background:#E4E1DA}
#customer .kpi-title{color:#9BA2AA;font-size:10.5px;font-weight:470}
#customer .customer-kpi-number{margin-top:5px;color:var(--ink);font-size:15px;line-height:1.25;font-weight:560;text-align:left;letter-spacing:0;white-space:nowrap}
:is(#ltrcms,#stockProcess,#fbo,#returnManage) .master-section{margin-top:20px}
:is(#ltrcms,#fbo) .history-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:12px}
:is(#ltrcms,#fbo) .history-title{margin:0;color:var(--ink);font-size:18px;font-weight:620}
:is(#ltrcms,#fbo) .history-subtitle{margin:3px 0 0;color:var(--muted);font-size:12px}
:is(#ltrcms,#fbo) .history-surface{background:var(--history);border-radius:12px;overflow:hidden;box-shadow:0 14px 34px rgba(28,31,35,.035)}
:is(#ltrcms,#fbo) .history-table{width:100%;border-collapse:collapse;table-layout:fixed}
:is(#ltrcms,#fbo) .history-table th{height:37px;padding:0 13px;background:#F5F4F1;color:#A6ADB5;font-size:10.5px;font-weight:420;text-align:left;border-bottom:1px solid var(--line-soft)}
:is(#ltrcms,#fbo) .history-table td{height:55px;padding:0 13px;border-bottom:1px solid #ECEAE5;color:#404852;font-size:13px;vertical-align:middle}
:is(#ltrcms,#fbo) .history-table tr:last-child td{border-bottom:0}
:is(#ltrcms,#fbo) .history-table tr:hover td{background:#FBFBFA}
:is(#ltrcms,#fbo) .ledger-main{font-weight:650;color:var(--ink)}
:is(#ltrcms,#fbo) .muted{color:var(--muted)}
:is(#ltrcms,#fbo) .sku-code{color:#68717D;font-size:12px;font-weight:460}
:is(#ltrcms,#fbo) .num{text-align:left;font-variant-numeric:tabular-nums}
:is(#ltrcms,#fbo) .actions{display:flex;align-items:center;justify-content:flex-start;gap:10px;white-space:nowrap;position:relative;z-index:1;pointer-events:auto}
:is(#ltrcms,#fbo) .action{display:inline-flex;align-items:center;min-height:28px;margin:0;padding:0 1px;border:0;background:transparent;color:#9AA1AA;text-decoration:none;font-size:12px;font-weight:460;font-family:inherit;line-height:1.25;white-space:nowrap;cursor:pointer;pointer-events:auto;position:relative;z-index:1;appearance:none}
:is(#ltrcms,#fbo) .actions .action:first-child{color:#626A74;font-weight:520}
:is(#ltrcms,#fbo) .action.danger{color:#B28A85}
:is(#ltrcms,#fbo) .status{display:inline-flex;align-items:center;gap:6px;color:#424A56;font-weight:470}
:is(#ltrcms,#fbo) .status::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--green);opacity:.76}
:is(#ltrcms,#fbo) .status.due::before{background:var(--debt);opacity:.78}
:is(#ltrcms,#fbo) .status.partial::before{background:#A88F87;opacity:.76}
:is(#ltrcms,#fbo) .status.clear::before{background:var(--green-soft);opacity:.86}
:is(#ltrcms,#fbo) .status.returned::before{background:#9EA3AA;opacity:.78}
:is(#ltrcms,#fbo) .status.void::before{background:#B28A85;opacity:.8}
:is(#ltrcms,#fbo) .pagination{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:10px 0 0;color:var(--muted);font-size:12px;font-weight:420}
:is(#ltrcms,#fbo) .pagination .page-stat{margin-right:auto;color:#9299A2}
:is(#ltrcms,#fbo) .pagination .page-controls{display:inline-flex;align-items:center;gap:4px}
:is(#ltrcms,#fbo) .pagination .page-icon,:is(#ltrcms,#fbo) .pagination .page-number{display:inline-flex;align-items:center;justify-content:center;height:30px;min-height:30px;max-height:30px;min-width:30px;padding:0;border:1px solid transparent;border-radius:7px;background:transparent;color:#66707C;font-size:13px;line-height:1;box-shadow:none;font-variant-numeric:tabular-nums}
:is(#ltrcms,#fbo) .pagination .page-icon{font-size:17px;font-weight:430;color:#7A838E}
:is(#ltrcms,#fbo) .pagination .page-number.active{background:#F5F3F0;border-color:#E7E3DD;color:#303640;font-weight:560}
:is(#ltrcms,#fbo) .pagination .page-icon:hover:not(:disabled),:is(#ltrcms,#fbo) .pagination .page-number:hover:not(:disabled){background:#F8F8F6;border-color:#ECE8E1;color:#303640}
:is(#ltrcms,#fbo) .pagination .page-icon:disabled{color:#CDD2D8;background:transparent;border-color:transparent;opacity:1}
:is(#stockProcess,#fbo,#returnManage) .batch2-workspace{background:var(--surface);padding:24px 28px;border-radius:12px;box-shadow:var(--shadow)}
#returnManage .return-entry-strip{display:none}
#returnManage .return-kpi-strip{display:grid;grid-template-columns:repeat(4,minmax(118px,1fr)) minmax(174px,.78fr);gap:0;margin:0;background:#FCFCFA;border:1px solid #E7E4DE;border-radius:12px;overflow:hidden;box-shadow:none}
#returnManage .customer-kpi-item{position:relative;min-width:0;padding:12px 18px;background:transparent;border:0;box-shadow:none;border-radius:0;text-align:left;display:block}
#returnManage .customer-kpi-item:not(:last-child)::after{content:"";position:absolute;right:0;top:13px;bottom:13px;width:1px;background:#E4E1DA}
#returnManage .kpi-title{color:#9BA2AA;font-size:10.5px;font-weight:470;line-height:1.35}
#returnManage .customer-kpi-number{margin-top:5px;color:var(--ink);font-size:15px;line-height:1.25;font-weight:560;text-align:left;letter-spacing:0;white-space:nowrap;font-variant-numeric:tabular-nums}
#returnManage .return-kpi-action{display:flex;align-items:center;justify-content:flex-end;padding:12px 16px}
#returnManage .return-kpi-action .add-btn{height:34px;white-space:nowrap}
#returnManage .return-filterbar{display:grid;grid-template-columns:minmax(260px,1fr) 138px 132px 132px auto;align-items:end;gap:10px;min-width:min(100%,820px)}
#returnManage .return-filterbar .search{width:100%;height:36px;display:flex;align-items:center;padding:0 11px;border:1px solid #E3E6EB;border-radius:8px;background:#fff;color:var(--muted);font-size:13px}
#returnManage .return-filterbar .search-field{width:100%;height:100%;border:0;background:transparent;color:var(--text);font-size:13px}
#returnManage .return-filterbar .search-field:focus{outline:none}
#returnManage .return-filter-control{min-width:0}
#returnManage .return-date{height:36px}
#returnManage .return-filterbar .add-btn{height:36px;white-space:nowrap}
#returnManage .return-note{margin-top:3px;color:var(--muted);font-size:11px;font-weight:420}
#returnManage ~ #globalModal .return-detail-grid,.return-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.return-detail-card{min-width:0;padding:11px 12px;border:1px solid #E7E4DE;border-radius:10px;background:#FCFCFA}
.return-detail-card b{display:block;margin:0 0 5px;color:#9BA2AA;font-size:10.5px;font-weight:470}
.return-detail-card span{display:block;color:var(--ink);font-size:13px;font-weight:520;line-height:1.35;word-break:break-word}
:is(#stockProcess,#fbo) .batch2-entry-grid{display:grid;grid-template-columns:minmax(260px,1.5fr) minmax(160px,.8fr) minmax(96px,.45fr) 96px minmax(150px,.7fr) minmax(210px,1fr) 128px;gap:14px;align-items:end}
#fbo .batch2-entry-grid{grid-template-columns:minmax(260px,1.35fr) minmax(150px,.72fr) minmax(90px,.42fr) 90px minmax(140px,.62fr) minmax(190px,.95fr) 150px}
#stockProcess .batch2-entry-grid{grid-template-columns:minmax(300px,1.6fr) minmax(190px,.95fr) minmax(96px,.45fr) 96px minmax(250px,1fr) 128px}
#stockProcess .field-wide:last-of-type{grid-column:auto}
:is(#ltrcms,#stockProcess,#fbo,#returnManage) .field{min-width:0}
:is(#ltrcms,#stockProcess,#fbo,#returnManage) .form-label{display:block;margin-bottom:5px;color:var(--muted);font-size:11px;font-weight:520}
:is(#ltrcms,#stockProcess,#fbo,#returnManage) .master-input,:is(#ltrcms,#stockProcess,#fbo,#returnManage) .form-input{width:100%;height:38px;padding:0 10px;border:1px solid #E3E6EB;border-radius:8px;background:#fff;color:var(--text);font-size:13px;font-variant-numeric:tabular-nums}
:is(#ltrcms,#stockProcess,#fbo,#returnManage) .master-input:focus,:is(#ltrcms,#stockProcess,#fbo,#returnManage) .form-input:focus{outline:none;border-color:#CBCFCF;box-shadow:0 0 0 2px rgba(197,15,31,.04)}
:is(#ltrcms,#stockProcess,#fbo,#returnManage) .add-btn{height:36px;padding:0 14px;border:1px solid #DEDCD7;border-radius:8px;background:#fff;color:#3E4650;font-size:13px;font-weight:540;box-shadow:0 1px 0 rgba(17,21,28,.025)}
:is(#stockProcess,#fbo) .primary-action-btn{width:100%;height:38px;border:0;background:var(--red-deep);color:#fff;font-weight:600}
#fbo .action-field{min-width:150px;justify-self:end;width:150px}
#fbo .primary-action-btn{min-width:150px;white-space:nowrap;padding-left:14px;padding-right:14px}
:is(#ltrcms,#stockProcess,#fbo,#returnManage) .secondary-tool{border-color:#E7E4DE;background:transparent;color:#747C86;font-weight:430}
.batch2-summary-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:20px 0 0;background:#FCFCFA;border:1px solid #E7E4DE;border-radius:12px;overflow:hidden;box-shadow:none}
.batch2-summary-item{position:relative;min-width:0;padding:12px 18px;background:transparent}
.batch2-summary-item:not(:last-child)::after{content:"";position:absolute;right:0;top:13px;bottom:13px;width:1px;background:#E4E1DA}
.batch2-summary-label{color:#9BA2AA;font-size:10.5px;font-weight:470}
.batch2-summary-value{margin-top:5px;color:var(--ink);font-size:15px;line-height:1.25;font-weight:560;text-align:left;font-variant-numeric:tabular-nums;white-space:nowrap}
:is(#stockProcess,#fbo,#returnManage) .batch2-note{margin:0;color:#7E8791;font-size:12px;font-weight:430;line-height:1.45}
#fbo .batch2-note{margin-top:10px}
.batch2-empty{padding:28px 20px;text-align:center;color:var(--muted)}
.batch2-empty-title{margin-bottom:6px;color:var(--ink);font-size:14px;font-weight:560}
.batch2-delta{font-weight:540;font-variant-numeric:tabular-nums;color:#555E69}
.batch2-delta.neg{color:var(--debt)}
.batch2-delta.pos{color:#566C5C}
.batch2-delta.zero{color:var(--muted)}
:is(#ltrcms,#stockProcess,#fbo) .master-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;flex-wrap:nowrap}
#ltrcms .batch2-ltrcms-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) 150px 150px 136px 136px 88px;gap:8px;align-items:end}
:is(#ltrcms,#stockProcess,#fbo) .search{width:312px;height:36px;display:flex;align-items:center;padding:0 11px;border:1px solid #E3E6EB;border-radius:8px;background:#fff;color:var(--muted);font-size:13px}
#ltrcms .search{width:100%}
:is(#ltrcms,#stockProcess,#fbo) .search-field{width:100%;height:100%;border:0;background:transparent;color:var(--text);font-size:13px}
:is(#ltrcms,#stockProcess,#fbo) .search-field:focus{outline:none}
:is(#ltrcms,#stockProcess,#fbo) .native-data-select{display:none}
.batch2-native-select{display:none}
.batch2-dropdown-host{width:100%}
.batch2-value{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1500px){
  .shell-inner{padding-left:24px;padding-right:24px}
  .module-nav{gap:20px}
  #sale .workbench{grid-template-columns:minmax(0,1fr) 286px}
  #sale .builder{padding-left:24px;padding-right:24px}
  #sale .summary{padding-left:22px;padding-right:22px}
  #sale .command-strip{grid-template-columns:minmax(230px,1fr) minmax(330px,1.22fr) 148px;gap:18px}
  #sale .editable-table col.product{width:36%}
  #sale .editable-table col.price{width:19%}
  #sale .history-table th,#sale .history-table td,#stockProcess .history-table th,#stockProcess .history-table td,#returnManage .history-table th,#returnManage .history-table td{padding-left:11px;padding-right:11px}
  #product .history-table th,#product .history-table td,#stockin .history-table th,#stockin .history-table td,#customer .history-table th,#customer .history-table td,:is(#ltrcms,#fbo) .history-table th,:is(#ltrcms,#fbo) .history-table td{padding-left:11px;padding-right:11px}
  #stockin .entry-grid{grid-template-columns:minmax(250px,1.25fr) 104px 84px 126px 126px minmax(240px,1fr) 126px;gap:12px}
  #stockin .submit-field{width:126px}
  :is(#stockProcess,#fbo) .batch2-entry-grid{grid-template-columns:minmax(220px,1.25fr) minmax(148px,.8fr) 88px 88px minmax(132px,.7fr) minmax(180px,1fr) 112px;gap:12px}
  #fbo .batch2-entry-grid{grid-template-columns:minmax(220px,1.18fr) minmax(140px,.72fr) 84px 84px minmax(124px,.6fr) minmax(168px,.88fr) 144px}
  #fbo .action-field{width:144px;min-width:144px}
  #fbo .primary-action-btn{min-width:144px}
  #stockProcess .batch2-entry-grid{grid-template-columns:minmax(260px,1.35fr) minmax(168px,.9fr) 88px 88px minmax(210px,1fr) 112px}
  #ltrcms .batch2-ltrcms-toolbar{grid-template-columns:minmax(220px,1fr) 138px 138px 128px 128px 84px}
}
@media(max-width:1120px){
  #sale .workbench{grid-template-columns:1fr}
  #sale .builder{border-radius:12px}
  #sale .summary{border-radius:12px}
  #sale .command-strip{grid-template-columns:1fr}
  #sale .history-head{align-items:stretch;flex-direction:column}
  #sale .search{width:100%}
  #sale .history-surface,#stockProcess .history-surface,#returnManage .history-surface{overflow-x:auto}
  #sale .history-table{min-width:1040px}
  #product .product-page-header,#product .history-head,#stockin .history-head,#customer .history-head{align-items:stretch;flex-direction:column}
  #product .master-toolbar,#customer .master-toolbar{align-items:stretch;flex-direction:column}
  #product .search,#stockin .search,#customer .search{width:100%}
  #product .history-surface,#stockin .history-surface,#customer .history-surface{overflow-x:auto}
  :is(#ltrcms,#fbo) .history-surface{overflow-x:auto}
  #product .history-table{min-width:980px}
  #stockin .history-table{min-width:760px}
  #customer .history-table{min-width:980px}
  #ltrcms .history-table{min-width:1180px}
  #stockProcess .history-table,:is(#fbo) .history-table{min-width:760px}
  #returnManage .history-table{min-width:1080px}
  #stockin .entry-grid,#customer .customer-kpi-strip{grid-template-columns:1fr}
  :is(#stockProcess,#fbo) .batch2-entry-grid,#ltrcms .batch2-ltrcms-toolbar,.batch2-summary-strip{grid-template-columns:1fr}
  #returnManage .return-filterbar{grid-template-columns:1fr}
  #returnManage .return-kpi-strip{grid-template-columns:1fr}
  #returnManage .return-kpi-action{justify-content:flex-start}
}
