.dispatch-upload-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.dispatch-clear-upload{width:28px;height:28px;border:1px solid #d6e0db;border-radius:4px;background:#fff;color:#6c7f77;font:20px/1 Arial,sans-serif;cursor:pointer}
.dispatch-clear-upload:hover{border-color:#e7b5b0;color:var(--danger)}
.dispatch-field-option{position:relative;padding-right:35px}
.dispatch-remove-field{position:absolute;top:7px;right:7px;width:20px;height:20px;border:0;background:transparent;color:#83928c;font:18px/1 Arial,sans-serif;cursor:pointer}
.dispatch-remove-field:hover{color:var(--danger)}
.dispatch-staged-templates{margin-top:18px}
.dispatch-staged-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:0 2px 8px}
.dispatch-staged-head small{color:var(--muted);font-size:12px}
.dispatch-template-row.active{background:#f2faf5}
.dispatch-sku-panel .dispatch-actions{justify-content:space-between;gap:12px}
.dispatch-routing-tools{display:flex;align-items:flex-end;gap:10px;padding:14px 15px;border-bottom:1px solid var(--line);background:#f7faf8}.dispatch-routing-tools label{display:grid;gap:6px;color:#314b43;font-size:12px;font-weight:700}.dispatch-routing-tools select,.dispatch-routing-tools input,.dispatch-owner-select{box-sizing:border-box;border:1px solid #b9c7c1;border-radius:5px;background:#fff;padding:8px 9px;color:var(--ink);font:inherit}.dispatch-routing-tools input{width:190px}.dispatch-routing-tools .secondary-button{width:auto;padding:9px 11px;font-size:12px;white-space:nowrap}.dispatch-owner-select{min-width:130px;border:0;border-radius:0;background:transparent;padding:9px}
.dispatch-routing-tools .dispatch-bulk-owner select{min-width:150px}
.dispatch-preview-table td.dispatch-inactive-cell{background:#f1f3f2}.dispatch-preview-table td.dispatch-inactive-cell .dispatch-cell{color:#a4aea9;cursor:not-allowed}.dispatch-preview-table td.dispatch-inactive-cell .dispatch-cell:disabled{opacity:1}
.dispatch-preview-table tbody tr.dispatch-search-hit{background:#fff3cb;outline:2px solid #d89d22;outline-offset:-2px}.dispatch-sku-tools{flex-wrap:wrap}.dispatch-sku-tools .text-button,.dispatch-sku-tools .secondary-button{width:auto!important}.dispatch-actions .secondary-button{width:auto}.dispatch-export-panel .secondary-button{width:100%;margin-top:10px}
.dispatch-sku-list{display:block;max-height:none;overflow:visible;margin-top:18px}.dispatch-sku-table-wrap{max-width:100%;overflow:auto;border:1px solid #dbe7e1;border-radius:6px}.dispatch-sku-table{width:100%;min-width:940px;border-collapse:collapse;font-size:13px;background:#fff}.dispatch-sku-table th,.dispatch-sku-table td{padding:10px;border-right:1px solid #e0e8e3;border-bottom:1px solid #e0e8e3;text-align:left;vertical-align:middle}.dispatch-sku-table th{background:#f4f8f6;color:#314b43;white-space:nowrap;font-weight:700}.dispatch-sku-table th:first-child,.dispatch-sku-table td:first-child{text-align:center;width:112px}.dispatch-sku-table strong,.dispatch-sku-table small{display:block}.dispatch-sku-table small{margin-top:4px;color:var(--muted);font-size:11px}.dispatch-sku-edit{box-sizing:border-box;width:100%;min-width:120px;border:1px solid #cbd8d2;border-radius:4px;background:#fff;padding:8px;color:var(--ink);font:inherit}.dispatch-sku-state{display:inline-block;border-radius:999px;padding:4px 8px;background:#fff0df;color:#a45e0e;font-size:12px;font-weight:700;white-space:nowrap}.dispatch-sku-state.is-matched{background:#e5f2ea;color:#0e6d4b}.dispatch-recalculate-button{display:block;margin-top:6px;border:1px solid #8eb9a3;border-radius:4px;background:#eef8f2;color:#0e6d4b;padding:4px 6px;font:600 11px/1.2 "Microsoft YaHei",Arial,sans-serif;cursor:pointer}.dispatch-recalculate-button:hover{background:#dff0e6}
.dispatch-preview-panel{overflow:visible}.dispatch-table-wrap{max-height:min(68vh,760px);overflow:auto;overscroll-behavior:contain}.dispatch-preview-table th{top:0;z-index:3}.dispatch-preview-table th:first-child,.dispatch-preview-table td:first-child{position:sticky;left:0}.dispatch-preview-table th:first-child{z-index:5;background:#173128}.dispatch-preview-table td:first-child{z-index:2;background:#fff}.dispatch-preview-table th:nth-child(2),.dispatch-preview-table td:nth-child(2){position:sticky;left:34px;min-width:250px}.dispatch-preview-table th:nth-child(2){z-index:5;background:#173128}.dispatch-preview-table td:nth-child(2){z-index:2;background:#fff}.dispatch-preview-table tbody tr:hover td:first-child,.dispatch-preview-table tbody tr:hover td:nth-child(2){background:#f3faf5}.dispatch-preview-table tbody tr.dispatch-search-hit td:first-child,.dispatch-preview-table tbody tr.dispatch-search-hit td:nth-child(2){background:#fff3cb}
@media(max-width:760px){.dispatch-saved-head,.dispatch-staged-head{align-items:flex-start;flex-direction:column}.dispatch-sku-panel .dispatch-actions{align-items:stretch;flex-direction:column}.dispatch-sku-panel .dispatch-actions .secondary-button{width:100%}.dispatch-routing-tools{align-items:stretch;flex-wrap:wrap}.dispatch-routing-tools label{flex:1 1 100%}.dispatch-routing-tools input{width:100%}}

.dispatch-export-name{display:block;max-width:520px;margin:18px auto;color:var(--ink);font-size:14px;font-weight:700}.dispatch-export-name input{display:block;box-sizing:border-box;width:100%;margin-top:7px;padding:11px 12px;border:1px solid var(--line);border-radius:6px;background:#fff;font:inherit}.dispatch-export-name small{display:block;margin-top:6px;color:var(--muted);font-size:12px;font-weight:400}
