.delivery-lines-public,.delivery-line-manager,.delivery-lookup{display:grid;gap:var(--section-gap)}
.delivery-lookup form{display:flex;gap:var(--field-gap);align-items:end;flex-wrap:wrap}.delivery-lookup form .field{width:180px;margin:0}.delivery-lookup-compact{margin-block:var(--section-gap)}
.delivery-lookup :is(button,input),.delivery-lines-public>.work-heading>.button,.delivery-weekdays>.button,.delivery-postcode-list button{min-height:var(--control-height)}
.delivery-lookup-result{padding:var(--space-4);background:var(--status-info-bg);border-radius:var(--radius)}
.delivery-line-editor{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:var(--card-gap);align-items:start}
.delivery-line-editor.delivery-editor-closed{grid-template-columns:minmax(0,1fr)}.delivery-line-editor .choice{display:flex;align-items:center;gap:var(--space-2);min-height:44px}.delivery-line-editor .choice input[type=checkbox]{width:20px;min-height:20px;flex:none}.dispatch-driver-editor>summary,.delivery-stop-instructions>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;margin-block:var(--space-2)}
.delivery-overview-map{width:100%;height:420px;border:1px solid var(--line);border-radius:var(--radius);isolation:isolate}
.delivery-weekdays{display:flex;gap:var(--space-2);flex-wrap:wrap;margin-bottom:var(--space-4)}.delivery-weekdays [aria-pressed=true]{background:var(--accent);color:var(--on-accent)}
.delivery-line-form>summary{margin-bottom:var(--space-4);font-weight:600}.delivery-line-list{list-style:none;padding:0;display:grid;gap:var(--space-3)}.delivery-line-list button{width:100%;text-align:left}
.delivery-postcode-order,.delivery-postcode-list{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:var(--space-2)}.delivery-postcode-order li{display:flex;align-items:center;gap:var(--space-2);border:1px solid var(--line);padding:var(--space-2);border-radius:var(--radius-small)}.delivery-postcode-order button{min-width:44px;min-height:44px}.delivery-line-summary{padding-block:var(--space-4);border-bottom:1px solid var(--line)}
.delivery-instruction-fields{display:grid;gap:var(--field-gap);margin-block:var(--space-4)}.delivery-instruction-fields .form-columns{margin:0}.delivery-instruction-choices{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--space-2)}.delivery-instruction-fields .choice,.delivery-weekdays .choice{display:flex;align-items:center;gap:var(--space-2);min-height:44px}.delivery-instruction-fields input[type=checkbox],.delivery-weekdays input[type=checkbox]{width:20px;min-height:20px;flex:none}
.delivery-alert-instructions{background:var(--status-warning-bg);padding:var(--space-4);border-radius:var(--radius);overflow-wrap:anywhere}
.delivery-run{display:grid;gap:var(--field-gap)}.delivery-run-map svg{display:block;width:100%;max-height:420px;border:1px solid var(--line);border-radius:var(--radius)}.delivery-run .route-stops li{align-items:start}.delivery-proof-input{display:grid;gap:var(--space-2)}.delivery-tracking a{overflow-wrap:anywhere}
.delivery-proof-view summary{min-height:48px;display:flex;align-items:center;cursor:pointer}.delivery-proof-view img{max-width:100%;max-height:480px;object-fit:contain}.delivery-stop-time{max-width:180px}
@media(max-width:768px){.delivery-line-editor{grid-template-columns:minmax(0,1fr)}.delivery-overview-map{height:320px}.delivery-postcode-order button,.delivery-instruction-fields .choice,.delivery-weekdays .choice,.delivery-line-editor .choice,.dispatch-driver-editor>summary,.delivery-stop-instructions>summary{min-height:48px}.delivery-postcode-order button{min-width:48px}.delivery-instruction-choices{grid-template-columns:minmax(0,1fr)}}
