/* Fullscreen route map and smooth marker updates. */
.courier-map-panel.captain-map-full{position:fixed!important;inset:0!important;z-index:9999!important;margin:0!important;border-radius:0!important;overflow:auto!important;background:var(--panel,#fff)!important;padding:16px!important;display:flex!important;flex-direction:column!important}
.courier-map-panel.captain-map-full #courier-live-map{flex:1!important;height:auto!important;min-height:60vh!important}
.courier-map-panel [data-map-full]{margin:8px 0}
.courier-map-panel .leaflet-container{background:#eaf2ef}
#tracking-map .courier-map-marker{will-change:transform}

.map-panel.captain-map-full{position:fixed!important;inset:0!important;z-index:9999!important;margin:0!important;border-radius:0!important;padding:16px!important;display:flex!important;flex-direction:column!important;background:#fff!important}
.map-panel.captain-map-full .map-area{flex:1!important;height:auto!important;min-height:60vh!important}
.map-panel.captain-map-full .map-toolbar{flex-shrink:0}

/* Operations map fullscreen: mobile rules in ops.css must not limit height. */
body.captain-ops-map-expanded{overflow:hidden!important}
.map-panel.captain-map-full{height:100dvh!important;max-height:100dvh!important;width:100vw!important;max-width:none!important;box-sizing:border-box!important;overflow:hidden!important;z-index:3000!important;padding:calc(12px + env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom))!important}
.map-panel.captain-map-full .map-area{display:block!important;flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:none!important;width:100%!important;overflow:hidden!important}
.map-panel.captain-map-full .map-stats{flex-shrink:0!important}
.map-panel.captain-map-full .leaflet-container{width:100%!important;height:100%!important}
.map-panel.captain-map-full [data-map-full]{position:relative;z-index:10}
