/* Search results stay useful at every map zoom. */
.country-view .search-results-heading{border:0;color:var(--atlas-muted);font-size:12px;padding:10px 8px}
.country-view .search-results-heading.nearby{border:0;margin-top:0}
.country-view .search-nearby-categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.country-view .search-nearby-categories button{display:flex;flex-direction:column;align-items:center;gap:7px;padding:12px 5px;min-height:77px;border:1px solid var(--atlas-line);border-radius:13px;box-shadow:none}
.country-view .search-nearby-categories button i{width:28px;height:28px;display:grid;place-items:center;border-radius:50%}
.country-view .search-nearby-categories button svg{width:18px;height:18px}
.country-view .search-nearby-categories button span{font-size:13px!important;font-weight:550!important}
.country-view #atlasNearbyPanel{width:370px;padding:16px;overflow:auto}
#atlasNearbyPanel>header{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
#atlasNearbyPanel h2{margin:0}#atlasNearbyCount{margin:6px 0 0;font-size:13px;color:var(--atlas-muted)}
.atlas-nearby-actions{display:flex;gap:8px;margin-bottom:10px}.atlas-nearby-actions button{min-height:38px;padding:8px 10px;border-radius:10px;border:1px solid var(--atlas-line);background:var(--atlas-milk);color:var(--atlas-blue);font-size:12px}
.atlas-nearby-actions button:disabled{opacity:.5;cursor:default}#atlasNearbyOrigin{font-size:12px;color:var(--atlas-muted);line-height:1.45;margin:0 0 10px}
#atlasNearbyList{display:flex;flex-direction:column;gap:2px}.atlas-nearby-empty{font-size:14px;color:var(--atlas-muted);line-height:1.6}
.country-view .atlas-nearby-row{display:flex;align-items:center;gap:11px;text-align:start;background:transparent;color:var(--atlas-ink);border:0;border-bottom:1px solid var(--atlas-line);border-radius:8px;width:100%;padding:12px 4px;min-height:68px}
.atlas-nearby-row i{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;font-size:12px;font-style:normal;background:var(--atlas-blue);color:var(--atlas-paper)}
.atlas-nearby-row>span{display:flex;flex-direction:column;gap:5px;min-width:0}.atlas-nearby-row b{font-size:14px;font-weight:600;line-height:1.4}.atlas-nearby-row small{font-size:12px;color:var(--atlas-muted);line-height:1.4}
.country-view .atlas-nearby-row:hover{background:var(--atlas-milk)}
.atlas-nearby-pin{display:grid;place-items:center;background:#205cc5;color:#fff;border:2px solid #fff;border-radius:50%;width:29px;height:29px;min-height:29px;padding:0;font:600 12px/1 Inter,Arial,sans-serif;box-shadow:0 2px 8px #0c203b55;cursor:pointer}.atlas-nearby-pin:hover{background:#12356d;z-index:6}.atlas-nearby-pin[hidden]{display:none}
/* One route planner: modes, editable endpoints, choices, then start/preview. */
.country-view #nationalRouteDrawer{width:382px;top:16px;max-height:calc(100dvh - 32px);padding:18px;overflow:auto;border-radius:20px}
.country-view #nationalRouteDrawer>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.country-view #nationalRouteDrawer>header h2{font-size:23px;margin:0}
.country-view #nationalRouteForm{display:flex;flex-direction:column;gap:11px;margin:0;padding:0}
.country-view .national-route-profiles{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:3px;background:var(--atlas-milk);padding:4px;border:1px solid var(--atlas-line);border-radius:14px;margin:0}
.country-view .national-route-profiles button{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:42px;height:42px;padding:7px 4px;border:0;border-radius:10px;background:transparent;color:var(--atlas-muted);box-shadow:none;font-size:13px}
.country-view .national-route-profiles button.active{background:var(--atlas-paper);color:var(--atlas-blue);box-shadow:0 2px 6px #17304a12}.national-route-profiles svg{width:21px;height:21px;display:block}.national-route-profiles b{font-size:13px;font-weight:550}.national-route-profiles i{font-style:normal;font-size:12px}
.atlas-route-endpoints{position:relative;background:var(--atlas-milk);border:1px solid var(--atlas-line);border-radius:16px;padding:0 39px 0 0}
.country-view .atlas-route-endpoints .national-route-field{position:relative;border:0;background:transparent;box-shadow:none;border-radius:0;margin:0;min-height:62px;padding:0;display:flex;flex-wrap:nowrap;gap:0}
.country-view .atlas-route-endpoints .national-route-field:first-child{border-bottom:1px solid var(--atlas-line)}
.country-view .atlas-route-endpoints .national-route-field>label{padding:9px 4px 9px 12px;gap:10px;flex:1;min-width:0;flex-basis:auto}
.country-view .atlas-route-endpoints .national-route-field small{font-size:11px;color:var(--atlas-muted);line-height:1.1}.country-view .atlas-route-endpoints input{font-size:14px;padding:0;height:26px;background:transparent;width:100%;min-width:0}
.country-view .atlas-route-endpoints .national-route-field>button{width:32px;min-width:32px;min-height:40px;height:40px;padding:6px;border:0;border-radius:9px;background:transparent;color:var(--atlas-muted);align-self:center;font-size:21px;flex:0 0 32px}
.country-view .atlas-route-endpoints .national-route-reverse{position:absolute;inset-inline-end:3px;top:43px;width:34px;min-width:34px;height:40px;min-height:40px;padding:5px;margin:0;background:transparent;border:0;color:var(--atlas-muted);font-size:22px;box-shadow:none}
.country-view .atlas-route-endpoints .national-route-suggestions{position:absolute;top:58px;left:0;right:-39px;max-height:260px;z-index:10;width:auto;border:1px solid var(--atlas-line);border-radius:12px;background:var(--atlas-paper);box-shadow:var(--atlas-shadow)}
.country-view .national-route-demo-position{align-self:flex-start;min-height:32px;padding:0 4px;margin:0;font-size:12px;color:var(--atlas-blue)}
.country-view #nationalRouteSubmit{min-height:43px;height:43px;border-radius:12px;font-size:14px;margin:0;background:#2662d9;color:#fff;border:0}
.country-view #atlasPreviewTrip{min-height:36px;height:36px;border:1px solid var(--atlas-line);border-radius:11px;background:var(--atlas-milk);color:var(--atlas-ink);font-size:13px;margin:0}
.country-view #nationalRouteStatus{font-size:13px;margin:0;line-height:1.4}.country-view #nationalRouteStatus:empty{display:none}.country-view #nationalRouteStatus.error{color:#a63041}html[data-atlas-theme=night] .country-view #nationalRouteStatus.error{color:#ffafb7}
.country-view #nationalRouteResult{position:static;left:auto;right:auto;top:auto;bottom:auto;width:100%;max-width:none;min-width:0;height:auto;max-height:none;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;margin:14px 0 0}
#nationalRouteResult>header,#nationalRouteResult>.national-route-metrics,#atlasEditRoute{display:none!important}
.country-view #nationalRouteAlternatives{display:flex;flex-direction:column;gap:9px;margin:0 0 14px;overflow:visible}
.country-view #nationalRouteAlternatives .atlas-route-choice{display:flex;flex-direction:column;align-items:stretch;gap:6px;text-align:start;width:100%;min-height:84px;padding:14px;border:1px solid var(--atlas-line);border-radius:14px;background:var(--atlas-milk);color:var(--atlas-ink);box-shadow:none;white-space:normal}
#nationalRouteAlternatives .atlas-route-choice>span{display:flex;align-items:center;justify-content:space-between;gap:10px}#nationalRouteAlternatives .atlas-route-choice strong{font-size:23px;letter-spacing:-.5px;font-weight:700}#nationalRouteAlternatives .atlas-route-choice b{font-size:11px;font-weight:600}#nationalRouteAlternatives .atlas-route-choice small{font-size:13px;color:var(--atlas-muted)}
.country-view #nationalRouteAlternatives .atlas-route-choice.active{border:1.5px solid var(--atlas-blue);box-shadow:inset 3px 0 var(--atlas-blue);color:var(--atlas-blue);background:var(--atlas-milk)}
.country-view .national-navigation-launchers{margin:0 0 14px;gap:8px;grid-template-columns:1.5fr 1fr}.country-view .national-navigation-launchers button{min-height:46px;height:46px;border-radius:12px;padding:8px;gap:7px;display:flex;justify-content:center;align-items:center}.country-view .national-navigation-launchers button b{font-size:14px}.country-view .national-navigation-launchers button small{display:none}
.country-view .national-route-steps{border:0;border-top:1px solid var(--atlas-line);border-radius:0;background:transparent;margin:0;padding:0}.country-view .national-route-steps>summary{min-height:40px;padding:12px 0!important;font-size:13px}
.country-view #nationalRouteTrafficNote{font-size:12px;line-height:1.5;color:var(--atlas-muted);margin:4px 0}
#atlasTransitInfo{border:1px solid var(--atlas-line);border-radius:12px;background:var(--atlas-milk);padding:12px}#atlasTransitInfo p{font-size:13px;line-height:1.5;margin:0 0 9px;color:var(--atlas-muted)}#atlasTransitStations{font-size:13px;color:var(--atlas-blue);background:transparent;border:0;padding:0;min-height:34px}
.country-view[data-map-state=route-selected] #nationalRouteSubmit,.country-view[data-map-state=route-selected] #atlasPreviewTrip,.country-view[data-map-state=route-selected] #nationalRouteDemoPosition{display:none}
@media(min-width:780px){.country-view:is([data-map-state=routing],[data-map-state=route-selected]) .national-sidebar.search-hub{display:contents}.country-view:is([data-map-state=routing],[data-map-state=route-selected]) .national-sidebar .atlas-brand,.country-view:is([data-map-state=routing],[data-map-state=route-selected]) .national-search{display:none}}
@media(max-width:779px){.country-view #nationalRouteDrawer{top:auto;bottom:0;left:0;right:0;width:100%;max-width:100%;padding:6px 16px calc(14px + env(safe-area-inset-bottom));max-height:60dvh;border-radius:22px 22px 0 0}.country-view[data-sheet=full] #nationalRouteDrawer{max-height:calc(var(--atlas-viewport) - 65px)}.country-view #nationalRouteDrawer>header{margin-bottom:10px}.country-view #nationalRouteDrawer>header h2{font-size:21px}.country-view #nationalRouteDrawer .national-route-profiles button{height:38px;min-height:38px}.country-view #nationalRouteDrawer .atlas-route-endpoints .national-route-field{min-height:56px}.country-view .atlas-route-endpoints .national-route-reverse{top:37px}.country-view #nationalRouteResult{margin-top:12px}.country-view #nationalRouteAlternatives .atlas-route-choice{padding:11px 13px;min-height:73px}.country-view #atlasNearbyPanel{width:100%;max-width:100%;padding:6px 16px 16px;max-height:48dvh}.country-view[data-sheet=full] #atlasNearbyPanel{max-height:calc(var(--atlas-viewport) - 116px)}.country-view[data-map-state=category] .public-map-controls{display:none}.country-view:is([data-map-state=routing],[data-map-state=route-selected]) .national-search{display:none}.country-view[data-sheet=peek] #nationalRouteDrawer,.country-view[data-sheet=peek] #atlasNearbyPanel{max-height:110px}}
html[dir=rtl] .atlas-route-endpoints{padding:0 0 0 39px}html[dir=rtl] .country-view .atlas-route-endpoints .national-route-field>label{padding:9px 12px 9px 4px}html[dir=rtl] .country-view .atlas-route-endpoints .national-route-suggestions{left:-39px;right:0}

#nationalRouteResult::before{display:none!important}
.country-view .national-navigation-launchers>button>span{background:transparent;box-shadow:none;width:auto;height:auto;border:0}
@media(max-width:779px){
  .country-view #nationalRouteResult{display:contents}
  .country-view #nationalRouteResult[hidden]{display:none}
  .country-view .national-navigation-launchers{position:sticky;bottom:-14px;z-index:3;padding:10px 0 14px;background:var(--atlas-paper);margin:0}
  .country-view #nationalRouteAlternatives{margin:12px 0 4px}
}

@media(max-width:779px){html[dir=rtl] .country-view .search-hub .atlas-brand{justify-content:flex-end}}
