.order-map-section{margin-top:12px}.order-map-bar,.order-map-bar>div{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}.order-map-bar{margin:12px 0}.order-map-bar label{display:flex;gap:6px;align-items:center;font-size:12px}.order-map-bar input{width:18px;height:18px}.order-map-canvas{height:clamp(350px,62vh,640px);border:1px solid #294255;border-radius:14px;z-index:0;touch-action:pan-x pan-y}.order-map-legend{display:flex;flex-wrap:wrap;gap:8px 15px;font-size:11px;margin:10px 0;color:#9fb2c5}.order-map-legend>span{display:flex;align-items:center;gap:5px}.map-dot{display:inline-block;width:10px;height:10px;border-radius:50%}.map-new{background:#64748b}.map-opened{background:#3b82f6}.map-visited{background:#a855f7}.map-edited{background:#f59e0b}.map-completed{background:#22c55e}.map-cancelled{background:#ef4444}.map-overdue{border:2px solid #ef4444;background:transparent}.dc-map-icon{background:transparent;border:0}.dc-map-pin{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:2px solid white;border-radius:50% 50% 50% 6px;color:white;font-weight:800;box-shadow:0 2px 5px #0008;transform:rotate(-45deg)}.dc-map-pin.is-overdue{outline:3px solid #ef4444}.dc-map-pin.is-approximate{border-style:dashed}.map-date-label{font-size:11px;font-weight:700;padding:3px 5px}.map-order-summary{font:13px system-ui;color:#152739;min-width:220px}.map-order-summary>small{display:block;color:#50657a;margin:7px 0}.map-order-summary .muted{color:#52697c;font-size:11px}.map-order-summary p{max-height:90px;overflow:auto;white-space:pre-line}.map-popup-actions,.map-route-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.map-popup-actions .btn{font-size:12px;text-decoration:none;color:#123348;background:#eef5fa;border-color:#bed0dd}.map-popup-actions .primary{background:#176a94;color:white}.map-due{font-weight:700}.map-due-overdue{color:#b91c1c}.order-map-route,.order-map-missing{margin:14px 0;padding:14px;border:1px solid #294255;border-radius:12px}.map-route-stop,.map-missing-row{display:flex;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid #294255}.map-route-stop>span,.map-missing-row>span{flex:1;min-width:0;font-size:13px}.map-route-stop small,.map-missing-row small{display:block;color:#9fb2c5;font-size:11px}.map-route-stop .btn{padding:6px 9px}.order-map-missing summary{cursor:pointer}.map-footnote{font-size:11px}.leaflet-popup-content-wrapper{border-radius:12px}.light-mode .map-footnote,.light-mode .order-map-legend{color:#52697c}@media(max-width:500px){.telus-layout-toggle .btn{padding-left:8px;padding-right:8px}.order-map-bar{font-size:12px}.map-missing-row{flex-wrap:wrap}.order-map-canvas{height:58vh}.map-popup-actions .btn{min-height:36px}}

.dc-map-pin>b{transform:rotate(45deg)}

.map-basemap-toggle{display:flex;gap:0;border:1px solid #294255;border-radius:9px;overflow:hidden}.map-basemap-toggle .btn{border:0;border-radius:0;margin:0}.map-basemap-toggle .btn[aria-pressed="true"]{background:#176a94;color:#fff}.order-map-bar .map-basemap-toggle{flex-wrap:nowrap}



.map-progress{background:#f59e0b}.map-hold{background:#a855f7}.map-new{background:#3b82f6}
.map-scope-toggle{display:flex;gap:4px}.map-scope-toggle .btn[aria-pressed="true"]{background:#176a94;border-color:#38bdf8;color:white}
.order-map-legend b{font-variant-numeric:tabular-nums;color:inherit}
