#settleDispatchPlan { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:6px 14px; padding:9px 12px; border-top:1px solid #222; color:#444; font-size:12px; }
#settleDispatchTodayLabel { display:inline-flex; align-items:center; gap:5px; cursor:pointer; }
#settleDispatchTodayLabel[hidden] { display:none; }
#settleDispatchPlan input { accent-color:#222; }
.nis-dispatch-form { display:flex; flex-wrap:wrap; align-items:flex-end; gap:10px; padding-top:10px; }
#nativeInventorySettings .nis-dispatch-form label, .dispatch-dialog label { display:grid; gap:5px; font-size:13px; }
.nis-dispatch-form input, .dispatch-dialog input:not([type=checkbox]) { min-height:36px; padding:4px 8px; border:1px solid #222; border-radius:7px; font:inherit; color:#222; background:#fff; }
.nis-dispatch-note { color:#555; font-size:13px; margin-top:6px; }
#dispatchBatches { display:grid; gap:10px; }
#dispatchBatches [role=status] { color:#555; font-size:13px; }
#dispatchBatches article { display:grid; gap:7px; padding:12px; margin-bottom:8px; border:1px solid #d6d6d6; border-radius:9px; background:#fff; }
#dispatchBatches article p { margin:0; }
#dispatchBatches .dispatch-head, .dispatch-actions { display:flex; align-items:center; flex-wrap:wrap; gap:7px; }
#dispatchBatches .dispatch-head { justify-content:space-between; }
#dispatchBatches .dispatch-head span { color:#666; font-size:13px; }
#dispatchBatches button { padding:7px 12px; border:1px solid #222; border-radius:7px; background:#fff; color:#222; font:inherit; font-size:13px; cursor:pointer; }
#dispatchBatches button[aria-pressed=true], #dispatchBatches .dispatch-primary { background:#222; color:#fff; }
#dispatchBatches button:disabled { opacity:.55; cursor:default; }
#dispatchBatches .dispatch-warning { color:#8b4526; }
#dispatchBatches details { min-width:0; }
#dispatchBatches summary { width:fit-content; cursor:pointer; font-size:13px; font-weight:700; }
#dispatchBatches .dispatch-items { margin:8px 0; overflow-x:auto; }
#dispatchBatches .dispatch-items table { width:100%; border-collapse:collapse; font-size:13px; }
#dispatchBatches .dispatch-items th, #dispatchBatches .dispatch-items td { padding:5px 8px; border:1px solid #ddd; text-align:left; }
#dispatchBatches .dispatch-items th { background:#f7f7f7; }
.dispatch-dialog { inset:0; margin:auto; width:min(440px,calc(100% - 28px)); padding:18px; border:1px solid #222; border-radius:10px; }
.dispatch-dialog::backdrop { background:#0007; }
.dispatch-dialog form { display:grid; gap:10px; }
.dispatch-dialog .dispatch-actions { justify-content:flex-end; }


@media (max-width: 540px) {
  #dispatchBatches > .dispatch-actions, #dispatchBatches article .dispatch-actions { padding-right:54px; }
  #dispatchBatches .dispatch-items { margin-right:54px; }
  #dispatchBatches { padding-bottom:24px; }
}
