/* The rail is a layout rectangle, not an invisible map control. */
.vertex-v3 #app#app#app#app#app #thumbRail { pointer-events:none; }
.vertex-v3 #app#app#app#app#app #thumbRail>button,
.vertex-v3 #app#app#app#app#app #thumbRail #mapCreateTools { pointer-events:auto; }
.vertex-v3 #app#app#app#app#app #clearSelectedPlace { order:3; flex:0 0 40px; display:grid; place-items:center; width:40px; min-width:40px; height:44px; padding:0; border:0; border-radius:50%; background:transparent; color:var(--ui-muted); font:400 23px/1 system-ui; }
.vertex-v3 #app#app#app#app#app #clearSelectedPlace[hidden] { display:none!important; }
.vertex-v3 #app#app#app#app#app #clearAreaSelection { display:none; }
.vertex-v3 #app#app#app#app#app #clearAreaSelection[hidden] { display:none!important; }
.vertex-v3 #app .place-footprint-status { display:block; margin-top:4px; color:var(--ui-muted); font:500 11px/1.35 system-ui; }
.vertex-v3 #app .place-footprint-status[hidden] { display:none; }
.vertex-v3 #app#app#app#app#app #placeCard #placeFootprintStatus:not([hidden]) { display:block!important; }
.vertex-v3 #app#app#app#app #mapFeatureCard { position:fixed; z-index:65; left:12px; right:12px; bottom:max(12px,env(safe-area-inset-bottom)); max-width:400px; box-sizing:border-box; padding:14px; border:1px solid #ffffff20; border-radius:24px; background:var(--ui-surface); color:var(--ui-text); box-shadow:0 6px 24px #0004; animation:panel-menu-open 220ms cubic-bezier(.2,.8,.2,1) backwards; }
.vertex-v3 #app#app#app#app #mapFeatureCard[hidden] { display:none!important; }
.vertex-v3 #app .map-feature-heading { display:flex; align-items:center; gap:12px; }
.vertex-v3 #app .map-feature-heading>div { flex:1; min-width:0; }
.vertex-v3 #app .map-feature-heading h2 { margin:2px 0 0; font:650 18px/1.25 system-ui; overflow-wrap:anywhere; }
.vertex-v3 #app .map-feature-heading small { color:var(--ui-muted); font:500 12px/1.3 system-ui; }
.vertex-v3 #app #closeMapFeature { flex:none; width:44px; height:44px; border:0; border-radius:50%; color:var(--ui-text); background:var(--ui-raised); font:400 23px/1 system-ui; }
.vertex-v3 #app #mapFeatureNetwork { margin:8px 0; font:500 13px/1.4 system-ui; }
.vertex-v3 #app #mapFeatureNetwork:empty { display:none; }
.vertex-v3 #app #mapFeatureLink { display:flex; align-items:center; justify-content:center; min-height:44px; margin:12px 0 8px; padding:0 12px; border-radius:14px; color:var(--ui-on-dark); background:var(--ui-green); font:650 14px/1.3 system-ui; text-decoration:none; }
.vertex-v3 #app #mapFeatureCard>small { display:block; color:var(--ui-muted); font:500 12px/1.4 system-ui; }
.vertex-v3 #app :is(#routeDetailTransit,#routeDetailNavigate) { margin:8px 0; padding:10px 14px; min-height:44px; border:1px solid #ffffff20; border-radius:14px; color:var(--ui-text); background:var(--ui-raised); font:600 13px/1.35 system-ui; }
.vertex-v3 #app #routeDetailNavigate { display:flex; flex-direction:column; align-items:flex-start; gap:3px; }
.vertex-v3 #app #routeDetailNavigate small { color:var(--ui-muted); font:400 11px/1.3 system-ui; }
.vertex-v3 #app :is(#routeDetailTransit,#routeDetailNavigate)[hidden] { display:none!important; }

@media(min-width:900px) { .vertex-v3 #app#app#app#app #mapFeatureCard { left:24px; right:auto; width:376px; } }
@media(min-width:900px) { .vertex-v3 #app#app#app#app#app #clearAreaSelection { display:block; min-height:32px; padding:0; margin-top:4px; border:0; background:transparent; color:var(--ui-yellow); font:500 12px/1.3 system-ui; } }
@media(prefers-reduced-motion:reduce) { .vertex-v3 #app#app#app#app #mapFeatureCard { animation:none; } }

/* A map-label tap is a small local preview, separate from the chosen area's data. */
.vertex-v3 #app#app#app#app #placePeek { position:fixed; z-index:65; left:12px; right:12px; bottom:calc(var(--map-dock-height,74px) + 12px); max-width:400px; box-sizing:border-box; padding:14px; border:1px solid #ffffff20; border-radius:24px; background:var(--ui-surface); color:var(--ui-text); box-shadow:0 6px 24px #0004; animation:panel-menu-open 220ms cubic-bezier(.2,.8,.2,1) backwards; }
.vertex-v3 #app#app#app#app #placePeek[hidden] { display:none!important; }
.vertex-v3 #app #closePlacePeek { flex:none; width:44px; height:44px; border:0; border-radius:50%; color:var(--ui-text); background:var(--ui-raised); font:400 23px/1 system-ui; }
.vertex-v3 #app #placePeekFacts { margin:10px 0; color:var(--ui-muted); font:500 12px/1.5 system-ui; }
.vertex-v3 #app #placePeekDetails { width:100%; min-height:44px; padding:10px 12px; border:0; border-radius:14px; background:var(--ui-green); color:var(--ui-on-dark); font:650 14px/1.3 system-ui; }

@media(min-width:900px){.vertex-v3 #app#app#app#app #placePeek { left:24px; right:auto; bottom:24px; width:376px; }}
@media(prefers-reduced-motion:reduce){.vertex-v3 #app#app#app#app #placePeek { animation:none; }}

@media(max-width:899px){
  .vertex-v3 #app#app#app#app #placePeek,.vertex-v3 #app#app#app#app #mapFeatureCard { right:74px; max-width:calc(100vw - 86px); bottom:calc(var(--map-dock-height,74px) + 12px); }
}
