.delivery-workspace header{display:flex;justify-content:space-between;align-items:center;gap:16px}.delivery-workspace h2{margin:0 0 8px;font-size:20px}.delivery-workspace p{color:#64748b;font-size:13px;line-height:1.6}.delivery-summary{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.delivery-summary>span{background:#f3f7fc;border:1px solid #dbe5f3;padding:14px 20px;border-radius:7px;min-width:150px;color:#475569}.delivery-summary b{margin-left:14px;color:#24559a;font-size:22px}.delivery-search{display:flex;align-items:center;gap:12px;margin:16px 0;flex-wrap:wrap;color:#64748b;font-size:12px}.delivery-search input{width:min(440px,100%);padding:9px 12px;border:1px solid #cbd5e1;border-radius:5px}.delivery-table{max-width:100%;max-height:65vh;overflow:auto;overscroll-behavior:contain;border:1px solid #dbe5f3;border-radius:6px}.delivery-table>table{min-width:1100px;width:100%;border-collapse:collapse;font-size:13px}.delivery-table th{position:sticky;top:0;background:#edf2f7;z-index:1;text-align:left;padding:12px}.delivery-table td{padding:12px;vertical-align:top;border-top:1px solid #e2e8f0}.delivery-workspace small{display:block;font-size:12px;color:#64748b;margin-top:5px;line-height:1.5}.delivery-actions{display:flex;gap:6px;flex-wrap:wrap;min-width:130px}.delivery-actions .btn{font-size:12px;white-space:nowrap}.delivery-batch-detail{padding:12px;background:#f8fafc;overflow:auto}.delivery-batch-detail table{width:100%;min-width:1000px}.delivery-warning{color:#b45309}.delivery-notice{padding:10px;margin-bottom:8px;background:#fffbeb;display:flex;align-items:center;gap:12px}.delivery-editor{border:1px solid #9db9dd;background:#f5f9ff;padding:20px;border-radius:8px;margin:16px 0;display:flex;gap:14px;flex-wrap:wrap;scroll-margin-top:16px}.delivery-editor h3,.delivery-editor p,.delivery-editor>.delivery-table,.delivery-editor footer{flex-basis:100%;margin:0}.delivery-editor label{display:flex;flex-direction:column;gap:7px;min-width:220px;font-size:13px}.delivery-editor input{padding:8px;border:1px solid #a9bdd7;border-radius:4px;background:white;font:inherit;box-sizing:border-box}.delivery-editor input[type=checkbox]{width:20px;height:20px}.delivery-editor footer{display:flex;gap:8px;justify-content:flex-end}.delivery-notifications{border:1px solid #dbe5f3;border-radius:6px;padding:12px;margin:12px 0}.delivery-notifications summary{cursor:pointer;font-weight:600;color:#24559a}.delivery-help{margin-bottom:12px}@media(max-width:768px){.delivery-summary>span{min-width:100px;flex:1}.delivery-editor label{width:100%;min-width:0}.delivery-workspace header{align-items:flex-start}.delivery-workspace{padding:12px!important}}

.delivery-editing .delivery-editor{margin:16px 0 0}.delivery-plan-editor .delivery-table{max-height:48vh}.delivery-plan-editor .delivery-table table{min-width:900px}.delivery-plan-editor input[type=number]{width:130px;max-width:100%;font-variant-numeric:tabular-nums}.delivery-plan-feedback{display:block;min-height:24px;margin-top:8px;color:#255d8a;font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}.delivery-next-step{flex-basis:100%;padding:14px;background:#eaf3ff;border-radius:6px}.delivery-next-step p{margin:7px 0 0}.delivery-result{padding:14px;margin:14px 0;background:#edf8f1;color:#1a6b43;border:1px solid #b6d9c4;border-radius:6px;line-height:1.7}.delivery-pending{font-size:12px;color:#886621;line-height:1.6}.delivery-editing footer .primary{min-height:42px;padding:8px 18px}.delivery-editing .delivery-editor>p{flex-basis:100%;margin:0;line-height:1.7}

.delivery-workspace .btn.primary{background:#265da8;color:#fff;border-color:#265da8;font-weight:600}.delivery-workspace .btn.primary:hover{background:#1e4c8c}.delivery-workspace .btn.primary:disabled{opacity:.65}
.delivery-editor select,.delivery-editor textarea{padding:8px;border:1px solid #a9bdd7;border-radius:4px;background:#fff;font:inherit;box-sizing:border-box;max-width:100%}.delivery-editor textarea{min-width:300px;resize:vertical}.delivery-table{scrollbar-gutter:stable}.delivery-table>table{table-layout:fixed}.delivery-table td{overflow-wrap:anywhere}.delivery-workspace .delivery-actions{min-width:0}.delivery-table th:first-child{width:90px}.delivery-table th:last-child{width:190px}
.delivery-plan-editor .delivery-table th:first-child{width:38%}.delivery-plan-editor .delivery-table th{white-space:nowrap}.delivery-plan-editor input[readonly]{background:#f0f4f8;color:#334155}

.order-sheet-tab{min-height:44px;padding:10px 18px;font-size:14px}.shipment-shortage-detail{white-space:normal;min-width:220px}.shipment-shortage-detail summary{cursor:pointer;color:#b54708;text-decoration:underline;padding:6px 0}.shipment-shortage-detail table{min-width:320px}.shipment-shortage-detail th,.shipment-shortage-detail td{padding:6px!important}#shipment-draft-status{font-size:12px;color:#526b82}

.shipment-shortage-detail table th,.shipment-shortage-detail table td{text-align:center!important}.delivery-table th,.delivery-table td{text-align:center}.delivery-actions{justify-content:center}
