:root{--primary:#2563eb;--primary-hover:#1d4ed8;--primary-light:#eff6ff;--primary-border:#bfdbfe;--success:#16a34a;--success-light:#f0fdf4;--success-border:#bbf7d0;--warning:#d97706;--warning-light:#fffbeb;--warning-border:#fde68a;--danger:#dc2626;--danger-light:#fef2f2;--danger-border:#fecaca;--info:#0891b2;--info-light:#ecfeff;--bg:#f8fafc;--bg-elevated:#ffffff;--bg-muted:#f1f5f9;--bg-subtle:#e2e8f0;--text-primary:#0f172a;--text-secondary:#475569;--text-muted:#94a3b8;--text-inverse:#ffffff;--border:#e2e8f0;--border-strong:#cbd5e1;--divider:#f1f5f9;--shadow-xs:0 1px 2px rgba(0,0,0,0.04);--shadow-sm:0 1px 3px rgba(0,0,0,0.06),0 1px 2px rgba(0,0,0,0.04);--shadow-md:0 4px 6px -1px rgba(0,0,0,0.07),0 2px 4px -2px rgba(0,0,0,0.05);--shadow-lg:0 10px 15px -3px rgba(0,0,0,0.08),0 4px 6px -4px rgba(0,0,0,0.04);--shadow-xl:0 20px 25px -5px rgba(0,0,0,0.08),0 8px 10px -6px rgba(0,0,0,0.04);--radius-sm:6px;--radius-md:8px;--radius-lg:12px;--radius-xl:16px;--transition:150ms ease}[data-theme=fresh]{--primary:#1677ff;--primary-hover:#0958d9;--primary-light:#e6f4ff;--primary-border:#91caff;--success:#52c41a;--success-light:#f6ffed;--success-border:#b7eb8f;--warning:#fa8c16;--warning-light:#fff7e6;--warning-border:#ffd591;--danger:#ff4d4f;--danger-light:#fff2f0;--danger-border:#ffccc7;--info:#13c2c2;--info-light:#e6fffb;--bg:#f5f7fa;--bg-elevated:#ffffff;--bg-muted:#f0f2f5;--bg-subtle:#e6e9ef;--text-primary:#1d2129;--text-secondary:#4e5969;--text-muted:#86909c;--text-inverse:#ffffff;--border:#e5e8ef;--border-strong:#c9cdd4;--divider:#f2f3f5;--shadow-xs:0 1px 2px rgba(0,0,0,0.03);--shadow-sm:0 2px 8px rgba(0,0,0,0.08);--shadow-md:0 4px 12px rgba(0,0,0,0.10);--shadow-lg:0 8px 24px rgba(0,0,0,0.12);--shadow-xl:0 16px 48px rgba(0,0,0,0.12);--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--transition:120ms ease}body,html{margin:0;padding:0;background:var(--bg);color:var(--text-primary);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:hidden}*,:after,:before{box-sizing:border-box}a{color:var(--primary);text-decoration:none}a:hover{color:var(--primary-hover)}button,input,select,textarea{font-family:inherit;font-size:inherit}main{min-height:100vh}.app-main{min-width:0}.app-content{width:100%;min-width:0;max-width:none}.app-content>:first-child,.customer-content>:first-child{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box}.settings-shell{display:grid;grid-template-columns:220px minmax(0,1fr);height:calc(100vh - 56px);overflow:hidden}.settings-sidebar{overflow-y:auto;padding:24px 16px;border-right:1px solid var(--border);background:var(--bg-elevated)}.settings-sidebar-title{padding:0 10px 18px;color:var(--text-primary);font-size:16px;font-weight:700}.settings-nav-group{margin-bottom:20px}.settings-nav-group-title{padding:0 10px 6px;color:var(--text-muted);font-size:11px;font-weight:600}.settings-nav-item{display:block;width:100%;min-height:38px;padding:8px 10px;border:0;border-radius:6px;background:transparent;color:var(--text-secondary);text-align:left;cursor:pointer}.settings-nav-item:hover{background:var(--bg-subtle);color:var(--text-primary)}.settings-nav-item.is-active{background:var(--primary-light);color:var(--primary);font-weight:600}.settings-device-back{margin-top:20px;border-top:1px solid var(--border);border-radius:0}.settings-content{min-width:0;min-height:0;overflow-y:auto;padding:32px 40px}.settings-device-area-gateway .settings-device-software,.settings-device-area-gateway .settings-device-stations,.settings-device-area-software .settings-device-gateway,.settings-device-area-software .settings-device-stations,.settings-device-area-stations .settings-device-gateway,.settings-device-area-stations .settings-device-printing,.settings-device-area-stations .settings-device-software,.settings-mobile-nav{display:none}@media (max-width:760px){.settings-shell{display:flex;flex-direction:column;height:calc(100vh - 56px)}.settings-sidebar{display:none}.settings-mobile-nav{display:flex;gap:8px;padding:12px 16px 12px 58px;border-bottom:1px solid var(--border);background:var(--bg-elevated)}.settings-mobile-nav select{flex:1 1;min-width:0;padding:9px 10px}.settings-mobile-nav button,.settings-mobile-nav select{border:1px solid var(--border);border-radius:6px;background:var(--bg-elevated)}.settings-mobile-nav button{padding:8px 12px}.settings-content{padding:20px 16px}.settings-content div:has(>table){max-width:100%;overflow-x:auto}.settings-content table{min-width:720px}}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}@media print{.no-print,aside{display:none!important}.app-main{margin-left:0!important}body{background:white}body.production-material-print-issue *,body.production-material-print-slit *{visibility:hidden!important}}.app-shell{min-height:100vh;display:flex;background:#f5f7fb}.app-sidebar{width:220px;flex:0 0 220px;background:#10233f;color:#c6d2e3;display:flex;flex-direction:column;padding:18px 12px}.brand{display:flex;align-items:center;gap:10px;color:#fff!important;font-weight:700;font-size:16px;line-height:1.2;padding:4px 8px 26px}.brand small{font-weight:400;color:#94a9c5;font-size:12px}.brand-mark{background:#2e85ff;border-radius:8px;padding:8px 6px;font-size:13px}.app-sidebar nav{display:grid;gap:3px}.nav-item{color:#b5c3d6!important;border-radius:7px;padding:9px 11px;font-size:14px}.nav-item.active,.nav-item:hover{background:#1e4779;color:#fff!important}.sidebar-foot{margin-top:auto;padding:18px 9px 3px;color:#7890ae;font-size:12px}.app-body{min-width:0;flex:1 1}.app-header{height:56px;background:#fff;border-bottom:1px solid #e7ebf1;display:flex;align-items:center;justify-content:space-between;padding:0 30px;color:#6a7788}.app-header,.app-header a{font-size:13px}.mobile-brand{display:none;font-weight:700;color:#183252}.app-page{width:100%;max-width:none;padding:26px 30px 40px}.page-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.page-title h1{font-size:22px;line-height:1.2;margin:0;color:#172b4d}.page-title p{margin:6px 0 0;color:#718096}.card{background:#fff;border:1px solid #e7ebf1;border-radius:10px;padding:18px;box-shadow:0 1px 2px rgba(30,55,90,.03)}.card+.card{margin-top:16px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.metric{background:#fff;border:1px solid #e7ebf1;border-radius:10px;padding:16px}.metric-label{color:#718096;font-size:13px}.metric-value{font-size:28px;font-weight:700;color:#172b4d;margin-top:6px}.metric-note{font-size:12px;color:#91a0b3;margin-top:4px}.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:16px}.toolbar .grow{flex:1 1;min-width:180px}.btn{border:1px solid #d8e0eb;background:#fff;color:#31445d;border-radius:6px;padding:8px 13px;cursor:pointer;line-height:20px}.btn:hover{background:#f7f9fc}.btn.primary{border-color:#2375e9;background:#2375e9;color:#fff}.btn.primary:hover{background:#1765d1}.btn.danger{color:#c23b3b;border-color:#f0c6c6}.field{display:grid;gap:6px;color:#526276;font-size:13px}.field input,.field select,.field textarea,.toolbar input,.toolbar select{height:36px;border:1px solid #d7e0eb;border-radius:6px;background:#fff;padding:7px 10px;color:#1f334d;outline:none}.field textarea{height:auto;min-height:76px}.field input:focus,.field select:focus,.field textarea:focus,.toolbar input:focus{border-color:#478cf1;box-shadow:0 0 0 3px #e8f1ff}.form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:end}.form-grid .span2{grid-column:span 2}.table-wrap{overflow:auto;border:1px solid #e7ebf1;border-radius:8px}.biz-table{border-collapse:collapse;width:100%;min-width:720px;background:#fff}.biz-table th{background:#f7f9fc;color:#617086;text-align:left;font-size:12px;font-weight:600;padding:11px 13px;white-space:nowrap;border-bottom:1px solid #e7ebf1}.biz-table td{padding:12px 13px;border-bottom:1px solid #eef2f6;color:#304158;vertical-align:middle}.biz-table tbody tr:hover{background:#fafcff}.empty{text-align:center;color:#95a3b7;padding:32px!important}.badge{display:inline-flex;align-items:center;border-radius:99px;padding:2px 8px;font-size:12px;line-height:19px}.badge.green{color:#208145;background:#ecf9f0}.badge.orange{color:#a45b00;background:#fff4df}.badge.red{color:#bc3434;background:#fff0f0}.badge.gray{color:#64748b;background:#eef2f6}.notice{padding:10px 12px;border-radius:6px;margin-top:14px}.notice.ok{background:#ecf9f0;color:#207344}.notice.error{background:#fff0f0;color:#b73535}.section-title{font-weight:700;color:#223752;margin:0 0 14px}.quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.quick-link{border:1px solid #e5ebf4;border-radius:8px;padding:15px;color:#29415f!important;background:#fff}.quick-link:hover{border-color:#7baaf0;background:#f6faff}.timeline{border-left:2px solid #dbe8f9;margin:8px 0 0 7px;padding-left:19px}.timeline-item{position:relative;padding:0 0 17px;color:#526276}.timeline-item:before{content:"";position:absolute;width:8px;height:8px;border-radius:50%;background:#3283ed;left:-24px;top:6px}.timeline-time{font-size:12px;color:#8b9ab0;margin-bottom:3px}@media(max-width:900px){.app-sidebar{width:64px;flex-basis:64px;padding:15px 7px}.brand{padding:4px 4px 20px;justify-content:center}.brand>span:last-child,.nav-item{font-size:0}.nav-item{height:38px;padding:0}.nav-item:after{content:"•";font-size:21px;display:block;text-align:center}.sidebar-foot{display:none}.app-page{padding:20px}.form-grid,.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:580px){.app-sidebar{display:none}.app-header{padding:0 16px}.mobile-brand{display:inline}.app-page{padding:16px}.page-title{display:block}.page-title .btn{margin-top:12px}.form-grid,.metric-grid,.quick-grid{grid-template-columns:1fr}.form-grid .span2{grid-column:auto}.toolbar{align-items:stretch}.toolbar .grow{width:100%}}.nav-group-label{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;background:transparent;color:#9fb2ca;border-radius:7px;padding:9px 11px;font-size:13px;font-weight:600;letter-spacing:1px;cursor:pointer}.nav-group-label:hover{background:#1a3a63;color:#fff}.nav-caret{font-size:11px;transition:transform .15s}.nav-group-label.open .nav-caret{transform:rotate(180deg)}.nav-group .nav-item{display:block;margin-left:12px;padding:8px 11px;font-size:13px}@media(max-width:900px){.nav-group-label{font-size:0;height:38px;padding:0;justify-content:center}.nav-group-label:after{content:"▸";font-size:16px}.nav-caret{display:none}.nav-group .nav-item{margin-left:0}}.record-modal-backdrop{position:fixed;z-index:1000;inset:0;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(15,35,63,.42)}.record-modal{width:min(920px,100%);max-height:calc(100vh - 48px);overflow:auto;background:#fff;border-radius:12px;box-shadow:0 20px 48px rgba(15,35,63,.22);padding:22px}.record-modal-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.record-modal-header h2{margin:0;color:#223752;font-size:18px}.record-modal-close{width:32px;height:32px;border:0;border-radius:6px;background:#f3f6fa;color:#526276;font-size:24px;line-height:1;cursor:pointer}.record-modal-close:hover{background:#e6edf6}.record-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}@media(max-width:580px){.record-modal-backdrop{align-items:flex-end;padding:0}.record-modal{max-height:92vh;border-radius:12px 12px 0 0;padding:18px}.record-modal-actions{position:sticky;bottom:-18px;padding:12px 0 0;background:#fff}}.engineering-detail-modal{width:60vw}.engineering-detail-modal .record-modal-header{position:sticky;top:-22px;z-index:2;background:#fff;padding:0 0 14px;border-bottom:1px solid #e7ebf1}.engineering-detail-modal .table-wrap{overflow:auto}@media(max-width:900px){.engineering-detail-modal{width:90vw}}@media(max-width:580px){.engineering-detail-modal{width:100%}.engineering-detail-modal .record-modal-header{top:-18px}}.record-tabs{display:flex;gap:6px;border-bottom:1px solid #e7ebf1;margin:-2px 0 20px}.record-tabs button{padding:10px 14px;border:0;border-bottom:2px solid transparent;background:transparent;color:#617086;cursor:pointer}.record-tabs button.active{border-color:#2375e9;color:#1765d1;font-weight:700}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid #e7ebf1;border-radius:8px;overflow:hidden}.detail-grid>div{min-height:74px;padding:13px 15px;border-right:1px solid #e7ebf1;border-bottom:1px solid #e7ebf1;display:grid;gap:4px}.detail-grid>.span2{grid-column:span 2}.detail-grid>div:nth-child(2n){border-right:0}.detail-grid>div:nth-last-child(-n+2){border-bottom:0}.detail-grid span{color:#8190a3;font-size:12px}.detail-grid strong{color:#304158;font-weight:600;word-break:break-word}.empty-state{padding:40px 22px;text-align:center;color:#718096}.empty-state h3{margin:0 0 8px;color:#304158}.empty-state p{margin:0}@media(max-width:580px){.record-tabs{overflow-x:auto}.record-tabs button{white-space:nowrap}.detail-grid{grid-template-columns:1fr}.detail-grid>.span2{grid-column:auto}.detail-grid>div,.detail-grid>div:nth-child(2n){border-right:0;border-bottom:1px solid #e7ebf1}.detail-grid>div:last-child{border-bottom:0}}.product-browse-button{width:max-content}.selected-products{display:grid;gap:7px;margin-top:5px}.selected-product{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;border:1px solid #dce5f0;border-radius:6px;background:#f8fbff;color:#304158}.selected-product button{border:0;background:transparent;color:#9b3a3a;font-size:20px;line-height:20px;cursor:pointer}.product-browser{display:grid;gap:14px}.product-browser .toolbar{margin:0}.product-browser-table{max-height:52vh}.product-browser-table tbody tr{cursor:pointer}.product-browser-table .muted-row{cursor:not-allowed;opacity:.55}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:14px;color:#718096}.pagination>:first-child{margin-right:auto}.link-button{border:0;background:transparent;padding:0;color:#1765d1;font:inherit;font-weight:600;cursor:pointer}.link-button:hover{text-decoration:underline}.status-stack{display:flex;gap:4px 10px;flex-wrap:wrap;font-size:12px;color:#617086}.selection-summary{padding:9px 14px;border:1px solid #cfe0fa;border-radius:8px;background:#f4f8ff;color:#45617f}.selection-summary strong{font-size:18px;color:#1765d1}.allocation-modal,.purchase-detail,.requisition-editor{width:min(1420px,calc(100vw - 32px))}.allocation-modal .record-modal-header p,.purchase-detail .record-modal-header p,.requisition-editor .record-modal-header p{margin:5px 0 0;color:#718096}.requisition-head{margin-bottom:16px}.requisition-grid-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}.requisition-grid-tools span{margin-left:auto;color:#718096}.requisition-grid-tools input{height:36px;border:1px solid #d7e0eb;border-radius:6px;padding:7px 10px}.requisition-entry-wrap{max-height:58vh}.requisition-entry{min-width:1420px}.requisition-entry thead{position:sticky;top:0;z-index:2}.requisition-entry td,.requisition-entry th{padding:8px}.requisition-entry td>input,.requisition-entry td>select{width:100%;min-width:92px;height:34px;border:1px solid #d7e0eb;border-radius:5px;padding:5px 7px;background:#fff}.requisition-entry td:nth-child(3)>select{min-width:230px}.requisition-entry td:nth-child(6)>select{height:72px;min-width:250px}.requisition-entry td:nth-child(8)>input{min-width:190px}.requisition-entry small{display:block;color:#8190a3;margin-top:4px}.text-warning{color:#bd6500!important}.detail-section{margin-top:22px}.quantity-table{min-width:1320px}.quantity-over{color:#c23b3b;font-weight:700}.reason-text{display:block;color:#b73535;margin-top:4px}.pool-table{min-width:1450px}.selected-row{background:#f2f7ff!important}.pool-filters input:not(.grow){width:130px}.pool-table code,.quantity-table code{font-family:inherit;color:#526276;background:#eef2f6;border-radius:4px;padding:1px 5px}.allocation-group{border:1px solid #dce5f0;border-radius:9px;margin-bottom:16px;overflow:hidden}.allocation-group-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 14px;background:#f7f9fc;color:#526276}.allocation-group-head>div:first-child{display:flex;gap:12px;align-items:baseline}.allocation-group-head strong{color:#223752;font-size:15px}.allocation-group .table-wrap{border:0;border-top:1px solid #e7ebf1;border-radius:0}.allocation-group .biz-table{min-width:1120px}.inline-total input,.quantity-input{width:110px;height:34px;border:1px solid #c9d4e2;border-radius:5px;padding:5px 8px;color:#223752}.allocation-difference{padding:9px 14px;background:#fff4df;color:#9a5905;border-top:1px solid #f2dfb9}.inline-total{display:flex;align-items:center;gap:7px}.compact-modal{width:min(560px,100%)}.purchase-tabs{margin-top:-8px}.purchase-detail .badge+.badge{margin-left:5px}.purchase-detail>.field{margin-top:16px}@media(max-width:760px){.allocation-modal,.purchase-detail,.requisition-editor{width:100%}.requisition-grid-tools span{width:100%;margin-left:0}.allocation-group-head{align-items:flex-start;flex-direction:column}.pool-filters input:not(.grow){width:100%}.pagination{justify-content:center;flex-wrap:wrap}.pagination>:first-child{width:100%;text-align:center;margin:0}}.requisition-entry td:nth-child(6){min-width:300px;overflow:visible}.customer-part-picker{min-width:280px}.customer-part-tags{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:5px}.customer-part-tags:empty{display:none}.customer-part-tags>span{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:3px 5px 3px 8px;border:1px solid #c9daf2;border-radius:14px;background:#eef5ff;color:#245b9f;font-size:12px}.customer-part-tags button{border:0;background:transparent;color:#607b9d;cursor:pointer;font-size:16px;line-height:1;padding:0 2px}.customer-part-search{position:relative}.customer-part-search>input{width:100%;height:34px;border:1px solid #d7e0eb;border-radius:5px;padding:5px 58px 5px 8px;background:#fff}.customer-part-loading{position:absolute;right:8px;top:9px;margin:0!important;font-size:11px;color:#718096}.customer-part-results{position:absolute;left:0;right:0;top:calc(100% + 3px);z-index:20;max-height:220px;overflow:auto;border:1px solid #cbd6e4;border-radius:7px;background:#fff;box-shadow:0 8px 24px #26364d26}.customer-part-results button{display:block;width:100%;padding:8px 10px;border:0;border-bottom:1px solid #edf0f4;background:#fff;text-align:left;cursor:pointer}.customer-part-results button:focus,.customer-part-results button:hover{background:#eef5ff;outline:0}.customer-part-results span,.customer-part-results strong{display:block}.customer-part-results strong{color:#1f3550}.customer-part-results span{margin-top:2px;color:#718096;font-size:12px}.customer-part-results p{margin:0;padding:12px;color:#718096;text-align:center}.customer-part-results-floating{position:fixed;right:auto;z-index:1100}.badge.blue{color:#245b9f;background:#edf5ff}.badge.green{font-weight:700}.btn.warning{color:#9a5905;border-color:#e7c88f;background:#fff8e9}.btn.warning:hover{background:#fff0d2}.btn.current,.btn.current:disabled{color:#1c773f;border-color:#a3d9b4;background:#e9f8ee;cursor:default;opacity:1}.biz-table tbody tr.engineering-version-current td{background:#f0faf3}.biz-table tbody tr.engineering-version-unactivated td{background:#fffaf0}.biz-table tbody tr.engineering-version-resolution td{background:#fff5e8}.biz-table tbody tr.engineering-version-history td{color:#66758a}.engineering-history-modal{width:min(760px,100%)}.engineering-history-options{display:grid;gap:8px;margin-bottom:18px}.engineering-history-option{display:flex;align-items:flex-start;gap:10px;padding:11px 13px;border:1px solid #dce5f0;border-radius:8px;background:#fff;cursor:pointer}.engineering-history-option.selected{border-color:#4388e8;background:#f2f7ff;box-shadow:0 0 0 2px #e6f0ff}.engineering-history-option input{margin-top:4px;accent-color:#2375e9}.engineering-history-option span{display:grid;gap:3px;color:#304158}.engineering-history-option small{color:#718096;line-height:1.5}.sales-order-editor{width:min(1500px,calc(100vw - 40px))}.sales-order-editor .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sales-order-editor .form-grid .span2{grid-column:span 3}.sales-order-editor>.table-wrap{max-height:48vh}@media(max-width:900px){.sales-order-editor{width:calc(100vw - 32px)}.sales-order-editor .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-order-editor .form-grid .span2{grid-column:span 2}}@media(max-width:580px){.sales-order-editor{width:100%}.sales-order-editor .form-grid{grid-template-columns:1fr}.sales-order-editor .form-grid .span2{grid-column:auto}}.engineering-product-picker{position:relative;width:100%;min-width:0}.engineering-product-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:36px;padding:7px 10px;border:1px solid #d7e0eb;border-radius:6px;background:#fff;color:#1f334d;text-align:left;cursor:pointer;font:inherit}.engineering-product-trigger:hover{border-color:#9ab9e6}.engineering-product-trigger:focus-visible{outline:none;border-color:#478cf1;box-shadow:0 0 0 3px #e8f1ff}.engineering-product-trigger span{flex:none;color:#718096}.engineering-product-menu{position:absolute;z-index:30;top:calc(100% + 4px);left:0;right:0;min-width:280px;padding:8px;border:1px solid #cbd6e4;border-radius:8px;background:#fff;box-shadow:0 12px 28px #26364d26}.field .engineering-product-menu input{display:block;width:100%;height:36px;margin:0 0 7px}.engineering-product-options{max-height:260px;overflow-y:auto;overscroll-behavior:contain}.engineering-product-options button{display:block;width:100%;padding:9px 10px;border:0;border-radius:5px;background:#fff;color:#304158;text-align:left;font:inherit;cursor:pointer;white-space:normal;overflow-wrap:anywhere}.engineering-product-options button.active,.engineering-product-options button:hover{background:#eef5ff;color:#1765d1}.engineering-product-options button[aria-selected=true]{font-weight:600}.engineering-product-empty{padding:10px;color:#8190a3}.engineering-product-menu small{display:block;margin:7px 2px 1px;color:#718096}@media(max-width:580px){.engineering-product-menu{min-width:0}}.engineering-material-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:220px;min-height:36px;padding:7px 10px;border:1px solid #d7e0eb;border-radius:6px;background:#fff;color:#1f334d;text-align:left;cursor:pointer;font:inherit}.engineering-material-trigger:disabled{cursor:default;background:#f5f7fa;color:#718096}.engineering-material-trigger:focus-visible{outline:none;border-color:#478cf1;box-shadow:0 0 0 3px #e8f1ff}.engineering-material-trigger span{flex:none;color:#718096}.engineering-material-menu{position:fixed;z-index:1100;display:flex;flex-direction:column;gap:7px;padding:8px;border:1px solid #cbd6e4;border-radius:8px;background:#fff;box-shadow:0 12px 28px #26364d26}.engineering-material-menu input{flex:none;width:100%;min-height:36px;padding:7px 10px;border:1px solid #d7e0eb;border-radius:6px;font:inherit}.engineering-material-options{min-height:0;overflow-y:auto;overscroll-behavior:contain}.engineering-material-options button{display:block;width:100%;padding:9px 10px;border:0;border-radius:5px;background:#fff;color:#304158;text-align:left;font:inherit;cursor:pointer;white-space:normal;overflow-wrap:anywhere}.engineering-material-options button.active,.engineering-material-options button:hover{background:#eef5ff;color:#1765d1}.engineering-material-options button[aria-selected=true]{font-weight:600}.engineering-material-menu small{flex:none;color:#718096}.requisition-detail{width:min(1420px,calc(100vw - 32px))}@media(max-width:760px){.requisition-detail{width:100%}}.app-sidebar{position:sticky;top:0;height:100vh;box-sizing:border-box;overflow:hidden}.app-sidebar nav{flex:1 1;min-height:0;overflow-y:auto;align-content:start;overscroll-behavior:contain}.sidebar-account{flex:none;margin-top:auto;padding:14px 7px 2px;border-top:1px solid #29415f;display:grid;gap:10px}.sidebar-account-main{display:flex;align-items:center;gap:10px;min-width:0}.account-avatar{width:36px;height:36px;flex:0 0 36px;border-radius:50%;display:grid;place-items:center;background:#1e4779;color:#fff;font-size:15px;font-weight:700}.account-details{display:grid;gap:2px;min-width:0;color:#c6d2e3;font-size:12px;line-height:1.35}.account-details small,.account-details span,.account-details strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-details strong{color:#fff;font-size:13px;font-weight:600}.account-details small{color:#94a9c5;font-size:11px}.account-logout{width:100%;min-height:36px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #426083;border-radius:6px;padding:6px 9px;background:transparent;color:#d5dfeb;font:inherit;cursor:pointer}.account-logout:hover{background:#1e4779;color:#fff}.account-logout:focus-visible{outline:2px solid #78aef5;outline-offset:2px}.account-logout:disabled{opacity:.65;cursor:wait}.account-logout-icon{font-size:17px;line-height:1}.account-logout-label{font-size:12px}.sidebar-account-error{color:#ffd3d3;background:#672f3a;border-radius:5px;padding:6px 7px;font-size:11px;line-height:1.35;overflow-wrap:anywhere}.mobile-account{display:none}@media(max-width:900px){.sidebar-account{padding:12px 0 2px;justify-items:center;gap:8px}.sidebar-account-main{justify-content:center}.account-details{display:none}.account-logout{width:42px;min-height:36px;padding:0}.account-logout-label{display:none}.sidebar-account-error{width:100%;max-height:60px;box-sizing:border-box;padding:5px 3px;text-align:center;font-size:9px;overflow:auto}}@media(min-width:581px){.mobile-account{display:none}}@media(max-width:580px){.app-sidebar{display:none}.app-header{gap:10px}.header-caption{display:none}.mobile-account{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;margin-left:auto}.mobile-account-details{display:grid;gap:1px;min-width:0;max-width:clamp(74px,32vw,160px);color:#718096;font-size:10px;line-height:1.25}.mobile-account-details span,.mobile-account-details strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-account-details strong{color:#223752;font-size:12px;font-weight:600}.mobile-account .account-logout{width:36px;min-height:36px;flex:0 0 36px;border-color:#d8e0eb;background:#fff;color:#31445d}.mobile-account .account-logout:hover{background:#f7f9fc}.mobile-account-error{position:absolute;z-index:30;top:calc(100% + 7px);right:0;max-width:min(230px,calc(100vw - 32px));box-sizing:border-box;padding:7px 9px;border:1px solid #efbcbc;border-radius:6px;background:#fff0f0;color:#b73535;font-size:11px;line-height:1.35;box-shadow:0 4px 14px #26364d26}}.app-nav-toggle{display:none;width:40px;height:36px;flex:0 0 40px;align-items:center;justify-content:center;border:1px solid #d8e0eb;border-radius:6px;background:#fff;color:#31445d;font-size:20px;line-height:1;cursor:pointer}.app-nav-toggle:hover{background:#f7f9fc}.app-nav-toggle:focus-visible{outline:2px solid #478cf1;outline-offset:2px}.app-nav-backdrop{display:none}@media(max-width:900px){.app-header{justify-content:flex-start;gap:12px}.app-nav-toggle{display:inline-flex}.app-sidebar{display:flex;position:fixed;top:0;bottom:0;left:0;z-index:1002;width:min(280px,calc(100vw - 48px));height:100vh;height:100dvh;flex:0 0 280px;box-sizing:border-box;padding:18px 12px;overflow:hidden;transform:translateX(-105%);visibility:hidden;pointer-events:none;transition:transform .18s ease,visibility .18s ease;box-shadow:0 12px 32px rgba(15,35,63,.24)}.app-shell.nav-open .app-sidebar{transform:translateX(0);visibility:visible;pointer-events:auto}.app-shell.nav-open .app-nav-backdrop{display:block;position:fixed;inset:0;z-index:1001;width:100%;height:100%;padding:0;border:0;background:rgba(15,35,63,.42);cursor:default}.app-sidebar .brand{padding:4px 8px 26px;justify-content:flex-start}.app-sidebar .brand>span:last-child{font-size:16px}.app-sidebar .nav-item{height:auto;padding:8px 11px;font-size:13px}.app-sidebar .nav-item:after{display:none;content:none}.app-sidebar .nav-group-label{height:auto;padding:9px 11px;justify-content:space-between;font-size:13px}.app-sidebar .nav-caret{display:inline-block}.app-sidebar .nav-group .nav-item{margin-left:12px;padding:8px 11px}.app-shell.nav-open .sidebar-account{padding:14px 7px 2px;justify-items:stretch;gap:10px}.app-shell.nav-open .sidebar-account-main{justify-content:flex-start}.app-shell.nav-open .account-details{display:grid}.app-shell.nav-open .account-logout{width:100%;min-height:36px;padding:6px 9px}.app-shell.nav-open .account-logout-label{display:inline}.app-shell.nav-open .sidebar-account-error{width:auto;max-height:none;padding:6px 7px;text-align:left;font-size:11px;overflow-wrap:anywhere}}@media(max-width:580px){.app-header{gap:8px;padding:0 10px}.app-nav-toggle{width:36px;flex-basis:36px}.mobile-brand{font-size:13px;white-space:nowrap}.mobile-account{gap:6px}.mobile-account-details{max-width:25vw}}@media(prefers-reduced-motion:reduce){.app-sidebar{transition:none}}.dashboard-metric{display:block;color:inherit!important;text-decoration:none;transition:border-color .15s ease,box-shadow .15s ease}.dashboard-metric:hover{border-color:#8cb5ed;box-shadow:0 3px 12px rgba(35,117,233,.1)}.dashboard-metric:focus-visible{outline:2px solid #478cf1;outline-offset:2px}.biz-table .engineering-product-group th{padding:11px 13px;border-top:1px solid #dbe5f1;background:#eef4fb;color:#304158;white-space:normal}.engineering-product-group-title{display:inline-flex;align-items:baseline;gap:12px;flex-wrap:wrap}.engineering-product-group-title strong{color:#183252;font-size:14px}.engineering-product-group-title>span{color:#526276;font-weight:500}.engineering-product-group-meta{float:right;color:#718096;font-size:12px;font-weight:400}@media(max-width:580px){.engineering-product-group-meta{display:block;float:none;margin-top:4px}}.list-pagination-size{display:inline-flex;align-items:center;gap:6px;color:#718096}.list-pagination-size select{min-width:72px;height:36px;border:1px solid #d7e0eb;border-radius:6px;background:#fff;padding:6px 8px;color:#1f334d}input[type=checkbox]{width:16px;min-width:16px;height:16px;margin:0 6px 0 0;padding:0;accent-color:#2375e9;vertical-align:middle;cursor:pointer}input[type=checkbox]:disabled{cursor:not-allowed}.card,.field,.form-grid>*,.table-wrap{min-width:0}.field input:not([type=checkbox]):not([type=radio]),.field select,.field textarea{min-width:0;max-width:100%}.toolbar>input,.toolbar>select{max-width:100%}.record-modal{max-height:calc(100dvh - 48px);overscroll-behavior:contain}.record-modal-header h2{min-width:0;overflow-wrap:anywhere}.record-modal-close{flex:0 0 32px}.record-modal-actions{flex-wrap:wrap}.btn:disabled{opacity:.6;cursor:not-allowed}:where(button,a[href],input,select,textarea,[tabindex]):focus-visible{outline:2px solid #478cf1;outline-offset:2px}.engineering-material-options button:disabled{cursor:not-allowed;color:#718096;background:#f5f7fa}@media(max-width:580px){.record-modal{max-height:92dvh;padding-bottom:max(18px,env(safe-area-inset-bottom))}.toolbar .grow{flex:0 0 100%;min-width:0}}@media screen{.app-header{height:48px;padding:0 20px;min-width:0}.header-location{display:flex;align-items:center;gap:10px;min-width:0;color:#203651;font-size:13px}.header-location-divider,.header-location-group{color:#7a899c}.header-location strong{min-width:0;font-weight:600;overflow-wrap:anywhere}.app-page[data-workspace=business]{padding:18px 20px 24px}.app-page[data-workspace=business] :where(.page-title){display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-bottom:12px}.app-page[data-workspace=business] .page-title>h1{margin:0;font-size:20px}.app-page[data-workspace=business] .page-title .toolbar{margin-bottom:0}.app-page[data-workspace=business] .page-title .btn{margin-top:0}.app-page[data-workspace=business] :where(.card){padding:14px}.app-page[data-workspace=business] .card+.card{margin-top:12px}.app-page[data-workspace=business] :where(.toolbar){margin-bottom:10px}.app-page[data-workspace=business] :where(.section-title){margin-bottom:10px}.app-page[data-workspace=business] .toolbar .section-title{margin-bottom:0}.app-page[data-workspace=business] .biz-table th{padding:9px 11px}.app-page[data-workspace=business] .biz-table td{padding:8px 11px}.app-page[data-workspace=business] .metric-grid{gap:10px;margin-bottom:12px}.app-page[data-workspace=business] .metric{padding:12px}.app-page[data-workspace=business] .quick-grid{gap:8px}.app-page[data-workspace=business] .quick-link{padding:10px 12px}.app-page[data-workspace=business] .detail-grid>div{min-height:56px;padding:9px 12px}.app-page[data-workspace=business] .record-tabs{margin-bottom:12px}.app-page[data-workspace=business] .form-grid,.record-modal[data-layout] .record-modal-body .form-grid{grid-template-columns:var(--record-form-columns,repeat(auto-fit,minmax(min(100%,240px),1fr)));gap:12px;align-items:start}.app-page[data-workspace=business] .form-grid>.field:has(textarea),.app-page[data-workspace=business] .form-grid>.span2,.record-modal[data-layout] .record-modal-body .form-grid>.field:has(textarea),.record-modal[data-layout] .record-modal-body .form-grid>.span2{grid-column:1/-1}.app-page[data-workspace=business] .field input:not([type=checkbox],[type=radio],[type=file],[type=range],[type=color],[type=hidden],[type=button],[type=submit],[type=reset],[type=image]),.app-page[data-workspace=business] .field select,.app-page[data-workspace=business] .field textarea,.record-modal[data-layout] .field input:not([type=checkbox],[type=radio],[type=file],[type=range],[type=color],[type=hidden],[type=button],[type=submit],[type=reset],[type=image]),.record-modal[data-layout] .field select,.record-modal[data-layout] .field textarea{width:100%;box-sizing:border-box}.engineering-material-trigger,.engineering-product-trigger{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}.biz-table :is(.numeric-cell,.number-cell),.biz-table input[type=number],.biz-table td:has(>input[type=number]){text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}[aria-label="列表分页"]{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin:12px 0 0;padding:12px 0 0;border-top:1px solid #e5ebf2;color:#65768c;font-size:12px}[aria-label="列表分页"] .list-pagination-size{margin-right:auto}[aria-label="列表分页"] .btn{padding:6px 10px}.record-modal-backdrop[data-layout=sidebar]{align-items:stretch;justify-content:flex-end;padding:8px;background:rgba(15,35,63,.18)}.record-modal-backdrop[data-layout=dialog]{align-items:center;justify-content:center;padding:20px;background:rgba(15,35,63,.28)}.record-modal[data-layout]{display:flex;flex-direction:column;width:min(680px,100%);min-width:0;border:1px solid #dce4ee;border-radius:10px;box-shadow:0 12px 40px rgba(15,35,63,.16)}.record-modal-backdrop[data-layout]>.record-modal[data-layout]{max-width:100%;padding:0;overflow:hidden}.record-modal-backdrop[data-layout=sidebar]>.record-modal[data-layout]{height:calc(100vh - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}.record-modal-backdrop[data-layout=dialog]>.record-modal[data-layout]{height:auto;max-height:calc(100dvh - 40px)}.record-modal[data-layout]:is(.engineering-detail-modal,.requisition-editor,.requisition-detail,.purchase-detail,.allocation-modal,.sales-order-editor,.finished-goods-editor,.production-plan-editor){width:min(1160px,calc(100vw - 72px))}.record-modal[data-layout].compact-modal{width:min(560px,100%)}.record-modal[data-layout]>.record-modal-header{flex:none;position:relative;top:auto;margin:0;padding:16px 20px;border-bottom:1px solid #e5ebf2;background:#fff}.record-modal[data-layout]>.record-modal-header h2{margin:0;font-size:17px;line-height:1.4}.record-modal[data-layout]>.record-modal-body{flex:1 1;min-width:0;min-height:0;padding:20px;overflow:auto;overscroll-behavior:contain}.record-modal[data-layout] .record-modal-body .table-wrap{max-height:none;overflow:auto}.record-modal[data-layout].purchase-detail .record-modal-body>.field{margin-top:16px}.record-modal[data-layout] .record-modal-body .record-modal-actions{position:sticky;bottom:-20px;z-index:2;grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin:20px -20px -20px;padding:14px 20px;background:#fff;border-top:1px solid #e5ebf2}@media(min-width:901px){.app-sidebar{width:190px;flex-basis:190px;padding:16px 10px}.app-sidebar .brand{padding:4px 9px 22px}.app-sidebar .nav-group-label{padding:8px 10px}.app-sidebar .nav-group .nav-item{margin-left:10px;padding:7px 10px}}@media(max-width:760px){.record-modal-backdrop[data-layout=sidebar]{padding:0}.record-modal-backdrop[data-layout=sidebar]>.record-modal[data-layout]{width:100%;height:100vh;height:100dvh;max-height:100dvh;border:0;border-radius:0}.record-modal[data-layout]>.record-modal-header{padding:14px 16px}.record-modal[data-layout]>.record-modal-body{padding:16px}.record-modal[data-layout] .record-modal-body .record-modal-actions{bottom:-16px;margin-inline:-16px;margin-bottom:-16px;padding:12px 16px max(12px,env(safe-area-inset-bottom))}[aria-label="列表分页"]{justify-content:flex-start}}@media(max-width:580px){.app-header{height:52px;padding:0 10px;gap:8px}.app-header .mobile-brand,.header-location-divider,.header-location-group{display:none}.header-location{font-size:13px}.app-page[data-workspace=business]{padding:14px 12px 20px}.record-modal-backdrop[data-layout=dialog]{padding:10px}.record-modal-backdrop[data-layout=dialog]>.record-modal[data-layout]{max-height:calc(100dvh - 20px);border-radius:10px}.record-modal[data-layout] .record-modal-body .form-grid{grid-template-columns:minmax(0,1fr)}.record-modal[data-layout]>.record-modal-header h2{font-size:16px}}@media(pointer:coarse){.app-nav-toggle,.app-page[data-workspace=business] .btn,.mobile-account .account-logout,.record-modal-close,.record-modal[data-layout] .btn{min-height:44px}.app-page[data-workspace=business] .field input:not([type=checkbox],[type=radio],[type=file],[type=range],[type=color],[type=hidden],[type=button],[type=submit],[type=reset],[type=image]),.app-page[data-workspace=business] .field select,.record-modal[data-layout] .field input:not([type=checkbox],[type=radio],[type=file],[type=range],[type=color],[type=hidden],[type=button],[type=submit],[type=reset],[type=image]),.record-modal[data-layout] .field select{min-height:44px;font-size:16px}.record-modal[data-layout] .engineering-material-trigger,.record-modal[data-layout] .engineering-product-trigger{min-height:44px}}}@media screen{:where(.app-page[data-workspace=business] *,.record-modal[data-layout] *,.login-page *,.ui-control):where(input:not([type=checkbox],[type=radio],[type=file],[type=range],[type=color],[type=hidden],[type=button],[type=submit],[type=reset],[type=image]),select,textarea){box-sizing:border-box;min-width:0;max-width:100%;height:36px;padding:7px 10px;border:1px solid #d7e0eb;border-radius:6px;background:#fff;color:#1f334d;font:inherit;line-height:20px}:where(.app-page[data-workspace=business] *,.record-modal[data-layout] *,.login-page *,.ui-control):where(textarea,select[multiple]){height:auto;min-height:76px}:where(.app-page[data-workspace=business] *,.record-modal[data-layout] *,.login-page *,.ui-control):where(textarea){resize:vertical}:where(.app-page[data-workspace=business] *,.record-modal[data-layout] *,.login-page *,.ui-control):is(input,select,textarea):not(:where([type=checkbox],[type=radio],[type=file],[type=range],[type=color],[type=hidden],[type=button],[type=submit],[type=reset],[type=image])):focus{border-color:#478cf1;box-shadow:0 0 0 3px #e8f1ff}:where(.app-page[data-workspace=business] *,.record-modal[data-layout] *,.login-page *,.ui-control):is(input,select,textarea):not(:where([type=checkbox],[type=radio],[type=file],[type=range],[type=color],[type=hidden],[type=button],[type=submit],[type=reset],[type=image])):disabled{background:#f5f7fa;color:#718096;cursor:not-allowed}:where(.app-page[data-workspace=business]) :where(.section-heading){display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}:where(.app-page[data-workspace=business]) :where(.section-heading>h2){margin:0;font-size:16px;line-height:1.4}:where(.app-page[data-workspace=business],.record-modal[data-layout]) :where(.toolbar>label:has(>input:not([type=checkbox],[type=radio],[type=file],[type=range],[type=color],[type=hidden],[type=button],[type=submit],[type=reset],[type=image])),.section-heading>label:has(>input)){display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0;max-width:100%}@media(pointer:coarse){:where(.app-page[data-workspace=business] *,.record-modal[data-layout] *,.login-page *,.ui-control):where(input:not([type=checkbox],[type=radio],[type=file],[type=range],[type=color],[type=hidden],[type=button],[type=submit],[type=reset],[type=image]),select){min-height:44px;font-size:16px}}}.form-validation-summary{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:10px 12px;margin:0 0 12px;overflow-wrap:anywhere}.form-validation-invalid{outline:1px solid #dc2626;outline-offset:0;box-shadow:0 0 0 2px rgb(220 38 38/12%)!important;border-radius:8px}.form-validation-invalid:is(input,select,textarea,button){border-color:#dc2626!important}.form-validation-invalid.field>span{color:#b91c1c}.form-validation-flash{animation:form-validation-flash .35s ease-in-out 2}@keyframes form-validation-flash{0%,to{outline:0 solid transparent}50%{outline:3px solid rgb(220 38 38/45%);outline-offset:1px;background-color:#fef2f2}}@media (prefers-reduced-motion:reduce){.form-validation-flash{animation:none}}.record-modal-backdrop:has(>.app-confirm-dialog){z-index:2200;align-items:center;justify-content:center;padding:16px}.record-modal.app-confirm-dialog[data-layout=dialog]{width:min(460px,100%);max-height:calc(100dvh - 32px);border-radius:12px}.app-confirm-dialog .record-modal-body{overflow-wrap:anywhere}.app-confirm-dialog .record-modal-actions{flex-wrap:wrap}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.record-modal-header-actions{display:flex;flex:none;align-items:center;margin-left:auto;white-space:nowrap}.engineering-relink-menu .engineering-material-options button{white-space:normal;overflow-wrap:anywhere;text-align:left}.engineering-relink-menu>.ui-control{flex:none}