/* Compact bus proportions, shared by live, overview and playback maps.
   Preserve Leaflet's existing coordinate anchor at (36,42). */
.vehicle-bus:not(.is-navigation-top) .vehicle-marker-shell,.vehicle-taxi:not(.is-navigation-top) .vehicle-marker-shell,
.driver-navigation-map .vehicle-bus:not(.is-navigation-top) .vehicle-marker-shell,.driver-navigation-map .vehicle-taxi:not(.is-navigation-top) .vehicle-marker-shell{left:0;top:19px;width:72px;height:46px;transform:none}
.vehicle-bus:not(.is-navigation-top) .vehicle-car-art,.vehicle-taxi:not(.is-navigation-top) .vehicle-car-art{width:72px;height:46px;max-width:none;object-fit:contain}
.vehicle-bus .vehicle-marker-speed,.vehicle-taxi .vehicle-marker-speed{top:64px;min-width:40px;font-size:8px;padding:3px 5px}
.vehicle-bus .vehicle-marker-pulse,.vehicle-taxi .vehicle-marker-pulse{top:22px;left:16px;width:40px;height:40px}
.vehicle-bus.is-navigation-top .vehicle-marker-shell,
.driver-navigation-map .vehicle-bus.is-navigation-top .vehicle-marker-shell{left:14px;top:20px;width:44px;height:44px;transform:rotate(calc(var(--navigation-heading,var(--vehicle-heading)) + var(--map-bearing,0deg)))}
.vehicle-bus.is-navigation-top .vehicle-car-art{width:44px;height:44px;object-fit:fill}
/* Fleet markers keep their geographic anchor at (41,42). */
.fleet-bus-marker:has(img[src*="school-bus-marker"])>div{position:relative;width:82px;height:82px}
.fleet-bus-marker img[src*="school-bus-marker"]{position:absolute;left:21px;top:19px;display:block;width:40px;height:46px;max-width:none;margin:0;object-fit:fill}
.fleet-bus-marker:has(img[src*="school-bus-marker"]) span{position:absolute;top:64px;left:41px;transform:translateX(-50%);margin:0}

.station-vehicle-art.vehicle-bus{width:22px;height:24px;object-fit:fill}
/* Taxi uses the supplied yellow side profile without rotation. */
.vehicle-taxi:not(.is-navigation-top) .vehicle-marker-shell,.driver-navigation-map .vehicle-taxi:not(.is-navigation-top) .vehicle-marker-shell{left:8px;top:16px;width:58px;height:38px;transform:none}
.vehicle-taxi:not(.is-navigation-top) .vehicle-car-art{width:72px;height:42px}
/* School monitor uses fleet-bus-marker instead of the live marker shell. */
.school-monitor-route>img[src*="navigation-taxi"]{width:44px!important;height:32px!important;transform:none}
.fleet-bus-marker img[src*="navigation-taxi"]{width:58px!important;height:38px!important;transform:none;margin:4px auto 8px!important}
/* Minibus uses the approved yellow school minibus artwork without rotation. */
.vehicle-minibus:not(.is-navigation-top) .vehicle-marker-shell,.driver-navigation-map .vehicle-minibus:not(.is-navigation-top) .vehicle-marker-shell{left:8px;top:16px;width:58px;height:38px;transform:none}
.vehicle-minibus:not(.is-navigation-top) .vehicle-car-art{width:72px;height:42px}
.school-monitor-route>img[src*="minibus-map-marker"]{width:44px!important;height:32px!important;object-fit:contain;transform:none}
.fleet-bus-marker img[src*="minibus-map-marker"]{width:58px!important;height:38px!important;object-fit:contain;transform:none;margin:4px auto 8px!important}
/* SUV uses the approved yellow taxi artwork without applying map rotation. */
.vehicle-suv:not(.is-navigation-top) .vehicle-marker-shell,.driver-navigation-map .vehicle-suv:not(.is-navigation-top) .vehicle-marker-shell{left:8px;top:16px;width:58px;height:38px;transform:none}
.vehicle-suv:not(.is-navigation-top) .vehicle-car-art{width:72px;height:42px}
.school-monitor-route>img[src*="suv-taxi-marker"]{width:44px!important;height:32px!important;object-fit:contain;transform:none}
.fleet-bus-marker img[src*="suv-taxi-marker"]{width:58px!important;height:38px!important;object-fit:contain;transform:none;margin:4px auto 8px!important}
.station-vehicle-art.vehicle-suv{width:30px;height:24px}
/* Branded white car and van artwork stays upright and keeps its proportions. */
.vehicle-car:not(.is-navigation-top) .vehicle-marker-shell,.vehicle-van:not(.is-navigation-top) .vehicle-marker-shell,
.driver-navigation-map .vehicle-car:not(.is-navigation-top) .vehicle-marker-shell,.driver-navigation-map .vehicle-van:not(.is-navigation-top) .vehicle-marker-shell{left:0;top:19px;width:72px;height:46px;transform:none}
.vehicle-car:not(.is-navigation-top) .vehicle-car-art,.vehicle-van:not(.is-navigation-top) .vehicle-car-art{width:72px;height:46px;max-width:none;object-fit:contain}
.vehicle-car .vehicle-marker-direction,.vehicle-van .vehicle-marker-direction{display:block;transform:rotate(calc(var(--vehicle-heading) + var(--map-bearing,0deg)))}
.vehicle-car .vehicle-marker-speed,.vehicle-van .vehicle-marker-speed{top:64px;min-width:40px;font-size:8px;padding:3px 5px}
.school-monitor-route>img[src*="schooltrack-white-"]{width:44px!important;height:32px!important;object-fit:contain;transform:none}
.fleet-bus-marker img[src*="schooltrack-white-"]{width:58px!important;height:38px!important;object-fit:contain;transform:none;margin:4px auto 8px!important}
.station-vehicle-art.vehicle-car,.station-vehicle-art.vehicle-van{width:30px;height:24px;object-fit:contain}
