.live-map{position:relative;width:100%;min-width:0;overflow:hidden;border-radius:12px;background:#f3f0f7;color:#333;text-align:left}
.live-map-canvas{height:420px;width:100%;min-width:0}
.live-map-status{padding:12px 16px;background:#fff;font-size:13px;line-height:1.5;border-top:1px solid #eee}
.live-map:not([data-map-key]) .live-map-canvas{height:180px;background:linear-gradient(135deg,#f3f0f7,#e9e0f1)}
.live-map-controls{position:absolute;top:12px;left:12px;display:flex;gap:6px;max-width:calc(100% - 24px)}
.live-map-controls[hidden]{display:none}
.live-map-controls button{background:#fff;color:#56228a;box-shadow:0 2px 8px #0002;border:1px solid #ded7e9;border-radius:8px;min-height:40px;min-width:40px;padding:6px 12px;font-size:13px;cursor:pointer}
.live-map-legend{padding:0 16px 12px;background:#fff;display:flex;flex-wrap:wrap;gap:8px 16px;font-size:12px;color:#6425a3}
.live-map-legend .destination{color:#146b7b}.live-map-legend .driver{color:#26772c}.live-map-legend .stale{color:#777}
.live-map-marker{transform:translate(-50%,-100%);white-space:nowrap;background:#6425a3;color:#fff;border:2px solid #fff;box-shadow:0 2px 6px #0005;padding:7px 10px;border-radius:12px 12px 12px 0;font-size:12px;font-weight:600;line-height:1.2}
.live-map-marker.marker-destination{background:#146b7b}.live-map-marker.marker-driver{background:#26772c}.live-map-marker.is-stale{background:#777}
.case-map.map-surface,.map-layout>.map-surface{display:block;padding:0;min-width:0;height:auto}
.case-map .live-map{border-radius:12px 12px 0 0}.case-map .map-addresses{position:static}
@media(max-width:600px){.live-map-canvas{height:320px}.live-map-controls button{padding:6px 8px}.live-map-marker{font-size:11px;max-width:160px;white-space:normal}}
