html:has(.m-app),body:has(.m-app),#root:has(.m-app){height:100%;max-height:100dvh;overflow:hidden}.m-app{height:100%;min-height:0;max-height:100dvh;display:flex;flex-direction:column;overflow:hidden;background:#f0f3f1;max-width:560px;margin:0 auto}.m-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;padding-top:max(12px,env(safe-area-inset-top));background:linear-gradient(135deg,#0f3d30,#1a5f4a)}.m-link-btn,.m-text-link{border:none;background:transparent;color:#ffffffe6;font-size:13px;padding:4px 0;cursor:pointer}.m-text-link{color:#1a5f4a;display:block;margin-top:12px;text-align:center}.m-main{flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;padding-bottom:calc(72px + env(safe-area-inset-bottom))}.m-tabbar{position:fixed;left:50%;transform:translate(-50%);bottom:0;width:100%;max-width:560px;display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border-top:1px solid #e5ebe7;padding-bottom:env(safe-area-inset-bottom);z-index:20}.m-tabbar-4{grid-template-columns:repeat(4,1fr)}.m-tab{border:none;background:transparent;padding:8px 4px 10px;display:flex;flex-direction:column;align-items:center;gap:2px;color:#888;font-size:12px;cursor:pointer}.m-tab.active{color:#1a5f4a;font-weight:600}.m-tab-icon{font-size:20px;line-height:1}.m-page{padding:12px 14px 24px;min-height:0}.m-loc-select{width:100%;position:relative}.m-loc-compose{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.m-loc-compose-lab{font-size:12px;color:#666;margin-bottom:4px;text-align:center}.m-loc-compose-preview{margin-top:8px;font-size:14px;color:#555;text-align:center}.m-loc-compose-preview strong{color:#1a5f4a;font-size:18px;margin-left:6px;letter-spacing:.3px}.m-loc-select-actions{display:flex;gap:8px;margin-top:8px}.m-loc-create-modal .ant-modal{top:12px;max-width:calc(100vw - 24px);padding-bottom:0}.m-loc-create-modal .ant-modal-body{max-height:min(60vh,420px);overflow-y:auto;-webkit-overflow-scrolling:touch}.m-page-title{font-size:18px;font-weight:700;margin-bottom:12px;color:#163d32}.m-section-title{font-size:14px;font-weight:600;margin:14px 0 8px;color:#333;display:flex;justify-content:space-between}.m-center{min-height:40vh;display:grid;place-items:center}.m-card-list{display:flex;flex-direction:column;gap:10px}.m-order-card,.m-line-card{width:100%;text-align:left;border:1px solid #e5ebe7;background:#fff;border-radius:10px;padding:12px 14px;cursor:pointer}.m-order-top,.m-order-bottom,.m-line-row,.m-line-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.m-order-meta,.m-line-code{color:#888;font-size:12px;margin:6px 0}.m-amount{color:#1a5f4a;font-weight:700}.m-line-name{font-weight:600;font-size:14px;color:#222}.m-field{margin-bottom:12px}.m-field label{display:block;font-size:13px;color:#555;margin-bottom:6px}.m-scan-box{display:flex;gap:8px;align-items:center;background:#fff;border:2px solid #1a5f4a;border-radius:12px;padding:8px 10px;margin-bottom:8px}.m-scan-box .ant-input-affix-wrapper,.m-scan-box .ant-input{flex:1;min-width:0}.m-scan-icon{color:#1a5f4a;font-size:22px}.m-scan-cam{border:none;background:#e8f5f0;color:#1a5f4a;width:40px;height:40px;border-radius:8px;font-size:20px;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}.m-scan-cam:disabled{opacity:.5}.m-cam-wrap{display:none;position:relative;margin:0 0 12px;border-radius:12px;overflow:hidden;background:#111}.m-cam-wrap.on{display:block}.m-cam-reader{width:100%;min-height:220px}.m-cam-reader video{width:100%!important;max-height:260px!important;object-fit:cover}.m-scan-cam.on{background:#1a5f4a;color:#fff}.m-cam-video{width:100%;max-height:240px;object-fit:cover;display:block}.m-cam-close{position:absolute;right:8px;bottom:8px;border:none;background:#000000a6;color:#fff;border-radius:8px;padding:6px 10px}.m-scan-go{border:none;background:#1a5f4a;color:#fff;border-radius:8px;padding:0 14px;height:40px;font-weight:600;cursor:pointer}.m-hint{color:#888;font-size:13px;line-height:1.5;padding:8px 4px}.m-line-card.editable{cursor:default}.m-line-edit{display:grid;grid-template-columns:1fr 1fr .9fr;gap:8px;margin-top:10px}.m-line-edit-2{grid-template-columns:1fr 1fr}.m-page .ant-checkbox-group{display:flex;flex-wrap:wrap;gap:8px 12px}.m-pack-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;padding-top:8px;border-top:1px dashed #d7e3dc}.m-pack-ratio{width:100%;font-size:12px;color:#1a5f4a;line-height:1.4}.m-pack-cell{display:flex;align-items:center;gap:4px;min-width:0}.m-pack-cell .ant-input-number{width:72px}.m-pack-cell span{font-size:13px;color:#1a5f4a;white-space:nowrap}.m-mini-label{display:block;font-size:11px;color:#999;margin-bottom:4px}.m-line-amount strong{display:block;margin-top:8px;color:#1a5f4a}.m-icon-btn{border:none;background:#f5f5f5;width:36px;height:36px;border-radius:8px;color:#c0392b;cursor:pointer}.m-submit-bar{position:sticky;bottom:calc(56px + env(safe-area-inset-bottom));z-index:6;margin-top:16px;background:#fff;border:1px solid #e5ebe7;border-radius:12px;padding:12px;display:grid;gap:10px;box-shadow:0 -4px 20px #0000000a}.m-submit-total{font-size:15px}.m-submit-total strong{color:#1a5f4a;font-size:22px;margin-left:6px}.m-submit-draft-no{margin-top:4px;font-size:12px;color:#66786f}.m-submit-actions{display:grid;grid-template-columns:1fr 1.15fr;gap:8px}.m-filter-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}.m-filter-tab{border:1px solid #d5e0da;background:#fff;color:#3d5249;border-radius:999px;height:32px;padding:0 12px;font-size:13px;cursor:pointer}.m-filter-tab.on{background:#1a5f4a;border-color:#1a5f4a;color:#fff;font-weight:600}.m-primary-btn,.m-secondary-btn,.m-danger-btn{width:100%;height:48px;border-radius:10px;border:none;font-size:16px;font-weight:600;cursor:pointer}.m-primary-btn{background:#1a5f4a;color:#fff}.m-primary-btn:disabled{opacity:.6;cursor:not-allowed}.m-secondary-btn{background:#e8f2ee;color:#1a5f4a}.m-danger-btn{background:#fff;color:#c0392b;border:1px solid #f0c2bc}.m-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 16px}.m-action-grid .ant-btn{height:44px;font-size:15px}.m-print-hint{margin:0 0 12px;color:#666;font-size:13px}.m-print-actions{display:flex;flex-direction:column;gap:10px}.m-print-modal .ant-modal-body{padding-top:8px}.m-wms-cards{display:flex;flex-direction:column;gap:12px;margin-top:16px}.m-wms-card{display:flex;align-items:center;gap:14px;width:100%;text-align:left;border:none;background:#fff;border-radius:12px;padding:16px;box-shadow:0 2px 10px #0f3d300f;cursor:pointer}.m-wms-card-icon{width:44px;height:44px;border-radius:12px;background:#e8f2ee;color:#1a5f4a;display:grid;place-items:center;font-size:22px;flex-shrink:0}.m-wms-card-title{font-size:16px;font-weight:600;color:#0f3d30}.m-wms-card-desc{font-size:12px;color:#888;margin-top:2px}.m-login{min-height:100%;min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(160deg,#0f3d30,#1a5f4a 45%,#e8eee9 45%)}.m-login-card{width:100%;max-width:400px;background:#fff;border-radius:16px;padding:28px 22px;box-shadow:0 12px 40px #0f3d302e}.m-login-card h1{margin:0;font-size:24px;color:#0f3d30}.m-login-card p{margin:6px 0 20px;color:#888}.m-login-field-label{display:block;margin:10px 0 6px;font-size:13px;color:#555}.m-login-pda{padding:0;place-items:stretch;background:#0f3d30}.m-login-pda .m-login-card{max-width:none;min-height:100vh;border-radius:0;padding:10px 10px 8px;display:flex;flex-direction:column;box-shadow:none}.m-login-pda .m-login-card h1{font-size:18px}.m-login-pda .m-login-card p{margin:4px 0 10px;font-size:13px;line-height:1.35}.m-login-echo{display:block;width:100%;text-align:left;border:2px solid #c5d5cc;background:#fff;border-radius:10px;padding:8px 10px;margin-bottom:8px;min-height:58px}.m-login-echo.active{border-color:#1a5f4a;background:#f3faf6;box-shadow:0 0 0 2px #1a5f4a2e}.m-login-echo-label{display:block;font-size:12px;color:#667;margin-bottom:2px}.m-login-echo-val{display:block;font-size:26px;line-height:1.25;font-weight:700;color:#0f3d30;letter-spacing:1px;word-break:break-all;min-height:32px}.m-login-pad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:auto;padding-top:8px}.m-login-key{height:54px;font-size:22px;font-weight:700;border:1px solid #d0dcd6;background:#f7f9f8;border-radius:10px;color:#0f3d30}.m-login-key.muted{font-size:16px;background:#eceee9}.m-login-key.primary{font-size:18px;background:#1a5f4a;border-color:#1a5f4a;color:#fff}.m-app-hub{background:#f5f5f5;max-width:480px}.m-tabbar-5{grid-template-columns:repeat(5,1fr)}.m-app-hub .m-tab.active{color:#ff7a45}.m-main-full{padding-bottom:env(safe-area-inset-bottom)}.m-hub-page{padding:0 0 20px;min-height:100%;background:#f5f5f5}.m-hub-header{display:flex;align-items:center;gap:10px;padding:10px 12px;padding-top:max(10px,env(safe-area-inset-top));background:#fff}.m-hub-icon-btn{width:36px;height:36px;border:none;border-radius:10px;background:#f5f5f5;color:#333;font-size:18px;display:grid;place-items:center;cursor:pointer;flex-shrink:0}.m-hub-search{flex:1;display:flex;align-items:center;gap:6px;background:#f3f3f3;border-radius:20px;padding:0 12px;height:36px;min-width:0}.m-hub-search-ico{color:#999;flex-shrink:0}.m-hub-banner{margin:10px 12px 0;border-radius:12px;overflow:hidden;background:linear-gradient(135deg,#ff9a44,#fc6076 55%,#ff7a45);min-height:110px}.m-hub-banner-inner{padding:18px 16px;color:#fff}.m-hub-banner-title{font-size:18px;font-weight:700;letter-spacing:.5px}.m-hub-banner-sub{margin-top:8px;font-size:13px;opacity:.92;line-height:1.4}.m-hub-quick{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 12px 0}.m-hub-quick-card{border:none;background:#fff;border-radius:12px;padding:14px 12px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;text-align:left;box-shadow:0 1px 2px #0000000a}.m-hub-quick-label{font-size:15px;font-weight:600;color:#222}.m-hub-quick-val{margin-top:6px;min-height:20px}.m-hub-quick-muted{color:#bbb;font-size:12px}.m-hub-card{margin:10px 12px 0;background:#fff;border-radius:12px;padding:12px 10px 6px;box-shadow:0 1px 2px #0000000a}.m-hub-card-hd{display:flex;align-items:center;justify-content:space-between;padding:0 6px 8px;font-size:15px;font-weight:700;color:#222}.m-hub-link{border:none;background:none;color:#999;font-size:12px;cursor:pointer;padding:0}.m-fn-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px 4px;padding-bottom:6px}.m-fn-grid-3{grid-template-columns:repeat(3,1fr);gap:14px 8px;padding:12px 8px 20px}.m-fn-item{border:none;background:transparent;display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 4px;cursor:pointer}.m-fn-icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;color:#fff;font-size:22px;box-shadow:0 4px 10px #00000014}.m-fn-icon-more{background:#f0f0f0!important;color:#888!important;box-shadow:none}.m-fn-name{font-size:12px;color:#333;text-align:center;line-height:1.25}.m-hub-customize{margin:12px;width:calc(100% - 24px);border:none;background:#fff;border-radius:12px;padding:14px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;color:#333;cursor:pointer;box-shadow:0 1px 2px #0000000a}.m-apps-page{display:flex;flex-direction:column;height:100%;min-height:100dvh;background:#fff}.m-apps-top{display:flex;align-items:center;justify-content:space-between;padding:8px 8px 4px;padding-top:max(8px,env(safe-area-inset-top));background:#fff}.m-apps-back{width:36px;height:36px;border:none;border-radius:50%;background:#f5f5f5;font-size:26px;line-height:1;color:#333;cursor:pointer}.m-apps-title{font-size:16px;font-weight:700;color:#222}.m-apps-save{border:none;background:none;color:#ff7a45;font-size:15px;font-weight:600;padding:6px 8px;cursor:pointer}.m-apps-search-wrap{padding:6px 12px 10px;background:#fff;border-bottom:1px solid #f0f0f0}.m-apps-search{display:flex;align-items:center;gap:8px;background:#f5f5f5;border-radius:20px;padding:0 12px;height:36px;color:#999}.m-apps-body{flex:1;display:flex;min-height:0;background:#f7f7f7}.m-apps-side{width:100px;flex-shrink:0;overflow-y:auto;background:#f0f0f0;padding-bottom:24px}.m-apps-side-item{width:100%;border:none;background:transparent;text-align:left;padding:14px 10px;font-size:13px;color:#666;cursor:pointer;position:relative;line-height:1.3}.m-apps-side-item.on{background:#fff;color:#ff7a45;font-weight:600}.m-apps-side-item.on:before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;border-radius:0 2px 2px 0;background:#ff7a45}.m-apps-main{flex:1;overflow-y:auto;background:#fff;min-width:0}.m-apps-main.full{width:100%}.m-apps-result-tip{padding:10px 14px 0;font-size:12px;color:#999}.m-apps-empty{grid-column:1 / -1;text-align:center;color:#bbb;padding:40px 12px;font-size:13px}.m-home-edit-grid{display:flex;flex-direction:column;gap:0;margin:8px 12px 20px;background:#fff;border-radius:12px;overflow:hidden}.m-home-edit-item{display:grid;grid-template-columns:44px 1fr 24px;align-items:center;gap:10px;padding:10px 12px;border:none;border-bottom:1px solid #f5f5f5;background:#fff;text-align:left;cursor:pointer}.m-home-edit-item.on .m-home-edit-check{color:#ff7a45;font-weight:700}.m-home-edit-check{color:#ddd;text-align:center}.m-share-img-wrap{background:#e8ece9;border-radius:8px;padding:8px;max-height:min(70vh,640px);overflow:auto;-webkit-overflow-scrolling:touch}.m-share-img-wrap img{display:block;width:100%;height:auto;background:#fff;border-radius:4px}.m-share-img-modal .ant-modal{max-width:520px;margin:12px auto}.m-share-html-host{background:#fff;border-radius:8px;max-height:min(70vh,640px);overflow:auto;-webkit-overflow-scrolling:touch}.m-order-capture-offscreen{position:fixed;left:-20000px;top:0;background:#fff;pointer-events:none}.m-order-capture-frame{width:100%;min-height:360px;background:#fff;border:0}.m-order-capture-frame.is-offscreen{position:fixed;left:-20000px;top:0;visibility:hidden;pointer-events:none}*{margin:0;padding:0;box-sizing:border-box}html,body,#root{height:100%}body{background:#f0f2f5;font-family:PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif}.multi-window{display:flex;flex-direction:column;flex:1;min-height:0;margin-top:4px}.multi-window-tabs.ant-tabs{margin-bottom:0}.multi-window-tabs .ant-tabs-nav{margin-bottom:0;background:#fff;border-radius:8px 8px 0 0;padding:4px 8px 0}.multi-window-tabs .ant-tabs-tab{border-radius:6px 6px 0 0!important}.multi-window-tabs .ant-tabs-tab-active{background:#f0f7f4!important;border-color:#1a5f4a33!important}.multi-window-panes{flex:1;min-height:0;background:transparent}.multi-window-pane{padding-top:6px}.page-card{background:#fff;border-radius:4px;padding:10px 12px 12px}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;gap:8px;flex-wrap:wrap}.page-header h2{margin:0;font-size:15px;font-weight:600;color:#1a1a1a}.filter-bar{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px;align-items:center}.stat-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin-bottom:10px}.stat-card{background:linear-gradient(135deg,#1a5f4a,#2d8a6e);color:#fff;border-radius:4px;padding:10px 12px}.stat-card.alt{background:linear-gradient(135deg,#2c3e50,#4a6741)}.stat-card.warn{background:linear-gradient(135deg,#b45309,#d97706)}.stat-card .label{font-size:12px;opacity:.85;margin-bottom:4px}.stat-card .value{font-size:22px;font-weight:700;letter-spacing:-.5px}.stat-card .sub{font-size:11px;opacity:.8;margin-top:4px}.stat-card.clickable{cursor:pointer;transition:transform .12s ease,box-shadow .12s ease,filter .12s ease}.stat-card.clickable:hover{transform:translateY(-1px);filter:brightness(1.06);box-shadow:0 4px 12px #0000001f}.stat-card.clickable:active{transform:translateY(0);filter:brightness(.98)}.page-card .ant-table-wrapper{border:1px solid #bfbfbf;border-radius:0;background:#fff}.page-card .ant-table{font-size:12px}.page-card .ant-table-thead>tr>th{background:#f0f0f0!important;color:#333!important;font-weight:600!important;font-size:12px!important;padding:4px 6px!important;border-bottom:1px solid #bfbfbf!important;border-inline-end:1px solid #d0d0d0!important;white-space:nowrap}.page-card .ant-table-thead>tr>th:last-child{border-inline-end:none!important}.page-card .ant-table-tbody>tr>td{padding:2px 6px!important;font-size:12px!important;line-height:1.35!important;border-bottom:1px solid #e0e0e0!important;border-inline-end:1px solid #ececec!important;vertical-align:middle}.page-card .ant-table-tbody>tr>td:last-child{border-inline-end:none!important}.page-card .ant-table-tbody>tr:nth-child(2n)>td{background:#fafafa}.page-card .ant-table-tbody>tr:hover>td{background:#e6f4ef!important}.page-card .ant-table-tbody>tr.ant-table-row-selected>td{background:#d8ebe3!important}.page-card .ant-table-pagination.ant-pagination{margin:6px 0 0!important;font-size:12px}.page-card .ant-btn-link{padding-inline:2px;height:22px;line-height:22px;font-size:12px}.page-card .ant-tag{margin-inline-end:0;line-height:18px;font-size:11px;padding-inline:4px;border-radius:2px}.page-card .ant-space-gap-col-small{column-gap:2px!important}.ant-modal .ant-table-wrapper{border:1px solid #bfbfbf}.ant-modal .ant-table-thead>tr>th{background:#f0f0f0!important;font-size:12px!important;font-weight:600!important;padding:4px 6px!important;border-inline-end:1px solid #d0d0d0!important}.ant-modal .ant-table-tbody>tr>td{padding:2px 6px!important;font-size:12px!important;border-inline-end:1px solid #ececec!important}.ant-modal .ant-table-tbody>tr:nth-child(2n)>td{background:#fafafa}.ant-modal .ant-form-item{margin-bottom:8px}.page-card .ant-descriptions-item-label,.page-card .ant-descriptions-item-content{font-size:12px;padding-bottom:4px!important}.sales-create-compact .ant-form-item{margin-bottom:6px}.sales-create-compact .ant-form-item .ant-form-item-label{padding-bottom:0}.sales-create-compact .ant-form-item .ant-form-item-label>label{font-size:12px;height:auto}.sales-create-compact .ant-divider{margin:6px 0}.sales-create-compact .ant-divider-inner-text{font-size:12px;font-weight:600}.sales-create-toolbar{display:flex;justify-content:flex-end;align-items:center;margin-bottom:2px;min-height:22px}.sales-create-header{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px 8px;margin-bottom:6px;align-items:center}.sales-create-header-cell .ant-form-item{margin-bottom:0!important}.sales-create-header-cell .ant-form-item-row{flex-direction:row!important;flex-wrap:nowrap;align-items:center;column-gap:6px}.sales-create-header-cell .ant-form-item-label{padding:0!important;flex:0 0 auto;max-width:none;width:auto!important}.sales-create-header-cell .ant-form-item-label>label{height:28px!important;line-height:28px!important;font-size:12px;white-space:nowrap}.sales-create-header-cell .ant-form-item-label>label:after{margin-inline-end:2px!important}.sales-create-header-cell .ant-form-item-control{flex:1 1 auto;min-width:0;max-width:100%}.sales-create-header-cell .ant-form-item-control-input{min-height:28px}.sales-create-header-cell .ant-input,.sales-create-header-cell .ant-input-affix-wrapper,.sales-create-header-cell .ant-input-number,.sales-create-header-cell .ant-picker,.sales-create-header-cell .ant-select-single:not(.ant-select-customize-input) .ant-select-selector{height:28px!important;min-height:28px!important}.sales-create-header-cell .ant-select-single .ant-select-selector{align-items:center}.sales-create-header-cell .ant-input-number-input,.sales-create-header-cell .ant-picker-input>input{height:26px!important}@media(max-width:1100px){.sales-create-header{grid-template-columns:repeat(4,minmax(0,1fr))}}.sales-excel-table{border:1px solid #bfbfbf;background:#fff;overflow:auto;max-height:min(52vh,520px)}.sales-excel-head,.sales-excel-row{display:grid;gap:0;align-items:stretch}.sales-excel-head{position:sticky;top:0;z-index:2;background:#f0f0f0;border-bottom:1px solid #bfbfbf;font-size:12px;font-weight:600;color:#333;min-height:28px}.sales-excel-row{border-bottom:1px solid #d9d9d9;min-height:30px;background:#fff}.sales-excel-row:nth-child(2n){background:#fafafa}.sales-excel-row:hover{background:#e6f4ef}.sales-excel-cell{padding:0;border-right:1px solid #d9d9d9;min-width:0;display:flex;align-items:center}.sales-excel-cell:last-child{border-right:none}.sales-excel-head .sales-excel-cell{padding:4px 8px 4px 4px;align-items:center}.sales-excel-head-cell{overflow:hidden}.sales-excel-col-drag{display:inline-flex;align-items:center;margin-right:3px;cursor:grab;flex-shrink:0;padding:2px 1px}.sales-excel-col-drag:active{cursor:grabbing}.sales-excel-col-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sales-excel-col-resize{position:absolute;top:0;right:-2px;width:8px;height:100%;cursor:col-resize;z-index:3}.sales-excel-col-resize:hover,.sales-excel-col-resize:active{background:#1a5f4a59}.sales-excel-cell .ant-form-item{margin-bottom:0!important;width:100%}.sales-excel-cell .ant-input,.sales-excel-cell .ant-input-number,.sales-excel-cell .ant-select .ant-select-selector{border:none!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;min-height:28px!important;height:28px!important;font-size:12px!important;padding-inline:6px!important}.sales-excel-cell .ant-input-number-input{height:26px!important;font-size:12px!important;padding:0 4px!important}.sales-excel-cell .ant-select-selection-item,.sales-excel-cell .ant-select-selection-placeholder{line-height:26px!important;font-size:12px!important}.sales-excel-cell .ant-input:focus,.sales-excel-cell .ant-input-number-focused,.sales-excel-cell .ant-select-focused .ant-select-selector{outline:2px solid #1a5f4a!important;outline-offset:-2px;background:#fff!important;z-index:1}.sales-excel-cell-readonly{padding:0 6px;font-size:12px;color:#555;line-height:1.2;word-break:break-all;width:100%}.sales-excel-cell:is([data-col=quantity],[data-col=unit_name],[data-col=base_price],[data-col=discount],[data-col=unit_price],[data-col=line_amount]){background:#f9f0ff}.sales-excel-head .sales-excel-cell:is([data-col=quantity],[data-col=unit_name],[data-col=base_price],[data-col=discount],[data-col=unit_price],[data-col=line_amount]){background:#efdbff;color:#531dab}.sales-excel-cell:is([data-col=quantity],[data-col=unit_name],[data-col=base_price],[data-col=discount],[data-col=unit_price],[data-col=line_amount]) :is(.ant-input,.ant-input-number-input,.ant-select-selection-item,.sales-excel-cell-readonly){color:#531dab!important;font-weight:600}.sales-excel-cell-action{justify-content:center;padding:0 2px;flex-shrink:0}.sales-excel-pack{position:absolute;right:4px;bottom:1px;font-size:10px;color:#1a5f4a;line-height:1;pointer-events:none;max-width:90%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sales-create-as-page.ant-modal-root .ant-modal-mask,.purchase-create-as-page.ant-modal-root .ant-modal-mask{display:none!important}.sales-create-as-page .ant-modal-wrap,.purchase-create-as-page .ant-modal-wrap{position:static!important;overflow:visible!important;inset:auto!important}.sales-create-as-page .ant-modal,.purchase-create-as-page .ant-modal{position:static!important;top:auto!important;max-width:100%!important;width:100%!important;margin:0!important;padding:0!important}.sales-create-as-page .ant-modal-content,.purchase-create-as-page .ant-modal-content{box-shadow:none!important;border-radius:4px;border:1px solid #e5e5e5}.sales-create-as-page .ant-modal-body,.purchase-create-as-page .ant-modal-body{max-height:none!important}.print-preview-as-page.ant-modal-wrap{overflow:hidden!important}.print-preview-as-page .ant-modal{max-width:100vw!important;width:100%!important;top:0!important;margin:0!important;padding-bottom:0!important}.print-preview-as-page .ant-modal-content{height:100vh;display:flex;flex-direction:column;border-radius:0}.print-preview-as-page .ant-modal-header,.print-preview-as-page .ant-modal-footer{flex-shrink:0}.print-preview-as-page .ant-modal-body{flex:1;overflow:hidden!important;max-height:none!important;padding:12px 16px!important}.print-preview-as-page .print-preview-layout{height:100%;min-height:0}.print-preview-as-page .print-preview-side{max-height:none!important;height:100%}.print-tpl-select-dropdown{z-index:4200!important}.print-preview-as-page .print-preview-frame,.print-preview-as-page .print-preview-frame-placeholder{height:calc(100vh - 150px)!important;min-height:0!important}.po-head-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 12px}.po-supplier-meta{margin-top:-8px;margin-bottom:10px;font-size:12px;color:#666;line-height:1.5}.po-line-head{display:grid;grid-template-columns:minmax(240px,2.2fr) minmax(180px,1.5fr) 110px 90px 72px 88px 100px 100px 36px;gap:8px;padding:0 0 6px;color:#888;font-size:12px}.po-line-row{display:grid;grid-template-columns:minmax(240px,2.2fr) minmax(180px,1.5fr) 110px 90px 72px 88px 100px 100px 36px;gap:8px;margin-bottom:10px;align-items:start}.po-line-base{padding-top:6px;font-weight:600;color:#1a5f4a;font-size:13px;white-space:nowrap}.po-line-meta{font-size:12px;color:#555;line-height:1.45;padding-top:6px}.po-line-meta .warn{color:#b45309}.po-totals{display:flex;justify-content:flex-end;gap:24px;padding:10px 4px 0;font-size:14px;color:#333}.po-totals strong{color:#1a5f4a;font-size:18px}@media(max-width:1100px){.po-head-grid,.po-line-head,.po-line-row{grid-template-columns:1fr 1fr}.po-line-head{display:none}}.dash-page{min-height:0}.dash-spin{display:grid;place-items:center;min-height:240px}.dash-date{color:#888;font-size:13px}.dash-apps{display:flex;flex-wrap:wrap;gap:8px 4px;margin:0 0 14px;padding:10px 8px 4px;background:#fff;border:1px solid #e8eee9;border-radius:10px}.dash-app{width:92px;border:none;background:transparent;cursor:pointer;padding:6px 4px 8px;display:flex;flex-direction:column;align-items:center;gap:6px;color:#374151}.dash-app:hover .dash-app-ico{background:#dff3ea;color:#0f3d30}.dash-app-ico{width:44px;height:44px;border-radius:50%;background:#eef7f3;color:#1a5f4a;display:grid;place-items:center;font-size:20px}.dash-app-name{font-size:12px;line-height:1.25;text-align:center}.dash-kpi .stat-card .value{font-size:20px}.dash-grid{display:grid;gap:12px;margin-bottom:12px}.dash-grid-main{grid-template-columns:1.4fr 1fr}.dash-grid-3{grid-template-columns:1.2fr 1fr 1fr}.dash-chart{width:100%}@media(max-width:1100px){.dash-grid-main,.dash-grid-3{grid-template-columns:1fr}}.products-resizable-table .ant-table-thead>tr>th{position:relative;overflow:visible}.product-th-resize{position:relative;display:flex;align-items:center;min-height:22px;padding-right:6px}.product-th-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-col-resize{position:absolute;top:-8px;right:-10px;width:8px;height:calc(100% + 16px);cursor:col-resize;z-index:5}.product-col-resize:hover,.product-col-resize:active{background:#1a5f4a59}.products-cat-panel{overflow:visible}.products-cat-resize{position:absolute;top:0;right:-4px;width:8px;height:100%;cursor:col-resize;z-index:6}.products-cat-resize:hover,.products-cat-resize:active{background:#1a5f4a59}
