/* K 单右侧：客户物流在上，原有操作按钮贴底；不占左侧技术/内部送货信息。 */
.k-order-side-actions{align-self:stretch;justify-self:end;display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:8px;min-width:0;max-width:560px;width:100%}
.k-order-card .k-order-side-actions .tech-job-actions{margin-top:auto;align-self:flex-end;align-content:flex-end;align-items:flex-end;min-width:0;width:100%}
.k-order-card .k-order-shipment-badge{display:block;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid transparent;border-radius:999px;padding:5px 11px;line-height:1.4;font-size:12px;font-weight:800;background:#eff6ff;color:#2454d8;cursor:pointer;text-align:left}
.k-order-card .k-order-shipment-badge:hover{background:#dbeafe;border-color:#93b4ef}
.k-order-shipment-badge:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.k-shipment-dialog{width:min(620px,calc(100vw - 32px));max-height:88vh;padding:20px;border:1px solid #cbd5e1;border-radius:14px;color:#17233f;background:#fff;box-sizing:border-box;overflow:auto}
.k-shipment-dialog::backdrop{background:rgba(15,23,42,.48)}
.k-shipment-dialog header{display:flex;justify-content:space-between;align-items:center;gap:16px}
.k-shipment-dialog h2{margin:0;font-size:20px}.k-shipment-dialog h3{margin:0 0 12px;font-size:15px}
.k-shipment-dialog p{margin:8px 0;line-height:1.5}
.k-shipment-dialog button,.k-shipment-entry-actions a{min-height:32px;padding:5px 10px;border:1px solid #cbd5e1;background:#fff;color:#244f91;border-radius:7px;cursor:pointer;font:inherit;font-size:13px;text-decoration:none;box-sizing:border-box;white-space:nowrap}
.k-shipment-dialog .primary-button{background:#1765c9;color:white;border-color:#1765c9}
.k-shipment-dialog .k-shipment-delete{color:#b42318;border-color:#f2cccc}
.k-shipment-dialog button:disabled{opacity:.55;cursor:wait}
.k-shipment-message{font-size:13px;color:#166534;white-space:pre-wrap;overflow-wrap:anywhere}.k-shipment-message:not(:empty){padding:8px 0}.k-shipment-message.is-error{color:#b42318}
.k-shipment-overview{margin:6px 0 14px;font-size:13px;color:#64748b}
.k-shipment-list{display:grid;gap:8px;max-height:310px;overflow:auto}
.k-shipment-entry{border:1px solid #dbe5f3;border-radius:9px;padding:10px;background:#f8fbff;overflow-wrap:anywhere}
.k-shipment-entry-line{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.k-shipment-number{font-size:14px;font-weight:700;overflow-wrap:anywhere;min-width:0}.k-shipment-number span{user-select:all}
.k-shipment-entry.is-voided{background:#f3f4f6;color:#64748b}.k-shipment-entry.is-voided .k-shipment-number{text-decoration:line-through}
.k-shipment-entry details{margin-top:6px;font-size:12px;color:#64748b}.k-shipment-dialog summary{cursor:pointer}.k-shipment-note{white-space:pre-wrap}
.k-shipment-muted,.k-shipment-suggestion{font-size:12px;color:#64748b}.k-shipment-empty{color:#64748b;font-size:13px}
.k-shipment-entry-actions,.k-shipment-form-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.k-shipment-form-actions{justify-content:flex-end;margin-top:10px}
[data-ship-form]{margin-top:14px}
.k-shipment-fields{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px}.k-shipment-fields label{display:flex;flex-direction:column;gap:5px;font-size:13px}.k-shipment-fields .wide{grid-column:1/-1}
.k-shipment-fields input,.k-shipment-fields select{width:100%;box-sizing:border-box;min-height:38px;border:1px solid #b9c7d8;border-radius:7px;padding:7px 9px;font:inherit;background:#fff;color:#17233f}
.k-shipment-fields [hidden]{display:none}.k-shipment-dialog :focus-visible{outline:2px solid #2563eb;outline-offset:2px}
@media(max-width:760px){.k-order-side-actions{max-width:none;align-items:flex-start;justify-self:stretch}.k-order-card .k-order-side-actions .tech-job-actions{justify-content:flex-start}}
@media(max-width:520px){.k-shipment-dialog{padding:14px;width:calc(100vw - 16px)}.k-shipment-fields{grid-template-columns:1fr}.k-shipment-list{max-height:260px}}
