/* Route choices keep touch targets while wrapping to the common shell. */
#xr-nearby-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:8px;padding:0;list-style:none}
#xr-nearby-list li{min-width:0;padding:10px;border:1px solid #92afc4;border-radius:10px}
#xr-nearby-list button{width:100%;min-height:44px;white-space:normal}
#xr-nearby-list small{display:block;margin:6px 0;line-height:1.5}
#xr-nearby-list a{display:inline-block;padding:6px 0}
#xr-draw-top{min-height:44px}#xr-preset-detail{line-height:1.6}
#xr-route-status-top{display:block;line-height:1.5;font-size:.9rem;margin-top:10px}
#xr-route-summary-top{font-weight:700;align-self:center}
@media(max-width:600px){#xr-nearby-list{display:grid;grid-auto-flow:column;grid-auto-columns:85%;grid-template-columns:none;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:8px;overscroll-behavior-x:contain}#xr-nearby-list li{scroll-snap-align:start}}
[data-preset-region][hidden]{display:none!important}

/* Route Presets r4: all ordered stops visible without a nested scroll box. */
html body #xp-route-stops{max-height:none;overflow:visible}
html body #xp-route-stops.xr-stops-compact>li:nth-child(n+5){display:none}
#xr-stops-toggle{margin:10px 0;min-height:44px;cursor:pointer}
