.order-center-page .app-content{max-width:none;width:100%;min-width:0}.order-center-page .center-banner,.order-center-page .center-sync,.order-center-page .center-filters,.order-center-page .card{width:100%;box-sizing:border-box}.order-center-page .center-table{table-layout:fixed;min-width:900px}.order-center-page .center-table th:nth-child(1){width:15%}.order-center-page .center-table th:nth-child(2){width:28%}.order-center-page .center-table th:nth-child(3){width:15%}.order-center-page .center-table th:nth-child(4){width:13%}.order-center-page .center-table th:nth-child(5){width:8%}.order-center-page .center-table th:nth-child(6){width:12%}.order-center-page .center-table th:nth-child(7){width:9%}.order-center-page .center-table td{overflow-wrap:anywhere;white-space:normal}.order-center-page .center-product{min-width:0;align-items:flex-start}.order-center-page .center-product>div{min-width:0}.order-center-page .center-product img{flex-shrink:0;object-fit:contain}.order-center-page .center-filters{grid-template-columns:minmax(220px,2fr) repeat(3,minmax(130px,1fr)) auto auto}.auto-sync-card{padding:22px;margin:20px 0}.auto-sync-head{display:flex;justify-content:space-between;gap:16px;align-items:center}.auto-sync-head h3{margin:7px 0 20px}#autoSyncStats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:18px}#autoSyncStats small{display:block;color:#64748b;margin-bottom:7px}#autoSyncStats b{font-size:19px;overflow-wrap:anywhere}#autoSyncRange{line-height:1.8}#autoSyncSettings{display:flex;align-items:end;flex-wrap:wrap;gap:16px;margin:18px 0}#autoSyncSettings label:first-child{display:grid;gap:8px;max-width:200px}#autoSyncFailure{line-height:1.8;color:#64748b}#autoSyncTasks details{background:#f5f8fc;padding:12px;border-radius:8px;font-size:13px;line-height:1.8}#autoSyncTasks summary{cursor:pointer}.qc-workspace-overlay{justify-content:center;align-items:center;background:#0b193b88;padding:12px}.qc-workspace{display:flex;flex-direction:column;width:min(1840px,100%);height:calc(100dvh - 24px);border-radius:14px;overflow:hidden}.qc-workspace .erp-panel-head{position:relative;flex-shrink:0;padding:18px 24px}.qc-title-row{display:flex;gap:20px;align-items:center;justify-content:space-between}.qc-title-row h2{font-size:24px;margin:5px 0 12px}.qc-order-facts{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}.qc-order-facts span{background:#eff6ff;color:#475569;padding:9px 12px;border-radius:8px;font-size:13px}.qc-order-facts b{font-size:18px;color:#0f4ca9;margin-left:7px}.qc-order-remark{display:flex;gap:15px;background:#fff3d7;border-left:4px solid #e99a12;padding:10px 14px;margin:0 0 12px;color:#823d06;max-height:90px;overflow:auto;line-height:1.6}.qc-order-remark b{flex-shrink:0}.qc-order-remark span{white-space:pre-wrap;overflow-wrap:anywhere}.qc-workspace-grid{flex:1;min-height:0;display:grid;grid-template-columns:minmax(440px,1fr) minmax(470px,1fr);overflow:hidden}.qc-products,.qc-inspection{min-width:0;overflow:auto;padding:20px}.qc-products{background:#f1f5fa;border-right:1px solid #dde5ef}.qc-inspection{background:#f9fbfe}.qc-column-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.qc-column-title h3{font-size:18px}.qc-column-title span{color:#64748b;font-size:12px}.qc-workspace .card{padding:18px;margin-bottom:16px}.qc-product-heading{display:flex;justify-content:space-between;gap:10px;color:#64748b;font-size:13px}.qc-product-heading b{color:#1e4ea1}.qc-product.qc-current-product{border:2px solid #4281ef;box-shadow:0 3px 16px #2163dc15}.qc-workspace .erp-line{grid-template-columns:minmax(160px,220px) minmax(0,1fr);padding:18px 0 8px;gap:18px}.qc-workspace .erp-line img{width:100%;height:230px;object-fit:contain;border-radius:12px}.qc-workspace .erp-line h4{font-size:19px;line-height:1.5;overflow-wrap:anywhere}.qc-workspace .erp-line p{line-height:1.7;overflow-wrap:anywhere}.qc-workspace .erp-line .erp-important{padding:10px;font-size:13px}.qc-workspace .erp-line .erp-mapping{grid-column:1/-1}.qc-workspace .erp-mapping label{font-size:12px;display:grid;gap:6px}.qc-note{background:#f8faff;border-radius:8px;margin:10px 0;padding:10px 12px}.qc-note strong{font-size:12px;color:#49678f}.qc-note p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;margin-top:6px}.qc-item-units,.qc-unit-nav{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.qc-item-units .active,.qc-unit-nav .active{background:#2563eb;color:white;border-color:#2563eb}.qc-current{font-weight:700;line-height:1.6;background:#eaf2ff;padding:12px;border-radius:8px;color:#1e4ea1}.qc-workspace .erp-unit{margin:16px 0;padding:18px}.qc-unit-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.qc-unit-head h3{font-size:16px;overflow-wrap:anywhere}.qc-check-title{display:flex;gap:10px;align-items:center;margin:8px 0 14px}.qc-check-title b{font-size:17px}.qc-check-spec{font-size:13px;line-height:1.7;margin-bottom:13px}.qc-check-spec>div{display:grid;grid-template-columns:76px minmax(0,1fr);gap:10px;margin:6px 0}.qc-check-spec dt{color:#64748b}.qc-check-spec dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.qc-workspace .check-result{width:100%;max-width:280px}.qc-workspace .erp-check textarea{min-height:64px}.qc-failure{background:#fff4ef;border:1px solid #f1cbbb;padding:12px;border-radius:8px;margin-top:8px}.qc-failure-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:8px}.qc-failure-fields label{display:grid;gap:7px;font-size:12px}.qc-photo-label{display:block;margin-top:12px;font-size:12px}.qc-empty{padding:40px 20px;background:white;border:1px dashed #ccd8e6;border-radius:10px;margin-top:18px;line-height:1.9;color:#64748b}.qc-workspace [hidden]{display:none!important}.qc-process p{padding:10px 0;line-height:1.7;border-bottom:1px solid #e3eaf2}.qc-workspace .erp-panel-footer{position:relative;flex-shrink:0}.qc-missing-records article{padding:14px 0;border-bottom:1px solid #e2e8f0}.qc-missing-records p{line-height:1.8;margin:8px 0}@media(max-width:1100px){.qc-workspace-grid{grid-template-columns:1fr;overflow:auto}.qc-products,.qc-inspection{overflow:visible}.qc-order-facts span{padding:6px 8px}.qc-order-facts b{font-size:15px}.qc-title-row{align-items:flex-start}.order-center-page .center-filters{grid-template-columns:1fr 1fr}}@media(max-width:650px){.qc-workspace-overlay{padding:0}.qc-workspace{height:100dvh;border-radius:0}.qc-title-row{display:block}.qc-order-facts{justify-content:flex-start;margin-bottom:10px}.qc-workspace .erp-panel-head{padding:12px}.qc-workspace .erp-line{grid-template-columns:1fr}.qc-workspace .erp-line img{height:240px}.qc-products,.qc-inspection{padding:12px}.qc-check-spec>div{grid-template-columns:65px 1fr}#autoSyncStats{grid-template-columns:1fr 1fr}.qc-order-remark{max-height:70px}.qc-workspace .erp-panel-footer{padding:12px}}
.center-order-note{max-height:120px;overflow:auto;white-space:pre-wrap;line-height:1.7}

