/* Gonella night palette. Filter only the street tiles, never labels or vehicle. */
#routeMap{background:#091e2d}
#routeMap .route-tile-pane{filter:invert(1) hue-rotate(180deg) saturate(.55) brightness(.82) contrast(.92)}
.route-stage{border-color:#416172;box-shadow:0 12px 30px #020d1740}
#routeMap .leaflet-control-zoom{border:1px solid #57717e;border-radius:10px;overflow:hidden}
#routeMap .leaflet-control-zoom a{background:#112d46;color:#f1cc60;border-color:#416172;width:44px;height:44px;line-height:44px}
#routeMap .leaflet-control-zoom a:hover{background:#1a4058}
#routeMap .leaflet-control-attribution{background:#0a1c2bee;color:#c5d5df;padding:3px 6px}
#routeMap .leaflet-control-attribution a{color:#f1cc60}
#routeMap .route-stop-label{background:#112d46;color:#fff;border:1px solid #eab928;border-radius:8px;padding:8px 10px;font-size:14px;box-shadow:0 3px 12px #0007}
#routeMap .leaflet-tooltip-top:before{border-top-color:#eab928}
#routeMap .leaflet-tooltip-bottom:before{border-bottom-color:#eab928}
.route-tabs button.active{background:#075b45;color:#fff;border-color:#39bf91}
.route-location-controls p,.route-point-actions button{font-size:14px}
.address-map-pin span{background:#112d46;border-color:#eab928;box-shadow:0 0 0 5px #eab92822,0 4px 12px #0008}
.address-map-pin.delivery span{background:#075b45;border-color:#fff}
.review-actions{background:#102b3d;border-color:#416172}
.review-actions .edit{background:#17394c;color:#fff;border-color:#64818e}
.review-actions .edit:hover{background:#244b5e}
@media(max-width:760px){
 .scroll-journey>.hero{padding-bottom:450px!important}
 .scroll-journey .hero .visual .stage{height:420px!important}
 .hero .gl-map-entry{margin-bottom:14px;position:relative;z-index:5}
 .hero .gl-map-entry small{line-height:1.5}
 .hero-note{font-size:14px;line-height:1.5}
 .route-point-actions button{font-size:14px;min-height:48px;padding:10px 8px}
 .route-tabs button{font-size:14px}
 .review-actions{padding-bottom:max(12px,env(safe-area-inset-bottom))}
}
@media(max-width:360px){
 .scroll-journey>.hero{padding-bottom:390px!important}
 .scroll-journey .hero .visual .stage{height:360px!important}
 .route-point-actions{grid-template-columns:1fr}
}
/* Touch selection stays visible until the next tap, matching mouse feedback. */
.gl-hero-map .gl-state.gl-selected path,.gl-hero-map .gl-state.gl-hover path{opacity:1!important;fill:#139b70;fill-opacity:.65!important;stroke:#ffe18a;stroke-opacity:1!important;stroke-width:2;filter:drop-shadow(0 0 5px #ebba38)!important}
.gl-hero-map .gl-state.gl-selected text,.gl-hero-map .gl-state.gl-hover text{opacity:1!important;fill-opacity:1!important;stroke-opacity:1!important}
@media(max-width:760px){.hero .gl-map-hint:not([hidden]){display:block!important;bottom:20px;right:16px;max-width:calc(100% - 32px);font-size:14px;pointer-events:none}}
.gl-list-toggle{align-self:flex-end;display:inline-flex;justify-content:flex-start;align-items:center;gap:10px;min-height:46px;margin:0 0 16px;padding:6px 12px 6px 6px;border:1px solid #80b1b52e;border-radius:14px;background:linear-gradient(135deg,#183b49,#102d3c);color:#edf5f5;font:600 14px/1.3 Arial;cursor:pointer;flex-shrink:0;box-shadow:0 3px 10px #00101a26,inset 0 1px 0 #ffffff08;transition:background .18s,border-color .18s,box-shadow .18s}
.gl-toggle-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#0e514641;color:#e9c867;flex-shrink:0}.gl-toggle-icon svg{width:20px;height:20px}.gl-toggle-label{white-space:nowrap}.gl-toggle-action{width:17px;height:17px;margin-left:8px;color:#92b4bd;flex-shrink:0}
@media(hover:hover){.gl-list-toggle:hover{border-color:#d6ba6366;background:linear-gradient(135deg,#204b55,#163747);box-shadow:0 4px 14px #00101a40}}
.gl-list-toggle:active{background:#0d2937}.gl-list-toggle:focus-visible{outline:2px solid #edcd77;outline-offset:3px}.gl-list-toggle[aria-expanded=true]{border-color:#51ad9045}.gl-list-toggle[aria-expanded=true] .gl-toggle-icon{background:#145b4c70;color:#84dbb7}
.gl-dialog.gl-list-expanded .gl-content{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
.gl-dialog.gl-list-expanded .gl-chart{display:none}
.gl-dialog.gl-list-expanded .gl-side{width:100%;max-width:800px;box-sizing:border-box;justify-self:center}
.gl-dialog.gl-list-expanded .gl-list button{min-height:52px;font-size:16px;padding:14px 12px}
.gl-dialog.gl-list-expanded .gl-list button[aria-pressed=true]{background:#075b45;color:white;outline:1px solid #eab928;outline-offset:-1px}
.gl-dialog.gl-list-expanded .gl-side input{font-size:16px;min-height:46px;flex-shrink:0}
.gl-dialog.gl-list-expanded .gl-confirm{flex-shrink:0;min-height:48px}
@media(max-width:760px){.gl-dialog.gl-list-expanded .gl-shell{min-height:0}.gl-dialog.gl-list-expanded .gl-side{padding:14px}.gl-dialog.gl-list-expanded .gl-kicker{display:none}}
