.delivery-dialog{width:min(1160px,96vw);max-width:96vw;max-height:94vh;padding:0;border:1px solid #555;border-radius:16px;background:#1d1d1d;color:#eee}.delivery-dialog::backdrop{background:#000b}.delivery-head{padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #444}.delivery-head h2{font-size:20px;margin:0}.delivery-layout{display:grid;grid-template-columns:1.35fr 1fr}.delivery-map{height:570px;min-height:320px;background:#333}.delivery-settings{padding:18px;max-height:570px;overflow:auto}.delivery-settings input,.delivery-settings select{max-width:100%}.delivery-range{display:grid;grid-template-columns:30px 1fr 1fr 36px;gap:8px;align-items:end;padding:8px 0;border-bottom:1px solid #444}.delivery-range label{display:grid;gap:5px;font-size:12px}.delivery-range input{width:100%;padding:8px;background:#292929;color:white;border:1px solid #666;border-radius:6px}.delivery-range input[type=color]{padding:0;height:34px}.delivery-foot{display:flex;justify-content:flex-end;gap:10px;padding:15px;border-top:1px solid #444}.delivery-note{font-size:13px;line-height:1.5;color:#ccc}.delivery-quote{border:1px solid #66503b;padding:12px;border-radius:10px;margin:12px 0}.delivery-marker{background:#ff967a;border:3px solid white;border-radius:50%;box-shadow:0 1px 5px #0008}.delivery-settings .field input[type=checkbox]{width:auto}.delivery-dialog .leaflet-control-attribution{color:#333}.delivery-dialog .leaflet-control-attribution a{color:#1760a5}@media(max-width:700px){.delivery-layout{display:flex;flex-direction:column}.delivery-map{height:320px;min-height:320px}.delivery-settings{max-height:none}.delivery-dialog{overflow:auto}.delivery-foot{position:sticky;bottom:0;background:#1d1d1d}.delivery-head h2{font-size:17px}}

.delivery-range-color{display:block;width:24px;height:24px;border-radius:50%;border:2px solid #ffffff70;margin-bottom:5px}

/* Keep customer confirmation actions outside the scrolling content. */
.delivery-customer-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(960px,94vw);height:min(540px,90vh);height:min(540px,90dvh);max-height:90dvh;overflow:hidden}
.delivery-customer-dialog .delivery-head{padding:10px 14px}
.delivery-customer-dialog .delivery-layout{min-height:0;overflow:hidden;grid-template-columns:1.4fr 1fr}
.delivery-customer-dialog .delivery-map{height:100%;min-height:0}
.delivery-customer-dialog .delivery-settings{min-height:0;max-height:none;overflow-y:auto;padding:12px 14px}
.delivery-customer-dialog .delivery-settings h3{margin:0 0 8px}
.delivery-customer-dialog .delivery-settings p{margin:8px 0;overflow-wrap:anywhere}
.delivery-customer-dialog .delivery-foot{position:static;padding:10px 12px;background:#1d1d1d;gap:8px}
.delivery-customer-dialog .delivery-foot .btn{white-space:normal}
@media(max-width:700px){
 .delivery-customer-dialog[open]{height:90vh;height:90dvh}
 .delivery-customer-dialog .delivery-layout{display:grid;grid-template-columns:1fr;grid-template-rows:minmax(0,1.2fr) minmax(0,1fr)}
 .delivery-customer-dialog .delivery-foot .primary{flex:1}
 .delivery-customer-dialog .delivery-note{font-size:12px;line-height:1.35}
}

