.orders-map-dialog{width:min(1440px,96vw);max-width:96vw;height:92vh;max-height:92vh;padding:20px;border:1px solid #dbe2ea;border-radius:20px;background:#f8fafc;color:#263344;box-sizing:border-box;overflow:auto}
.orders-map-dialog::backdrop{background:#18253599}.orders-map-dialog *{box-sizing:border-box}.orders-map-head,.orders-map-filters,.orders-map-legend,.orders-map-summary{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.orders-map-head{justify-content:space-between}.orders-map-head h2{margin:0}.orders-map-filters{margin:16px 0}.orders-map-filters label{display:flex;flex-direction:column;gap:4px;font-size:12px}.orders-map-filters input,.orders-map-filters select{border:1px solid #cbd5e1;border-radius:8px;padding:9px;background:white;color:inherit;max-width:100%}.orders-map-filters .map-check{flex-direction:row;align-items:center}.orders-map-summary{margin:12px 0}.orders-map-summary span{padding:8px 12px;background:white;border:1px solid #e2e8f0;border-radius:10px}.orders-map-summary strong{margin-left:6px}.orders-map-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:14px}.orders-map-canvas{height:520px;min-height:350px;border-radius:14px;border:1px solid #cbd5e1;z-index:0}.orders-map-side{max-height:520px;overflow:auto;background:white;border:1px solid #e2e8f0;border-radius:14px;padding:14px}.orders-map-side h3{margin:0 0 8px}.orders-map-address{padding:12px 0;border-bottom:1px solid #e2e8f0;overflow-wrap:anywhere}.orders-map-address p{margin:0 0 7px}.orders-map-legend{font-size:13px;margin:12px 0}.orders-map-legend i{display:inline-block;width:12px;height:12px;border-radius:50%;margin-right:5px}.orders-map-marker{border:2px solid white;border-radius:50%;box-shadow:0 1px 5px #0007}.orders-map-cluster{border-radius:50%;padding:5px;box-shadow:0 1px 5px #0007}.orders-map-cluster span{display:grid;place-items:center;height:100%;background:white;border-radius:50%;font-weight:800;color:#263344}.orders-map-status{min-height:22px;overflow-wrap:anywhere}.orders-map-status.error{color:#a52a22}.orders-map-editor{background:#fff4e8;border-radius:10px;padding:12px;margin:12px 0}.orders-map-editor input{width:125px;padding:7px;margin:6px;border:1px solid #cbd5e1;border-radius:6px}.orders-map-popup{max-height:280px;overflow:auto;max-width:280px;overflow-wrap:anywhere}.orders-map-popup p{margin:6px 0}.orders-map-popup a{display:inline-block;margin-top:8px}.orders-map-dialog .btn{min-height:38px}.orders-map-dialog [hidden]{display:none!important}
@media(max-width:760px){.orders-map-dialog{padding:12px;width:98vw;max-width:98vw}.orders-map-layout{grid-template-columns:minmax(0,1fr)}.orders-map-canvas{height:390px}.orders-map-side{max-height:300px}.orders-map-filters{gap:8px}.orders-map-filters label{min-width:0}.orders-map-head h2{font-size:20px}.orders-map-summary{gap:6px}.orders-map-summary span{font-size:13px;padding:6px}}
/* The modal lives outside the admin shell, so do not inherit full-width login buttons. */
.orders-map-dialog .btn{width:auto;flex:0 0 auto;padding:8px 12px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#263344;box-shadow:none;font-family:inherit;font-size:13px;font-weight:600;margin:0;cursor:pointer}
.orders-map-dialog .btn:hover{border-color:#f58220;background:#fff5e9}.orders-map-head .btn{margin-left:auto}.orders-map-dialog a{color:#2464ae}.orders-map-dialog p{line-height:1.45}.orders-map-filters{align-items:end}.orders-map-side .btn{margin:4px 0}.orders-map-dialog .leaflet-control a{color:#222}.orders-map-dialog .leaflet-popup-content{font-family:inherit}
@media(max-width:760px){.orders-map-dialog{height:94vh;max-height:94vh}.orders-map-head{gap:8px}.orders-map-head h2{font-size:18px}.orders-map-dialog .btn{padding:7px 9px}.orders-map-filters>label:has(input[type=date]){width:calc(50% - 4px)}.orders-map-filters input[type=date]{width:100%}.orders-map-filters>label:has(select){flex:1 1 120px}.orders-map-filters select{width:100%}}
