.purchase-import-bar{background:#f7faf7;border:1px dashed #a9bbae;border-radius:9px;justify-content:space-between;align-items:center;gap:15px;margin-top:18px;padding:12px 14px;display:flex}.purchase-import-bar strong,.purchase-import-bar small{display:block}.purchase-import-bar strong{font-size:11px}.purchase-import-bar small{color:#7b8780;margin-top:3px;font-size:9px}.purchase-import-bar>div:last-child{flex-wrap:wrap;align-items:center;gap:7px;display:flex}@media (max-width:800px){.purchase-import-bar{flex-direction:column;align-items:flex-start}}.sync-button{color:#236c49;background:#f4faf6;border-color:#b8d2c2}.bookmark-code{resize:vertical;color:#536159;word-break:break-all;background:#f7f9f7;border:1px solid #c9d5cd;border-radius:7px;width:100%;height:92px;padding:10px;font:9px/1.5 Consolas,monospace;display:block}.metric.active{border-color:#4c8d67;outline:3px solid #3f845b38;transform:translateY(-2px);box-shadow:0 10px 25px #253a2e1a}.batch-head-wrap{background:#fafbf9;align-items:stretch;display:flex}.batch-head-wrap>.transit-batch-title{flex:1}.batch-menu-button{color:#9b5a0d;background:#fff8ec;border:1px solid #d39b50;border-radius:7px;margin:10px;padding:0 12px;font-size:10px}.batch-menu-button:disabled{opacity:.4}.batch-actions{align-items:center;gap:6px;padding:10px;display:flex}.batch-actions button{white-space:nowrap;background:#fff;border:1px solid #ccd5cf;border-radius:6px;padding:7px 9px;font-size:9px}.batch-actions button:hover{color:#27704b;border-color:#4f8a68}.batch-action-form>p{color:#66736b;background:#f6f8f6;border-radius:7px;padding:11px;font-size:11px;line-height:1.7}.batch-action-form label{color:#69756e;font-size:10px;display:block}.batch-action-form textarea{resize:vertical;border:1px solid #cbd5ce;border-radius:7px;width:100%;min-height:90px;margin-top:7px;padding:10px;display:block}.batch-action-form .form-actions{display:flex}.status-测试批次{opacity:.78}.status-已作废{opacity:.65}.status-已作废 .transit-batch-title{text-decoration-color:#a6493e}.dark .app-shell .purchase-import-bar{color:#e4e9ef;background:#182334;border-color:#96a6b94d}.dark .app-shell .purchase-import-bar small{color:#9aa7b6}.dark .app-shell .sync-button{color:#a9c8df;background:#76add221;border-color:#76add257}.dark .app-shell .bookmark-code{color:#c8d1dc;background:#101a28;border-color:#96a6b945}.dark .app-shell .batch-head-wrap{background:#182334;border-color:#96a6b92e}.dark .app-shell .batch-menu-button,.dark .app-shell .receive-all-button{color:#efbd6b;background:#efb65c1f;border-color:#efb65c57}.dark .app-shell .batch-actions button{color:#cbd4df;background:#121d2b;border-color:#96a6b940}.dark .app-shell .batch-actions button:hover{color:#fff;background:#26364b;border-color:#b4c3d366}.dark .app-shell .batch-action-form>p{color:#b7c1cd;background:#182334}.dark .app-shell .batch-action-form label{color:#aab5c2}.dark .app-shell .batch-action-form textarea{color:#e4e9ef;background:#101a28;border-color:#96a6b945}
.inactive-archive{border-top:1px solid #dfe5e1;margin-top:28px;padding-top:18px}.inactive-archive-toggle{text-align:left;color:#59665e;background:#f6f7f6;border:1px solid #d6ddd8;border-radius:9px;justify-content:space-between;align-items:center;width:100%;padding:14px 16px;display:flex}.inactive-archive-toggle span b,.inactive-archive-toggle span small{display:block}.inactive-archive-toggle span b{font-size:11px}.inactive-archive-toggle span small{color:#89928d;margin-top:4px;font-size:9px}.inactive-archive-toggle i{font-size:10px;font-style:normal}.inactive-archive-list{background:#f6f7f6;border-radius:10px;margin-top:12px;padding:12px}.inactive-archive-list .transit-batch-card:last-child{margin-bottom:0}.dark .app-shell .inactive-archive{border-color:#96a6b92e}.dark .app-shell .inactive-archive-toggle{color:#e4e9ef;background:#182334;border-color:#96a6b938}.dark .app-shell .inactive-archive-toggle:hover{background:#202e41;border-color:#b4c3d357}.dark .app-shell .inactive-archive-toggle span small{color:#9aa7b6}.dark .app-shell .inactive-archive-list{background:#101a28;border:1px solid #96a6b929}.dark .app-shell .archive-items em{color:#a9c8df;background:#76add226}.dark .app-shell .status-测试批次,.dark .app-shell .status-已作废{color:#b8c2cf}
.modal-card:has(.bom-form){width:min(1120px,96vw)}.bom-form{width:100%;min-width:0}.bom-copy{background:#f7faf8;border:1px solid #dce5df;border-radius:9px;grid-template-columns:1fr 250px auto;align-items:center;gap:10px;margin-bottom:14px;padding:12px;display:grid}.bom-copy div{flex-direction:column;gap:3px;display:flex}.bom-copy strong{color:#274a37;font-size:11px}.bom-copy small{color:#7c8781;font-size:9px}.bom-copy input{border:1px solid #ced7d1;border-radius:7px;height:36px;padding:0 10px;font-size:10px}.bom-copy button{white-space:nowrap;height:36px}.bom-head,.bom-line{grid-template-columns:105px 1.35fr 1fr 82px 62px 82px 95px 34px;align-items:center;gap:8px;display:grid}.bom-head{color:#7c8781;padding:0 3px 7px;font-size:9px}.bom-line{margin-bottom:8px}.bom-line input{border:1px solid #ced7d1;border-radius:6px;width:100%;height:35px;padding:0 8px;font-size:10px}.bom-line>button{color:#b7473b;background:#fff0ed;border:0;border-radius:6px;height:32px}.bom-add{margin-top:4px}.batch-side-actions{align-items:center;gap:6px;padding:10px;display:flex}.batch-side-actions .batch-menu-button{height:34px;margin:0}.bom-download-button{color:#27704b;white-space:nowrap;background:#edf7f1;border:1px solid #78a98b;border-radius:7px;height:34px;padding:0 11px;font-size:10px}.bom-download-button:hover{background:#dff1e6}@media (max-width:850px){.modal-card:has(.bom-form){width:98vw;padding:16px}.bom-form{min-width:0;overflow-x:auto}.bom-copy{grid-template-columns:1fr;position:sticky;left:0}.bom-head,.bom-line{min-width:960px}.bom-summary,.bom-add,.bom-form>.form-error,.bom-form>.form-actions{min-width:0;position:sticky;left:0}.batch-side-actions{flex-direction:column;align-items:stretch}}.bom-line-total{color:#a86618;text-align:right;padding-right:5px;font-size:11px}.bom-summary{background:#f3f8f4;border:1px solid #dce9df;border-radius:8px;justify-content:flex-end;align-items:center;gap:18px;margin:12px 0 4px;padding:13px 14px;display:flex}.bom-summary span{color:#5f6e65;font-size:10px}.bom-summary strong{color:#176542;font-size:18px}.dark .app-shell .bom-copy{background:#182334;border-color:#96a6b938}.dark .app-shell .bom-copy strong{color:#e4e9ef}.dark .app-shell .bom-copy small,.dark .app-shell .bom-head{color:#9aa7b6}.dark .app-shell .bom-copy input,.dark .app-shell .bom-line input{color:#e4e9ef;background:#101a28;border-color:#96a6b945}.dark .app-shell .bom-line input[readonly]{color:#c8d1dc;background:#152132}.dark .app-shell .bom-line>button{color:#ff9189;background:#ff64591f}.dark .app-shell .bom-line>button:hover{color:#fff;background:#cd483d5c}.dark .app-shell .bom-line-total{color:#efbd6b}.dark .app-shell .bom-summary{background:#182334;border-color:#96a6b938}.dark .app-shell .bom-summary span{color:#aab5c2}.dark .app-shell .bom-summary strong{color:#e4e9ef}.dark .app-shell .bom-download-button{color:#a9c8df;background:#76add221;border-color:#76add25c}.dark .app-shell .bom-download-button:hover{color:#dceaf4;background:#76add23b}.app-shell .bom-copy strong{font-size:14px}.app-shell .bom-copy small{font-size:12px}.app-shell .bom-copy input{height:40px;font-size:14px}.app-shell .bom-copy button{height:40px}.app-shell .bom-head,.app-shell .bom-line{grid-template-columns:28px 105px 1.35fr 1fr 82px 62px 82px 95px 34px}.app-shell .bom-head{font-size:12px}.app-shell .bom-line input{height:40px;font-size:14px}.app-shell .bom-drag{cursor:grab;color:#7c8781;background:0 0;border:0;height:34px;padding:0;font-size:18px}.app-shell .bom-drag:active{cursor:grabbing}.app-shell .bom-line.dragging{opacity:.45}.app-shell .bom-line.drag-over{outline-offset:2px;outline:2px solid #78a98b}:is(.app-shell .bom-head:not(:has(>span:nth-child(9))),.app-shell .bom-line:not(:has(.bom-drag))){grid-template-columns:105px 1.35fr 1fr 82px 62px 82px 95px 34px}
