/* Shared public navigation. Account and operator workspaces retain their own controls. */
body .sc-site-header{display:block;position:relative!important;inset:auto!important;z-index:1100;width:100%;height:auto!important;padding:0!important;background:#fff!important;border:0!important;border-bottom:1px solid #e8e8e8!important;box-shadow:none!important;box-sizing:border-box}
.sc-site-header .sc-site-header-inner{max-width:1280px;min-height:76px;margin:auto;padding:0 28px;display:flex;align-items:center;justify-content:space-between;gap:24px;box-sizing:border-box}
.sc-site-header .sc-site-logo{display:flex;align-items:center;flex:0 0 auto;padding:0;margin:0}.sc-site-header .sc-site-logo img{display:block;width:174px;height:auto;max-height:48px;object-fit:contain}
.sc-site-header .sc-site-nav{display:flex!important;align-items:center;gap:8px;position:static!important;inset:auto!important;width:auto!important;padding:0!important;margin:0!important;background:#fff!important;border:0!important;box-shadow:none!important;transform:none!important;visibility:visible!important;opacity:1!important}
.sc-site-header .sc-site-nav a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:0;border-radius:10px;color:#303030!important;background:transparent!important;font-size:14px;font-weight:700;line-height:1.3;white-space:nowrap;text-decoration:none;box-sizing:border-box}
.sc-site-header .sc-site-nav a[aria-current=page]{color:#ae1021!important;background:#fff0f1!important}.sc-site-header .sc-site-nav a.sc-site-login{background:#ae1021!important;color:#fff!important}.sc-site-header a:focus-visible,.sc-site-header button:focus-visible{outline:3px solid #087a89;outline-offset:3px}
.sc-site-header .sc-site-toggle{display:none;width:44px;height:44px;padding:11px;border:1px solid #ddd;border-radius:10px;background:#fff;flex:0 0 44px;box-shadow:none}.sc-site-toggle span{display:block;width:20px;height:2px;margin:4px 0;background:#333}
.swift-mobile-brand>a{display:flex;align-items:center;min-width:0}.swift-mobile-brand>a img{max-width:160px;height:auto}
/* Leaflet panes must be positioned relative to their map, never to the page. */
body[data-page=map] #chargerMap,body[data-page=driver] .charger-map{position:relative!important;isolation:isolate;min-width:0}
.leaflet-container img.leaflet-tile{max-width:none!important;max-height:none!important}.leaflet-pane>svg,.leaflet-pane>canvas{max-width:none!important}
@media(max-width:900px){
 body:has(#driverLoggedOut:not(.hidden))>.sc-site-header{display:block!important}
 .sc-site-header .sc-site-header-inner{min-height:64px;padding:0 16px;gap:12px;flex-wrap:wrap}
 .sc-site-header .sc-site-logo img{width:155px;max-height:40px}
 .sc-site-header .sc-site-toggle{display:block}
 .sc-site-header .sc-site-nav{display:none!important;flex:1 0 100%;width:100%!important;align-items:stretch;flex-direction:column;gap:5px;padding:0 0 14px!important}
 .sc-site-header.sc-site-menu-open .sc-site-nav{display:flex!important}
 .sc-site-header .sc-site-nav a{justify-content:flex-start;min-height:46px;width:100%;padding:12px 14px}
 body[data-page=map] .page{width:100%;max-width:100%;box-sizing:border-box;padding:20px 14px 30px!important}
 body[data-page=map] .map-layout{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
 body[data-page=map] .map-layout>*,body[data-page=map] .map-panel{width:100%;min-width:0;box-sizing:border-box}
 body[data-page=map] .map-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;padding:12px!important}
 body[data-page=map] .map-filter-bar label{min-width:0}
 body[data-page=map] .map-filter-bar label:first-child{grid-column:1/-1!important}
 body[data-page=map] .map-filter-bar input,body[data-page=map] .map-filter-bar select{width:100%;box-sizing:border-box;min-height:44px;font-size:16px!important}
 body[data-page=map] #chargerMap{height:clamp(340px,52dvh,470px)!important;min-height:340px!important}
 body[data-page=map] .station-list{grid-template-columns:minmax(0,1fr)!important;max-height:none!important;overflow:visible!important;padding:0!important}
 body[data-page=map] .station-card{min-width:0;box-sizing:border-box}.station-card-actions{flex-wrap:wrap}
 body[data-page=map] .swift-map-legend{display:flex;flex-wrap:wrap;max-width:calc(100vw - 70px);box-sizing:border-box;gap:5px;font-size:10px}
 body[data-page=map] .leaflet-popup-content{width:min(270px,calc(100vw - 88px))!important;min-width:0!important;overflow-wrap:anywhere}
}