.order-number-link{border:0;background:transparent;color:#2563eb;font:inherit;font-weight:700;cursor:pointer;text-align:left;padding:0;overflow-wrap:anywhere}.order-number-link:hover{text-decoration:underline}.order-number-link:focus-visible{outline:2px solid #2563eb;outline-offset:4px}.order-detail-overlay{align-items:center;justify-content:center;padding:20px;z-index:1100}.unified-order-detail{width:min(1500px,100%);height:calc(100dvh - 40px);border-radius:14px;overflow:hidden;display:flex;flex-direction:column}.unified-order-detail .erp-panel-head{display:flex;justify-content:space-between;align-items:center;flex-shrink:0}.unified-order-detail .erp-panel-body{overflow:auto;flex:1;padding:24px;background:#f5f8fc}.unified-order-detail .card{padding:20px;margin-bottom:18px}.unified-order-detail h3{margin-bottom:16px}.order-detail-summary dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.order-detail-summary dt{font-size:12px;color:#64748b;margin-bottom:7px}.order-detail-summary dd{margin:0;font-weight:600;overflow-wrap:anywhere}.order-detail-remark{margin-top:20px;border-top:1px solid #e2e8f0;padding-top:16px}.detail-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.order-product-table{min-width:800px}.order-product-table th:nth-child(5){width:35%}.order-product-image{width:84px;height:84px;object-fit:contain;border:1px solid #e2e8f0;border-radius:8px;cursor:zoom-in}.unified-order-detail .data-table td{white-space:normal;overflow-wrap:anywhere}.order-issue{padding:18px 0;border-top:1px solid #dce4ee;line-height:1.9}.order-issue p{margin:8px 0}.order-issue-actions{display:flex;gap:10px;margin-top:14px}.order-photos{display:flex;gap:10px;flex-wrap:wrap}.order-photos img{width:100px;height:100px;object-fit:contain;cursor:zoom-in;border-radius:8px}.waiting-order-table{min-width:1550px}.waiting-order-table th{white-space:normal!important;min-width:66px}.waiting-order-table th:nth-child(1){min-width:125px}.waiting-order-table th:nth-child(3){min-width:180px}.waiting-order-table td{white-space:normal;overflow-wrap:anywhere;max-width:220px;vertical-align:top}.waiting-order-table small{display:block;color:#64748b;margin-top:5px}.qc-order-remark{max-height:none!important;overflow:visible;flex-shrink:0}.qc-order-remark.has-remark{font-weight:700;color:#c51b27}.qc-order-remark:not(.has-remark){font-weight:400;color:#64748b}.qc-order-remark:not(.has-remark) b{font-weight:400}.qc-required-quantity b{font-size:26px;color:#2563eb}.order-detail-overlay .icon{width:16px;height:16px}.erp-photo-overlay{z-index:1300}@media(max-width:850px){.order-detail-summary dl{grid-template-columns:1fr 1fr}.order-detail-overlay{padding:0}.unified-order-detail{height:100dvh;border-radius:0}.unified-order-detail .erp-panel-body{padding:12px}}

.rule-drop{border:2px dashed #93b4f4;border-radius:12px;padding:30px;text-align:center;background:#f4f8ff;cursor:pointer;margin:16px 0}.rule-drop.drag-active{background:#e0ebff;border-color:#2563eb}.waiting-order-table th:nth-child(3){min-width:85px}.waiting-order-table th:nth-child(4),.waiting-order-table td:nth-child(4){min-width:300px;width:340px;max-width:400px}.wait-good{display:flex;gap:12px;align-items:flex-start;margin:8px 0}.wait-good img,.wait-no-image{width:54px;height:54px;flex-shrink:0;object-fit:contain;border-radius:6px;cursor:zoom-in}.wait-good>div{min-width:0}.wait-good b{line-height:1.5;word-break:normal}.wait-good small{overflow-wrap:anywhere}

.task-summary{margin-top:24px}.task-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:18px 0}.task-counts button{padding:20px;text-align:left;cursor:pointer;border:1px solid #dbe5f5}.task-counts strong{display:block;font-size:28px;color:#2563eb;margin-top:12px}.task-counts .selected{background:#edf4ff;border-color:#2563eb}@media(max-width:800px){.task-counts{grid-template-columns:repeat(2,minmax(0,1fr))}}

.route-loading{position:fixed;right:24px;top:62px;z-index:4000;background:#eff5ff;border:1px solid #b8d0ff;padding:10px 18px;border-radius:8px;box-shadow:0 3px 12px #172b4d20}
.qc-order-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:18px}.qc-tracking-number{font-size:13px;overflow-wrap:anywhere;user-select:all;max-width:100%}.qc-order-tools .tag{white-space:nowrap}.qc-order-tools small{flex-basis:100%;line-height:1.5}

.qc-tracking-state{display:contents}

.qc-workspace .erp-panel-footer{display:flex;align-items:center;gap:12px;flex-wrap:wrap;flex-shrink:0}.qc-workspace .erp-panel-footer .qc-tracking-state{display:inline-flex;align-items:center;flex-shrink:0}.qc-workspace .erp-panel-footer .erp-sync-note{font-size:12px;min-width:160px;flex:1}.qc-qr-operations{padding:18px;margin-bottom:20px}.qc-scan-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.qc-scan-inputs{display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:12px;margin:12px 0}.qc-scan-inputs label{font-size:12px}.qc-action-codes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}.qc-code-card{background:white;border:1px solid #dce5f3;border-radius:10px;padding:14px;cursor:pointer;min-width:0;display:grid;justify-items:center;gap:8px;color:#1e293b}.qc-code-card svg{display:block;width:142px;height:142px;max-width:100%;background:white}.qc-code-card b{font-size:15px}.qc-code-card small{font-size:12px;color:#64748b}.qc-code-card.pass{border-color:#22a35c;background:#f4fff7}.qc-code-card.fail{border-color:#f0afaf}.qc-code-card.missing{background:#fff8ed}.qc-code-card:disabled{opacity:.55;cursor:wait}.qc-manual-checks{margin-bottom:20px}.qc-manual-checks>summary{padding:12px;cursor:pointer;background:#f0f4fa;border-radius:8px}.qc-operation-result{padding:12px}@media(max-width:600px){.qc-scan-inputs{grid-template-columns:1fr}.qc-code-card svg{width:125px;height:125px}.qc-workspace .erp-panel-footer{padding:12px}.qc-workspace .erp-panel-footer .erp-sync-note{flex-basis:100%}}
